:root {
  --bg: #05050a;
  --panel: rgba(10, 10, 20, 0.74);
  --panel-solid: #0b0b16;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #eef0ff;
  --dim: #8a8eb2;
  --dim2: #5d6184;
  --hot: #ff2d55;
  --gold: #ffc53d;
  --up: #35ff9b;
  --down: #ff3d5e;
  --display: 'Anton', 'Impact', sans-serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --hdr: 64px;
  --foot: 132px;
  --side: 312px;
  --side-r: 348px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#overlay { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }

/* ---------------------------------------------------------------- header */
.top {
  position: fixed; top: 0; left: 0; right: 0; height: var(--hdr); z-index: 20;
  display: flex; align-items: center; gap: 22px; padding: 0 18px;
  background: linear-gradient(180deg, rgba(5, 5, 10, 0.95), rgba(5, 5, 10, 0.55) 70%, transparent);
}
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; font-family: var(--display); font-size: 30px; letter-spacing: 0.02em; line-height: 1; }
.logo .l1 { color: var(--text); }
.logo .l2 { color: var(--hot); text-shadow: 0 0 18px rgba(255, 45, 85, 0.6); }
.round { display: flex; flex-direction: column; line-height: 1.05; }
.round b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: 0.06em; color: var(--gold); }
.round span { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.coin { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; }
.coin .tick { color: var(--dim); }
.coin #coinMc { font-weight: 700; }
.pill { font-size: 10px; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 99px; border: 1px solid var(--line2); color: var(--dim); }
.pill.live { color: #fff; background: var(--hot); border-color: var(--hot); }
.pill.bonded { color: #111; background: var(--gold); border-color: var(--gold); }
.links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ghost { background: none; border: 1px solid var(--line2); border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.ghost:hover { border-color: var(--text); }
.icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line2); background: none; text-decoration: none; font-size: 14px; font-weight: 700; }
.icon.off { opacity: 0.4; }
.buy {
  text-decoration: none; font-family: var(--display); font-size: 17px; letter-spacing: 0.05em; padding: 9px 16px; border-radius: 8px;
  background: var(--hot); color: #fff; box-shadow: 0 0 24px rgba(255, 45, 85, 0.45);
}
.buy:hover { filter: brightness(1.12); }

.banner {
  position: fixed; top: calc(var(--hdr) + 2px); left: 50%; transform: translateX(-50%); z-index: 19;
  font-size: 12px; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 99px;
  background: rgba(255, 197, 61, 0.12); border: 1px solid rgba(255, 197, 61, 0.4); color: var(--gold); white-space: nowrap;
}

/* ---------------------------------------------------------------- side panels */
.panel {
  position: fixed; top: calc(var(--hdr) + 36px); bottom: calc(var(--foot) + 16px); z-index: 10;
  background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; overflow-y: auto; scrollbar-width: thin;
}
.panel.left { left: 16px; width: var(--side); }
.panel.right { right: 16px; width: var(--side-r); }
.panel h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.06em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.panel h2 small { font-family: var(--sans); font-size: 11px; color: var(--dim); letter-spacing: 0; }
.panel h3 { margin: 18px 0 8px; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.08em; color: var(--dim); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); display: inline-block; }
.dot.on { background: var(--hot); box-shadow: 0 0 10px var(--hot); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* standings */
#boardList { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.row {
  --c: #fff; position: relative; display: grid; grid-template-columns: 22px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px;
  padding: 9px 10px 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); cursor: pointer; overflow: hidden;
  transition: transform 0.35s, background 0.2s;
}
.row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.row:hover { background: rgba(255, 255, 255, 0.06); }
.row .rank { grid-row: span 2; align-self: center; font-family: var(--display); font-size: 22px; color: var(--dim); }
.row.first .rank { color: var(--gold); }
.row .name { font-family: var(--display); font-size: 18px; letter-spacing: 0.04em; color: var(--c); line-height: 1.1; }
.row .name small { font-family: var(--sans); font-size: 10px; color: var(--dim); letter-spacing: 0.02em; margin-left: 6px; }
.row .val { text-align: right; font-family: var(--mono); font-weight: 700; font-size: 15px; }
.row .val small { font-weight: 400; color: var(--dim); font-size: 10px; }
.row .state { font-size: 11px; color: var(--dim); font-family: var(--mono); display: flex; gap: 8px; align-items: center; min-width: 0; }
.row .state .bag { color: var(--dim2); }
.row .pnl { text-align: right; font-family: var(--mono); font-size: 12px; }
.up { color: var(--up); }
.down { color: var(--down); }
.thinking { color: var(--c) !important; }
.thinking::after { content: '…'; animation: dots 1s steps(3) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0.3em; } 100% { width: 1em; } }

