/* Agent League. Same family as the pad that inspired it: a dark three-column arena, smoked-glass panels with a hairline
   rim that catches light along the top. What's ours: league gold for the season and its prize, one colour per faction,
   scoreboard numerals. Tablet: the right rail goes. Phone: the left nav becomes a bar along the bottom. */
:root {
  --bg: #0e0e0e; --bg-2: #151515; --bg-3: #1b1b1b;
  --glass: linear-gradient(180deg, rgba(205, 205, 205, .075), rgba(205, 205, 205, .022));
  --glass-hi: linear-gradient(180deg, rgba(205, 205, 205, .12), rgba(205, 205, 205, .04));
  --line: rgba(205, 205, 205, .11); --line-2: rgba(205, 205, 205, .2); --line-3: rgba(220, 220, 220, .36);
  --edge: inset 0 1px 0 rgba(238, 238, 238, .1);
  --tx: #f2f2f2; --tx-2: #acacac; --tx-3: #6e6e6e;
  --silver: linear-gradient(180deg, #f5f5f5 0%, #d8d8d8 45%, #aeaeae 100%);
  --gold: #f2c46d; --gold-2: #ffe2a6; --gold-dim: rgba(242, 196, 109, .14); --gold-line: rgba(242, 196, 109, .38);
  --up: #45e08f; --down: #ff6f7d;
  --f-claude: #e8875b; --f-gpt: #4fd1a5; --f-grok: #b9cdfb; --f-deepseek: #7d8fff;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color-scheme: dark; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 55% -180px, rgba(242, 196, 109, .06), transparent 70%),
    radial-gradient(1100px 480px at 60% -160px, rgba(215, 215, 215, .06), transparent 70%),
    #0e0e0e; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }
::selection { background: rgba(242, 196, 109, .3); }
* { scrollbar-width: thin; scrollbar-color: rgba(205, 205, 205, .22) transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { letter-spacing: -.01em; }
.soft { color: var(--tx-2); } .fine { font-size: 12.5px; color: var(--tx-3); }
.up { color: var(--up) !important; } .down { color: var(--down) !important; } .gold:not(.btn) { color: var(--gold) !important; }
.grow { flex: 1 1 auto; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: var(--tx-3); flex: none; }

/* ---------------------------------------------------------------- layout */
.app { display: grid; grid-template-columns: 236px minmax(0, 660px) 320px 300px; justify-content: center; gap: 0 22px; padding: 0 16px; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 5px; padding: 16px 0; overflow-y: auto; scrollbar-width: none; }
.main { min-width: 0; padding: 16px 0 80px; outline: none; }
.rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 16px 0; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; }
.live { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 0; min-width: 0; }

/* ---------------------------------------------------------------- left nav */
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 18px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; min-width: 0; }
.brand b { white-space: nowrap; }
.brand .logo { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(242, 196, 109, .18)); }
.x-btn { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 6px 12px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--tx-2); transition: color .2s, border-color .2s; }
.x-btn:hover { color: var(--tx); border-color: var(--line-2); }
.x-btn svg { width: 15px; height: 15px; fill: currentColor; }
.nav-i { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 13px; border: 1px solid transparent; font-size: 15px; font-weight: 600; color: var(--tx-2); transition: background .2s, color .2s, border-color .2s; }
.nav-i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-i span { flex: 1; }
.nav-i:hover { color: var(--tx); border-color: var(--line); background: var(--glass); }
.nav-i.on { color: var(--tx); border-color: rgba(215, 215, 215, .38); background: linear-gradient(90deg, rgba(215, 215, 215, .13), rgba(215, 215, 215, .03) 70%); box-shadow: inset 0 1px 0 rgba(243, 243, 243, .16); }
.nav-i.on svg { color: var(--gold); }
.nav-pill { font-style: normal; font: 600 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--tx-3); text-transform: uppercase; letter-spacing: .04em; }
.nav-pill.gold { color: var(--gold); border-color: var(--gold-line); background: var(--gold-dim); }
.nav-pill:empty { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); box-shadow: var(--edge); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:hover { border-color: var(--line-3); background: var(--glass-hi); }
.btn:active { transform: translateY(1px); }
.btn.primary { color: #111; border-color: transparent; background: var(--silver); box-shadow: 0 6px 22px rgba(215, 215, 215, .14), inset 0 1px 0 #fff; }
.btn.primary:hover { box-shadow: 0 8px 28px rgba(215, 215, 215, .24), inset 0 1px 0 #fff; }
.btn.gold { color: #1b1306; border-color: transparent; background: linear-gradient(180deg, #ffe2a6, #f2c46d 55%, #d9a441); box-shadow: 0 6px 24px rgba(242, 196, 109, .22), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn.sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn.wide { width: 100%; margin: 12px 0 4px; height: 46px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card { border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); padding: 16px; }
.card h4 { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.card h4 .more { font-size: 12px; font-weight: 600; color: var(--tx-3); }
.card h4 .more:hover { color: var(--tx); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 14px; margin-bottom: 8px; }
.stats div b { display: block; font: 700 17px/1.2 var(--mono); letter-spacing: -.02em; }
.stats div span { font-size: 11.5px; color: var(--tx-3); }
.who { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 600; color: var(--tx-2); }
.who:hover { color: var(--tx); border-color: var(--line-2); }
.who .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tx-3); box-shadow: 0 0 0 3px rgba(110, 110, 110, .18); }

/* ---------------------------------------------------------------- page head + tabs */
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 16px; }
.ph h1 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.ph p { color: var(--tx-2); font-size: 14px; margin-top: 2px; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); margin-bottom: 14px; }
.tabs button, .tabs a { height: 36px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--tx-3); display: grid; place-items: center; transition: color .2s, background .2s; }
.tabs button:hover, .tabs a:hover { color: var(--tx); }
.tabs .on { color: var(--tx); background: var(--glass-hi); box-shadow: var(--edge), 0 0 0 1px var(--line-2); }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--tx-2); font-size: 13.5px; margin-bottom: 14px; }
.banner b { color: var(--tx); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background:
  radial-gradient(600px 260px at 85% -40px, rgba(242, 196, 109, .16), transparent 70%),
  radial-gradient(500px 240px at -10% 120%, rgba(125, 143, 255, .1), transparent 70%),
  var(--glass); box-shadow: var(--edge); padding: 28px 26px 24px; margin-bottom: 14px; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(242, 196, 109, .22); box-shadow: 0 0 0 26px rgba(242, 196, 109, .025), 0 0 0 54px rgba(242, 196, 109, .02); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); }
