/* ===== 1King Official — theme 2 "Lobby" (product / app feel) ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, table, th, td, figure { margin: 0; padding: 0; }
:root {
  --bg: #0d0e13; --surface: #161821; --surface2: #1e2130; --line: #2a2e42;
  --text: #eef0f7; --dim: #aab0c6; --mute: #7d849e;
  --accent: #ffd23f; --accent-ink: #231a00; --violet: #7c5cff; --violet2: #a78bff;
  --red: #ff4b3a; --green: #35d489;
  --radius: 16px; --shadow: 0 10px 34px rgba(0,0,0,.38);
  --hero-grad: radial-gradient(900px 420px at 88% -10%, rgba(124,92,255,.42), transparent 60%), radial-gradient(700px 380px at 0% 110%, rgba(255,210,63,.14), transparent 60%), linear-gradient(165deg, #171433, #0d0e13 72%);
}
[data-theme="light"] {
  --bg: #f3f4fa; --surface: #ffffff; --surface2: #eef0f8; --line: #dcdfee;
  --text: #14161f; --dim: #4a5068; --mute: #7a8099;
  --accent-ink: #231a00; --shadow: 0 10px 30px rgba(30,35,80,.12);
  --hero-grad: radial-gradient(900px 420px at 88% -10%, rgba(124,92,255,.22), transparent 60%), linear-gradient(165deg, #ebe8ff, #f3f4fa 72%);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font: 16.5px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); padding-bottom: 0; }
a { color: var(--violet2); text-decoration: none; }
[data-theme="light"] a { color: #5b3df0; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
button { font: inherit; cursor: pointer; }

/* progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--violet), var(--accent)); transition: width .1s linear; }

/* header */
.topbar { position: sticky; top: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo img { height: 28px; width: auto; }
.pnav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.pnav::-webkit-scrollbar { display: none; }
.pnav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--dim); transition: background .15s, color .15s; }
.pnav a:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.pnav a.is-active { background: var(--surface2); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.tools { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; font-size: 1rem; }
.icon-btn:hover { border-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 800; font-size: .92rem; border: 1px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; box-shadow: 0 6px 20px rgba(255,210,63,.28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(255,210,63,.4); }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: 14px; }

/* hero */
.hero { background: var(--hero-grad); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding: 52px 20px 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53,212,137,.2); }
.hero h1 { font-size: 2.45rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.hero .lead { color: var(--dim); font-size: 1.08rem; max-width: 52ch; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--dim); }
.crumbs { font-size: .82rem; color: var(--mute); margin-bottom: 12px; }
.crumbs a { color: var(--dim); }
.hero--inner .container { grid-template-columns: 1fr; padding: 34px 20px 30px; }
.hero--inner h1 { font-size: 2rem; }
.meta-row { display: flex; gap: 14px; flex-wrap: wrap; color: var(--mute); font-size: .82rem; margin-top: 14px; }

/* showcase (home hero right) */
.showcase { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.sc-tabs { display: flex; gap: 4px; padding: 8px; background: var(--surface2); border-bottom: 1px solid var(--line); }
.sc-tab { flex: 1; padding: 9px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--dim); font-weight: 700; font-size: .84rem; }
.sc-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.sc-panel { padding: 14px; }
.sc-panel[hidden] { display: none; }
.sc-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0f; margin-bottom: 12px; aspect-ratio: 16/10; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sc-panel ul { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; }
.sc-panel li { display: flex; gap: 10px; font-size: .92rem; color: var(--dim); }
.sc-panel li::before { content: "✓"; color: var(--green); font-weight: 800; }
.sc-panel .btn { width: 100%; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--accent); font-weight: 800; }
.stat span { font-size: .84rem; color: var(--dim); }

