:root {
  --bg: #0b0e1f;
  --bg2: #11152b;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #161b38;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0fb;
  --muted: #a3a8cc;
  --gold: #f5c451;
  --orange: #ff9a62;
  --purple: #9b7bff;
  --teal: #2ec4a6;
  --win: #43c46b;
  --draw: #9aa0a6;
  --loss: #f0524f;
  --lichess: #f2f2f2;
  --chesscom: #81b64c;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 85% -5%, rgba(155, 123, 255, .28), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(46, 196, 166, .13), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Images always keep their own proportions. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
b { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.grad {
  background: linear-gradient(92deg, var(--gold) 0%, var(--orange) 45%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glass {
  background: rgba(22, 27, 56, .72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(11, 14, 31, .7); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); text-decoration: none; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffd56e, var(--gold)); color: #1b1530; box-shadow: 0 12px 34px rgba(245, 196, 81, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 16px 44px rgba(245, 196, 81, .45); }
.btn-glass { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.btn-sm, .btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 4px rgba(67, 196, 107, .2); }
h1, h2 { font-family: "Georgia", "Times New Roman", serif; letter-spacing: -.015em; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; margin: 0 0 22px; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin: 0 0 16px; }
h3 { margin: 0 0 12px; font-size: 17px; }
.lead { color: var(--muted); font-size: 19.5px; max-width: 34em; margin: 0; }
.lead b { color: var(--text); }
.sub { color: var(--muted); font-size: 18px; max-width: 42em; margin: 0; }

/* ---------- hero */
.hero { padding: 76px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sources { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.src { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 6px 14px 6px 6px; }
.src i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 15px; }
.src-lichess i { background: #fff; color: #161512; }
.src-chesscom i { background: var(--chesscom); color: #fff; }

.hero-stage { position: relative; padding: 10px 0 70px; }
.board-card { position: relative; border-radius: 26px; padding: 16px; background: linear-gradient(180deg, #1c2246, #141936); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset; max-width: 470px; margin: 0 auto; }
.board-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 4px 12px; font-size: 14px; color: var(--muted); }
.chip { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; border: 1px solid currentColor; transition: color .3s, background .3s; }
.chip-book { color: #c9a27a; }
.chip-blunder { color: #ff5a52; background: rgba(240, 82, 79, .12); }
.chip-best { color: #5fd27a; background: rgba(67, 196, 107, .12); }
.board-wrap { display: flex; gap: 8px; }
.evalbar { position: relative; width: 16px; border-radius: 6px; background: #2b2b2b; overflow: hidden; flex: none; }
.evalfill { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: #f2f2f2; transition: height .9s var(--ease); }
.evalbar span { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%) rotate(-90deg); transform-origin: center; font-size: 9px; font-weight: 800; color: #222; white-space: nowrap; display: none; }
.board { position: relative; flex: 1; aspect-ratio: 1; display: grid; grid-template-columns: repeat(8, 1fr); border-radius: 10px; overflow: hidden; }
.sq { position: relative; }
.sq.l { background: #c9d3e8; }
.sq.d { background: #5b6c9e; }
.sq.hl::after { content: ""; position: absolute; inset: 0; background: rgba(246, 224, 94, .45); }
.piece { position: absolute; width: 12.5%; height: 12.5%; z-index: 2; pointer-events: none; }
.piece img { width: 100%; height: 100%; }
.piece.gone { opacity: 0; transition: opacity .2s .45s; }
.badge-mv { position: absolute; width: 5.5%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(8px, 1.1vw, 12px); font-weight: 900; color: #fff; background: #e53935; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); z-index: 4; transform: scale(0); transition: transform .35s var(--ease); }
.badge-mv.on { transform: scale(1); }
.arrows { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s; }
.arrows.on { opacity: .95; }
.board-foot { margin: 12px 4px 30px; font-size: 14.5px; color: var(--muted); min-height: 46px; transition: opacity .3s; }

.floats { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); display: flex; gap: 12px; width: max-content; justify-content: center; z-index: 5; }
.float { position: relative; display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 12px 16px; animation: bob 6s ease-in-out infinite; z-index: 5; }
.float b { display: block; font-size: 18px; line-height: 1.1; }
.float span { font-size: 12.5px; color: var(--muted); }
.f2 { animation-delay: -2s; }
.f3 { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.ring-fg { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; stroke-dasharray: calc(var(--p) * .942) 100; }
.badge-src { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.badge-src.lichess { background: #fff; color: #161512; }
.badge-src.chesscom { background: var(--chesscom); color: #fff; }
.badge-src.big { width: 52px; height: 52px; font-size: 28px; border-radius: 15px; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.mini-bars i { width: 7px; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--orange)); }

/* ---------- strip */
.strip { padding: 10px 0 34px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.strip-grid b { display: block; font-family: Georgia, serif; font-size: clamp(30px, 3.2vw, 42px); color: var(--text); }
.strip-grid span { color: var(--muted); font-size: 14.5px; }

/* ---------- sections */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.sec-head .sub { margin: 0 auto; }

/* import */
.import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acct-card { border-radius: 26px; padding: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); position: relative; overflow: hidden; }
.acct-card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 340px; height: 340px; border-radius: 50%; filter: blur(60px); opacity: .35; }
.acct-card.lichess::before { background: #ffffff; opacity: .12; }
.acct-card.chesscom::before { background: var(--chesscom); }
.acct-top { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.acct-top b { display: block; font-size: 19px; }
.acct-top span { font-size: 14px; color: var(--muted); }
.sync { margin-left: auto; font-size: 12.5px !important; font-weight: 700; color: var(--win) !important; border: 1px solid rgba(67, 196, 107, .4); border-radius: 999px; padding: 3px 10px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.games li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(11, 14, 31, .55); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.games li:hover { transform: translateX(4px); border-color: rgba(245, 196, 81, .35); }
.games li > div { flex: 1; min-width: 0; }
.games b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.games em { color: var(--muted); font-style: normal; font-weight: 500; }
.games span { font-size: 13px; color: var(--muted); }
.res { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 14px; }
.res.w { background: var(--win); } .res.l { background: var(--loss); } .res.d { background: var(--draw); }
.games .acc { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }
.games .go { font-size: 14px; font-weight: 700; color: var(--gold); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > b { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--orange)); color: #1b1530; font-size: 18px; }
.steps h3 { margin: 4px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.note { text-align: center; color: var(--muted); margin: 36px 0 0; font-size: 15.5px; }

/* metrics bento */
.metrics-sec { background: linear-gradient(180deg, transparent, rgba(155, 123, 255, .06) 30%, transparent); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { border-radius: var(--radius); padding: 22px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile h4 { margin: 18px 0 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-results { grid-column: span 4; }
.t-rating { grid-column: span 8; }
.t-phase { grid-column: span 5; }
.t-errors { grid-column: span 7; }
.t-time { grid-column: span 5; }
.t-open { grid-column: span 12; }
.t-tactics { grid-column: span 7; }

.donut-row { display: flex; align-items: center; gap: 18px; }
.donut { width: 150px; height: 150px; flex: none; }
.d-bg, .d-seg { fill: none; stroke-width: 5.2; }
.d-bg { stroke: rgba(255, 255, 255, .08); }
.d-seg { stroke: var(--c); stroke-dasharray: 0 100; stroke-dashoffset: calc(25 - var(--off)); transition: stroke-dasharray 1.2s var(--ease); }
.in .d-seg { stroke-dasharray: calc(var(--len) - .8) calc(100 - var(--len) + .8); }
.d-big { fill: var(--text); font: 800 8px Georgia, serif; text-anchor: middle; }
.d-small { fill: var(--muted); font: 3px system-ui, sans-serif; text-anchor: middle; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; }
.legend b { color: var(--text); margin-left: 6px; }
.form { display: flex; gap: 5px; margin-top: 18px; flex-wrap: wrap; }
.form i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; }
.form .w { background: var(--win); } .form .l { background: var(--loss); } .form .d { background: var(--draw); }

.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; font-size: 13px; }
.tabs b, .tabs span { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tabs b { background: rgba(245, 196, 81, .15); border-color: rgba(245, 196, 81, .4); color: var(--gold); }
.big-num { font-family: Georgia, serif; font-size: 40px; font-weight: 700; margin: 6px 0 4px; }
.big-num em { font: 600 14px system-ui, sans-serif; color: var(--win); margin-left: 8px; }
.line { width: 100%; height: 170px; display: block; }
.line .stroke { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.line .area { opacity: 0; transition: opacity 1.2s .6s; }
.in .line .stroke { stroke-dashoffset: 0; }
.in .line .area { opacity: 1; }

.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gauges figure { margin: 0; text-align: center; }
.gauge { width: 100%; max-width: 120px; }
.g-bg, .g-fg { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.g-bg { stroke: rgba(255, 255, 255, .09); }
.g-fg { stroke: var(--c); stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease); }
.in .g-fg { stroke-dasharray: var(--p) 100; }
.gauge text { fill: var(--text); font: 800 7px system-ui, sans-serif; text-anchor: middle; }
.gauges figcaption { color: var(--muted); font-size: 13.5px; margin-top: -4px; }
.insight { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(240, 82, 79, .1); font-size: 15px; }
.insight.gold { background: rgba(245, 196, 81, .11); }

.bars { display: grid; gap: 12px; }
.bars > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 54px; align-items: center; gap: 12px; font-size: 15px; }
.bars span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars i { display: block; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, transparent), var(--c)); transition: width 1.3s var(--ease); }
.in .bars i::after { width: var(--w); }
.bars b { text-align: right; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts div { border-radius: 16px; padding: 14px 10px; text-align: center; background: rgba(155, 123, 255, .12); }
.facts b { display: block; font-size: 22px; }
.facts span { font-size: 12.5px; color: var(--muted); }

.openings { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.op { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(11, 14, 31, .5); border: 1px solid var(--line); }
.op b { display: block; font-size: 15.5px; }
.op span { font-size: 13px; color: var(--muted); }
.op em { font: 800 22px Georgia, serif; font-style: normal; }
.op .good { color: var(--teal); } .op .mid { color: var(--gold); } .op .bad { color: var(--loss); }
.wdl { grid-column: 1 / -1; display: flex; height: 7px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.wdl > * { width: 0; transition: width 1.2s var(--ease); text-decoration: none; }
.in .wdl > * { width: var(--w); }
.wdl b { background: var(--win); } .wdl s { background: var(--draw); } .wdl u { background: var(--loss); }

/* analysis / puzzles split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: rgba(67, 196, 107, .16); color: var(--win); font-weight: 900; font-size: 14px; }
.device { border-radius: 28px; padding: 10px; background: linear-gradient(180deg, #2a3163, #171c3c); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, .55); }
.device img { border-radius: 20px; width: 100%; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.mini { border-radius: 18px; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.mini b { display: block; margin-bottom: 4px; }
.mini span { color: var(--muted); font-size: 14.5px; }
.notif { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .55); transform: rotate(-2deg); }
.notif img { width: 100%; }

/* bots marquee */
.bots-sec .sec-head { margin-bottom: 36px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 70s linear infinite; padding: 8px 0; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.bot { width: 250px; flex: none; border-radius: 20px; padding: 16px; background: var(--card); border: 1px solid var(--line); }
.bot .av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; margin-bottom: 10px; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 90%, #fff), var(--c)); }
.bot b { display: block; }
.bot em { font-style: normal; color: var(--gold); font-weight: 700; font-size: 14px; }
.bot p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* cta + footer */
.cta-band { text-align: center; border-radius: 34px; padding: 64px 24px; background: radial-gradient(600px 300px at 50% 0%, rgba(245, 196, 81, .22), transparent 70%), linear-gradient(135deg, rgba(155, 123, 255, .3), rgba(46, 196, 166, .12)); border: 1px solid var(--line); }
.cta-band img { margin: 0 auto 18px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.cta-band p { color: var(--muted); margin: 0 0 26px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot .grow { flex: 1; }
.tm { flex-basis: 100%; font-size: 12.5px; opacity: .75; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .track { animation: none; }
}

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 50px); }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc p, .doc li { color: #d7daf2; }
.doc .updated { color: var(--muted); }
.btn-primary { background: var(--gold); color: #1b1530; }

/* ---------- responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stage { max-width: 560px; margin: 0 auto; width: 100%; }
  .bento > .tile { grid-column: span 12; grid-row: auto; }
  .t-results, .t-phase, .t-time, .t-tactics { grid-column: span 6 !important; }
  .openings { grid-template-columns: 1fr; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 34px; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .links { display: none; }
  .nav .cta { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero-stage { padding: 30px 0 40px; }
  .float { padding: 9px 12px; }
  .float b { font-size: 15px; }
  .f3 { display: none; }
  .strip-grid, .import-grid, .steps, .cards2 { grid-template-columns: 1fr 1fr; }
  .import-grid, .steps { grid-template-columns: 1fr; }
  .t-results, .t-phase, .t-time, .t-tactics { grid-column: span 12 !important; }
  .donut { width: 120px; height: 120px; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .cards2 { grid-template-columns: 1fr; }
  .float.f2 { display: none; }
}

/* ---------- icons (own line icons) and Ivory Gold piece images */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.pc { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; object-fit: contain; }
.tile h3 { display: flex; align-items: center; gap: 10px; }
.chipico { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; }
.chipico .ic { width: 18px; height: 18px; vertical-align: 0; }
.c-green { color: #5fd27a; background: rgba(67, 196, 107, .15); }
.c-gold { color: var(--gold); background: rgba(245, 196, 81, .14); }
.c-teal { color: var(--teal); background: rgba(46, 196, 166, .15); }
.c-red { color: #ff7a72; background: rgba(240, 82, 79, .14); }
.c-purple { color: #b9a4ff; background: rgba(155, 123, 255, .16); }
.src i .pc { width: 20px; height: 20px; vertical-align: 0; }
.src i .ic { width: 15px; height: 15px; vertical-align: 0; color: var(--text); }
.badge-src .pc { width: 78%; height: 78%; vertical-align: 0; }
.who { display: inline-flex; align-items: center; gap: 6px; }
.games b .pc { width: 20px; height: 20px; margin-right: 2px; }
.games .acc .ic, .op span .ic { width: 15px; height: 15px; color: var(--teal); }
.insight { display: flex; align-items: center; gap: 10px; }
.insight .ic { color: #ff7a72; }
.insight.gold .ic { color: var(--gold); }
.bars span { display: flex; align-items: center; gap: 8px; }
.bars span .ic { color: var(--muted); width: 16px; height: 16px; }
.mini b { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

/* ---------- rating chart */
.chart { margin-top: 8px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, .07); stroke-dasharray: 3 5; }
.chart .ylab, .chart .xlab { fill: var(--muted); font: 500 11px system-ui, sans-serif; }
.chart .ylab { text-anchor: end; }
.chart .xlab { text-anchor: middle; }
.chart .curve { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 10px rgba(245, 196, 81, .35)); }
.chart .pt { fill: var(--bg2); stroke: var(--gold); stroke-width: 2; }
.chart .now { fill: var(--gold); }
.chart .now-ring { fill: rgba(245, 196, 81, .22); }
.chart .tag rect { fill: var(--gold); }
.chart .tag text { fill: #1b1530; font: 800 12px system-ui, sans-serif; text-anchor: middle; }

.bot .av { width: 72px; height: 72px; overflow: hidden; border: 3px solid var(--c); background: var(--c); }
.bot .av img { width: 100%; height: 100%; object-fit: cover; }
