:root {
  --bg: #030914;
  --bg-2: #06182b;
  --panel: rgba(8, 24, 45, 0.82);
  --panel-strong: rgba(10, 30, 56, 0.94);
  --panel-soft: rgba(17, 48, 82, 0.64);
  --line: rgba(87, 169, 255, 0.28);
  --line-strong: rgba(91, 191, 255, 0.64);
  --text: #edf6ff;
  --muted: #94abc5;
  --gold: #f5d47d;
  --gold-2: #ffb84d;
  --blue: #45b7ff;
  --cyan: #6fe7ff;
  --green: #7bd86b;
  --red: #ff6b5a;
  --purple: #b885ff;
  --radius: 8px;
  --safe: clamp(12px, 2.2vw, 34px);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  --hud-shadow: 0 0 0 1px rgba(90, 190, 255, 0.12), 0 18px 50px rgba(0, 16, 36, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(45, 130, 215, 0.26), transparent 30rem),
    linear-gradient(180deg, #040b16 0%, #061325 48%, #020612 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(87, 169, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 169, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(58deg) translateY(28vh) scale(1.6);
  transform-origin: center bottom;
  opacity: 0.5;
}

.arena-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stadium-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 12%, transparent 0 30%, rgba(0, 0, 0, 0.52) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 20% 80%, rgba(0, 0, 0, 0.55));
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.hidden {
  display: none !important;
}

.app-shell {
  width: min(1920px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: var(--safe);
  position: relative;
}

.hud-panel,
.intro-panel,
.auth-card,
.view-panel,
.tool-panel,
.verified-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(17, 48, 82, 0.86), rgba(4, 14, 28, 0.88)),
    rgba(4, 14, 28, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--hud-shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 18px;
  position: relative;
}

.brand-block,
.top-actions,
.button-row,
.panel-title,
.arena-header,
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-block {
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 212, 125, 0.74);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 238, 176, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(12, 47, 87, 0.98), rgba(3, 12, 25, 0.98));
  box-shadow: inset 0 0 18px rgba(255, 203, 104, 0.24), 0 0 22px rgba(69, 183, 255, 0.24);
  clip-path: polygon(50% 0, 92% 18%, 86% 78%, 50% 100%, 14% 78%, 8% 18%);
}

