/* DraftForge — draft board specific styles */

.draft-setup {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.draft-setup__step {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.draft-setup__step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.draft-setup__step h3::before {
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
  color: #1A1306;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.draft-setup { counter-reset: step; }

.player-pick-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.assigned-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(7, 16, 28, 0.4);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.assigned-row:hover {
  border-color: rgba(212, 162, 76, 0.35);
}
.assigned-row__player { min-width: 0; }
.assigned-row__name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.assigned-row__main {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.inline-role-picker {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: rgba(7, 16, 28, 0.5);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}
.inline-role-picker__btn {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background 0.15s, transform 0.12s;
  filter: grayscale(60%) opacity(0.55);
}
.inline-role-picker__btn:hover:not(.is-active) {
  background: rgba(212, 162, 76, 0.08);
  filter: grayscale(20%) opacity(0.85);
  transform: scale(1.05);
  box-shadow: none;
}
.inline-role-picker__btn.is-active {
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.25), rgba(212, 162, 76, 0.08));
  filter: none;
  box-shadow: 0 0 0 1px var(--gold-1) inset;
}
.inline-role-picker__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.side-choice__card {
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--gold-line);
  background: rgba(7, 16, 28, 0.45);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  position: relative;
  user-select: none;
}
.side-choice__card:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 162, 76, 0.4);
}
.side-choice__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transition: opacity 0.18s, transform 0.18s;
}
.side-choice__card--blue { color: var(--blue-3); }
.side-choice__card--red  { color: var(--red-1); }
.side-choice__label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.side-choice__hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.side-choice__card.is-active {
  background: linear-gradient(135deg, currentColor, transparent 80%), rgba(7, 16, 28, 0.6);
  border-color: currentColor;
}
.side-choice__card.is-active .side-choice__dot {
  opacity: 1;
  transform: scale(1.4);
}
.side-choice__card.is-active .side-choice__label {
  color: var(--text-primary);
}
.side-choice__card.is-active.side-choice__card--blue {
  background: linear-gradient(135deg, rgba(41, 211, 197, 0.18), transparent 70%), rgba(7, 16, 28, 0.65);
}
.side-choice__card.is-active.side-choice__card--red {
  background: linear-gradient(135deg, rgba(215, 65, 88, 0.2), transparent 70%), rgba(7, 16, 28, 0.65);
}

.draft-setup__launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px 0;
}
.btn-launch {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 12px;
}

.draft-board {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.btn-lock-pick {
  background: linear-gradient(180deg, #4FE3A8, #2BA876) !important;
  color: #07101C !important;
  font-weight: 700 !important;
  border-color: rgba(79, 227, 168, 0.6) !important;
  box-shadow: 0 0 12px rgba(79, 227, 168, 0.35) !important;
}
.btn-lock-pick:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 0 18px rgba(79, 227, 168, 0.55) !important;
}
.btn-lock-pick:disabled {
  filter: grayscale(0.4) brightness(0.7);
}
/* Klikací oblasti uvnitř boardu nemají selektovat text — opakované kliky
   během rerender by jinak zvýraznily nadpisy/labely a klik se "ztratí"
   v selekci místo aby trefil tlačítko. Vstupy/searche zůstávají selektovatelné
   via .center-panel input override níže. */
.draft-board,
.draft-board * {
  user-select: none;
  -webkit-user-select: none;
}
.draft-board input,
.draft-board textarea {
  user-select: text;
  -webkit-user-select: text;
}

.draft-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.draft-topbar__phase {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.draft-topbar__phase-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.draft-topbar__phase-action {
  font-size: 1rem;
  color: var(--gold-2);
  font-weight: 600;
}
.draft-topbar__controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bans-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.bans-row__half {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.18s;
}
.bans-row__half.is-active {
  border-color: var(--gold-1);
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.08), transparent);
  box-shadow: 0 0 0 1px var(--gold-1) inset;
}
.bans-row__half:last-child { align-items: flex-end; }
.bans-row__group {
  display: flex;
  gap: 8px;
}
.bans-row__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.bans-row__title.side-blue { color: var(--blue-3); }
.bans-row__title.side-red  { color: var(--red-1); }
.bans-row__badge {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold-2);
}