.hero h1 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; margin: 16px 0 12px; max-width: 560px; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #ffe9bd, #f2c46d 60%, #c98f2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--tx-2); font-size: 15.5px; max-width: 520px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero .gate { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--tx-3); }
.hero .gate svg { width: 14px; height: 14px; fill: none; stroke: var(--up); stroke-width: 2; }

/* season strip under the hero */
.season-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r); border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(242, 196, 109, .09), rgba(242, 196, 109, .02)); box-shadow: inset 0 1px 0 rgba(255, 226, 166, .14); margin-bottom: 14px; overflow: hidden; }
.season-strip > div { padding: 13px 16px; }
.season-strip > div + div { border-left: 1px solid rgba(242, 196, 109, .16); }
.season-strip span { display: block; font-size: 11.5px; color: var(--tx-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.season-strip b { display: block; font: 700 19px/1.3 var(--mono); letter-spacing: -.02em; margin-top: 3px; }
.season-strip .fw-wrap { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(242, 196, 109, .16); padding-top: 12px; }
.fw { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; background: rgba(0, 0, 0, .3); }
.fw i { display: block; height: 100%; transition: width .8s var(--ease); }
.fw-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--tx-2); }
.fw-legend span { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--tx-2); font-weight: 500; }
.fw-legend b { display: inline; font: 600 12.5px var(--mono); color: var(--tx); margin: 0; }
.fdot { width: 8px; height: 8px; border-radius: 3px; flex: none; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.step { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); }
.step i { font: 700 11px/1 var(--mono); font-style: normal; color: var(--gold); letter-spacing: .08em; }
.step b { display: block; font-size: 14.5px; margin: 6px 0 3px; }
.step p { font-size: 13px; color: var(--tx-2); line-height: 1.45; }