/* tools / widgets */
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); margin: 22px 0; }
.widget h2, .widget .w-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; padding: 0; border: 0; }
.widget .w-sub { color: var(--mute); font-size: .86rem; margin-bottom: 14px; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--dim); }
.field input[type=number], .field input[type=text] { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: inherit; font-weight: 700; }
.field input[type=range] { width: 100%; accent-color: var(--violet); }
.seg { display: inline-flex; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { padding: 8px 16px; border: 0; background: transparent; color: var(--dim); font-weight: 700; border-radius: 9px; }
.seg button[aria-pressed="true"], .seg button.on { background: var(--violet); color: #fff; }
.result { margin-top: 14px; border: 1px dashed var(--line); border-radius: 14px; overflow: hidden; }
.result table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.result th, .result td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); color: var(--dim); }
.result tr:last-child td { border-bottom: 0; }
.result td b { color: var(--text); }
.result .total td { background: var(--surface2); color: var(--text); font-weight: 800; }
.note { font-size: .78rem; color: var(--mute); margin-top: 10px; }
.big { font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.odds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* game rail */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface2); color: var(--dim); font-size: .8rem; font-weight: 700; }
.fchip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gcard { flex: 0 0 150px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface2); transition: transform .15s, border-color .15s; color: var(--text) !important; text-decoration: none !important; display: block; }
.gcard:hover { transform: translateY(-4px); border-color: var(--accent); }
.gcard[hidden] { display: none; }
.gtile { aspect-ratio: 1; display: grid; place-items: center; font-size: 2.2rem; font-weight: 900; color: rgba(255,255,255,.92); letter-spacing: -.02em; text-shadow: 0 4px 18px rgba(0,0,0,.35); position: relative; }
.gtile small { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: .62rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.gmeta { padding: 10px 12px 12px; }
.gname { font-size: .84rem; font-weight: 700; line-height: 1.25; min-height: 2.5em; }
.gprov { font-size: .74rem; color: var(--mute); margin-top: 4px; }
.gplay { margin-top: 8px; font-size: .74rem; font-weight: 800; color: var(--accent); }
.livegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.livegrid .gcard { flex: initial; }

/* troubleshooter */
.tshoot-q { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tshoot-a { background: var(--surface2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; color: var(--dim); min-height: 64px; }
.tshoot-a b { color: var(--text); }

/* layout */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; padding: 34px 20px 70px; align-items: start; }
.page--home { grid-template-columns: minmax(0, 1fr); max-width: 1180px; }
.aside { position: sticky; top: 84px; display: grid; gap: 14px; }
.toc-card, .cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.toc-card h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.toc-card a { display: block; padding: 7px 10px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--dim); border-left: 3px solid transparent; }
.toc-card a:hover { background: var(--surface2); text-decoration: none; }
.toc-card a.is-active { color: var(--text); background: var(--surface2); border-left-color: var(--accent); }
.cta-card { background: linear-gradient(160deg, rgba(124,92,255,.35), var(--surface)); }
.cta-card b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.cta-card p { color: var(--dim); font-size: .86rem; margin-bottom: 12px; }
.cta-card .btn { width: 100%; }

/* content sections */
.content { min-width: 0; }
.sec { margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sec-n { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--surface2); color: var(--accent); border: 1px solid var(--line); }
.sec h2 { font-size: 1.32rem; line-height: 1.3; font-weight: 800; }
.sec h3 { font-size: 1.04rem; color: var(--accent); margin: 18px 0 6px; font-weight: 800; }
.sec p { color: var(--dim); margin-bottom: 14px; }
.sec p:last-child { margin-bottom: 0; }
.sec strong { color: var(--text); }
.sec ul { margin: 0 0 14px 20px; color: var(--dim); }
.sec ul li::marker { color: var(--accent); }
.sec li { margin-bottom: 6px; }
.sec--intro { background: transparent; border: 0; padding: 0 4px; margin-bottom: 14px; }
.sec--intro p { color: var(--text); font-size: 1.05rem; }
.content a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

/* steps */
ol.steps { list-style: none; margin: 8px 0 16px; display: grid; gap: 10px; counter-reset: s; }
ol.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; color: var(--dim); margin: 0; cursor: pointer; transition: border-color .15s, opacity .15s; }
ol.steps li::before { content: counter(s); flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--violet); color: #fff; }
ol.steps li.done { border-color: var(--green); opacity: .72; }
ol.steps li.done::before { content: "✓"; background: var(--green); color: #05301d; }
.steps-bar { height: 6px; background: var(--surface2); border-radius: 999px; overflow: hidden; margin: 6px 0 6px; }
.steps-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--green)); transition: width .25s; }
.steps-hint { font-size: .78rem; color: var(--mute); }