.ban-slot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--gold-line);
  background: rgba(7, 16, 28, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.ban-slot.side-blue { border-color: rgba(0, 90, 130, 0.5); }
.ban-slot.side-red  { border-color: rgba(145, 36, 47, 0.5); }
.ban-slot.is-clickable { cursor: pointer; }
.ban-slot.is-clickable.is-empty:hover {
  border-color: var(--gold-1);
  background: rgba(212, 162, 76, 0.08);
}
.ban-slot.is-selected {
  border-color: var(--gold-1);
  box-shadow: 0 0 0 2px var(--gold-1), 0 0 14px rgba(212, 162, 76, 0.5);
  animation: slot-pulse 1.6s infinite;
}
.ban-slot__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-display);
}
.ban-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(85%) brightness(0.55);
}
.ban-slot.is-filled::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 35%, rgba(215, 65, 88, 0.55) 100%);
  pointer-events: none;
}
.ban-slot.is-filled::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background: var(--red-1);
  transform: rotate(-45deg);
  top: 50%;
  left: 10%;
  z-index: 2;
  box-shadow: 0 0 6px rgba(215, 65, 88, 0.6);
}

.draft-arena {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 18px;
}

.team-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-column__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--gold-3);
}
.team-column.side-blue .team-column__title { color: var(--blue-3); }
.team-column.side-red .team-column__title { color: var(--red-1); }

.draft-slot {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 10px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  min-height: 64px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.draft-slot.side-blue { border-left: 3px solid rgba(41, 211, 197, 0.7); }
.draft-slot.side-red  { border-left: 3px solid rgba(215, 65, 88, 0.7); }
.draft-slot.is-current {
  border-color: var(--gold-1);
  box-shadow: 0 0 0 1px var(--gold-1), 0 8px 22px rgba(212, 162, 76, 0.25);
  animation: slot-pulse 1.6s infinite;
}
.draft-slot.is-our-team {
  background:
    linear-gradient(135deg, rgba(212, 162, 76, 0.08), transparent 60%),
    var(--bg-card);
}
/* Klikatelný enemy slot v live módu — celá karta otevře role picker.
   Hover lift + cursor signalizuje uživateli že lze kliknout kamkoli. */
.draft-slot.is-clickable {
  cursor: pointer;
}
.draft-slot.is-clickable:hover {
  border-color: rgba(212, 162, 76, 0.55);
  background: linear-gradient(135deg, rgba(212, 162, 76, 0.06), transparent 70%), var(--bg-card);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 162, 76, 0.4);
}
.draft-slot.is-clickable:hover .draft-slot__role-edit-hint {
  opacity: 1;
}
.draft-slot__champ-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.draft-slot__champ-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.draft-slot__info { min-width: 0; }
.draft-slot__role-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.draft-slot__role-row.is-editable {
  /* Click target je celá .draft-slot karta — visualní hint role je editovatelná. */
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: 6px;
  transition: color 0.12s;
}
.draft-slot.is-clickable:hover .draft-slot__role-row.is-editable {
  color: var(--gold-1);
}
.draft-slot__role-edit-hint {
  margin-left: auto;
  font-size: 0.66rem;
  color: var(--gold-1);
  opacity: 0.6;
}
.draft-slot__role-row.is-editable:hover .draft-slot__role-edit-hint { opacity: 1; }
.draft-slot__role-row.is-override {
  color: var(--gold-2);
}
.draft-slot__role-row.is-override .draft-slot__role-edit-hint::before {
  content: '✓ ';
}
.draft-slot__role-row.has-conflict {
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.08);
}
.draft-slot__role-row.has-conflict::before {
  content: '⚠ ';
  color: #ff6b6b;
}

.role-picker__option.is-warning {
  border-color: rgba(255, 180, 60, 0.5);
  color: #ffb43c;
}
.draft-slot__champ-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.draft-slot__player {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes slot-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(200,170,110,0.4); }
  50% { box-shadow: 0 0 18px rgba(200,170,110,0.85); }
}

.center-panel {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.center-panel__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: rgba(7, 16, 28, 0.4);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
}
.center-panel__tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-body);
  border-radius: 8px;
  box-shadow: none;
}
.center-panel__tab:hover { color: var(--gold-2); background: var(--gold-soft); box-shadow: none; }
.center-panel__tab.is-active {
  color: var(--gold-2);
  background: linear-gradient(180deg, rgba(212, 162, 76, 0.18), rgba(212, 162, 76, 0.06));
  border: 1px solid var(--gold-line);
}

