/*
  LeanBot website - one stylesheet for every public page.

  Direction: an Apple-style product page. Dark and calm, very large type, a lot
  of space, rounded tiles, pill buttons, one blue for action. The product
  itself (the app's real interface in public/demo) is the hero image. No
  starfield, no emoji, no glow for its own sake.

  The PayPal checkout block at the end is lean-payments' card section, kept as
  it was - see wallet.js before touching it.
*/

/* ---------- tokens ---------- */
:root {
  --bg: #000;
  --bg-2: #0a0a0c;
  --tile: #141416;
  --tile-2: #1c1c1f;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.14);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --blue: #0071e3;
  --blue-hi: #0077ed;
  --link: #2997ff;
  --green: #30d158;
  --red: #ff6961;
  --amber: #ffd60a;
  --radius: 28px;
  --radius-sm: 18px;
  --shell: 1360px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.5; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, .subtitle, .lede { text-wrap: balance; }
p, li { text-wrap: pretty; }
img { max-width: 100%; display: block; }
code { font: .86em ui-monospace, 'SF Mono', Menlo, Consolas, monospace; background: var(--tile-2); padding: 2px 6px; border-radius: 6px; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 760px; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.headline { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.title    { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.07; }
.subtitle { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; color: var(--text-2); }
.eyebrow  { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); margin-bottom: 10px; display: block; }
.eyebrow.blue { color: var(--link); }
.muted { color: var(--text-2); }
.small { font-size: .86rem; color: var(--text-3); }
.center { text-align: center; }
.grad {
  background: linear-gradient(90deg, #5ac8fa 0%, #2997ff 40%, #bf5af2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 11px 22px; border-radius: 980px; border: 1px solid transparent;
  font: 500 1rem var(--font); letter-spacing: -.01em; white-space: nowrap; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hi); color: #fff; }
.btn-secondary { background: transparent; color: var(--link); border-color: var(--link); }
.btn-secondary:hover { background: rgba(41,151,255,.1); color: var(--link); }
.btn-quiet { background: var(--tile-2); color: var(--text); }
.btn-quiet:hover { background: #26262a; color: var(--text); }
.btn-lg { padding: 15px 30px; font-size: 1.06rem; }
.btn-sm { padding: 7px 15px; font-size: .86rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.link-arrow { font-size: 1.06rem; font-weight: 500; }
.link-arrow::after { content: ' \203A'; font-size: 1.15em; }
.cta-row { display: flex; gap: 14px 22px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 30px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 52px;
  background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { height: 52px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 1.02rem; letter-spacing: -.02em; flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(245,245,247,.8); font-size: .82rem; letter-spacing: -.005em; }
.nav-links a:hover, .nav-links a[aria-current=page] { color: #fff; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 8px; color: rgba(245,245,247,.85); font-size: .82rem; }
.nav-user:hover { color: #fff; text-decoration: none; }
.nav-user img, .avatar { width: 26px; height: 26px; border-radius: 50%; }
.avatar { display: grid; place-items: center; background: #3a3a3c; font-size: .72rem; font-weight: 600; color: #fff; }
.nav-signin { color: rgba(245,245,247,.85); font-size: .82rem; }
.nav-signin:hover { color: #fff; text-decoration: none; }
.nav-menu {
  display: none; margin-left: auto; width: 36px; height: 36px; border: none; background: none; cursor: pointer; padding: 0;
  color: var(--text); position: relative;
}
.nav-menu span, .nav-menu::before, .nav-menu::after {
  content: ''; position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s;
}
.nav-menu::before { top: 13px; } .nav-menu span { top: 18px; } .nav-menu::after { top: 23px; }
.nav.open .nav-menu::before { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-menu span { opacity: 0; }
.nav.open .nav-menu::after { transform: translateY(-5px) rotate(-45deg); }
.nav-drawer { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-menu { display: block; }
  .nav.open { height: auto; background: rgba(0,0,0,.94); }
  .nav.open .nav-drawer { display: flex; flex-direction: column; padding: 8px 22px 26px; }
  .nav-drawer a { color: var(--text); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; padding: 9px 0; }
  .nav-drawer a:hover { text-decoration: none; color: #fff; }
  .nav-drawer .btn { margin-top: 16px; font-size: 1rem; }
}

/* ---------- sections ---------- */
section { padding: 96px 0 0; scroll-margin-top: 52px; }
section.tight { padding-top: 80px; }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.section-head .subtitle { margin-top: 18px; }

/* hero */
.hero { padding: 88px 0 0; text-align: center; }
.hero .subtitle { max-width: 760px; margin: 22px auto 0; }
.hero-note { margin-top: 18px; font-size: .86rem; color: var(--text-3); }
.news {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 6px 8px 6px 14px; border-radius: 980px;
  background: var(--tile); border: 1px solid var(--line); color: var(--text-2); font-size: .86rem;
}
.news b { color: var(--text); font-weight: 600; }
.news a { padding: 3px 11px; border-radius: 980px; background: var(--tile-2); color: var(--text); font-size: .8rem; }
.news a:hover { text-decoration: none; background: #2a2a2e; }

/* what it plays, under the hero */
.plays { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 56px auto 0; max-width: 1200px; }
.play { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; border-radius: 980px;
  background: var(--tile); border: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }
.play img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- tiles (bento) ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; background: var(--tile); border-radius: var(--radius); padding: 40px 36px; overflow: hidden; position: relative;
  min-height: 300px; display: flex; flex-direction: column;
}
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tiles.four .tile { grid-column: auto; min-height: 280px; padding: 34px 30px; }
.tile h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.tile p { color: var(--text-2); margin-top: 14px; font-size: 1.02rem; line-height: 1.5; }
.tile .kicker { font-size: .92rem; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.tile .big-number { font-size: clamp(3.4rem, 8vw, 5.4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: auto; padding-top: 30px; }
.tile .big-number small { font-size: .3em; letter-spacing: -.01em; font-weight: 600; color: var(--text-2); margin-left: 6px; }
.tile.accent { background: linear-gradient(160deg, #0b2a4a 0%, #141416 70%); }
.tile.accent-2 { background: linear-gradient(160deg, #2a1340 0%, #141416 70%); }
.tile.accent-3 { background: linear-gradient(160deg, #0f3326 0%, #141416 70%); }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 640px) { .tiles, .tiles.four { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.full { grid-column: auto; min-height: 0; padding: 32px 26px; } }

/* the update pipeline, drawn as steps */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 34px; counter-reset: flow; }
.flow div { position: relative; padding: 18px 18px 0 0; border-top: 2px solid #2a2a2e; }
.flow div::before {
  counter-increment: flow; content: counter(flow); position: absolute; top: -13px; left: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--link); color: #000; font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}
.flow b { display: block; font-size: 1rem; font-weight: 600; margin-top: 8px; }
.flow span { display: block; color: var(--text-2); font-size: .92rem; margin-top: 4px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr 1fr; gap: 30px 0; } }

/* ---------- modules ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.module { background: var(--bg-2); padding: 24px 24px 26px; }
.module h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.module p { color: var(--text-2); font-size: .95rem; margin-top: 6px; }
.tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: rgba(255,214,10,.12); color: var(--amber); }
.tag.free { background: rgba(48,209,88,.12); color: var(--green); }
@media (max-width: 1100px) { .modules { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }

/* ---------- feature list ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--tile); border-radius: 22px; padding: 26px 24px 28px; }
.gicon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px;
  background: radial-gradient(circle at 30% 25%, #233041, #12161d); border: 1px solid rgba(120,170,220,.18); }
.gicon img { width: 30px; height: 30px; object-fit: contain; image-rendering: auto; }
.feature h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; }
.feature p { color: var(--text-2); font-size: .97rem; margin-top: 6px; }
.feature .ico { width: 34px; height: 34px; color: var(--link); margin-bottom: 14px; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* two columns: words and a panel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .title { margin-bottom: 18px; }
.split .subtitle + p, .split p + p { margin-top: 16px; }
.split p { color: var(--text-2); font-size: 1.06rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; background: var(--tile); border-radius: var(--radius); padding: 14px; }
.checklist li { display: flex; gap: 14px; padding: 16px 16px; border-radius: 16px; }
.checklist li:hover { background: var(--tile-2); }
.checklist svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.checklist b { display: block; font-weight: 600; font-size: 1rem; }
.checklist span { color: var(--text-2); font-size: .94rem; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--tile); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; border: 1px solid transparent; }
.plan.featured { border-color: var(--link); background: linear-gradient(180deg, #0d2238 0%, var(--tile) 55%); }
.plan .plan-name { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.plan .price { font-size: 3rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 14px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: -.01em; margin-left: 4px; }
.plan .plan-desc { color: var(--text-2); margin-top: 12px; font-size: .97rem; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; color: var(--text); }
.plan li::before { content: ''; width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; border-radius: 50%; background: rgba(48,209,88,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2330d158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }
.tiers { display: grid; gap: 8px; margin-top: 18px; }
.tier { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.04); }
.tier b { font-weight: 600; }
.tier span { color: var(--text-2); font-size: .92rem; }
.tier strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.pricing-note { text-align: center; color: var(--text-2); margin-top: 30px; font-size: .95rem; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--text-2); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 26px 0; font-size: 1.02rem; }

/* closing call to action */
.closing { text-align: center; padding: 110px 0 100px; }
.closing .subtitle { margin: 18px auto 0; max-width: 560px; }

/* ---------- footer ---------- */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0 34px; font-size: .78rem; color: var(--text-3); margin-top: 0; }
.footer-note { padding-bottom: 20px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; }
.footer-cols h4 { font-size: .78rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-cols a { display: block; color: var(--text-2); margin-bottom: 8px; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .seg button { transition: none; }
}

/* ======================================================================
   App pages: wallet, download, changelog, terms
   ====================================================================== */
.page-head { padding: 80px 0 0; text-align: center; }
.page-head .subtitle { max-width: 620px; margin: 18px auto 0; }
.page-body { padding: 56px 0 120px; }

.card { background: var(--tile); border-radius: var(--radius); padding: 32px; position: relative; }
.card + .card { margin-top: 20px; }
.card-label { font-size: .86rem; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.card h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.card .muted { margin-top: 6px; font-size: .97rem; }
@media (max-width: 560px) { .card { padding: 24px 20px; border-radius: 22px; } }

/* sign-in gate */
.gate { max-width: 520px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.gate .gate-mark { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center; background: var(--tile-2); color: var(--link); }
.gate .gate-mark svg { width: 30px; height: 30px; }
.gate h2 { font-size: 1.7rem; }
.gate p { color: var(--text-2); margin: 12px auto 28px; max-width: 40ch; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752c4; color: #fff; }

/* wallet layout */
.wallet-grid { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.wallet-grid .stack { display: grid; gap: 20px; }
.wallet-grid .card + .card { margin-top: 0; }
@media (max-width: 900px) { .wallet-grid { grid-template-columns: 1fr; } }
.balance { font-size: clamp(3rem, 7vw, 3.8rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.balance .cur { font-size: .5em; color: var(--text-2); font-weight: 600; margin-right: 4px; vertical-align: .38em; letter-spacing: 0; }
.balance.neg { color: var(--red); }
.balance-note { color: var(--text-2); font-size: .92rem; margin-top: 12px; }
.balance-note.warn { color: var(--amber); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.mini-stats div { background: rgba(255,255,255,.04); border-radius: 14px; padding: 14px 16px; }
.mini-stats b { display: block; font-size: 1.1rem; font-weight: 600; }
.mini-stats span { font-size: .78rem; color: var(--text-3); }

.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.preset {
  padding: 16px 0; border-radius: 16px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer;
  font: 600 1.15rem var(--font); letter-spacing: -.02em; transition: border-color .15s, background .15s;
}
.preset:hover { border-color: rgba(255,255,255,.3); }
.preset.on { border-color: var(--link); background: rgba(41,151,255,.1); box-shadow: 0 0 0 1px var(--link) inset; }
.amount { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 0 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.amount:focus-within { border-color: var(--link); box-shadow: 0 0 0 4px rgba(41,151,255,.18); }
.amount span { color: var(--text-2); font-weight: 600; font-size: 1.1rem; }
.amount input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font: 500 1.1rem var(--font); padding: 15px 0; }
.hint { color: var(--text-3); font-size: .84rem; margin-top: 9px; }
.agree {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 20px; padding: 16px 18px; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.035); color: var(--text-2); font-size: .9rem; line-height: 1.5; border: 1px solid transparent; transition: border-color .2s;
}
.agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.agree.nudge { border-color: var(--amber); animation: nudge .4s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.secure { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--text-3); font-size: .8rem; margin-top: 16px; }
.secure svg { width: 13px; height: 13px; }

.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.history li:last-child { border-bottom: none; }
.history .k { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .95rem; background: rgba(48,209,88,.14); color: var(--green); }
.history .k.out { background: rgba(255,105,97,.13); color: var(--red); }
.history .k.adj { background: rgba(255,214,10,.12); color: var(--amber); }
.history .what { flex: 1; min-width: 0; }
.history .what b { display: block; font-weight: 500; font-size: .97rem; }
.history .what span { color: var(--text-3); font-size: .8rem; }
.history .amt { font-weight: 600; white-space: nowrap; }
.history .amt.pos { color: var(--green); } .history .amt.neg { color: var(--red); }
.empty { text-align: center; color: var(--text-3); padding: 26px 0 8px; font-size: .94rem; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 80;
  max-width: min(560px, calc(100vw - 32px)); padding: 14px 22px; border-radius: 16px; font-size: .95rem;
  background: rgba(40,40,44,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0,0,0,.6); transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.ok { border-color: rgba(48,209,88,.5); }
.toast.err { border-color: rgba(255,105,97,.5); }

/* download */
.download-card { max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.download-card .version { font-size: .92rem; color: var(--text-2); margin-bottom: 22px; }
.download-card .version b { color: var(--text); font-weight: 600; }
.download-card .meta { margin-top: 18px; font-size: .86rem; color: var(--text-3); }
.download-card .hash { margin-top: 10px; font: .72rem ui-monospace, Menlo, Consolas, monospace; color: var(--text-3); word-break: break-all; }
.steps { list-style: none; padding: 0; margin: 64px auto 0; max-width: 760px; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 18px; background: var(--tile); border-radius: 20px; padding: 22px 24px; color: var(--text-2); }
.steps li::before { content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tile-2); color: var(--text); font-weight: 600; font-size: .9rem; display: grid; place-items: center; }
.steps b { color: var(--text); font-weight: 600; }
.steps-note { max-width: 760px; margin: 20px auto 0; color: var(--text-2); font-size: .95rem; text-align: center; }

/* changelog (articles come from the bot repo's changelog.html) */
.release { background: var(--tile); border-radius: var(--radius); padding: 36px 36px 30px; scroll-margin-top: 72px; }
.release + .release { margin-top: 20px; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.release-head h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.035em; }
.chip { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: rgba(41,151,255,.14); color: var(--link); }
.chip.muted { background: var(--tile-2); color: var(--text-2); }
.release .intro { color: var(--text-2); margin-top: 14px; font-size: 1.02rem; }
.group { margin-top: 22px; }
.group h3 { font-size: .86rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.group ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.group li { color: var(--text); font-size: .98rem; }
.group li::marker { color: var(--text-3); }
.group li b { font-weight: 600; }
.new { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: rgba(48,209,88,.14); color: var(--green); vertical-align: 2px; }

/* terms */
.prose { max-width: 760px; margin: 0 auto; color: var(--text-2); }
.prose section { padding: 0; }
.prose h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: var(--text); margin: 48px 0 12px; scroll-margin-top: 72px; }
.prose h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 20px 0 6px; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.6; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.toc { padding: 26px 30px; }
.toc ol { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; font-size: .95rem; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--text); }
.operator { white-space: pre-line; color: var(--text); padding: 20px 24px; margin: 12px 0; }
.callout { padding: 18px 22px; margin: 14px 0; border-radius: 18px; background: rgba(255,214,10,.07); color: var(--text); border: 1px solid rgba(255,214,10,.22); }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* ======================================================================
   PayPal checkout - lean-payments' card section, carried over as it was.
   ====================================================================== */
#paypal-buttons { min-height: 48px; }
#paypal-buttons .loading { color: var(--text-3); font-size: .9rem; text-align: center; padding: 14px 0; }
.ck-sep { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.ck-sep::before, .ck-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.ck-card-section {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(88,101,242,.06) 0%, rgba(8,9,15,.6) 100%);
  border: 1px solid rgba(88,101,242,.22); border-radius: 16px; padding: 16px;
}
.ck-card-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(88,101,242,.1), transparent 70%);
}
.ck-card-brands { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ck-card-brands span { font-size: .68rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; letter-spacing: .04em; }
.cb-visa { background: #1a1f6e; color: #6b82f5; border: 1px solid rgba(88,101,242,.3); }
.cb-mc   { background: #2a1210; color: #e8774d; border: 1px solid rgba(232,119,77,.3); }
.cb-amex { background: #0d2240; color: #5baee8; border: 1px solid rgba(91,174,232,.3); }
.cb-disc { background: #2a1a06; color: #e8a83a; border: 1px solid rgba(232,168,58,.3); }
.cf-wrap { margin-bottom: 12px; position: relative; z-index: 1; }
.cf-label { font-size: .69rem; color: var(--text-2); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cf-field {
  background: rgba(3,4,11,.75); border: 1px solid rgba(255,255,255,.08); border-radius: 11px; height: 50px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s; box-shadow: inset 0 1px 3px rgba(0,0,0,.4);
}
.cf-field.ck-focused { border-color: rgba(88,101,242,.65); box-shadow: 0 0 0 3px rgba(88,101,242,.15), inset 0 1px 3px rgba(0,0,0,.4); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-pay-card {
  position: relative; z-index: 1; width: 100%; margin-top: 14px; padding: 15px; background: var(--blue); color: #fff; border: none; border-radius: 12px;
  font: 600 .98rem var(--font); cursor: pointer; transition: all .18s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-pay-card:hover:not(:disabled) { background: var(--blue-hi); }
.btn-pay-card:disabled { opacity: .35; cursor: not-allowed; }
.btn-pay-card .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-pay-card.loading .spinner { display: block; }
.btn-pay-card.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-error { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255,105,97,.08); border: 1px solid rgba(255,105,97,.28); }
.pay-error-icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: rgba(255,105,97,.2); color: var(--red); font-weight: 800; font-size: .85rem; }
.pay-error b { color: #ffb3ad; font-weight: 600; }
.pay-error p { color: var(--text-2); font-size: .88rem; margin-top: 2px; }

/* ======================================================================
   Guide (/docs): sidebar, one readable column, "on this page", search.
   Written for players who have never set up a bot: big steps, pictures,
   coloured boxes for the things that go wrong.
   ====================================================================== */
.dk { display: grid; grid-template-columns: 248px minmax(0, 1fr) 200px; gap: 48px; padding: 40px 0 110px; align-items: start; }
.dk-side { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.dk-nav { display: grid; gap: 2px; margin-top: 18px; }
.dn-group + .dn-group { margin-top: 18px; }
.dk-nav h4 { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 12px 6px; }
.dk-nav a { display: block; color: var(--text-2); font-size: .93rem; padding: 6px 12px; border-radius: 10px; line-height: 1.35; }
.dk-nav a:hover { color: var(--text); background: var(--tile); text-decoration: none; }
.dk-nav a.on { color: var(--text); background: var(--tile-2); font-weight: 500; box-shadow: inset 2px 0 0 var(--link); }

.dsearch-open { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--tile); color: var(--text-3); font: inherit; font-size: .9rem; cursor: pointer; text-align: left; }
.dsearch-open:hover { border-color: rgba(255,255,255,.24); color: var(--text-2); }
.dsearch-open svg { width: 17px; height: 17px; flex-shrink: 0; }
.dsearch-open span { flex: 1; }
kbd { font: 600 .7rem var(--font); color: var(--text-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; background: var(--bg-2); white-space: nowrap; }

.dk-main { min-width: 0; max-width: 780px; }
.dk-bar { display: none; }
.dk-crumb { font-size: .85rem; color: var(--text-3); margin-bottom: 10px; display: flex; gap: 8px; }
.dk-crumb a { color: var(--text-3); }

.dk-content { color: var(--text-2); font-size: 1.04rem; line-height: 1.7; }
.dk-content > *:first-child { margin-top: 0; }
.dk-content .doc-title { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; color: var(--text); margin-bottom: 14px; }
.dk-content .doc-title + p { font-size: 1.22rem; line-height: 1.55; color: var(--text); }
.dk-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--text);
  margin: 52px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.dk-content h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: -.015em; color: var(--text); margin: 32px 0 8px; scroll-margin-top: 92px; }
.dk-content h2 .anchor, .dk-content h3 .anchor { float: left; margin-left: -1em; width: 1em; color: var(--text-3); opacity: 0; text-decoration: none; font-weight: 400; }
.dk-content h2:hover .anchor, .dk-content h3:hover .anchor { opacity: 1; }
.dk-content p { margin: 12px 0 0; }
.dk-content strong { color: var(--text); font-weight: 600; }
.dk-content em { color: var(--text); font-style: normal; background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; font-size: .95em; }
.dk-content ul { padding-left: 22px; margin: 12px 0 0; }
.dk-content li + li { margin-top: 6px; }
.dk-content li::marker { color: var(--text-3); }
.dk-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.dk-content pre { background: var(--tile); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; overflow-x: auto; margin: 16px 0 0; }
.dk-content pre code { background: none; padding: 0; font-size: .88rem; color: var(--text); }

/* Numbered steps: every ordered list in the guide is a set of steps. */
.dk-content ol { list-style: none; counter-reset: step; padding: 0; margin: 18px 0 0; }
.dk-content ol > li { counter-increment: step; position: relative; padding: 0 0 22px 50px; margin: 0; }
.dk-content ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.dk-content ol > li:not(:last-child)::after { content: ''; position: absolute; left: 15.5px; top: 38px; bottom: 6px; width: 1px; background: var(--line-2); }
.dk-content ol > li > p:first-child { margin-top: 0; }
.dk-content ol > li .shot { margin-top: 14px; }

/* Callouts */
.dcall { margin: 22px 0 0; padding: 14px 18px 16px; border-radius: 14px; border: 1px solid; font-size: .99rem; }
.dcall-head { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; display: flex; align-items: center; gap: 8px; }
.dcall-head::before { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; color: #000; letter-spacing: 0; }
.dcall p:first-of-type { margin-top: 6px; }
.dcall p { color: var(--text-2); }
.dcall.tip { background: rgba(48,209,88,.07); border-color: rgba(48,209,88,.28); }
.dcall.tip .dcall-head { color: var(--green); }
.dcall.tip .dcall-head::before { content: '\2713'; background: var(--green); }
.dcall.note { background: rgba(41,151,255,.07); border-color: rgba(41,151,255,.28); }
.dcall.note .dcall-head { color: var(--link); }
.dcall.note .dcall-head::before { content: 'i'; background: var(--link); }
.dcall.warning { background: rgba(255,214,10,.06); border-color: rgba(255,214,10,.3); }
.dcall.warning .dcall-head { color: var(--amber); }
.dcall.warning .dcall-head::before { content: '!'; background: var(--amber); }
.dcall.danger { background: rgba(255,105,97,.08); border-color: rgba(255,105,97,.34); }
.dcall.danger .dcall-head { color: var(--red); }
.dcall.danger .dcall-head::before { content: '!'; background: var(--red); }

/* Pictures */
.shot { margin: 22px 0 0; }
.shot .zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: .86rem; color: var(--text-3); margin-top: 8px; text-align: center; }
.dzoom { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.dzoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }

/* Tables */
.dk-content .table { overflow-x: auto; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 14px; }
.dk-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.dk-content th, .dk-content td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dk-content tr:last-child td { border-bottom: 0; }
.dk-content th { color: var(--text-3); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; background: var(--bg-2); }
.dk-content td:first-child { color: var(--text); font-weight: 500; }

/* Link cards */
.dcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 20px 0 0; }
.dcard { position: relative; display: grid; align-content: start; gap: 4px; padding: 18px 40px 18px 18px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); color: var(--text-2); }
.dcard:hover { text-decoration: none; border-color: rgba(41,151,255,.5); background: var(--tile-2); }
.dcard strong { color: var(--text); font-size: 1rem; }
.dcard span { font-size: .9rem; line-height: 1.45; }
.dcard i { position: absolute; right: 16px; top: 18px; font-style: normal; color: var(--link); }

.dk-home .dk-content .doc-title { font-size: clamp(2.3rem, 5vw, 3.4rem); }

.dk-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.dk-pager a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); }
.dk-pager a:hover { text-decoration: none; border-color: rgba(41,151,255,.5); }
.dk-pager small { color: var(--text-3); font-size: .78rem; }
.dk-pager strong { color: var(--text); font-weight: 600; }
.dk-pager .next { text-align: right; }
.dk-help { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--tile); }
.dk-home .dk-help { margin-top: 56px; }
.dk-help div { display: grid; gap: 2px; }
.dk-help strong { color: var(--text); }
.dk-help span { color: var(--text-2); font-size: .92rem; }
.dk-help .btn { flex-shrink: 0; }

.dk-toc { position: sticky; top: 92px; display: grid; gap: 2px; font-size: .85rem; }
.dk-toc h4 { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.dk-toc a { color: var(--text-3); padding: 4px 0 4px 12px; border-left: 1px solid var(--line); line-height: 1.35; }
.dk-toc a:hover { color: var(--text); text-decoration: none; }
.dk-toc a.on { color: var(--text); border-left-color: var(--link); }

/* Search */
.dsearch { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 10vh 16px 16px; }
.dsearch-box { max-width: 640px; margin: 0 auto; background: var(--tile); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.dsearch-field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.dsearch-field svg { width: 20px; height: 20px; flex-shrink: 0; }
.dsearch-field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 1.05rem; }
.dsearch-results { max-height: 60vh; overflow-y: auto; padding: 6px; }
.dsearch-results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); }
.dsearch-results a:hover, .dsearch-results a.on { background: var(--tile-2); text-decoration: none; }
.dsearch-results a strong { color: var(--text); font-weight: 600; font-size: .97rem; }
.dsearch-results a small { color: var(--text-3); font-size: .8rem; }
.dsearch-results a span { font-size: .87rem; line-height: 1.45; }
.dsearch-results mark { background: rgba(41,151,255,.25); color: var(--text); border-radius: 3px; }
.dsearch-results .empty { padding: 22px 14px; color: var(--text-3); text-align: center; }

@media (max-width: 1180px) {
  .dk { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
  .dk-toc { display: none; }
}
@media (max-width: 860px) {
  .dk { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .dk-bar { display: flex; gap: 10px; margin-bottom: 22px; }
  .dk-menu { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--tile); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
  .dk-menu svg { width: 18px; height: 18px; }
  .dsearch-open.compact kbd { display: none; }
  .dk-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: min(320px, 86vw); max-height: none; padding: 20px 16px;
    background: var(--bg-2); border-right: 1px solid var(--line-2); transform: translateX(-102%); transition: transform .25s ease; }
  .dk-side.open { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.6); }
  .dk-content ol > li { padding-left: 44px; }
  .dk-pager { grid-template-columns: 1fr; }
  .dk-help { flex-direction: column; align-items: flex-start; }
}

/* ---------- account menu ---------- */
.account { position: relative; }
.account summary { list-style: none; cursor: pointer; padding: 4px 6px 4px 4px; border-radius: 980px; }
.account summary::-webkit-details-marker { display: none; }
.account summary:hover { background: rgba(255,255,255,.06); }
.account .chev { width: 12px; height: 12px; color: var(--text-3); transition: transform .2s; }
.account[open] .chev { transform: rotate(180deg); }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; padding: 6px; border-radius: 14px; z-index: 60;
  background: rgba(30,30,33,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.account-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: .9rem; }
.account-menu a:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.account-menu hr { border: none; height: 1px; background: var(--line); margin: 5px 6px; }

/* ---------- keyboard focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .preset:focus-visible {
  outline: 2px solid var(--link); outline-offset: 3px; border-radius: 10px;
}

/* ---------- wallet steps ---------- */
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; margin: 26px 0 12px; }
.card-label + .step-title { margin-top: 0; }
.step-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--tile-2); color: var(--text); font-size: .8rem; font-weight: 700; }
.step-title + .agree { margin-top: 0; }
.pay-zone { transition: opacity .25s; }
.pay-zone.waiting { opacity: .45; }  /* opacity only: a filter here makes the PayPal iframe draw a grey block */

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 140px 0 160px; }
.lost .subtitle { margin: 16px auto 30px; max-width: 520px; }

/* ======================================================================
   Modern layer: floating nav, glow, split hero with a phone, bento
   ====================================================================== */
.nav { top: 12px; height: auto; background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 clamp(12px, 3vw, 32px); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: 58px; padding: 0 10px 0 20px !important; border-radius: 980px;
  background: rgba(22,22,26,.66); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.nav-links { gap: 4px; }
.nav-links a { padding: 7px 13px; border-radius: 980px; font-size: .86rem; }
.nav-links a:hover, .nav-links a[aria-current=page] { background: rgba(255,255,255,.07); }
.nav-actions .btn-sm { padding: 9px 18px; }
@media (max-width: 860px) {
  .nav.open .nav-inner { border-radius: 26px 26px 0 0; }
  .nav.open .nav-drawer { background: rgba(22,22,26,.96); border: 1px solid rgba(255,255,255,.09); border-top: none; border-radius: 0 0 26px 26px; max-width: 1240px; margin: 0 auto; }
}

.hero-split { position: relative; text-align: left; padding: 72px 0 0; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(41,151,255,.28), transparent 70%),
    radial-gradient(35% 45% at 95% 60%, rgba(191,90,242,.22), transparent 70%),
    radial-gradient(30% 40% at 20% 10%, rgba(90,200,250,.12), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-split .headline { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero-split .subtitle { margin: 22px 0 0; max-width: 580px; }
.hero-split .cta-row { justify-content: flex-start; }
.hero-split .hero-note { text-align: left; }
.hero-split .plays { margin-top: 72px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-split .subtitle { margin: 22px auto 0; }
  .hero-split .cta-row { justify-content: center; }
  .hero-split .hero-note { text-align: center; }
}

/* the phone */
.device { position: relative; display: flex; justify-content: center; padding: 20px 0 30px; }
.phone {
  width: 300px; border-radius: 46px; padding: 14px 14px 18px; position: relative;
  background: linear-gradient(180deg, #121216, #0b0b0e); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 9px #1c1c20, 0 0 0 10px rgba(255,255,255,.08), 0 50px 120px -20px rgba(41,151,255,.35), 0 30px 80px rgba(0,0,0,.7);
}
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 10px; font-size: .74rem; font-weight: 600; }
.phone-island { width: 84px; height: 24px; border-radius: 980px; background: #000; }
.phone-sig { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,.7); position: relative; }
.phone-sig::after { content: ''; position: absolute; inset: 1.5px; right: 5px; background: rgba(255,255,255,.85); border-radius: 1px; }
.app-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; font-size: .92rem; }
.app-head img { width: 22px; height: 22px; border-radius: 6px; }
.app-head .live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--green); background: rgba(48,209,88,.12); padding: 4px 9px; border-radius: 980px; }
.app-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(48,209,88,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(48,209,88,0); } }
.acct { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.04); margin-bottom: 7px; }
.acct-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #233041, #12161d); flex-shrink: 0; }
.acct-ico img { width: 22px; height: 22px; }
.acct div { flex: 1; min-width: 0; }
.acct b { display: block; font-size: .82rem; font-weight: 600; }
.acct div span { display: block; font-size: .72rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state { font-size: .66rem; font-weight: 600; padding: 3px 8px; border-radius: 980px; }
.state.ok { background: rgba(48,209,88,.14); color: var(--green); }
.state.wait { background: rgba(255,214,10,.13); color: var(--amber); }
.radar { position: relative; height: 104px; border-radius: 16px; margin: 4px 0 10px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(41,151,255,.18), transparent 60%), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px), #0d1117; }
.radar i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.radar .r1 { left: 22%; top: 30%; } .radar .r2 { left: 64%; top: 22%; } .radar .r3 { left: 74%; top: 68%; background: var(--amber); } .radar .r4 { left: 34%; top: 74%; background: var(--amber); }
.radar .me { left: 48%; top: 48%; width: 9px; height: 9px; background: var(--link); box-shadow: 0 0 0 5px rgba(41,151,255,.25); }
.phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-actions span { text-align: center; padding: 10px; border-radius: 13px; background: rgba(255,255,255,.07); font-size: .8rem; font-weight: 600; }
.phone-actions .go { background: var(--blue); }

.float { position: absolute; display: flex; gap: 10px; align-items: center; padding: 11px 15px 11px 12px; border-radius: 16px;
  background: rgba(30,30,34,.82); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: .82rem; font-weight: 600; }
.float span:not(.fdot) { display: block; font-size: .72rem; color: var(--text-2); }
.fdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fdot.ok { background: var(--green); } .fdot.info { background: var(--link); }
.f1 { left: max(0px, calc(50% - 300px)); top: 26%; }
.f2 { right: max(0px, calc(50% - 300px)); bottom: 16%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .float { display: none; } .phone { width: 280px; } }
@media (prefers-reduced-motion: reduce) { .float, .app-head .live i { animation: none; } }

/* bento led by the remote tile */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; }
.bento .tile { grid-column: auto; min-height: 0; }
.bento .b-remote { grid-row: span 2; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--text); font-size: .98rem; }
.ticks li::before { content: ''; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; border-radius: 50%; background: rgba(41,151,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232997ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.b-remote .link-arrow { margin-top: auto; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .b-remote { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .b-remote { grid-column: auto; } }

/* hover spotlight on tiles and cards (site.js sets --mx/--my) */
.tile, .feature, .plan { position: relative; }
.tile::after, .feature::after, .plan::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.06), transparent 60%);
}
.tile:hover::after, .feature:hover::after, .plan:hover::after { opacity: 1; }
.feature, .plan { transition: transform .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); }

/* ======================================================================
   Hero stage: a big visual (live map or overnight report), the phone over
   its right edge, and a small text card. One of the two visuals per visit.
   ====================================================================== */
.hero-stage { position: relative; padding: 40px 0 0; text-align: left; overflow: hidden; }
.stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; align-items: center; }
.visual { grid-column: 1 / 10; grid-row: 1; position: relative; border-radius: 28px; overflow: hidden; height: 560px;
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 120px -40px rgba(41,151,255,.35); background: #05070c; }
.stage .device { grid-column: 9 / 13; grid-row: 1 / 3; z-index: 2; padding: 0; align-self: center; }
.hero-card { grid-column: 1 / 8; grid-row: 2; margin: -120px 0 0 28px; z-index: 3; position: relative; max-width: 560px;
  padding: 26px 28px; border-radius: 24px; background: rgba(18,18,22,.78); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.hero-card .news { margin-bottom: 14px; }
.hero-card h1 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.hero-card p { color: var(--text-2); font-size: 1rem; margin-top: 10px; }
.hero-card .cta-row { justify-content: flex-start; margin-top: 20px; }
.hero-card .hero-note { text-align: left; margin-top: 14px; font-size: .8rem; }

/* which visual */
.hv { position: absolute; inset: 0; }
.hv-away { display: none; }
html[data-hero=away] .hv-map { display: none; }
html[data-hero=away] .hv-away { display: block; }

/* live map */
.map-svg { width: 100%; height: 100%; display: block; }
.map-svg .grid line { stroke: rgba(120,160,255,.07); stroke-width: 1; }
.map-svg .route { fill: none; stroke: rgba(41,151,255,.28); stroke-width: 1.5; stroke-dasharray: 3 7; }
.map-svg .gate-glow { fill: rgba(90,200,250,.08); }
.map-svg .gate-ring { fill: none; stroke: rgba(90,200,250,.75); stroke-width: 2; stroke-dasharray: 10 6; }
.map-svg .gate-core { fill: rgba(90,200,250,.18); stroke: rgba(90,200,250,.5); }
.map-svg .gate text { fill: rgba(255,255,255,.55); font: 600 14px var(--font); }
.map-svg .box { fill: #ffd60a; filter: drop-shadow(0 0 6px rgba(255,214,10,.7)); }
.map-svg .npc circle:first-child { fill: #ff6961; }
.map-svg .npc-halo { fill: none; stroke: rgba(255,105,97,.35); }
.map-svg .ship-aura { fill: rgba(41,151,255,.18); }
.map-svg .ship-body { fill: #e6f1ff; filter: drop-shadow(0 0 8px rgba(41,151,255,.95)); }
.map-svg .laser { stroke: #5ac8fa; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px #2997ff); opacity: 0; }
.map-hud { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.map-hud span { padding: 6px 12px; border-radius: 980px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.map-hud .hud-ok { color: #ffd60a; }

/* while you were away */
.hv-away { background:
    radial-gradient(60% 60% at 20% 20%, rgba(41,151,255,.22), transparent 70%),
    radial-gradient(50% 60% at 85% 85%, rgba(191,90,242,.18), transparent 70%), #07080d; }
.away { position: absolute; inset: 34px 34px auto 34px; max-width: 640px; }
.away-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.away-kicker { display: block; color: var(--link); font-weight: 600; font-size: .95rem; }
.away-head b { display: block; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; margin-top: 4px; }
.away-tag { font-size: .7rem; font-weight: 600; color: var(--text-3); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 980px; }
.away-rows { margin-top: 26px; display: grid; gap: 10px; }
.away-row { display: grid; grid-template-columns: 34px 1fr 120px 90px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); }
.away-label { color: var(--text-2); font-size: .95rem; }
.away-row b { text-align: right; font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.bars i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #5ac8fa, #2997ff); opacity: .85; }
.away-foot { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--text-2); font-size: .86rem; }
.away-foot i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.away-foot i.ok { background: var(--green); } .away-foot i.info { background: var(--link); }

.hero-stage .plays { margin-top: 48px; }
@media (max-width: 1100px) {
  .visual { grid-column: 1 / 9; }
  .stage .device { grid-column: 8 / 13; }
  .away-row { grid-template-columns: 34px 1fr 80px 70px; }
}
@media (max-width: 860px) {
  .stage { display: block; }
  .visual { height: 400px; }
  .hero-card { margin: -60px 12px 0; max-width: none; }
  .stage .device { margin-top: 40px; }
  .away { inset: 20px; }
  .away-row { grid-template-columns: 30px 1fr 64px; }
  .away-row .bars { display: none; }
}

/* fit the report above the text card; keep the first float off the account list */
.away-foot { margin-top: 12px; }
.away-rows { margin-top: 22px; gap: 8px; }
.away-row { padding: 10px 14px; }
.stage .f1 { left: -64px; top: 6px; }
.stage .f2 { right: -24px; bottom: 14%; }
@media (max-width: 1100px) { .stage .f1 { left: -20px; } .stage .f2 { right: 0; } }

/* phones: the report grows to fit instead of being clipped; presets stay four across */
@media (max-width: 860px) {
  html[data-hero=away] .visual { height: auto; }
  html[data-hero=away] .hv-away { position: relative; padding: 22px 18px 76px; }
  html[data-hero=away] .away { position: static; }
  .hero-card { margin-top: -56px; }
}
@media (max-width: 480px) {
  .presets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .preset { font-size: 1rem; padding: 14px 0; border-radius: 14px; }
  .away-head b { font-size: 1.45rem; }
}

/* wallet: licences list and a ban notice */
.licences { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.licences li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); }
.licences b { display: block; font-weight: 600; }
.licences span { color: var(--text-2); font-size: .9rem; }
.card.banned { margin-bottom: 20px; border: 1px solid rgba(255,105,97,.35); background: rgba(255,105,97,.06); }
.card.banned h2 { color: #ffb3ad; }

/* nav: the main actions as buttons - Admin (admins only) and Wallet */
.btn-nav { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 980px; font-size: .84rem; font-weight: 500;
  color: rgba(245,245,247,.88); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); white-space: nowrap; }
.btn-nav:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.btn-nav svg { width: 16px; height: 16px; }
.btn-nav-admin { color: #a5b4ff; border-color: rgba(120,140,255,.4); background: rgba(88,101,242,.12); }
.btn-nav-admin:hover { color: #c7d0ff; background: rgba(88,101,242,.2); }
.nav-actions { gap: 8px; }
.nav-user span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { gap: 0; } .nav-links a { padding: 7px 9px; } .nav-user span { display: none; } }

/* /link */
.link-details { display: grid; gap: 8px; text-align: left; margin: 6px auto 18px; max-width: 360px; }
.link-details div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.link-details span { color: var(--text-2); }
.mono-code { font: 600 1.05rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; }
.link-warn { font-size: .88rem; color: var(--amber) !important; max-width: 420px; }
.link-error { color: var(--red) !important; }
.link-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.link-form input { width: 200px; text-align: center; font: 600 1.15rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; }
.link-form input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(41,151,255,.18); }
/* wallet: linked PCs */
.pcs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pcs li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); }
.pcs li div { flex: 1; min-width: 0; }
.pcs b { display: block; font-weight: 600; }
.pcs span { color: var(--text-2); font-size: .86rem; }
.pcs button { background: none; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 980px; padding: 6px 12px; font: 500 .82rem var(--font); cursor: pointer; }
.pcs button:hover { color: var(--red); border-color: rgba(255,105,97,.5); }
.pcs .pc-acc { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pcs .pc-acc span { color: var(--text); font-size: .88rem; }
.pcs .pc-acc .link-btn { border: 0; padding: 2px 4px; color: var(--link); }
.pcs .pc-acc .link-btn:hover { color: var(--text); }

/* wallet: the shop */
.shop { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.shop li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid transparent; }
.shop li.featured { border-color: rgba(41,151,255,.45); background: rgba(41,151,255,.07); }
.shop li div { flex: 1; min-width: 0; }
.shop b { display: block; font-weight: 600; }
.shop span { display: block; color: var(--text-2); font-size: .86rem; }
.shop small { display: block; color: var(--text-3); font-size: .78rem; margin-top: 2px; }
.shop button { flex-shrink: 0; border: none; border-radius: 980px; padding: 8px 16px; font: 600 .9rem var(--font); cursor: pointer; background: var(--blue); color: #fff; }
.shop button:hover:not(:disabled) { background: var(--blue-hi); }
.shop button[data-short] { background: var(--tile-2); color: var(--text-2); }
.shop button:disabled { opacity: .45; cursor: default; }
.shop li.empty { justify-content: center; color: var(--text-3); background: none; }

/* wallet: renewal switch and bound accounts under a licence */
.licences .renew { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .86rem; color: var(--text-2); cursor: pointer; }
.licences .renew input { accent-color: var(--blue); width: 16px; height: 16px; }
.licences .bound { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: .88rem; }
.licences .bound small { color: var(--text-3); font-size: .76rem; }
.licences .bound button { border: 1px solid var(--line-2); background: none; color: var(--text-2); border-radius: 980px; padding: 5px 11px; font: 500 .8rem var(--font); cursor: pointer; }
.licences .bound button:hover:not(:disabled) { color: var(--text); border-color: rgba(255,255,255,.3); }
.licences .bound button:disabled { opacity: .45; cursor: default; }

/* sign-in problem page: the help under the gate */
.help-card { max-width: 620px; margin: 20px auto 0; }
.help-card h3 { font-size: 1.05rem; font-weight: 600; margin: 4px 0 8px; }
.help-card h3 + p { color: var(--text-2); }
.help-card ul { margin: 10px 0 18px; padding-left: 20px; color: var(--text-2); display: grid; gap: 6px; }
.help-card strong { color: var(--text); }

/* ── Configs (the marketplace, views/market.js) ─────────────────────────── */
.mk-tools { display: flex; gap: 10px; margin-bottom: 14px; }
.mk-tools input[type=search] { flex: 1; min-width: 0; background: var(--tile); color: var(--text); border: 1px solid var(--tile-2); border-radius: 12px; padding: 10px 14px; font: inherit; }
.mk-sorts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; align-items: center; }
.mk-sorts a { font-size: .86rem; font-weight: 600; padding: 6px 12px; border-radius: 980px; color: var(--text-2); }
.mk-sorts a.on { background: var(--tile-2); color: var(--text); }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mk-card { display: flex; flex-direction: column; gap: 8px; background: var(--tile); border-radius: var(--radius); padding: 22px; color: var(--text); transition: background .15s; }
.mk-card:hover { background: var(--tile-2); color: var(--text); }
.mk-card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.mk-card p { font-size: .92rem; flex: 1; }
.mk-card-top { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.mk-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--text-3); }
.mk-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.mk-stars.none { font-size: .82rem; color: var(--text-3); letter-spacing: 0; }
.mk-stars-bg { color: var(--tile-2); }
.mk-stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--amber); }
.mk-rating { font-size: .86rem; font-weight: 600; margin-left: 6px; }
.mk-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.mk-detail .stack > .card + .card { margin-top: 20px; }
.mk-desc { margin-top: 12px; line-height: 1.55; }
.mk-version, .mk-review { padding: 12px 0; border-top: 1px solid var(--tile-2); }
.mk-version:first-of-type, .mk-review:first-of-type { border-top: 0; }
.mk-version b { margin-right: 8px; }
.mk-version p, .mk-review p { margin-top: 6px; font-size: .94rem; color: var(--text-2); }
.mk-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin-top: 16px; font-size: .92rem; }
.mk-facts dt { color: var(--text-2); }
.mk-facts dd { text-align: right; }
.mk-how { margin-top: 18px; font-size: .9rem; }
@media (max-width: 820px) { .mk-detail { grid-template-columns: 1fr; } }
