/* ============================================
   ARENA PAGE - arena.css
   ============================================ */

.hero-patch { color: #a855f7; }

.am-search-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #0d1526;
  border: 1px solid #1e2d45; border-radius: 8px;
  margin-bottom: 12px; width: 260px;
}
.am-search-bar input { background: none; border: none; outline: none; color: #ccd6e0; font-size: 13px; width: 100%; }
.am-search-bar input::placeholder { color: #4a6080; }

.am-tier-list { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }

.am-tier-row {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); min-height: 90px;
  align-items: stretch;
}

.am-tier-label {
  width: 80px; min-width: 80px; display: flex;
  align-items: center; justify-content: center;
  padding: 16px 0; align-self: stretch; min-height: 100%;
}
.am-tier-label--s { background: linear-gradient(180deg, #c8960c 0%, #7a5800 100%); }
.am-tier-label--a { background: linear-gradient(180deg, #c03030 0%, #6a0000 100%); }
.am-tier-label--b { background: linear-gradient(180deg, #1a60c0 0%, #052060 100%); }
.am-tier-label--c { background: linear-gradient(180deg, #6040a0 0%, #201040 100%); }
.am-tier-label--d { background: linear-gradient(180deg, #304050 0%, #101820 100%); }

.am-tier-badge { width: 56px; height: 64px; }
.am-tier-label--s .am-tier-badge-bg { fill: #3a2800; stroke: #f0c040; stroke-width: 2.5px; }
.am-tier-label--a .am-tier-badge-bg { fill: #3a0800; stroke: #e84040; stroke-width: 2.5px; }
.am-tier-label--b .am-tier-badge-bg { fill: #051a40; stroke: #4a9eff; stroke-width: 2.5px; }
.am-tier-label--c .am-tier-badge-bg { fill: #1a1030; stroke: #8060b0; stroke-width: 2.5px; }
.am-tier-label--d .am-tier-badge-bg { fill: #151e28; stroke: #506070; stroke-width: 2.5px; }
.am-tier-label--s .am-tier-badge-text { fill: #f0c040; }
.am-tier-label--a .am-tier-badge-text { fill: #ff6060; }
.am-tier-label--b .am-tier-badge-text { fill: #60aaff; }
.am-tier-label--c .am-tier-badge-text { fill: #a080d0; }
.am-tier-label--d .am-tier-badge-text { fill: #607080; }

.am-tier-grid {
  flex: 1; display: flex; flex-wrap: wrap;
  gap: 8px; padding: 14px; align-content: flex-start;
}
.am-tier-row[data-tier="S"] .am-tier-grid { background: linear-gradient(90deg, #7a580044 0%, #0a1020 35%); }
.am-tier-row[data-tier="A"] .am-tier-grid { background: linear-gradient(90deg, #6a000044 0%, #0a1020 35%); }
.am-tier-row[data-tier="B"] .am-tier-grid { background: linear-gradient(90deg, #05206044 0%, #0a1020 35%); }
.am-tier-row[data-tier="C"] .am-tier-grid { background: linear-gradient(90deg, #20104044 0%, #0a1020 35%); }
.am-tier-row[data-tier="D"] .am-tier-grid { background: linear-gradient(90deg, #10182044 0%, #0a1020 35%); }

.am-champ-card {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; background: #111d30;
  border-radius: 7px; border: 1px solid #1e2d45;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.am-champ-card:hover { background: #151f35; }
.am-tier-row[data-tier="S"] .am-champ-card:hover { border-color: rgba(200,155,60,0.5); }
.am-tier-row[data-tier="A"] .am-champ-card:hover { border-color: rgba(232,64,64,0.5); }
.am-tier-row[data-tier="B"] .am-champ-card:hover { border-color: rgba(74,158,255,0.5); }
.am-tier-row[data-tier="C"] .am-champ-card:hover { border-color: rgba(128,96,176,0.5); }
.am-tier-row[data-tier="D"] .am-champ-card:hover { border-color: rgba(80,96,112,0.5); }

.am-champ-img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid #1e2d45; flex-shrink: 0;
}
.am-champ-img--s { border-color: #c89b3c; }
.am-champ-img--a { border-color: #e84040; }
.am-champ-img--b { border-color: #4a9eff; }
.am-champ-img--c { border-color: #8060b0; }
.am-champ-img--d { border-color: #506070; }

.am-champ-info { display: flex; flex-direction: column; gap: 1px; }
.am-champ-name { font-size: 12px; font-weight: 600; color: #ccd6e0; white-space: nowrap; }
.am-champ-wr { font-size: 11px; font-weight: 600; }
.am-champ-place { font-size: 10px; color: #4a6080; }
.am-wr-high { color: #4ade80; }
.am-wr-mid  { color: #ccd6e0; }
.am-wr-low  { color: #e84040; }

.am-tier-empty { color: #4a6080; font-size: 13px; padding: 8px 0; width: 100%; }

@media (max-width: 600px) {
  .am-search-bar { width: 100%; }
  .am-tier-label { width: 56px; min-width: 56px; }
  .am-tier-badge { width: 40px; height: 46px; }
  .am-champ-card { padding: 5px 8px; }
  .am-champ-img { width: 30px; height: 30px; }
  .am-champ-name { font-size: 11px; }
}