.brand-icon {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.brand-icon-arch {
  fill: none;
  stroke: #f5d47d;
  stroke-width: 5;
  stroke-linecap: round;
}

.brand-icon-tier {
  fill: rgba(245, 212, 125, 0.22);
  stroke: rgba(245, 212, 125, 0.74);
  stroke-width: 2;
}

.brand-icon-pitch {
  fill: rgba(11, 96, 156, 0.88);
  stroke: #bde8ff;
  stroke-width: 2.5;
}

.brand-icon-line {
  fill: none;
  stroke: rgba(219, 244, 255, 0.9);
  stroke-width: 1.6;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

h2 {
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.top-actions {
  justify-content: end;
  flex-wrap: wrap;
}

.status-pill,
.role-chip,
.badge,
.rarity-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: rgba(14, 36, 64, 0.75);
  color: #b8d4f2;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
}

.primary-button,
.secondary-button,
.ghost-button,
.mini-button,
.tab-button,
.nav-button,
.admin-subnav-button,
.danger-button {
  border: 1px solid transparent;
  min-height: 44px;
  padding: 9px 16px;
  color: var(--text);
  background: rgba(13, 42, 74, 0.88);
  border-radius: 7px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  background: linear-gradient(180deg, rgba(62, 178, 255, 0.96), rgba(14, 80, 160, 0.98));
  border-color: rgba(143, 220, 255, 0.72);
  box-shadow: 0 0 22px rgba(69, 183, 255, 0.36), inset 0 0 18px rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.secondary-button {
  background: linear-gradient(180deg, rgba(26, 72, 122, 0.94), rgba(8, 31, 61, 0.96));
  border-color: rgba(245, 212, 125, 0.36);
}

.ghost-button {
  background: rgba(8, 20, 38, 0.34);
  border-color: var(--line);
}

.danger-button {
  background: rgba(154, 43, 43, 0.28);
  border-color: rgba(255, 107, 90, 0.55);
  color: #ffd2cc;
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled),
.ghost-button:hover:not(:disabled),
.mini-button:hover:not(:disabled),
.nav-button:hover:not(:disabled),
.admin-subnav-button:hover:not(:disabled),
.danger-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(220, 245, 255, 0.62);
  box-shadow: 0 0 20px rgba(69, 183, 255, 0.28);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(111, 231, 255, 0.95);
  outline-offset: 2px;
}

.message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(7, 28, 54, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--hud-shadow);
}

.message.success {
  border-color: rgba(123, 216, 107, 0.62);
  color: #c8ffc5;
}

.message.error {
  border-color: rgba(255, 107, 90, 0.72);
  color: #ffd2cc;
}

.auth-grid {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding: clamp(30px, 5vw, 72px);
  padding-bottom: clamp(72px, 12vh, 150px);
  background:
    linear-gradient(120deg, rgba(69, 183, 255, 0.2), transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(245, 212, 125, 0.16), transparent 20rem),
    rgba(4, 14, 28, 0.9);
}

.hero-panel p {
  color: #b5c7da;
  max-width: 680px;
  font-size: 18px;
}

code {
  color: #ffe6a6;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 5px;
  border-radius: 4px;
}

.notice-box {
  border: 1px solid var(--line);
  background: rgba(4, 17, 34, 0.58);
  padding: 10px 12px;
  border-radius: 7px;
}

.notice-box {
  display: grid;
  gap: 5px;
  max-width: 620px;
}

.notice-box span {
  color: var(--muted);
}

.auth-card {
  align-self: center;
  padding: 22px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button.active,
.nav-button.active,
.admin-subnav-button.active {
  background: linear-gradient(180deg, rgba(25, 98, 172, 0.92), rgba(11, 47, 91, 0.94));
  border-color: rgba(111, 231, 255, 0.68);
  box-shadow: inset 0 0 18px rgba(69, 183, 255, 0.18), 0 0 16px rgba(69, 183, 255, 0.24);
}

.form-stack,
.inline-form {
  display: grid;
  gap: 12px;
}

.form-stack.dense {
  gap: 10px;
}

.inline-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

label {
  display: grid;
  gap: 6px;
  color: #b7cae0;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(91, 191, 255, 0.24);
  background: rgba(0, 8, 20, 0.54);
  color: var(--text);
  border-radius: 7px;
  padding: 10px 11px;
  outline: none;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(111, 231, 255, 0.86);
  box-shadow: 0 0 18px rgba(69, 183, 255, 0.18);
}

.workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: var(--safe);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.profile-mini {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.profile-mini small {
  color: var(--muted);
  word-break: break-all;
}

.nav-button {
  width: 100%;
  text-align: left;
}

.view-panel {
  min-height: calc(100vh - 132px);
  padding: clamp(14px, 1.6vw, 22px);
}

.draft-stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(68, 147, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(9, 27, 50, 0.9), rgba(2, 9, 21, 0.92));
}

.arena-header,
.section-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.arena-header h2,
.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 42px);
  color: #ffe39c;
  text-shadow: 0 0 24px rgba(245, 212, 125, 0.28), 0 3px 12px rgba(0, 0, 0, 0.86);
}

.arena-subtitle {
  margin: 7px 0 0;
  color: #9fb4cb;
}

.round-meter {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 128px;
  padding: 10px 12px;
  border: 1px solid rgba(245, 212, 125, 0.48);
  background: rgba(245, 212, 125, 0.08);
  border-radius: 7px;
}

.round-meter strong {
  font-size: 26px;
  color: var(--gold);
}

.arena-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.46fr) minmax(760px, 2.7fr) minmax(220px, 0.58fr);
  gap: 14px;
  align-items: stretch;
}

.squad-panel {
  min-height: 620px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-color: rgba(245, 212, 125, 0.42);
}