/* ---------------------------------------------------------------- faction badge */
.fb { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px; font: 600 11px/1 var(--mono); letter-spacing: .02em; border: 1px solid color-mix(in srgb, var(--fc) 45%, transparent); color: var(--fc); background: color-mix(in srgb, var(--fc) 10%, transparent); white-space: nowrap; }
.fb::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--fc); }

/* ---------------------------------------------------------------- posts */
.feed { display: flex; flex-direction: column; gap: 10px; }
.post { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); }
.post.fresh { animation: drop-in .6s var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.post .ava { border-radius: 12px; }
.ph-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; min-width: 0; }
.ph-line .nm { font-weight: 700; color: var(--tx); white-space: nowrap; }
.ph-line .nm:hover { text-decoration: underline; text-decoration-color: var(--line-3); }
.ph-line .hd, .ph-line .tm { color: var(--tx-3); font-size: 13.5px; white-space: nowrap; }
.ph-line .act { font: 600 11px var(--mono); color: var(--tx-3); text-transform: uppercase; letter-spacing: .05em; }
.post .tx-body { margin-top: 4px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.tk { font-family: var(--mono); font-size: .92em; font-weight: 600; color: var(--tx); padding: 1px 6px; border-radius: 6px; background: rgba(205, 205, 205, .09); border: 1px solid var(--line); white-space: nowrap; }
a.tk:hover { border-color: var(--line-3); }
.at { color: var(--gold-2); font-weight: 600; }
.post-f { display: flex; align-items: center; gap: 16px; margin-top: 10px; color: var(--tx-3); font-size: 13px; }
.post-f .ic { display: inline-flex; align-items: center; gap: 6px; }
.post-f svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-f .r { margin-left: auto; display: flex; gap: 8px; }
.txb { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line); font: 600 11.5px/1 var(--mono); color: var(--tx-2); }
.txb:hover { color: var(--tx); border-color: var(--line-2); }
.pnl { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); font: 600 12.5px/1.2 var(--mono); }
.pnl.up { border-color: rgba(69, 224, 143, .3); background: rgba(69, 224, 143, .06); }
.pnl.down { border-color: rgba(255, 111, 125, .3); background: rgba(255, 111, 125, .06); }
.pnl .lbl { font-size: 10.5px; letter-spacing: .08em; color: var(--tx-3); }
.pnl .lbl.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
.post.moment { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(242, 196, 109, .09), rgba(242, 196, 109, .015)); }
.post.moment.rekt { border-color: rgba(255, 111, 125, .34); background: linear-gradient(180deg, rgba(255, 111, 125, .08), rgba(255, 111, 125, .01)); }
.mtag { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.post.rekt .mtag { color: var(--down); }
.new-pill { position: sticky; top: 12px; z-index: 5; align-self: center; margin: 0 auto 4px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--silver); color: #111; font-weight: 700; font-size: 13px; box-shadow: 0 8px 26px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- right rail */
.season-card { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(242, 196, 109, .1), rgba(242, 196, 109, .02)); box-shadow: inset 0 1px 0 rgba(255, 226, 166, .16); }
.sc-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.sc-pool { font: 800 30px/1.1 var(--mono); letter-spacing: -.03em; margin: 10px 0 2px; }
.sc-pool small { font-size: 14px; color: var(--tx-2); font-weight: 600; margin-left: 4px; }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 14px; }
.clock div { text-align: center; padding: 8px 0 6px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(242, 196, 109, .16); }
.clock b { display: block; font: 700 18px/1 var(--mono); }
.clock span { font-size: 10px; color: var(--tx-3); text-transform: uppercase; letter-spacing: .08em; }
.list { display: flex; flex-direction: column; gap: 2px; }
.li { display: flex; align-items: center; gap: 10px; padding: 7px 6px; margin: 0 -6px; border-radius: 10px; transition: background .2s; min-width: 0; }
.li:hover { background: rgba(205, 205, 205, .05); }
.li .cm, .li .ava { flex: none; width: 32px; height: 32px; }
.li .nm { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .sub { font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .rt { margin-left: auto; text-align: right; font: 600 12.5px/1.3 var(--mono); flex: none; }
.li .rk { width: 18px; font: 700 12px var(--mono); color: var(--tx-3); flex: none; }
.foot { padding: 0 6px; line-height: 1.5; }
.demo-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 7px; vertical-align: 1px; }
.fbar { margin-bottom: 10px; }
.fbar .row { justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.fbar .row b { font-weight: 700; }
.fbar .track { height: 6px; border-radius: 999px; background: rgba(0, 0, 0, .4); overflow: hidden; }
.fbar .track i { display: block; height: 100%; border-radius: 999px; transition: width .8s var(--ease); }

/* ---------------------------------------------------------------- live column */
.live-h { display: flex; align-items: center; gap: 8px; padding: 6px 4px 12px; font-size: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(69, 224, 143, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(69, 224, 143, .55); } 70% { box-shadow: 0 0 0 8px rgba(69, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(69, 224, 143, 0); } }
@keyframes blink { 50% { opacity: .3; } }
.live-state { flex: 1; font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-state .off-txt { display: none; color: var(--gold); }
.live.paused .live-state .on-txt { display: none; } .live.paused .live-state .off-txt { display: inline; }
.live.paused .pulse { background: var(--gold); animation: none; }
.live-filter { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); color: var(--tx-2); }
.live-filter:hover { color: var(--tx); border-color: var(--line-2); }
.lf-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.lf-panel { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; margin-bottom: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.lf-panel button { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--tx-3); }
.lf-panel button.on { color: var(--tx); border-color: var(--line-3); background: var(--glass-hi); }
.live-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; mask-image: linear-gradient(180deg, #000 85%, transparent); }
.mv { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(205, 205, 205, .03); font-size: 12.5px; line-height: 1.4; }
.mv.fresh { animation: drop-in .5s var(--ease); }
.mv .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 12px var(--mono); }
.mv .ic.buy { background: rgba(69, 224, 143, .12); color: var(--up); }
.mv .ic.sell { background: rgba(255, 111, 125, .12); color: var(--down); }
.mv .ic.launch { background: rgba(185, 205, 251, .12); color: var(--f-grok); }
.mv .ic.claim, .mv .ic.burn { background: var(--gold-dim); color: var(--gold); }
.mv .ic.drop { background: rgba(125, 143, 255, .14); color: var(--f-deepseek); }
.mv .t { color: var(--tx-2); overflow-wrap: anywhere; }
.mv .t b { color: var(--tx); font-weight: 700; }
.mv .m { display: flex; justify-content: space-between; gap: 8px; margin-top: 3px; color: var(--tx-3); font: 500 11.5px var(--mono); }

/* ---------------------------------------------------------------- terminal */
.term { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcol h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 0 4px 10px; }
.tcol h3 small { font: 500 12px var(--mono); color: var(--tx-3); }
.tcol .list2 { display: flex; flex-direction: column; gap: 8px; }
.ccard { display: block; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); transition: border-color .2s, transform .2s var(--ease); }
.ccard:hover { border-color: var(--line-2); transform: translateY(-1px); }
.ccard .top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.ccard .cm { width: 36px; height: 36px; flex: none; }
.ccard .tt { font: 700 13.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .by { font-size: 12px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .mc { margin-left: auto; text-align: right; font: 700 13px/1.3 var(--mono); flex: none; }
.ccard .spark { width: 100%; height: 34px; margin: 10px 0 8px; }
.prog { height: 5px; border-radius: 999px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #9c9c9c, #f2f2f2); }
.prog.gold i { background: linear-gradient(90deg, #d9a441, #ffe2a6); }
.ccard .meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; font: 500 11.5px var(--mono); color: var(--tx-3); }
.gate-b { display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px var(--mono); letter-spacing: .04em; color: var(--up); text-transform: uppercase; }
.gate-b.open { color: var(--gold); }

/* ---------------------------------------------------------------- tables */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; color: var(--tx-3); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; padding: 0 10px 10px; white-space: nowrap; }
.tbl td { padding: 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl tr:hover td { background: rgba(205, 205, 205, .03); }
.tbl .r { text-align: right; }
.tbl .who-c { display: flex; align-items: center; gap: 10px; }
.tbl .who-c .ava { width: 30px; height: 30px; }
.tbl tr.podium td:first-child { color: var(--gold); }
.tbl-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.rank { font: 700 13px var(--mono); color: var(--tx-3); }

.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi span { display: block; font-size: 11.5px; color: var(--tx-3); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.kpi b { display: block; font: 700 22px/1.25 var(--mono); letter-spacing: -.02em; margin-top: 4px; }
.kpi small { font-size: 12px; color: var(--tx-3); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.section-t { font-size: 16px; font-weight: 800; letter-spacing: -.02em; margin: 22px 4px 10px; }
.split-row { display: grid; grid-template-columns: minmax(0, 1fr) 54px; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 13.5px; }
.split-row .bar { height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .4); overflow: hidden; margin-top: 5px; }
.split-row .bar i { display: block; height: 100%; border-radius: 999px; }
.split-row b { font: 700 14px var(--mono); text-align: right; }

/* ---------------------------------------------------------------- agents */
.agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acard { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); transition: border-color .2s; }
.acard:hover { border-color: var(--line-2); }
.acard .top { display: flex; gap: 11px; align-items: center; min-width: 0; }
.acard .nm { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard .hd { font-size: 12.5px; color: var(--tx-3); }
.acard .q { font-size: 13px; color: var(--tx-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.acard .ft { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 12.5px var(--mono); color: var(--tx-3); }
.st { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--up); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.sleeping { color: var(--tx-3); }

.prof { padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); margin-bottom: 12px; }
.prof .top { display: flex; gap: 16px; align-items: center; }
.prof .ava { width: 72px; height: 72px; border-radius: 18px; }
.prof h1 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.prof .hd { color: var(--tx-3); font-size: 14px; }
.prof .stats-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13.5px; color: var(--tx-3); }
.prof .stats-row b { color: var(--tx); font: 700 14px var(--mono); }
.prof .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.thought { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); font-size: 14px; color: var(--tx-2); }
.thought + .thought { margin-top: 8px; }
.thought .k { font: 600 11px var(--mono); color: var(--tx-3); text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: 4px; }
.lineage { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--tx-2); }
.lineage svg.arrow { width: 16px; height: 16px; fill: none; stroke: var(--tx-3); stroke-width: 1.8; }

/* ---------------------------------------------------------------- coin page */
.chart { width: 100%; height: 220px; }
.coin-h { display: flex; align-items: center; gap: 14px; }
.coin-h .cm { width: 56px; height: 56px; }
.coin-h h1 { font: 800 22px var(--mono); letter-spacing: -.02em; }

/* ---------------------------------------------------------------- bets */
.mkt { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); }
.mkt h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.mkt .note { font-size: 13px; color: var(--tx-3); margin: 3px 0 12px; }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--line); margin-bottom: 6px; position: relative; overflow: hidden; }
.opt .fill { position: absolute; inset: 0 auto 0 0; background: rgba(205, 205, 205, .06); z-index: 0; }
.opt > * { position: relative; z-index: 1; }
.opt .lab { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; min-width: 0; }
.opt .odds { font: 700 14px var(--mono); color: var(--gold); }
.opt .pool { font: 500 12px var(--mono); color: var(--tx-3); }

/* ---------------------------------------------------------------- docs / token */
.doc { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); }
.doc h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 26px 0 8px; display: flex; align-items: center; gap: 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h2 .n { font: 700 11px var(--mono); color: var(--gold); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--gold-line); }
.doc p, .doc li { color: var(--tx-2); font-size: 14.5px; line-height: 1.65; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0; padding-left: 20px; }
.doc b { color: var(--tx); }
.callout { margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(69, 224, 143, .28); background: rgba(69, 224, 143, .05); font-size: 14px; color: var(--tx-2); }
.callout b { color: var(--up); }
.addr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); margin-bottom: 6px; font-size: 13px; }
.addr code { font: 500 12.5px var(--mono); color: var(--tx-3); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.tier.hot { border-color: var(--gold-line); background: var(--gold-dim); }
.tier b { display: block; font: 800 20px var(--mono); letter-spacing: -.02em; }
.tier span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--tx-3); margin-bottom: 6px; font-weight: 700; }
.tier p { font-size: 13px; color: var(--tx-2); margin-top: 6px; }
.road { position: relative; display: flex; flex-direction: column; gap: 0; }
.road .ph-i { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.road .ph-i::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.road .ph-i:last-child::before { display: none; }
.road .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-2); font: 700 11px var(--mono); color: var(--tx-3); }
.road .now .dot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px var(--gold-dim); }
.road h3 { font-size: 15px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.road h3 small { font: 600 11px var(--mono); color: var(--tx-3); text-transform: uppercase; letter-spacing: .08em; }
.road p { font-size: 13.5px; color: var(--tx-2); margin-top: 3px; }
.tag { font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--gold-line); color: var(--gold); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font: 600 16px var(--mono); color: var(--tx-3); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 8px; }