/* tabs */
.tabs { margin: 10px 0 6px; }
.tab-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tab-btn { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--dim); font-weight: 700; }
.tab-btn[aria-selected="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
html.js .tab-panel[hidden] { display: none; }
.tab-panel > h3:first-child { margin-top: 4px; }

/* tables */
.table-scroll { overflow-x: auto; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.sec table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 420px; }
.sec th, .sec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: top; }
.sec th { background: var(--surface2); color: var(--accent); font-weight: 800; }
.sec tbody tr:last-child td { border-bottom: 0; }
.sec tbody tr:hover { background: color-mix(in srgb, var(--violet) 8%, transparent); }
.sec tbody td:first-child { color: var(--text); font-weight: 700; }

/* figures */
.shot { margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0a0a0e; cursor: zoom-in; position: relative; }
.shot img { width: 100%; max-height: 440px; object-fit: contain; margin: 0 auto; }
.shot::after { content: "⤢"; position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.shot--tall img { max-width: 300px; max-height: 560px; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5,5,10,.9); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 92vh; max-width: 96vw; border-radius: 12px; }

/* faq */
.faq-tools { margin-bottom: 12px; }
.faq-tools input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: inherit; }
details.q { border: 1px solid var(--line); border-radius: 14px; background: var(--surface2); margin-bottom: 8px; padding: 0 16px; transition: border-color .15s; }
details.q[open] { border-color: var(--accent); }
details.q summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 0; font-weight: 700; color: var(--text); position: relative; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.5rem; color: var(--accent); }
details.q[open] summary::after { content: "–"; }
details.q p { padding-bottom: 14px; }
.faq-empty { display: none; color: var(--mute); padding: 10px 2px; }

/* end cta */
.endcta { margin-top: 20px; padding: 28px; border-radius: 22px; text-align: center; background: linear-gradient(135deg, rgba(124,92,255,.4), rgba(255,210,63,.12)); border: 1px solid var(--line); }
.endcta p { color: var(--text); font-size: 1.05rem; margin-bottom: 14px; font-weight: 600; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 34px 0 100px; margin-top: 20px; }
.footer .container { display: grid; gap: 18px; }
.ft-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.ft-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.ft-nav a { color: var(--dim); font-weight: 600; font-size: .9rem; }
.ft-disc { color: var(--mute); font-size: .84rem; line-height: 1.6; }
.age { display: inline-block; margin-right: 8px; padding: 1px 8px; border: 2px solid var(--red); border-radius: 999px; color: var(--text); font-weight: 800; font-size: .74rem; }
.ft-copy { color: var(--mute); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 14px; }