.crest-emblem {
  width: 70px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 4px 0 16px;
  font-size: 34px;
  color: #ffe6a6;
  background: linear-gradient(145deg, rgba(245, 212, 125, 0.18), rgba(5, 20, 38, 0.86));
  border: 1px solid rgba(245, 212, 125, 0.65);
  clip-path: polygon(50% 0, 92% 18%, 86% 78%, 50% 100%, 14% 78%, 8% 18%);
  box-shadow: inset 0 0 28px rgba(245, 212, 125, 0.22), 0 0 28px rgba(245, 212, 125, 0.18);
}

.squad-panel p {
  color: #9fb4cb;
  margin-bottom: 8px;
}

.squad-panel > strong {
  font-size: clamp(42px, 3.6vw, 68px);
  color: #ffe39c;
  line-height: 1;
  text-shadow: 0 0 24px rgba(245, 212, 125, 0.35);
}

.squad-panel > span {
  color: var(--gold);
  font-weight: 900;
  margin-top: 8px;
}

.squad-kpis {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: auto 0 0;
}

.squad-kpis div {
  min-height: 58px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(91, 191, 255, 0.2);
  background: rgba(2, 12, 26, 0.38);
  border-radius: 7px;
}

.squad-kpis small,
.analysis-strip small {
  color: var(--muted);
  font-size: 13px;
}

.squad-kpis b {
  font-size: 22px;
  color: #dceeff;
}

.choice-zone {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 191, 255, 0.28);
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(245, 212, 125, 0.08) 19% 19.3%, transparent 19.3% 80.7%, rgba(245, 212, 125, 0.08) 80.7% 81%, transparent 81%),
    radial-gradient(circle at center, rgba(74, 165, 255, 0.22), transparent 54%),
    rgba(0, 8, 20, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.choice-zone::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(91, 191, 255, 0.14);
  clip-path: polygon(5% 0, 95% 0, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0 92%, 0 8%);
  pointer-events: none;
}

.arena-title-line {
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 212, 125, 0.72), transparent);
}

.option-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: clamp(18px, 2vw, 34px);
  padding: clamp(22px, 3.2vw, 54px);
  align-items: center;
}

.player-card {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  border: 2px solid rgba(91, 191, 255, 0.62);
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.09), transparent 12rem),
    linear-gradient(145deg, rgba(23, 64, 112, 0.96), rgba(4, 15, 31, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 24px rgba(69, 183, 255, 0.26);
  overflow: hidden;
  transform-origin: center;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
  pointer-events: none;
  z-index: 2;
}

.player-card::after {
  content: "";
  position: absolute;
  inset: -30% -55%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.2) 47%, transparent 58%);
  transform: translateX(-60%);
  opacity: 0;
  pointer-events: none;
}

.player-card:hover:not(:disabled) {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.58), 0 0 34px rgba(91, 191, 255, 0.42);
}

.player-card.rare-pulse::after {
  animation: cardSweep 520ms ease-out;
}

.player-card.is-entering {
  animation: draftCardIn 320ms ease-out both;
  animation-delay: var(--entry-delay, 0ms);
}

.player-card.is-picked {
  animation: cardPickCommit 260ms ease-in both;
}

.player-card.is-dismissed {
  animation: cardDismiss 210ms ease-in both;
}

.card-topline,
.card-identity,
.card-rating,
.card-meta,
.card-stats,
.card-actions {
  position: relative;
  z-index: 3;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  min-height: 58px;
}

.card-rating strong {
  display: block;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
  color: #ecf7ff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
}

.card-rating span {
  display: block;
  color: #88caff;
  font-weight: 900;
}

.card-rarity {
  min-width: 48px;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.34);
  font-weight: 900;
  border-radius: 7px;
}

.player-silhouette {
  position: absolute;
  inset: 82px 10px 150px;
  z-index: 1;
  opacity: 0.9;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.55));
  display: grid;
  place-items: center;
}

