:root {
  color-scheme: dark;
  --bg0: #05060f;
  --bg1: #050618;
  --panel: rgba(10, 12, 26, 0.72);
  --panel2: rgba(8, 10, 20, 0.78);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke2: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 22px 68px rgba(0, 0, 0, 0.5);
  --neonCyan: #00e5ff;
  --neonPink: #ff2bd6;
  --neonLime: #b6ff00;
  --neonViolet: #a78bfa;
  --accent: var(--neonCyan);
  --accent2: var(--neonPink);
  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #fb7185;
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

* {
  /* box-sizing: border-box; */
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(980px 720px at 18% 16%, rgba(0, 229, 255, 0.26) 0%, transparent 58%),
    radial-gradient(980px 720px at 82% 18%, rgba(255, 43, 214, 0.22) 0%, transparent 62%),
    radial-gradient(980px 780px at 60% 106%, rgba(182, 255, 0, 0.12) 0%, transparent 58%),
    radial-gradient(1200px 900px at 42% 30%, rgba(167, 139, 250, 0.16) 0%, transparent 62%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 72%, #02030a 100%);
  overflow-x: hidden;
}

#root::before {
  content: "";
  position: fixed;
  inset: -40px;
  pointer-events: none;
  background: conic-gradient(
    from 200deg at 50% 40%,
    rgba(0, 229, 255, 0.18),
    rgba(255, 43, 214, 0.14),
    rgba(182, 255, 0, 0.12),
    rgba(167, 139, 250, 0.14),
    rgba(0, 229, 255, 0.18)
  );
  filter: blur(46px);
  opacity: 0.24;
  transform: translateZ(0);
  animation: bgSpin 18s linear infinite;
}

@keyframes bgSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.page {
  min-height: 100%;
  padding: 22px 16px 30px 16px;
}

.page--dockLeft {
  min-height: 100%;
}

@media (min-width: 980px) and (max-width: 1519px) {
  .page--dockLeft {
    padding-left: 348px;
  }
}

.mono {
  font-family: var(--mono);
}

.page {
  min-height: 100%;
  padding: 22px 16px 30px 16px;
}

.shell {
  width: min(1400px, 100%);
  margin: 0 auto;
}

.topBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 12, 26, 0.84) 0%, rgba(8, 10, 20, 0.78) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.12), 0 0 0 1px rgba(255, 43, 214, 0.08) inset, 0 26px 76px rgba(0, 0, 0, 0.55);
}

.hero {
  margin-top: 16px;
  padding: 16px 16px 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 43, 214, 0.05) 55%, rgba(182, 255, 0, 0.04) 100%);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.08) inset, 0 24px 72px rgba(0, 0, 0, 0.56);
  display: grid;
  gap: 12px;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.heroKicker {
  font-weight: 900;
  letter-spacing: 0.26em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.heroTitle {
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 22px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.98) 0%, rgba(255, 43, 214, 0.98) 52%, rgba(182, 255, 0, 0.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.12), 0 0 26px rgba(255, 43, 214, 0.1);
}

@media (min-width: 880px) {
  .heroTitle {
    font-size: 26px;
  }
}

.heroSub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.heroRight .topStatus {
  display: flex;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.logoMark {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 14px rgba(0, 229, 255, 0.18));
}

.logoText {
  line-height: 1;
}

.logoTop {
  letter-spacing: 0.36em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(1px);
}

.logoBottom {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.95) 0%, rgba(255, 43, 214, 0.95) 45%, rgba(182, 255, 0, 0.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topRight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topStatus {
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (min-width: 880px) {
  .topStatus {
    display: flex;
  }
}

@media (max-width: 879px) {
  .menuBtn {
    display: none;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  white-space: nowrap;
}

.chip--muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
}

.chip--danger {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.1);
  color: rgba(251, 113, 133, 0.95);
}

.chip--live {
  border-color: rgba(182, 255, 0, 0.45);
  background: rgba(182, 255, 0, 0.08);
  color: rgba(214, 255, 176, 0.95);
}

.menuBtn {
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 43, 214, 0.35);
  background: rgba(255, 43, 214, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.menuBtn:hover {
  background: rgba(255, 43, 214, 0.12);
  border-color: rgba(255, 43, 214, 0.55);
}

.menuBtn:active {
  transform: translateY(1px);
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

.side {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 14px;
}

.countdownBar {
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.14) 0%, rgba(255, 43, 214, 0.1) 55%, rgba(182, 255, 0, 0.08) 100%);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.42);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.countdownLabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.countdownValue {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.sideTitle {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.sideHint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.sideActions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sideBtn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.sideBtn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.sideBtn:active {
  transform: translateY(1px);
}

.sideBtn--active {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(96, 165, 250, 0.12);
}

.squadStack {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.squadCard {
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.1) 0%, rgba(255, 43, 214, 0.06) 100%);
  padding: 12px 12px 11px 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.06), 0 14px 38px rgba(0, 0, 0, 0.5);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.squadCard:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 229, 255, 0.3);
}

