/* tabletennisapi.com: every style for the site, from the approved foundations and homepage previews. */
:root {
    --navy: #0B1F3A; --navy-0: #071427; --navy-2: #132B4D; --navy-3: #1E3A62;
    --ink: #0B1F3A; --ink-2: #334766; --muted: #5B6B86; --faint: #8A98B0;
    --line: #E1E6EF; --bg: #F3F5F9; --soft: #F7F9FC;
    --red: #E5484D; --red-d: #C8363B; --red-t: #FDECEC;
    --ball: #FF7A1A; --ball-d: #E0620A; --ball-t: #FFF1E6;
    --wood: #C98B4B; --green: #16A34A; --green-t: #E7F6EC;
    --r: 10px;
    --display: 'Space Grotesk', Inter, Arial, sans-serif;
    --body: Inter, system-ui, -apple-system, Arial, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  }
  * { box-sizing: border-box; }
  body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.5; background: var(--bg); color: var(--ink); }
  a { color: inherit; }

  /* ---------- Stage: the abstract animated background shared by nav and hero ---------- */
  .stage { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; isolation: isolate; }
  .bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
  .blob.b1 { width: 520px; height: 520px; background: #E5484D; left: -140px; top: 120px; opacity: .28; animation: drift1 22s ease-in-out infinite alternate; }
  .blob.b2 { width: 460px; height: 460px; background: #FF7A1A; right: -120px; top: -160px; opacity: .22; animation: drift2 26s ease-in-out infinite alternate; }
  .blob.b3 { width: 380px; height: 380px; background: #2B5BA8; left: 42%; bottom: -220px; opacity: .45; animation: drift1 30s ease-in-out infinite alternate-reverse; }
  @keyframes drift1 { to { transform: translate(120px, -60px) scale(1.12); } }
  @keyframes drift2 { to { transform: translate(-140px, 90px) scale(.92); } }
  .grid { position: absolute; inset: 0; 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: 44px 44px; mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%); }
  .arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
  .arcs path.trail { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 9; animation: dash 18s linear infinite; opacity: .55; }
  .arcs path.trail.t2 { animation-duration: 24s; opacity: .35; }
  .arcs path.trail.t3 { animation-duration: 30s; opacity: .25; }
  @keyframes dash { to { stroke-dashoffset: -600; } }
  .flyball { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 18px 4px rgba(255,122,26,.55); offset-rotate: 0deg; animation: fly 6.5s cubic-bezier(.45,.05,.55,.95) infinite; }
  .flyball.f2 { width: 8px; height: 8px; opacity: .7; animation-duration: 9s; animation-delay: -3s; box-shadow: 0 0 12px 3px rgba(255,122,26,.45); }
  @keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
  .net { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.08) 30%, rgba(255,255,255,.08) 70%, transparent); }
  @media (prefers-reduced-motion: reduce) { .blob, .arcs path.trail, .flyball, .livedot, .ticker-track, .caret { animation: none !important; } .flyball { display: none; } }

  /* ---------- Logo ---------- */
  .wm { font-family: var(--display); line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 0; letter-spacing: -0.04em; color: inherit; text-decoration: none; }
  .wm svg { height: 1.6em; width: auto; flex: none; margin: 0 .03em 0 -.08em; }
  .wm .t1 { font-weight: 300; } .wm .t2 { font-weight: 700; }
  .wm .api { font-size: 1em; font-weight: 700; letter-spacing: -0.02em; color: var(--ball); margin-left: .2em; }

  /* ---------- Nav ---------- */
  .nav { display: flex; align-items: center; gap: 18px; height: 72px; max-width: 1240px; margin: 0 auto; padding: 0 24px; white-space: nowrap; }
  .nav .wm { font-size: 23px; }
  .nav nav { display: flex; gap: 2px; flex: 1; margin-left: 10px; }
  .nav nav a { color: #C7D2E3; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 10px; border-radius: var(--r); display: inline-flex; align-items: center; gap: 7px; transition: background .15s, color .15s; }
  .nav nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
  .livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; flex: none; }
  .livecount { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: var(--r); }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.6); } 70% { box-shadow: 0 0 0 7px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
  .nav .right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .burger { display: none; width: 42px; height: 42px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); place-items: center; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ''; }
  .burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
  .navwrap { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .2s; }
  .navwrap.scrolled { box-shadow: 0 8px 24px -10px rgba(0,0,0,.55); }

  /* ---------- Buttons ---------- */
  .btn { font-family: var(--body); font-weight: 600; font-size: 14.5px; border-radius: var(--r); padding: 10px 16px; border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
  .btn .ic { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(229,72,77,.7); }
  .btn-primary:hover { background: var(--red-d); transform: translateY(-1px); }
  .btn-ball { background: var(--ball); color: var(--navy); }
  .btn-ball:hover { background: var(--ball-d); color: #fff; }
  .btn-ghost-d { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.2); }
  .btn-ghost-d:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
  .btn-sec-l { background: #fff; color: var(--navy); border-color: #C9D2E0; }
  .btn-sec-l:hover { border-color: var(--navy); }
  .btn-lg { padding: 14px 22px; font-size: 16px; }
  .btn-lg .ic { width: 19px; height: 19px; }

  /* ---------- Hero ---------- */
  .hero { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 72px 24px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 6px 12px 6px 8px; font-size: 13.5px; color: #DCE4F0; margin-bottom: 22px; }
  .eyebrow b { background: var(--red); color: #fff; font-size: 11.5px; padding: 2px 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; }
  .eyebrow b .livedot { background: #fff; width: 6px; height: 6px; animation: none; }
  h1 { font-family: var(--display); font-weight: 700; font-size: 60px; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 20px; }
  h1 .hl { background: linear-gradient(90deg, #FF7A1A, #E5484D); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lede { font-size: 18.5px; line-height: 1.55; color: #C7D2E3; margin: 0 0 26px; max-width: 560px; }
  .lede b { color: #fff; font-weight: 600; }
  .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .fine { font-size: 13.5px; color: #93A4BF; display: flex; gap: 16px; flex-wrap: wrap; }
  .fine span { display: inline-flex; align-items: center; gap: 6px; }
  .fine .ic { width: 15px; height: 15px; fill: none; stroke: #4ADE80; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

  /* Endpoint chips */
  .chips { margin-top: 30px; }
  .chips small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #7E90AE; margin-bottom: 10px; font-weight: 600; }
  .chips .list { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { font-family: var(--mono); font-size: 12.5px; color: #DCE4F0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 5px 9px; text-decoration: none; transition: border-color .15s, background .15s; }
  .chip:hover { border-color: var(--ball); background: rgba(255,122,26,.08); }
  .chip i { font-style: normal; color: #4ADE80; margin-right: 6px; }
  .chip.more { font-family: var(--body); color: var(--ball); border-color: rgba(255,122,26,.4); }

  /* Right: code window + live card */
  .demo { position: relative; }
  .win { background: rgba(7,20,39,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); overflow: hidden; }
  .win .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tabs { display: flex; gap: 4px; }
  .tabs button { font: 500 12.5px var(--body); color: #93A4BF; background: none; border: 0; padding: 5px 10px; border-radius: 7px; cursor: pointer; }
  .tabs button.on { background: rgba(255,255,255,.09); color: #fff; }
  .win .copy { font-size: 12px; color: #93A4BF; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; background: none; border: 0; font-family: var(--body); }
  .win .copy .ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
  .req { font-family: var(--mono); font-size: 13px; line-height: 1.7; padding: 14px 16px; color: #D6E0F0; min-height: 70px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .caret { display: inline-block; width: 7px; height: 15px; background: var(--ball); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .resp { border-top: 1px solid rgba(255,255,255,.08); }
  .resp .rh { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12px; color: #93A4BF; font-family: var(--body); }
  .resp .rh .ok { color: #4ADE80; font-weight: 600; }
  .resp pre { margin: 0; padding: 4px 16px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #D6E0F0; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 262px; }
  .k { color: #FF9F5A; } .s { color: #9FE0B0; } .n { color: #8CC4FF; } .c { color: #6F82A3; }
  .fade-in { animation: fin .35s ease both; }
  @keyframes fin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  .livecard { position: relative; margin: -22px 0 0 -36px; width: 380px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 24px 60px -18px rgba(0,0,0,.55); padding: 14px 16px; border: 1px solid var(--line); }
  .livecard .meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
  .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: var(--r); background: var(--red-t); color: var(--red-d); }
  .pl { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 5px 0; }
  .pl .nm { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
  .pl .nm.lost { color: var(--muted); font-weight: 500; }
  .cc { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; }
  .sc { display: flex; gap: 4px; align-items: center; font-variant-numeric: tabular-nums; }
  .sc .g { width: 22px; text-align: center; font-size: 13px; color: var(--muted); }
  .sc .g.w { color: var(--ink); font-weight: 700; }
  .sc .g.now { color: var(--red-d); font-weight: 700; transition: transform .2s; }
  .sc .g.bump { transform: scale(1.35); }
  .sc .t { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; background: #EEF1F6; margin-left: 4px; }
  .sc .t.win { background: var(--navy); color: #fff; }
  .livecard .foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .livecard .foot code { font-family: var(--mono); color: var(--ink-2); }

  /* ---------- Plans strip: the upsell under the hero ---------- */
  .plans { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 56px 24px 56px; }
  .plans-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
  .plans-head h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0; }
  .plans-head p { margin: 2px 0 0; color: #93A4BF; font-size: 14px; }
  .plans-head a { color: var(--ball); font-weight: 600; text-decoration: none; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
  .pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .plan { position: relative; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, background .2s; }
  .plan:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); background: rgba(255,255,255,.07); }
  .plan.pop { border-color: var(--ball); background: linear-gradient(180deg, rgba(255,122,26,.12), rgba(255,255,255,.04)); }
  .plan .tag { position: absolute; top: -10px; right: 14px; background: var(--ball); color: var(--navy); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 7px; }
  .plan h3 { margin: 0 0 2px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
  .plan h3 .ic { width: 18px; height: 18px; fill: none; stroke: var(--ball); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .plan .price { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 8px 0 2px; }
  .plan .price small { font-family: var(--body); font-size: 13px; font-weight: 500; color: #93A4BF; letter-spacing: 0; }
  .plan .who { font-size: 13px; color: #93A4BF; margin-bottom: 12px; }
  .plan ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13.5px; color: #DCE4F0; display: grid; gap: 7px; flex: 1; }
  .plan li { display: flex; gap: 8px; align-items: flex-start; }
  .plan li .ic { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: #4ADE80; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .plan .btn { width: 100%; }

  /* Endpoint ticker */
  .ticker { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); background: rgba(7,20,39,.5); overflow: hidden; }
  .ticker-track { display: flex; gap: 40px; width: max-content; padding: 14px 0; animation: tick 40s linear infinite; font-family: var(--mono); font-size: 13px; color: #93A4BF; }
  .ticker-track span { white-space: nowrap; }
  .ticker-track b { color: #4ADE80; font-weight: 500; margin-right: 6px; }
  .ticker-track em { font-style: normal; color: #fff; }
  @keyframes tick { to { transform: translateX(-50%); } }

  .after { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; color: var(--muted); font-size: 14px; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1080px) {
    .nav nav { display: none; } .burger { display: grid; }
    .nav .right .btn-ghost-d { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .livecard { margin-left: 16px; }
    .pgrid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 620px) {
    h1 { font-size: 40px; }
    .lede { font-size: 16.5px; }
    .nav .right .btn-primary { display: none; }
    .nav .wm { font-size: 20px; }
    .livecard { width: 100%; margin: 12px 0 0; }
    .pgrid { grid-template-columns: 1fr; }
    .ctas .btn { width: 100%; }
    .resp pre, .req { font-size: 11px; }
  }

  /* ---------- Section 2: Live now ---------- */
  .sec { max-width: 1240px; margin: 0 auto; padding: 88px 24px; }
  .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
  .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-d); margin-bottom: 10px; }
  .sec h2 { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 10px; }
  .sec .sub { font-size: 17px; color: var(--ink-2); margin: 0; max-width: 620px; }
  .livegrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
  .board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
  .mc:hover { border-color: #C9D2E0; box-shadow: 0 10px 30px -18px rgba(11,31,58,.35); }
  .mc.flash { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
  .mc .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; white-space: nowrap; }
  .mc .meta span:first-child { overflow: hidden; text-overflow: ellipsis; }
  .srv { width: 6px; height: 6px; border-radius: 50%; background: var(--ball); display: inline-block; margin-left: 2px; visibility: hidden; }
  .srv.on { visibility: visible; }
  .side-card { background: var(--navy); color: #fff; border-radius: var(--r); padding: 22px; position: sticky; top: 92px; overflow: hidden; }
  .side-card h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
  .side-card p { color: #C7D2E3; font-size: 14.5px; margin: 0 0 16px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
  .fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 12px; }
  .fact b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
  .fact span { font-size: 12.5px; color: #93A4BF; }
  .mini { background: rgba(0,0,0,.25); border-radius: var(--r); font-family: var(--mono); font-size: 12px; line-height: 1.7; padding: 12px 14px; margin-bottom: 18px; color: #D6E0F0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .side-card .btn { width: 100%; }
  .side-card .alt { display: block; text-align: center; margin-top: 10px; font-size: 13.5px; color: #C7D2E3; }
  .side-card .alt a { color: var(--ball); font-weight: 600; text-decoration: none; }
  .board-note { font-size: 12.5px; color: var(--faint); margin-top: 12px; }
  @media (max-width: 1080px) { .livegrid { grid-template-columns: 1fr; } .side-card { position: static; } }
  @media (max-width: 620px) { .board { grid-template-columns: 1fr; } .sec { padding: 60px 16px; } .sec h2 { font-size: 30px; } }

  /* ---------- Section 3: the match, on the table ---------- */
  .arena { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 30% 20%, #17345E 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; }
  .arena::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
  .arena .sec { position: relative; }
  .arena .kicker { color: var(--ball); }
  .arena .sub { color: #C7D2E3; }
  .arena-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
  .court { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; }
  .court-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 12.5px; color: #93A4BF; }
  .court-top .badge { background: rgba(229,72,77,.18); color: #FF8A8E; }
  .view { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.08); flex: 1; min-height: 380px; }
  .view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .view::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,.55); border-radius: var(--r); }
  .hud { position: absolute; z-index: 2; font: 600 10.5px var(--mono); letter-spacing: .12em; color: #93A4BF; }
  .hud.tl { left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .hud.tl::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }
  .hud.tr { right: 12px; bottom: 10px; display: flex; gap: 12px; letter-spacing: 0; font: 500 11.5px var(--body); color: #C7D2E3; }
  .hud.tr span { display: inline-flex; align-items: center; gap: 6px; }
  .hud.tr i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; }
  .hud.tr i.dotb { width: 7px; height: 7px; border-radius: 50%; background: #FF7A1A; box-shadow: 0 0 6px #FF7A1A; }
  .scorebug { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; background: rgba(7,20,39,.85); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 10px 14px; margin-top: 10px; font-variant-numeric: tabular-nums; }
  .scorebug .who { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; white-space: nowrap; }
  .scorebug .who .cc { background: rgba(255,255,255,.1); color: #DCE4F0; }
  .scorebug .who .sv { width: 8px; height: 8px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 10px var(--ball); visibility: hidden; }
  .scorebug .who .sv.on { visibility: visible; }
  .scorebug .nums { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
  .scorebug .gm { width: 24px; text-align: center; font-size: 13px; color: #7E90AE; }
  .scorebug .gm.w { color: #fff; font-weight: 700; }
  .scorebug .gw { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
  .scorebug .pt { width: 38px; height: 28px; border-radius: 8px; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; transition: transform .2s; }
  .scorebug .pt.pop { transform: scale(1.18); }
  .court-note { font-size: 12px; color: #7E90AE; margin-top: 10px; }

  .stats { display: flex; flex-direction: column; gap: 14px; }
  .panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 16px 18px; }
  .panel h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #93A4BF; font-weight: 600; display: flex; justify-content: space-between; }
  .panel h4 span { text-transform: none; letter-spacing: 0; color: #7E90AE; font-weight: 500; }
  .mom { width: 100%; height: 150px; display: block; overflow: visible; }
  .panel h4 .sim { font: 700 10px var(--mono); letter-spacing: .12em; color: var(--ball); border: 1px solid rgba(255,122,26,.45); border-radius: 6px; padding: 2px 6px; }
  .trk { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; align-items: center; }
  .gauge { position: relative; }
  .gauge svg { width: 100%; display: block; }
  .gauge .gv { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
  .gauge .gv b { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 0 18px rgba(255,122,26,.45); }
  .gauge .gv span { font-size: 11.5px; color: #93A4BF; }
  .trk-r { display: grid; gap: 8px; }
  .m2 { display: flex; align-items: baseline; gap: 8px; }
  .m2 b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; min-width: 38px; }
  .m2 span { font-size: 12px; color: #93A4BF; }
  .m2.sp { flex-direction: column; align-items: stretch; gap: 2px; }
  .m2.sp svg { width: 100%; height: 34px; display: block; }
  .dist { margin-top: 14px; display: grid; gap: 9px; }
  .dr { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 10px; font-size: 12.5px; color: #C7D2E3; }
  .dr .tr2 { height: 8px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
  .dr .tr2 i { display: block; height: 100%; border-radius: 6px; transition: width .4s; }
  .dr b { font-family: var(--display); font-size: 15px; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
  .dr .lbl2 { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
  .dr .lbl2 i { width: 8px; height: 8px; border-radius: 50%; }
  .resp-fields { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
  .resp-fields .rl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #93A4BF; font-weight: 600; }
  .resp-fields .fields { margin-top: 8px; }
  .mom-legend { display: flex; justify-content: space-between; font-size: 12px; color: #93A4BF; margin-top: 6px; }
  .mom-legend b { color: #fff; font-weight: 600; }
  .sb { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; margin-bottom: 11px; }
  .sb:last-child { margin-bottom: 0; }
  .sb .v { font-family: var(--display); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
  .sb .v.r { text-align: right; }
  .sb .mid { position: relative; }
  .sb .lbl { font-size: 12.5px; color: #C7D2E3; text-align: center; margin-bottom: 5px; }
  .sb .bar { display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.08); gap: 2px; }
  .sb .bar i { display: block; height: 100%; transition: width .8s cubic-bezier(.2,.8,.2,1); }
  .sb .bar i.a { background: var(--red); } .sb .bar i.b { background: #5B8DEF; }
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .kpi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 12px 14px; }
  .kpi b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
  .kpi span { font-size: 12px; color: #93A4BF; }
  .arena-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
  .arena-cta p { margin: 0; color: #93A4BF; font-size: 14px; }
  .fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .fields span { font-family: var(--mono); font-size: 11.5px; color: #DCE4F0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 2px 7px; }
  .fields span.p { border-color: rgba(255,122,26,.45); color: var(--ball); }
  @media (max-width: 1080px) { .arena-grid { grid-template-columns: 1fr; } }
  @media (max-width: 620px) { .kpis { grid-template-columns: 1fr 1fr; } .scorebug .gm { display: none; } }

  /* ---------- Section 4: coverage since 2021 ---------- */
  .cov { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cov .kicker { color: var(--ball-d); }
  .covgrid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
  .heat { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: linear-gradient(180deg, #FBFCFE, #fff); }
  .heat-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
  .heat-top b { font-size: 15px; }
  .filt { display: flex; gap: 6px; flex-wrap: wrap; }
  .filt button { font: 600 12.5px var(--body); color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 5px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
  .filt button i { width: 8px; height: 8px; border-radius: 50%; }
  .filt button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
  .years { display: grid; gap: 9px; }
  .yr { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 10px; align-items: center; }
  .yr > span { font: 600 12.5px var(--mono); color: var(--muted); }
  .yr > em { font-style: normal; font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
  .wk { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 2px; }
  .wk i { aspect-ratio: 1 / 2.1; border-radius: 3px; background: #EEF1F6; transition: background .35s, transform .15s; position: relative; }
  .wk i:hover { transform: scale(1.5); z-index: 2; box-shadow: 0 2px 8px rgba(11,31,58,.3); }
  .wk i.fut { background: repeating-linear-gradient(45deg, #EEF1F6, #EEF1F6 2px, #fff 2px, #fff 4px); }
  .months { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 10px; margin-top: 6px; }
  .months div { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 10.5px; color: var(--faint); }
  .hstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
  .hstats b { display: block; font: 700 22px var(--display); letter-spacing: -0.02em; }
  .hstats span { font-size: 12px; color: var(--muted); }
  @media (max-width: 620px) { .hstats { grid-template-columns: 1fr 1fr; } }
  .heat-leg { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 10px; }
  .scale { display: inline-flex; align-items: center; gap: 3px; }
  .scale i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
  .tip { position: fixed; z-index: 60; pointer-events: none; background: var(--navy); color: #fff; font-size: 12px; border-radius: 8px; padding: 7px 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transition: opacity .12s; white-space: nowrap; }
  .tip b { display: block; font-size: 12.5px; }
  .tiers { display: grid; gap: 10px; }
  .tier-c { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: #fff; transition: border-color .2s, box-shadow .2s; }
  .tier-c:hover { border-color: #C9D2E0; box-shadow: 0 10px 26px -18px rgba(11,31,58,.4); }
  .tier-c h5 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
  .tier-c h5 i { width: 10px; height: 10px; border-radius: 3px; }
  .tier-c .cnt { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; text-align: right; grid-row: span 2; font-variant-numeric: tabular-nums; }
  .tier-c .cnt small { display: block; font: 500 11.5px var(--body); color: var(--muted); letter-spacing: 0; }
  .tier-c p { margin: 0; font-size: 12.5px; color: var(--muted); }
  .tier-c .meter { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: #EEF1F6; overflow: hidden; margin-top: 6px; }
  .tier-c .meter b { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
  .disc { margin-top: 22px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
  .dc { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px 12px; text-align: center; background: #fff; transition: transform .2s, border-color .2s; }
  .dc:hover { transform: translateY(-3px); border-color: var(--red); }
  .dc svg { width: 64px; height: 44px; display: block; margin: 0 auto 6px; }
  .dc b { display: block; font: 700 15px var(--display); letter-spacing: -0.01em; }
  .dc span { font-size: 11.5px; color: var(--muted); }
  .dc code { display: inline-block; margin-top: 6px; font: 500 11px var(--mono); color: var(--red-d); background: var(--red-t); border-radius: 6px; padding: 1px 6px; }
  .extra { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin-top: 12px; }
  .ex { border: 1px dashed #C9D2E0; border-radius: var(--r); padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
  .ex b { font-size: 13.5px; color: var(--ink); margin-right: 4px; }
  .ex .pill { font: 500 11.5px var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
  .ex.api { border-style: solid; background: var(--navy); color: #D6E0F0; font-family: var(--mono); font-size: 12.5px; }
  .ex.api .g { color: #4ADE80; } .ex.api .q { color: #FF9F5A; }
  @media (max-width: 1080px) { .covgrid { grid-template-columns: 1fr; } .disc { grid-template-columns: repeat(4, 1fr); } .extra { grid-template-columns: 1fr; } }
  @media (max-width: 620px) { .wk { gap: 1px; } .yr, .months { grid-template-columns: 34px minmax(0,1fr); } .yr > em, .months > span:last-child { display: none; } .disc { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- Section 5: endpoint explorer ---------- */
  .xp { background: linear-gradient(180deg, var(--navy-0), var(--navy) 60%, #0E2446); color: #fff; position: relative; overflow: hidden; }
  .xp::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); pointer-events: none; }
  .xp .sec { position: relative; }
  .xp .kicker { color: #4ADE80; } .xp .sub { color: #C7D2E3; }
  .xwin { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; background: rgba(7,20,39,.7); backdrop-filter: blur(6px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
  .xlist { border-right: 1px solid rgba(255,255,255,.08); padding: 12px 10px; background: rgba(255,255,255,.02); }
  .xlist h6 { margin: 12px 8px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #7E90AE; font-weight: 600; }
  .xlist h6:first-child { margin-top: 2px; }
  .xlist button { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 1px solid transparent; color: #C7D2E3; font: 500 13px var(--mono); text-align: left; padding: 7px 8px; border-radius: 8px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
  .xlist button:hover { background: rgba(255,255,255,.05); color: #fff; }
  .xlist button.on { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.35); color: #fff; }
  .xlist button .g { font-size: 10px; color: #4ADE80; flex: none; }
  .xlist button .lk { margin-left: auto; font: 700 9.5px var(--body); color: var(--ball); letter-spacing: .06em; flex: none; }
  .xmain { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-width: 0; }
  .xdoc { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.08); min-width: 0; }
  .xdoc .path { font: 500 15px var(--mono); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .xdoc .path .get { background: #16A34A; color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
  .xdoc .path .v { color: #FF8A8E; }
  .xdoc p.sm { color: #C7D2E3; font-size: 14px; margin: 10px 0 12px; }
  .xplans { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
  .xplans span { font-size: 11.5px; font-weight: 600; border-radius: 7px; padding: 2px 8px; }
  .xplans .y { background: rgba(74,222,128,.12); color: #4ADE80; }
  .xplans .n { background: rgba(255,255,255,.05); color: #5D6F8E; text-decoration: line-through; }
  .xparams { display: grid; gap: 10px; }
  .xp-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
  .xp-row label { font: 500 12.5px var(--mono); color: #DCE4F0; }
  .xp-row label small { display: block; font: 400 11px var(--body); color: #7E90AE; }
  .xp-row input, .xp-row select { width: 100%; font: 13px var(--mono); color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 7px 9px; outline: none; }
  .xp-row input:focus, .xp-row select:focus { border-color: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
  .xp-row select option { background: var(--navy); }
  .xnone { font-size: 13px; color: #7E90AE; border: 1px dashed rgba(255,255,255,.15); border-radius: 8px; padding: 10px 12px; }
  .xrun { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
  .xrun .btn { padding: 9px 14px; }
  .xrun small { color: #7E90AE; font-size: 12px; }
  .xout { display: flex; flex-direction: column; min-width: 0; }
  .xout .bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .xout pre { margin: 0; font: 12.5px/1.65 var(--mono); color: #D6E0F0; padding: 12px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .xout .req { border-bottom: 1px solid rgba(255,255,255,.08); min-height: 0; }
  .xout .res { flex: 1; min-height: 360px; font-size: 11.5px; }
  .xout .stat { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12px; color: #93A4BF; border-bottom: 1px solid rgba(255,255,255,.06); }
  .xout .stat .ok { color: #4ADE80; font-weight: 600; }
  .xout .stat .hd { font-family: var(--mono); font-size: 11.5px; }
  .xfoot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
  .xfoot .dl { display: flex; gap: 10px; flex-wrap: wrap; }
  .xfoot .dl a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #DCE4F0; text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 8px 12px; background: rgba(255,255,255,.03); }
  .xfoot .dl a:hover { border-color: rgba(255,255,255,.35); }
  .xfoot .dl a b { font: 600 11px var(--mono); color: var(--ball); }
  .xfields { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
  .xfields .rl { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #7E90AE; font-weight: 600; }
  .xfields div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .xfields div span { font: 12px var(--mono); color: #DCE4F0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 2px 7px; }
  .xfields div span.p { color: var(--ball); border-color: rgba(255,122,26,.45); }
  .xout .copy { font-size: 12px; color: #93A4BF; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; background: none; border: 0; font-family: var(--body); }
  .xout .copy .ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
  .xout .tabs button { font: 500 12.5px var(--body); color: #93A4BF; background: none; border: 0; padding: 5px 10px; border-radius: 7px; cursor: pointer; }
  .xout .tabs button.on { background: rgba(255,255,255,.09); color: #fff; }
  @media (max-width: 1180px) { .xmain { grid-template-columns: 1fr; } .xdoc { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } }
  @media (max-width: 800px) { .xwin { grid-template-columns: 1fr; } .xlist { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; } .xlist h6 { grid-column: 1 / -1; } }

  /* ---------- Section 6: quick start ---------- */
  .qs6 .kicker { color: var(--red-d); }
  .track6 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
  .rail { position: absolute; left: 0; right: 0; top: 23px; height: 3px; background: #E1E6EF; border-radius: 3px; overflow: hidden; }
  .rail b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--red), var(--ball)); transition: width 1.6s cubic-bezier(.3,.7,.2,1); }
  .st6 { position: relative; display: flex; flex-direction: column; }
  .st6 .card6 { flex: 1; display: flex; flex-direction: column; }
  .st6 .card6 .code6 { flex: 1; display: flex; flex-direction: column; }
  .st6 .card6 .code6 pre { flex: 1; }
  .list6 { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
  .list6 li { display: flex; gap: 8px; align-items: center; }
  .list6 .ic { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .st6 .card6 .keybox { margin-top: auto; }
  .st6 .card6 .lines { margin-top: auto; padding-top: 12px; }
  .st6 .num { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid #E1E6EF; display: grid; place-items: center; font: 700 18px var(--display); color: var(--faint); position: relative; z-index: 1; transition: all .4s; }
  .st6.on .num { border-color: var(--red); color: #fff; background: var(--red); box-shadow: 0 0 0 6px rgba(229,72,77,.15); }
  .st6 h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 16px 0 6px; }
  .st6 > p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; }
  .st6 .time { font: 600 11.5px var(--mono); color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 7px; padding: 2px 7px; margin-left: 8px; vertical-align: 3px; }
  .card6 { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 16px; min-height: 250px; box-shadow: 0 20px 40px -30px rgba(11,31,58,.35); opacity: .45; transform: translateY(8px); transition: opacity .5s, transform .5s; }
  .st6.on .card6 { opacity: 1; transform: none; }
  .signup .in2 { display: flex; gap: 8px; }
  .signup .in2 .btn, .final .sig .in2 .btn { flex: 1; }
  .keybox { margin-top: 16px; border-radius: var(--r); background: var(--navy); color: #fff; padding: 14px; position: relative; overflow: hidden; }
  .keybox small { font-size: 11px; color: #93A4BF; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
  .keybox .k6 { font: 500 14px var(--mono); margin: 6px 0 10px; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .keybox .k6 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .keybox .k6 button { background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: 7px; padding: 4px 8px; font: 600 11.5px var(--body); cursor: pointer; flex: none; }
  .keybox .meta6 { display: flex; gap: 14px; font-size: 12px; color: #C7D2E3; flex-wrap: wrap; }
  .keybox .meta6 b { color: #4ADE80; }
  .keybox::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-20deg); }
  .st6.on .keybox::after { animation: shine 1.4s .6s ease; }
  @keyframes shine { to { left: 130%; } }
  .code6 { background: #0A1830; border-radius: var(--r); overflow: hidden; }
  .code6 .tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid #1B3050; }
  .code6 .tabs button { font: 500 12px var(--body); color: #93A4BF; background: none; border: 0; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
  .code6 .tabs button.on { background: rgba(255,255,255,.1); color: #fff; }
  .code6 pre { margin: 0; padding: 12px 14px; font: 12.5px/1.7 var(--mono); color: #D6E0F0; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 150px; }
  .ok6 { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
  .ok6 i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-t); }
  .ship .mc { box-shadow: none; }
  .ship .mc + .mc { margin-top: 10px; }
  .ship .lines { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
  .ship .lines b { color: var(--ink); }
  .langs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
  .langs > span:first-child { font-size: 13px; color: var(--muted); margin-right: 6px; }
  .lg { font: 600 13px var(--mono); color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 6px 11px; display: inline-flex; align-items: center; gap: 7px; }
  .lg i { width: 8px; height: 8px; border-radius: 2px; }
  @media (max-width: 1080px) { .track6 { grid-template-columns: 1fr; } .rail { display: none; } }

  /* ---------- Section 7: who builds with it ---------- */
  .uc { background: radial-gradient(80% 70% at 85% 10%, #1A3764 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; position: relative; overflow: hidden; }
  .uc .kicker { color: var(--ball); } .uc .sub { color: #C7D2E3; }
  .uctabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
  .uctabs button { position: relative; overflow: hidden; text-align: left; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #C7D2E3; border-radius: var(--r); padding: 12px 14px 14px; cursor: pointer; font: 600 14px var(--body); display: flex; align-items: center; gap: 10px; transition: all .2s; }
  .uctabs button .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .uctabs button:hover { border-color: rgba(255,255,255,.25); color: #fff; }
  .uctabs button.on { background: rgba(255,255,255,.09); border-color: rgba(255,122,26,.6); color: #fff; }
  .uctabs button.on .ic { stroke: var(--ball); }
  .uctabs button i.pr { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--ball)); }
  .ucpane { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 30px; min-height: 440px; }
  .ucpane .txt h3 { font-family: var(--display); font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 12px; }
  .ucpane .txt p { color: #C7D2E3; font-size: 15.5px; margin: 0 0 16px; }
  .ucpane .txt ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 14.5px; color: #DCE4F0; }
  .ucpane .txt li { display: flex; gap: 9px; }
  .ucpane .txt li .ic { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: #4ADE80; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .ucpane .eps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
  .ucpane .eps span { font: 12px var(--mono); color: #DCE4F0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 3px 8px; }
  .ucpane .eps span b { color: #4ADE80; font-weight: 500; margin-right: 5px; }
  .ucpane .cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .ucpane .cta small { color: #93A4BF; font-size: 13px; }
  .fadein { animation: ucin .45s ease both; }
  @keyframes ucin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .stage7 { position: relative; display: grid; place-items: center; min-height: 380px; }
  /* phone */
  .phone7 { width: 270px; border-radius: 34px; background: #05101F; padding: 10px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8), inset 0 0 0 2px #22385A; }
  .phone7 .scr { border-radius: 26px; background: #F3F5F9; overflow: hidden; color: var(--ink); height: 470px; }
  .phone7 .ntc { height: 26px; display: flex; justify-content: center; align-items: center; background: var(--navy); } .phone7 .ntc i { width: 70px; height: 7px; border-radius: 6px; background: #000; }
  .phone7 .ab { background: var(--navy); color: #fff; padding: 8px 14px 12px; font: 700 15px var(--display); display: flex; justify-content: space-between; align-items: center; }
  .phone7 .ab small { font: 600 11px var(--body); background: var(--red); padding: 2px 7px; border-radius: 6px; }
  .phone7 .row7 { background: #fff; margin: 8px 8px 0; border-radius: 10px; padding: 9px 11px; border: 1px solid var(--line); }
  .phone7 .row7 .mt { font-size: 10px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 4px; }
  .phone7 .row7 .mt b { color: var(--red-d); }
  .phone7 .pr7 { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; padding: 2px 0; }
  .phone7 .pr7 span:last-child { font-variant-numeric: tabular-nums; }
  .phone7 .pr7 em { font-style: normal; color: var(--red-d); margin-left: 6px; }
  .push { position: absolute; right: 4%; top: 12%; width: 230px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 10px 12px; font-size: 12px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: pushin 4s ease-in-out infinite; }
  .push b { display: block; font-size: 12.5px; }
  @keyframes pushin { 0%, 100% { transform: translateY(-8px); opacity: 0; } 15%, 80% { transform: none; opacity: 1; } }
  /* browser */
  .brw { width: 100%; max-width: 560px; border-radius: 12px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); }
  .brw .bb { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #E9EDF3; }
  .brw .bb i { width: 10px; height: 10px; border-radius: 50%; background: #C9D2E0; }
  .brw .bb span { margin-left: 10px; flex: 1; background: #fff; border-radius: 7px; font: 11.5px var(--mono); color: var(--muted); padding: 3px 10px; }
  .brw .bd { padding: 18px; }
  .brw h4 { margin: 0 0 2px; font: 700 22px var(--display); letter-spacing: -0.02em; }
  .brw .sub7 { color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
  .rec { display: grid; gap: 8px; margin-bottom: 14px; }
  .rec div { display: grid; grid-template-columns: 34px 1fr 64px; gap: 10px; align-items: center; font-size: 12.5px; }
  .rec b { font-family: var(--mono); font-size: 12px; }
  .rec .bar7 { height: 10px; border-radius: 5px; background: #EEF1F6; overflow: hidden; display: flex; }
  .rec .bar7 i { background: var(--green); } .rec .bar7 u { background: #F6C4C6; }
  .rec span { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
  .form7 { display: flex; gap: 4px; }
  .form7 i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 700 11px var(--body); font-style: normal; color: #fff; }
  .form7 .w { background: var(--green); } .form7 .l { background: var(--red); }
  /* notebook */
  .nb { width: 100%; max-width: 560px; border-radius: 12px; background: #0A1830; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); font: 12.5px/1.65 var(--mono); }
  .nb .cell { display: grid; grid-template-columns: 44px 1fr; border-bottom: 1px solid #1B3050; }
  .nb .cell > span { color: #5D6F8E; padding: 10px 0 0 10px; font-size: 11px; }
  .nb pre { margin: 0; padding: 10px 12px; color: #D6E0F0; white-space: pre-wrap; }
  .nb .plot { padding: 10px 12px 14px; }
  .nb .plot svg { width: 100%; height: 150px; display: block; background: #0E2140; border-radius: 8px; }
  /* chat */
  .chat { width: 100%; max-width: 520px; display: grid; gap: 10px; }
  .bub { border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; max-width: 88%; }
  .bub.u { justify-self: end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
  .bub.a { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
  .tool { justify-self: start; font: 12px var(--mono); color: #C7D2E3; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px; display: flex; gap: 8px; align-items: center; }
  .tool i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }
  .bub.a table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
  .bub.a td { padding: 4px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .bub.a td:last-child { text-align: right; font-weight: 700; }
  .typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); margin-right: 3px; animation: bl 1s infinite; }
  .typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
  @keyframes bl { 50% { opacity: .2; } }
  /* coach */
  .scout { width: 100%; max-width: 540px; background: #fff; color: var(--ink); border-radius: 12px; padding: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); }
  .scout .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
  .scout .vs div { text-align: center; }
  .scout .vs b { display: block; font: 700 16px var(--display); }
  .scout .vs small { color: var(--muted); font-size: 12px; }
  .scout .vs .big { font: 700 34px var(--display); letter-spacing: -0.03em; }
  .scout .meet { display: grid; gap: 6px; }
  .scout .meet div { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; background: var(--soft); align-items: center; }
  .scout .meet div span:nth-child(2) { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scout .meet b.w { color: var(--green); } .scout .meet b.l { color: var(--red-d); }
  @media (max-width: 1080px) { .uctabs { grid-template-columns: repeat(2, 1fr); } .ucpane { grid-template-columns: 1fr; } .push { display: none; } }

  /* ---------- Section 8: MCP ---------- */
  .mcp8 .kicker { color: #7C3AED; }
  .mgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
  .msteps { display: grid; gap: 12px; margin: 6px 0 20px; }
  .ms { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
  .ms b.n { width: 34px; height: 34px; border-radius: 50%; background: #F1EAFE; color: #6D28D9; display: grid; place-items: center; font: 700 15px var(--display); }
  .ms h5 { margin: 5px 0 2px; font-size: 15.5px; }
  .ms p { margin: 0; font-size: 14px; color: var(--ink-2); }
  .cfg { background: #0A1830; border-radius: var(--r); overflow: hidden; }
  .cfg .ch { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #1B3050; font-size: 12.5px; color: #93A4BF; }
  .cfg .ch .tabs button { font: 500 12px var(--body); color: #93A4BF; background: none; border: 0; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
  .cfg .ch .tabs button.on { background: rgba(255,255,255,.1); color: #fff; }
  .cfg pre { margin: 0; padding: 12px 16px; font: 12.5px/1.7 var(--mono); color: #D6E0F0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .cfg .ph { color: #C4B5FD; }
  .flow { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(70% 70% at 50% 50%, #F6F2FF, #fff 70%); height: 440px; overflow: hidden; }
  .flow svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
  .flow .wire { fill: none; stroke: #D9CCF9; stroke-width: 2; }
  .flow .pkt { fill: #7C3AED; filter: drop-shadow(0 0 4px rgba(124,58,237,.7)); }
  .flow .pkt.back { fill: var(--ball); filter: drop-shadow(0 0 4px rgba(255,122,26,.7)); }
  .node { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 26px -16px rgba(11,31,58,.4); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .node small { display: block; font: 500 11px var(--body); color: var(--muted); }
  .node .dot8 { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 12px var(--display); color: #fff; flex: none; }
  .hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 0 0 10px rgba(124,58,237,.08), 0 0 0 22px rgba(124,58,237,.05), 0 24px 50px -20px rgba(11,31,58,.8); }
  .hub svg { width: 46px; height: 48px; display: block; margin: 0 auto 4px; }
  .hub b { font: 700 14px var(--display); letter-spacing: -0.01em; display: block; }
  .hub small { font: 600 10px var(--mono); color: #C4B5FD; letter-spacing: .12em; }
  .hub::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(124,58,237,.45); animation: hubp 2.4s ease-out infinite; }
  @keyframes hubp { from { transform: scale(.95); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
  .ask { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-2); box-shadow: 0 8px 20px -12px rgba(11,31,58,.4); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
  .ask b { color: #6D28D9; }
  .tools8 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .tl { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: #fff; transition: border-color .2s, transform .2s; }
  .tl:hover { border-color: #C4B5FD; transform: translateY(-2px); }
  .tl code { font: 600 13px var(--mono); color: #6D28D9; }
  .tl p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
  .tl .pp { float: right; font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
  .tl .pp.f { background: var(--green-t); color: var(--green); } .tl .pp.p { background: var(--ball-t); color: var(--ball-d); }
  @media (max-width: 1080px) { .mgrid { grid-template-columns: 1fr; } .tools8 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .tools8 { grid-template-columns: 1fr; } .flow { height: 400px; } .node { font-size: 12px; padding: 7px 9px; } }

  /* ---------- Section 9: players and head to head ---------- */
  .h2h9 { background: radial-gradient(90% 80% at 50% 0%, #1A3764 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; overflow: hidden; position: relative; }
  .h2h9 .kicker { color: #FF8A8E; } .h2h9 .sub { color: #C7D2E3; }
  .rivals { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .rivals button { font: 600 13.5px var(--body); color: #C7D2E3; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 8px 14px; cursor: pointer; transition: all .2s; }
  .rivals button.on { background: #fff; color: var(--navy); border-color: #fff; }
  .arena9 { position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); background: rgba(255,255,255,.03); padding: 28px; overflow: hidden; }
  .arena9::before, .arena9::after { content: ''; position: absolute; top: -40%; width: 60%; height: 180%; filter: blur(60px); opacity: .22; pointer-events: none; }
  .arena9::before { left: -25%; background: var(--red); } .arena9::after { right: -25%; background: #3E7BFF; }
  .face { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; position: relative; z-index: 1; }
  .pc { display: flex; align-items: center; gap: 16px; }
  .pc.r { flex-direction: row-reverse; text-align: right; }
  .av { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 700 28px var(--display); letter-spacing: -0.02em; flex: none; position: relative; }
  .pc.l .av { background: linear-gradient(135deg, #FF6B70, #B8262C); box-shadow: 0 0 0 4px rgba(229,72,77,.25), 0 16px 40px -10px rgba(229,72,77,.6); }
  .pc.r .av { background: linear-gradient(135deg, #7FA8FF, #2350B8); box-shadow: 0 0 0 4px rgba(91,141,239,.25), 0 16px 40px -10px rgba(91,141,239,.6); }
  .pc h3 { margin: 0; font: 700 28px var(--display); letter-spacing: -0.025em; line-height: 1.05; }
  .pc .cty { font: 500 12px var(--mono); color: #93A4BF; margin-top: 4px; }
  .pc .rk { margin-top: 8px; display: inline-flex; gap: 6px; }
  .pc .rk span { font-size: 11.5px; background: rgba(255,255,255,.08); border-radius: 6px; padding: 2px 7px; color: #DCE4F0; }
  .score9 { text-align: center; }
  .score9 .big { font: 700 72px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  .score9 .big i { font-style: normal; color: #5D6F8E; margin: 0 8px; font-size: 48px; vertical-align: 10px; }
  .score9 .big .a { color: #FF6B70; } .score9 .big .b { color: #7FA8FF; }
  .score9 small { display: block; font-size: 12px; color: #93A4BF; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
  .tug { position: relative; z-index: 1; margin: 26px 0 8px; height: 14px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; }
  .tug i { display: block; height: 100%; transition: width 1s cubic-bezier(.2,.8,.2,1); }
  .tug i.a { background: linear-gradient(90deg, #B8262C, #FF6B70); } .tug i.b { background: linear-gradient(90deg, #7FA8FF, #2350B8); margin-left: auto; }
  .cmp { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
  .cm { background: rgba(7,20,39,.55); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 12px 14px; }
  .cm .lb { font-size: 11.5px; color: #93A4BF; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; text-align: center; margin-bottom: 8px; }
  .cm .vv { display: flex; justify-content: space-between; align-items: baseline; font: 700 22px var(--display); font-variant-numeric: tabular-nums; }
  .cm .vv .a { color: #FF8A8E; } .cm .vv .b { color: #8FB3F7; }
  .cm .mb9 { display: flex; height: 5px; border-radius: 4px; overflow: hidden; margin-top: 8px; gap: 2px; }
  .cm .mb9 i { display: block; height: 100%; transition: width .9s; } .cm .mb9 i.a { background: #E5484D; } .cm .mb9 i.b { background: #5B8DEF; }
  .tl9 { position: relative; z-index: 1; margin-top: 26px; }
  .tl9 .hd { display: flex; justify-content: space-between; font-size: 12px; color: #93A4BF; margin-bottom: 10px; }
  .line9 { position: relative; height: 92px; }
  .line9::before { content: ''; position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: rgba(255,255,255,.12); }
  .mt9 { position: absolute; top: 46px; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--navy); cursor: pointer; transition: transform .2s; animation: pop9 .5s both; }
  .mt9.a { background: #E5484D; margin-top: -20px; } .mt9.b { background: #5B8DEF; margin-top: 20px; }
  .mt9:hover { transform: translate(-50%, -50%) scale(1.4); }
  .mt9 .lab { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 11px var(--mono); color: #DCE4F0; }
  .mt9.a .lab { bottom: 22px; } .mt9.b .lab { top: 22px; }
  @keyframes pop9 { from { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }
  .yrs9 { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: #5D6F8E; margin-top: 4px; }
  .h2hcta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
  .h2hcta code { font: 13px var(--mono); color: #DCE4F0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 9px 12px; }
  .h2hcta code b { color: #4ADE80; font-weight: 500; }
  @media (max-width: 900px) { .face { grid-template-columns: 1fr; text-align: center; } .pc, .pc.r { flex-direction: column; text-align: center; } .cmp { grid-template-columns: 1fr 1fr; } .mt9 .lab { display: none; } }

  /* ---------- Section 10: plans ---------- */
  .pl10 { background: #fff; border-top: 1px solid var(--line); }
  .pl10 .kicker { color: var(--ball-d); }
  .bill { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 4px; gap: 4px; }
  .bill button { font: 600 13.5px var(--body); border: 0; background: none; color: var(--ink-2); padding: 8px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
  .bill button.on { background: var(--navy); color: #fff; }
  .bill button em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--green-t); color: var(--green); border-radius: 6px; padding: 1px 6px; }
  .bill button.on em { background: #4ADE80; color: var(--navy); }
  .pt { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 22px; font-size: 14px; }
  .pt th, .pt td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: normal; background: none; text-transform: none; letter-spacing: 0; }
  .pt th:first-child, .pt td:first-child { text-align: left; width: 26%; color: var(--ink-2); }
  .pt thead th { vertical-align: top; padding: 18px 14px 16px; border-bottom: 2px solid var(--line); color: var(--ink); font-size: 14px; }
  .pt thead th .pn { font: 700 20px var(--display); letter-spacing: -0.02em; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .pt thead th .pn .ic { width: 18px; height: 18px; fill: none; stroke: var(--ball-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pt thead th .pr { font: 700 30px var(--display); letter-spacing: -0.03em; margin: 8px 0 2px; }
  .pt thead th .pr small { font: 500 13px var(--body); color: var(--muted); letter-spacing: 0; }
  .pt thead th .pr.tbd { font-size: 20px; color: var(--ink-2); padding: 7px 0 3px; }
  .pt thead th .who { font-size: 12.5px; color: var(--muted); font-weight: 500; min-height: 34px; }
  .pt thead th .btn { width: 100%; margin-top: 10px; }
  .pt .recm { background: linear-gradient(180deg, #FFF6EE, #fff 40%); }
  .pt thead th.recm { border-top: 3px solid var(--ball); border-radius: var(--r) var(--r) 0 0; position: relative; }
  .pt thead th.recm .tag10 { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ball); color: var(--navy); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 7px; white-space: nowrap; }
  .pt td.recm { background: #FFFBF7; }
  .pt tr.grp td { background: var(--soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); padding: 9px 16px; }
  .pt td code { font: 12.5px var(--mono); color: var(--ink); }
  .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-t); }
  .yes .ic { width: 13px; height: 13px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .no { display: inline-block; width: 12px; height: 2px; background: #C9D2E0; border-radius: 2px; vertical-align: middle; }
  .soon { font-size: 11px; font-weight: 700; color: #6D28D9; background: #F1EAFE; border-radius: 6px; padding: 2px 7px; }
  .pt td b.big { font: 700 17px var(--display); color: var(--ink); }
  .pt td small { display: block; font-size: 12px; color: var(--muted); }
  .assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
  .as { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 13.5px; color: var(--ink-2); }
  .as .ic { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .as b { display: block; color: var(--ink); font-size: 14px; }
  .mbg { position: fixed; inset: 0; z-index: 80; background: rgba(7,20,39,.6); display: none; place-items: center; padding: 16px; backdrop-filter: blur(3px); }
  .mbg.on { display: grid; animation: fin .2s ease; }
  .mdl { background: #fff; border-radius: var(--r); width: 100%; max-width: 460px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
  .mdl .mh { padding: 20px 22px 6px; font: 700 21px var(--display); letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; }
  .mdl .mh button { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
  .mdl .mb { padding: 6px 22px 16px; font-size: 14px; color: var(--ink-2); }
  .mdl .sr { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .mdl .sr b { color: var(--ink); }
  .mdl .ck { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; }
  .mdl .ck input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 1px; }
  .mdl .mf { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }
  .mdl .mf .btn[disabled] { opacity: .45; cursor: not-allowed; }
  @media (max-width: 980px) { .ptwrap { overflow-x: auto; } .pt { min-width: 820px; } .assure { grid-template-columns: 1fr 1fr; } }

  /* ---------- Section 11: FAQ, final call and footer ---------- */
  .faq { background: var(--bg); }
  .faq .kicker { color: var(--red-d); }
  .fwrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; }
  .fside { position: sticky; top: 96px; display: grid; gap: 14px; }
  .fsearch { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #C9D2E0; border-radius: var(--r); padding: 10px 12px; }
  .fsearch:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.1); }
  .fsearch .ic { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
  .fsearch input { border: 0; outline: 0; font: 14.5px var(--body); width: 100%; background: none; color: var(--ink); }
  .fcats { display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
  .fcats button { display: flex; justify-content: space-between; align-items: center; border: 0; background: none; font: 500 14px var(--body); color: var(--ink-2); padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
  .fcats button:hover { background: var(--soft); }
  .fcats button.on { background: var(--navy); color: #fff; }
  .fcats em { font-style: normal; font-size: 12px; color: var(--faint); font-weight: 600; }
  .fcats button.on em { color: #93A4BF; }
  .fhelp { background: var(--navy); color: #fff; border-radius: var(--r); padding: 18px; }
  .fhelp b { display: block; font: 700 17px var(--display); margin-bottom: 4px; }
  .fhelp p { margin: 0 0 12px; font-size: 13.5px; color: #C7D2E3; }
  .fhelp .btn { width: 100%; }
  .ftools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
  .ftools button { border: 0; background: none; font: 600 13px var(--body); color: var(--red-d); cursor: pointer; }
  .fgrp { margin-bottom: 26px; }
  .fgrp h3 { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
  .qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; transition: border-color .2s, box-shadow .2s; }
  .qa:hover { border-color: #C9D2E0; }
  .qa[open] { border-color: #C9D2E0; box-shadow: 0 14px 30px -22px rgba(11,31,58,.45); }
  .qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; }
  .qa summary::-webkit-details-marker { display: none; }
  .qa .q { font: 600 16px var(--body); color: var(--ink); }
  .qa .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); position: relative; flex: none; transition: background .2s, transform .3s; }
  .qa .pm::before, .qa .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--ink-2); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
  .qa .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
  .qa[open] .pm { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
  .qa[open] .pm::before, .qa[open] .pm::after { background: #fff; }
  .qa[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
  .qa .a { padding: 0 18px 18px; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 780px; }
  .qa .a p { margin: 0 0 10px; } .qa .a p:last-child { margin-bottom: 0; }
  .qa .a code { font: 13px var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; color: var(--ink); white-space: nowrap; }
  .qa .a pre { font: 13px/1.6 var(--mono); background: #0A1830; color: #D6E0F0; border-radius: var(--r); padding: 12px 14px; margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .qa .a strong { color: var(--ink); }
  .qa[open] .a { animation: fin .3s ease; }
  mark { background: #FFE8D6; color: inherit; border-radius: 3px; padding: 0 1px; }
  .fnone { display: none; background: #fff; border: 1px dashed #C9D2E0; border-radius: var(--r); padding: 22px; text-align: center; color: var(--muted); }
  /* final call */
  .final { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 20% 20%, #213F6E, var(--navy) 55%, var(--navy-0)); color: #fff; }
  .final .sec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
  .final h2 { font: 700 44px/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 12px; }
  .final h2 .hl { background: linear-gradient(90deg, #FF7A1A, #E5484D); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .final p { color: #C7D2E3; font-size: 17px; margin: 0 0 22px; max-width: 560px; }
  .final .ctas { margin: 0; }
  .final .sig { display: grid; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 20px; }
  .final .sig b { font-size: 13px; font-weight: 600; }
  .final .sig .in2 { display: flex; gap: 8px; }
  .final .sig small { color: #93A4BF; font-size: 12.5px; }
  .final .bg-ball { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFC08A, #FF7A1A 45%, #C8500A); opacity: .18; filter: blur(2px); animation: floaty 9s ease-in-out infinite alternate; }
  @keyframes floaty { to { transform: translate(-40px, 30px); } }
  /* footer */
  .foot { background: var(--navy-0); color: #93A4BF; font-size: 14px; }
  .foot .in { max-width: 1240px; margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
  .foot .wm { font-size: 22px; color: #fff; }
  .foot .about p { margin: 14px 0 0; line-height: 1.6; max-width: 320px; }
  .foot h6 { margin: 0 0 12px; color: #fff; font-size: 13px; font-weight: 600; }
  .foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
  .foot a { color: #93A4BF; text-decoration: none; } .foot a:hover { color: #fff; }
  .foot .base { max-width: 1240px; margin: 0 auto; padding: 18px 24px 30px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7E90AE; }
  @media (max-width: 1000px) { .fwrap { grid-template-columns: 1fr; } .fside { position: static; } .fcats { grid-template-columns: repeat(2, 1fr); } .final .sec { grid-template-columns: 1fr; } .foot .in { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .final h2 { font-size: 32px; } .fcats { grid-template-columns: 1fr; } .foot .in { grid-template-columns: 1fr; } }
.board-empty { grid-column: 1 / -1; border: 1px dashed #C9D2E0; border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); background: #fff; }
.mc .cfoot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }

/* ---------- Documentation (/documentation): every class starts dx- so nothing clashes with the homepage ---------- */
.nav nav a.on { color: #fff; background: var(--navy-2); }
.dx { display: grid; grid-template-columns: 280px minmax(0, 1fr); max-width: 1440px; margin: 0 auto; background: #fff; min-height: calc(100vh - 72px); }
.dx .ic, .dx-copy .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dx-side { border-right: 1px solid var(--line); padding: 18px 14px 40px; position: sticky; top: 73px; align-self: start; max-height: calc(100vh - 73px); overflow-y: auto; }
.dx-search { display: flex; align-items: center; gap: 8px; border: 1px solid #C9D2E0; border-radius: var(--r); padding: 7px 10px; color: var(--faint); margin-bottom: 12px; }
.dx-search:focus-within { border-color: var(--navy); }
.dx-search input { border: 0; outline: none; font: 14px var(--body); color: var(--ink); width: 100%; background: none; }
.dx-key { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin: 0 8px; }
.dx-key .dx-dot { margin-left: 0; }
.dx-side h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 16px 8px 6px; font-weight: 600; }
.dx-sl { display: flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-size: 13.5px; padding: 5px 8px; border-radius: var(--r); white-space: nowrap; }
.dx-sl:hover { background: var(--soft); }
.dx-sl .dx-mono { font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.dx-sl .dx-tx { overflow: hidden; text-overflow: ellipsis; }
.dx-sl.on { background: var(--navy); color: #fff; }
.dx-sl.dx-pl { color: var(--faint); }
.dx-sl.on.dx-pl { color: #fff; }
.dx-vb { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--green); background: var(--green-t); border-radius: 6px; padding: 1px 5px; flex: none; }
.dx-sl.on .dx-vb { background: rgba(255,255,255,.14); color: #fff; }
.dx-sl.dx-pl .dx-vb { color: var(--faint); background: var(--soft); }
.dx-toc { display: none; }
.dx [hidden] { display: none !important; }
.dx-dot { width: 7px; height: 7px; border-radius: 50%; background: #A78BFA; margin-left: auto; flex: none; display: inline-block; }
.dx-soon { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #6D28D9; background: #F1EAFE; border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
h1 .dx-soon { font-size: 12px; vertical-align: 6px; margin-left: 6px; }
.dx-main { padding: 28px 40px 80px; min-width: 0; max-width: 980px; }
.dx-main h1 { font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; overflow-wrap: anywhere; }
.dx-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dx-crumbs a, .dx-lead a { color: var(--ink-2); }
.dx-lead { margin: 0 0 20px; color: var(--ink-2); font-size: 16.5px; max-width: 760px; }
.dx-lead code { font: 13px var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.dx-prose { max-width: 820px; }
.dx-prose h2 { font-family: var(--display); font-size: 21px; letter-spacing: -0.01em; margin: 28px 0 8px; }
.dx-prose p, .dx-prose li { color: var(--ink-2); font-size: 15px; }
.dx-prose a { color: var(--red-d); }
.dx-prose code, .dx-tbl code { font: 13px var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; color: var(--ink); }
.dx-prose pre code { all: unset; }
.dx-steps { padding-left: 20px; }
.dx-steps li { margin-bottom: 8px; }
.dx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 8px; }
.dx-facts div { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-width: 0; }
.dx-facts small { display: block; font-size: 12px; color: var(--muted); }
.dx-facts b { font-size: 14px; overflow-wrap: anywhere; }
.dx-facts code { font-size: 12px; background: none; border: 0; padding: 0; white-space: normal; overflow-wrap: anywhere; }
.dx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 10px 0; }
.dx-card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: inherit; text-decoration: none; }
.dx-prose .dx-card { color: var(--ink); }
.dx-card b { display: flex; align-items: center; gap: 6px; }
.dx-card p { margin: 4px 0 0; font-size: 13.5px; }
.dx-link { transition: border-color .15s, transform .15s; }
.dx-link:hover { border-color: var(--navy); transform: translateY(-1px); }
.dx-tbl { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); margin: 10px 0; }
.dx-tbl th, .dx-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); }
.dx-tbl th { background: var(--soft); font-size: 12.5px; color: var(--ink); }
.dx-tip { border-left: 3px solid var(--ball); background: var(--ball-t); border-radius: 0 var(--r) var(--r) 0; padding: 10px 14px; font-size: 14px; color: var(--ink-2); margin: 14px 0; }
.dx-log { display: grid; gap: 14px; }
.dx-le { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.dx-dt { font: 13px var(--mono); color: var(--muted); }
.dx-le p { margin: 4px 0 0; }
.dx-code { background: #0A1830; color: #D6E0F0; border-radius: var(--r); font-family: var(--mono); font-size: 12.5px; line-height: 1.65; overflow: hidden; margin: 12px 0; }
.dx-ch { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px 7px 14px; border-bottom: 1px solid #1B3050; font-family: var(--body); font-size: 12.5px; color: #93A4BF; }
.dx-copy { background: none; border: 0; color: #93A4BF; cursor: pointer; padding: 4px; border-radius: 6px; display: inline-flex; }
.dx-copy:hover { color: #fff; background: rgba(255,255,255,.08); }
.dx-copy.done { color: #4ADE80; }
.dx-code pre { margin: 0; padding: 12px 16px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.dx-planned { border: 1px solid #DDD0FB; background: linear-gradient(180deg, #FAF7FF, #fff); border-radius: var(--r); padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 14px 0; }
.dx-planned b { display: block; font-size: 16px; margin-bottom: 4px; color: #6D28D9; }
.dx-planned p { margin: 0; font-size: 14px; color: var(--ink-2); }
.dx-planned ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.dx-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 12px; margin-bottom: 22px; }
.dx-tally div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.dx-tally b { display: block; font: 700 28px var(--display); letter-spacing: -0.02em; }
.dx-tally span { font-size: 13px; color: var(--muted); }
.dx-tally .dx-v b { color: #6D28D9; }
.dx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dx-chips { display: flex; gap: 6px; }
.dx-chips button { font: 600 13px var(--body); color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; cursor: pointer; }
.dx-chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.dx-legend { font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dx-legend i, .dx-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.dx-y { background: var(--green); } .dx-n { background: #D5DCE7; }
.dx-dots { display: inline-flex; gap: 5px; }
.dx-idx { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: 14px; }
.dx-idx td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.dx-idx td:first-child { width: 330px; }
.dx-idx a { text-decoration: none; color: var(--ink); }
.dx-idx a:hover code { text-decoration: underline; }
.dx-idx code { font: 12.5px var(--mono); white-space: nowrap; }
.dx-idx code b { color: var(--green); font-weight: 500; margin-right: 4px; }
.dx-idx .dx-gh td { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-2); }
.dx-gh span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); margin-left: 10px; }
.dx-idx .planned td { background: #FCFBFF; }
.dx-idx .planned a { color: var(--muted); }
.dx-idx .planned code b { color: var(--faint); }
.dx-er { cursor: pointer; }
.dx-er:hover td { background: var(--soft); }
.dx-st { width: 290px; }
.dx-need { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.dx-pathline { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin: 16px 0 12px; font-family: var(--mono); font-size: 14.5px; overflow-wrap: anywhere; }
.dx-get { background: var(--green); color: #fff; font-size: 12px; border-radius: 6px; padding: 3px 8px; flex: none; }
.dx-get.dx-off { background: var(--faint); }
.dx-host { color: var(--faint); }
.dx-var { color: var(--red-d); }
.dx-plans { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.dx-pon { background: var(--green-t); color: #11793A; font-weight: 600; border-radius: 6px; padding: 2px 8px; }
@media (max-width: 1100px) { .dx-idx td:first-child { width: auto; } .dx-st { width: auto; } }
@media (max-width: 860px) {
  .dx { grid-template-columns: 1fr; }
  .dx-side { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .dx-side:not(.open) > :not(.dx-toc) { display: none; }
  .dx-side.open .dx-toc { margin-bottom: 12px; }
  .dx-toc { display: flex; align-items: center; gap: 8px; width: 100%; font: 600 14px var(--body); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; cursor: pointer; }
  .dx-main { padding: 22px 16px 60px; }
  .dx-main h1 { font-size: 28px; }
  .dx-facts { grid-template-columns: 1fr 1fr; }
  .dx-tally { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dx-le, .dx-planned { grid-template-columns: 1fr; }
  .dx-idx td:nth-child(2) { display: none; }
  .dx-idx code { white-space: normal; }
  .dx-tbl { display: block; overflow-x: auto; }
  .dx-tbl th, .dx-tbl td { padding: 8px 10px; }
}

/* ---------- Free key (/signup): every class starts su- ---------- */
.su .ic { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.su-top { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.su-glow { position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; border-radius: 50%; background: #FF7A1A; opacity: .16; filter: blur(80px); pointer-events: none; }
.su-wrap { position: relative; max-width: 1240px; margin: 0 auto; padding: 64px 24px 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; align-items: center; }
.su-kick { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 6px 12px; font-size: 13.5px; color: #DCE4F0; margin-bottom: 20px; }
.su-kick .ic { color: var(--ball); width: 16px; height: 16px; }
.su-top h1 { font-family: var(--display); font-weight: 700; font-size: 56px; letter-spacing: -0.035em; line-height: 1.03; margin: 0 0 18px; }
.su-top h1 .hl { background: linear-gradient(90deg, #FF7A1A, #E5484D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.su-lede { font-size: 18px; line-height: 1.55; color: #C7D2E3; margin: 0 0 24px; max-width: 540px; }
.su-lede b { color: #fff; font-weight: 600; }
.su-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: #DCE4F0; }
.su-ticks li { display: flex; align-items: center; gap: 10px; }
.su-ticks .ic, .su-col h3 .ic, .su-ok .ic { stroke: #4ADE80; stroke-width: 2.5; }
.su-card { background: #fff; color: var(--ink); border-radius: var(--r); padding: 28px; box-shadow: 0 30px 80px -24px rgba(0,0,0,.6); }
.su-card h2 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin: 0 0 18px; }
.su-card label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }
.su-card label small { color: var(--faint); font-weight: 500; }
.su-card select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }
.su-card select { width: 100%; font: 15px var(--body); color: var(--ink); border: 1px solid #C9D2E0; border-radius: var(--r); padding: 11px 12px; margin-bottom: 20px; background: #fff; outline: none; }
.su-google { width: 100%; padding: 14px 18px; font-size: 16px; background: #fff; color: var(--ink); border-color: #C9D2E0; box-shadow: 0 1px 2px rgba(11,31,58,.08); }
.su-google:hover { border-color: var(--navy); background: var(--soft); }
/* Google's own button (assets/onetap.js): shown, and the plain button hidden, only once Google's script has drawn it */
.su-gbtn { display: none; }
html.g-ready .su-gbtn { display: flex; justify-content: center; min-height: 44px; }
html.g-ready .su-google { display: none; }
.su-intro { color: var(--ink-2); font-size: 14.5px; margin: -8px 0 18px; }
.su-fine { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.55; }
.su-fine a, .su-have a { color: var(--ink-2); }
.su-have { font-size: 14px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.su-ok { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.su-ok .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green-t); stroke: var(--green); }
.su-dsub { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 16px; }
.su-key { display: flex; align-items: center; gap: 6px; background: var(--navy); border-radius: var(--r); padding: 8px 8px 8px 14px; }
.su-key code { flex: 1; min-width: 0; font: 500 14px var(--mono); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; }
.su-kb { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: var(--r); padding: 7px 10px; font: 600 12.5px var(--body); cursor: pointer; flex: none; }
.su-kb:hover { background: rgba(255,255,255,.18); }
.su-kb .ic { width: 15px; height: 15px; }
.su-mail { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 14px 0 18px; font-size: 13.5px; color: var(--ink-2); }
.su-mail .ic { color: var(--muted); margin-top: 1px; }
.su-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.su-acts .btn { flex: 1; }
.su-acts .btn-ghost-d { background: #fff; color: var(--navy); border-color: #C9D2E0; }
.su-acts .btn-ghost-d:hover { border-color: var(--navy); background: #fff; }
.su-sec { background: #fff; }
.su-sec.su-alt { background: var(--bg); }
.su-wrap2 { max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.su-head { margin-bottom: 22px; }
.su-head h2 { font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; margin: 0 0 6px; }
.su-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.su-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.su-stats div { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.su-stats b { display: block; font: 700 30px var(--display); letter-spacing: -0.03em; line-height: 1.1; }
.su-stats span { font-size: 13px; color: var(--muted); }
.su-eps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.su-col { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.su-col h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 12px; }
.su-col ul { list-style: none; padding: 0; margin: 0; display: grid; }
.su-col li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); align-items: baseline; }
.su-col li code, .su-steps code, .su-faq code { font: 12.5px var(--mono); color: var(--ink); }
.su-col li em { grid-column: 2; font-style: normal; font-size: 12px; font-weight: 600; color: #B45309; }
.su-lock { background: linear-gradient(180deg, #FFFBF6, #fff); border-color: #F6DCC4; }
.su-lock h3 .ic { stroke: var(--ball-d); }
.su-lock .btn { margin-top: 14px; }
.su-first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.su-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.su-steps b { color: var(--ink); }
.su-more { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.su-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--red-d); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.su-code { background: #0A1830; border-radius: var(--r); overflow: hidden; color: #D6E0F0; box-shadow: 0 24px 60px -30px rgba(11,31,58,.6); }
.su-ch { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid #1B3050; font-size: 12.5px; color: #93A4BF; }
.su-ch2 { border-top: 1px solid #1B3050; padding: 9px 16px; }
.su-code pre { margin: 0; padding: 14px 16px; font: 12.5px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.su-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.su-faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.su-faq summary { font-weight: 600; cursor: pointer; font-size: 15.5px; }
.su-faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1080px) { .su-wrap, .su-first { grid-template-columns: 1fr; gap: 32px; } .su-eps { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .su-top h1 { font-size: 38px; } .su-wrap { padding: 40px 16px 48px; } .su-wrap2 { padding: 48px 16px; } .su-card { padding: 20px; } .su-stats { grid-template-columns: 1fr 1fr; } .su-col li { grid-template-columns: 1fr; } .su-col li em { grid-column: 1; } .su-faq { grid-template-columns: 1fr; } .su-head h2 { font-size: 28px; } }
.su-note { background: var(--ball-t); border-left: 3px solid var(--ball); border-radius: 0 var(--r) var(--r) 0; padding: 10px 12px; font-size: 14px; color: var(--ink-2); margin: -4px 0 16px; }
.su-card { position: relative; }

/* ---------- Dashboard (/account): every class starts ac- ---------- */
.ac { max-width: 1240px; margin: 0 auto; padding: 28px 24px 70px; }
.ac .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ac-hi { margin: 0 0 2px; font-size: 13.5px; color: var(--muted); }
.ac-hi b { color: var(--ink-2); font-weight: 600; }
.ac h1 { font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; margin: 0; }
.ac-plan { display: flex; align-items: center; gap: 12px; }
.ac-badge { font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; }
.ac-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 20px; }
.ac-tabs a { padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.ac-tabs a:hover { color: var(--ink); }
.ac-tabs a.on { color: var(--ink); border-bottom-color: var(--red); }
.ac-tabs b { font-size: 11.5px; background: var(--line); color: var(--ink-2); border-radius: var(--r); padding: 0 7px; }
.ac-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.ac-card, .ac-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.ac-ct { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.ac-ct em { font-style: normal; font-weight: 600; font-size: 12.5px; }
.ac-live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.ac-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ac-big { display: block; font: 700 30px/1.15 var(--display); letter-spacing: -0.03em; margin: 8px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-big small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.ac-big.ac-mono { font: 600 21px/1.4 var(--mono); letter-spacing: 0; }
.ac-meter { height: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ac-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--ball), var(--red)); }
.ac-sub { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.ac-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.ac-warn { border-color: #F5C2C4; background: linear-gradient(180deg, #FFF7F7, #fff); }
.ac-warn .ac-ct em { color: var(--red-d); }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.ac-main, .ac-side { display: grid; gap: 14px; min-width: 0; }
.ac-bh { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ac-bh h2, .ac-up h2 { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; margin: 0; }
.ac-bh span { font-size: 13px; color: var(--muted); }
.ac-bh a { font-size: 13.5px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.ac-chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; border-bottom: 1px solid var(--line); }
.ac-chart i { flex: 1; background: #C9D6EA; border-radius: 3px 3px 0 0; min-width: 0; }
.ac-chart i:hover { background: var(--navy); }
.ac-chart i.ac-cap { background: var(--ball); }
.ac-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin: 6px 0 14px; }
.ac-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ac-tbl td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.ac-tbl tr:last-child td { border-bottom: 0; }
.ac-tbl code { font: 12.5px var(--mono); color: var(--ink); }
.ac-share { display: inline-block; width: 90px; height: 6px; background: var(--soft); border-radius: var(--r); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.ac-share i { display: block; height: 100%; background: var(--navy); }
.ac-keys td b { display: block; color: var(--ink); font-size: 15px; }
.ac-sm { padding: 7px 12px; font-size: 13.5px; }
.ac-acts { text-align: right; }
.ac-acts button { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--body); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; cursor: pointer; margin-left: 6px; }
.ac-acts button:hover { border-color: var(--navy); }
.ac-acts .ac-bad { color: var(--red-d); }
.ac-acts .ac-bad:hover { border-color: var(--red); }
.ac-foot { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.ac-log h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 14px 0 6px; }
.ac-log h3:first-child { margin-top: 0; }
.ac-le { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ac-le b { color: var(--ink); font-weight: 600; }
.ac-le small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ac-t { font: 12.5px var(--mono); color: var(--faint); padding-top: 1px; }
.ac-fail b, .ac-fail small { color: var(--red-d); }
.ac-up { background: radial-gradient(120% 120% at 100% 0%, #1E3A62, var(--navy) 60%); color: #fff; border: 0; }
.ac-up p { color: #C7D2E3; font-size: 14px; margin: 8px 0 12px; line-height: 1.55; }
.ac-up ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 14px; color: #DCE4F0; }
.ac-up li { display: flex; gap: 8px; align-items: center; }
.ac-up li .ic { stroke: #4ADE80; stroke-width: 2.5; }
.ac-up .btn { width: 100%; }
.ac-help { display: grid; gap: 2px; }
.ac-help a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.ac-help a:hover { background: var(--soft); color: var(--ink); }
@media (max-width: 1080px) { .ac-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ac-cards { grid-template-columns: 1fr; } .ac { padding: 20px 16px 50px; } .ac-tabs { overflow: visible; flex-wrap: wrap; } .ac-keys th:nth-child(2), .ac-keys td:nth-child(2), .ac-keys th:nth-child(4), .ac-keys td:nth-child(4) { display: none; } .ac-acts button { padding: 6px 8px; } .ac-tbl td { white-space: normal; } .ac-share { display: none; } .ac-chart { gap: 2px; } }
.nav .right .btn-ghost-d.on { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.ac-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body); }
.ac-new { border-color: #A7E3BA; background: linear-gradient(180deg, #F3FBF6, #fff); margin-bottom: 14px; }
.ac-flash { background: var(--ball-t); border-left: 3px solid var(--ball); border-radius: 0 var(--r) var(--r) 0; padding: 10px 14px; font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.ac-acts form { display: inline; }
.ac-off td { color: var(--faint); }
.ac-off td b { color: var(--muted); }
.ac-ren td { background: var(--soft); }
.ac-ren form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ac-ren label { font-size: 13px; font-weight: 600; }
.ac-ren input { flex: 1; min-width: 160px; font: 14px var(--body); border: 1px solid #C9D2E0; border-radius: var(--r); padding: 7px 10px; }
.ac-empty { margin: 0; font-size: 14px; color: var(--ink-2); }
.ac-empty a { color: var(--red-d); }
.ac-note { margin: 12px 0 0; font-size: 12px; color: var(--faint); }

/* ---------- Pricing (/pricing): every class starts pr- ---------- */
.pr .ic { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pr-top { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.pr-glow { position: absolute; width: 560px; height: 560px; left: -180px; top: -240px; border-radius: 50%; background: #E5484D; opacity: .16; filter: blur(80px); pointer-events: none; }
.pr-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 60px 24px 150px; text-align: center; }
.pr-kick { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 6px 12px; font-size: 13.5px; color: #DCE4F0; margin-bottom: 18px; }
.pr-kick .ic { color: var(--ball); width: 15px; height: 15px; }
.pr-top h1 { font-family: var(--display); font-weight: 700; font-size: 50px; letter-spacing: -0.035em; line-height: 1.05; margin: 0 auto 16px; max-width: 820px; }
.pr-top h1 .hl { background: linear-gradient(90deg, #FF7A1A, #E5484D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-lede { font-size: 18px; line-height: 1.55; color: #C7D2E3; margin: 0 auto 26px; max-width: 640px; }
.pr-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.pr-switch button { font: 600 14px var(--body); color: #C7D2E3; background: none; border: 0; border-radius: var(--r); padding: 8px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pr-switch button.on { background: #fff; color: var(--navy); }
.pr-switch em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--ball); border-radius: 6px; padding: 1px 6px; }
.pr-cards-wrap { max-width: 1240px; margin: -110px auto 0; padding: 0 24px; position: relative; }
.pr-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pr-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 24px 60px -34px rgba(11,31,58,.55); display: flex; flex-direction: column; }
.pr-pop { border: 2px solid var(--ball); }
.pr-tag { position: absolute; top: -12px; left: 22px; background: var(--ball); color: var(--navy); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 7px; }
.pr-card h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0; }
.pr-card h3 .ic { color: var(--ball-d); }
.pr-who { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); }
.pr-price { display: block; font: 700 34px/1.1 var(--display); letter-spacing: -0.03em; }
.pr-price.pr-tbc { font-size: 24px; color: var(--ink-2); padding: 6px 0 4px; }
.pr-unit { margin: 2px 0 16px; font-size: 13px; color: var(--muted); min-height: 18px; }
.pr-card .btn { width: 100%; margin-bottom: 18px; }
.pr-card ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pr-card li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.pr .pr-y { stroke: var(--green); stroke-width: 2.5; margin-top: 1px; }
.pr-fine { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.pr-sec { background: var(--bg); }
.pr-alt { background: #fff; }
.pr-in2 { max-width: 1240px; margin: 0 auto; padding: 64px 24px; }
.pr-head { margin-bottom: 20px; }
.pr-head h2 { font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; margin: 0 0 6px; }
.pr-head p { margin: 0; color: var(--ink-2); }
.pr-tblwrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.pr-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.pr-tbl th { position: sticky; top: 72px; background: #fff; text-align: left; font-size: 15px; padding: 14px 16px; border-bottom: 1px solid var(--line); z-index: 1; }
.pr-tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.pr-tbl td:first-child { color: var(--ink); font-weight: 500; width: 30%; }
.pr-tbl td code { display: block; font: 12px var(--mono); color: var(--muted); font-weight: 400; margin-top: 2px; }
.pr-tbl .pr-grp td { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); padding: 9px 16px; }
.pr-n { color: var(--faint); font-size: 13px; }
.pr-soon { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #6D28D9; background: #F1EAFE; border-radius: 6px; padding: 1px 6px; margin-left: 8px; vertical-align: 1px; }
.pr-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.pr-faq { display: grid; gap: 10px; }
.pr-faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: #fff; }
.pr-faq summary { font-weight: 600; cursor: pointer; font-size: 15.5px; }
.pr-faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.pr-faq code { font: 13px var(--mono); }
.pr-lic { background: radial-gradient(120% 120% at 100% 0%, #1E3A62, var(--navy) 60%); color: #fff; border-radius: var(--r); padding: 24px; position: sticky; top: 92px; }
.pr-lic h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
.pr-lic p { color: #C7D2E3; font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; }
.pr-lic .btn { width: 100%; }
.pr-lic .pr-small { font-size: 12px; color: #93A4BF; margin: 14px 0 0; }
@media (max-width: 1080px) { .pr-cards { grid-template-columns: 1fr 1fr; } .pr-two { grid-template-columns: 1fr; } .pr-lic { position: static; } }
@media (max-width: 760px) { .pr-tbl { font-size: 12.5px; } .pr-tbl th { position: static; font-size: 11.5px; padding: 10px 5px; overflow-wrap: anywhere; } .pr-tbl td { padding: 9px 5px; overflow-wrap: anywhere; } .pr-tbl td:first-child { padding-left: 10px; } .pr-tbl td code { display: none; } .pr-tbl td:first-child { width: 34%; } }
@media (max-width: 620px) { .pr-top h1 { font-size: 34px; } .pr-in { padding: 40px 16px 130px; } .pr-cards-wrap, .pr-in2 { padding-left: 16px; padding-right: 16px; } .pr-cards { grid-template-columns: 1fr; } .pr-in2 { padding-top: 48px; padding-bottom: 48px; } .pr-head h2 { font-size: 26px; } }
.pr-wait { cursor: default; opacity: .7; }
.pr-wait:hover { transform: none; }

/* ---------- Keys (/account/keys): every class starts kp- ---------- */
.kp-make label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.kp-row { display: flex; gap: 10px; }
.kp-row input { flex: 1; min-width: 0; font: 15px var(--body); border: 1px solid #C9D2E0; border-radius: var(--r); padding: 10px 12px; outline: none; }
.kp-row input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }
.kp-spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; width: 50px; margin-right: 8px; vertical-align: middle; }
.kp-spark i { flex: 1; background: #C9D6EA; border-radius: 2px 2px 0 0; }
.ac-off .kp-spark i { background: var(--line); }
.kp-st { font-size: 12.5px; font-weight: 600; color: var(--faint); }
.kp-code { background: #0A1830; color: #D6E0F0; border-radius: var(--r); margin-bottom: 12px; }
.kp-code pre { margin: 0; padding: 12px 14px; font: 12.5px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.kp-code .s { color: #9FE0B0; }
.kp-tips { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.kp-tips li { display: flex; gap: 8px; align-items: flex-start; }
.kp-tips .ic { stroke: var(--green); stroke-width: 2.5; margin-top: 2px; }
.kp-tips code, .kp-first code { font: 12.5px var(--mono); color: var(--ink); }
.kp-first { margin-top: 0; }
.kp-keys td { white-space: normal; }
.kp-keys td:not(:first-child) { white-space: nowrap; }
@media (max-width: 760px) { .kp-keys th:nth-child(5), .kp-keys td:nth-child(5) { display: none; } .kp-row { flex-direction: column; } .kp-keys td:not(:first-child) { white-space: normal; } .kp-keys .ac-acts button { margin: 3px 0 3px 6px; } }
.kp-row .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Activity (/account/activity): every class starts av- ---------- */
.av-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.av-filter a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; }
.av-filter a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.av-filter b { font-size: 11.5px; background: var(--red); color: #fff; border-radius: var(--r); padding: 0 6px; }
.av-day { margin-bottom: 8px; }
.av-log h3 { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 16px 0 6px; }
.av-log h3 span { font-weight: 500; color: var(--muted); }
.av-log .av-day:first-child h3 { margin-top: 0; }
.av-more { margin-top: 10px; }
.av-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.av-sum div { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.av-sum b { display: block; font: 700 26px/1.1 var(--display); letter-spacing: -0.03em; }
.av-sum span { font-size: 12.5px; color: var(--muted); }
.av-bad b { color: var(--red-d); }
.av-why td small { display: block; font-size: 12px; color: var(--muted); white-space: normal; }

/* ---------- Plan and billing (/account/billing): every class starts pb- ---------- */
.pb-cur { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; }
.pb-cur > div b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -0.03em; }
.pb-cur > div span { font-size: 13.5px; color: var(--muted); }
.pb-cur dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pb-cur dl div { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.pb-cur dt { font-size: 12px; color: var(--muted); }
.pb-cur dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.pb-month { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.pb-month b { color: var(--ink); font-size: 15px; }
.pb-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pb-plan { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; }
.pb-pop { border: 2px solid var(--ball); }
.pb-plan h3 { margin: 0; font-size: 17px; }
.pb-who { margin: 2px 0 10px; font-size: 13px; color: var(--muted); }
.pb-price { font: 700 18px var(--display); color: var(--ink-2); margin-bottom: 10px; }
.pb-plan ul, .pb-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); flex: 1; align-content: start; }
.pb-plan li, .pb-list li { display: flex; gap: 8px; align-items: flex-start; }
.ac .pb-y { stroke: var(--green); stroke-width: 2.5; margin-top: 1px; }
.pb-plan .btn { width: 100%; }
.pb-soon { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); background: var(--ball-t); border-radius: var(--r); padding: 10px 12px; }
.pb-first { margin-top: 0; }
.pb-modal { position: fixed; inset: 0; background: rgba(7,20,39,.6); display: grid; place-items: center; z-index: 100; padding: 16px; }
.pb-modal[hidden] { display: none; }
.pb-dialog { position: relative; background: #fff; border-radius: var(--r); padding: 26px; width: 100%; max-width: 460px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.pb-dialog h2 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin: 0 0 6px; }
.pb-dsub { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-2); }
.pb-dsub code { font: 13px var(--mono); }
.pb-x { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: var(--r); }
.pb-x:hover { background: var(--soft); }
.pb-sw { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); margin-bottom: 14px; }
.pb-sw button { font: 600 13.5px var(--body); color: var(--ink-2); background: none; border: 0; border-radius: var(--r); padding: 7px 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.pb-sw button.on { background: var(--navy); color: #fff; }
.pb-sw em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--navy); background: var(--ball); border-radius: 6px; padding: 1px 5px; }
.pb-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 14px; }
.pb-total span { font-size: 14px; color: var(--muted); }
.pb-total b { font: 700 22px var(--display); }
.pb-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 16px; cursor: pointer; }
.pb-agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.pb-agree a { color: var(--red-d); }
.pb-acts { display: flex; gap: 10px; }
.pb-acts .btn { flex: 1; }
.pb-acts .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pb-fine { margin: 12px 0 0; font-size: 12px; color: var(--faint); text-align: center; }
@media (max-width: 760px) { .pb-cur { grid-template-columns: 1fr; } .pb-cur dl { grid-template-columns: 1fr 1fr; } .pb-plans { grid-template-columns: 1fr; } .pb-acts { flex-direction: column-reverse; } }
.pb-wait { cursor: default; opacity: .7; }
.pb-wait:hover { transform: none; }

/* ---------- Live (/live): every class starts lv- ---------- */
.lv .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lv-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.lv-in { max-width: 1240px; margin: 0 auto; padding: 40px 24px 28px; display: grid; gap: 22px; }
.lv-kick { display: inline-flex; align-items: center; gap: 8px; background: rgba(229,72,77,.16); border: 1px solid rgba(229,72,77,.35); color: #FFC9CB; border-radius: var(--r); padding: 5px 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.lv-top h1 { font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 10px; }
.lv-top p { margin: 0; max-width: 640px; color: #C7D2E3; font-size: 16.5px; line-height: 1.55; }
.lv-evs { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-evs a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #DCE4F0; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 7px 12px; }
.lv-evs a.on { background: #fff; color: var(--navy); border-color: #fff; }
.lv-evs b { font-size: 11.5px; background: var(--red); color: #fff; border-radius: var(--r); padding: 0 6px; }
.lv-grid { max-width: 1240px; margin: 0 auto; padding: 28px 24px 70px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.lv-main { display: grid; gap: 26px; min-width: 0; }
.lv-main[hidden] { display: none; }
.lv-eh { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.lv-eh h2 { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin: 0; }
.lv-eh span { font-size: 13px; color: var(--muted); }
.lv-eh a { font-size: 13.5px; font-weight: 600; color: var(--red-d); text-decoration: none; white-space: nowrap; }
.lv-note { margin: 0; font-size: 12.5px; color: var(--faint); }
.lv-quiet { background: #fff; border: 1px dashed #C9D2E0; border-radius: var(--r); padding: 26px; }
.lv-quiet h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.lv-quiet p { margin: 0 0 16px; color: var(--ink-2); }
.lv-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.lv-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.lv-box h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; margin: 0 0 10px; }
.lv-next, .lv-done { list-style: none; padding: 0; margin: 0; display: grid; }
.lv-next li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lv-time { font: 600 13px var(--mono); color: var(--ink-2); padding-top: 1px; }
.lv-next b, .lv-done b { font-weight: 600; color: var(--ink); }
.lv-next small, .lv-done small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.lv-done li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.lv-done em { font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.lv-dash { margin: 0 3px; color: var(--faint); }
.lv-cc { font: 10.5px var(--mono); color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; }
.lv-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
@media (max-width: 1080px) { .lv-grid { grid-template-columns: 1fr; } .lv-side { position: static; } }
@media (max-width: 620px) { .lv-top h1 { font-size: 34px; } .lv-in { padding: 28px 16px 22px; } .lv-grid { padding: 20px 16px 50px; } .lv-eh { flex-direction: column; align-items: flex-start; } }
/* match cards: long names shorten instead of widening the card */
.mc { min-width: 0; }
.pl { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pl .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .sc .g { width: 18px; font-size: 12px; } }

/* ---------- Results (/results): every class starts rs- ---------- */
.rs .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.rs-in { max-width: 1240px; margin: 0 auto; padding: 36px 24px 22px; display: grid; gap: 18px; }
.rs-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.rs-kick { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 10px; }
.rs-top h1 { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 8px; }
.rs-top p { margin: 0; color: #C7D2E3; font-size: 16px; }
.rs-arrows { display: flex; gap: 8px; flex: none; }
.rs-arrows a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.04); }
.rs-arrows a:hover { border-color: rgba(255,255,255,.45); }
.rs-arrows .ic { width: 18px; height: 18px; }
.rs-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rs-days a { display: grid; gap: 1px; text-decoration: none; color: #C7D2E3; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 8px 10px; }
.rs-days a span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #93A4BF; }
.rs-days a b { font-size: 15px; color: #fff; }
.rs-days a em { font-style: normal; font-size: 12px; color: #93A4BF; }
.rs-days a.on { background: #fff; border-color: #fff; }
.rs-days a.on span, .rs-days a.on em { color: var(--muted); }
.rs-days a.on b { color: var(--navy); }
.rs-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rs-chips a { font-size: 13.5px; font-weight: 600; color: #DCE4F0; text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 6px 12px; }
.rs-chips a.on { background: var(--ball); border-color: var(--ball); color: var(--navy); }
.rs-grid { max-width: 1240px; margin: 0 auto; padding: 28px 24px 70px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.rs-main { display: grid; gap: 22px; min-width: 0; }
.rs-ev { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.rs-eh { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 6px; }
.rs-eh h2 { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; margin: 0; }
.rs-eh span { font-size: 13px; color: var(--muted); }
.rs-eh a { font-size: 13.5px; font-weight: 600; color: var(--red-d); text-decoration: none; white-space: nowrap; }
.rs-disc { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 16px 0 4px; }
.rs-round h4 { font-size: 13px; color: var(--ink-2); margin: 8px 0 4px; }
.rs-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) auto; grid-template-areas: "a s b m" "g g g g"; align-items: center; gap: 2px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 6px; color: var(--ink-2); }
.rs-row:hover { border-color: #C9D2E0; background: var(--soft); }
.rs-p { grid-area: a; display: flex; align-items: center; gap: 8px; font-size: 14.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-pb { grid-area: b; justify-content: flex-end; }
.rs-won { color: var(--ink); font-weight: 700; }
.rs-cc { font: 10.5px var(--mono); color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; font-weight: 400; }
.rs-score { grid-area: s; display: flex; justify-content: center; align-items: center; gap: 4px; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--faint); }
.rs-score i { font-style: normal; font-weight: 400; }
.rs-score .rs-hi { color: var(--ink); }
.rs-g { grid-area: g; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font: 12px var(--mono); color: var(--faint); }
.rs-g .rs-w { color: var(--ink-2); }
.rs-m { grid-area: m; font-size: 12px; color: var(--faint); white-space: nowrap; }
.rs-note { margin: 0; font-size: 12.5px; color: var(--faint); }
.rs-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.rs-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.rs-box h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; margin: 0 0 12px; }
.rs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-stats div { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.rs-stats b { display: block; font: 700 22px/1.15 var(--display); letter-spacing: -0.02em; }
.rs-stats span { font-size: 12.5px; color: var(--muted); }
.rs-none { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; margin: 0 0 6px; }
.rs-note a { color: var(--red-d); }
@media (max-width: 1080px) { .rs-grid { grid-template-columns: 1fr; } .rs-side { position: static; } }
@media (max-width: 620px) { .rs-top h1 { font-size: 28px; } .rs-in { padding: 26px 16px 18px; } .rs-grid { padding: 20px 16px 50px; } .rs-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rs-days a:nth-child(-n+3) { display: none; } .rs-arrows a { width: 38px; height: 38px; } .rs-row { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); grid-template-areas: "a s b" "g g g" "m m m"; } .rs-m { text-align: center; } .rs-eh { flex-direction: column; align-items: flex-start; } }

/* ---------- Players (/players): every class starts py- ---------- */
.py .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.py-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.py-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px 56px; }
.py-kick { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 16px; }
.py-top h1 { font-family: var(--display); font-weight: 700; font-size: 48px; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 18px; }
.py-lede { margin: 0 0 32px; max-width: 640px; color: #C7D2E3; font-size: 17.5px; line-height: 1.65; }
.py-search { display: flex; align-items: center; gap: 12px; max-width: 680px; background: #fff; border-radius: var(--r); padding: 8px 8px 8px 18px; color: var(--faint); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
.py-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 17px var(--body); color: var(--ink); padding: 12px 0; background: none; }
.py-search .ic { width: 18px; height: 18px; }
.py-try { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: #93A4BF; }
.py-try a { color: #DCE4F0; text-decoration: none; border-bottom: 1px solid rgba(220,228,240,.35); margin-right: 4px; }
.py-try a:hover { border-bottom-color: #DCE4F0; }
.py-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.py-main { display: grid; gap: 22px; min-width: 0; }
.py-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.py-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.py-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.py-bh h2 { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; margin: 0; }
.py-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.py-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 46px 64px; gap: 10px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; border-radius: 6px; }
.py-row:hover { background: var(--soft); }
.py-n { font: 600 12.5px var(--mono); color: var(--faint); text-align: right; }
.py-name { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-cc { font: 400 10.5px var(--mono); color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; flex: none; }
.py-wl { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 13.5px; text-align: right; }
.py-pct { display: flex; align-items: center; gap: 6px; }
.py-pct i { display: block; height: 6px; border-radius: 6px; background: var(--green); flex: none; max-width: 26px; }
.py-pct em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.py-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.py-countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.py-countries a { display: grid; gap: 2px; justify-items: start; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; text-decoration: none; color: var(--ink); }
.py-countries a:hover { border-color: #C9D2E0; background: var(--soft); }
.py-countries b { font-size: 14px; }
.py-countries em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.py-side { display: grid; gap: 14px; position: sticky; top: 92px; }
.py-h2h h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; margin: 0 0 4px; }
.py-h2h p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.py-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 14px; }
.py-ps { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.py-pn { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.py-lead { color: var(--ink); font-weight: 700; }
.py-pair b { font: 700 15px var(--display); text-align: right; }
.py-pair:hover .py-pn { text-decoration: underline; }
.py-kick a { color: inherit; text-decoration: none; }
.py-empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .py-grid { grid-template-columns: 1fr; } .py-side { position: static; } }
@media (max-width: 760px) { .py-two { grid-template-columns: 1fr; } .py-countries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .py-top h1 { font-size: 34px; } .py-in { padding: 40px 16px 36px; } .py-grid { padding: 20px 16px 50px; } .py-search .btn { padding: 10px 12px; } }

/* ---------- A player (/players/<slug>): every class starts pl- ---------- */
.pl-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.pl-in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 48px; }
.pl-crumb { margin: 0 0 26px; font-size: 13.5px; color: #93A4BF; display: flex; gap: 8px; }
.pl-crumb a { color: #C7D2E3; text-decoration: none; }
.pl-crumb a:hover { color: #fff; }
.pl-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.pl-id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.pl-flag { width: 72px; height: 72px; flex: none; border-radius: var(--r); display: grid; place-items: center; font: 700 20px var(--mono); color: var(--navy); background: linear-gradient(135deg, #FFB27A, var(--ball)); }
.pl-top h1 { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 8px; }
.pl-sub { margin: 0; color: #C7D2E3; font-size: 16px; }
.pl-form { display: grid; gap: 8px; justify-items: end; }
.pl-form > span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #93A4BF; font-weight: 600; }
.pl-form > div { display: flex; gap: 5px; }
.pl-form i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 700 12px var(--body); font-style: normal; }
.pl-form .pl-w { background: rgba(74,222,128,.18); color: #4ADE80; }
.pl-form .pl-l { background: rgba(229,72,77,.22); color: #FF8A8E; }
.pl-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pl-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 16px 18px; }
.pl-stats b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -0.03em; }
.pl-stats span { font-size: 13px; color: #93A4BF; }
.pl-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.pl-main, .pl-side { display: grid; gap: 22px; min-width: 0; }
.pl-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.pl-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pl-bh h2 { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.pl-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.pl-m { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pl-md { font: 12.5px var(--mono); color: var(--muted); }
.pl-mi { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pl-mi > div { min-width: 0; }
.pl-res { width: 26px; height: 26px; flex: none; border-radius: 7px; display: grid; place-items: center; font-size: 12px; }
.pl-res.pl-w { background: var(--green-t); color: var(--green); }
.pl-res.pl-l { background: var(--red-t); color: var(--red-d); }
.pl-opp { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-mi small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pl-cc { font: 400 10.5px var(--mono); color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; flex: none; }
.pl-ms { display: grid; justify-items: end; gap: 3px; }
.pl-ms b { font: 700 17px var(--display); }
.pl-gs { display: flex; gap: 6px; font: 11.5px var(--mono); color: var(--faint); }
.pl-gs .pl-gw { color: var(--ink-2); }
.pl-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.pl-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pl-tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.pl-tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pl-tbl tr:last-child td { border-bottom: 0; }
.pl-tbl td:first-child { color: var(--ink); font-weight: 600; }
.pl-bar { display: inline-block; width: 80px; height: 6px; background: var(--soft); border-radius: 6px; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--green); }
.pl-op { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.pl-on { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-op:hover .pl-on { text-decoration: underline; }
.pl-op b { font: 700 15px var(--display); }
.pl-op .pl-up { color: var(--green); }
.pl-op .pl-dn { color: var(--red-d); }
.pl-evs { list-style: none; padding: 0; margin: 0; }
.pl-evs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pl-evs em { font-style: normal; font-size: 13px; color: var(--ink-2); }
.pl-evs em.pl-win { color: #B45309; font-weight: 700; }
.pl-evs small { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.pl-empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .pl-grid { grid-template-columns: 1fr; } .pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pl-in { padding: 32px 16px 36px; } .pl-top h1 { font-size: 34px; } .pl-flag { width: 56px; height: 56px; font-size: 16px; } .pl-form { justify-items: start; } .pl-stats { grid-template-columns: 1fr 1fr; } .pl-stats div:last-child { grid-column: 1 / -1; } .pl-grid { padding: 24px 16px 50px; } .pl-m { grid-template-columns: minmax(0, 1fr) auto; } .pl-md { display: none; } .pl-gs { display: none; } .pl-bar { display: none; } .pl-bh { flex-wrap: wrap; } .pl-bh span { white-space: normal; } .pl-tbl { font-size: 14px; } .pl-tbl th, .pl-tbl td { padding-left: 6px; padding-right: 6px; } .pl-tbl td { white-space: nowrap; } .pl-tbl td:first-child { white-space: normal; } }

/* ---------- Head to head (/players/<a>/vs/<b>): every class starts hh- ---------- */
.hh-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hh-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hh-top { background: radial-gradient(120% 90% at 50% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.hh-in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 48px; }
.hh-crumb { margin: 0 0 30px; font-size: 13.5px; color: #93A4BF; display: flex; gap: 8px; flex-wrap: wrap; }
.hh-crumb a { color: #C7D2E3; text-decoration: none; }
.hh-crumb a:hover { color: #fff; }
.hh-face { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 34px; }
.hh-p { display: flex; align-items: center; gap: 18px; min-width: 0; color: #fff; text-decoration: none; }
.hh-p.hh-r { flex-direction: row-reverse; text-align: right; }
.hh-p > div { min-width: 0; }
.hh-flag { width: 64px; height: 64px; flex: none; border-radius: var(--r); display: grid; place-items: center; font: 700 18px var(--mono); color: var(--navy); background: linear-gradient(135deg, #FFB27A, var(--ball)); }
.hh-p.hh-r .hh-flag { background: linear-gradient(135deg, #DCE4F0, #9FB3CF); }
.hh-name { display: block; font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.hh-p:hover .hh-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hh-p small { display: block; margin-top: 6px; color: #C7D2E3; font-size: 15px; }
.hh-score { text-align: center; }
.hh-score b { display: block; font: 700 64px/1 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.hh-score b i { font-style: normal; color: #5C7090; margin: 0 10px; }
.hh-score span { display: block; margin-top: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #93A4BF; font-weight: 600; }
.hh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hh-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 16px 18px; }
.hh-stats b { display: block; font: 700 26px/1.1 var(--display); letter-spacing: -0.03em; }
.hh-stats span { font-size: 13px; color: #93A4BF; }
.hh-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.hh-main, .hh-side { display: grid; gap: 22px; min-width: 0; }
.hh-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.hh-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.hh-bh h2 { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.hh-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.hh-m { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.hh-md { font: 12.5px var(--mono); color: var(--muted); }
.hh-mi { min-width: 0; }
.hh-mi b { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-mi small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hh-ms { display: grid; justify-items: end; gap: 3px; }
.hh-ms b { font: 700 17px var(--display); }
.hh-gs { display: flex; gap: 6px; font: 11.5px var(--mono); color: var(--faint); }
.hh-gs .hh-gw { color: var(--ink-2); }
.hh-cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hh-cmp th { font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hh-cmp td { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.hh-cmp tr:last-child td { border-bottom: 0; }
.hh-cmp td:nth-child(2), .hh-cmp th:nth-child(2) { text-align: center; color: var(--muted); font-weight: 500; font-size: 13px; }
.hh-cmp td:last-child, .hh-cmp th:last-child { text-align: right; }
.hh-cmp .hh-best { color: var(--green); }
.hh-cmp th { text-align: left; }
.hh-links { display: grid; gap: 8px; }
.hh-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.hh-links a:hover { background: var(--soft); border-color: #C9D2E0; }
.hh-empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .hh-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hh-face { grid-template-columns: 1fr; gap: 18px; } .hh-p.hh-r { flex-direction: row; text-align: left; } .hh-score { order: 3; text-align: left; } .hh-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hh-in { padding: 32px 16px 36px; } .hh-name { font-size: 26px; } .hh-flag { width: 52px; height: 52px; font-size: 15px; } .hh-score b { font-size: 48px; } .hh-grid { padding: 24px 16px 50px; } .hh-m { grid-template-columns: minmax(0, 1fr) auto; } .hh-md { grid-column: 1 / -1; } .hh-gs { display: none; } .hh-bh { flex-wrap: wrap; } .hh-bh span { white-space: normal; } }

/* ---------- A player's matches (/players/<slug>/matches/<year>): more pl- classes ---------- */
.pl-lede { margin: 0; color: #C7D2E3; font-size: 16px; line-height: 1.6; max-width: 680px; }
.pl-bar2 { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.pl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-chips a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #C7D2E3; text-decoration: none; border: 1px solid rgba(255,255,255,.16); }
.pl-chips a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.pl-chips a.on { background: #fff; color: var(--navy); border-color: #fff; }
.pl-chips a em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 4px; }
.pl-ev { padding: 16px 0 6px; border-top: 1px solid var(--line); }
.pl-ev:first-of-type { border-top: 0; padding-top: 0; }
.pl-evh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pl-evh h3 { font-family: var(--display); font-size: 16.5px; letter-spacing: -0.01em; margin: 0; min-width: 0; }
.pl-evh span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pl-evh em { font-style: normal; font-weight: 700; color: #B45309; }
.pl-ev .pl-m:first-of-type { border-top: 0; }
.pl-yrs { display: grid; gap: 6px; }
.pl-yrs a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.pl-yrs a span { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.pl-yrs a:hover { background: var(--soft); }
.pl-yrs a.on { background: var(--navy); color: #fff; }
.pl-yrs a.on span { color: #C7D2E3; }
@media (max-width: 620px) { .pl-evh { flex-direction: column; gap: 2px; } .pl-evh span { white-space: normal; } }

/* ---------- An event (/events/<slug>): every class starts ev- ---------- */
.ev-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.ev-in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 48px; }
.ev-crumb { margin: 0 0 26px; font-size: 13.5px; color: #93A4BF; display: flex; gap: 8px; }
.ev-crumb a { color: #C7D2E3; text-decoration: none; }
.ev-crumb a:hover { color: #fff; }
.ev-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ev-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,122,26,.16); color: var(--ball); }
.ev-tag.ev-done { background: rgba(255,255,255,.08); color: #C7D2E3; }
.ev-top h1 { font-family: var(--display); font-weight: 700; font-size: 50px; letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 12px; }
.ev-sub { margin: 0 0 32px; color: #C7D2E3; font-size: 16.5px; }
.ev-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 16px 18px; }
.ev-stats b { display: block; font: 700 28px/1.1 var(--display); letter-spacing: -0.03em; }
.ev-stats span { font-size: 13px; color: #93A4BF; }
.ev-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ev-main, .ev-side { display: grid; gap: 22px; min-width: 0; }
.ev-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.ev-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ev-bh h2 { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.ev-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.ev-wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ev-win { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-width: 0; }
.ev-win > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ev-win a { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; min-width: 0; }
.ev-win a:hover .ev-pn { text-decoration: underline; }
.ev-pn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-win small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ev-cc { font: 400 10.5px var(--mono); color: var(--ink-2); background: #EEF1F6; border-radius: 6px; padding: 1px 5px; flex: none; }
.ev-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ev-tabs a { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); }
.ev-tabs a:hover { background: var(--soft); }
.ev-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ev-rd { margin: 18px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ev-p { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--ink-2); text-decoration: none; }
.ev-p.ev-b { justify-content: flex-end; }
.ev-p.ev-won { color: var(--ink); font-weight: 700; }
.ev-sc { text-align: center; font: 700 15px var(--display); }
.ev-g { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; font: 11.5px var(--mono); color: var(--faint); margin-top: -4px; }
.ev-g .ev-gw { color: var(--ink-2); }
.ev-days { display: grid; gap: 6px; }
.ev-days a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.ev-days a span { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.ev-days a:hover { background: var(--soft); }
.ev-top5 a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.ev-top5 a:hover .ev-pn { text-decoration: underline; }
.ev-top5 b { font: 700 15px var(--display); }
.ev-empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.pl-evs li a { font-weight: 600; color: var(--ink); text-decoration: none; }
.pl-evs li a:hover, .pl-evh h3 a:hover { text-decoration: underline; }
.pl-evh h3 a { color: inherit; text-decoration: none; }
@media (max-width: 1080px) { .ev-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ev-in { padding: 32px 16px 36px; } .ev-top h1 { font-size: 34px; } .ev-stats { grid-template-columns: 1fr 1fr; } .ev-grid { padding: 24px 16px 50px; } .ev-wins { grid-template-columns: 1fr; } .ev-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a s" "b s" "g g"; gap: 6px 12px; } .ev-row > .ev-p { grid-area: a; } .ev-row > .ev-p.ev-b { grid-area: b; flex-direction: row-reverse; justify-content: flex-end; } .ev-sc { grid-area: s; } .ev-g { grid-area: g; justify-content: flex-start; margin-top: 0; } .ev-bh { flex-wrap: wrap; } .ev-bh span { white-space: normal; } }

/* ---------- Events (/events): every class starts en- ---------- */
.en-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.en-top { background: radial-gradient(120% 90% at 80% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.en-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px 52px; }
.en-kick { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 16px; }
.en-top h1 { font-family: var(--display); font-weight: 700; font-size: 48px; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 18px; }
.en-lede { margin: 0 0 30px; max-width: 660px; color: #C7D2E3; font-size: 17.5px; line-height: 1.65; }
.en-yrs { display: flex; gap: 6px; flex-wrap: wrap; }
.en-yrs a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #C7D2E3; text-decoration: none; border: 1px solid rgba(255,255,255,.16); }
.en-yrs a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.en-yrs a.on { background: #fff; color: var(--navy); border-color: #fff; }
.en-yrs a em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 4px; }
.en-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.en-main, .en-side { display: grid; gap: 22px; min-width: 0; }
.en-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.en-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.en-bh h2 { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.en-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.en-mo { margin: 20px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.en-row { display: grid; grid-template-columns: 124px minmax(0, 1fr) minmax(0, 210px) 16px; gap: 16px; align-items: center; padding: 14px 8px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 6px; }
.en-row:hover { background: var(--soft); }
.en-d { font: 12.5px var(--mono); color: var(--muted); }
.en-n { min-width: 0; }
.en-n b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-n small { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--muted); }
.en-tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #FFF1E6; color: #B45309; flex: none; }
.en-tag.en-t2 { background: #EEF1F6; color: var(--ink-2); }
.en-w { display: grid; gap: 3px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.en-w span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-w i { font-style: normal; color: var(--muted); margin-right: 6px; font-size: 11.5px; font-weight: 700; }
.en-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red-d); font-size: 13px; }
.en-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.en-soon { font-size: 13px; color: var(--muted); }
.en-row .ic { color: var(--faint); }
.en-list { display: grid; gap: 6px; }
.en-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.en-list a span { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.en-list a:hover { background: var(--soft); }
.en-list a.on { background: var(--navy); color: #fff; }
.en-list a.on span { color: #C7D2E3; }
.en-kick a { color: inherit; text-decoration: none; }
.en-bh span a { color: inherit; }
.en-empty { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) { .en-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .en-row { grid-template-columns: minmax(0, 1fr) 16px; gap: 6px 12px; } .en-d { grid-column: 1; } .en-n { grid-column: 1; } .en-w { grid-column: 1; } .en-row .ic { grid-column: 2; grid-row: 1 / span 3; } .en-n b { white-space: normal; } }
@media (max-width: 620px) { .en-in { padding: 40px 16px 36px; } .en-top h1 { font-size: 34px; } .en-grid { padding: 24px 16px 50px; } .en-bh { flex-wrap: wrap; } .en-bh span { white-space: normal; } }

/* ---------- A match (/matches/<id>): every class starts mh- ---------- */
.mh-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mh-top { background: radial-gradient(120% 90% at 50% 0%, #16325A 0%, var(--navy) 45%, var(--navy-0) 100%); color: #fff; }
.mh-in { max-width: 1240px; margin: 0 auto; padding: 44px 24px 48px; }
.mh-crumb { margin: 0 0 22px; font-size: 13.5px; color: #93A4BF; display: flex; gap: 8px; flex-wrap: wrap; }
.mh-crumb a { color: #C7D2E3; text-decoration: none; }
.mh-crumb a:hover { color: #fff; }
.mh-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.mh-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,122,26,.16); color: var(--ball); }
.mh-tag.mh-t2 { background: rgba(255,255,255,.08); color: #C7D2E3; }
.mh-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mh-face { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 30px; }
.mh-p { display: flex; align-items: center; gap: 18px; min-width: 0; color: #fff; text-decoration: none; }
.mh-p.mh-r { flex-direction: row-reverse; text-align: right; }
.mh-p > div { min-width: 0; }
.mh-flag { width: 64px; height: 64px; flex: none; border-radius: var(--r); display: grid; place-items: center; font: 700 18px var(--mono); color: var(--navy); background: linear-gradient(135deg, #DCE4F0, #9FB3CF); }
.mh-p.mh-won .mh-flag { background: linear-gradient(135deg, #FFB27A, var(--ball)); }
.mh-name { display: block; font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; color: #C7D2E3; }
.mh-p.mh-won .mh-name { color: #fff; }
.mh-p:hover .mh-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mh-p small { display: block; margin-top: 6px; color: #93A4BF; font-size: 14.5px; }
.mh-p.mh-won small { color: #4ADE80; font-weight: 600; }
.mh-score { text-align: center; }
.mh-score b { display: block; font: 700 64px/1 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.mh-score b i { font-style: normal; color: #5C7090; margin: 0 10px; }
.mh-score span { display: block; margin-top: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #93A4BF; font-weight: 600; }
.mh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mh-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 16px 18px; }
.mh-stats b { display: block; font: 700 24px/1.15 var(--display); letter-spacing: -0.03em; }
.mh-stats span { font-size: 13px; color: #93A4BF; }
.mh-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.mh-main, .mh-side { display: grid; gap: 22px; min-width: 0; }
.mh-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; min-width: 0; }
.mh-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.mh-bh h2 { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.mh-bh span { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.mh-gh, .mh-g { display: grid; grid-template-columns: 70px 40px minmax(0, 1fr) 40px 64px; gap: 14px; align-items: center; }
.mh-gh span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-gh { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.mh-gh span:nth-child(2), .mh-gh span:nth-child(4) { text-align: center; }
.mh-g { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mh-g:last-child { border-bottom: 0; }
.mh-gn { font-weight: 600; color: var(--ink); }
.mh-g b { font: 700 18px var(--display); text-align: center; color: var(--faint); }
.mh-g b.mh-gw { color: var(--ink); }
.mh-split { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.mh-split i { display: block; height: 100%; }
.mh-sa { background: var(--ball); }
.mh-sb { background: #9FB3CF; }
.mh-run { font: 12px var(--mono); color: var(--muted); text-align: right; }
.mh-key { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.mh-key span { display: inline-flex; align-items: center; gap: 6px; }
.mh-key i { width: 10px; height: 10px; border-radius: 3px; }
.mh-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.mh-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.mh-facts dt { color: var(--muted); }
.mh-facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.mh-h2h { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0 14px; }
.mh-h2h span { font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-h2h span:last-child { text-align: right; }
.mh-h2h b { font: 700 26px var(--display); letter-spacing: -0.03em; }
.mh-prev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.mh-prev:hover b { text-decoration: underline; }
.mh-prev small { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.mh-prev em { font-style: normal; font-weight: 700; }
.mh-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.mh-empty { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
a.rs-score, a.ev-sc, .pl-ms a, .hh-ms a { text-decoration: none; }
a.ev-sc, .pl-ms a, .hh-ms a { color: inherit; }
a.rs-score:hover, a.ev-sc:hover, .pl-ms a:hover, .hh-ms a:hover { text-decoration: underline; }
@media (max-width: 1080px) { .mh-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .mh-face { grid-template-columns: 1fr; gap: 18px; } .mh-p.mh-r { flex-direction: row; text-align: left; } .mh-score { order: 3; text-align: left; } .mh-tags { justify-content: flex-start; } .mh-stats { grid-template-columns: 1fr 1fr; } .mh-facts { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .mh-in { padding: 32px 16px 36px; } .mh-name { font-size: 26px; } .mh-flag { width: 52px; height: 52px; font-size: 15px; } .mh-score b { font-size: 48px; } .mh-grid { padding: 24px 16px 50px; } .mh-gh { display: none; } .mh-g { grid-template-columns: 62px 28px minmax(0, 1fr) 28px; gap: 10px; } .mh-gn { white-space: nowrap; font-size: 13.5px; } .mh-run { display: none; } .mh-bh { flex-wrap: wrap; } .mh-bh span { white-space: normal; } }

/* ---------- Support (/support): the site's frame around Uni's kit; every class starts sp- ---------- */
.sp-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-top { background: radial-gradient(90% 120% at 85% 10%, #1B3A66 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; overflow: hidden; }
.sp-in { max-width: 1240px; margin: 0 auto; padding: 72px 24px 96px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.sp-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 18px; }
.sp-kick i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.sp-top h1 { font-family: var(--display); font-weight: 700; font-size: 54px; letter-spacing: -0.04em; line-height: 1.04; margin: 0 0 20px; }
.sp-top h1 em { font-style: normal; color: var(--ball); }
.sp-lede { margin: 0 0 30px; max-width: 540px; color: #C7D2E3; font-size: 18px; line-height: 1.65; }
.sp-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-ctas .btn { padding: 14px 22px; font-size: 15.5px; }
.sp-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.sp-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.sp-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.sp-facts div { display: grid; gap: 2px; }
.sp-facts b { font: 700 17px var(--display); letter-spacing: -0.01em; }
.sp-facts span { font-size: 13px; color: #93A4BF; }
.sp-tk { position: relative; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 40px 90px -30px rgba(0,0,0,.75); overflow: hidden; }
.sp-tk::after { content: "Example"; position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.sp-tkh { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.sp-tkh small { font: 12px var(--mono); color: var(--muted); }
.sp-tkh b { font-size: 16px; }
.sp-tkh span { justify-self: start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--green-t); color: var(--green); }
.sp-msg { padding: 16px 22px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.sp-msg + .sp-msg { border-top: 1px solid var(--line); background: #FBFCFE; }
.sp-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--body); background: #EEF1F6; color: var(--ink-2); }
.sp-msg.sp-us .sp-av { background: var(--red); color: #fff; }
.sp-msg p { margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.sp-msg p b { color: var(--ink); }
.sp-msg code { font: 12.5px var(--mono); background: #F1F4F9; padding: 1px 5px; border-radius: 5px; }
.sp-msg small { display: block; font-size: 12px; color: var(--faint); margin-top: 6px; }
.sp-topics { max-width: 1240px; margin: -52px auto 0; padding: 0 24px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sp-topic { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 14px 30px -24px rgba(11,31,58,.5); transition: border-color .15s, transform .15s; }
.sp-topic:hover { border-color: #C9D2E0; transform: translateY(-2px); }
.sp-ti { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--ball-t); color: var(--ball-d); }
.sp-ti .ic { width: 20px; height: 20px; }
.sp-topic b { display: block; font-size: 15.5px; margin: 2px 0 4px; }
.sp-topic span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.sp-grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sp-h2 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; margin: 0 0 6px; }
.sp-sub { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.sp-kit { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; min-width: 0; }
.sp-side { display: grid; gap: 14px; min-width: 0; position: sticky; top: 92px; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.sp-card h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; margin: 0 0 12px; }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: sp; }
.sp-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); counter-increment: sp; }
.sp-steps li::before { content: counter(sp); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 13px var(--body); }
.sp-steps b { color: var(--ink); }
.sp-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sp-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red-d); text-decoration: none; }
.sp-go:hover { text-decoration: underline; }
.sp-bill { background: var(--navy); border-color: var(--navy); color: #fff; }
.sp-bill p { color: #C7D2E3; }
.sp-bill .sp-go { color: var(--ball); }
.sp-band { max-width: 1192px; margin: 0 auto 80px; background: linear-gradient(120deg, #E5484D, #FF7A1A); border-radius: var(--r); padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: #fff; }
.sp-band h2 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; margin: 0 0 6px; }
.sp-band p { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.88); }
.sp-band a { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red-d); font-weight: 700; font-size: 15.5px; padding: 14px 22px; border-radius: var(--r); text-decoration: none; white-space: nowrap; }
.sp-band a:hover { background: #FFF5F0; }
.sp-kick a { color: inherit; text-decoration: none; }
.sp-top.sp-small .sp-in { grid-template-columns: 1fr; padding: 52px 24px 48px; }
.sp-top.sp-small h1 { font-size: 44px; }
.sp-top.sp-small .sp-lede { margin: 0; }
.sp-steps code { font: 12.5px var(--mono); background: #F1F4F9; padding: 1px 5px; border-radius: 5px; }
@media (max-width: 1080px) { .sp-in { grid-template-columns: 1fr; gap: 40px; } .sp-grid { grid-template-columns: 1fr; } .sp-side { position: static; } .sp-topics { grid-template-columns: 1fr 1fr; } .sp-band { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 620px) { .sp-in { padding: 44px 16px 80px; } .sp-top h1 { font-size: 36px; } .sp-lede { font-size: 16.5px; } .sp-topics { grid-template-columns: 1fr; padding: 0 16px; } .sp-grid { padding: 40px 16px 48px; } .sp-kit { padding: 20px; } .sp-band { margin: 0 16px 56px; padding: 26px 22px; } .sp-band h2 { font-size: 24px; } .sp-ctas .btn, .sp-ghost { flex: 1 1 100%; justify-content: center; }  .sp-top.sp-small .sp-in { padding: 36px 16px 32px; } .sp-top.sp-small h1 { font-size: 32px; } }
.sp-off b { display: block; font-size: 16px; margin-bottom: 6px; }
.sp-off p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.sp-off a { color: var(--red-d); font-weight: 600; }

/* ---------- Status (/status): the site's frame around Uni's status kit; every class starts st- ---------- */
.st-top { background: radial-gradient(90% 120% at 85% 10%, #1B3A66 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; }
.st-in { max-width: 1240px; margin: 0 auto; padding: 60px 24px 96px; }
.st-kick { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 16px; }
.st-top h1 { font-family: var(--display); font-weight: 700; font-size: 48px; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 14px; }
.st-lede { margin: 0; max-width: 620px; color: #C7D2E3; font-size: 17px; line-height: 1.65; }
.st-kit { max-width: 1240px; margin: -58px auto 0; padding: 0 24px 80px; position: relative; }
.st-kit .ust { max-width: none; }
.st-kit .ust-kick, .st-kit .ust-h1 { display: none; }   /* the hero above already says it */
.st-kit .ust-h2 { font-family: var(--display); letter-spacing: -0.02em; }
@media (max-width: 620px) { .st-in { padding: 40px 16px 84px; } .st-top h1 { font-size: 34px; } .st-kit { padding: 0 16px 50px; } }

/* ---------- MCP (/mcp): every class starts mc- ---------- */
.mc-page .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mc-top { background: radial-gradient(90% 120% at 85% 10%, #1B3A66 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; }
.mc-in { max-width: 1240px; margin: 0 auto; padding: 68px 24px 76px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mc-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 18px; }
.mc-top h1 { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 20px; }
.mc-top h1 em { font-style: normal; color: var(--ball); }
.mc-lede { margin: 0 0 28px; max-width: 540px; color: #C7D2E3; font-size: 18px; line-height: 1.65; }
.mc-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.mc-ctas .btn { padding: 14px 22px; font-size: 15.5px; }
.mc-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.mc-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.mc-addr { display: grid; gap: 8px; max-width: 540px; }
.mc-addr span { font-size: 12.5px; color: #93A4BF; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mc-addr code { display: block; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 12px 14px; font: 14px var(--mono); color: #fff; overflow-wrap: anywhere; }
.mc-addr code i { font-style: normal; color: var(--ball); }
.mc-chat { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 40px 90px -30px rgba(0,0,0,.75); overflow: hidden; }
.mc-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mc-ch b { color: var(--ink); font-size: 14px; }
.mc-q { margin: 18px 20px 0 auto; max-width: 78%; background: var(--navy); color: #fff; border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; line-height: 1.55; width: fit-content; }
.mc-tool { margin: 14px 20px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.mc-tool code { font: 12px var(--mono); background: var(--ball-t); color: var(--ball-d); padding: 3px 8px; border-radius: 6px; }
.mc-a { margin: 12px 20px 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.mc-a p { margin: 0 0 8px; }
.mc-a b { color: var(--ink); }
.mc-a table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 8px; }
.mc-a td { padding: 6px 0; border-top: 1px solid var(--line); }
.mc-a td:last-child { text-align: right; font-family: var(--mono); font-size: 12.5px; }
.mc-sec { max-width: 1240px; margin: 0 auto; padding: 72px 24px 0; }
.mc-h2 { font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; margin: 0 0 8px; }
.mc-sub { margin: 0 0 28px; color: var(--muted); font-size: 16px; max-width: 640px; line-height: 1.6; }
.mc-apps + .mc-sub { margin: 22px 0 0; }
.mc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mc-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.mc-step b.mc-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 14px var(--body); margin-bottom: 14px; }
.mc-step h3 { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; margin: 0 0 6px; }
.mc-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.mc-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.mc-app { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; min-width: 0; }
.mc-app h3 { font-size: 16px; margin: 0 0 6px; }
.mc-app p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.mc-app pre { margin: 0; background: #0A1830; color: #D6E0F0; border-radius: var(--r); padding: 12px 14px; font: 12.5px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-app pre i { font-style: normal; color: var(--ball); }
.mc-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mc-t { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.mc-t code { font: 600 14px var(--mono); color: var(--ink); }
.mc-t p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.mc-t span { justify-self: start; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--green-t); color: var(--green); }
.mc-t span.mc-paid { background: var(--ball-t); color: #B45309; }
.mc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mc-f { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.mc-f h3 { font-size: 16px; margin: 0 0 6px; }
.mc-f p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.mc-band { max-width: 1192px; margin: 72px auto 80px; background: linear-gradient(120deg, #E5484D, #FF7A1A); border-radius: var(--r); padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: #fff; }
.mc-band h2 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; margin: 0 0 6px; }
.mc-band p { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.88); }
.mc-band a { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red-d); font-weight: 700; font-size: 15.5px; padding: 14px 22px; border-radius: var(--r); text-decoration: none; white-space: nowrap; }
.mc-app p code { font: 12.5px var(--mono); background: #F1F4F9; padding: 1px 5px; border-radius: 5px; }
.su-mcpl { margin: 14px 0 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.su-mcpl a { color: var(--red-d); font-weight: 600; }
@media (max-width: 1080px) { .mc-in { grid-template-columns: 1fr; gap: 40px; } .mc-steps, .mc-tools { grid-template-columns: 1fr 1fr; } .mc-band { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 760px) { .mc-apps, .mc-faq { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .mc-in { padding: 44px 16px 52px; } .mc-top h1 { font-size: 36px; } .mc-lede { font-size: 16.5px; } .mc-ctas .btn, .mc-ghost { flex: 1 1 100%; justify-content: center; } .mc-sec { padding: 52px 16px 0; } .mc-h2 { font-size: 27px; } .mc-steps, .mc-tools { grid-template-columns: 1fr; } .mc-band { margin: 52px 16px 56px; padding: 26px 22px; } .mc-band h2 { font-size: 24px; } .mc-q { max-width: 88%; } }

/* ---------- Terms, privacy and refunds (/terms, /privacy, /refunds): every class starts lg- ---------- */
.lg-top { background: radial-gradient(90% 120% at 85% 10%, #1B3A66 0%, var(--navy) 50%, var(--navy-0) 100%); color: #fff; }
.lg-in { max-width: 1240px; margin: 0 auto; padding: 56px 24px 0; }
.lg-kick { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); margin-bottom: 14px; }
.lg-top h1 { font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 12px; }
.lg-date { margin: 0 0 30px; color: #93A4BF; font-size: 14.5px; }
.lg-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.lg-tabs a { padding: 12px 18px; border-radius: var(--r) var(--r) 0 0; font-weight: 600; font-size: 15px; color: #C7D2E3; text-decoration: none; }
.lg-tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.lg-tabs a.on { background: var(--bg); color: var(--ink); }
.lg-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.lg-toc { position: sticky; top: 92px; display: grid; gap: 2px; }
.lg-toc b { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 12px; }
.lg-toc a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.lg-toc a:hover { background: #fff; color: var(--ink); }
.lg-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 44px; min-width: 0; max-width: 820px; }
.lg-short { background: var(--soft); border-radius: var(--r); padding: 20px 22px; margin-bottom: 30px; }
.lg-short h2 { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; margin: 0 0 10px; }
.lg-short ul { margin: 0; padding-left: 20px; }
.lg-short li { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 4px 0; }
.lg-op { font-size: 15px; line-height: 1.7; color: var(--ink-2); padding-bottom: 24px; margin: 0 0 8px; border-bottom: 1px solid var(--line); }
.lg-doc section { padding: 22px 0 6px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.lg-doc section:last-child { border-bottom: 0; }
.lg-doc h2 { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin: 0 0 10px; }
.lg-doc h2 i { font-style: normal; font: 600 13px var(--mono); color: var(--ball-d); min-width: 22px; }
.lg-doc p, .lg-doc li { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.lg-doc p { margin: 0 0 14px; }
.lg-doc ul { margin: 0 0 14px; padding-left: 22px; }
.lg-doc li { margin: 4px 0; }
.lg-doc a { color: var(--red-d); font-weight: 600; }
.lg-doc b { color: var(--ink); }
.lg-form { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 4px 0 18px; }
.pb-del .btn { margin-top: 4px; }
.pb-del .ac-sub a { color: var(--red-d); font-weight: 600; }
.pb-dl { margin: 0 0 16px; padding-left: 20px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.pb-dl li { margin: 4px 0; }
@media (max-width: 1080px) { .lg-grid { grid-template-columns: 1fr; } .lg-toc { display: none; } }
@media (max-width: 620px) { .lg-in { padding: 40px 16px 0; } .lg-top h1 { font-size: 34px; } .lg-tabs a { padding: 10px 12px; font-size: 14px; } .lg-grid { padding: 24px 16px 50px; } .lg-doc { padding: 24px 20px; } .lg-doc h2 { font-size: 19px; } .lg-doc p, .lg-doc li { font-size: 15px; } }

/* ---------- The phone menu: the burger opens .mnav under the bar (every class starts mnav) ---------- */
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.burger span::before, .burger span::after { transition: transform .2s, top .2s; }
.mnav { display: none; border-top: 1px solid rgba(255,255,255,.08); background: var(--navy); padding: 8px 16px 18px; max-height: calc(100vh - 72px); overflow-y: auto; }
.mnav.open { display: block; }
.mnav a.mnav-l { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); color: #DCE4F0; text-decoration: none; font-size: 16.5px; font-weight: 600; }
.mnav a.mnav-l > span { display: inline-flex; align-items: center; gap: 10px; }
.mnav .livecount[hidden] { display: none; }
.mnav a.mnav-l.on { color: #fff; }
.mnav a.mnav-l.on::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ball); }
.mnav-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 10px 8px 4px; }
.mnav-sub a { padding: 9px 0; color: #93A4BF; text-decoration: none; font-size: 14.5px; }
.mnav-btns { display: grid; gap: 10px; margin-top: 14px; }
.mnav-btns .btn { width: 100%; justify-content: center; padding: 14px; }
@media (min-width: 1081px) { .mnav.open { display: none; } }

/* Docs: the rail's All / Free key filter, the full parameter table, Run it live and the sample response */
.dx-filter { display: flex; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 3px; margin: 10px 0 4px; }
.dx-filter button { flex: 1; border: 0; background: none; font: 600 12.5px Inter, sans-serif; color: var(--muted); padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.dx-filter button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,31,58,.12); }
.dx-free { font: 600 10px var(--mono); color: var(--green); background: var(--green-t); border-radius: 6px; padding: 1px 5px; margin-left: auto; flex: none; }
.dx-sl.on .dx-free { background: rgba(255,255,255,.14); color: #fff; }
.dx-side.free .dx-nf, .dx-side.free .dx-key { display: none; }
.dx-opt { font-size: 12.5px; color: var(--faint); }
.dx-tbl td:last-child code { white-space: nowrap; }
.dx-run { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 14px 0 8px; overflow: hidden; }
.dx-runh { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dx-runh b { font: 600 14px 'Space Grotesk', sans-serif; color: var(--ink); }
.dx-runh span { font-size: 12.5px; color: var(--muted); }
.dx-runf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 14px; padding: 14px 16px 0; }
.dx-runf label { display: flex; flex-direction: column; gap: 5px; font: 500 12px var(--mono); color: var(--ink-2); }
.dx-runf input, .dx-runk input { font: 13px var(--mono); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: #fff; min-width: 0; }
.dx-runf input:focus, .dx-runk input:focus { outline: 2px solid rgba(229,72,77,.25); border-color: var(--red); }
.dx-runk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; }
.dx-runk input { flex: 1 1 260px; }
.dx-runk small { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.dx-runurl { font: 12.5px var(--mono); color: var(--ink-2); padding: 10px 16px; border-top: 1px solid var(--line); background: var(--soft); overflow-wrap: anywhere; }
.dx-runurl b { color: var(--green); font-weight: 500; margin-right: 6px; }
.dx-out, .dx-sample { background: #0A1830; color: #D6E0F0; }
.dx-sample { border-radius: var(--r); overflow: hidden; margin: 12px 0; }
.dx-outh { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font: 12px var(--mono); }
.dx-rst { color: #4ADE80; }
.dx-rst.bad { color: #F87171; }
.dx-ms, .dx-hd { color: #8A98B0; }
.dx-hd { margin-left: auto; }
.dx-out pre, .dx-sample pre { margin: 0; padding: 12px 16px; font: 12.5px/1.6 var(--mono); white-space: pre; overflow: auto; max-height: 420px; }
.dx-empty { padding: 18px 16px; font: 12.5px var(--mono); color: #8A98B0; }
@media (max-width: 620px) { .dx-runf { grid-template-columns: 1fr 1fr; } }

/* Keys: rotating a key (the old one keeps working 24 hours) */
.kp-old td { background: #FFFBF0; }
.kp-ret { display: flex; width: max-content; align-items: center; gap: 5px; margin-top: 4px; font: 600 11px Inter, sans-serif; color: #9A5B13; background: #FDF1DC; border-radius: 6px; padding: 2px 7px; }
.kp-ret .ic { width: 12px; height: 12px; }
.kp-rotnote { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r); background: #FDF1DC; color: #6B4210; font-size: 13.5px; line-height: 1.5; }
.kp-rotnote .ic { flex: none; margin-top: 2px; }
.kp-rotnote b { color: #4A2E0B; }
.pb-steps { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 10px; counter-reset: s; }
.pb-steps li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.pb-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); font: 600 12px Inter, sans-serif; color: var(--ink); display: flex; align-items: center; justify-content: center; }

/* Account: webhooks */
.wh-ev { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 14px; }
.wh-ev label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.wh-ev label code { font: 12.5px var(--mono); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.wh-ev small { display: block; font-size: 12.5px; color: var(--muted); }
.wh-list { display: grid; gap: 12px; }
.wh-item { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.wh-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wh-url { font: 600 14px var(--mono); color: var(--ink); overflow-wrap: anywhere; flex: 1 1 280px; }
.wh-st { font: 600 11.5px Inter, sans-serif; border-radius: 6px; padding: 2px 8px; }
.wh-on { color: var(--green); background: var(--green-t); }
.wh-paused { color: var(--muted); background: var(--soft); border: 1px solid var(--line); }
.wh-off { color: var(--red-d); background: var(--red-t); }
.wh-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 10px; font-size: 13px; color: var(--muted); }
.wh-meta code, .wh-del code { font: 12px var(--mono); color: var(--ink-2); }
.wh-ok { color: var(--green); font-weight: 600; }
.wh-bad { color: var(--red-d); font-weight: 600; }
.wh-sec { display: flex; align-items: center; gap: 8px; background: #0A1830; color: #D6E0F0; border-radius: 8px; padding: 6px 6px 6px 12px; font: 12.5px var(--mono); margin-bottom: 10px; }
.wh-sec span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-sec small { color: #8A98B0; font-family: Inter, sans-serif; }
.wh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-acts form { display: contents; }
.wh-acts button { display: inline-flex; align-items: center; gap: 6px; font: 600 13px Inter, sans-serif; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.wh-acts .ac-bad { color: var(--red-d); }
.wh-evf { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.wh-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; background: var(--red-t); color: #8C2226; }
.wh-del td:first-child { white-space: nowrap; }
.wh-ret { font-size: 12px; color: var(--muted); }

/* ---------- /rankings (the approved tabletennisapi-rankings-preview.html) ---------- */
.rk-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rk-meta span { font-size: 13px; color: #C7D2E3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 5px 10px; white-space: nowrap; }
.rk-meta span b { font-weight: 500; color: #fff; }
.rk-tick { margin-top: 28px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rk-tick-track { display: inline-flex; gap: 34px; padding: 11px 0; white-space: nowrap; animation: rkscroll 48s linear infinite; }
.rk-tick-track span { font-size: 13.5px; color: #DCE4F0; display: inline-flex; align-items: center; gap: 8px; }
.rk-tick-track em { font-style: normal; font: 500 12px var(--mono); color: #7E90AE; }
.rk-tick-track i { font-style: normal; font: 500 12px var(--mono); color: #4ADE80; }
.rk-tick-track i.dn { color: #93A4BF; }
@keyframes rkscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rk-tick-track { animation: none; } }

.rk-ctl { display: grid; gap: 12px; }
.rk-seg { display: grid; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 4px; }
.rk-seg.s5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rk-seg.s2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk-seg a { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.rk-seg a:hover { background: #fff; }
.rk-seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,31,58,.12); }
.rk-seg .off { display: flex; align-items: center; justify-content: center; height: 36px; font-size: 13.5px; color: #B4BFD0; white-space: nowrap; }
.rk-row2 { display: grid; grid-template-columns: 240px 240px minmax(0, 1fr); gap: 12px; align-items: center; }
.rk-cf { justify-self: end; display: flex; gap: 8px; }
.rk-cf select { width: 220px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font: 400 14px var(--body); color: var(--ink); padding: 0 12px; }

.rk-t { width: 100%; border-collapse: collapse; font-size: 14.5px; table-layout: fixed; }
.rk-t th { position: sticky; top: 72px; background: #fff; z-index: 1; text-align: left; font: 500 12px var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rk-t td { padding: 9px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.rk-t td.who { overflow: hidden; text-overflow: ellipsis; }
.rk-t tbody tr:hover td { background: var(--soft); }
.rk-t .n, .rk-t .pts, .rk-t .lw { text-align: right; font-variant-numeric: tabular-nums; }
.rk-t .n { width: 44px; } .rk-t td.n { font: 500 13px var(--mono); color: var(--ink); }
.rk-t .mv { width: 64px; } .rk-t td.mv { font: 500 12.5px var(--mono); }
.rk-t .up { color: var(--green); } .rk-t .dn { color: var(--muted); } .rk-t .eq { color: var(--faint); } .rk-t .nw { color: var(--ball-d); }
.rk-t .who a, .rk-t .who .rk-np { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.rk-t .who a:hover span:last-child { color: var(--red); }
.rk-t .who .sep { color: var(--faint); margin: 0 6px; }
.rk-t .ag { width: 64px; }
.rk-ag { font: 400 10.5px var(--mono); color: var(--ball-d); background: var(--ball-t); border-radius: 6px; padding: 1px 6px; }
.rk-t .pts { width: 170px; }
.rk-pts { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; width: 100%; }
.rk-pts i { display: block; height: 6px; border-radius: 6px; background: #C9D6EA; }
.rk-pts b { font-weight: 400; min-width: 52px; text-align: right; }
.rk-t .lw { width: 84px; } .rk-t td.lw { color: var(--muted); font-size: 13.5px; }
.rk-foot { display: grid; grid-template-columns: repeat(2, 200px); gap: 10px; justify-content: space-between; margin-top: 16px; }
.rk-foot .btn { width: 100%; }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: #C9D2E0; }

.rk-mini { display: grid; grid-template-columns: 26px minmax(0, 1fr) 54px; gap: 8px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 14px; text-decoration: none; color: var(--ink); }
.rk-mini:hover { background: var(--soft); }
.rk-mini .n { font: 500 12px var(--mono); color: var(--faint); text-align: right; }
.rk-mini .w { display: flex; gap: 8px; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-mini .v { font: 500 12.5px var(--mono); color: var(--green); text-align: right; }
.rk-cty { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.rk-cty i { display: block; height: 8px; border-radius: 6px; background: var(--navy-3); }
.rk-cty em { font-style: normal; font: 500 12.5px var(--mono); color: var(--ink-2); text-align: right; }
.rk-side { display: grid; gap: 22px; position: sticky; top: 92px; }
.rk-side .side-card { position: static; }

@media (max-width: 1240px) { .rk-row2 { grid-template-columns: 1fr 1fr; } .rk-cf { grid-column: 1 / -1; justify-self: stretch; } .rk-cf select { width: 100%; } .nav nav a { padding: 8px 7px; } }
@media (max-width: 1080px) { .rk-side { position: static; } }
@media (max-width: 620px) { .rk-t .n { width: 46px; } .rk-row2 { grid-template-columns: 1fr; } .rk-t .mv { width: 46px; } .rk-t .who .py-cc { display: none; } .rk-pts b { min-width: 0; } .rk-main .py-bh { flex-wrap: wrap; } .rk-seg.s5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rk-t .lw, .rk-t .ag, .rk-pts i { display: none; } .rk-t .pts { width: auto; } .rk-foot { grid-template-columns: 1fr; } 
/* ---------- New data, 9 Oct 2026: point by point, cards and serving on the match page and cards; order of play; player details ---------- */
.mc .srv { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ball); margin-right: 6px; vertical-align: 1px; flex: none; }
.mc .calls { color: var(--muted); }
.mc .calls i, .mh-card { display: inline-block; width: 8px; height: 11px; border-radius: 2px; background: #FACC15; margin-right: 4px; vertical-align: -1px; }
.mc .calls i.card-r, .mh-card.mh-cr { background: var(--red); }
.pp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pp-tabs button { font: 600 13px var(--body); border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.pp-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pp-tabs b { font-family: var(--mono); font-weight: 500; margin-left: 6px; opacity: .8; }
.pp-game + .pp-game { margin-top: 18px; }
.pp-ends { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.pp-strip { display: flex; flex-wrap: wrap; gap: 12px 4px; padding: 6px 0; }
.pp-c { flex: none; min-width: 42px; height: 28px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; font: 600 12px var(--mono); position: relative; }
.pp-c.a { background: var(--ball); color: #fff; }
.pp-c.b { background: #9FB3CF; color: var(--navy); }
.pp-c.sa::before, .pp-c.sb::after { content: ''; position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--navy); }
.pp-c.sa::before { top: -9px; }
.pp-c.sb::after { bottom: -9px; }
.pp-c.two { box-shadow: inset 0 0 0 2px rgba(11,31,58,.45); }
.pp-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pp-sum div { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.pp-sum b { display: block; font: 700 18px var(--display); letter-spacing: -0.02em; }
.pp-sum span { font-size: 12.5px; color: var(--muted); }
.pp-foot { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.pp-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pp-foot i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pp-foot .pp-ka { background: var(--ball); }
.pp-foot .pp-kb { background: #9FB3CF; }
.pp-foot .pp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.pp-foot .pp-k2 { box-shadow: inset 0 0 0 2px rgba(11,31,58,.45); }
.pl-bio { margin-top: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pl-bio b { font-size: 24px; }
.pl-bio b em { font-style: normal; font-size: 13px; font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.pl-bio .pl-mu { color: #4ADE80; }
.pl-bio .pl-md2 { color: #FCA5A5; }
.pl-bio .pl-np b { color: #5C7090; }
.ev-tz { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.ev-tzb { display: inline-flex; gap: 4px; }
.ev-tzb button { font: 600 12px var(--body); border: 0; background: var(--soft); color: var(--ink-2); border-radius: 999px; padding: 3px 9px; cursor: pointer; }
.ev-tzb button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ev-o { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.ev-o:first-child { border-top: 0; }
.ev-o:hover .ev-om { text-decoration: underline; }
.ev-ot b { display: block; font: 700 16px var(--mono); }
.ev-ot small { color: var(--faint); font-size: 12px; }
.ev-om { min-width: 0; font-weight: 600; }
.ev-om small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ev-os { font-weight: 700; white-space: nowrap; }
.ev-os.ev-olive { color: var(--red-d); }
@media (max-width: 1080px) { .pl-bio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pp-sum { grid-template-columns: 1fr; } .pl-bio div:last-child { grid-column: auto; } .ev-o { grid-template-columns: 70px minmax(0, 1fr); } .ev-os { grid-column: 2; } }