.locked { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.locked .lk { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 10px; border-radius: 9px; border: 1px dashed var(--line2); color: var(--dim); }
.locked .lk b { font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; color: var(--dim); }
.champs { list-style: none; margin: 0; padding: 0; font-size: 12px; font-family: var(--mono); display: flex; flex-direction: column; gap: 4px; }
.champs li { display: flex; justify-content: space-between; color: var(--dim); }
.champs li b { color: var(--c, var(--text)); font-weight: 700; }
.champs .empty { font-family: var(--sans); }

/* play-by-play */
#feedList { display: flex; flex-direction: column; gap: 8px; }
.play { --c: #fff; padding: 10px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-left: 3px solid var(--c); animation: in 0.4s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(-8px); } }
.play .who { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14px; letter-spacing: 0.05em; color: var(--c); }
.play .who time { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--dim2); letter-spacing: 0; }
.play .who .share { background: none; border: 0; color: var(--dim2); font-size: 12px; padding: 0 2px; }
.play .who .share:hover { color: var(--text); }
.play .say { margin: 5px 0 0; font-size: 13.5px; line-height: 1.4; color: #dfe2ff; }
.play .say.none { color: var(--dim); font-style: italic; }
.fills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.fill { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--mono); font-size: 11px; padding: 4px 8px 4px 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line2); }
.fill img, .fill .ph { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #222; flex: none; }
.fill.buy b { color: var(--up); }
.fill.sell b { color: var(--gold); }
.fill:hover { border-color: var(--text); }
.evt { font-size: 12px; color: var(--dim); padding: 6px 10px; border-radius: 9px; border: 1px dashed var(--line2); animation: in 0.4s ease-out; }
.evt b { color: var(--gold); font-weight: 600; }
.evt.whisper b { color: #c9b8ff; }

/* ---------------------------------------------------------------- bottom bar */
.bottom {
  position: fixed; left: 16px; right: 16px; bottom: 14px; height: var(--foot); z-index: 10;
  display: grid; grid-template-columns: var(--side) 1fr auto; gap: 16px; align-items: stretch;
}
.fuel, .ladder-wrap { background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.fuel-head { display: flex; justify-content: space-between; align-items: baseline; }
.fuel-head b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.08em; color: var(--gold); }
.fuel-head span { font-family: var(--mono); font-weight: 700; font-size: 18px; }
.gauge { height: 12px; margin: 8px 0; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; border: 1px solid var(--line); }
.gauge i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #ff6a00, var(--gold)); box-shadow: 0 0 16px rgba(255, 197, 61, 0.7); transition: width 0.8s; }
.gauge.low i { background: linear-gradient(90deg, #6b1d2a, var(--hot)); box-shadow: none; }
.fuel.pump { animation: pump 0.6s; }
@keyframes pump { 30% { box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(255, 197, 61, 0.5); } }
.fuel-text { font-size: 11.5px; color: var(--dim); line-height: 1.45; font-family: var(--mono); }
.fuel-text b { color: var(--text); font-weight: 600; }

.ladder-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.next-up { font-family: var(--display); font-size: 17px; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-up em { font-style: normal; color: var(--gold); }
.ladder { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; align-items: stretch; }
.ladder::-webkit-scrollbar { display: none; }
.step { flex: 1 0 118px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); display: flex; flex-direction: column; gap: 3px; cursor: default; }
.step .amt { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.step .nm { font-family: var(--display); font-size: 13px; letter-spacing: 0.05em; color: var(--dim); line-height: 1.15; }
.step.done { border-color: rgba(53, 255, 155, 0.35); }
.step.done .nm { color: var(--up); }
.step.next { border-color: var(--gold); box-shadow: 0 0 18px rgba(255, 197, 61, 0.2) inset; }
.step.next .nm { color: var(--gold); }
.step.bond { border-style: dashed; }

.whisper-btn {
  width: 150px; border-radius: 14px; border: 1px solid rgba(201, 184, 255, 0.4); background: linear-gradient(180deg, rgba(143, 107, 255, 0.25), rgba(143, 107, 255, 0.08));
  font-family: var(--display); font-size: 20px; letter-spacing: 0.06em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.whisper-btn span { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0; }
.whisper-btn:hover { border-color: #c9b8ff; }

.tabs { display: none; }

/* ---------------------------------------------------------------- over the stage: bubbles and name plates */
.plate {
  --c: #fff; position: absolute; transform: translate(-50%, 0); text-align: center; white-space: nowrap;
  font-family: var(--display); font-size: 15px; letter-spacing: 0.06em; color: var(--c); text-shadow: 0 0 12px var(--c), 0 2px 6px #000;
  transition: opacity 0.3s;
}
.plate small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: #fff; text-shadow: 0 1px 4px #000; }
.bubble {
  --c: #fff; position: absolute; transform: translate(-50%, -100%); max-width: 230px; width: max-content;
  padding: 8px 11px; border-radius: 12px; background: rgba(8, 8, 16, 0.9); border: 1px solid var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent);
  font-size: 12.5px; line-height: 1.35; color: #f2f3ff; transition: opacity 0.4s; opacity: 0;
}
.bubble.show { opacity: 1; }
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: rgba(8, 8, 16, 0.95); border-right: 1px solid var(--c); border-bottom: 1px solid var(--c); transform: translateX(-50%) rotate(45deg); }
.bubble .tag { display: block; font-family: var(--mono); font-size: 10px; color: var(--c); margin-bottom: 2px; }
.bubble.thinking .txt::after { content: '…'; animation: dots 1s steps(3) infinite; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; }

/* ---------------------------------------------------------------- drawer, modal, champion, toast */
.drawer {
  position: fixed; z-index: 40; top: calc(var(--hdr) + 36px); bottom: calc(var(--foot) + 16px); left: calc(var(--side) + 32px); width: 380px;
  background: var(--panel-solid); border: 1px solid var(--line2); border-radius: 14px; padding: 18px; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: none; font-size: 18px; line-height: 1; }
.drawer h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: 0.04em; color: var(--c); }
.drawer .sub { font-size: 12px; color: var(--dim); font-family: var(--mono); margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.stats div { padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.stats small { display: block; font-size: 10px; color: var(--dim); letter-spacing: 0.06em; }
.stats b { font-family: var(--mono); font-size: 15px; }
.drawer h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.08em; font-size: 14px; color: var(--dim); margin: 16px 0 6px; }
.pos { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pos img, .pos .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #222; }
.pos .s { font-weight: 700; font-size: 13px; }
.pos .m { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.pos .r { text-align: right; font-family: var(--mono); font-size: 12px; }
.mini { font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); color: #d6d9f5; }
.mini time { color: var(--dim2); font-family: var(--mono); font-size: 10px; margin-right: 6px; }
.mini .t { color: var(--dim); font-family: var(--mono); font-size: 11px; display: block; margin-top: 2px; }

.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--panel-solid); border: 1px solid var(--line2); border-radius: 16px; padding: 22px; }
.modal-card h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0.04em; }
.modal-card .lead { color: #d6d9f5; margin: 0 0 12px; }
.how { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 1.45; color: #cfd2ee; }
.how b { color: var(--text); }
.fine { font-size: 11.5px; color: var(--dim); line-height: 1.5; margin-top: 16px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.pick button { --c: #fff; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line2); background: none; font-family: var(--display); letter-spacing: 0.05em; color: var(--c); }
.pick button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.field { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, 0.04); color: var(--text); font-family: var(--mono); font-size: 13px; }
.cta { margin-top: 14px; width: 100%; padding: 12px; border-radius: 10px; border: 0; background: #8f6bff; font-family: var(--display); font-size: 18px; letter-spacing: 0.06em; }
.cta:disabled { opacity: 0.5; cursor: default; }
.msg { margin-top: 10px; font-size: 13px; min-height: 1.2em; }
.msg.err { color: var(--down); }
.msg.ok { color: var(--up); }

.champ { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: none; }
.champ-card {
  --c: var(--gold); pointer-events: auto; text-align: center; padding: 26px 34px; border-radius: 18px; background: rgba(8, 8, 16, 0.92);
  border: 1px solid var(--c); box-shadow: 0 0 80px color-mix(in srgb, var(--c) 40%, transparent); animation: slam 0.6s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes slam { from { transform: scale(2.2); opacity: 0; } }
.champ-card .k { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.2em; }
.champ-card h2 { margin: 6px 0; font-family: var(--display); font-weight: 400; font-size: 64px; letter-spacing: 0.04em; color: var(--c); line-height: 1; text-shadow: 0 0 30px var(--c); }
.champ-card .v { font-family: var(--mono); font-size: 18px; }
.champ-card ol { list-style: none; padding: 0; margin: 14px 0 0; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.champ-card .row2 { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.champ-card .row2 a, .champ-card .row2 button { padding: 9px 14px; border-radius: 9px; border: 1px solid var(--line2); background: none; text-decoration: none; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--foot) + 30px); transform: translateX(-50%) translateY(20px); z-index: 70; opacity: 0; transition: 0.3s; pointer-events: none;
  padding: 10px 16px; border-radius: 10px; background: #15152a; border: 1px solid var(--line2); font-size: 13px; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.tap-hint { position: fixed; left: 50%; top: calc(var(--hdr) + 40px); transform: translateX(-50%); z-index: 15; font-size: 11px; color: var(--dim); letter-spacing: 0.1em; pointer-events: none; transition: opacity 0.6s; }
.tap-hint.gone { opacity: 0; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1180px) {
  :root { --side: 270px; --side-r: 300px; }
  .round span { font-size: 12px; }
  .ghost { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr: 52px; --stage: 44dvh; --tabs: 40px; }
  html, body { overflow: hidden; }
  .top { gap: 10px; padding: 0 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .logo { font-size: 22px; gap: 4px; }
  .round b { font-size: 13px; }
  .round span { font-size: 11px; }
  .round .word { display: none; }
  .panel > h2:first-child { display: none; }
  .coin .tick, .links .icon:not(#soundBtn) { display: none; }
  .coin { font-size: 12px; }
  .pill { font-size: 9px; padding: 2px 5px; }
  .buy { font-size: 14px; padding: 7px 10px; }
  #stage, #overlay { top: var(--hdr); height: var(--stage); bottom: auto; }
  .banner { top: calc(var(--hdr) + 6px); font-size: 10px; padding: 4px 10px; }
  .tabs { display: flex; position: fixed; left: 0; right: 0; top: calc(var(--hdr) + var(--stage)); height: var(--tabs); z-index: 12; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .tabs button { flex: 1; background: none; border: 0; font-family: var(--display); letter-spacing: 0.06em; font-size: 13px; color: var(--dim); border-bottom: 2px solid transparent; }
  .tabs button.on { color: var(--text); border-bottom-color: var(--hot); }
  .panel, .panel.left, .panel.right, .bottom {
    top: calc(var(--hdr) + var(--stage) + var(--tabs)); bottom: 0; left: 0; right: 0; width: auto; height: auto; border-radius: 0; border: 0;
    background: var(--bg); backdrop-filter: none; display: none; padding: 12px;
  }
  .panel.on { display: block; }
  .bottom { grid-template-columns: 1fr; grid-auto-rows: min-content; overflow-y: auto; gap: 10px; }
  .bottom.on { display: grid; }
  .ladder { flex-wrap: wrap; }
  .step { flex: 1 0 calc(50% - 6px); }
  .next-up { white-space: normal; }
  .whisper-btn { width: 100%; padding: 14px; flex-direction: row; }
  .panel h2 small { display: none; }
  .drawer { left: 0; right: 0; width: auto; top: var(--hdr); bottom: 0; border-radius: 0; }
  .plate { font-size: 11px; }
  .plate small { font-size: 9px; }
  .bubble { max-width: 150px; font-size: 10.5px; padding: 6px 8px; }
  .champ-card h2 { font-size: 44px; }
  .toast { bottom: 20px; }
  .tap-hint { top: calc(var(--hdr) + var(--stage) - 22px); }
}

/* ---------------------------------------------------------------- first 3 seconds: intro */
#intro {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(ellipse at center, rgba(40, 8, 24, 0.96), #05050a 70%); text-align: center; padding: 16px;
  animation: introOut 0.45s ease-in 2.15s forwards; cursor: pointer;
}
.no-intro #intro { display: none; }
#intro.gone { display: none; }
#intro .i1, #intro .i2 { font-family: var(--display); line-height: 0.95; letter-spacing: 0.02em; opacity: 0; }
#intro .i1 { font-size: clamp(34px, 7vw, 84px); color: var(--text); animation: slamIn 0.35s cubic-bezier(0.2, 1.5, 0.4, 1) 0.05s forwards; }
#intro .i2 { font-size: clamp(56px, 12vw, 150px); color: var(--hot); text-shadow: 0 0 40px rgba(255, 45, 85, 0.7); animation: slamIn 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) 0.3s forwards; }
#intro .i3 { margin-top: 14px; font-family: var(--display); font-size: clamp(22px, 4.2vw, 46px); letter-spacing: 0.06em; opacity: 0; animation: fadeUp 0.35s ease-out 0.75s forwards; }
#intro .i3 span { text-shadow: 0 0 18px currentColor; }
#intro .i3 em { font-style: normal; color: var(--dim); font-size: 0.6em; margin: 0 0.3em; }
#intro .i4 { margin-top: 10px; font-family: var(--mono); font-size: clamp(11px, 1.6vw, 15px); letter-spacing: 0.18em; color: var(--gold); opacity: 0; animation: fadeUp 0.3s ease-out 1.15s forwards; display: flex; align-items: center; gap: 8px; }
#intro .i4 b { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 12px var(--hot); animation: pulse 0.8s infinite; }
@keyframes slamIn { from { opacity: 0; transform: scale(2.4); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.06); } }

/* ---------------------------------------------------------------- HUD over the arena */
#hud {
  position: fixed; z-index: 8; pointer-events: none;
  top: calc(var(--hdr) + 34px); bottom: calc(var(--foot) + 16px); left: calc(var(--side) + 32px); right: calc(var(--side-r) + 32px);
}
.lead { --c: #fff; position: absolute; top: 0; left: 0; right: 0; text-align: center; }
.lead .who { font-family: var(--display); font-size: 22px; letter-spacing: 0.1em; color: var(--c); text-shadow: 0 0 16px var(--c), 0 2px 8px #000; line-height: 1; }
.lead .big { font-family: var(--display); font-size: 68px; line-height: 1; letter-spacing: 0.01em; text-shadow: 0 0 30px currentColor, 0 3px 10px #000; }
.lead .big.tick { animation: tick 0.5s ease-out; }
@keyframes tick { 30% { transform: scale(1.14); } }
.lead .sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-family: var(--mono); font-size: 12px; color: #d9dcf5; text-shadow: 0 1px 6px #000; margin-top: 2px; }
.lead .clock { color: var(--gold); font-weight: 700; }
.lead .clock.hot { color: var(--hot); animation: pulse 0.9s infinite; }
.lead .bw b { font-weight: 700; }

.kills { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; max-width: 100%; }
.kill {
  --c: #fff; display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 0; border-radius: 8px; overflow: hidden; max-width: 100%;
  background: linear-gradient(90deg, rgba(8, 8, 16, 0.92), rgba(8, 8, 16, 0.7)); border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono); font-size: 12.5px; white-space: nowrap; animation: killIn 0.3s cubic-bezier(0.2, 1.3, 0.4, 1); transition: opacity 0.8s, transform 0.8s;
}
.kill.out { opacity: 0; transform: translateX(-20px); }
@keyframes killIn { from { opacity: 0; transform: translateX(-40px); } }
.kill i { font-style: normal; font-family: var(--display); font-size: 14px; letter-spacing: 0.06em; color: #0a0a12; background: var(--c); padding: 5px 8px; margin: -5px 2px -5px 0; align-self: stretch; display: flex; align-items: center; }
.kill .k { font-weight: 700; font-size: 11px; letter-spacing: 0.06em; }
.kill .k.buy { color: var(--up); }
.kill .k.win { color: var(--gold); }
.kill .k.loss { color: var(--down); }
.kill .k.hold { color: var(--dim); }
.kill img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.kill .n { color: #cfd2ee; overflow: hidden; text-overflow: ellipsis; }
.kill .ago { color: var(--dim2); font-size: 10px; }

.slam { --c: #fff; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; opacity: 0; pointer-events: none; }
.slam.go { animation: slam 2.1s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; }
@keyframes slam {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(2.6) rotate(-4deg); filter: blur(4px); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); filter: none; }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1.04) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(1.08) rotate(-2deg); }
}
.slam .t { font-family: var(--display); font-size: 84px; line-height: 0.9; color: var(--c); letter-spacing: 0.02em; text-shadow: 0 0 40px var(--c), 0 4px 0 rgba(0, 0, 0, 0.6); -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35); }
.slam .b { font-family: var(--display); font-size: 54px; line-height: 1; color: #fff; text-shadow: 0 0 24px var(--c), 0 3px 8px #000; }
.slam .l { margin-top: 6px; display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(8, 8, 16, 0.9); border: 1px solid var(--c); white-space: nowrap; }
.slam .coin img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--c); box-shadow: 0 0 30px var(--c); margin-bottom: 6px; }
.slam.rekt .t { transform: skewX(-8deg); }

@media (max-width: 1180px) { .lead .big { font-size: 54px; } .slam .t { font-size: 64px; } }
@media (max-width: 900px) {
  #hud { top: calc(var(--hdr) + 30px); bottom: auto; height: calc(var(--stage) - 38px); left: 8px; right: 8px; }
  .lead .who { font-size: 15px; }
  .lead .big { font-size: 40px; }
  .lead .sub { font-size: 10px; gap: 2px 10px; }
  .lead .bw { display: none; }
  .kills { gap: 3px; }
  .kill { font-size: 10.5px; padding: 3px 7px 3px 0; }
  .kill i { font-size: 11px; padding: 3px 6px; margin: -3px 2px -3px 0; }
  .kill:nth-last-child(n+3) { display: none; }
  .slam .t { font-size: 46px; }
  .slam .b { font-size: 34px; }
  .slam .l { font-size: 11px; }
  .slam .coin img { width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------- the fighting game look */
:root { --pixel: 'Press Start 2P', monospace; }

/* name tags over heads: the fighter's name in its colour, company underneath */
.plate {
  font-family: var(--pixel); font-size: 15px; letter-spacing: 0; line-height: 1.2;
  color: var(--c); text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0 0 14px var(--c);
}
.plate small { font-family: var(--pixel); font-size: 8px; color: #fff; margin-top: 3px; text-shadow: 1px 1px 0 #000; opacity: 0.85; }
.plate.bench { display: none; }   /* the crowd has its names drawn on the stage */
.plate.bench small { display: none; }
.bubble { font-size: 12px; border-radius: 4px; border-width: 2px; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6); }
.bubble .tag { font-family: var(--pixel); font-size: 8px; }

/* Street Fighter HUD */
.sf { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; }
.sf .side { --c: #fff; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf .side.r { align-items: flex-end; text-align: right; }
.sf .nm { font-family: var(--pixel); font-size: 15px; color: var(--c); text-shadow: 2px 2px 0 #000; white-space: nowrap; }
.sf .nm small { font-size: 8px; color: #fff; opacity: 0.75; margin: 0 8px; }
.sf .hp { position: relative; width: 100%; height: 18px; background: #5a0d18; border: 3px solid #f2f2f2; box-shadow: 0 0 0 2px #000, 3px 3px 0 2px rgba(0, 0, 0, 0.5); overflow: hidden; }
.sf .hp i { position: absolute; top: 0; bottom: 0; left: 0; }
.sf .side.r .hp i { left: auto; right: 0; }
.sf .hp .trail { background: #ff3d3d; transition: width 1.2s ease-in 0.35s; }
.sf .hp .fill { background: linear-gradient(180deg, #fff27a, #ffc400 55%, #e29500); transition: width 0.25s; }
.sf .side.low .hp .fill { animation: pulse 0.6s infinite; }
.sf .sup { width: 70%; height: 6px; background: rgba(0, 0, 0, 0.6); border: 1px solid #000; }
.sf .side.r .sup { align-self: flex-end; }
.sf .sup i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #35ff9b, #c6ff5a); box-shadow: 0 0 8px #35ff9b; transition: width 0.4s; }
.sf .side.r .sup i { margin-left: auto; }
.sf .val { font-family: var(--mono); font-size: 12px; font-weight: 700; text-shadow: 1px 1px 0 #000; }
.sf .mid { text-align: center; padding-top: 2px; }
.sf .rn { font-family: var(--pixel); font-size: 9px; color: #fff; text-shadow: 1px 1px 0 #000; }
.sf .clk { font-family: var(--pixel); font-size: 30px; color: var(--gold); text-shadow: 3px 3px 0 #000; line-height: 1.2; }
.sf .clk.hot { color: var(--hot); animation: pulse 0.9s infinite; }
.bw { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; pointer-events: none; font-family: var(--mono); font-size: 11px; color: #d9dcf5; text-shadow: 1px 1px 0 #000; }
.bw b { font-weight: 700; }

.parody {
  position: fixed; z-index: 9; pointer-events: none; font-family: var(--pixel); font-size: 8px; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55); text-shadow: 1px 1px 0 #000;
  left: calc(var(--side) + 40px); bottom: calc(var(--foot) + 22px); right: auto;
}

/* arcade slams */
.slam .t { font-family: var(--pixel); font-size: 54px; line-height: 1.1; -webkit-text-stroke: 0; text-shadow: 5px 5px 0 #000, 0 0 30px var(--c); }
.slam .b { font-family: var(--pixel); font-size: 32px; text-shadow: 4px 4px 0 #000; }
.slam .l { font-family: var(--pixel); font-size: 10px; border-radius: 2px; border-width: 2px; }
.kills { bottom: 50px; }
.kill i { font-family: var(--pixel); font-size: 9px; }

#intro .i1, #intro .i2, #intro .i3 { font-family: var(--pixel); }
#intro .i1 { font-size: clamp(14px, 2.6vw, 30px); line-height: 1.4; }
#intro .i2 { font-size: clamp(22px, 5vw, 64px); line-height: 1.3; text-shadow: 5px 5px 0 #000, 0 0 40px rgba(255, 45, 85, 0.7); }
#intro .i3 { font-size: clamp(30px, 7vw, 88px); margin-top: 18px; text-shadow: 5px 5px 0 #000; }
#intro .i3 em { font-size: 0.45em; }
#intro .i5 { margin-top: 14px; font-family: var(--pixel); font-size: 10px; color: rgba(255, 255, 255, 0.6); opacity: 0; animation: fadeUp 0.3s ease-out 1.3s forwards; }

@media (max-width: 1180px) { .sf .nm { font-size: 12px; } .sf .clk { font-size: 24px; } .slam .t { font-size: 40px; } }
@media (max-width: 900px) {
  .sf { gap: 6px; }
  .sf .nm { font-size: 10px; }
  .sf .nm small { display: none; }
  .sf .hp { height: 12px; border-width: 2px; }
  .sf .sup { height: 4px; }
  .sf .val { font-size: 9px; }
  .sf .clk { font-size: 18px; }
  .sf .rn { font-size: 7px; }
  .bw { display: none; }
  .plate { font-size: 10px; }
  .plate small { font-size: 6px; }
  .plate.bench { font-size: 7px; }
  .bubble { font-size: 10px; }
  .slam .t { font-size: 26px; }
  .slam .b { font-size: 20px; }
  .slam .l { font-size: 7px; }
  .kill i { font-size: 7px; }
  .parody { left: 8px; bottom: auto; top: calc(var(--hdr) + var(--stage) - 14px); font-size: 6px; }
  .kills { bottom: 14px; }
  #hud { top: calc(var(--hdr) + 26px); }
}
@media (max-width: 900px) { .banner { display: none; } }

@media (max-width: 900px) { .tap-hint { top: calc(var(--hdr) + 8px); } }

.champ-card h2 { font-family: var(--pixel); font-size: 44px; text-shadow: 5px 5px 0 #000, 0 0 30px var(--c); }
.champ-card .k { font-family: var(--pixel); font-size: 10px; }
.slam.fight .t, .slam.ko .t { font-size: 84px; }
@media (max-width: 900px) { .champ-card h2 { font-size: 28px; } .slam.fight .t, .slam.ko .t { font-size: 42px; } }

/* ================================================================ clean layout (v3)
   The fight is full screen. Standings and the log are drawers; the bottom is one slim bar;
   a roster strip of faces sits under the arena. */
:root { --foot: 58px; }
.top { background: linear-gradient(180deg, rgba(5, 5, 10, 0.92), rgba(5, 5, 10, 0)); }
.round[hidden] { display: none !important; }
.parody-pill { font-family: var(--pixel); font-size: 8px; padding: 5px 7px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 3px; color: rgba(255, 255, 255, 0.75); }

@media (min-width: 901px) {
  .panel { display: none; top: calc(var(--hdr) + 8px); bottom: calc(var(--foot) + 22px); width: 360px; z-index: 30; background: rgba(10, 10, 20, 0.94); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
  .panel.open { display: block; animation: in 0.25s ease-out; }
  .panel.left { left: 16px; }
  .panel.right { right: 16px; }
  .panel .close { position: absolute; top: 10px; right: 10px; }

  .bottom { height: var(--foot); bottom: 12px; left: 16px; right: 16px; grid-template-columns: minmax(240px, 300px) 1fr auto; gap: 12px; align-items: center;
    background: rgba(10, 10, 20, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
  .bottom .fuel { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; background: none; border: 0; padding: 0; backdrop-filter: none; }
  .bottom .fuel b { font-family: var(--pixel); font-size: 10px; color: var(--gold); letter-spacing: 0; }
  .bottom .gauge { margin: 0; height: 8px; }
  .bottom #fuelTank { font-family: var(--mono); font-weight: 700; font-size: 13px; }
  .bottom .fuel-text { grid-column: 1 / -1; font-size: 10.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bottom .next { min-width: 0; }
  .bottom .next-up { font-family: var(--pixel); font-size: 10px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .actions { display: flex; gap: 8px; }
  .act { font-family: var(--pixel); font-size: 9px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line2); background: rgba(255, 255, 255, 0.04); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .act:hover { border-color: var(--text); }
  .act.whisper-btn { width: auto; flex-direction: row; font-size: 9px; letter-spacing: 0; border-color: rgba(201, 184, 255, 0.5); background: rgba(143, 107, 255, 0.18); }
  .act.whisper-btn span { font-size: 10px; }

  #hud { top: calc(var(--hdr) + 4px); left: max(20px, calc(50% - 600px)); right: max(20px, calc(50% - 600px)); bottom: calc(var(--foot) + 84px); }
  .kills { bottom: 0; }
  .parody { left: auto; right: 24px; bottom: calc(var(--foot) + 90px); }
  .tap-hint { top: calc(var(--hdr) + 80px); }
}
.nbar { height: 5px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.nbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hot), var(--gold)); transition: width 0.8s; }

/* roster strip: faces under the arena */
.roster { position: fixed; z-index: 11; left: 50%; transform: translateX(-50%); bottom: calc(var(--foot) + 24px); display: flex; gap: 8px; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.roster::-webkit-scrollbar { display: none; }
.chip { --c: #fff; display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(8, 8, 16, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); flex: none; transition: transform 0.2s; }
.chip:hover { transform: translateY(-2px); border-color: var(--c); }
.chip.ring { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 16px color-mix(in srgb, var(--c) 40%, transparent); }
.chip .face { width: 40px; height: 40px; border-radius: 7px; background-color: #151528; background-repeat: no-repeat; image-rendering: pixelated; border: 2px solid var(--c); flex: none; }
.chip .who { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.chip .who b { font-family: var(--pixel); font-size: 9px; color: var(--c); font-weight: 400; }
.chip .who small { font-family: var(--mono); font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  :root { --stage: 52dvh; }
  .roster { left: 0; right: 0; transform: none; top: calc(var(--hdr) + var(--stage) - 50px); bottom: auto; max-width: none; padding: 0 8px; gap: 6px; }
  .chip { padding: 3px 8px 3px 3px; gap: 5px; }
  .chip .face { width: 30px; height: 30px; }
  .chip .who b { font-size: 7px; }
  .chip .who small { font-size: 9px; }
  .actions #boardBtn, .actions #feedBtn { display: none; }
  .actions { display: flex; }
  .act.whisper-btn { width: 100%; padding: 14px; font-family: var(--pixel); font-size: 11px; }
  #hud { height: calc(var(--stage) - 90px); }
  .kills { bottom: 0; }
  .parody { top: calc(var(--hdr) + var(--stage) - 64px); }
  .parody-pill { font-size: 6px; padding: 3px 4px; }
}

#hudBw { display: none; }
@media (max-width: 900px) {
  .bubble { display: none; }
  .kill:nth-last-child(n+2) { display: none; }
  .panel h2, .panel .close { display: none; }
}

/* drawers open by default: they sit above the roster strip, and the HUD and stamps move in between them */
@media (min-width: 901px) {
  .panel { bottom: calc(var(--foot) + 24px); width: 330px; }
  #hud { left: max(calc(var(--padL, 0px) + 16px), calc(50% - 600px)); right: max(calc(var(--padR, 0px) + 16px), calc(50% - 600px)); }
  .parody { right: calc(var(--padR, 0px) + 20px); }
  .roster { left: calc(var(--padL, 0px) + (100vw - var(--padL, 0px) - var(--padR, 0px)) / 2); max-width: calc(100vw - var(--padL, 0px) - var(--padR, 0px) - 24px); }
  .panel.open ~ .roster { z-index: 11; }
}
.panel .ladder { flex-wrap: wrap; overflow: visible; }
.panel .step { flex: 1 0 calc(50% - 6px); }

body.super #overlay { opacity: 0; transition: opacity 0.1s; }
#overlay { transition: opacity 0.3s; }

/* fights: the score since the bell under each bar, the fight clock, the round clock under it */
.sf .bd { font-family: var(--pixel); font-size: 8px; color: rgba(255, 255, 255, 0.75); text-shadow: 1px 1px 0 #000; margin-top: 3px; white-space: nowrap; }
.sf .bd b { font-weight: 400; }
.sf .bd b.up { color: var(--up, #35ff9b); }
.sf .bd b.down { color: var(--hot, #ff3d5e); }
.sf .bd em { font-style: normal; color: #000; background: var(--gold); padding: 1px 4px; margin-left: 4px; animation: pulse 0.9s infinite; }
.sf .rc { font-family: var(--pixel); font-size: 7px; color: rgba(255, 255, 255, 0.6); text-shadow: 1px 1px 0 #000; margin-top: 2px; white-space: nowrap; }
.sf .clk.ko { color: var(--hot, #ff3d5e); }
.evt.bout { border-style: solid; border-color: rgba(255, 197, 61, 0.35); color: #e8e8f5; }
.evt.bout b { font-family: var(--pixel); font-size: 10px; font-weight: 400; }
@media (max-width: 900px) {
  .sf .bd { font-size: 6px; }
  .sf .bd em { display: none; }
  .sf .rc { font-size: 5px; }
}

/* a landed hit shakes the victim's bar and flashes it white */
.sf .side.hit .hp { animation: hpHit 0.28s ease-out; }
.sf .side.hit .hp .fill { filter: brightness(2.2); transition: width 0.25s, filter 0.3s; }
@keyframes hpHit { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-4px, 1px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(-2px, 0); } }

/* call the winner: a bar under the big screen */
.pick {
  position: fixed; z-index: 14; left: 50%; top: 170px; width: max-content; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; background: rgba(8, 6, 18, 0.88); border: 2px solid rgba(255, 197, 61, 0.55); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
  font-family: var(--pixel); font-size: 10px; color: #fff; white-space: nowrap; animation: pickIn 0.25s ease-out;
}
.pick .q { color: var(--gold); }
.pick .dim { color: rgba(255, 255, 255, 0.6); font-size: 8px; }
.pick .st { color: var(--gold); }
.pick .ok { color: #35ff9b; }
.pick .no { color: #ff3d5e; }
.pick button { font-family: var(--pixel); font-size: 11px; color: #fff; background: #000; border: 2px solid var(--c, #fff); padding: 7px 10px; cursor: pointer; box-shadow: 3px 3px 0 var(--c, #fff); display: inline-flex; gap: 6px; align-items: center; }
.pick button small { font-size: 8px; color: rgba(255, 255, 255, 0.7); }
.pick button:hover { background: var(--c); color: #000; }
.pick button:hover small { color: #000; }
.pick button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--c, #fff); }
.pick button.share { --c: #ffc53d; }
body.super .pick { opacity: 0; }
@keyframes pickIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* the fight card line in the HUD */
.sf .nx { font-family: var(--pixel); font-size: 7px; color: rgba(255, 255, 255, 0.7); text-shadow: 1px 1px 0 #000; margin-top: 3px; white-space: nowrap; }
.sf .nx b { font-weight: 400; }

/* holders named in the kill feed */
.kill.credit { border-left-color: var(--c); }
.kill.credit b { font-family: var(--mono); color: var(--c); }

/* board: shared bags and best callers */
.panel h3 small { font-family: var(--mono); font-size: 9px; color: var(--dim); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.bags { display: grid; gap: 6px; margin-bottom: 6px; }
.bagrow { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; background: rgba(255, 255, 255, 0.02); }
.bagrow:hover { border-color: var(--gold); }
.bagrow img, .bagrow .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #333a55; display: block; }
.bagrow .bs b { font-family: var(--mono); font-size: 13px; display: block; }
.bagrow .bs small { font-family: var(--mono); font-size: 10px; color: var(--dim); display: flex; gap: 6px; align-items: center; }
.bagrow .cv { display: inline-block; width: 44px; height: 5px; background: rgba(255, 255, 255, 0.1); }
.bagrow .cv i { display: block; height: 100%; background: linear-gradient(90deg, #35ff9b, #ffc53d); }
.bagrow .bonded { color: #35ff9b; }
.bagrow .who { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 120px; }
.bagrow .who i { font-family: var(--pixel); font-size: 7px; font-style: normal; }
.fans .fanlist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 3px; }
.fans .fanlist li { display: grid; grid-template-columns: 18px 1fr auto auto; gap: 8px; font-family: var(--mono); font-size: 12px; align-items: center; }
.fans .fanlist .r { color: var(--dim); }
.fans .fanlist .dim { color: var(--dim); font-size: 10px; }
.fans .me { font-family: var(--mono); font-size: 11px; color: var(--dim); display: grid; gap: 6px; }
.fans .me b { color: #fff; }
.fans form { display: flex; gap: 6px; }
.fans input { flex: 1; min-width: 0; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line2); color: #fff; font-family: var(--mono); font-size: 12px; padding: 5px 8px; border-radius: 6px; }
.fans form button { font-family: var(--pixel); font-size: 9px; background: var(--gold); color: #000; border: 0; padding: 0 10px; border-radius: 6px; cursor: pointer; }

@media (max-width: 900px) {
  .pick { font-size: 8px; gap: 6px; padding: 5px 8px; }
  .pick button { font-size: 9px; padding: 6px 7px; }
  .sf .nx { font-size: 5px; }
}