.squadCard--active {
  border-color: rgba(255, 43, 214, 0.46);
  background: linear-gradient(180deg, rgba(255, 43, 214, 0.12) 0%, rgba(0, 229, 255, 0.06) 100%);
}

.squadCardTop {
  display: flex;
  align-items: center;
  gap: 10px;
}

.squadBadge {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.squadImg {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.squadTitle {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 14px;
}

.squadTitle--updated {
  color: var(--good);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.85), 0 0 24px rgba(182, 255, 0, 0.55);
}

.squadScore {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--mono);
}

.squadMeta {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  min-height: 16px;
}

.emptyBox {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.board {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(18, 18, 40, 0.58);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.boardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--stroke);
}

.boardMeta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.boardMetaRight {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.boardTitle {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.98) 0%, rgba(255, 43, 214, 0.98) 52%, rgba(182, 255, 0, 0.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.14), 0 0 22px rgba(255, 43, 214, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  white-space: nowrap;
}

.pill--danger {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
  color: rgba(251, 113, 133, 0.95);
}

.pill--loading {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(96, 165, 250, 0.12);
  color: rgba(191, 219, 254, 0.95);
}

.tableShell {
  overflow: auto;
  max-height: calc(100vh - 210px);
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
}

.tableBlock {
  display: flex;
  flex-direction: column;
}

.pagerBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 13, 28, 0.72);
  backdrop-filter: blur(10px);
}

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

.pagerControls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pagerPages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagerPageBtn {
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.pagerPageBtn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.pagerPageBtn:active {
  transform: translateY(1px);
}

.pagerPageBtn--active {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(96, 165, 250, 0.12);
}

.pagerEllipsis {
  height: 34px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  user-select: none;
}

.pagerBtn {
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
}

.pagerSelect {
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
}

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

.th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(8, 10, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 12px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  text-align: center;
}

.sort {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.tr:hover .td {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 43, 214, 0.06) 60%, rgba(182, 255, 0, 0.04) 100%);
}

.td--rank {
  width: 78px;
}

.td--rankTop .mono {
  color: rgba(253, 230, 138, 0.95);
}

.nameCid {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.td--level,
.td--trophy,
.td--gap,
.td--tPerHour,
.td--avgPerHour,
.td--avgPerDay,
.td--overtake,
.td--pLead,
.td--pConfidence,
.td--pRisk,
.td--pUp,
.td--etaUp {
  text-align: center;
}

.td--tPerHour {
  color: var(--warn);
}

.td--avgPerHour,
.td--avgPerDay {
  color: var(--good);
}

.th--trophy,
.th--gap,
.th--tPerHour,
.th--avgPerHour,
.th--avgPerDay,
.th--overtake,
.th--pLead,
.th--pConfidence,
.th--pRisk,
.th--pUp,
.th--etaUp {
  text-align: center;
}

.td--pLead {
  color: rgba(255, 255, 255, 0.92);
}

.td--pConfidence {
  color: var(--good);
}

.td--pRisk {
  color: var(--warn);
}

.td--pUp {
  color: rgba(0, 229, 255, 0.98);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}

.td--etaUp {
  color: rgba(255, 43, 214, 0.98);
  text-shadow: 0 0 8px rgba(255, 43, 214, 0.35);
}

.td--predClick {
  cursor: pointer;
  user-select: none;
}

.td--predClick:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.td--predClick:focus {
  outline: none;
}

.td--predClick:focus-visible {
  outline: 2px solid rgba(0, 229, 255, 0.55);
  outline-offset: -2px;
  border-radius: 10px;
}

.td--trophy-updated {
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.55),
    0 0 18px rgba(0, 229, 255, 0.32),
    0 0 12px rgba(253, 230, 138, 0.42),
    0 0 24px rgba(253, 230, 138, 0.24);
  filter:
    drop-shadow(0 0 10px rgba(0, 229, 255, 0.35))
    drop-shadow(0 0 14px rgba(253, 230, 138, 0.22));
}