/* floating */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 65; display: grid; gap: 10px; justify-items: end; }
.fab .btn { box-shadow: 0 10px 28px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.fab .btn.on { opacity: 1; transform: none; pointer-events: auto; }
.totop { opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.on { opacity: 1; pointer-events: auto; }

/* bottom tab bar (mobile app feel) */
.tabbar { display: none; }
.drawer { position: fixed; inset: 0; z-index: 110; display: none; background: rgba(5,5,10,.7); }
.drawer.on { display: block; }
.drawer-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 22px 22px 0 0; padding: 18px 18px 90px; border-top: 1px solid var(--line); }
.drawer-panel a { display: block; padding: 13px 10px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; }
.drawer-panel .x { position: absolute; right: 14px; top: 12px; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .page { grid-template-columns: 1fr; }
  .aside { position: static; order: -1; }
  .toc-card { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .topbar .container { height: 56px; gap: 10px; }
  .pnav { display: none; }
  .logo { margin-right: auto; }
  .tools .btn-ghost { display: none; }
  .hero h1 { font-size: 1.75rem; }
  .hero--inner h1 { font-size: 1.55rem; }
  .hero .container { padding: 28px 16px 26px; }
  .page { padding: 20px 14px 40px; }
  .sec { padding: 18px 16px; border-radius: 16px; }
  .w-row, .odds-grid { grid-template-columns: 1fr 1fr; }
  .widget { padding: 16px; }
  .gcard { flex-basis: 132px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; font-size: .66rem; font-weight: 700; color: var(--mute); background: transparent; border: 0; padding: 4px 0; text-decoration: none; }
  .tabbar .ti { font-size: 1.2rem; }
  .tabbar .is-active { color: var(--accent); }
  .fab { right: 12px; bottom: 78px; }
  .footer { padding-bottom: 40px; }
  .sc-tab { font-size: .76rem; }
  .sec table { min-width: 0; }
  .sec table thead { display: none; }
  .sec table, .sec tbody, .sec tr, .sec td { display: block; width: 100%; }
  .sec tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .sec td { border: 0; padding: 4px 14px; }
  .sec td[data-label]::before { content: attr(data-label) ": "; color: var(--mute); font-weight: 700; font-size: .78rem; }
  .table-scroll { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== burger header + side drawer (tablet & mobile) ===== */
.burger { display: none; flex-direction: column; gap: 4px; justify-content: center; align-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { display: block; visibility: hidden; background: rgba(5,5,10,0); transition: background .25s, visibility .25s; }
.drawer.on { visibility: visible; background: rgba(5,5,10,.62); }
.drawer-panel { left: auto; top: 0; bottom: 0; right: 0; width: min(88vw, 360px); border-radius: 0; border-top: 0; border-left: 1px solid var(--line); padding: 16px 18px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .26s ease; display: flex; flex-direction: column; gap: 4px; }
.drawer.on .drawer-panel { transform: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-head .logo img { height: 26px; }
.drawer-panel .x { position: static; }
.drawer-panel nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 1.02rem; }
.drawer-panel nav a::after { content: "›"; color: var(--mute); font-size: 1.3rem; }
.drawer-panel nav a.is-active { color: var(--accent); }
.dp-cta { display: grid; gap: 10px; margin-top: 18px; }
.dp-cta .btn { width: 100%; }
.dp-note { margin-top: auto; padding-top: 18px; font-size: .78rem; color: var(--mute); }
body.no-scroll { overflow: hidden; }
@media (max-width: 900px) {
  .pnav { display: none; }
  .burger { display: flex; }
  .logo { margin-right: auto; }
  .tools .btn-ghost { display: none; }
  .topbar .container { gap: 10px; }
}
@media (max-width: 720px) {
  .tabbar a, .tabbar button { min-height: 48px; align-content: center; }
}
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .topbar .container { height: 54px; }
  .tools { gap: 6px; }
  .tools .btn { padding: 9px 14px; font-size: .84rem; }
  .icon-btn { width: 36px; height: 36px; }
  .hero h1 { font-size: 1.55rem; }
  .hero--inner h1 { font-size: 1.4rem; }
  .btn-lg { padding: 13px 20px; font-size: .96rem; }
  .stats { gap: 8px; }
  .stat { padding: 12px 12px; }
  .stat b { font-size: 1.45rem; }
  .sec { padding: 16px 14px; }
  .sec h2 { font-size: 1.15rem; }
  .gcard { flex-basis: 124px; }
  .showcase .sc-tab { font-size: .72rem; padding: 8px 2px; }
  .w-row { grid-template-columns: 1fr; }
}
img, video, iframe { max-width: 100%; }
.sec, .widget, .content { overflow-wrap: anywhere; }

.dp-cta { grid-template-columns: 1fr 1fr; margin: 6px 0 10px; }
.dp-cta .btn-lg { padding: 12px 10px; font-size: .95rem; }
.drawer-panel nav a { padding: 12px 6px; font-size: 1rem; }

:root { --accent: #f472b6; --violet: #6366f1; --violet2: #9aa0ff; }