.player-silhouette svg {
  width: min(82%, 220px);
  height: auto;
}

.player-silhouette.has-avatar {
  inset: 74px 12px 148px;
  opacity: 1;
}

.player-avatar-img {
  width: min(88%, 240px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.58));
}

.card-identity {
  align-self: end;
}

.player-card strong.card-name {
  display: block;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.06;
  color: #f4fbff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.card-nation {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 8px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.26);
  color: #c9d8e7;
  border-radius: 999px;
  font-size: 13px;
}

.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #aec4dc;
  font-size: 14px;
}

.card-position {
  color: #87e080;
  font-weight: 900;
}

.card-stats {
  display: grid;
  gap: 8px;
}

.stat-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.stat-line i {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.stat-line i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--stat-width, 50%);
  background: linear-gradient(90deg, #3ca7ff, #ffe39c);
}

.card-actions {
  min-height: 54px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border: 1px solid rgba(91, 191, 255, 0.5);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(39, 122, 212, 0.64), rgba(5, 32, 67, 0.9));
  color: #f7fbff;
  font-size: 22px;
  font-weight: 900;
}

.rarity-N {
  border-color: #b8c3ca;
}

.rarity-R {
  border-color: #46a8ff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 28px rgba(70, 168, 255, 0.42);
}

.rarity-SR {
  border-color: #b07dff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 32px rgba(176, 125, 255, 0.46);
}

.rarity-SSR {
  border-color: #ffd86a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 38px rgba(255, 216, 106, 0.56);
}

.rarity-UR {
  border-color: #ff705f;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 42px rgba(255, 112, 95, 0.58);
}

.rarity-X {
  border-color: #72ffd7;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 46px rgba(114, 255, 215, 0.62);
}

.rarity-SSR .card-actions,
.rarity-UR .card-actions,
.rarity-X .card-actions {
  border-color: rgba(245, 212, 125, 0.72);
  background: linear-gradient(180deg, rgba(189, 137, 38, 0.7), rgba(67, 41, 6, 0.9));
}

.picked-panel {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 12px;
}

.picked-list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 12px 0;
  overflow: auto;
  max-height: 540px;
  padding-right: 4px;
}

.picked-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid rgba(91, 191, 255, 0.22);
  border-left: 4px solid var(--line);
  background: rgba(3, 18, 38, 0.62);
  border-radius: 6px;
}

.picked-item span {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.picked-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.15;
}

