/* Optimal companion. Black app, one accent (Electric blue), real rank badges, Discord pictures and banners.
   System: card radius 16, 1px hairline edges, padding 14, gap 12, labels 11.5 muted. Mobile first. */
:root { --acc: #2350ff; --up: #22d37a; --down: #ff4d5e; --pbg: #000; --lc: #0b0c0f; --lh: rgba(255,255,255,.07); --lm: #8a8f9c; --pmute: #8a8f9c; --pline: #1a1c22; --pcard: #0b0c0f; --r: 16px; --gut: 16px;
  --f: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Geist Mono", ui-monospace, Menlo, monospace; color-scheme: dark; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: #000; color: #f3f4f7; font-family: var(--f); font-size: 14px; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; } .up { color: var(--up); } .down { color: var(--down); }
.wordmark { font-weight: 800; letter-spacing: -0.04em; font-size: 17px; }
#app { max-width: 520px; margin: 0 auto; min-height: 100vh; position: relative; }
.pg { display: flex; flex-direction: column; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 12px) max(var(--gut), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 104px) max(var(--gut), env(safe-area-inset-left, 0px)); }
.pg > * { flex-shrink: 0; }
.pg.full { padding-top: 0; }
.rk { display: inline-block; flex: none; width: var(--z); height: var(--z); background: center / contain no-repeat; vertical-align: middle; }
.pf { display: inline-block; flex: none; width: var(--z); height: var(--z); border-radius: 50%; background: #1a1c22 center / cover no-repeat; }
.pf.ph { display: inline-grid; place-items: center; font-size: calc(var(--z) * .38); font-weight: 700; color: #fff; }
.em { display: inline-block; flex: none; width: var(--z); height: var(--z); border-radius: 22%; background: #111 center / cover no-repeat; vertical-align: middle; }
.dname { display: inline-flex; align-items: center; gap: 4px; color: var(--lm); font-size: 12px; font-weight: 500; } .dname .dc { color: #5865f2; }
.pav { position: relative; display: inline-block; flex: none; } .pbadge { position: absolute; right: -6px; bottom: -4px; display: grid; }
.chart { width: 100%; height: 116px; display: block; overflow: visible; } .chart.is-up { color: var(--up); } .chart.is-down { color: var(--down); }
.chart .grid line { stroke: rgba(255,255,255,.05); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .ln, .cchart .ln { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .end { fill: currentColor; } .chart .endring { fill: currentColor; opacity: .2; transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
.cchart { width: 100%; display: block; overflow: visible; } .cchart.is-up { color: var(--up); } .cchart.is-down { color: var(--down); }
@keyframes pulse { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.chg { font-weight: 600; display: inline-flex; gap: 4px; align-items: center; } .when { color: var(--lm); }
.spark { flex: none; } .spark path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .spark.is-up { color: var(--up); } .spark.is-down { color: var(--down); }
.playing .chart .ln { stroke-dasharray: 1; animation: draw 1.1s cubic-bezier(.4, 0, .2, 1) both; } @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.playing .chart .area { animation: fade .8s .5s both; } @keyframes fade { from { opacity: 0; } }
.empty { padding: 28px 16px; text-align: center; color: var(--lm); line-height: 1.5; }
.err { color: var(--down); }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); transform: translateX(-50%); background: #1a1c22; border: 1px solid var(--lh); color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 13px; z-index: 50; }
.signin { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.signin .big { font-size: 46px; font-weight: 800; letter-spacing: -0.05em; } .signin p { color: var(--lm); max-width: 30ch; margin: 0; line-height: 1.5; }
.l-in { width: 100%; height: 44px; border-radius: 12px; background: #111216; border: 1px solid var(--lh); color: #fff; padding: 0 12px; font: inherit; font-size: 14px; }
.l-in:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ===== round 4: Ledger on one strict system.
   radius 16 (cards) / 12 (inner) / pills full; edges 1px hairline; card padding 14; gap 12; labels 11.5 muted. */
.l4 { --acc: #2350ff; --pbg: #000; --lc: #0b0c0f; --lh: rgba(255, 255, 255, .07); --lm: #8a8f9c; --r: 16px; }



.l-card { background: var(--lc); border: 1px solid var(--lh); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; }
.l-chead { display: flex; justify-content: space-between; align-items: baseline; } .l-chead b { font-size: 14px; font-weight: 600; } .l-chead small, .l-chead a { color: var(--lm); font-size: 11.5px; } .l-chead a { color: #fff; font-weight: 500; }
.l-label { color: var(--lm); font-size: 11.5px; font-weight: 500; margin-bottom: -4px; }
.l-ib { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: rgba(0, 0, 0, .5); border: 1px solid var(--lh); color: #e6e8ee; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 18px; line-height: 1; }
.l-ib.sm { width: 30px; height: 30px; border-radius: 15px; background: var(--lc); }
/* header */
.l-ban { position: relative; height: 128px; margin: 0 calc(-1 * var(--gut)); background-size: cover; background-position: center; }
.l-ban.tall { height: 140px; }
.l-ban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #000); }
.l-bact { position: absolute; right: 14px; top: 46px; display: flex; gap: 8px; z-index: 2; }
.l-id { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: -40px; position: relative; z-index: 2; }
.l-id .pf { box-shadow: 0 0 0 3px #000; }
.l-id .l-idn { flex: 1; padding-bottom: 2px; }
.l-idn { display: grid; gap: 2px; } .l-idn b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; } .l-idn.lg b { font-size: 22px; }
.l4 .dname { color: var(--lm); font-size: 12px; } .l4 .dname .dc { color: #5865f2; }
.l-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -4px; }
.l-tags span { display: inline-flex; gap: 5px; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--lh); font-size: 11px; font-weight: 500; color: #d9dce3; }
.l-btn { display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--acc); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.l-bio { margin: -4px 0 0; font-size: 13px; color: #e6e8ee; }
.l-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--lm); } .l-meta span { display: inline-flex; gap: 4px; align-items: center; } .l-meta b { color: #fff; font-weight: 600; }
.l-hr { height: 1px; background: var(--lh); margin: 0 calc(-1 * var(--gut)); }
/* balance + chart */
.l-bal { display: grid; gap: 4px; } .l-bal small { color: var(--lm); font-size: 11.5px; } .l-bal > b { font-size: 40px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.l-chg { font-size: 13px; } .l-chg .chg { font-weight: 600; }
.l-chart { margin: 0 calc(-1 * var(--gut)); } .l-chart .chart { height: 116px; } .pg-profile .l-chart .chart { height: 104px; }
.l-chart .grid line { stroke: rgba(255, 255, 255, .05); }
.l-seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--lh); }
.l-seg .chip { flex: 1; height: 28px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--lm); }
.l-seg .chip.on { background: #1a1c22; color: #fff; box-shadow: none; }
.l-seg.sm .chip { height: 26px; font-size: 11.5px; padding: 0 10px; flex: none; }
/* rank */
.l-rtop { display: flex; gap: 10px; align-items: center; }
.l-rname { flex: 1; display: grid; gap: 1px; } .l-rname b { font-size: 15px; } .l-rname small { color: var(--lm); font-size: 11.5px; }
.l-rnext { display: grid; justify-items: end; gap: 3px; } .l-rnext small { color: var(--lm); font-size: 10.5px; } .l-rnext span { display: inline-flex; gap: 5px; align-items: center; } .l-rnext b { font-size: 12.5px; }
.l-bar { height: 4px; border-radius: 2px; background: #1a1c22; overflow: hidden; } .l-bar i { display: block; height: 100%; border-radius: 2px; background: var(--acc); }
.l-rfoot { display: flex; justify-content: space-between; margin-top: -6px; } .l-rfoot small { color: var(--lm); font-size: 10.5px; }
/* stats: one card, four cells split by hairlines */
.l-stats { gap: 10px; }
.l-grid4 { display: grid; grid-template-columns: 1fr 1fr; margin: 0 calc(-1 * var(--gut)) -14px; border-top: 1px solid var(--lh); }
.l-grid4 div { padding: 12px 14px; display: grid; gap: 3px; } .l-grid4 div:nth-child(odd) { border-right: 1px solid var(--lh); } .l-grid4 div:nth-child(-n+2) { border-bottom: 1px solid var(--lh); }
.l-grid4 small { color: var(--lm); font-size: 11.5px; } .l-grid4 b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.l-cta { height: 48px; border-radius: 24px; background: var(--acc); color: #fff; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
/* lists */
.l-list { gap: 0; padding-block: 12px 4px; } .l-list .l-chead { padding-bottom: 6px; }
.l-row, .l-lrow { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--lh); }
.l-list .l-chead + .l-row, .l-list > .l-lrow:first-child { border-top: 0; }
.l-thumb { width: 40px; height: 40px; border-radius: 10px; flex: none; background-color: #15161b; background-size: cover; background-position: center; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.l-rmid { flex: 1; display: grid; gap: 2px; min-width: 0; } .l-rmid b { font-size: 14px; font-weight: 600; } .l-rmid small { color: var(--lm); font-size: 11.5px; display: inline-flex; gap: 5px; align-items: center; }
.l-dot { width: 6px; height: 6px; border-radius: 3px; display: inline-block; } .l-dot.w { background: var(--up); } .l-dot.l { background: var(--down); }
.l-delta { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.l-ln { width: 18px; color: var(--lm); font-size: 12px; }
/* matches */
.l-title { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; } .l-title b { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; } .l-title .l-ib { background: var(--lc); }
.l-sum { grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; } .l-sum div { padding: 12px 14px; display: grid; gap: 3px; } .l-sum div + div { border-left: 1px solid var(--lh); } .l-sum small { color: var(--lm); font-size: 11.5px; } .l-sum b { font-size: 18px; font-weight: 600; }
.l-match { padding: 0; gap: 0; overflow: hidden; }
.l-mimg { position: relative; height: 72px; display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px; background-size: cover; background-position: center; }
.l-mimg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .75)); }
.l-mimg > * { position: relative; } .l-mimg div { display: grid; } .l-mimg b { font-size: 15px; } .l-mimg small { color: #c9ccd4; font-size: 11px; }
.l-pill { position: absolute !important; top: 10px; left: 14px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.l-pill.w { background: var(--up); color: #032212; } .l-pill.l { background: var(--down); color: #2a0408; }
.l-mbody { padding: 12px 14px 14px; display: grid; gap: 10px; }
.l-mscore { display: flex; justify-content: space-between; align-items: baseline; } .l-mscore b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; } .l-mscore b span { color: var(--lm); margin: 0 4px; }
.l-rbar { display: flex; gap: 3px; height: 6px; } .l-rbar i { display: block; height: 100%; border-radius: 3px; } .l-rbar i.w { background: #12e37c; } .l-rbar i.l { flex: 1; background: #ff2d4f; }
.l-mst { display: grid; grid-template-columns: repeat(3, 1fr); } .l-mst div { display: grid; gap: 2px; } .l-mst small { color: var(--lm); font-size: 10.5px; } .l-mst b { font-size: 13.5px; font-weight: 600; }
/* leaderboard */
.l-me { display: flex; gap: 12px; align-items: center; padding: 12px 14px; } .l-me div { flex: 1; display: grid; gap: 1px; } .l-me small { color: var(--lm); font-size: 11.5px; } .l-me b { font-size: 20px; font-weight: 700; }
.l-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.l-pod { justify-items: center; gap: 4px; padding: 12px 8px; text-align: center; } .l-pod.first { padding-top: 18px; border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.l-pn { font-size: 13px; color: var(--lm); } .l-pod.first .l-pn { color: #ffcf5a; }
.l-pname { font-size: 13px; font-weight: 600; } .l-pod small { color: var(--lm); font-size: 11px; }
.l-lrow .spark { flex: none; }
/* profile */
.l-seas { display: flex; justify-content: space-between; } .l-seas div { display: grid; justify-items: center; gap: 4px; } .l-seas small { color: var(--lm); font-size: 10.5px; }
/* share sheet */
.pg-share { gap: 14px; }
.l-shead { display: flex; justify-content: flex-end; margin-top: 2px; }
.l-stabs { display: flex; gap: 18px; justify-content: center; font-size: 16px; } .l-stabs b { font-weight: 600; } .l-stabs span { color: #5d616d; }
.l-sc { background: var(--acc); border-radius: 18px; padding: 3px; }
.l-sci { background: #050608; border-radius: 15px; padding: 14px 14px 10px; display: grid; gap: 8px; }
.l-stop { display: flex; gap: 10px; align-items: center; } .l-stop div { flex: 1; display: grid; gap: 3px; justify-items: start; } .l-stop b { font-size: 15px; font-weight: 600; }
.l-spill { font-size: 10.5px; font-weight: 600; color: #9fb0ff; background: color-mix(in srgb, var(--acc) 22%, transparent); padding: 2px 7px; border-radius: 6px; }
.l-sval { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; } .l-sval b { width: 100%; font-size: 34px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; } .l-sval span { font-size: 13px; font-weight: 600; } .l-sval small { color: var(--lm); font-size: 12px; }
.l-schart { position: relative; height: 112px; margin: 2px 0 0; } .l-schart .cchart { height: 112px; } .l-schart .ln { stroke-width: 2; }
.l-yax { position: absolute; right: 0; font-size: 9.5px; color: #5d616d; } .l-yax.hi { top: 0; } .l-yax.lo { bottom: 0; }
.l-xax { display: flex; justify-content: space-between; } .l-xax small { color: #5d616d; font-size: 10px; }
.l-sfoot { display: flex; justify-content: space-between; align-items: center; padding: 8px 11px 9px; color: #fff; } .l-sfoot .wordmark { font-size: 19px; } .l-sfoot div { display: grid; justify-items: end; } .l-sfoot small { font-size: 9.5px; opacity: .8; } .l-sfoot b { font-size: 12px; }
.l-sctl { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.l-sbtns { display: flex; gap: 32px; justify-content: center; margin-top: 4px; } .l-sbtns span { display: grid; justify-items: center; gap: 6px; } .l-sbtns b { width: 52px; height: 52px; border-radius: 26px; display: grid; place-items: center; background: var(--lc); border: 1px solid var(--lh); } .l-sbtns small { font-size: 11.5px; color: #d9dce3; }
.pg-share ~ .l-nav { }
/* bar */
.l-nav { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 58px; border-radius: 29px; display: flex; justify-content: space-around; align-items: center; background: rgba(18, 19, 24, .94); border: 1px solid var(--lh); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); z-index: 6; }
.l-nav a { width: 44px; height: 44px; display: grid; place-items: center; color: #6f7480; } .l-nav a.on { color: #fff; }
.l-navshare { width: 42px; height: 42px; border-radius: 21px; display: grid; place-items: center; background: var(--acc); color: #fff; cursor: pointer; }
.app.l4:has(.pg-share.on) .l-nav { display: none; }
.pg-share { padding-bottom: 24px !important; }
/* default Optimal banners (players with no Discord banner) */
.l-ban.def { background: #000; overflow: hidden; }
.l-ban.def::after { background: linear-gradient(180deg, transparent 60%, #000); }
.def .dw { position: absolute; left: 10px; top: 34px; font-weight: 800; font-size: 92px; letter-spacing: -0.06em; line-height: 1; color: #16171c; white-space: nowrap; }
.def-word { border-bottom: 0; }
.def-chart { background-color: #000; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 100% 22px, 22px 100%; }
.def-chart svg { position: absolute; left: 0; right: 0; bottom: 30px; width: 100%; height: 64px; }
.def-chart svg path { fill: none; stroke: var(--acc); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.def-chart .dm { position: absolute; left: 14px; top: 48px; font-weight: 800; font-size: 15px; letter-spacing: -0.04em; color: #fff; }
.l-ban.def-blue { background: var(--acc); }
.def-blue .dw { color: rgba(0, 0, 0, .22); }
/* ===== round 5: You in the middle of the bar, Esports, Clans */
.em { display: inline-block; flex: none; width: var(--z); height: var(--z); border-radius: 22%; background: #111 center / cover no-repeat; vertical-align: middle; }

.l-navme { width: 50px; height: 50px; border-radius: 25px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 2px var(--lh); }
.l-navme.on { box-shadow: 0 0 0 2px var(--acc); }
.l-navme .pf { box-shadow: none; }
.l-nav.n6 { justify-content: space-evenly; }
.ign { color: #fff; font-weight: 600; }
.l-tags .em { border-radius: 4px; }
.l-next { gap: 14px; }
.l-chead small { display: inline-flex; gap: 5px; align-items: center; }
.l-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.l-vs > div { display: grid; justify-items: center; gap: 4px; text-align: center; } .l-vs b { font-size: 15px; } .l-vs small { color: var(--lm); font-size: 11px; display: inline-flex; gap: 5px; align-items: center; }
.l-vsx { color: var(--lm); font-size: 13px; font-weight: 600; }
.l-nf { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--lh); padding-top: 12px; } .l-nf small { color: var(--lm); font-size: 11.5px; }
.l-btn.sm { height: 30px; padding: 0 12px; font-size: 12px; margin: 0; }
.l-btn.ghost { background: #1a1c22; color: #fff; }
.l-form { display: inline-flex; gap: 3px; } .l-form i { width: 6px; height: 6px; border-radius: 3px; } .l-form i.w { background: var(--up); } .l-form i.l { background: var(--down); }
.l-ser { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: #15171d; border: 1px solid var(--lh); font-weight: 800; font-size: 16px; color: #fff; }
.l-when { color: #d9dce3; font-size: 11.5px; text-align: right; max-width: 90px; }
.l-tag2 { font-size: 10px; font-weight: 700; color: var(--lm); border: 1px solid var(--lh); border-radius: 5px; padding: 1px 5px; margin-left: 2px; vertical-align: 1px; }
.l-myclan { gap: 14px; }
.l-mc1 { display: flex; gap: 12px; align-items: center; } .l-mc1 div { display: grid; gap: 2px; } .l-mc1 small { color: var(--lm); font-size: 11.5px; } .l-mc1 b { font-size: 18px; }
.l-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 calc(-1 * var(--gut)); border-top: 1px solid var(--lh); border-bottom: 1px solid var(--lh); }
.l-grid3 div { padding: 10px 14px; display: grid; gap: 3px; } .l-grid3 div + div { border-left: 1px solid var(--lh); } .l-grid3 small { color: var(--lm); font-size: 11px; } .l-grid3 b { font-size: 17px; font-weight: 600; }
.l-mrow { display: flex; align-items: center; } .l-mrow .pf { margin-left: -8px; box-shadow: 0 0 0 2px var(--lc); } .l-mrow .pf:first-child { margin-left: 0; } .l-mrow small { margin-left: 10px; color: var(--lm); font-size: 11.5px; }
.l-2btn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .l-2btn .l-btn { justify-content: center; margin: 0; height: 38px; }
.l-rv { display: grid; justify-items: end; gap: 1px; } .l-rv b { font-size: 14px; font-weight: 600; } .l-rv small { color: var(--lm); font-size: 10.5px; }
.l-mine { background: color-mix(in srgb, var(--acc) 14%, transparent); margin: 0 calc(-1 * var(--gut)); padding-inline: 14px; }
.l-sub { display: flex; gap: 10px; align-items: center; } .l-ign { color: var(--lm); font-size: 12px; } .l-ign::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 2px; background: var(--lm); margin-right: 8px; vertical-align: 3px; }
/* ===== round 6 */
.l4 .l-ban { height: 96px; } .l4 .l-ban.tall { height: 100px; }
.l4 .l-id { margin-top: -36px; }
/* Optimal default banner: the full word, as big as the banner allows */
.def-word2 { background: #000; }
.wbsvg { position: absolute; left: 4px; right: 4px; top: 50%; width: calc(100% - 8px); height: 78%; transform: translateY(-46%); }
.wbsvg text { font-family: var(--f); font-weight: 800; font-size: 64px; letter-spacing: -0.04em; fill: #1b1c22; }
/* stats B: tiles with trend */
.s7bg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s7tile { background: #111216; border: 1px solid var(--lh); border-radius: 12px; padding: 10px; display: grid; gap: 4px; }
.s7tile small { color: var(--lm); font-size: 11px; } .s7tile b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.s7f { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.s7sp { width: 52px; height: 20px; } .s7sp path { fill: none; stroke: currentColor; stroke-width: 1.8; vector-effect: non-scaling-stroke; } .s7sp.is-up { color: var(--up); } .s7sp.is-down { color: var(--down); }
/* stats C: ring + bars */
.s7cin { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.s7cr { position: relative; display: grid; justify-items: center; gap: 4px; }
.s7ring { width: 88px; height: 88px; transform: rotate(-90deg); } .s7ring circle { fill: none; stroke: #1a1c22; stroke-width: 7; } .s7ring .rf { stroke-linecap: round; }
.s7cv { position: absolute; top: 24px; left: 0; right: 0; display: grid; justify-items: center; } .s7cv b { font-size: 19px; font-weight: 700; } .s7cv small { color: var(--lm); font-size: 9.5px; }
.s7rec { color: var(--lm); font-size: 11px; }
.s7cl { display: grid; gap: 10px; } .s7ct { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; } .s7ct small { color: var(--lm); font-size: 11.5px; } .s7ct b { font-size: 15px; font-weight: 600; }
.s7cl .l-bar { height: 5px; }
/* stats D: vs rank */
.s7drow { display: grid; gap: 6px; } .s7dt { display: flex; gap: 8px; align-items: baseline; } .s7dt small:first-child { color: var(--lm); font-size: 11.5px; flex: 1; } .s7dt b { font-size: 15px; font-weight: 600; } .s7dt small:last-child { font-size: 10.5px; font-weight: 600; min-width: 92px; text-align: right; }
.s7dbar { position: relative; height: 6px; border-radius: 3px; background: #1a1c22; } .s7dbar i { display: block; height: 100%; border-radius: 3px; background: var(--acc); } .s7dbar em { position: absolute; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: #fff; }
/* stats E: your week */
.s7eh { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; } .s7eh small { color: var(--lm); font-size: 11.5px; } .s7eh b { display: block; white-space: nowrap; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.s7epills { display: flex; gap: 5px; } .s7epills span { font-size: 10.5px; color: var(--lm); border: 1px solid var(--lh); border-radius: 10px; padding: 3px 7px; } .s7epills b { color: #fff; font-weight: 600; }
.s7cols { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; }
.s7cols > div { display: grid; justify-items: center; gap: 4px; }
.s7stack { display: flex; flex-direction: column-reverse; gap: 2px; width: 100%; min-height: 60px; justify-content: flex-start; } .s7stack i { height: 9px; border-radius: 3px; } .s7stack i.w { background: var(--up); } .s7stack i.l { background: var(--down); }
.s7cols small { color: var(--lm); font-size: 10px; } .s7cols em { font-style: normal; font-size: 9.5px; font-weight: 600; } .s7cols em:not(.up):not(.down) { color: var(--lm); }
/* option frames for components */
/* matches B */
.m7day { display: flex; gap: 8px; align-items: baseline; } .m7day b { font-size: 14px; } .m7day span { font-weight: 600; font-size: 12.5px; } .m7day small { margin-left: auto; color: var(--lm); font-size: 11px; }
.m7list { padding: 0 14px; gap: 0; overflow: hidden; }
.m7row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--lh); position: relative; } .m7row:first-child { border-top: 0; }
.m7row::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; } .m7row.w::before { background: var(--up); } .m7row.l::before { background: var(--down); }
/* matches C scoreboard */
.m7sb { gap: 10px; } .m7h { display: flex; gap: 8px; align-items: center; } .m7h b { font-size: 15px; } .m7h small { color: var(--lm); font-size: 11px; flex: 1; }
.l-pill.st { position: static !important; }
.m7score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; } .m7score small { color: var(--lm); font-size: 10.5px; display: block; } .m7score b { font-size: 30px; font-weight: 700; } .m7score > span { color: var(--lm); font-size: 22px; }
.m7tbl { display: grid; gap: 0; border-top: 1px solid var(--lh); margin: 0 calc(-1 * var(--gut)) -14px; }
.m7th, .m7tr { display: grid; grid-template-columns: 1fr 28px 28px 40px; gap: 6px; padding: 7px 14px; font-size: 12px; align-items: center; } .m7th { color: var(--lm); font-size: 10.5px; } .m7th span:nth-child(n+2), .m7tr span:nth-child(n+2) { text-align: right; }
.m7tr { border-top: 1px solid var(--lh); } .m7tr span:first-child { display: flex; gap: 7px; align-items: center; } .m7tr.me { background: color-mix(in srgb, var(--acc) 16%, transparent); font-weight: 600; }
/* matches D */
.m7hero { position: relative; height: 210px; margin: 0 calc(-1 * var(--gut)); background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.m7hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), #000 92%); }
.m7hs { position: relative; padding: 0 14px 6px; display: grid; gap: 4px; width: 100%; } .m7hs > b { font-size: 22px; font-weight: 700; }
.m7big { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; } .m7big span { color: var(--lm); margin: 0 6px; }
.m7hst { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; } .m7hst span { display: grid; } .m7hst b { font-size: 15px; } .m7hst small { color: var(--lm); font-size: 10.5px; }
.m7grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m7tile { position: relative; height: 96px; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 8px 10px; border: 1px solid var(--lh); }
.m7tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); } .m7tile > * { position: relative; } .m7tile div { display: grid; } .m7tile b { font-size: 13px; } .m7tile small { font-size: 11px; color: #d9dce3; }
.m7tile .l-pill { position: absolute !important; top: 8px; left: 8px; }
/* admin */
.pg-admin, .pg-staff, .pg-players, .pg-clansadm, .pg-reports { padding-bottom: 110px; }
.a7top { display: flex; gap: 10px; align-items: center; margin-top: 2px; }  .a7top div { display: grid; } .a7top b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; } .a7top small { color: var(--lm); font-size: 11.5px; }
.a7kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .a7kpi div { background: var(--lc); border: 1px solid var(--lh); border-radius: 14px; padding: 12px; display: grid; gap: 2px; } .a7kpi small { color: var(--lm); font-size: 11px; } .a7kpi b { font-size: 20px; font-weight: 700; } .a7kpi em { font-style: normal; color: var(--lm); font-size: 10.5px; }
.a7ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #15171d; color: #d9dce3; flex: none; } .a7ic svg { width: 18px; height: 18px; }
.a7chev { color: var(--lm); display: grid; }
.a7tg { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 2px 0; }
.sw { width: 40px; height: 24px; border-radius: 12px; background: #2a2c33; position: relative; flex: none; } .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: #fff; transition: left .2s; } .sw.on { background: var(--acc); } .sw.on::after { left: 19px; }
.a7role { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 8px; color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, transparent); }
.a7in { display: flex; gap: 8px; align-items: center; height: 40px; padding: 0 12px; border-radius: 12px; background: #111216; border: 1px solid var(--lh); color: var(--lm); font-size: 12.5px; } .a7in.big { height: 44px; color: #fff; }
.a7roles { display: grid; gap: 6px; } .a7ro { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--lh); } .a7ro i { width: 16px; height: 16px; border-radius: 8px; border: 2px solid #3a3d46; flex: none; } .a7ro.on { border-color: var(--rc); } .a7ro.on i { border-color: var(--rc); background: var(--rc); box-shadow: inset 0 0 0 3px var(--lc); }
.a7ro div { display: grid; } .a7ro b { font-size: 13px; } .a7ro small { color: var(--lm); font-size: 11px; }
.a7perm { display: grid; gap: 8px; }
.a7plh { display: flex; gap: 12px; align-items: center; } .a7flag { font-size: 10.5px; font-weight: 700; color: var(--down); background: rgba(255, 77, 94, .14); padding: 3px 8px; border-radius: 8px; }
.a7acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .a7act { height: 34px; border-radius: 10px; border: 1px solid var(--lh); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #d9dce3; } .a7act.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 18%, transparent); color: #fff; } .a7act.red { color: var(--down); }
.l-seg.wrap .chip { flex: 1; }
.l-cta.red { background: var(--down); }
.a7cb { display: flex; gap: 12px; align-items: center; } .a7cb b { font-size: 17px; }
.a7up { display: grid; gap: 8px; } .a7upic { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; border: 1px dashed #2f323a; } .a7upic div { flex: 1; display: grid; } .a7upic b { font-size: 13px; } .a7upic small { color: var(--lm); font-size: 11px; }
.a7bn { width: 44px; height: 30px; border-radius: 8px; background: #1a1c22; flex: none; }
.a7line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; } .a7lp { display: grid; justify-items: center; gap: 3px; padding: 8px 2px; border-radius: 12px; background: #111216; border: 1px solid var(--lh); } .a7lp b { font-size: 11px; } .a7lp small { color: var(--lm); font-size: 9.5px; }
.a7igl { font-size: 9px; font-weight: 800; color: #000; background: #ffcf5a; padding: 1px 5px; border-radius: 5px; }
.a7gear { color: #ffcf5a; }
/* ---- motion: page change, count up, chart draw, cards rise, bars fill, bar dot */
@keyframes l7rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes l7fill { from { transform: scaleX(0); } }
@keyframes l7in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.l4 .pg.playing { animation: l7in .28s ease-out both; }
.l4 .pg.playing > * { animation: l7rise .42s cubic-bezier(.2, .8, .2, 1) both; }
.l4 .pg.playing > *:nth-child(2) { animation-delay: .04s; } .l4 .pg.playing > *:nth-child(3) { animation-delay: .08s; } .l4 .pg.playing > *:nth-child(4) { animation-delay: .12s; } .l4 .pg.playing > *:nth-child(5) { animation-delay: .16s; } .l4 .pg.playing > *:nth-child(6) { animation-delay: .2s; } .l4 .pg.playing > *:nth-child(7) { animation-delay: .24s; } .l4 .pg.playing > *:nth-child(n+8) { animation-delay: .28s; }
.l4 .pg.playing .l-bar i, .l4 .pg.playing .s7dbar i { transform-origin: left; animation: l7fill .8s .3s cubic-bezier(.2, .8, .2, 1) both; }
.l4 .pg.playing .s7ring .rf { animation: l7ring 1s .3s ease-out both; } @keyframes l7ring { from { stroke-dasharray: 0 100; } }
.l-nav a, .l-navme { position: relative; transition: color .2s, transform .12s; }
.l-nav a:active, .l-navme:active, .l-cta:active, .l-btn:active { transform: scale(.94); }
@media (max-width: 860px) { .m7opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s7opts { grid-template-columns: minmax(0, 1fr); } .cmp { width: 100%; max-width: 310px; } }
@media (prefers-reduced-motion: reduce) { .l4 .pg.playing, .l4 .pg.playing > * { animation: none !important; } }
/* ===== round 7: matches A improved + match detail */
/* map picture fades into the card: no hard line */
.m8card { cursor: pointer; }
.m8img { height: 96px; align-items: flex-start; }
.m8img::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, var(--lc) 100%) !important; }
.m8open { position: absolute !important; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; }
.m8body { margin-top: -30px; position: relative; padding-top: 0; }
.m8name { display: grid; gap: 1px; } .m8name b { font-size: 16px; font-weight: 600; } .m8name small { color: var(--lm); font-size: 11px; }
/* the new Today box */
.m8sum { gap: 0; padding: 0; overflow: hidden; }
.m8top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; }
.m8top small { color: var(--lm); font-size: 11.5px; display: block; } .m8top b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; } .m8top b span { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.m8sub { margin-top: 2px; }
.m8sp { width: 120px; height: 40px; flex: none; } .m8sp .ln { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; } .m8sp.is-up { color: var(--up); } .m8sp.is-down { color: var(--down); }
.m8row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lh); }
.m8row > div { padding: 10px 14px 12px; display: grid; gap: 3px; } .m8row > div + div { border-left: 1px solid var(--lh); }
.m8row small { color: var(--lm); font-size: 11px; } .m8row b { font-size: 17px; font-weight: 600; }
.m8dots { display: flex; gap: 3px; margin-top: 2px; } .m8dots i { width: 7px; height: 7px; border-radius: 4px; } .m8dots i.w { background: var(--up); } .m8dots i.l { background: var(--down); }
.m8note { color: var(--lm); font-size: 10px; }
/* match detail */

.m8hero { position: relative; height: 240px; margin: 0 calc(-1 * var(--gut)); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: space-between; }
.m8hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 30%, #000 100%); }
.m8hb { position: relative; display: flex; justify-content: space-between; padding: 46px 14px 0; } 
.m8hi { position: relative; padding: 0 14px 4px; display: grid; gap: 3px; justify-items: start; } .m8hi b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; } .m8hi small { color: #c9ccd4; font-size: 12px; }
.m8big { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 4px; } .m8big em { font-style: normal; color: var(--lm); margin: 0 8px; }
.m8elo { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.m8eloL { display: flex; gap: 10px; align-items: center; } .m8eloL div { display: grid; } .m8eloL small { color: var(--lm); font-size: 11.5px; } .m8eloL b { font-size: 16px; font-weight: 600; }
.l-delta.big3 { font-size: 22px; font-weight: 700; }
.m8rounds { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; } .m8rounds i { height: 22px; border-radius: 4px; } .m8rounds i.w { background: var(--up); } .m8rounds i.l { background: var(--down); }
.m8rounds i.half { box-shadow: 4px 0 0 -1px #000, 5px 0 0 0 var(--lm); }
.m8rl { display: flex; justify-content: space-between; margin-top: -4px; } .m8rl small { color: var(--lm); font-size: 10px; }
.m8sbc { gap: 0; padding-bottom: 6px; } .m8sbc .l-chead { padding-bottom: 10px; }
.m8th, .m8tr { display: grid; grid-template-columns: 1fr 26px 26px 26px 40px; gap: 6px; align-items: center; font-size: 12.5px; }
.m8th { color: var(--lm); font-size: 10.5px; padding-bottom: 6px; } .m8th span:nth-child(n+2), .m8tr span:nth-child(n+2) { text-align: right; }
.m8tr { padding: 8px 0; border-top: 1px solid var(--lh); }
.m8tr.me { background: color-mix(in srgb, var(--acc) 16%, transparent); margin: 0 calc(-1 * var(--gut)); padding-inline: 14px; font-weight: 600; }
.m8p { display: flex; gap: 8px; align-items: center; min-width: 0; } .m8p b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m8w { display: grid; grid-template-columns: 96px 1fr 22px; gap: 10px; align-items: center; font-size: 12.5px; } .m8w span { color: #d9dce3; } .m8w b { text-align: right; font-weight: 600; } .m8w .l-bar { height: 5px; }
.app.l4:has(.pg-match.on) .l-nav { }

/* real-device fixes */
.l-nav { position: fixed; left: 50%; transform: translateX(-50%); width: min(488px, calc(100% - 32px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
.l-nav a:active, .l-navme:active { transform: scale(.94); }
.l-ban, .l4 .l-ban, .l4 .l-ban.tall { height: calc(env(safe-area-inset-top, 0px) + 110px); }
.l-bact { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.m8hb { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); }
.m8hero { height: calc(env(safe-area-inset-top, 0px) + 220px); }
.pg.playing { animation: l7in .28s ease-out both; }
.pg.playing > * { animation: l7rise .42s cubic-bezier(.2, .8, .2, 1) both; }
.pg.playing > *:nth-child(2) { animation-delay: .04s; } .pg.playing > *:nth-child(3) { animation-delay: .08s; } .pg.playing > *:nth-child(4) { animation-delay: .12s; } .pg.playing > *:nth-child(5) { animation-delay: .16s; } .pg.playing > *:nth-child(6) { animation-delay: .2s; } .pg.playing > *:nth-child(7) { animation-delay: .24s; } .pg.playing > *:nth-child(n+8) { animation-delay: .28s; }
.pg.playing .l-bar i, .pg.playing .s7dbar i { transform-origin: left; animation: l7fill .8s .3s cubic-bezier(.2, .8, .2, 1) both; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; } .chip-row .chip { height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--lh); color: var(--lm); font-size: 12.5px; font-weight: 600; } .chip-row .chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.l-more { height: 40px; border-radius: 12px; border: 1px solid var(--lh); color: #d9dce3; font-weight: 600; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.em.etag { display: inline-grid; place-items: center; background: #15171d; border: 1px solid var(--lh); color: #fff; font-weight: 800; font-size: calc(var(--z) * .3); letter-spacing: -0.02em; }

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

.l-rmid b, .l-rmid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.l-rmid small .l-dot, .l-rmid small .rk { vertical-align: middle; } .l-rmid small .l-dot { margin: -2px 5px 0 0; }

/* no text highlighting or iOS callouts when holding anywhere (inputs still select) */
html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img, svg { -webkit-user-drag: none; }
/* hold and drag on charts */
.l-chart { touch-action: pan-y; cursor: crosshair; }
.l-chart.scrubbing .chart .endring, .l-chart.scrubbing .chart .end { opacity: .25; }
.xh line { stroke: rgba(255,255,255,.55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; }
.xh circle { fill: #fff; stroke: #000; stroke-width: 2; vector-effect: non-scaling-stroke; }
/* the share card pop-up */
body.noscroll { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); animation: shbg .2s ease-out both; }
.sheet-box { position: relative; width: min(380px, 100%); display: grid; gap: 14px; padding: 46px 14px 18px; border-radius: 26px; background: #0b0c0f; border: 1px solid var(--lh); animation: shin .32s cubic-bezier(.2, .9, .25, 1.1) both; }
.sheet-x { position: absolute; top: 10px; right: 10px; background: #1a1c22; }
.sheet-box::before { content: 'Your card'; position: absolute; top: 16px; left: 18px; font-weight: 600; font-size: 15px; }
.sheet.out .sheet-bg { animation: shbg .2s reverse both; } .sheet.out .sheet-box { animation: shout .2s ease-in both; }
@keyframes shbg { from { opacity: 0; } } @keyframes shin { from { opacity: 0; transform: translateY(24px) scale(.96); } } @keyframes shout { to { opacity: 0; transform: translateY(16px) scale(.97); } }

/* matches: the summary box at the top */
.m9sum { gap: 8px; padding: 14px 14px 0; overflow: hidden; }
.m9h { display: flex; justify-content: space-between; align-items: center; }
.m9lab { color: var(--lm); font-size: 12px; font-weight: 600; }
.m9rec { display: flex; gap: 4px; } .m9rec b { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.m9rec b.w { color: #12e37c; background: rgba(18, 227, 124, .14); } .m9rec b.l { color: #ff2d4f; background: rgba(255, 45, 79, .14); }
.m9big { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; } .m9big > b { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; } .m9big > span { font-size: 15px; font-weight: 600; color: #d9dce3; } .m9big small { margin-left: auto; color: var(--lm); font-size: 12px; }
.m9ch { width: calc(100% + 28px); margin: 2px -14px 0; height: 74px; display: block; overflow: visible; } .m9ch.is-up { color: #12e37c; } .m9ch.is-down { color: #ff2d4f; }
.m9ch .ln { fill: none; stroke: currentColor; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.m9d circle { stroke: #0b0c0f; stroke-width: 2; vector-effect: non-scaling-stroke; } .m9d circle.w { fill: #12e37c; } .m9d circle.l { fill: #ff2d4f; }
.m9st { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -14px; border-top: 1px solid var(--lh); }
.m9st div { padding: 10px 14px 12px; display: grid; gap: 2px; } .m9st div + div { border-left: 1px solid var(--lh); } .m9st small { color: var(--lm); font-size: 11px; } .m9st b { font-size: 16px; font-weight: 600; }

.l-swd { width: 100%; color: var(--lm); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* match page C2b: scores on the map art, team bar, side-by-side teams with tabs */
.mc-hero { position: relative; margin: 0 calc(-1 * var(--gut)); padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gut) 14px; background-size: cover; background-position: center; display: grid; gap: 12px; }
.mc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), #000 92%); }
.mc-hero > * { position: relative; }
.mc-hb { display: flex; justify-content: space-between; }
.mc-cs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 34px; }
.mc-ct { display: grid; justify-items: center; gap: 2px; } .mc-ct small { color: #c9ccd4; font-size: 11px; } .mc-ct b { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.mc-ct.w b { color: #12e37c; } .mc-ct.l b { color: #ff2d4f; }
.mc-mid { display: grid; justify-items: center; gap: 6px; } .mc-mid small { color: #c9ccd4; font-size: 11px; }
.mc-split { display: flex; gap: 3px; height: 6px; } .mc-split i { border-radius: 3px; } .mc-split i.w { background: #12e37c; } .mc-split i.l { background: #ff2d4f; } .mc-split i + i { flex: 1; }
.mc-when { color: var(--lm); font-size: 11px; text-align: center; }
.mc-vs { gap: 12px; }
.mc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: -14px -14px 0; border-bottom: 1px solid var(--lh); }
.mc-tabs button { height: 44px; font-size: 13px; font-weight: 600; color: var(--lm); } .mc-tabs button.on { color: #fff; box-shadow: inset 0 -2px 0 var(--acc); }
.mc-teams { display: flex; justify-content: space-between; font-size: 12px; padding: 0 2px; }
.mc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .mc-grid > div { display: grid; gap: 4px; align-content: start; }
.mc-vr { display: flex; gap: 6px; align-items: center; font-size: 12px; padding: 7px 6px; border-radius: 10px; background: #111216; min-width: 0; }
.mc-vr b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } .mc-vr.r b { text-align: right; }
.mc-vr span { color: #d9dce3; font-size: 11.5px; flex: none; } .mc-vr.me { background: color-mix(in srgb, var(--acc) 22%, #111216); }

/* loader (2026-11-19): an Elo line drawing itself in the accent colour, faint track behind, dot pops at the end */
.ldr { min-height: calc(100vh - 170px); min-height: calc(100dvh - 170px); display: grid; place-content: center; justify-items: center; gap: 18px; }
.ldr-slow { color: var(--lm); font-size: 12.5px; text-align: center; max-width: 240px; line-height: 1.45; animation: ldrIn .3s ease-out both; }
.ldr svg { width: 168px; height: 68px; overflow: visible; }
.ldr path { fill: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.ldr-tr { stroke: rgba(255, 255, 255, .1); }
.ldr-ln { stroke: var(--acc); stroke-dasharray: 1; stroke-dashoffset: 1; animation: ldrLn 1.4s cubic-bezier(.6, 0, .25, 1) infinite; }
.ldr-dot { fill: var(--acc); transform-box: fill-box; transform-origin: center; opacity: 0; animation: ldrDot 1.4s ease-out infinite; }
.ldr { animation: ldrIn .2s ease-out both; }
@keyframes ldrIn { from { opacity: 0; } }
@keyframes ldrLn { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; } 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ldrDot { 0%, 50% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.35); } 72% { transform: scale(1); } 82% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ldr-ln { animation: none; stroke-dashoffset: 0; } .ldr-dot { animation: none; opacity: 1; } }

/* back button over the banner on other players' pages (same spot as the search button, left side) */
.l-bback { position: absolute; left: 14px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 2; }

/* search pop-up (2026-11-19): frosted glass panel near the top (the keyboard covers the bottom on phones) */
.srch { position: fixed; inset: 0; z-index: 45; display: grid; align-items: start; justify-items: center; padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px 14px; }
.srch-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: shbg .2s ease-out both; }
.srch-box { position: relative; width: min(460px, 100%); display: grid; gap: 6px; padding: 8px; border-radius: 24px; background: rgba(28, 30, 38, .55); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08); animation: srin .26s cubic-bezier(.2, .9, .25, 1.05) both; max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 28px); overflow: hidden; }
.srch.out .srch-bg { animation: shbg .18s reverse both; } .srch.out .srch-box { animation: srout .18s ease-in both; }
@keyframes srin { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@keyframes srout { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.srch-bar { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 5px 0 14px; border-radius: 17px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.srch-ic { display: grid; color: rgba(255, 255, 255, .55); }
.srch-bar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.srch-bar input::placeholder { color: rgba(255, 255, 255, .4); }
.srch-bar input::-webkit-search-cancel-button { display: none; }
.srch-go { height: 40px; padding: 0 16px; border-radius: 13px; background: var(--acc); color: #fff; border: 0; font: inherit; font-size: 14px; font-weight: 600; flex: none; }
.srch-go:active { transform: scale(.96); } .srch-go:disabled { opacity: .7; }
.srch-list { display: grid; overflow-y: auto; max-height: min(60dvh, 440px); -webkit-overflow-scrolling: touch; }
.srch-list:empty { display: none; }
.srch-h { color: rgba(255, 255, 255, .45); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 8px 10px 4px; }
.srch-row { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 14px; background: none; border: 0; color: inherit; font: inherit; text-align: left; width: 100%; }
.srch-row:active { background: rgba(255, 255, 255, .08); }
@media (hover: hover) { .srch-row:hover { background: rgba(255, 255, 255, .06); } }
.srch-mid { flex: 1; min-width: 0; display: grid; gap: 1px; } .srch-mid b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .srch-mid small { color: rgba(255, 255, 255, .5); font-size: 11.5px; }
.srch-mid small:empty { display: none; }
.srch-elo { font-size: 13px; font-weight: 600; color: #e6e8ee; }
.srch-empty { padding: 14px 12px 12px; color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.45; } .srch-empty.err { color: #ff6b7d; }

/* account card at the bottom of your page (2026-11-29) */
.acct .acct-b{display:flex;gap:8px;flex-wrap:wrap}
.acct .acct-b .l-btn{flex:1 1 auto;justify-content:center;margin:0;height:38px}
.acct .acct-m{margin:10px 0 0;color:var(--lm);font-size:12.5px;line-height:1.45}
.vchk{vertical-align:-2px}

/* ---- 2026-11-29 owner round ---- */
/* no pinch / double-tap zoom (meta + JS cover iOS; this stops double-tap zoom everywhere) */
html, body { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, textarea { font-size: 16px; }            /* iOS zooms in on any field under 16px */
/* no scrollbar on the right while scrolling */
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* pages no longer slide in / cards no longer rise one by one when you switch tabs (owner: "the whole page readjusts") */
.pg.playing, .l4 .pg.playing, .pg.playing > *, .l4 .pg.playing > * { animation: none !important; }
/* default picture: one-colour fade + a drawn person, no letter */
.pf.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)) !important; font-size: 0; }
.pf.ph svg { position: absolute; left: 50%; bottom: -6%; width: 78%; height: 78%; transform: translateX(-50%); }
/* search pill */
.l-srch { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border-radius: 20px;
  color: #fff; font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap;
  background: linear-gradient(135deg, #4a6bff 0%, var(--acc) 45%, #1236d6 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .22); transition: transform .12s; }
.l-srch:active { transform: scale(.95); }
.l-srch svg { width: 18px; height: 18px; flex: none; animation: srchLook 4.2s ease-in-out infinite; transform-origin: 45% 45%; }
.l-srch::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent); transform: skewX(-20deg); animation: srchShine 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes srchShine { 0%, 62% { left: -60%; } 86%, 100% { left: 130%; } }
@keyframes srchLook { 0%, 8%, 100% { transform: none; } 2% { transform: translate(-2px, -1px) rotate(-12deg); } 4% { transform: translate(2px, 1px) rotate(10deg); } 6% { transform: translate(-1px, 0) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .l-srch svg, .l-srch::after { animation: none; } }
.l-bback .l-ib { width: 40px; height: 40px; border-radius: 20px; }   /* same height as the Search pill */

/* 2026-11-29: Search sits LEFT of Share card (owner), same height; new colour = silver (white fading to cool grey, dark text) */
.l-idb { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.l-idb .l-btn { height: 40px; border-radius: 20px; padding: 0 16px; margin: 0; font-size: 14.5px; }
.l-idb .l-srch { color: #0b0c10; background: linear-gradient(135deg, #ffffff 0%, #e4e7ee 50%, #b4bac8 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .9); }
.l-idb .l-srch::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95), transparent); }
@media (max-width: 359px) { .l-idb .l-btn span { display: none; } .l-idb .l-btn { padding: 0 12px; } .l-idb .l-srch { padding: 0 14px 0 12px; } }
/* 2026-11-29 owner: buttons too big + "lets do glass" -> back to the old 34px size, Search = frosted glass */
.l-idb { gap: 7px; }
.l-idb .l-btn, .l-idb .l-srch { height: 34px; border-radius: 17px; font-size: 13px; font-weight: 600; }
.l-idb .l-btn { padding: 0 14px; }
.l-idb .l-srch { gap: 6px; padding: 0 14px 0 11px; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px rgba(0, 0, 0, .35); }
.l-idb .l-srch svg { width: 16px; height: 16px; }
.l-idb .l-srch::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); }

/* 2026-11-29 owner pick: Search = A shine + B edge light + C typing (Kix / Bruce / Optimal) */
@property --sang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.l-idb .l-srch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--sang), transparent 0 70%, rgba(255, 255, 255, .95) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sEdge 4.2s linear infinite; }
@keyframes sEdge { to { --sang: 360deg; } }
.l-idb .l-srch { animation: sLift 4.2s ease-in-out infinite; }
@keyframes sLift { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-2px); } }
.l-idb .l-srch:active { animation: none; transform: scale(.95); }
.l-stx { display: inline-block; min-width: 50px; white-space: pre; }
.l-scar { display: none; width: 1.5px; height: 14px; margin-left: -5px; background: #fff; animation: sBlink 1s steps(1) infinite; }
.l-srch.typing .l-scar { display: inline-block; }
@keyframes sBlink { 50% { opacity: 0; } }
.l-srch svg { transition: transform .25s; }
.l-srch.typing svg { animation: none; transform: rotate(-14deg) translateX(-1px); }
@media (prefers-reduced-motion: reduce) { .l-idb .l-srch, .l-idb .l-srch::before { animation: none; } }
.l-srch.typing .l-stx { min-width: 0; }

/* ================= SOCIAL (2026-11-29) ================= */
.chl { padding-block: 4px; }
.chr { display: flex; align-items: center; gap: 8px; }
.chr + .chr { border-top: 1px solid var(--lh); }
.chr-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 0; color: #fff; text-decoration: none; }
.cht { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #3a63ff, #1230b8); }
.chm { flex: 1; min-width: 0; display: grid; gap: 2px; }
.chm b { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.chm small { color: var(--lm); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chr.new .chm small { color: #dfe3ec; }
.chw { display: grid; justify-items: end; gap: 6px; flex: none; }
.chw small { color: var(--lm); font-size: 12px; }
.chdot { width: 9px; height: 9px; border-radius: 5px; background: var(--acc); display: block; }
.chnote { color: var(--lm); font-size: 12.5px; line-height: 1.5; margin: 2px 4px 0; }

/* chat room: a fixed box sized to the visible area (keyboard-safe on iPhone) */
html.in-chat, html.in-chat body { overflow: hidden; overscroll-behavior: none; }
.sr { position: fixed; left: 0; right: 0; top: 0; height: 100%; display: flex; flex-direction: column; background: #000; z-index: 5; max-width: 560px; margin: 0 auto; }
.sr-top { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 14px 10px; border-bottom: 1px solid var(--lh); background: rgba(0, 0, 0, .9); }
.sr-tt { min-width: 0; display: grid; }
.sr-tt b { font-size: 16.5px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 6px; }
.sr-tt small { color: var(--lm); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-log { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.sr-more { align-self: center; margin: 4px 0 10px; height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--lh); background: #121318; color: #cfd3dd; font: inherit; font-size: 13px; }
.sr-empty { margin: auto; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--lm); padding: 30px 20px; }
.sr-empty svg { width: 34px; height: 34px; color: var(--acc); }
.sr-empty b { color: #fff; font-size: 17px; }
.sr-newp { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--barh, 70px) + 10px); height: 32px; padding: 0 14px; border-radius: 16px; border: 0; background: var(--acc); color: #fff; font: 600 13px inherit; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); z-index: 2; }
.sr-bar { flex: none; padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 8px); border-top: 1px solid var(--lh); background: rgba(8, 9, 12, .96); }
html.in-chat .sr-bar:focus-within { padding-bottom: 8px; }
.sr-ro { color: var(--lm); font-size: 13.5px; text-align: center; padding-top: 14px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
.sr-row { display: flex; align-items: flex-end; gap: 8px; }
.sr-row textarea { flex: 1; min-width: 0; resize: none; max-height: 120px; min-height: 40px; padding: 9px 14px; border-radius: 20px; border: 1px solid var(--lh); background: #121318; color: #fff; font: inherit; font-size: 16px; line-height: 1.35; outline: none; }
.sr-row textarea:focus { border-color: rgba(255, 255, 255, .22); }
.sr-plus, .sr-send { width: 40px; height: 40px; flex: none; border-radius: 20px; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; }
.sr-plus { background: #1a1c22; }
.sr-send { background: var(--acc); }
.sr-plus:active, .sr-send:active { transform: scale(.92); }
.srp { display: flex; align-items: center; gap: 8px; padding: 6px 6px 8px 4px; color: var(--lm); font-size: 13px; }
.srp span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srp b { color: #fff; }
.srp.img img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.srx { width: 26px; height: 26px; border-radius: 13px; border: 0; background: #1a1c22; color: #fff; display: grid; place-items: center; flex: none; }

/* messages */
.cday { text-align: center; margin: 14px 0 8px; } .cday span { font-size: 11.5px; color: var(--lm); background: #0f1014; border: 1px solid var(--lh); padding: 3px 10px; border-radius: 10px; }
.cm { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; -webkit-touch-callout: none; }
.cm.grp { margin-top: 2px; }
.cm.me { justify-content: flex-end; }
.cav { width: 34px; flex: none; text-decoration: none; }
.cbw { min-width: 0; max-width: min(78%, 420px); display: grid; gap: 3px; }
.cm.me .cbw { justify-items: end; }
.cn { display: flex; align-items: center; gap: 6px; padding-left: 2px; min-width: 0; }
.cn b { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn small { color: var(--lm); font-size: 11.5px; white-space: nowrap; }
.cb { background: #16171c; border-radius: 18px; padding: 8px 12px; font-size: 15px; line-height: 1.4; color: #fff; min-width: 0; overflow-wrap: anywhere; display: grid; gap: 6px; }
.cm.me .cb { background: var(--acc); }
.cm:not(.me).grp .cb { border-top-left-radius: 8px; }
.cm.me.grp .cb { border-top-right-radius: 8px; }
.cb.bare { background: none; padding: 0; }
.ct { white-space: pre-wrap; }
.cm.gone .cb { background: none; border: 1px dashed var(--lh); color: var(--lm); font-size: 13px; }
.cm.flash .cb { animation: cflash 1.2s ease-out; }
@keyframes cflash { 0%, 40% { box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); } 100% { box-shadow: none; } }
.cq { display: grid; gap: 1px; text-align: left; border: 0; border-left: 3px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: inherit; border-radius: 8px; padding: 5px 9px; font: inherit; font-size: 12.5px; max-width: 100%; }
.cq b { font-size: 12px; } .cq span { opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cimg { border: 0; padding: 0; background: #0f1014; border-radius: 14px; overflow: hidden; display: block; max-width: 100%; }
.cimg img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; min-width: 120px; min-height: 80px; object-fit: cover; }
.crx { display: flex; flex-wrap: wrap; gap: 4px; }
.crc { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px 0 6px; border-radius: 13px; border: 1px solid var(--lh); background: #121318; color: #dfe3ec; font: inherit; font-size: 12.5px; }
.crc svg { width: 16px; height: 16px; }
.crc.on { border-color: var(--acc); background: rgba(35, 80, 255, .18); color: #fff; }
.ccard { display: grid; gap: 2px; width: 230px; max-width: 100%; padding: 12px; border-radius: 16px; background: #0b0c0f; border: 2px solid var(--acc); color: #fff; text-decoration: none; position: relative; }
.ccard-t { display: flex; align-items: center; gap: 6px; font-size: 13px; } .ccard-t b { font-weight: 650; } .ccard-t span { margin-left: auto; color: var(--lm); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.ccard-big { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; } .ccard-big.up { color: #22d37a; } .ccard-big.down { color: #ff4d5e; }
.ccard small { color: var(--lm); font-size: 12px; }
.ccard svg { width: 100%; height: 54px; margin-top: 6px; } .ccard svg.is-up { color: #22d37a; } .ccard svg.is-down { color: #ff4d5e; }
.ccard .wordmark { font-size: 12px; opacity: .55; margin-top: 4px; }
.cview { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .94); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px)); }
.cview img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.cview-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }

/* bottom sheets (message actions, new chat, report, send card) */
.csheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.cs-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); animation: shbg .18s ease-out both; }
.cs-box { position: relative; width: min(520px, 100%); max-height: 86%; overflow-y: auto; display: grid; gap: 6px; padding: 16px 14px calc(env(safe-area-inset-bottom, 0px) + 16px); background: #0f1014; border: 1px solid var(--lh); border-bottom: 0; border-radius: 22px 22px 0 0; animation: csUp .22s cubic-bezier(.2, .8, .2, 1) both; }
.csheet.out .cs-box { animation: csDown .18s ease-in both; } .csheet.out .cs-bg { opacity: 0; transition: opacity .18s; }
@keyframes csUp { from { transform: translateY(100%); } } @keyframes csDown { to { transform: translateY(100%); } }
.cs-h { display: grid; gap: 2px; padding: 0 4px 6px; } .cs-h b { font-size: 17px; } .cs-h small { color: var(--lm); }
.cs-l { font-size: 12px; color: var(--lm); padding: 4px 4px 0; }
.cs-it { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 12px; border: 0; border-radius: 14px; background: #16171c; color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cs-it span { display: grid; gap: 1px; } .cs-it small { color: var(--lm); font-size: 12px; }
.cs-it.red { color: #ff5a68; }
.cs-it:active { background: #1d1f26; }
.cs-rx { display: flex; justify-content: space-between; gap: 6px; padding: 2px 2px 8px; }
.cs-r { flex: 1; height: 50px; border-radius: 14px; border: 1px solid transparent; background: #16171c; display: grid; place-items: center; cursor: pointer; }
.cs-r svg { width: 28px; height: 28px; }
.cs-r.on { border-color: var(--acc); background: rgba(35, 80, 255, .18); }
.cs-r:active { transform: scale(.9); }
.cs-row { display: flex; gap: 8px; } .cs-row .l-btn { flex: 1; justify-content: center; margin: 0; height: 40px; border-radius: 20px; }
.cs-err { color: #ff5a68; font-size: 13px; min-height: 0; margin: 0 4px; }
.cs-err:empty { display: none; }
.cs-del { border: 0; background: none; color: #ff5a68; font: inherit; font-size: 14px; padding: 10px; }
.csheet .l-in { width: 100%; }
.csheet .a7tg { padding: 8px 4px; }
.l-in { font-size: 16px; }   /* iOS zooms into fields under 16px */

/* ===== Social round 2 (2026-11-29): Chat opens first, switcher at the top, lots of motion ===== */
.sr-top { padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 8px; gap: 8px; border-bottom: 0; }
.sr-tabs { position: relative; flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 22px; background: #0f1014; border: 1px solid var(--lh); }
.sr-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 18px; background: linear-gradient(180deg, #3a63ff, var(--acc));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 14px rgba(0, 0, 0, .45); transition: transform .42s cubic-bezier(.3, 1.35, .5, 1), width .42s cubic-bezier(.3, 1.35, .5, 1); z-index: 0; }
.sr-chip { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px; border: 0; border-radius: 18px; background: none; color: #9ba1ae; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: color .25s; overflow: hidden; }
.sr-chip.on { color: #fff; }
.sr-chip:active { transform: scale(.94); }
.sr-ci { display: grid; place-items: center; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.sr-chip.on .sr-ci { transform: scale(1.12) rotate(-6deg); animation: ciPop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ciPop { 0% { transform: scale(.6) rotate(-30deg); } 100% { transform: scale(1.12) rotate(-6deg); } }
/* Chat chip: the three dots type */
.sr-chip.tk .td { animation: tdot 1.4s ease-in-out infinite; } .sr-chip.tk .td:nth-of-type(2) { animation-delay: .15s; } .sr-chip.tk .td:nth-of-type(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-1.2px); } }
/* Market chip: the tag swings and a light passes over it */
.sr-chip.mk .sr-ci { animation: tagSwing 4.5s ease-in-out infinite; transform-origin: 80% 20%; }
.sr-chip.mk.on .sr-ci { animation: ciPop .5s cubic-bezier(.3, 1.6, .5, 1), tagSwing 4.5s 1s ease-in-out infinite; }
@keyframes tagSwing { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-16deg); } 84% { transform: rotate(10deg); } 92% { transform: rotate(-4deg); } }
.sr-chip.mk::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); animation: aShine2 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes aShine2 { 0%, 64% { left: -70%; } 88%, 100% { left: 140%; } }
.sr-dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 4px; background: #ff3d5a; box-shadow: 0 0 0 2px #0f1014; animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.sr-tool { flex: none; background: #0f1014; }
.sr-about { flex: none; color: var(--lm); font-size: 12px; padding: 0 18px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--lh); }
.sr-about:empty { padding-bottom: 0; }
.sr-load { margin: auto; }
.sr-barbox { flex: none; }
/* the bottom app bar stays on Social; the message box sits above it, and when typing on a phone the bar hides */
html.in-chat .sr-bar { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
html.in-chat.kb .sr-bar { padding-bottom: 8px; }
html.in-chat.kb .l-nav { display: none; }
html.in-chat .sr { z-index: 5; }
/* switching chats: messages slide in from that side */
.sr-log.sl-r > * { animation: slR .32s cubic-bezier(.2, .8, .2, 1) both; }
.sr-log.sl-l > * { animation: slL .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes slR { from { opacity: 0; transform: translateX(34px); } }
@keyframes slL { from { opacity: 0; transform: translateX(-34px); } }
/* a new message pops up */
.cm.pop { animation: cmPop .42s cubic-bezier(.25, 1.35, .5, 1) both; transform-origin: left bottom; }
.cm.me.pop { transform-origin: right bottom; }
@keyframes cmPop { from { opacity: 0; transform: translateY(14px) scale(.92); } }
/* reactions */
.crc.bump { animation: rxBump .5s cubic-bezier(.3, 1.8, .5, 1); }
.crc.bump svg { animation: rxSpin .5s ease-out; }
@keyframes rxBump { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: none; } }
@keyframes rxSpin { 0% { transform: rotate(-25deg) scale(1.4); } 100% { transform: none; } }
.cs-rx .cs-r { animation: rxIn .38s cubic-bezier(.3, 1.6, .5, 1) both; }
.cs-rx .cs-r:nth-child(2) { animation-delay: .03s; } .cs-rx .cs-r:nth-child(3) { animation-delay: .06s; } .cs-rx .cs-r:nth-child(4) { animation-delay: .09s; } .cs-rx .cs-r:nth-child(5) { animation-delay: .12s; } .cs-rx .cs-r:nth-child(6) { animation-delay: .15s; }
@keyframes rxIn { from { opacity: 0; transform: translateY(12px) scale(.6); } }
.cs-r:hover svg { transform: scale(1.15); transition: transform .15s; }
/* send: the plane flies off and comes back */
.sr-send.fly svg { animation: plane .55s cubic-bezier(.5, 0, .3, 1); }
@keyframes plane { 0% { transform: none; } 45% { transform: translate(18px, -14px) rotate(-20deg); opacity: 0; } 46% { transform: translate(-16px, 12px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.sr-send { transition: transform .12s; overflow: hidden; }
/* empty chat: the bubble floats */
.sr-empty svg { animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sr-newp:not([hidden]) { animation: cmPop .35s cubic-bezier(.25, 1.35, .5, 1); }
@media (prefers-reduced-motion: reduce) { .sr-ind { transition: none; } .sr-chip *, .sr-chip::after, .sr-dot, .sr-empty svg { animation: none !important; } }
.sr-log > :first-child { margin-top: auto; }   /* few messages sit at the bottom, like any chat app */

/* 2026-11-29: switcher sits a bit lower (owner: "scoot them down a bit") */
.sr-top { padding-top: calc(env(safe-area-inset-top, 0px) + 24px); padding-bottom: 10px; }
.cm.me .cn { flex-direction: row-reverse; padding: 0 2px 0 0; }   /* your name on the right, above your bubble */
/* 2026-11-29: big name = in-game name + clan tag chip (Discord name only in the pill under it) */
.l-ctag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 7px; background: #16171c; border: 1px solid var(--lh); color: #cfd3dd; font-size: 13px; font-weight: 700; letter-spacing: 0; vertical-align: 4px; }

/* ===== "Sell something" listing (2026-11-29) ===== */
.lf .cs-box { gap: 8px; }
.lf-ban { height: 96px; border-radius: 16px; border: 1.5px dashed rgba(255, 255, 255, .18); background: #121318 center / cover no-repeat; color: var(--lm); display: grid; place-items: center; font: inherit; cursor: pointer; position: relative; overflow: hidden; }
.lf-ban span { display: grid; justify-items: center; gap: 2px; } .lf-ban b { color: #fff; font-size: 14px; } .lf-ban small { font-size: 11.5px; }
.lf-ban.on { border-style: solid; border-color: transparent; } .lf-ban.on span { opacity: 0; }
.lf-ban.busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18), transparent 70%); animation: lfShim 1s linear infinite; }
@keyframes lfShim { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lf-items { display: grid; gap: 8px; }
.lf-it { display: flex; gap: 8px; align-items: center; animation: rxIn .3s cubic-bezier(.3, 1.4, .5, 1) both; }
.lf-it .l-in { flex: 1; min-width: 0; }
.lf-it .lf-pr { flex: 0 0 92px; }
.lf-ph { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, .18); background: #121318; color: var(--lm); display: grid; place-items: center; padding: 0; overflow: hidden; position: relative; cursor: pointer; }
.lf-ph.on { border-style: solid; border-color: transparent; } .lf-ph img { width: 100%; height: 100%; object-fit: cover; }
.lf-spin { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); } .lf-spin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lf-add { justify-self: start; margin: 0; height: 36px; border-radius: 18px; }
.lf-note { height: auto; min-height: 64px; padding: 10px 12px; resize: none; line-height: 1.4; }
.lf .l-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
/* the card in chat */
.clist { width: 270px; max-width: 100%; border-radius: 18px; overflow: hidden; background: #0b0c0f; border: 1px solid rgba(255, 255, 255, .12); text-align: left; animation: clIn .5s cubic-bezier(.25, 1.3, .5, 1) both; }
@keyframes clIn { from { transform: rotateX(18deg) translateY(10px); opacity: .4; } }
.cl-ban { display: block; width: 100%; height: 112px; border: 0; padding: 0; background: #16171c center / cover no-repeat; cursor: zoom-in; position: relative; }
.cl-ban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #0b0c0f); pointer-events: none; }
.cl-ban.none { height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: default; color: #fff; font-weight: 700; letter-spacing: .02em; background: linear-gradient(135deg, #3a63ff, #1230b8); }
.cl-ban.none svg { animation: tagSwing 4.5s ease-in-out infinite; transform-origin: 80% 20%; }
.cl-ban.none::after { display: none; }
.cl-body { display: grid; gap: 8px; padding: 10px 12px 12px; }
.cl-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7f9bff; }
.cl-tag svg { width: 13px; height: 13px; }
.cl-t { font-size: 16px; letter-spacing: -.01em; line-height: 1.25; }
.cl-items { display: grid; gap: 6px; }
.cl-it { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: #121318; }
.cl-it b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-th { width: 40px; height: 40px; flex: none; border-radius: 9px; overflow: hidden; border: 0; padding: 0; background: #1a1c22; display: grid; place-items: center; color: var(--lm); cursor: zoom-in; }
.cl-th.none { cursor: default; } .cl-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-pr { flex: none; font-weight: 750; font-size: 13.5px; color: #22d37a; padding: 3px 8px; border-radius: 8px; background: rgba(34, 211, 122, .12); }
.cl-note { margin: 0; color: #c9cdd6; font-size: 13px; line-height: 1.45; white-space: pre-wrap; }
.cl-dc { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--lh); }
.cl-dc .dname { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-copy { height: 30px; padding: 0 12px; border-radius: 15px; border: 0; background: #5865f2; color: #fff; font: 600 12.5px inherit; cursor: pointer; }
.cl-copy:active { transform: scale(.93); }
@media (prefers-reduced-motion: reduce) { .clist, .lf-it, .cl-ban.none svg { animation: none; } }
.lf-it .l-in { width: auto; }

/* saved listings (2026-11-29) */
.lf-saved { display: grid; gap: 6px; }
.lf-sv { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: #16171c; animation: rxIn .3s cubic-bezier(.3, 1.4, .5, 1) both; }
.lf-svt { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #1a1c22 center / cover no-repeat; display: grid; place-items: center; color: #fff; }
.lf-svt.none { background: linear-gradient(135deg, #3a63ff, #1230b8); }
.lf-svm { flex: 1; min-width: 0; display: grid; gap: 1px; } .lf-svm b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lf-svm small { color: var(--lm); font-size: 11.5px; }
.lf-again { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: var(--acc); color: #fff; font: 600 12.5px inherit; cursor: pointer; white-space: nowrap; }
.lf-again.wait { background: #22242b; color: var(--lm); cursor: default; }
.lf-again:not(.wait):active { transform: scale(.93); }
.srx.armed { background: #ff3d5a; }
.lf-cool { display: flex; align-items: center; gap: 6px; margin: 2px 4px 4px; color: var(--lm); font-size: 12px; } .lf-cool svg { width: 14px; height: 14px; flex: none; }
.cs-box { grid-template-columns: minmax(0, 1fr); }   /* long rows can't push the sheet wider than the phone */
.lf-it .l-in { width: 0; }

/* ===== Content (2026-11-29): video cards, same family as the For sale card ===== */
.ct-creators { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.ct-cr { flex: none; width: 64px; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: #cfd3dd; }
.ct-cr .pf { box-shadow: 0 0 0 2px #000, 0 0 0 4px #ff0033; }
.ct-cr small { font-size: 11px; max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-feed { display: grid; gap: 14px; }
.ct-empty { padding: 40px 20px; } .ct-empty svg { color: #ff0033; }
.cvid { border-radius: 20px; overflow: hidden; background: #0b0c0f; border: 1px solid rgba(255, 255, 255, .1); animation: clIn .5s cubic-bezier(.25, 1.3, .5, 1) both; }
.cvid.pop { animation: cmPop .5s cubic-bezier(.25, 1.35, .5, 1) both; }
.cv-th { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border: 0; padding: 0; background: #16171c; overflow: hidden; cursor: pointer; }
.cv-th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cv-th:active img, .cv-th.tap img { transform: scale(1.04); }
.cv-th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 12, 15, .9)); pointer-events: none; }
.cvid.short .cv-th { aspect-ratio: 4 / 3; }
.cv-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; color: #fff; z-index: 1;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: cvPulse 2.6s ease-in-out infinite; }
.cv-play svg { width: 26px; height: 26px; margin-left: 3px; }
@keyframes cvPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.cv-new, .cv-kind { position: absolute; top: 10px; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 8px; color: #fff; }
.cv-new { left: 10px; background: #ff0033; overflow: hidden; }
.cv-new::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: aShine2 3s ease-in-out infinite; }
.cv-kind { right: 10px; background: rgba(0, 0, 0, .6); }
.cv-body { display: grid; gap: 10px; padding: 12px 14px 14px; }
.cv-ch { display: flex; align-items: center; gap: 10px; } .cv-ch > span { flex: 1; min-width: 0; display: grid; } .cv-ch b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cv-ch small { color: var(--lm); font-size: 12px; }
.cv-t { font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cv-watch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 23px; border: 0; cursor: pointer; color: #fff; font: 700 15px inherit; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ff2d55, #e0002a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .4); transition: transform .12s; }
.cv-watch svg { width: 18px; height: 18px; }
.cv-watch::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-20deg); animation: aShine2 4s ease-in-out infinite; }
.cv-watch:active, .cv-watch.tap { transform: scale(.95); }
.cv-rxs { display: flex; gap: 6px; flex-wrap: wrap; }
.cv-rx { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 9px; border-radius: 16px; border: 1px solid var(--lh); background: #121318; color: #dfe3ec; font: inherit; font-size: 12.5px; cursor: pointer; }
.cv-rx svg { width: 17px; height: 17px; } .cv-rx.on { border-color: var(--acc); background: rgba(35, 80, 255, .18); }
.cv-rx:active { transform: scale(.9); } .cv-rx.bump { animation: rxBump .5s cubic-bezier(.3, 1.8, .5, 1); }
.yt-add { display: flex; gap: 8px; } .yt-add .l-in { flex: 1; width: 0; } .yt-add .l-btn { margin: 0; height: 44px; border-radius: 22px; padding: 0 16px; }
@media (prefers-reduced-motion: reduce) { .cvid, .cv-play, .cv-new::after, .cv-watch::after { animation: none !important; } }
.ct-creators { padding: 6px 6px 4px; margin: 0 -6px; }   /* the 4px red ring was clipped by the scrolling row (owner screenshot 2026-11-29) */
.cvid.short .cv-th img { object-position: center 30%; }   /* Shorts use YouTube's tall cover; keep faces in frame */
.cbw { justify-items: start; }   /* bubbles fit their text, not the wider name row above (owner 2026-11-29) */
.cm.me .cbw { justify-items: end; }

/* @mentions (2026-11-29) */
.sr-at { display: grid; gap: 2px; padding: 4px; margin-bottom: 8px; border-radius: 16px; background: #121318; border: 1px solid var(--lh); max-height: 260px; overflow-y: auto; }
.sr-at.in { animation: rxIn .25s cubic-bezier(.3, 1.4, .5, 1) both; }
.sr-atr { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: #fff; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.sr-atr b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sr-atr small { color: var(--lm); font-size: 12px; margin-left: auto; white-space: nowrap; }
.sr-atr.on, .sr-atr:active { background: #1d1f26; }
.ment { font-weight: 700; color: #9fb4ff; background: rgba(35, 80, 255, .18); padding: 0 4px; border-radius: 6px; }
.cm.me .ment { color: #fff; background: rgba(255, 255, 255, .2); }
.ment.me { color: #ffd166; background: rgba(255, 209, 102, .16); }
.cm.ment-me .cb { box-shadow: inset 3px 0 0 #ffd166; background: #1f1d16; }

/* phone alerts (2026-11-29) */
.sr-bell.on { color: #fff; background: var(--acc); border-color: transparent; }
.sr-bell:not(.on) svg { animation: bellWig 5s ease-in-out infinite; transform-origin: 50% 15%; }
@keyframes bellWig { 0%, 86%, 100% { transform: none; } 89% { transform: rotate(16deg); } 92% { transform: rotate(-14deg); } 95% { transform: rotate(8deg); } }
.sr-alert { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 10px 10px 10px 12px; border-radius: 14px; background: #121733; border: 1px solid rgba(80, 120, 255, .35); animation: rxIn .35s cubic-bezier(.3, 1.4, .5, 1) both; }
.sr-alert > span { color: #9fb4ff; display: grid; } .sr-alert p { flex: 1; margin: 0; font-size: 12.5px; color: #dfe3ec; line-height: 1.35; }
.sr-al-on { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: var(--acc); color: #fff; font: 600 12.5px inherit; cursor: pointer; }
.al-steps { display: grid; gap: 8px; } .al-steps p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #16171c; font-size: 14px; }
.al-steps b { width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: var(--acc); font-size: 12px; flex: none; }
.lf .l-cta, #alGo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .sr-bell svg { animation: none !important; } }
#srAlert { flex: none; }
[hidden] { display: none !important; }   /* the empty @ suggestion box showed as a bar above the message box (owner screenshot 2026-11-29): display rules beat the hidden attribute */

/* 2026-11-29 owner: "make sure things are centered": picture frame = exactly the picture (inline-block added a text gap
   under it, so the rank badge hung low), badge tucked on the bottom-right edge, default person centered */
.pav { display: inline-grid; line-height: 0; vertical-align: middle; }
.pav > .pf { display: block; }
.pbadge { right: -5%; bottom: -5%; line-height: 0; }
.pbadge .rk { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.pf.ph svg { left: 50%; top: 50%; bottom: auto; width: 62%; height: 62%; transform: translate(-50%, -50%); }

/* ===== sign-in "Get the app" + Home Screen walkthrough (2026-11-29) ===== */
.si-get { display: grid; justify-items: center; gap: 10px; margin-top: 26px; }
.si-get small { color: var(--lm); font-size: 12.5px; }
.si-btns { display: flex; gap: 10px; }
.si-os { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); color: #fff; font: 600 14.5px inherit; cursor: pointer; }
.si-os:active { transform: scale(.95); }
.gd .cs-box { gap: 12px; }
.gd-now { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.gd-wrap { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.gd-phone { position: relative; width: 150px; height: 300px; border-radius: 28px; padding: 7px; background: #1c1e25; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.gd-screen { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; font-size: 9px; color: #fff; }
.gd-screen.in > * { animation: gdIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gdIn { from { opacity: 0; transform: translateY(10px); } }
.gd-page { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; }
.gd-page.dim { opacity: .35; }
.gd-wm { font-weight: 800; font-size: 20px; letter-spacing: -.05em; }
.gd-btn { background: var(--acc); border-radius: 10px; padding: 4px 8px; font-size: 8px; font-weight: 700; }
.gd-sbar { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; justify-content: space-around; align-items: center; background: rgba(40, 42, 50, .96); color: #4d8dff; }
.gd-sbar i, .gd-cbar i { display: grid; place-items: center; font-style: normal; } .gd-sbar svg { width: 13px; height: 13px; }
.gd-cbar { position: absolute; left: 0; right: 0; top: 0; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 6px 0 8px; background: #202124; color: #e8eaed; }
.gd-cbar span { flex: 1; min-width: 0; height: 18px; border-radius: 9px; background: #303134; font-size: 7.5px; display: flex; align-items: center; padding: 0 7px; white-space: nowrap; overflow: hidden; }
.gd-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 6px 10px; display: grid; gap: 4px; background: #1d1e23; border-radius: 14px 14px 0 0; animation: gdUp .45s cubic-bezier(.2, .8, .2, 1) both !important; }
@keyframes gdUp { from { transform: translateY(100%); } }
.gd-menu { position: absolute; right: 4px; top: 26px; width: 104px; padding: 4px; display: grid; gap: 2px; background: #2b2c30; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .6); transform-origin: top right; animation: gdPop .35s cubic-bezier(.3, 1.4, .5, 1) both !important; }
@keyframes gdPop { from { transform: scale(.6); opacity: 0; } }
.gd-row { padding: 6px 7px; border-radius: 7px; background: #26272d; display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; }
.gd-menu .gd-row { background: none; }
.gd-plus { width: 12px; height: 12px; border: 1.2px solid #fff; border-radius: 3px; display: grid; place-items: center; font-size: 9px; line-height: 1; }
.gd-t { box-shadow: 0 0 0 2px #ffd166; border-radius: 7px; animation: gdGlow 1.2s ease-in-out infinite; }
@keyframes gdGlow { 50% { box-shadow: 0 0 0 4px rgba(255, 209, 102, .35); } }
.gd-blue { color: #4d8dff; font-weight: 700; padding: 2px 4px; }
.gd-add { position: absolute; inset: 0; background: #1c1c1f; }
.gd-ah { display: flex; justify-content: space-between; align-items: center; padding: 10px 7px 8px; font-size: 8px; color: #4d8dff; } .gd-ah b { color: #fff; font-size: 8.5px; }
.gd-ab { display: flex; align-items: center; gap: 8px; margin: 6px 8px; padding: 8px; border-radius: 10px; background: #2a2a2e; } .gd-ab img { width: 34px; height: 34px; border-radius: 8px; } .gd-ab div { display: grid; } .gd-ab small { color: #9aa0ad; font-size: 7px; }
.gd-dlg { position: absolute; left: 8px; right: 8px; top: 34%; padding: 10px; border-radius: 14px; background: #2b2c30; display: grid; gap: 4px; animation: gdPop .35s cubic-bezier(.3, 1.4, .5, 1) both !important; } .gd-dlg .gd-ab { margin: 4px 0; background: none; padding: 0; }
.gd-dbtn { display: flex; justify-content: flex-end; gap: 12px; font-size: 8.5px; color: #8ab4f8; }
.gd-home { position: absolute; inset: 0; padding: 26px 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; align-content: start; background: linear-gradient(180deg, #27324a, #0d1220); }
.gd-home i { aspect-ratio: 1; border-radius: 7px; background: rgba(255, 255, 255, .16); }
.gd-app { display: grid; justify-items: center; gap: 2px; border-radius: 8px; } .gd-app img { width: 100%; border-radius: 7px; animation: gdPop .5s .2s cubic-bezier(.3, 1.6, .5, 1) both; } .gd-app small { font-size: 6px; }
.gd-finger { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); pointer-events: none; opacity: 0; z-index: 3; }
.gd-phone .gd-finger { left: 50%; top: 50%; }
.gd-finger.tap { animation: gdTap 3s ease-in-out both; }
@keyframes gdTap { 0% { opacity: 0; transform: translate(30px, 40px) scale(1); } 25% { opacity: 1; transform: none; } 38% { transform: scale(.7); } 46% { transform: none; box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 85% { opacity: 1; } 100% { opacity: 0; } }
.gd-cap { display: grid; gap: 6px; min-width: 0; }
.gd-num { font-size: 11.5px; color: var(--lm); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.gd-cap p { margin: 0; font-size: 16px; line-height: 1.35; }
.gd-dots { display: flex; gap: 6px; margin-top: 4px; } .gd-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #2a2c33; cursor: pointer; transition: width .3s; } .gd-dots button.on { width: 22px; background: var(--acc); }
.gd-note { margin: 0; color: var(--lm); font-size: 12.5px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: #121318; } .gd-note b { color: #fff; }
.get-app { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; margin: 4px 0 2px; } .get-app img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.get-app > div { flex: 1; min-width: 0; display: grid; } .get-app b { font-size: 14px; } .get-app small { color: var(--lm); font-size: 12px; }
@media (max-width: 360px) { .gd-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; } .gd-dots { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .gd-screen.in > *, .gd-t, .gd-finger.tap { animation: none !important; } }
.gd-ah { padding: 10px 5px 8px; gap: 4px; font-size: 7px; } .gd-ah b { font-size: 7.5px; white-space: nowrap; } .gd-ah span { white-space: nowrap; }

/* install-only screen for phones outside the Home Screen app (2026-11-29) */
.gate { min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 12px; padding: max(28px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) max(28px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); text-align: center; }
.gate h1 { margin: 6px 0 0; font-size: 24px; letter-spacing: -.02em; }
.gate > p { margin: 0; max-width: 340px; color: var(--lm); font-size: 14.5px; line-height: 1.45; }
.gate-os { display: flex; gap: 6px; padding: 4px; border-radius: 22px; background: #0f1014; border: 1px solid var(--lh); margin-top: 6px; }
.gate-os button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 19px; border: 0; background: none; color: #9ba1ae; font: 600 14px inherit; cursor: pointer; transition: background .25s, color .25s; }
.gate-os button.on { background: var(--acc); color: #fff; }
.gate-g { width: min(400px, 100%); display: grid; gap: 12px; text-align: left; margin-top: 6px; padding: 16px; border-radius: 22px; background: #0b0c0f; border: 1px solid var(--lh); }

/* ===== Optimal Pro (2026-11-29) ===== */
.prob { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 6px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .05em; color: #2a1c00; background: linear-gradient(160deg, #ffe08a, #c7922b); vertical-align: 2px; line-height: 1.3; position: relative; overflow: hidden; }
.prob::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: aShine2 3.4s ease-in-out infinite; }
.prob.big { font-size: 13px; padding: 5px 10px; border-radius: 9px; gap: 5px; margin: 0; }
.prob.big svg { width: 15px; height: 15px; }
/* animated gold ring around a Pro member's picture */
@property --gr { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pring { position: relative; display: inline-grid; line-height: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from var(--gr), #fff2c4, #e0a93b, #8a5a10, #e0a93b, #fff2c4); animation: gring 3s linear infinite; }
.pring > .pf { display: block; box-shadow: 0 0 0 2px #000 !important; }
.pring.big { padding: 3px; }
@keyframes gring { to { --gr: 360deg; } }
.l-navme.pro { box-shadow: 0 0 0 2px #e0a93b; }
.l-navme.pro.on { box-shadow: 0 0 0 2px #ffe08a; }
.pro-offer { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 18px 0 6px; }
.pro-offer h1 { margin: 4px 0 0; font-size: 30px; letter-spacing: -.03em; }
.pro-price { display: flex; align-items: baseline; gap: 6px; } .pro-price b { font-size: 46px; letter-spacing: -.04em; } .pro-price span { color: var(--lm); }
.pro-offer p { margin: 0; color: var(--lm); font-size: 13.5px; max-width: 320px; }
.pro-perks { display: grid; gap: 4px; }
.pp { display: flex; align-items: center; gap: 12px; padding: 8px 2px; animation: rxIn .4s cubic-bezier(.3, 1.4, .5, 1) both; }
.pp b { display: block; font-size: 14.5px; } .pp small { color: var(--lm); font-size: 12.5px; }
.pro-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #ffd166; background: rgba(255, 209, 102, .12); }
.pro-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 26px; border: 0; cursor: pointer; text-decoration: none; color: #2a1c00; font: 800 16px inherit; background: linear-gradient(180deg, #ffe08a, #e0a93b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 20px rgba(0, 0, 0, .45); position: relative; overflow: hidden; }
.pro-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: aShine2 3.6s ease-in-out infinite; }
.pro-cta:active { transform: scale(.97); }
.pro-fine { margin: 0; text-align: center; color: var(--lm); font-size: 12.5px; }
.pro-hero { display: flex; align-items: center; gap: 14px; } .pro-hero > div { flex: 1; display: grid; } .pro-hero b { font-size: 18px; } .pro-hero small { color: var(--lm); }
.pro-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; } .pro-link > div { flex: 1; display: grid; } .pro-link small { color: var(--lm); }
.pill-live { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #22d37a; background: rgba(34, 211, 122, .14); padding: 4px 9px; border-radius: 8px; }
/* pay sheet */
.pay-way { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #16171c; border: 1px solid var(--lh); cursor: pointer; }
.pay-way:active { transform: scale(.98); } .pay-way b { display: block; font-size: 15px; } .pay-way small { color: var(--lm); font-size: 12.5px; }
.pay-way .pro-ic { background: #0b0c10; }
.pay-help { border-radius: 14px; background: #121318; padding: 10px 12px; font-size: 13.5px; color: #cfd3dd; }
.pay-help summary { cursor: pointer; font-weight: 700; color: #fff; } .pay-help ol { margin: 8px 0 2px; padding-left: 20px; display: grid; gap: 6px; line-height: 1.4; }
.pay-qr { position: relative; width: 168px; height: 168px; margin: 4px auto 0; border-radius: 14px; overflow: hidden; background: #fff; }
.pay-qr svg { width: 100%; height: 100%; display: block; }
.pay-scan { position: absolute; left: 8px; right: 8px; height: 3px; top: 8px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: payscan 2s ease-in-out infinite alternate; }
@keyframes payscan { to { top: calc(100% - 11px); } }
.pay-qr-h { text-align: center; color: var(--lm); font-size: 11.5px; }
.pay-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #121318; font-size: 13px; } .pay-row span { color: var(--lm); } .pay-row b { margin-left: auto; font-family: ui-monospace, Menlo, monospace; }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 8px; color: #9fb4ff; font-size: 13px; padding: 4px 0; }
.spinr { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(159, 180, 255, .25); border-top-color: #9fb4ff; animation: spin .8s linear infinite; }
.paid-m { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 16px 0 6px; overflow: hidden; }
.paid-m h3 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.02em; } .paid-m p { margin: 0; color: var(--lm); }
.paid-m .pro-cta { margin-top: 10px; }
.coin { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #ffe9a3, #d99a2b); color: #3a2600; font: 900 44px inherit; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18), 0 10px 30px rgba(0, 0, 0, .5); animation: coin 1s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes coin { 0% { transform: translateY(-180px) rotateY(0) scale(.6); } 60% { transform: translateY(0) rotateY(540deg) scale(1.1); } 100% { transform: rotateY(720deg) scale(1); } }
.conf { position: absolute; inset: 0; pointer-events: none; } .conf i { position: absolute; top: -10px; width: 7px; height: 11px; border-radius: 2px; animation: conf 1.8s ease-in forwards; }
@keyframes conf { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(720deg); } }
.stt { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 7px; margin-right: 6px; }
.stt.paid { background: rgba(34, 211, 122, .15); color: #22d37a; } .stt.due { background: rgba(255, 209, 102, .15); color: #ffd166; } .stt.expired { background: rgba(255, 77, 94, .15); color: #ff6b78; }
/* sniper radar */
.sc { position: relative; height: 170px; border-radius: 18px; overflow: hidden; background: #04060c; border: 1px solid rgba(80, 120, 255, .25); }
.sc-lb { position: absolute; left: 12px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #cdd7ff; padding: 3px 8px; border-radius: 7px; background: rgba(4, 6, 12, .75); }
.sc-dot { width: 7px; height: 7px; border-radius: 4px; background: #22d37a; animation: scp 1.2s ease-in-out infinite; } @keyframes scp { 50% { opacity: .3; transform: scale(.7); } }
.rad { width: 100%; height: 100%; display: block; }
/* hold menu (A Arc fan) */
.l-navme { touch-action: none; -webkit-user-select: none; user-select: none; }
.l-navme.holding { transform: scale(.9); transition: transform .45s; }
.l-navme.open { transform: scale(1.06); }
.hold { position: fixed; inset: 0; z-index: 30; }
.hold-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.hold.on .hold-dim { opacity: 1; }
.hold-i { position: absolute; width: 52px; display: grid; justify-items: center; gap: 4px; text-decoration: none; color: #fff; opacity: 0; transform: translate(0, 0) scale(.4); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; }
.hold.on .hold-i { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
.hold-i b { width: 52px; height: 52px; border-radius: 26px; display: grid; place-items: center; background: #16171c; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 8px 18px rgba(0, 0, 0, .5); transition: transform .15s, background .15s; }
.hold-i.pro b { background: linear-gradient(160deg, #ffe08a, #c7922b); color: #2a1c00; border-color: transparent; }
.hold-i span { position: absolute; top: -26px; padding: 3px 8px; border-radius: 8px; background: #fff; color: #000; font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.hold-i.hit b, .hold-i:hover b { transform: scale(1.14); background: var(--acc); color: #fff; }
.hold-i.pro.hit b, .hold-i.pro:hover b { background: linear-gradient(160deg, #fff2c4, #e0a93b); color: #2a1c00; }
.hold-i.hit span, .hold-i:hover span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pring, .prob::after, .pro-cta::after, .coin, .conf i, .pay-scan, .sc-dot { animation: none !important; } }
.gsug { display: grid; gap: 2px; margin-top: 6px; } .gsug:empty { display: none; }
.a7kpi { grid-template-columns: repeat(3, 1fr); }

/* IGN sniper page (2026-11-29) */
.sc-ct { position: absolute; right: 12px; bottom: 9px; z-index: 2; font: 500 10.5px ui-monospace, Menlo, monospace; color: #8b96b8; } .sc-ct b { color: #fff; }
.pill-live.off { color: #ffd166; background: rgba(255, 209, 102, .14); }
.sn-lock { display: grid; gap: 10px; } .sn-lock b { font-size: 17px; } .sn-lock .chnote { margin: 0; }
.sn-al { display: flex; align-items: center; gap: 12px; } .sn-al > div { flex: 1; display: grid; } .sn-al small { color: var(--lm); font-size: 12px; }
.filt2 { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.fs-row { display: flex; gap: 6px; }
.fs-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 14px; background: #0f1014; border: 1px solid var(--lh); color: var(--lm); }
.fs-in input { flex: 1; width: 0; min-width: 0; height: 100%; border: 0; background: none; padding: 0; font: inherit; font-size: 16px; color: #fff; outline: none; }
.fs-sort { flex: none; height: 42px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--lh); background: #0f1014; color: #dfe3ec; font: 600 13px inherit; cursor: pointer; }
.seg5 { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 3px; border-radius: 14px; background: #0f1014; border: 1px solid var(--lh); }
.seg5 button { position: relative; z-index: 1; min-width: 0; height: 34px; border: 0; background: none; color: #9ba1ae; font: 700 13.5px inherit; cursor: pointer; transition: color .2s; }
.seg5 button.on { color: #fff; }
.seg5 .seg-ind { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 11px; background: var(--acc); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), width .35s; }
.fs-clean { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px; font-size: 13.5px; font-weight: 600; } .fs-clean small { color: var(--lm); font-weight: 500; margin-left: 4px; }
.sw2 { width: 42px; height: 24px; border-radius: 12px; border: 0; background: #2a2c33; position: relative; flex: none; cursor: pointer; } .sw2::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: #fff; transition: left .2s; } .sw2.on { background: var(--acc); } .sw2.on::after { left: 21px; }
.sn-count { color: var(--lm); font-size: 12.5px; padding: 0 4px; }
.sn-r { display: flex; align-items: center; gap: 10px; padding: 11px 0; } .sn-r + .sn-r { border-top: 1px solid var(--lh); }
.sn-r b { flex: 1; min-width: 0; font: 700 16px ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; }
.sn-len { font: 700 10.5px ui-monospace, Menlo, monospace; color: #9fb4ff; background: rgba(35, 80, 255, .16); border-radius: 6px; padding: 2px 6px; }
.sn-r small { color: var(--lm); font-size: 11.5px; white-space: nowrap; }
.sn-cp { height: 30px; padding: 0 12px; border-radius: 15px; border: 0; background: var(--acc); color: #fff; font: 700 12px inherit; cursor: pointer; } .sn-cp:active { transform: scale(.93); }
.own-prev { display: flex; align-items: center; gap: 12px; border-color: rgba(255, 209, 102, .3); } .own-prev > div { flex: 1; display: grid; } .own-prev small { color: var(--lm); font-size: 12px; }

/* "Never used crypto?" button + Phantom walkthrough (2026-11-29) */
.nocrypto { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 18px; border: 0; cursor: pointer; text-align: left; color: #fff; font: inherit;
  background: linear-gradient(#141722, #141722) padding-box, conic-gradient(from var(--nc), #ab9ff2, #2350ff, #14f195, #ab9ff2) border-box; border: 2px solid transparent; animation: ncspin 4s linear infinite; overflow: hidden; }
@property --nc { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ncspin { to { --nc: 360deg; } }
.nocrypto::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); transform: skewX(-20deg); animation: aShine2 3.2s ease-in-out infinite; }
.nocrypto:active { transform: scale(.98); }
.nc-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #ab9ff2; color: #1b1440; }
.nc-t { flex: 1; display: grid; } .nc-t b { font-size: 15.5px; } .nc-t small { color: #b8bfd6; font-size: 12.5px; }
.nc-play { width: 34px; height: 34px; flex: none; border-radius: 17px; display: grid; place-items: center; background: #fff; color: #1b1440; animation: ncpulse 1.6s ease-in-out infinite; }
@keyframes ncpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
/* phone mock screens for the crypto guide */
.gd-store { position: absolute; inset: 0; padding: 16px 8px; display: grid; gap: 8px; align-content: start; background: #0e0e12; }
.gd-sbar2 { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 8px; background: #23232a; color: #9aa0ad; font-size: 8.5px; } .gd-sbar2 svg { width: 9px; height: 9px; }
.gd-srow { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 10px; } .gd-srow.dim { opacity: .35; }
.gd-srow div { flex: 1; display: grid; } .gd-srow b { font-size: 9px; } .gd-srow small { font-size: 7px; color: #9aa0ad; } .gd-stars { color: #ffd166 !important; letter-spacing: 1px; }
.gd-pico { width: 30px; height: 30px; flex: none; display: block; border-radius: 7px; overflow: hidden; } .gd-pico.ph { background: #2a2a31; } .gd-pico.big { width: 54px; height: 54px; border-radius: 13px; }
.gd-get { padding: 3px 8px; border-radius: 9px; background: #2f2f37; color: #4d8dff; font-size: 8px; font-weight: 800; }
.gd-ph { position: absolute; inset: 0; padding: 16px 10px; display: grid; justify-items: center; align-content: center; gap: 8px; background: linear-gradient(180deg, #1c1630, #0d0b16); }
.gd-ph.top { align-content: start; padding-top: 22px; }
.gd-pt { font-size: 14px; } .gd-pt.sm { font-size: 10px; }
.gd-pbtn { width: 100%; text-align: center; padding: 7px 0; border-radius: 9px; background: #ab9ff2; color: #1b1440; font-size: 8.5px; font-weight: 800; } .gd-pbtn.ghost { background: #2a2540; color: #d9d3ff; }
.gd-bal { font-size: 16px; font-weight: 800; color: #fff; }
.gd-acts { display: flex; gap: 8px; } .gd-act { display: grid; justify-items: center; gap: 2px; font-size: 7px; color: #d9d3ff; padding: 3px; border-radius: 8px; } .gd-act i { width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; background: #ab9ff2; color: #1b1440; font-style: normal; font-weight: 800; font-size: 10px; }
.gd-buy { width: 100%; display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: #221d38; } .gd-sol { display: flex; align-items: center; gap: 5px; font-size: 8.5px; } .gd-sol svg { width: 12px; height: 12px; }
.gd-amt { font-size: 20px; text-align: center; } .gd-apay { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 5px 0; border-radius: 8px; background: #fff; color: #000; font-size: 9px; font-weight: 700; } .gd-apay svg { width: 10px; height: 10px; }
.gd-way { width: 100%; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 9px; background: #16171c; font-size: 8.5px; font-weight: 700; } .gd-way svg { width: 12px; height: 12px; }
.gd-gold { width: 100%; text-align: center; padding: 7px 0; border-radius: 12px; background: linear-gradient(180deg, #ffe08a, #e0a93b); color: #2a1c00; font-size: 8.5px; font-weight: 800; }
.gd-to { font-size: 8px; color: #d9d3ff; }
.gd-done { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; background: linear-gradient(160deg, #ffe08a, #c7922b); color: #2a1c00; font-size: 9px; font-weight: 800; animation: gdPop .5s 1.4s cubic-bezier(.3, 1.6, .5, 1) both; } .gd-done svg { width: 10px; height: 10px; }
@media (prefers-reduced-motion: reduce) { .nocrypto, .nocrypto::after, .nc-play { animation: none; } }

.pay-note { margin: 0; text-align: center; color: var(--lm); font-size: 12.5px; } .pay-note b { color: #fff; }
.pay-claim { align-self: center; border: 0; background: none; color: #9fb4ff; font: 600 13.5px inherit; text-decoration: underline; cursor: pointer; padding: 4px; }
.pay-claimbox { display: grid; gap: 8px; } .pay-claimbox .l-btn { margin: 0; justify-content: center; height: 40px; border-radius: 20px; }

/* one-time "hold your picture" tip (2026-11-30) */
.hhint { position: fixed; inset: 0; z-index: 45; opacity: 0; transition: opacity .25s; }
.hhint.on { opacity: 1; }
.hh-dim { position: absolute; inset: 0; background: radial-gradient(circle at var(--cx) var(--cy), transparent 34px, rgba(0, 0, 0, .8) 36px); }
.hh-ring { position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 2px solid #fff; pointer-events: none; animation: hhr 1.6s ease-out infinite; }
@keyframes hhr { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.hh-card { position: absolute; left: 50%; width: min(330px, calc(100% - 32px)); transform: translate(-50%, 14px); display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: 22px; background: #0f1014; border: 1px solid rgba(255, 255, 255, .14); text-align: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.hhint.on .hh-card { transform: translate(-50%, 0); }
.hh-card b { font-size: 17px; } .hh-card p { margin: 0; color: #b9bfcc; font-size: 13.5px; line-height: 1.45; }
.hh-card::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; background: #0f1014; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); transform: rotate(45deg); }
.hh-btns { display: flex; gap: 8px; width: 100%; } .hh-btns .l-btn { flex: 1; justify-content: center; margin: 0; height: 40px; border-radius: 20px; }
/* the little demo: a finger holds the picture, a ring fills, four pages fan out, loop */
.hh-demo { position: relative; width: 150px; height: 96px; }
.hh-me { position: absolute; left: 50%; bottom: 4px; width: 34px; height: 34px; margin-left: -17px; display: grid; animation: hhme 3s ease-in-out infinite; }
.hh-me .pf { display: block; }
.hh-fill { position: absolute; inset: -4px; width: 42px; height: 42px; transform: rotate(-90deg); }
.hh-fill circle { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 114; stroke-dashoffset: 114; animation: hhfill 3s linear infinite; }
@keyframes hhfill { 0%, 10% { stroke-dashoffset: 114; } 35%, 100% { stroke-dashoffset: 0; } }
@keyframes hhme { 0%, 10% { transform: none; } 15%, 35% { transform: scale(.88); } 40%, 100% { transform: scale(1.05); } }
.hh-dot { position: absolute; left: 50%; bottom: 10px; width: 26px; height: 26px; margin-left: -13px; border-radius: 13px; display: grid; place-items: center; background: #1d1f26; border: 1px solid rgba(255, 255, 255, .16); color: #fff; opacity: 0; animation: hhdot 3s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.hh-dot svg { width: 13px; height: 13px; }
.hh-dot:nth-of-type(1), .hh-dot:nth-of-type(2) { background: linear-gradient(160deg, #ffe08a, #c7922b); color: #2a1c00; border-color: transparent; }
@keyframes hhdot { 0%, 36% { opacity: 0; transform: none; } 50%, 88% { opacity: 1; transform: rotate(calc(var(--a) * -1)) translateX(58px) rotate(var(--a)); } 100% { opacity: 0; } }
.hh-finger { position: absolute; left: 50%; bottom: -10px; width: 22px; height: 22px; margin-left: -4px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; animation: hhf 3s ease-in-out infinite; }
@keyframes hhf { 0% { opacity: 0; transform: translate(26px, 20px); } 10%, 36% { opacity: 1; transform: none; } 42%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hh-ring, .hh-me, .hh-fill circle, .hh-dot, .hh-finger { animation: none; } .hh-dot { opacity: 1; } }

/* ---------- CLANS design B "League table" (owner pick 2026-11-29) */
.cl-cnt { color: var(--lm); font-size: 12px; font-weight: 500; }
.cl-tbl { padding-block: 8px 4px; }
.cl-hd { align-self: stretch; width: 100%; display: grid; grid-template-columns: 26px 1fr auto 52px; gap: 8px; color: var(--lm); font-size: 10.5px; padding: 0 0 6px; } .cl-hd span:nth-child(3), .cl-hd span:nth-child(4) { text-align: right; }
.cl-w { align-self: stretch; }
.cl-w + .cl-w .cl-r { border-top: 1px solid var(--lh); }
.cl-r { width: 100%; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-align: left; gap: 8px; padding: 8px 0; cursor: pointer; border-top: 0; }
.cl-r .l-rmid b { display: inline-flex; align-items: center; gap: 5px; }
.cl-pos { width: 26px; flex: none; text-align: center; color: var(--lm); font: 700 12px var(--fm); }
.cl-me { background: color-mix(in srgb, var(--acc) 16%, transparent); border-radius: 12px; margin: 2px -8px; padding-inline: 8px; width: calc(100% + 16px); }
.cl-me .cl-pos { color: #9fb4ff; }
.cl-mv { min-width: 34px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; font: 700 11px var(--fm); color: var(--lm); }
.cl-mv.up { color: var(--up); } .cl-mv.dn { color: var(--down); } .cl-mv.dn svg { transform: rotate(180deg); } .cl-mv.new { color: #9fb4ff; font-family: var(--f); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.cl-elo { width: 52px; text-align: right; font-size: 13.5px; }
.cl-x { padding: 2px 0 12px 34px; display: grid; gap: 4px; animation: clx .3s cubic-bezier(.3, 1.2, .5, 1) both; }
@keyframes clx { from { opacity: 0; transform: translateY(-6px); } }
.cl-nt { margin: 0 0 4px; color: #cfd3dd; font-size: 12.5px; }
.cl-mem { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: inherit; text-decoration: none; } .cl-mem b { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-mem .num { color: var(--lm); font-size: 12.5px; }
.cl-sp { height: 62px; }
.cl-pin { position: fixed; z-index: 5; left: 50%; transform: translateX(-50%); width: min(488px, calc(100% - 32px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 82px); display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 4px; border-radius: 18px; border: 1px solid rgba(80, 120, 255, .45); background: rgba(20, 24, 44, .96); color: #fff; font: inherit; text-align: left; cursor: pointer; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -8px 26px rgba(0, 0, 0, .55); animation: clpin .45s .3s cubic-bezier(.3, 1.3, .5, 1) both; }
.cl-pin .cl-pos { color: #9fb4ff; } .cl-pin small { color: #b8c3ef; } .cl-pt { color: #b8c3ef; font-size: 11px; font-weight: 600; } .cl-pin > .num { font-size: 14px; }
.cl-pin:active { transform: translateX(-50%) scale(.97); }
@keyframes clpin { from { opacity: 0; transform: translate(-50%, 16px); } }
html.in-chat.kb .cl-pin { display: none; }

/* ---------- ESPORTS design B "Timeline" (owner pick 2026-11-29) */
.es-all { color: var(--lm); font-size: 12px; font-weight: 500; text-decoration: none; }
.es-head { flex-direction: row; display: flex; align-items: center; gap: 10px; }
.es-pill { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 7px; flex: none; }
.es-pill.live { color: var(--up); background: rgba(34, 211, 122, .14); } .es-pill.soon { color: #ffd166; background: rgba(255, 209, 102, .14); }
.es-tl { position: relative; display: grid; gap: 12px; padding-left: 22px; }
.es-tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 1px; background: linear-gradient(var(--acc), #1d1f26); }
.es-st { position: relative; display: grid; gap: 6px; color: inherit; text-decoration: none; }
.es-st::before { content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #2a2c33; border: 2px solid #000; }
.es-st.done::before { background: var(--acc); }
.es-st.now::before { background: var(--up); box-shadow: 0 0 0 4px rgba(34, 211, 122, .25); animation: espl 1.6s ease-in-out infinite; }
@keyframes espl { 50% { box-shadow: 0 0 0 8px rgba(34, 211, 122, 0); } }
.es-st h4 { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; } .es-st h4 small { color: var(--lm); font-size: 11.5px; font-weight: 500; }
.es-ms { padding: 2px 12px; gap: 0; }
.es-m { display: flex; align-items: center; gap: 6px; padding: 9px 0; color: inherit; text-decoration: none; } .es-ms > .es-m + .es-m, .es-when + .es-m { border-top: 1px solid var(--lh); }
.es-m > small { color: var(--lm); font-size: 11px; flex: none; }
.es-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; } .es-t b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .es-t.es-r { justify-content: flex-end; text-align: right; }
.es-nx .es-t b { font-weight: 800; }
.es-when { color: #9fb4ff; font-size: 11.5px; text-align: center; padding: 0 0 9px; margin-top: -3px; }
.es-more { display: block; color: var(--lm); font-size: 11.5px; padding: 4px 0 9px; text-align: center; }
.es-sub { color: var(--lm); font-size: 12px; }
.es-logos { display: flex; } .es-logos > * + * { margin-left: -6px; } .es-logos > * { box-shadow: 0 0 0 2px #000; }
.es-lab { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .cl-x, .cl-pin, .es-st.now::before { animation: none; } }

/* hold wheel folding back on release (owner 2026-11-29) */
.hold.out { pointer-events: none; }
.hold.out .hold-i { transition: transform .32s cubic-bezier(.55, 0, .75, .2), opacity .22s ease-in .08s; }
.hold.out .hold-i span { opacity: 0; }
.hold.out .hold-i.picked { transform: translate(var(--x), var(--y)) scale(1.35); opacity: 0; transition: transform .3s ease-out, opacity .3s ease-out; transition-delay: 0ms !important; }
.hold.out .hold-dim { transition: opacity .3s ease-in .05s; }
.l-navme.back { animation: navback .5s cubic-bezier(.3, 1.6, .5, 1) .18s both; }
@keyframes navback { 0% { transform: scale(1.06); } 40% { transform: scale(.88); } 100% { transform: scale(1); } }
/* free Pro: remove button on a member row (owner 2026-11-29) */
.l-ib.prm { flex: none; width: auto; min-width: 32px; height: 32px; padding: 0 8px; margin-left: 4px; color: var(--lm); font-size: 11.5px; font-weight: 700; border-radius: 10px; }
.l-ib.prm.sure { background: rgba(255, 77, 94, .16); color: #ff6b78; }
.glen .chip { flex: 1 1 auto; }
/* gold Pro ring easier to see (owner 2026-11-29: "barely visible" in chat) — the black gap used to cover the 2px ring */
.pring { padding: 3px; box-shadow: 0 0 10px rgba(224, 169, 59, .38); }
.pring > .pf { box-shadow: 0 0 0 1.5px #000 !important; }
.cav .pring { padding: 2.5px; margin: -2.5px; }
.pring.big { padding: 4px; }

/* ---------- Last games: Kills chart (owner pick C, 2026-11-30) */
.kb9 { gap: 10px; }
.kb9h { display: flex; justify-content: space-between; align-items: center; } .kb9h > b { font-size: 14px; font-weight: 600; }
.kb9bars { position: relative; height: 128px; display: flex; align-items: flex-end; gap: 6px; margin-top: 6px; }
.kb9avg { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255, 255, 255, .28); pointer-events: none; z-index: 2; }
.kb9avg span { position: absolute; right: 0; top: -9px; font-size: 10px; color: #cfd3dd; background: #16171c; border: 1px solid var(--lh); padding: 0 6px; border-radius: 6px; line-height: 16px; }
.kb9b { position: relative; flex: 1; height: 100%; display: block; text-decoration: none; }
.kb9b i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 7px 7px 3px 3px; }
.kb9b i.d { background: rgba(255, 255, 255, .07); }
.kb9b i.k { transform-origin: bottom; animation: kb9g .8s cubic-bezier(.2, .9, .3, 1.2) both; }
.kb9b.w i.k { background: linear-gradient(#3ee69a, #12a862); } .kb9b.l i.k { background: linear-gradient(#ff7a88, #c8283d); }
.kb9b b { position: absolute; left: 0; right: 0; text-align: center; font: 700 10.5px var(--fm); color: #fff; animation: kb9f .5s .5s both; }
.kb9b:active i.k { filter: brightness(1.2); }
@keyframes kb9g { from { transform: scaleY(0); } } @keyframes kb9f { from { opacity: 0; } }
.kb9maps { display: flex; gap: 6px; } .kb9maps span { flex: 1; min-width: 0; text-align: center; font-size: 9.5px; color: var(--lm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb9leg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; color: var(--lm); } .kb9leg i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; } .kb9leg i.w { background: #22d37a; } .kb9leg i.l { background: #ff4d5e; } .kb9leg i.dd { background: rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: reduce) { .kb9b i.k, .kb9b b { animation: none; } }

/* ---------- invite card on your profile (owner pick A) + Recruiter badge */
.invc { gap: 10px; }
.invc .l-chead { align-items: center; justify-content: flex-start; gap: 6px; }
.invs { color: var(--lm); font-size: 12px; }
.invl { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 6px 6px 12px; border-radius: 14px; background: #121318; border: 1px solid var(--lh); }
.invl > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12.5px var(--fm); color: #cfd3dd; }
.invn { display: flex; align-items: baseline; gap: 6px; } .invn > b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; } .invn > span { color: var(--lm); font-size: 13px; }
.invav { display: inline-flex; margin-left: auto; align-self: center; } .invav > * + * { margin-left: -6px; } .invav .pf { box-shadow: 0 0 0 2px var(--lc); }
.invp { display: grid; gap: 6px; } .invpt { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--lm); }
.invbar { height: 8px; border-radius: 4px; background: #1d1f26; overflow: hidden; } .invbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ffe08a, #c7922b); animation: invg 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes invg { from { width: 0 !important; } }
.recb { display: inline-grid; place-items: center; vertical-align: middle; line-height: 0; }

/* ---------- Admin › Invites & stats */
.air-ch { display: flex; flex-wrap: wrap; gap: 6px; } .air-ch button { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--lh); background: var(--lc); color: var(--lm); font: 600 12.5px var(--f); cursor: pointer; } .air-ch button.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.air-cal { background: var(--lc); border: 1px solid var(--lh); border-radius: 16px; padding: 10px; }
.air-cm { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .air-cm b { font-size: 14px; } .air-cm button { width: 32px; height: 32px; border-radius: 16px; border: 0; background: #1a1c22; color: #fff; display: grid; place-items: center; cursor: pointer; } .air-cm .nx svg { transform: rotate(180deg); }
.air-cg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; } .air-cg small { color: var(--lm); font-size: 10.5px; padding: 2px 0; }
.air-cg button { height: 38px; border: 0; border-radius: 10px; background: none; color: #fff; font: 600 13px var(--f); position: relative; cursor: pointer; } .air-cg button.has::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: var(--up); } .air-cg button.on { background: var(--acc); } .air-cg button:disabled { color: #3a3c44; cursor: default; }
.air-k4, .air-k3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .air-k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.air-k4 > div, .air-k3 > div { background: var(--lc); border: 1px solid var(--lh); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; } .air-k4 small, .air-k3 small { color: var(--lm); font-size: 11px; } .air-k4 b, .air-k3 b { font-size: 22px; font-weight: 700; } .air-k4 em { color: var(--lm); font-size: 10.5px; font-style: normal; }
.air-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: 8px; }
.air-b { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; } .air-b i { width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px; background: linear-gradient(#5b82ff, #2350ff); min-height: 2px; } .air-b b { font-size: 10px; color: #cfd3dd; } .air-b small { font-size: 9.5px; color: var(--lm); white-space: nowrap; }
.air-tbl { gap: 0; padding-bottom: 6px; } .air-tbl .l-chead { padding-bottom: 6px; }
.air-tr { display: grid; grid-template-columns: minmax(0, 1fr) 54px 58px 70px; gap: 6px; align-items: center; padding: 9px 0; border-top: 1px solid var(--lh); font-size: 12.5px; } .air-tr > b { text-align: right; font-weight: 600; }
.air-th { color: var(--lm); font-size: 10.5px; border-top: 0; padding: 2px 0 6px; } .air-th span:not(:first-child) { text-align: right; }
.air-src { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; font-weight: 600; } .air-src i { width: 8px; height: 8px; border-radius: 2px; background: var(--lm); flex: none; } .air-src.source i { background: #ff3d86; } .air-src.player i { background: var(--acc); }
.air-cp { border: 0; background: #1a1c22; color: #cfd3dd; font: 600 10.5px var(--f); padding: 3px 8px; border-radius: 8px; cursor: pointer; }
.air-mk { display: flex; gap: 8px; margin-top: 10px; } .air-mk .l-in { flex: 1; min-width: 0; }
.air-p { grid-template-columns: minmax(0, 1fr) 46px 56px 50px; }
.air-pp { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.air-pn { display: flex; align-items: center; gap: 7px; min-width: 0; } .air-pn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.air-pro { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: rgba(255, 209, 102, .15); color: #ffd166; }
.air-who { display: grid; gap: 6px; padding: 2px 0 10px 12px; border-left: 2px solid var(--acc); margin-left: 12px; }
.air-wr { display: flex; align-items: center; gap: 7px; font-size: 12.5px; } .air-wr small { color: var(--lm); margin-left: auto; font-size: 11px; }
/* "Your kills by weapon" locked for non-Pro (owner 2026-11-30) */
.m8lock { position: relative; overflow: hidden; }
.m8lrows { display: grid; gap: 10px; min-height: 130px; align-content: start; filter: blur(7px); opacity: .7; pointer-events: none; user-select: none; -webkit-user-select: none; }
.m8lov { position: absolute; inset: 44px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; background: linear-gradient(rgba(11, 12, 15, .15), rgba(11, 12, 15, .75)); }
.m8lov b { font-size: 14px; } .m8lov .pro-cta { width: auto; padding: 0 20px; }

/* ---------- picture frames, decorations, story ring (owner picks 2026-11-30) */
.av9 { --pd: calc(var(--z) * .06); position: relative; display: inline-grid; place-items: center; flex: none; line-height: 0; border-radius: 50%; padding: var(--pd); margin: calc(var(--pd) * -1); vertical-align: middle; }
.av9 > .pf { display: block; }
.av9[class*=" fr-"] > .pf, .av9.st > .pf { box-shadow: 0 0 0 calc(var(--z) * .028) #000 !important; }
.av9[class*=" fr-"] { animation: gring 3s linear infinite; }
.av9.fr-gold { background: conic-gradient(from var(--gr), #fff2c4, #e0a93b, #8a5a10, #e0a93b, #fff2c4); box-shadow: 0 0 10px rgba(224, 169, 59, .38); }
.av9.fr-ice { background: conic-gradient(from var(--gr), #e8fbff, #7fd8ff, #2a7fff, #7fd8ff, #e8fbff); box-shadow: 0 0 12px rgba(120, 210, 255, .45); }
.av9.fr-fire { background: conic-gradient(from var(--gr), #ffe36b, #ff7a1a, #e3261c, #ff7a1a, #ffe36b); box-shadow: 0 0 14px rgba(255, 110, 30, .55); }
.av9.fr-neon { background: conic-gradient(from var(--gr), #2350ff, #00e5ff, #2350ff, #7a3dff, #2350ff); box-shadow: 0 0 14px rgba(35, 80, 255, .7); }
.av9.fr-toxic { background: conic-gradient(from var(--gr), #d6ff3a, #22d37a, #0a7a45, #22d37a, #d6ff3a); box-shadow: 0 0 12px rgba(80, 230, 120, .45); }
.av9.fr-rose { background: conic-gradient(from var(--gr), #ffd1e8, #ff4fa0, #a1145a, #ff4fa0, #ffd1e8); box-shadow: 0 0 12px rgba(255, 80, 160, .45); }
.av9.fr-galaxy { background: conic-gradient(from var(--gr), #ff4fd8, #7a3dff, #2350ff, #00e5ff, #ff4fd8); box-shadow: 0 0 14px rgba(140, 80, 255, .55); }
.av9.fr-chrome { background: conic-gradient(from var(--gr), #fff, #8a8f9c, #2a2c33, #8a8f9c, #fff); }
.av9.fr-blood { background: conic-gradient(from var(--gr), #ff6b78, #b0001a, #3a0008, #b0001a, #ff6b78); box-shadow: 0 0 12px rgba(200, 0, 30, .5); }
.av9.fr-pulse { background: #22d37a; animation: av9p 1.6s ease-in-out infinite; } @keyframes av9p { 50% { box-shadow: 0 0 0 calc(var(--z) * .08) rgba(34, 211, 122, 0), 0 0 18px rgba(34, 211, 122, .6); } }
/* a story up: the frame is swapped for the story ring (owner pick C) */
.av9.st { background: conic-gradient(#2350ff, #00e5ff, #7a3dff, #2350ff) !important; box-shadow: none !important; animation: none !important; cursor: pointer; }
.av9.st.seen { background: #3a3c44 !important; }
.av9 > svg.dk { position: absolute; left: calc(50% - var(--z) * .72); top: calc(50% - var(--z) * .72); width: calc(var(--z) * 1.44); height: calc(var(--z) * 1.44); overflow: visible; pointer-events: none; z-index: 1; }
.dk-spin { transform-origin: 72px 72px; animation: dkspin 9s linear infinite; } .dk-spin.r { animation-direction: reverse; animation-duration: 6s; } .dk-spin.s { animation-duration: 14s; } .dk-spin.slow { animation-duration: 24s; }
@keyframes dkspin { to { transform: rotate(360deg); } }
.dk-drift { animation: dkdrift 4s ease-in-out infinite alternate; } @keyframes dkdrift { to { translate: 5px -2px; } }
.dk-twinkle { animation: dktw 2.2s ease-in-out infinite; } @keyframes dktw { 50% { opacity: .2; transform: scale(.5); } }
.dk-blink { animation: dkbl 1s steps(2) infinite; } @keyframes dkbl { 50% { opacity: .15; } }
.dk-wobble { animation: dkwob 2.8s ease-in-out infinite; } @keyframes dkwob { 50% { rotate: -6deg; } }
.me9 { cursor: pointer; } .me9:active { transform: scale(.96); }
.pav > .av9 { display: inline-grid; }
@media (prefers-reduced-motion: reduce) { .av9, .av9 * { animation: none !important; } }

/* quick menu (tap your picture) */
.mm9 { display: grid; gap: 8px; padding-top: 4px; }
.mm9a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; border: 0; background: #17181d; color: #fff; font: 600 14px var(--f); text-align: left; cursor: pointer; }
.mm9a i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #22242b; flex: none; } .mm9a.pri i { background: var(--acc); }
.mm9a > span:first-of-type { flex: 1; } .mm9a small { color: var(--lm); font-weight: 500; font-size: 12px; }
.mm9row { display: flex; gap: 12px; padding: 8px 4px 2px; overflow-x: auto; scrollbar-width: none; } .mm9row::-webkit-scrollbar { display: none; }
.mm9f { border: 0; background: none; padding: 6px; border-radius: 50%; cursor: pointer; flex: none; } .mm9f.on { outline: 2px solid #fff; outline-offset: 1px; }
/* frame picker */
.fp9 { display: grid; gap: 10px; } .fp9pv { display: grid; place-items: center; padding: 22px 0 14px; }
.fp9g { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.fp9g button { border: 1px solid var(--lh); background: #121318; border-radius: 14px; padding: 14px 4px 8px; display: grid; justify-items: center; gap: 10px; color: #cfd3dd; font: 600 11px var(--f); cursor: pointer; }
.fp9g button.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 16%, #121318); color: #fff; }
/* add a story */
.as9 { display: grid; gap: 10px; padding-top: 4px; } .as9t { font-size: 16px; } .as9s { color: var(--lm); font-size: 12.5px; }
.as9b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.as9o { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; border-radius: 16px; border: 1px solid var(--lh); background: #17181d; color: #fff; font: 600 13.5px var(--f); cursor: pointer; }
.as9o i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--acc); }
.as9o:last-child i { background: #22242b; }
/* story viewer */
html.sv-open, html.sv-open body { overflow: hidden; }
.sv9 { position: fixed; inset: 0; z-index: 45; background: #000; color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .15s; display: flex; flex-direction: column; }
.sv9m { position: absolute; inset: 0; display: grid; place-items: center; } .sv9m img, .sv9m video { width: 100%; height: 100%; object-fit: contain; }
.sv9b { position: relative; z-index: 2; display: flex; gap: 3px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 0; } .sv9b i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; } .sv9b i b { display: block; height: 100%; width: 0; background: #fff; } .sv9b i.d b { width: 100% !important; }
.sv9h { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 12px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); } .sv9h b { font-size: 14px; } .sv9h small { color: #ddd; font-size: 12px; } .sv9sp { flex: 1; }
.sv9.pv .sv9h { padding-top: calc(env(safe-area-inset-top, 0px) + 14px); }
.sv9x { width: 38px; height: 38px; border-radius: 19px; border: 0; background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; cursor: pointer; } .sv9x.sure { width: auto; padding: 0 12px; background: #ff3d55; } .sv9x small { font: 700 12px var(--f); }
.sv9f { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 16px); background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.sv9v { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 600 13px var(--f); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pv9go { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 10px; border-radius: 23px; border: 0; background: #fff; color: #000; font: 700 14px var(--f); cursor: pointer; } .pv9go:disabled { opacity: .7; }
/* the rank badge sits on top of the frame and any decoration (owner 2026-11-30) */
.pav > .pbadge { z-index: 3; }

/* ---------- pull to refresh (owner 2026-11-30) */
html { overscroll-behavior-y: none; }
.ptr { --k: 0; position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 40; width: 44px; height: 44px; border-radius: 22px; background: #121318; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 8px 22px rgba(0, 0, 0, .55); transform: translate(-50%, -60px) scale(.5); opacity: 0; pointer-events: none; }
.ptr.on { opacity: 1; }
.ptr.back { transition: transform .35s cubic-bezier(.5, 0, .75, 0), opacity .3s; }
.ptr svg { width: 100%; height: 100%; display: block; }
.ptr-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 3; }
.ptr-arc { fill: none; stroke: var(--acc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--k) * 100); transform: rotate(-90deg); transform-origin: 22px 22px; }
.ptr-arrow { fill: none; stroke: #cfd3dd; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, opacity .2s; transform-origin: 22px 22px; }
.ptr-tick { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ptr.ready { border-color: rgba(35, 80, 255, .6); box-shadow: 0 8px 22px rgba(0, 0, 0, .55), 0 0 0 4px rgba(35, 80, 255, .18); }
.ptr.ready .ptr-arrow { transform: rotate(180deg); stroke: #fff; }
.ptr.spin { transition: transform .25s cubic-bezier(.3, 1.3, .5, 1); }
.ptr.spin .ptr-arc { stroke-dasharray: 30 70; stroke-dashoffset: 0; animation: ptrspin .7s linear infinite; }
.ptr.spin .ptr-arrow { opacity: 0; }
@keyframes ptrspin { to { transform: rotate(270deg); } }
.ptr.done { background: var(--acc); border-color: var(--acc); transform: translate(-50%, 6px) scale(1.12) !important; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.ptr.done .ptr-arc, .ptr.done .ptr-bg, .ptr.done .ptr-arrow { opacity: 0; }
.ptr.done .ptr-tick { animation: ptrtick .35s .05s ease-out forwards; }
@keyframes ptrtick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ptr.spin .ptr-arc { animation: none; } }
.pay-rec { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .03em; padding: 2px 7px; border-radius: 6px; margin-left: 6px; background: rgba(34, 211, 122, .15); color: #22d37a; vertical-align: 1px; }

/* ---------- landing page (owner pick D "Terminal style", 2026-11-30) */
.lp { min-height: 100dvh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px); background: radial-gradient(80% 40% at 50% 62%, rgba(35, 80, 255, .30), transparent 70%); }
.lp-nav { display: flex; align-items: center; gap: 10px; } .lp-nav .wordmark { font-size: 24px; }
.lp-in { margin-left: auto; border: 0; background: none; color: #a6abb7; font: 500 14px var(--f); cursor: pointer; padding: 8px; }
.lp-get { border: 0; background: #7d9bff; color: #05081a; font: 700 14px var(--f); padding: 10px 14px; border-radius: 12px; cursor: pointer; }
.lp-avail { align-self: center; margin-top: 40px; display: flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #cfd3dd; }
.lp-avail i { width: 1px; height: 14px; background: rgba(255, 255, 255, .15); } .lp-avail svg { width: 16px; height: 16px; }
.lp-h { margin: 22px 0 0; text-align: center; font-size: clamp(40px, 12vw, 56px); line-height: .96; letter-spacing: -.06em; font-weight: 800; animation: lpUp .7s cubic-bezier(.2, .9, .3, 1.1) both; }
.lp-h em { font-style: normal; color: #7d9bff; }
.lp-sub { margin: 14px auto 0; max-width: 420px; text-align: center; color: #cfd3dd; font-size: 15.5px; line-height: 1.5; animation: lpUp .7s .08s cubic-bezier(.2, .9, .3, 1.1) both; }
.lp-cta { align-self: center; margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; border: 0; background: #7d9bff; color: #05081a; font: 700 16px var(--f); padding: 15px 26px; border-radius: 16px; cursor: pointer; box-shadow: 0 0 40px rgba(125, 155, 255, .35); animation: lpUp .7s .16s cubic-bezier(.2, .9, .3, 1.1) both; transition: transform .12s; }
.lp-cta:active { transform: scale(.96); } .lp-cta svg { width: 20px; height: 20px; }
.lp-msg { margin: 10px 0 0; text-align: center; color: #8a8f9c; font-size: 12.5px; min-height: 1.2em; }
@keyframes lpUp { from { opacity: 0; transform: translateY(14px); } }
.lp-live { position: relative; margin-top: 28px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .1); background: #0f1014; overflow: hidden; padding-bottom: 60px; min-height: 300px; animation: lpUp .8s .25s cubic-bezier(.2, .9, .3, 1.1) both; }
.lp-lh { display: flex; align-items: center; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); } .lp-lh b { font-size: 15px; }
.lp-pill { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #22d37a; background: rgba(34, 211, 122, .14); padding: 4px 10px; border-radius: 8px; } .lp-pill i { width: 7px; height: 7px; border-radius: 50%; background: #22d37a; animation: lpPls 1.4s ease-in-out infinite; }
@keyframes lpPls { 50% { opacity: .3; } }
.lp-r { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); animation: lpRow .6s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes lpRow { from { opacity: 0; transform: translateY(-12px); } }
.lp-r b { font-size: 15px; } .lp-r small { display: block; color: #22d37a; font-size: 12px; } .lp-r .rk { flex: none; }
.lp-v { margin-left: auto; text-align: right; font: 700 15px var(--fm); } .lp-v small { color: #8a8f9c; font: 500 11.5px var(--f); }
.lp-pos { width: 18px; color: #8a8f9c; font: 700 13px var(--fm); }
.lp-mono { font-family: var(--fm); } .lp-blur b { filter: blur(4px); }
.lp-big { padding: 18px 16px 10px; } .lp-big b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; } .lp-big span { display: block; font-weight: 600; } .lp-big small { display: block; color: #8a8f9c; font-size: 12px; margin-top: 2px; }
.lp-empty { padding: 26px 16px; color: #8a8f9c; text-align: center; } .lp-ld { padding: 30px 0; display: grid; place-items: center; }
.lp-tabs { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; display: flex; gap: 2px; padding: 4px; border-radius: 15px; background: rgba(20, 21, 26, .96); border: 1px solid rgba(255, 255, 255, .1); }
.lp-tabs button { border: 0; background: none; color: #8a8f9c; font: 600 13.5px var(--f); padding: 8px 16px; border-radius: 11px; cursor: pointer; } .lp-tabs button.on { background: #23252d; color: #fff; }
@media (prefers-reduced-motion: reduce) { .lp *, .lp { animation: none !important; } }