.td--trophy,
.td--gap {
  color: rgba(0, 229, 255, 0.98);
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.62),
    0 0 18px rgba(0, 229, 255, 0.32),
    0 0 10px rgba(253, 230, 138, 0.38),
    0 0 22px rgba(253, 230, 138, 0.2);
  filter:
    drop-shadow(0 0 10px rgba(0, 229, 255, 0.32))
    drop-shadow(0 0 14px rgba(253, 230, 138, 0.2));
  animation: neonPulse 2.8s ease-in-out infinite;
}

@supports (-webkit-background-clip: text) {
  .td--trophy,
  .td--gap {
    background-image: linear-gradient(90deg, rgba(0, 229, 255, 0.98) 0%, rgba(253, 230, 138, 0.98) 70%);
    -webkit-background-clip: text;
    color: transparent;
  }
}

@keyframes neonPulse {
  0%,
  100% {
    opacity: 0.98;
    text-shadow:
      0 0 10px rgba(0, 229, 255, 0.6),
      0 0 18px rgba(0, 229, 255, 0.3),
      0 0 10px rgba(253, 230, 138, 0.36),
      0 0 22px rgba(253, 230, 138, 0.18);
    filter:
      drop-shadow(0 0 10px rgba(0, 229, 255, 0.3))
      drop-shadow(0 0 14px rgba(253, 230, 138, 0.18));
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 12px rgba(0, 229, 255, 0.75),
      0 0 26px rgba(0, 229, 255, 0.42),
      0 0 12px rgba(253, 230, 138, 0.5),
      0 0 32px rgba(253, 230, 138, 0.26);
    filter:
      drop-shadow(0 0 12px rgba(0, 229, 255, 0.4))
      drop-shadow(0 0 18px rgba(253, 230, 138, 0.26));
  }
}

.nameCell {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.nameRow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.watchBtn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.watchBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 229, 255, 0.32);
  background: rgba(0, 229, 255, 0.08);
  color: rgba(0, 229, 255, 0.95);
}

.watchBtn--on {
  border-color: rgba(255, 43, 214, 0.5);
  background: rgba(255, 43, 214, 0.12);
  color: rgba(255, 43, 214, 0.95);
}

.nameMain {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nameColor {
  font-weight: inherit;
}

.nameColor--custom {
  font-weight: 800;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 400% 0;
  }
}

.nameMain--click {
  cursor: pointer;
}

.nameMain--click:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nameSub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.td--empty {
  text-align: center;
  padding: 26px 12px;
  color: rgba(255, 255, 255, 0.6);
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  white-space: nowrap;
}

.badge--sage {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: rgba(187, 247, 208, 0.95);
}

.badge--grand {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.12);
  color: rgba(233, 213, 255, 0.95);
}

.badge--master {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(96, 165, 250, 0.12);
  color: rgba(191, 219, 254, 0.95);
}

.badge--gold {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
  color: rgba(253, 230, 138, 0.95);
}

.badge--silver {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.95);
}

.badge--bronze {
  border-color: rgba(217, 119, 6, 0.55);
  background: rgba(217, 119, 6, 0.12);
  color: rgba(253, 186, 116, 0.95);
}

.squadCell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.squadCellText--updated {
  color: var(--good);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.85), 0 0 24px rgba(182, 255, 0, 0.55);
}

.squadCellImg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.leagueCell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.leagueCellImg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.scrim--open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: min(430px, calc(100vw - 28px));
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 20, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transform: translateX(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  display: flex;
  flex-direction: column;
}

.drawer--left {
  left: 14px;
  right: auto;
  transform: translateX(-12px);
}

.drawer--open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.drawerHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawerTitle {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.iconBtn {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.drawerBody {
  padding: 14px;
  overflow: auto;
}

.popupScrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 24;
}

.popupScrim--open {
  opacity: 1;
  pointer-events: auto;
}

.popup {
  position: fixed;
  top: 50%;
  right: 14px;
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 20, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transform: translateY(-50%) translateX(16px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 25;
  display: flex;
  flex-direction: column;
}

.popup--profile {
  width: min(980px, calc(100vw - 28px));
}

.popup--left {
  left: 14px;
  right: auto;
  transform: translateY(-50%) translateX(-16px) scale(0.985);
}

.popup--left.popup--open {
  transform: translateY(-50%) translateX(0) scale(1);
}

.popup--open {
  transform: translateY(-50%) translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  animation: popupFloat 3.8s ease-in-out infinite;
}

.popup--dock {
  top: 50%;
  transform: translateY(-50%) translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  animation: none;
}

.popup--dock.popup--left {
  left: 14px;
  right: auto;
}

.popup--mini {
  width: min(250px, calc(100vw - 28px));
  max-height: calc(80vh - 100px);
}

@media (max-width: 979px) {
  .page--dockLeft {
    padding: 22px 16px 30px 16px;
  }

  .popup--dock {
    top: auto;
    bottom: 14px;
    left: 14px;
    right: 14px;
    width: auto;
    max-height: 42vh;
  }
}

@keyframes popupFloat {
  0%,
  100% {
    top: 50%;
  }
  50% {
    top: calc(50% - 6px);
  }
}

.popupHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.popupTitle {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.popupBody {
  padding: 14px;
  overflow: auto;
}

.miniPanel {
  display: grid;
  gap: 10px;
}

.miniSectionTitle {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.miniMeta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.miniSquadBlock {
  display: grid;
  gap: 8px;
}

.miniSquadGrid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.miniSquadBtn {
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 43, 214, 0.04) 100%);
  padding: 10px 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.miniSquadBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 229, 255, 0.28);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.11) 0%, rgba(255, 43, 214, 0.06) 100%);
}