.picked-item small {
  grid-column: 2 / 4;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.picked-rarity {
  justify-self: end;
  min-width: 30px;
  padding: 2px 5px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: #bde8ff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.picked-item.new-pick {
  animation: pickedFlash 900ms ease-out;
}

.avatar-upload-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-upload-panel input[type="file"] {
  max-width: 360px;
}

.avatar-preview-thumb,
.candidate-avatar-thumb {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.candidate-avatar-thumb {
  width: 42px;
  height: 42px;
}

.avatar-preview-thumb img,
.candidate-avatar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candidate-avatar-thumb svg {
  width: 34px;
  height: 42px;
  opacity: 0.72;
}

.rarity-border-N { border-left-color: #b8c3ca; }
.rarity-border-R { border-left-color: #46a8ff; }
.rarity-border-SR { border-left-color: #b07dff; }
.rarity-border-SSR { border-left-color: #ffd86a; }
.rarity-border-UR { border-left-color: #ff705f; }
.rarity-border-X { border-left-color: #72ffd7; }

.empty-state {
  color: #a9bdd3;
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.empty-state.small {
  padding: 12px;
  font-size: 14px;
}

.analysis-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(260px, 1.3fr) minmax(220px, 0.8fr);
  gap: 16px;
  padding: 16px;
}

.analysis-strip div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  border-right: 1px solid rgba(91, 191, 255, 0.16);
  padding-right: 14px;
}

.analysis-strip div:last-child {
  border-right: 0;
}

.analysis-strip strong {
  color: #ffe39c;
  font-size: clamp(22px, 2.4vw, 34px);
}

.analysis-strip span {
  color: #7bd86b;
  font-size: 14px;
}

.balance-badge {
  border: 1px solid rgba(245, 212, 125, 0.48) !important;
  border-radius: 7px;
  padding: 12px !important;
  background: rgba(245, 212, 125, 0.07);
}

.admin-stack {
  display: grid;
  gap: 14px;
}

.admin-subnav,
.admin-toolbar,
.admin-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-subnav {
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 8, 20, 0.32);
  border-radius: var(--radius);
}

.admin-subnav-button {
  min-height: 40px;
  padding: 8px 12px;
}

.tool-panel {
  padding: 14px;
}

.panel-title {
  justify-content: space-between;
  margin-bottom: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-toolbar {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 34, 0.42);
  border-radius: var(--radius);
}

.admin-toolbar label {
  min-width: 170px;
}

.admin-toolbar button,
.admin-toolbar select,
.admin-toolbar input {
  min-height: 40px;
}

.export-note {
  margin-bottom: 12px;
  max-width: none;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 34, 0.48);
  border-radius: 7px;
}

.compact-row.is-active {
  border-color: rgba(111, 231, 255, 0.72);
}

.compact-row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.online-monitor {
  margin: 14px 0 12px;
  padding: 12px;
  border: 1px solid rgba(245, 212, 125, 0.3);
  background: rgba(0, 8, 20, 0.28);
  border-radius: var(--radius);
}

.realtime-diagnostics {
  display: grid;
  gap: 10px;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px;
}

.diagnostic-grid > div {
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(4, 17, 34, 0.48);
  border-radius: 7px;
}

.diagnostic-grid span,
.team-online-meta small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.diagnostic-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.35;
}

.diagnostic-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.diagnostic-warning {
  padding: 9px 10px;
  border: 1px solid rgba(255, 107, 90, 0.42);
  background: rgba(154, 43, 43, 0.2);
  color: #ffd2cc;
  font-size: 14px;
  border-radius: 7px;
}

.team-online-row {
  align-items: flex-start;
}

.team-online-row strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.team-online-row.is-online {
  border-color: rgba(123, 216, 107, 0.42);
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.online-dot.online {
  background: #7bd86b;
  box-shadow: 0 0 0 4px rgba(123, 216, 107, 0.14);
}

.online-dot.offline {
  background: #6f7b87;
}

.team-online-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 150px;
  text-align: right;
}

.status-online {
  border-color: rgba(123, 216, 107, 0.5);
  color: #c8ffc5;
}

.status-offline {
  color: var(--muted);
}

.table-shell {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 12px;
  background: rgba(0, 8, 20, 0.2);
}

.position-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.position-stats.empty-state {
  display: block;
}

.position-stats-note {
  grid-column: 1 / -1;
  border: 1px solid rgba(245, 212, 125, 0.24);
  border-radius: 8px;
  padding: 9px 11px;
  color: #ffe39c;
  background: rgba(245, 212, 125, 0.06);
  font-size: 13px;
}

.position-stats-card {
  border: 1px solid rgba(91, 191, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(4, 17, 34, 0.46);
}

.position-stats-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ffe39c;
  font-weight: 800;
}

.position-stats-heading strong {
  color: #e7f2ff;
  white-space: nowrap;
}

.position-stats-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.position-count-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.position-count-item {
  display: grid;
  gap: 3px;
  justify-items: center;
  min-width: 0;
  border: 1px solid rgba(91, 191, 255, 0.18);
  border-radius: 7px;
  padding: 7px 4px;
  background: rgba(91, 191, 255, 0.08);
}

.position-count-item b {
  color: var(--muted);
  font-size: 12px;
}

.position-count-item strong {
  color: #e7f2ff;
  font-size: 18px;
  line-height: 1;
}

.position-count-item.is-empty {
  border-color: rgba(255, 210, 204, 0.22);
  background: rgba(255, 210, 204, 0.06);
}

.position-count-item.is-empty strong {
  color: #ffd2cc;
}

.position-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.position-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  border: 1px solid rgba(245, 212, 125, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  color: #e7f2ff;
  background: rgba(245, 212, 125, 0.07);
  font-size: 12px;
}

.position-detail-chip strong {
  color: #ffe39c;
}

.position-detail-empty {
  color: var(--muted);
  font-size: 12px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid rgba(91, 191, 255, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: #0b2748;
  color: #ffe39c;
  font-size: 13px;
  z-index: 1;
}

td {
  color: #e7f2ff;
  font-size: 14px;
}

td small {
  display: block;
  color: var(--muted);
}

.status-ready {
  color: #c8ffc5;
}

.status-error {
  color: #ffd2cc;
}

.status-skip {
  color: #ffe39c;
}

.small-input {
  width: 76px;
}

.select-cell {
  width: 58px;
}

.select-cell input,
.check-line input {
  width: auto;
  min-height: auto;
}

.sort-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffe39c;
  font-size: 13px;
  font-weight: 900;
}

.sort-header.active::after {
  content: attr(data-sort-direction);
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.pool-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pool-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
}

.pool-tag.global {
  border-color: rgba(245, 212, 125, 0.5);
  color: #ffe39c;
}

.admin-pagination {
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(0, 8, 20, 0.28);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.team-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
}

.check-line {
  display: inline-flex;
  grid-template-columns: auto;
  align-items: center;
  gap: 8px;
  white-space: normal;
  color: var(--text);
  font-size: 13px;
}

.command-panel {
  border-color: rgba(245, 212, 125, 0.32);
}

.danger-zone-panel {
  border-color: rgba(255, 107, 90, 0.48);
  background:
    linear-gradient(180deg, rgba(154, 43, 43, 0.16), rgba(4, 14, 28, 0.9)),
    rgba(4, 14, 28, 0.9);
}

.danger-zone-panel .notice-box {
  border-color: rgba(255, 107, 90, 0.38);
}

.verified-page {
  display: grid;
  place-items: center;
}

.verified-shell {
  width: min(620px, calc(100% - 32px));
}

.verified-card {
  padding: 40px;
}

.live-draft-stage {
  display: grid;
  gap: 14px;
}

.live-room-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.live-join-panel {
  min-width: 260px;
}

.live-inline-form {
  margin: 0;
}

.live-inline-form input {
  min-width: 190px;
}

.live-joined-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-joined-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.live-ready-actions,
.live-order-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.live-room-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.live-draft-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.7fr) minmax(240px, 0.8fr);
  gap: 14px;
  align-items: stretch;
}

.live-side-panel,
.live-center-panel {
  min-height: 620px;
  padding: 14px;
}

.live-order-list,
.live-order-editor,
.live-suggestion-list,
.live-pool-list {
  display: grid;
  gap: 8px;
}

.live-order-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(91, 191, 255, 0.22);
  border-radius: 7px;
  background: rgba(0, 8, 20, 0.24);
}

.live-order-item.is-current {
  border-color: rgba(245, 212, 125, 0.68);
  box-shadow: 0 0 24px rgba(245, 212, 125, 0.16);
}

.live-order-item.is-ready,
.live-order-edit-row.is-ready {
  border-color: rgba(123, 216, 107, 0.36);
}

.live-order-item.is-not-ready,
.live-order-edit-row.is-not-ready {
  border-color: rgba(245, 212, 125, 0.28);
}

.live-order-index {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(245, 212, 125, 0.4);
  color: #ffe39c;
  font-weight: 900;
  background: rgba(245, 212, 125, 0.08);
}

.live-order-item small,
.live-current-card small,
.live-modal-team-title span {
  color: var(--muted);
}

.audit-chip {
  color: #ffe39c;
}

.live-center-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  overflow: hidden;
}