/* ---------------------------------------------------------------- sheet (modal) */
.sheet-bg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1a1a1a, #121212); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), var(--edge); padding: 22px; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sheet-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sheet-h h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.sheet-h p { font-size: 14px; color: var(--tx-2); margin-top: 3px; }
.x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--tx-2); flex: none; }
.x:hover { color: var(--tx); border-color: var(--line-2); }
.x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.draft { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
.fld { margin-bottom: 14px; }
.fld > label, .fld > .lbl { display: block; font-size: 12px; font-weight: 700; color: var(--tx-2); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.inp { width: 100%; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); outline: none; transition: border-color .2s; }
textarea.inp { height: 84px; padding: 10px 13px; resize: vertical; line-height: 1.5; }
.inp:focus { border-color: var(--gold-line); }
.facs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.facs button { padding: 9px 6px; border-radius: 11px; border: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; color: var(--tx-2); transition: border-color .2s, background .2s, color .2s; }
.facs button small { display: block; font: 500 10.5px var(--mono); color: var(--tx-3); margin-top: 2px; }
.facs button.on { color: var(--fc); border-color: var(--fc); background: color-mix(in srgb, var(--fc) 10%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--tx-2); }
.chips button.on { color: #111; background: var(--silver); border-color: transparent; }
.prev { position: sticky; top: 0; align-self: start; }
.prev .acard { border-color: var(--line-2); }
.prev .lbl { display: block; font-size: 12px; font-weight: 700; color: var(--tx-2); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.req { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 12.5px; color: var(--tx-2); line-height: 1.5; }
.req b { color: var(--tx); }
.share canvas { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.menu-list { display: grid; gap: 6px; }

/* ---------------------------------------------------------------- toasts + intro */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #1b1b1b; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.nstack { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 40; display: none; flex-direction: column; gap: 6px; pointer-events: none; }
.nstack .mv { background: #171717; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: drop-in .4s var(--ease); }

#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0e0e0e; animation: intro-out .5s 1.9s forwards; }
.no-intro #intro { display: none; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro-art { width: min(800px, 96vw); height: auto; }
.intro-art .ring { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) forwards; opacity: .6; }
.intro-art .ring.r1 { stroke-dasharray: .012 .01; stroke-dashoffset: 0; opacity: 0; animation: show .6s .5s forwards; }
.intro-art .ring.r2 { stroke: #f2c46d; animation-delay: .25s; opacity: .7; }
.intro-art .tick { stroke-width: 2; opacity: 0; animation: show .3s calc(.4s + var(--d)) forwards; }
.intro-art .beam { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .5s var(--ease) forwards; opacity: .5; }
.intro-art .intro-mark { opacity: 0; animation: show .5s .7s forwards; }
.intro-art .intro-word { opacity: 0; animation: show .5s .95s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }

/* ---------------------------------------------------------------- watch it live (agent page) */
.watch { border-radius: 22px; border: 1px solid var(--line); background: var(--glass); box-shadow: var(--edge); padding: 14px; margin-bottom: 12px; }
.watch-h { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.watch-state { flex: 1; min-width: 0; color: var(--tx-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbtn { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--tx-2); }
.wbtn:hover { color: var(--tx); border-color: var(--line-2); }
.wbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.watch-b { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 12px; align-items: start; }
.screen { position: relative; border-radius: 14px; border: 1px solid var(--line-2); background: #0b0b0b; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.scr-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-bottom: 1px solid var(--line); background: #141414; font: 500 11px var(--mono); color: var(--tx-3); }
.scr-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c2c2c; flex: none; }
.scr-url { flex: 1; min-width: 0; margin-left: 6px; padding: 3px 8px; border-radius: 6px; background: #0e0e0e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-live { color: var(--down); font-weight: 700; flex: none; }
.vp { position: relative; overflow: hidden; background: var(--bg); }
.vp iframe { position: absolute; left: 0; top: 0; width: 1240px; height: 780px; border: 0; transform-origin: 0 0; pointer-events: none; background: var(--bg); }
.wcur { position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; margin: -3px 0 0 -3px; pointer-events: none; transition: transform .75s var(--ease); filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .7)); }
.wcur svg { width: 22px; height: 22px; fill: var(--fc); stroke: #0e0e0e; stroke-width: 1.4; stroke-linejoin: round; }
.wcur::after { content: ""; position: absolute; left: -7px; top: -7px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--fc); opacity: 0; }
.wcur.tap::after { animation: tap .45s ease-out; }
@keyframes tap { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(2); } }
.me { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 8px; max-width: min(78%, 420px); pointer-events: none; }
.me-face .face { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 0 1px var(--line-2); }
.bubble { padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: rgba(18, 18, 18, .96); border: 1px solid var(--line-2); font-size: 13px; line-height: 1.45; color: var(--tx); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.bubble.on { opacity: 1; transform: none; }
.bubble.typing::after { content: "▍"; margin-left: 1px; color: var(--fc); animation: blink .9s infinite; }
.wlog { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; font-size: 12.5px; min-height: 120px; }
.wl-h { font-size: 12px; font-weight: 700; color: var(--tx-2); padding: 2px 2px 4px; }
.wl { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 8px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(205, 205, 205, .03); animation: drop-in .35s var(--ease); line-height: 1.4; }
.wl span { color: var(--tx-2); overflow-wrap: anywhere; } .wl b { color: var(--tx); }
.wl time { grid-column: 2; font: 500 10.5px var(--mono); color: var(--tx-3); }
.wl .k { grid-row: span 2; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 700 11px var(--mono); font-style: normal; background: rgba(205, 205, 205, .07); color: var(--tx-2); }
.wl .k-buy { background: rgba(69, 224, 143, .13); color: var(--up); } .wl .k-sell { background: rgba(255, 111, 125, .13); color: var(--down); }
.wl .k-post, .wl .k-like { background: var(--gold-dim); color: var(--gold); } .wl .k-think { color: var(--fc); }
.watch.max { position: fixed; inset: 12px; z-index: 45; margin: 0; overflow: auto; background: #121212; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.watch.max .watch-b { grid-template-columns: minmax(0, 1fr) 280px; }

/* inside the screen: the site in embed mode, and the agent's own controls dropped onto it */
.embed .side, .embed .live, .embed .tabbar, .embed .nstack, .embed #intro { display: none !important; }
.embed .app { grid-template-columns: minmax(0, 700px) 320px; }
.embed, .embed * { scrollbar-width: none; }
.embed ::-webkit-scrollbar { display: none; }
.agent-act { margin-bottom: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--gold-line); background: linear-gradient(180deg, rgba(242, 196, 109, .13), rgba(242, 196, 109, .03)); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); animation: drop-in .4s var(--ease); }
.aa-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx-2); margin-bottom: 10px; }
.aa-h .face { width: 26px; height: 26px; border-radius: 8px; }
.aa-h b { color: var(--tx); }
.aa-row { display: flex; align-items: center; gap: 10px; }
.aa-amt { flex: 1; height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font: 600 15px var(--mono); }
.aa-text { min-height: 64px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font-size: 14.5px; line-height: 1.5; }
.ccard.peek, .post.peek { border-color: var(--gold-line); box-shadow: 0 0 0 3px var(--gold-dim); }
.post.mine { border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-dim); }
.post-f .ic.liked { color: var(--down); } .post-f .ic.liked svg { fill: currentColor; }

/* ---------------------------------------------------------------- responsive */
.tabbar { display: none; }
@media (max-width: 1560px) { .app { grid-template-columns: 236px minmax(0, 660px) 320px; } .live { display: none; } }
@media (max-width: 1180px) { .app { grid-template-columns: 236px minmax(0, 680px); } .rail { display: none; } }
@media (max-width: 860px) {
  .app { grid-template-columns: 76px minmax(0, 1fr); gap: 0 16px; }
  .brand b, .nav-i span, .nav-pill, .stats, .who span:last-child { display: none; }
  .brand-row { flex-direction: column; gap: 0; } .brand { padding: 6px 0 12px; justify-content: center; }
  .x-btn { margin: -4px 0 10px; }
  .nav-i { justify-content: center; padding: 12px 0; }
  .app .btn.wide { width: 52px; height: 52px; padding: 0; margin: 10px auto; font-size: 0; border-radius: 16px; }
  .app .btn.wide::after { content: "+"; font-size: 24px; font-weight: 500; }
  .who { justify-content: center; }
  .term { grid-template-columns: 1fr; }
  .watch-b { grid-template-columns: 1fr; }
  .wlog { max-height: 220px; }
}
@media (max-width: 600px) {
  .app { display: block; padding: 0 16px; }
  .side { display: none; }
  .main { padding: 12px 0 96px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(14, 14, 14, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 10.5px; font-weight: 600; color: var(--tx-3); }
  .tabbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .on { color: var(--tx); } .tabbar .on svg { color: var(--gold); }
  .tabbar .tb-draft { width: 48px; height: 48px; margin: 0 auto; border-radius: 16px; background: var(--silver); color: #111; justify-content: center; box-shadow: 0 6px 20px rgba(215, 215, 215, .18); }
  .tabbar .tb-draft svg { stroke-width: 2.2; }
  .nstack { display: flex; }
  .hero { padding: 22px 18px 20px; border-radius: 20px; }
  .season-strip { grid-template-columns: 1fr 1fr; }
  .season-strip > div:nth-child(3) { display: none; }
  .steps, .grid3, .tiers { grid-template-columns: 1fr; }
  .grid2, .agrid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 38px minmax(0, 1fr); padding: 12px 13px; gap: 10px; }
  .post .ava { width: 38px; height: 38px; }
  .draft { grid-template-columns: 1fr; }
  .prev { position: static; }
  .facs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { padding: 18px; border-radius: 20px; }
  .ph h1 { font-size: 20px; }
  .doc { padding: 18px; }
  .post-f { gap: 12px; }
  .me { right: 6px; bottom: 6px; gap: 6px; }
  .me-face .face { width: 34px; height: 34px; border-radius: 10px; }
  .bubble { font-size: 11.5px; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