.miniSquadBtn--active {
  border-color: rgba(255, 43, 214, 0.46);
  background: linear-gradient(180deg, rgba(255, 43, 214, 0.12) 0%, rgba(0, 229, 255, 0.06) 100%);
}

.miniSquadBtn--updated .miniSquadName {
  color: var(--good);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.85), 0 0 24px rgba(182, 255, 0, 0.55);
}

.miniSquadName {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.miniSquadIcon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.miniSquadScore {
  font-weight: 900;
  text-align: right;
  color: rgba(255, 255, 255, 0.86);
}

.miniSquadGap {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.pill--good {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: rgba(187, 247, 208, 0.95);
}

.pill--muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
}

.miniTableShell {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.miniTable {
  width: 100%;
  border-collapse: collapse;
}

.miniTh {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(8, 10, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 10px;
  white-space: nowrap;
}

.miniTd {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  vertical-align: top;
}

.miniTr:hover .miniTd {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 43, 214, 0.06) 60%, rgba(182, 255, 0, 0.04) 100%);
}

.miniTd--rank {
  width: 32px;
  color: rgba(255, 255, 255, 0.65);
}

.miniTd--name {
  width: 100%;
}

.miniTd--tPerHour,
.miniTh--tPerHour {
  color: var(--warn);
  text-align: right;
}

.miniTd--avgPerHour,
.miniTd--avgPerDay,
.miniTh--avgPerHour,
.miniTh--avgPerDay {
  color: var(--good);
  text-align: right;
}

.miniName {
  display: inline;
  font-weight: 800;
  cursor: pointer;
}

.miniName:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.miniCid {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.miniTd--empty {
  text-align: center;
  padding: 14px 10px;
  color: rgba(255, 255, 255, 0.65);
}

.profilePane {
  display: grid;
  gap: 12px;
}

.profileTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profileTitleBlock {
  display: grid;
  gap: 4px;
  min-width: 220px;
}

.profileName {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profileHint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.profileLevelBadge {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 229, 255, 0.08);
  color: rgba(0, 229, 255, 0.95);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.profileActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profileGrid {
  display: grid;
  gap: 12px;
}

@media (min-width: 980px) {
  .profileGrid--cards {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .profileGrid--profile {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.profileSplit {
  display: grid;
  gap: 12px;
}

.profileSide {
  min-width: 0;
}

@media (min-width: 980px) {
  .profileSplit {
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: start;
  }
}

.profileCharCard {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
  display: grid;
  gap: 12px;
}

.profileCharGrid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .profileCharGrid {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
}

.profileCharMeta {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.profileCharList {
  display: grid;
  gap: 10px;
}

.profileCharRow {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.profileCharKey {
  font-size: 13px;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.9);
  letter-spacing: 0.02em;
}

.profileCharVal {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
}

.profileCharXp {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

.profileXpLeft {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
  font-size: 11px;
}

.profileInline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.profileInlineIcon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.profileSwf {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(1200px 320px at 20% 10%, rgba(0, 229, 255, 0.12) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(1000px 260px at 80% 0%, rgba(255, 43, 214, 0.12) 0%, rgba(0, 0, 0, 0) 62%),
    rgba(0, 0, 0, 0.22);
  overflow: hidden;
  min-height: 260px;
  height: 480px;
  max-height: 60vh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.profileSwf--right {
  height: 420px;
  max-height: 56vh;
}

.profileSwf--inCard {
  min-height: 220px;
  height: 360px;
  max-height: 46vh;
  border-radius: 12px;
}

.profileInfoCard {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
  display: grid;
  gap: 12px;
}

.profileInfoList {
  display: grid;
  gap: 10px;
}

.profileInfoRow {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.profileInfoKey {
  font-size: 13px;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.9);
  letter-spacing: 0.02em;
}

.profileInfoVal {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}

.profileTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profileTag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.profileXp {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

.profileXpText {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.profileXpPct {
  color: rgba(0, 229, 255, 0.95);
  font-weight: 900;
}

.profileXpBar {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.profileXpFill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.9) 0%, rgba(255, 43, 214, 0.85) 65%, rgba(253, 230, 138, 0.8) 100%);
  width: 0%;
  transition: width 220ms ease;
}

.akCard {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(1200px 320px at 10% 0%, rgba(255, 43, 214, 0.1) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(1200px 320px at 90% 0%, rgba(0, 229, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%),
    rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
  display: grid;
  gap: 12px;
}

.akRadar {
  width: 100%;
  height: 240px;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.akHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.akTitleBlock {
  display: grid;
  gap: 4px;
}

.akTitle {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}

.akSub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.akActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.akBars {
  display: grid;
  gap: 10px;
}

.akBarRow {
  display: grid;
  gap: 8px;
}

.akBarTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.akBarLabel {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.78);
}

.akBarVal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.akBarTrack {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.akBarFill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 220ms ease;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.9) 0%, rgba(255, 43, 214, 0.85) 65%, rgba(253, 230, 138, 0.8) 100%);
}

.akBarFill--cyan {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.95) 0%, rgba(96, 165, 250, 0.9) 100%);
}

.akBarFill--green {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.95) 0%, rgba(182, 255, 0, 0.9) 100%);
}

.akBarFill--gold {
  background: linear-gradient(90deg, rgba(253, 230, 138, 0.95) 0%, rgba(245, 158, 11, 0.9) 100%);
}

.akBarFill--purple {
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.95) 0%, rgba(167, 139, 250, 0.9) 100%);
}

.akTraits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.akPill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.akPill--good {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: rgba(187, 247, 208, 0.95);
}

.akPill--bad {
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
  color: rgba(251, 113, 133, 0.95);
}

.akPill--muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
}

.akList {
  display: grid;
  gap: 8px;
}

.akList--weak .akItem {
  border-color: rgba(251, 113, 133, 0.22);
  background: rgba(251, 113, 133, 0.06);
}

.akItem {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.profileMetaCard {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 12px;
  display: grid;
  gap: 10px;
}

.profileMetaTitle {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.profileMetaGrid {
  display: grid;
  gap: 8px;
}

.profileMetaRow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 10px;
}

.profileMetaRow--active {
  border-color: rgba(0, 229, 255, 0.34);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 43, 214, 0.06) 70%);
}

.profileMetaKey {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.profileMetaVal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-align: right;
}

.profileMetaEmpty {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  padding: 10px 0;
}

.profileDetails {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.profileDetailsSummary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 10px 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profileDetailsSummary::-webkit-details-marker {
  display: none;
}

.profileJson {
  margin: 0;
  padding: 10px 12px;
  border-radius: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  white-space: pre-wrap;
  word-break: break-word;
}

.form {
  display: grid;
  gap: 12px;
}

.formRow {
  display: grid;
  gap: 8px;
}

.label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 12px;
  outline: none;
}

.input:focus,
.textarea:focus {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.14);
}

.textarea {
  min-height: 180px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.formGrid {
  display: grid;
  gap: 12px;
}

@media (min-width: 440px) {
  .formGrid {
    grid-template-columns: 1fr 1fr;
  }
}

.checks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  user-select: none;
}

.check input {
  width: 16px;
  height: 16px;
}

.btnRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.45);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.errorBox {
  border-radius: 14px;
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
  color: rgba(251, 113, 133, 0.95);
  padding: 10px 12px;
  white-space: pre-wrap;
  font-size: 12px;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px 0;
}

@media (prefers-reduced-motion: reduce) {
  .menuBtn,
  .btn,
  .squadCard,
  .floatMenu,
  .scrollTopBtn,
  .drawer,
  .scrim,
  .popup,
  .popupScrim {
    transition: none;
  }

  #root::before {
    animation: none;
  }

  .popup--open {
    animation: none;
  }
}

.floatMenu {
  position: fixed;
  z-index: 20;
  height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 16, 34, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.floatMenu:active {
  cursor: grabbing;
}

.scrollTopBtn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 18;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 16, 34, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 13, 28, 0.92);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  font-size: 12px;
  transition: opacity 140ms ease, transform 140ms ease;
  max-width: calc(100vw - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