.live-current-card,
.live-callout {
  padding: 14px;
  border: 1px solid rgba(245, 212, 125, 0.34);
  border-radius: 8px;
  background: rgba(245, 212, 125, 0.07);
}

.live-current-card strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(28px, 3vw, 46px);
  color: #ffe39c;
}

.live-turn-label {
  color: #8bd6ff;
  font-weight: 800;
}

.live-callout strong {
  display: block;
  color: #ffe39c;
}

.live-callout.success strong {
  color: #c8ffc5;
}

.live-pick-animation {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid rgba(91, 191, 255, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 212, 125, 0.18), transparent 18rem),
    radial-gradient(circle at 50% 50%, rgba(91, 191, 255, 0.16), transparent 22rem),
    rgba(0, 8, 20, 0.22);
}

.live-pick-idle {
  color: var(--muted);
  font-weight: 800;
}

.live-spotlight-card {
  position: relative;
  width: min(380px, 100%);
  min-height: 280px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  padding: 18px;
  border: 2px solid rgba(245, 212, 125, 0.72);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(22, 65, 102, 0.96), rgba(3, 13, 26, 0.98));
  box-shadow: 0 0 44px rgba(245, 212, 125, 0.28), 0 26px 70px rgba(0, 0, 0, 0.62);
  overflow: hidden;
  animation: livePickConfirm 520ms ease-out both;
}