.recommendation-panel { flex: 1; overflow-y: auto; }
.recommendation-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.recommendation-panel__heading .for-player {
  color: var(--gold-1);
  font-size: 0.85rem;
}

.role-block {
  margin-bottom: 22px;
  user-select: none;
  -webkit-user-select: none;
  border-radius: var(--radius-md);
  transition: background 0.18s, box-shadow 0.18s, border-color 0.18s;
}
/* TVOJE role + tvůj pick turn — zelené zvýraznění s pulzem (🟢). */
.role-block.is-my-turn {
  background: rgba(79, 227, 168, 0.06);
  border: 1px solid rgba(79, 227, 168, 0.45);
  box-shadow: 0 0 18px rgba(79, 227, 168, 0.18), inset 0 0 30px rgba(79, 227, 168, 0.05);
  padding: 12px 14px;
  margin-bottom: 24px;
  animation: my-turn-pulse 2.4s ease-in-out infinite;
}
@keyframes my-turn-pulse {
  0%,100% { box-shadow: 0 0 18px rgba(79, 227, 168, 0.18), inset 0 0 30px rgba(79, 227, 168, 0.05); }
  50%     { box-shadow: 0 0 28px rgba(79, 227, 168, 0.32), inset 0 0 30px rgba(79, 227, 168, 0.1); }
}
.role-block.is-my-turn .role-block__rank {
  color: #4FE3A8;
  font-weight: 700;
}
/* TVOJE role, ale teď čeká někdo jiný (jen klidný 🎯 highlight). */
.role-block.is-my-role:not(.is-my-turn) {
  background: rgba(212, 162, 76, 0.04);
  border: 1px solid rgba(212, 162, 76, 0.25);
  padding: 10px 12px;
}
.role-block.is-my-role:not(.is-my-turn) .role-block__rank {
  color: var(--gold-1);
}
/* SPOLUHRÁČOVA role a zrovna pickuje (🟡 informativní). */
.role-block.is-teammate-turn {
  border: 1px solid rgba(255, 200, 80, 0.45);
  padding: 10px 12px;
}
.role-block.is-teammate-turn .role-block__rank {
  color: #ffc850;
}
/* Read-only blocks (live mode, nemůj slot) — kurzor not-allowed na tlech. */
.role-block.is-readonly .rec-tile {
  cursor: not-allowed;
  opacity: 0.78;
}
.role-block.is-readonly .rec-tile:hover {
  border-color: var(--gold-3);
  transform: none;
  box-shadow: none;
}
.role-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-line);
}
.role-block__rank {
  font-family: var(--font-display);
  color: var(--gold-1);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.role-block__player {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.role-block__player--early {
  color: var(--blue-3);
  font-weight: 500;
}

/* Detail toggle button on each role-block header — flips between compact
   (icon+score only) and full (stats + reasoning) layouts. */
.role-block__detail-btn {
  padding: 5px 11px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--gold-1);
  border-radius: 8px;
  box-shadow: none;
  min-height: auto;
  font-weight: 500;
  text-transform: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.role-block__detail-btn:hover:not(:disabled) {
  background: var(--gold-soft);
  border-color: var(--gold-1);
  color: var(--gold-2);
  box-shadow: none;
}

/* When collapsed (default): compact grid s pevně 5 dlaždicemi/řádek,
   pro konzistentní layout napříč všemi rolemi. Detail button v hlavičce
   přepne do expanded módu (full layout se stats + reasoning). */
.role-block.is-collapsed .recommendation-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.role-block.is-collapsed .rec-tile {
  padding: 6px;
  gap: 4px;
}
.role-block.is-collapsed .rec-tile__head {
  flex-direction: column;
  gap: 4px;
  align-items: center;
  position: relative;
}
.role-block.is-collapsed .rec-tile__icon {
  width: 48px;
  height: 48px;
}
.role-block.is-collapsed .rec-tile__name {
  font-size: 0.74rem;
  text-align: center;
  width: 100%;
}
.role-block.is-collapsed .rec-tile__score {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  font-size: 0.78rem;
  border-width: 1.5px;
  background: var(--bg-card-solid);
  z-index: 1;
}
.role-block.is-collapsed .rec-tile__stats,
.role-block.is-collapsed .rec-tile__reason {
  display: none;
}
/* Comfort badge stays in compact mode — it's the whole point of the visual
   hint. Move it to top-left so it doesn't collide with the score badge. */
.role-block.is-collapsed .rec-tile__badges {
  top: -4px;
  left: -4px;
  right: auto;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

/* "Zobrazit dalších X" — diskrétní tlačítko pod gridem doporučení.
   Nese stejnou šířku jako grid, takže je viditelné ale nezabírá zbytečně
   prostor. Klik nezavře/neotevře detail (přebíjí stopPropagation v JS). */
.role-block__expand {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}
.role-block__expand-btn {
  background: rgba(10, 22, 38, 0.55);
  border: 1px solid var(--gold-line);
  color: var(--gold-1);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 7px 18px;
  min-height: 0;
  border-radius: 999px;
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.role-block__expand-btn:hover:not(:disabled) {
  background: var(--gold-soft);
  color: var(--gold-2);
  border-color: var(--gold-1);
  box-shadow: none;
}

.rec-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-3);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
  -webkit-user-select: none;
}
.rec-tile:hover {
  border-color: var(--gold-1);
  box-shadow: var(--glow-gold);
  transform: translateY(-1px);
}
.rec-tile.is-out-of-pool {
  border-style: solid;
  border-color: var(--gold-3);
  opacity: 0.92;
}
/* Diskrétní rohový marker namísto dashed borderu — uživatel pozná
   "mimo pool / meta fallback" bez beta-vzhledu. */
.rec-tile.is-out-of-pool::before {
  content: "META";
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--gold-3);
  background: rgba(10, 22, 38, 0.85);
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid var(--gold-3);
  pointer-events: none;
  z-index: 2;
  text-transform: uppercase;
}
.role-block.is-collapsed .rec-tile.is-out-of-pool::before {
  bottom: 2px;
  left: 2px;
  font-size: 0.5rem;
  padding: 0 3px;
}
.rec-tile__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-tile__icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--gold-3);
}
.rec-tile__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-tile__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-2);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-tile__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--bg-card);
  border: 2px solid var(--gold-1);
  color: var(--gold-2);
  flex-shrink: 0;
  transition: transform 0.4s, color 0.4s;
}
.rec-tile.score-changing .rec-tile__score {
  animation: score-flip 0.45s ease;
}
@keyframes score-flip {
  0% { transform: scale(1); }
  40% { transform: scale(0.6); opacity: 0.4; }
  100% { transform: scale(1); }
}