.live-spotlight-card::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.34) 49%, transparent 60%);
  animation: livePickSweep 680ms ease-out both;
}

.live-spotlight-card > div:not(.player-portrait) {
  position: relative;
  z-index: 2;
}

.live-spotlight-card span {
  color: #8bd6ff;
  font-weight: 900;
}

.live-spotlight-card strong {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  color: #ffe39c;
}

.live-pick-form {
  display: grid;
  gap: 10px;
}

.live-suggestion {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(70px, 0.8fr) minmax(120px, 1.6fr) 64px 64px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(91, 191, 255, 0.24);
  border-radius: 7px;
  color: var(--text);
  background: rgba(4, 17, 34, 0.58);
  text-align: left;
}

.live-suggestion:not(:disabled):hover {
  border-color: rgba(245, 212, 125, 0.58);
  background: rgba(245, 212, 125, 0.08);
}

.live-suggestion.is-readonly {
  cursor: default;
}

.live-suggestion span {
  color: #8bd6ff;
  font-weight: 800;
}

.live-suggestion b {
  color: #ffe39c;
  font-size: 13px;
}

.live-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 4, 12, 0.68);
  backdrop-filter: blur(4px);
}

.live-modal {
  width: min(920px, 96vw);
  max-height: 88vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 14px;
}

.live-modal-body {
  overflow: auto;
  padding-right: 2px;
}

.live-modal-search {
  display: block;
  margin-bottom: 12px;
}

.live-rules {
  display: grid;
  gap: 10px;
  color: #dceeff;
  line-height: 1.7;
}

.live-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.live-team-card {
  min-height: 96px;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(91, 191, 255, 0.24);
  border-radius: 8px;
  color: var(--text);
  background: rgba(4, 17, 34, 0.54);
  text-align: left;
}

.live-team-card strong {
  color: #ffe39c;
}

.live-modal-team-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.live-modal-picked {
  margin-top: 10px;
}

.live-admin-grid,
.live-admin-order,
.live-admin-replacements,
.live-admin-proxy,
.live-admin-export {
  margin-top: 12px;
}

.live-admin-card {
  padding: 12px;
  border: 1px solid rgba(245, 212, 125, 0.3);
  border-radius: 8px;
  background: rgba(245, 212, 125, 0.07);
}

.live-readiness-card.is-ready {
  border-color: rgba(123, 216, 107, 0.42);
  background: rgba(123, 216, 107, 0.07);
}

.live-readiness-card.is-warning {
  border-color: rgba(245, 212, 125, 0.42);
}

.live-admin-card span,
.live-admin-card small {
  display: block;
  color: var(--muted);
}

.live-admin-card strong {
  display: block;
  margin: 5px 0;
  color: #ffe39c;
  font-size: 22px;
}

.readiness-detail {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.readiness-detail span {
  overflow-wrap: anywhere;
}

.live-admin-actions {
  margin-top: 10px;
}

.live-order-edit-row[draggable="true"] {
  cursor: grab;
}

.live-order-edit-row strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.drag-handle {
  color: var(--muted);
  font-size: 13px;
}

.picked-item.needs-review,
.review-row {
  outline: 1px solid rgba(255, 193, 116, 0.42);
  background: rgba(255, 193, 116, 0.06);
}

.review-row input {
  min-width: 84px;
}

.review-search-cell {
  min-width: 260px;
  vertical-align: top;
}

.live-review-search-input {
  width: 100%;
  min-width: 220px;
}

.live-review-suggestion-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  max-height: 184px;
  overflow: auto;
}

.live-review-suggestion {
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(68px, 0.8fr) minmax(96px, 1.4fr) 52px 52px;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(91, 191, 255, 0.22);
  border-radius: 6px;
  color: var(--text);
  background: rgba(4, 17, 34, 0.62);
  text-align: left;
}

.live-review-suggestion:hover {
  border-color: rgba(245, 212, 125, 0.58);
  background: rgba(245, 212, 125, 0.08);
}

.live-review-suggestion span {
  color: #8bd6ff;
  font-weight: 800;
}

.live-review-suggestion strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-review-suggestion b,
.live-review-selected {
  color: #ffe39c;
  font-size: 12px;
}

.empty-state.tiny {
  padding: 6px 8px;
  font-size: 12px;
}

@keyframes draftCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cardSweep {
  0% {
    opacity: 0;
    transform: translateX(-60%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(60%);
  }
}

@keyframes cardPickCommit {
  0% {
    transform: translateY(-8px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateX(18%) translateY(-12px) scale(0.82);
    opacity: 0;
  }
}

@keyframes cardDismiss {
  to {
    transform: translateY(18px) scale(0.94);
    opacity: 0;
    filter: blur(2px);
  }
}

@keyframes pickedFlash {
  0% {
    box-shadow: 0 0 0 rgba(245, 212, 125, 0);
    background: rgba(245, 212, 125, 0.2);
  }
  100% {
    box-shadow: 0 0 28px rgba(245, 212, 125, 0);
  }
}

@keyframes livePickConfirm {
  from {
    opacity: 0;
    transform: scale(0.84) translateY(20px);
    filter: saturate(0.5);
  }
  55% {
    transform: scale(1.04) translateY(-4px);
    filter: saturate(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes livePickSweep {
  from {
    opacity: 0;
    transform: translateX(-60%);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .arena-bg {
    display: none;
  }
}

@media (max-width: 1380px) {
  .arena-layout {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.5fr);
  }

  .squad-panel {
    grid-column: 1 / -1;
    min-height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .squad-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }
}

@media (max-width: 1180px) {
  .topbar,
  .workspace,
  .arena-layout,
  .analysis-strip {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: start;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-mini {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 12px;
  }

  .topbar,
  .arena-header,
  .section-head,
  .compact-row {
    align-items: stretch;
  }

  .brand-block,
  .top-actions,
  .button-row,
  .panel-title,
  .arena-header,
  .section-head,
  .compact-row {
    flex-direction: column;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .squad-panel {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .option-cards {
    grid-template-columns: 1fr;
  }

  .player-card {
    min-height: 390px;
  }

  .choice-zone,
  .picked-panel,
  .live-side-panel,
  .live-center-panel {
    min-height: auto;
  }

  .inline-form,
  .two-col,
  .position-stats,
  .admin-toolbar label,
  .diagnostic-grid,
  .live-draft-layout,
  .live-room-toolbar {
    grid-template-columns: 1fr;
    min-width: 100%;
  }

  .live-room-toolbar {
    display: grid;
  }

  .live-inline-form,
  .live-joined-card {
    flex-direction: column;
    align-items: stretch;
  }

  .live-inline-form input {
    min-width: 0;
    width: 100%;
  }

  .live-suggestion {
    grid-template-columns: 1fr 1fr;
  }

  .team-online-meta {
    justify-items: start;
    text-align: left;
  }
}