.rec-tile__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.rec-tile__stats > div { display: flex; justify-content: space-between; }
.rec-tile__stats strong { color: var(--gold-1); font-weight: 500; }

.rec-tile__reason {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

.recommendation-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 10px 12px;
  background: rgba(10, 22, 38, 0.55);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  line-height: 1.4;
}

.draft-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
}

.search-results {
  max-height: 420px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, 56px);
  grid-auto-rows: 56px;
  gap: 6px;
  padding-right: 6px;
  justify-content: start;
}

.draft-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.draft-summary__team {
  background: var(--bg-card);
  border: 1px solid var(--gold-3);
  border-radius: var(--radius-md);
  padding: 16px;
}
.draft-summary__team.side-blue { border-color: var(--blue-2); }
.draft-summary__team.side-red { border-color: var(--red-2); }

@media (max-width: 1100px) {
  .draft-arena {
    grid-template-columns: 1fr;
  }
  .center-panel { order: -1; }
}

/* Mobile draft layout (≤900px) — built around quick-glance use during
   champion select on a phone. Recommendations sit at top, bans + teams
   collapse to compact horizontal rows so the whole 5v5 fits at a glance. */
@media (max-width: 900px) {
  .draft-setup { gap: 14px; }
  .draft-setup__step { padding: 16px 14px; }
  .draft-setup__step h3::before { width: 26px; height: 26px; font-size: 0.85rem; }

  .player-pick-list { grid-template-columns: 1fr; gap: 8px; }
  .assigned-row {
    padding: 12px;
    gap: 12px;
    /* On phones the assigned-row is too narrow for [name | 5 role buttons] —
       stack vertically so the role picker has a full row to itself. */
    grid-template-columns: 1fr;
  }
  .inline-role-picker {
    padding: 3px;
    gap: 4px;
    width: 100%;
    justify-content: space-between;
  }
  .inline-role-picker__btn {
    width: 44px;
    height: 44px;
    min-height: 44px; /* override global mobile `button { min-height: 44px }` conflict */
    padding: 8px;
    flex: 0 0 auto;
    /* Less aggressive desaturation so icons stay readable at this small size. */
    filter: grayscale(20%) opacity(0.75);
  }
  .inline-role-picker__btn img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .inline-role-picker__btn.is-active { filter: none; }

  .side-choice { grid-template-columns: 1fr 1fr; gap: 10px; }
  .side-choice__card { padding: 16px 14px; }
  .side-choice__label { font-size: 0.95rem; }

  .btn-launch { font-size: 1rem; padding: 12px 24px; width: 100%; }

  /* Active draft. */
  .draft-board { gap: 12px; }

  .draft-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .draft-topbar__phase { align-items: center; text-align: center; }
  .draft-topbar__controls { justify-content: center; }
  .draft-topbar__controls button { flex: 1; min-width: 100px; }

  .bans-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
  }
  .bans-row__half:last-child { align-items: stretch; }
  .bans-row__group { justify-content: space-between; }
  .ban-slot { width: 38px; height: 38px; }

  .draft-arena {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .center-panel {
    order: -1;
    min-height: 320px;
    padding: 12px;
  }

  /* Compact team rows: 5 slots side-by-side per side. */
  .team-column {
    flex-direction: row;
    gap: 6px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    align-items: stretch;
    position: relative;
  }
  .team-column__title {
    position: absolute;
    top: -10px;
    left: 12px;
    padding: 1px 8px;
    border-bottom: none;
    background: var(--bg-secondary);
    border: 1px solid var(--gold-line);
    border-radius: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
  .draft-slot {
    flex: 1;
    min-width: 0;
    padding: 6px 4px 4px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 70px;
    text-align: center;
    gap: 4px;
    border-left: none;
    border-top: 3px solid transparent;
  }
  .draft-slot.side-blue { border-left: none; border-top-color: rgba(41, 211, 197, 0.7); }
  .draft-slot.side-red  { border-left: none; border-top-color: rgba(215, 65, 88, 0.7); }
  .draft-slot__champ-icon { width: 38px; height: 38px; margin: 0 auto; }
  .draft-slot__info { text-align: center; }
  .draft-slot__role-row {
    font-size: 0.55rem;
    justify-content: center;
    gap: 3px;
    letter-spacing: 0.06em;
  }
  .draft-slot__role-row .role-icon { width: 13px; height: 13px; }
  .draft-slot__champ-name { font-size: 0.72rem; }
  .draft-slot__player { display: none; }

  /* Recommendations (expanded mode): smaller tiles, 2-3 per row on 360px. */
  .recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 8px;
  }
  .rec-tile { padding: 7px; gap: 5px; }
  .rec-tile__icon { width: 34px; height: 34px; }
  .rec-tile__score { width: 30px; height: 30px; font-size: 0.85rem; border-width: 1.5px; }
  .rec-tile__name { font-size: 0.82rem; }
  .rec-tile__stats { font-size: 0.65rem; gap: 3px; }
  .rec-tile__reason { font-size: 0.65rem; }

  /* Compact mode on mobile: stejně jako desktop přesně 5 dlaždic/řádek. */
  .role-block.is-collapsed .recommendation-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .role-block.is-collapsed .rec-tile { padding: 4px; }
  .role-block.is-collapsed .rec-tile__icon { width: 38px; height: 38px; }
  .role-block.is-collapsed .rec-tile__name { font-size: 0.66rem; }
  .role-block.is-collapsed .rec-tile__score {
    width: 22px; height: 22px; font-size: 0.7rem; top: -3px; right: -3px;
  }
  .role-block.is-collapsed .rec-tile__badges { top: -3px; left: -3px; }
  .role-block.is-collapsed .rec-tile__badge { width: 16px; height: 16px; font-size: 0.6rem; }

  /* Header with many elements wraps cleanly on narrow screens. */
  .role-block__header {
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .role-block__rank { font-size: 0.72rem; }
  .role-block__detail-btn {
    padding: 7px 12px;
    font-size: 0.7rem;
    min-height: 34px;
  }

  .center-panel__tabs { padding: 3px; gap: 2px; }
  .center-panel__tab { padding: 9px 8px; font-size: 0.75rem; }

  /* Champion grids: tighter so more fits per row. */
  .champion-grid, .search-results {
    grid-template-columns: repeat(auto-fill, 50px);
    grid-auto-rows: 50px;
    gap: 5px;
    max-height: 58vh;
  }
  .champion-tile { width: 50px; height: 50px; }
  .champion-tile__name { display: none; } /* tap shows nothing useful, save space */

  .draft-summary { grid-template-columns: 1fr; gap: 14px; }
  .draft-summary__team { padding: 12px; }

  .recommendation-note { font-size: 0.78rem; padding: 8px 10px; }

  .role-tabs { width: 100%; justify-content: space-between; }
  .role-tab { padding: 8px 10px; font-size: 0.76rem; gap: 5px; flex: 1; justify-content: center; }
}

/* Even smaller phones (≤480px). */
@media (max-width: 480px) {
  .ban-slot { width: 34px; height: 34px; }
  .draft-slot { min-height: 64px; padding: 5px 3px 3px; }
  .draft-slot__champ-icon { width: 34px; height: 34px; }
  .draft-slot__champ-name { font-size: 0.66rem; }
  .recommendation-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
  .rec-tile__icon { width: 30px; height: 30px; }
  .rec-tile__score { width: 28px; height: 28px; font-size: 0.78rem; }

  .role-block.is-collapsed .recommendation-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .role-block.is-collapsed .rec-tile__icon { width: 34px; height: 34px; }
  .role-block.is-collapsed .rec-tile__name { font-size: 0.62rem; }

  .champion-grid, .search-results {
    grid-template-columns: repeat(auto-fill, 46px);
    grid-auto-rows: 46px;
  }
  .champion-tile { width: 46px; height: 46px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Post-draft matchup analysis (renderSummary → renderMatchupAnalysis)
   ───────────────────────────────────────────────────────────────────────── */

.matchup-analysis {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 22px;
}

.matchup-total {
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
}
.matchup-total__title {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-1);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Help (?) ikonka vedle titulku — diskrétní, low-vis dokud na ni neukážeš.
   Klik otevře modal s vysvětlením metrik (score, pp, win odds). */
.matchup-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(7, 16, 28, 0.55);
  border: 1px solid var(--gold-line);
  color: var(--gold-1);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: help;
  box-shadow: none;
  opacity: 0.6;
  transition: opacity 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
}
.matchup-help-btn:hover:not(:disabled) {
  opacity: 1;
  background: var(--gold-soft);
  color: var(--gold-2);
  border-color: var(--gold-1);
  box-shadow: none;
}

/* Help modal content sections */
.matchup-help {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.matchup-help__section {
  padding: 14px 16px;
  background: rgba(10, 22, 38, 0.45);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
}
.matchup-help__section h4 {
  margin: 0 0 8px 0;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.matchup-help__section p {
  margin: 0 0 8px 0;
  color: var(--text-secondary);
}
.matchup-help__section p:last-child { margin-bottom: 0; }
.matchup-help__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}
.matchup-help__list {
  margin: 0;
  padding-left: 20px;
}
.matchup-help__list li {
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.matchup-help__list strong {
  color: var(--gold-1);
  font-weight: 600;
}
.matchup-total__bar {
  display: flex;
  height: 28px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-line);
  position: relative;
}
.matchup-total__fill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #fff;
  min-width: 0;
  white-space: nowrap;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.matchup-total__fill--blue {
  background: linear-gradient(90deg, #1c5b7d, #2a8ec5);
}
.matchup-total__fill--red {
  background: linear-gradient(90deg, #c14253, #861f30);
}
.matchup-total__pct {
  padding: 0 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.matchup-total__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.matchup-total__legend-blue { color: #4cb6e6; }
.matchup-total__legend-red  { color: #e88894; }
.matchup-total__hint {
  margin-top: 8px;
  font-size: 0.7rem;
  font-style: italic;
}

.matchup-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Matchup row: 9-column fixed grid pro perfektní zarovnání ikonek napříč
   všemi řádky (název v 1fr může být různě dlouhý, ale ikony zůstanou
   sloupcové). Layout zleva doprava:
     ROLE | BLUE_ICON | BLUE_NAME | BLUE_SCORE | VS | RED_SCORE | RED_NAME | RED_ICON | VERDICT */
.matchup-row {
  display: grid;
  grid-template-columns: 110px 44px minmax(0, 1fr) 48px 36px 48px minmax(0, 1fr) 44px 180px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}

/* Favor highlight — řádek má barevný akcent na hraně, kde vlitězný champion
   stojí (levá hrana = pozice 0, pravá hrana = vpravo). Barva = identita
   vítězné side (modrá pro blue, červená pro red). To dává okamžitý vizuální
   signál „kdo má matchup advantage na lajně". */
.matchup-row.has-favor {
  border-color: var(--gold-line);
}
.matchup-row.favor-on-left.favor-blue {
  border-left: 4px solid #4cb6e6;
  box-shadow: -3px 0 14px rgba(76, 182, 230, 0.32), inset 8px 0 24px rgba(76, 182, 230, 0.08);
}
.matchup-row.favor-on-right.favor-blue {
  border-right: 4px solid #4cb6e6;
  box-shadow: 3px 0 14px rgba(76, 182, 230, 0.32), inset -8px 0 24px rgba(76, 182, 230, 0.08);
}
.matchup-row.favor-on-left.favor-red {
  border-left: 4px solid #e88894;
  box-shadow: -3px 0 14px rgba(232, 136, 148, 0.34), inset 8px 0 24px rgba(232, 136, 148, 0.10);
}
.matchup-row.favor-on-right.favor-red {
  border-right: 4px solid #e88894;
  box-shadow: 3px 0 14px rgba(232, 136, 148, 0.34), inset -8px 0 24px rgba(232, 136, 148, 0.10);
}
.matchup-row__role {
  display: flex;
  align-items: center;
  gap: 8px;
}
.matchup-row__role-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 2px rgba(212, 162, 76, 0.5));
}
.matchup-row__role-label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-1);
}
.matchup-row__champ-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid var(--gold-3);
  background: var(--bg-elevated);
  flex-shrink: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.matchup-row__champ-icon.is-winner {
  border-color: var(--gold-1);
  box-shadow: 0 0 12px rgba(212, 162, 76, 0.4);
}
.matchup-row__champ-icon img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.matchup-row__champ-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
/* Blue name aligned to LEFT (next to BLUE icon on left).
   Red name aligned to RIGHT (next to RED icon on right). */
.matchup-row > :nth-child(3) { /* blue name */ text-align: left; }
.matchup-row > :nth-child(7) { /* red name */ text-align: right; }
.matchup-row__champ-name.is-winner { color: var(--gold-1); }
.matchup-row__crown {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 0.95rem;
  filter: drop-shadow(0 0 5px rgba(212, 162, 76, 0.85));
  z-index: 2;
}
/* Per-champion finální score (1-10), badge pod ikonou nebo v separátním sloupci. */
.matchup-row__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-3);
  color: var(--gold-2);
  flex-shrink: 0;
  cursor: help;
}
.matchup-row__score.is-blue {
  border-color: rgba(76, 182, 230, 0.4);
  color: #4cb6e6;
}
.matchup-row__score.is-red {
  border-color: rgba(232, 136, 148, 0.4);
  color: #e88894;
}
.matchup-row__vs {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.matchup-row__verdict {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.matchup-row__verdict-text {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.matchup-row__verdict-text.is-blue { color: #4cb6e6; }
.matchup-row__verdict-text.is-red  { color: #e88894; }
/* NÁŠ team verdict — zlato-zelená kombinace pro pozitivní signál.
   ENEMY verdict — varovně červeno-oranžová pro negativní signál.  */
.matchup-row__verdict-text.is-ours {
  color: #4FE3A8;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(79, 227, 168, 0.35);
}
.matchup-row__verdict-text.is-enemy {
  color: #ff8a92;
  font-weight: 600;
}
.matchup-row__source {
  font-size: 0.66rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.matchup-combo {
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.matchup-combo__title {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-1);
  margin-bottom: 10px;
}
.matchup-combo__sides {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: stretch;
  gap: 12px;
}
.matchup-combo__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 14px 12px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  transition: border-color 0.18s, box-shadow 0.18s;
  position: relative;
}
.matchup-combo__side.is-winner {
  border-color: var(--gold-1);
  box-shadow: 0 0 14px rgba(212, 162, 76, 0.22);
}
/* Strany už nedostávají flex-direction reverse — symetrický vertikální layout
   na obou stranách, NÁŠ/ENEMY pozici určuje pořadí v DOM (volá renderBotCombo). */

/* Side tag — diskrétní pill uvnitř bordered box. NÁŠ = zlatý akcent,
   ENEMY = neutrálně muted. */
.matchup-combo__side-tag {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  color: var(--text-muted);
  background: rgba(7, 16, 28, 0.55);
}
.matchup-combo__side.is-ours .matchup-combo__side-tag {
  color: var(--gold-2);
  border-color: var(--gold-1);
  background: var(--gold-soft);
}
.matchup-combo__side.is-enemy .matchup-combo__side-tag {
  color: #e88894;
  border-color: rgba(232, 136, 148, 0.35);
}

.matchup-combo__pair {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.matchup-combo__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--gold-3);
}
.matchup-combo__side.is-winner .matchup-combo__icon {
  border-color: var(--gold-1);
}
.matchup-combo__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1.3;
  min-height: 1.3em;
}
.matchup-combo__label.is-neutral {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

/* Synergy chips — jednotlivé detekované patterns (Aggro lane, Disengage tools,
   CC chain, …). Vykreslíme je jako malé chipsy aby uživatel viděl PROČ má
   combo bonus, ne jen total score. */
.matchup-combo__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 2px 0;
}
.matchup-combo__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 9px;
  border-radius: 999px;
  background: rgba(10, 22, 38, 0.6);
  border: 1px solid var(--gold-line);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.matchup-combo__side.is-winner .matchup-combo__chip {
  border-color: rgba(212, 162, 76, 0.6);
}
.matchup-combo__chip-label {
  color: var(--gold-2);
  font-weight: 500;
}
.matchup-combo__chip-score {
  color: var(--gold-1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
}
.matchup-combo__synergy {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gold-1);
  letter-spacing: 0.04em;
}
.matchup-combo__win-badge {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid var(--gold-1);
  border-radius: 999px;
  padding: 4px 10px;
  filter: drop-shadow(0 0 6px rgba(212, 162, 76, 0.6));
  margin-top: auto;
}
.matchup-combo__vs {
  text-align: center;
  font-family: var(--font-display);
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
/* Verdict line pod oběma stranami — vždy říká kdo vyhrává a proč.
   Matchup data lome tied synergie (ze ADC + SUPPORT řádků nahoře). */
.matchup-combo__verdict {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold-line);
  border-radius: 4px;
  color: var(--text-secondary);
  font-style: italic;
}
.matchup-combo__verdict.is-blue {
  border-left-color: #4cb6e6;
  color: #4cb6e6;
}
.matchup-combo__verdict.is-red {
  border-left-color: #e88894;
  color: #e88894;
}
.matchup-combo__verdict.is-ours {
  border-left-color: #4FE3A8;
  color: #4FE3A8;
  background: rgba(79, 227, 168, 0.06);
}
.matchup-combo__verdict.is-enemy {
  border-left-color: #ff8a92;
  color: #ff8a92;
  background: rgba(255, 138, 146, 0.06);
}

@media (max-width: 980px) {
  /* Mobile-friendly stack: 2-row layout. Champion blocks na první řádce
     (icon + name + score), verdict na druhé. Symetrie zachována. */
  .matchup-row {
    grid-template-columns: 80px 44px minmax(0, 1fr) 40px 24px 40px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    gap: 4px 8px;
  }
  .matchup-row > :nth-child(9) {  /* verdict */
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
  }
  .matchup-row__role-label { font-size: 0.7rem; }
  .matchup-row__score { width: 36px; height: 26px; font-size: 0.84rem; }
  .matchup-row__verdict-text { font-size: 0.74rem; }

  .matchup-combo__sides { grid-template-columns: 1fr; }
  .matchup-combo__vs { display: none; }
}
