/* DuckTracks — app/game-style marketing site. Dark navy, gold accent, cyan secondary.
   Layout: full-bleed key-art hero, glowing stat strip, "worlds" cards, alternating
   big-art story blocks, badge marquee, glass feature cards, FAQ, CTA. */
:root {
  --bg: #0B141B;
  --bg-2: #0F1B24;
  --bg-3: #16252F;
  --line: rgba(238, 245, 249, 0.09);
  --line-2: rgba(238, 245, 249, 0.16);
  --fg: #F2F7FA;
  --fg-2: #B9C8D3;
  --fg-3: #80949F;
  --gold: #FFB703;
  --gold-2: #FFD35C;
  --cyan: #3FB0DD;
  --cyan-2: #7ED3F2;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  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(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.lede { color: var(--fg-2); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 60ch; }
.grad { background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1A1200; box-shadow: 0 10px 30px rgba(255, 183, 3, 0.35); }
.btn-gold:hover { color: #1A1200; box-shadow: 0 14px 36px rgba(255, 183, 3, 0.5); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: rgba(15, 27, 36, 0.5); backdrop-filter: blur(8px); }
/* logo blue, lifted a little so it reads on the dark hero */
.btn-blue { background: linear-gradient(180deg, #2DB2E8, #1489BF); color: #FFFFFF; box-shadow: 0 10px 30px rgba(45, 178, 232, 0.35); border-color: rgba(255,255,255,0.12); }
.btn-blue:hover { color: #FFFFFF; box-shadow: 0 14px 36px rgba(45, 178, 232, 0.5); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 50px; width: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(11, 20, 27, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand-footer img { height: 130px; width: auto; }
/* footer brand column: logo centered over its tagline */
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand p { margin-top: 12px; max-width: 34ch; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--fg-2); font-weight: 800; font-size: 0.95rem; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--fg); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 800; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav-links.open a { display: block; padding: 14px var(--gutter); }
  .menu-btn { display: inline-block; }
  .nav-cta .nav-shop { display: none; }
}

/* Hero: full-bleed key art */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; max-height: 860px; min-height: 560px; background: var(--bg-2); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; min-width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* blend the art into the page on every edge so there is never a hard cut */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,20,27,0) 72%, rgba(11,20,27,0.6) 90%, var(--bg) 100%),
              linear-gradient(180deg, rgba(11,20,27,0.35) 0%, rgba(11,20,27,0) 18%, rgba(11,20,27,0) 78%, var(--bg) 100%); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,20,27,0.9) 0%, rgba(11,20,27,0.75) 28%, rgba(11,20,27,0.3) 46%, rgba(11,20,27,0.05) 60%, rgba(11,20,27,0) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(11,20,27,0) 22%); }
/* hero text hugs the left edge rather than the centered column, so it never crowds the art */
.hero .wrap { max-width: none; margin: 0; padding-left: clamp(24px, 6vw, 120px); padding-right: var(--gutter); width: 100%; }
.hero-inner { padding-block: clamp(56px, 8vw, 120px); max-width: 600px; }
.hero h1 { text-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.hero .lede { margin-top: 22px; max-width: 44ch; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--fg-3); font-size: 0.92rem; }
/* mobile: headline first at the top, key art stacked underneath instead of behind the text */
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; aspect-ratio: auto; max-height: none; background: var(--bg); }
  .hero .wrap { order: 1; padding-left: var(--gutter); }
  .hero-inner { padding-top: 36px; padding-bottom: 8px; }
  .hero-shade { display: none; }
  .hero-bg { order: 2; position: relative; inset: auto; z-index: 0; aspect-ratio: 5 / 4; margin-top: -12px; }
  .hero-bg img { object-position: 66% 60%; }
  .hero-bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(11,20,27,0) 22%, rgba(11,20,27,0) 75%, var(--bg) 100%); }
}

/* Stats strip */
.stats-band { margin-top: -24px; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: linear-gradient(180deg, rgba(22,37,47,0.9), rgba(15,27,36,0.9)); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 22px 20px; backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.stat b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat span { color: var(--fg-2); font-size: 0.93rem; }
.stats-note { margin-top: 12px; color: var(--fg-3); font-size: 0.85rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Worlds: whole 4:3 art on top, caption panel underneath so nothing in the scene is covered */
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.world { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); }
.world-art { aspect-ratio: 4 / 3; overflow: hidden; }
.world img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.world:hover img { transform: scale(1.05); }
.world figcaption { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.world figcaption b { display: block; font-size: 1.3rem; font-weight: 900; }
.world figcaption span { display: block; margin-top: 6px; color: var(--fg-2); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 1100px) { .worlds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .worlds { grid-template-columns: 1fr; } }

/* Story blocks */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 110px); }
.story.flip .story-art { order: 2; }
.story-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.story-art img { width: 100%; height: auto; }
.story-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.story-text .lede { margin-top: 14px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #1A1200; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 6px 18px rgba(255,183,3,0.35); }
.steps b { display: block; font-size: 1.05rem; }
.steps span { color: var(--fg-2); font-size: 0.97rem; }
@media (max-width: 800px) { .story { grid-template-columns: 1fr; } .story.flip .story-art { order: 0; } }

/* Badge marquee */
.marquee-band { padding-block: clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line); }
.marquee { overflow: hidden; margin-top: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 60s linear infinite; }
.marquee-track img { width: 128px; height: 128px; flex: none; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: linear-gradient(180deg, rgba(22,37,47,0.8), rgba(15,27,36,0.8)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; background: radial-gradient(closest-side, rgba(63,176,221,0.18), transparent); pointer-events: none; }
.feature .art { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-3); margin-bottom: 8px; }
.feature .art img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--fg-2); font-size: 0.98rem; }
.feature.wide { grid-column: span 2; }
/* feed screenshot: tall card in the right column spanning every row */
.feed-card { grid-column: 3; grid-row: 1 / span 3; align-items: center; justify-content: flex-start; gap: 22px; }
.feed-card > div:last-child { align-self: stretch; }
.feed-card h3 + p { margin-top: 8px; }
.phone { width: 100%; max-width: 340px; border-radius: 34px; overflow: hidden; border: 6px solid #22323D; box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px var(--line-2); background: #000; }
.phone img { width: 100%; height: auto; display: block; }
.feature.events { grid-column: span 2; }
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feed-card { grid-column: span 2; grid-row: auto; flex-direction: row; align-items: center; }
  .feed-card .phone { flex: none; width: 240px; }
  .feed-card > div:last-child { align-self: center; }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature.wide, .feed-card, .feature.events { grid-column: auto; } .feed-card { flex-direction: column; } .feed-card .phone { width: 100%; max-width: 260px; } }

/* Map band */
.map-band { background: var(--bg-2); }
.map-art { border-radius: var(--radius); overflow: hidden; margin-top: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-art img { width: 100%; }

/* Shop */
.shop { display: grid; grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.shop-art { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 9 / 16; }
/* desktop: the art takes its height from the copy (eyebrow to button) and its width from 9:16, so it never outgrows the text */
@media (min-width: 801px) { .shop-art { contain: size; align-self: stretch; justify-self: end; width: auto; height: auto; } }
.shop-art img { width: 100%; height: 100%; object-fit: cover; }
.shop-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.shop-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: rgba(22,37,47,0.6); }
.shop-list b { display: block; }
.shop-list span { color: var(--fg-2); font-size: 0.95rem; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 9px; box-shadow: 0 0 12px rgba(255,183,3,0.7); }
@media (max-width: 800px) { .shop { grid-template-columns: 1fr; } .shop-art { aspect-ratio: 4 / 3; } .shop-art img { object-position: 50% 45%; } }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 36px; max-width: 840px; }
/* FAQ section centered as a block; questions and answers stay left-aligned inside their cards */
#faq .wrap { text-align: center; }
#faq .faq { margin-inline: auto; text-align: left; }
.faq details { background: rgba(22,37,47,0.6); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--fg-2); padding-bottom: 16px; max-width: 70ch; }

/* CTA */
.cta-band { text-align: center; overflow: hidden; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,183,3,0.14), transparent); pointer-events: none; }
.cta-band .store-badges { justify-content: center; margin-top: 28px; }
.cta-band .lede { margin: 14px auto 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; color: var(--fg-3); font-size: 0.92rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { margin: 0 0 10px; color: var(--fg); font-size: 0.95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--fg-2); }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* mobile footer: logo + tagline centered on its own row, then Product / Support / Legal side by side */
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid ul { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .world img { transition: none; }
  .marquee-track { animation: none; }
}

/* Social links (footer) */
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; transition: transform .15s ease, filter .15s ease; }
.social a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social img { width: 40px; height: 40px; }

/* Sub-pages: compact page header + content column */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; left: 50%; top: -40%; width: 900px; height: 600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(63,176,221,0.14), transparent); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head .lede { margin-top: 14px; }
.page-body { padding-bottom: clamp(64px, 9vw, 120px); }
.card { background: linear-gradient(180deg, rgba(22,37,47,0.8), rgba(15,27,36,0.8)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.contact-grid h2 { font-size: 1.45rem; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 800; font-size: 0.92rem; }
.field label .req { color: var(--gold); }
.field label .opt { color: var(--fg-3); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: rgba(11,20,27,0.7); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63,176,221,0.25); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.captcha { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha .q { font-weight: 800; padding: 12px 14px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); white-space: nowrap; }
.captcha input { width: 110px; }
.link-btn { background: none; border: 0; color: var(--cyan); font: inherit; font-weight: 800; cursor: pointer; padding: 6px 4px; }
.form-error { color: #FF8A80; font-size: 0.9rem; margin-top: 4px; }
.form-status { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; }
.form-status.ok { background: rgba(63,176,221,0.12); border: 1px solid rgba(63,176,221,0.45); color: var(--cyan-2); }
.form-status.err { background: rgba(255,138,128,0.1); border: 1px solid rgba(255,138,128,0.45); color: #FFB4AB; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn[disabled] { opacity: 0.6; transform: none; cursor: progress; }
.info-list { display: grid; gap: 18px; }
.info-list h3 { font-size: 1rem; color: var(--gold); margin-bottom: 4px; }
.info-list p { color: var(--fg-2); font-size: 0.97rem; }
.info-list + .info-list { margin-top: 0; }
.side-stack { display: grid; gap: 22px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Long-form policy text */
.prose { max-width: 820px; color: var(--fg-2); }
.prose h2 { color: var(--fg); font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 28px; }
.prose h3 { color: var(--fg); font-size: 1.12rem; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--fg); }
.prose .meta { color: var(--fg-3); font-size: 0.93rem; }
.callout { border: 1px solid rgba(255,183,3,0.4); background: rgba(255,183,3,0.07); border-radius: var(--radius-sm); padding: 18px 20px; margin: 18px 0; color: var(--fg-2); }
.callout strong { color: var(--gold-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius-sm); margin: 14px 0 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.prose th { text-align: left; color: var(--fg); background: var(--bg-3); padding: 12px 16px; font-weight: 800; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { color: var(--fg); font-weight: 700; width: 34%; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.option-grid .card h3 { margin-top: 0; }
.option-grid .card p:last-child, .option-grid .card ol:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .option-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.callout-quiet { border-color: var(--line-2); background: rgba(22,37,47,0.6); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.prose .strong-list li { color: var(--fg); font-weight: 700; }
.prose.legal h2:first-of-type { margin-top: 36px; }

/* FAQ page */
.page-head.center { text-align: center; }
.page-head.center .lede { margin-inline: auto; }
.faq-page { max-width: 840px; }
.faq-page .faq { margin-top: 14px; max-width: none; }
.faq-group { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 44px; }
.faq-group:first-child { margin-top: 0; }
.faq-a { color: var(--fg-2); padding-bottom: 16px; max-width: 70ch; }
.faq-a p { margin: 0 0 8px; }
.faq-a ul { margin: 6px 0 0; padding-left: 22px; }
.faq-a li { margin-bottom: 4px; }
.faq-a li::marker { color: var(--gold); }
.faq-cta { margin-top: 48px; text-align: center; }
.faq-cta h2 { font-size: 1.5rem; }
.faq-cta p { color: var(--fg-2); margin: 10px auto 20px; max-width: 46ch; }
.prose.legal hr { display: none; }

/* Features page */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(22,37,47,0.6); color: var(--fg-2); font-weight: 800; font-size: 0.9rem; }
.chip-nav a:hover { color: var(--fg); border-color: var(--fg-3); }
[id] { scroll-margin-top: 90px; }
.feat-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feat-row + .feat-row { margin-top: clamp(56px, 8vw, 100px); }
.feat-row.flip .feat-art { order: 2; }
.feat-row h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.feat-art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.feat-art img { width: 100%; height: auto; }
.feat-art.phone-art, .feat-art.badge-art { border: 0; box-shadow: none; overflow: visible; }
.phone-art .phone { margin-inline: auto; max-width: 320px; }
.badge-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.badge-art img { filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.feat-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.feat-list li { padding-left: 24px; position: relative; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(255,183,3,0.6); }
.feat-list b { display: block; font-size: 1.05rem; }
.feat-list span { color: var(--fg-2); font-size: 0.97rem; }
.feat-heading { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: clamp(64px, 9vw, 110px) 0 20px; }
.feat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-cards h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat-cards p { color: var(--fg-2); font-size: 0.96rem; }
.feat-foot { margin-top: 18px !important; font-size: 0.95rem; }
@media (max-width: 860px) {
  .feat-row { grid-template-columns: 1fr; }
  .feat-row.flip .feat-art { order: 0; }
  .feat-cards { grid-template-columns: 1fr 1fr; }
  .phone-art .phone { max-width: 260px; }
  .badge-art { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 560px) { .feat-cards { grid-template-columns: 1fr; } }

/* Found (card landing) pages + cruise page */
.wrap.narrow { max-width: 840px; }
.band.center, .wrap.center { text-align: center; }
.band.center .lede, .wrap.center .lede { margin-inline: auto; }
.found-hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.found-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 900px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,183,3,0.12), transparent); pointer-events: none; }
.found-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.found-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.found-hero .lede { margin-top: 16px; }
.flip-card { display: flex; gap: 16px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255,183,3,0.45); background: linear-gradient(180deg, rgba(255,183,3,0.12), rgba(255,183,3,0.04)); box-shadow: 0 12px 40px rgba(255,183,3,0.12); }
.flip-duck { width: auto; height: 64px; object-fit: contain; flex: none; transform: rotate(180deg); animation: flip 3.2s ease-in-out infinite; }
@keyframes flip { 0%, 35% { transform: rotate(0deg); } 50%, 85% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.flip-card b { display: block; font-size: 1.2rem; color: var(--gold-2); }
.flip-card span { color: var(--fg-2); font-size: 0.97rem; }
.found-actions { margin-top: 24px; }
.found-actions .hero-note { margin-top: 12px; }
.found-art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.found-art img { width: 100%; height: auto; }
.chip-list { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; }
.chip-list li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(22,37,47,0.7); font-weight: 800; }
.chip-list li:last-child { border-color: rgba(255,183,3,0.6); color: var(--gold-2); }
.route { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; gap: 8px 34px; justify-content: center; }
.route li { position: relative; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.06em; padding: 10px 16px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); }
.route li:not(:last-child)::after { content: ""; position: absolute; right: -27px; top: 50%; width: 20px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.route li:last-child { color: var(--gold-2); border-color: rgba(255,183,3,0.6); letter-spacing: 0; }
.feat-cards.four { grid-template-columns: repeat(4, 1fr); }
.feat-art .tall-crop { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 1000px) { .feat-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .found-grid { grid-template-columns: 1fr; } .found-art { max-width: 520px; } }
@media (max-width: 560px) { .feat-cards.four { grid-template-columns: 1fr; } .route { gap: 8px 30px; } .route li { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .flip-duck { animation: none; } }

/* Scan, join, duck, unsubscribe, 404 */
[x-cloak] { display: none !important; }
.scan-card { text-align: center; padding: clamp(26px, 4vw, 40px); }
.scan-card h1 { font-size: clamp(2rem, 6vw, 3rem); }
.scan-card .lede { margin: 14px auto 0; }
.scan-duck { width: auto; height: 84px; object-fit: contain; margin: 0 auto 10px; filter: drop-shadow(0 10px 24px rgba(255,183,3,0.35)); }
.loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.duck-id { margin-top: 18px; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); font-weight: 800; color: var(--fg-2); }
.duck-info-card { margin: 20px auto 0; max-width: 520px; text-align: left; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid rgba(255,183,3,0.45); background: linear-gradient(180deg, rgba(255,183,3,0.10), rgba(255,183,3,0.03)); }
.field-label { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
.field-label:first-child { margin-top: 0; }
.duck-info-card .duck-name { font-size: 1.5rem; font-weight: 900; color: var(--fg); }
.duck-message { color: var(--fg); font-size: 1.05rem; margin-top: 4px; }
.message-obfuscated { filter: blur(5px); user-select: none; }
.message-unlock-hint { display: block; margin-top: 8px; font-weight: 800; font-size: 0.92rem; }
.duck-left-by { color: var(--fg-2); }
.wild-duck-message { color: var(--fg-2); margin-top: 8px; }
.scan-status { margin: 20px auto 0; max-width: 520px; text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); display: grid; gap: 4px; }
.scan-status b { font-size: 1.1rem; }
.scan-status .muted { color: var(--fg-3); font-size: 0.9rem; }
.scan-status.info { background: rgba(63,176,221,0.12); border: 1px solid rgba(63,176,221,0.45); }
.scan-status.warn { background: rgba(255,183,3,0.10); border: 1px solid rgba(255,183,3,0.45); }
.scan-status.err { background: rgba(255,138,128,0.10); border: 1px solid rgba(255,138,128,0.45); }
.action-buttons { margin-top: 24px; display: grid; gap: 10px; justify-items: center; }
.btn-claim { font-size: 1.1rem; padding: 17px 30px; }
.platform-note { color: var(--fg-3); font-size: 0.9rem; max-width: 40ch; }
.scan-badges { justify-content: center; margin-top: 18px; }
.scan-how { margin-top: clamp(40px, 6vw, 64px); }
.scan-how .chip-list { margin-top: 30px; }
.email-display { margin: 18px auto; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); font-weight: 800; word-break: break-all; }
#initial .btn, #error .btn { margin-top: 6px; }
.invite-badge { display: inline-flex; gap: 14px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 999px; background: rgba(22,37,47,0.8); border: 1px solid var(--line-2); margin-bottom: 18px; }
.invite-badge b { display: block; }
.invite-badge span { color: var(--fg-3); font-size: 0.88rem; }
.inviter-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--gold); color: #1A1200; font-weight: 900; font-size: 1.2rem; flex: none; }
.inviter-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ref-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; color: var(--fg); background: var(--bg-3); padding: 2px 10px; border-radius: 8px; }
.duck-loading { padding-block: clamp(80px, 14vw, 160px); color: var(--fg-2); }
.duck-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 3px solid var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.duck-avatar.placeholder { object-fit: contain; background: var(--bg-3); padding: 18px; }
.duck-public h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.duck-status { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 0.88rem; background: var(--bg-3); border: 1px solid var(--line-2); }
.duck-status.status-in_wild { color: var(--gold-2); border-color: rgba(255,183,3,0.5); }
.duck-status.status-active { color: var(--cyan-2); border-color: rgba(63,176,221,0.5); }
.duck-bio { margin: 16px auto 0; }
.duck-stats { margin-top: 26px; text-align: left; }
.duck-section { margin-bottom: 16px; }
.duck-section h2 { font-size: 1.3rem; margin-bottom: 14px; }
.holder { display: flex; gap: 12px; align-items: center; }
.holder b { display: block; }
.holder span { color: var(--fg-3); font-size: 0.9rem; }
.holder-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1A1200; font-weight: 900; }
.route.route-left { justify-content: flex-start; margin: 0; gap: 8px 30px; }
.route.route-left li { font-size: 0.95rem; letter-spacing: 0; font-weight: 800; }
.route.route-left li:last-child { color: var(--fg); border-color: var(--line-2); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.timeline { margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line-2); display: grid; gap: 14px; }
.timeline .tl-item { position: relative; }
.timeline .tl-item::before { content: ""; position: absolute; left: -25px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(255,183,3,0.6); }
.timeline b { display: block; }
.timeline span { color: var(--fg-3); font-size: 0.9rem; }
.muted-note { color: var(--fg-3); font-size: 0.9rem; margin-top: 14px; }
.lost-duck { width: auto; height: 110px; object-fit: contain; margin: 0 auto 12px; transform: rotate(-14deg); filter: drop-shadow(0 12px 28px rgba(255,183,3,0.3)); }
@media (max-width: 560px) { .duck-stats { grid-template-columns: repeat(2, 1fr); } }

/* Scan page v2 (sp-): duck preview for people without the app */
.sp .wrap.narrow { max-width: 720px; display: grid; gap: 18px; }
.sp-card { text-align: center; }
.sp-top { padding-top: clamp(26px, 4vw, 40px); }
.sp-avatar-wrap { display: grid; place-items: center; margin-bottom: 12px; }
.sp-avatar:not(.is-brand) { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 8px rgba(255,183,3,0.12); background: var(--bg-3); }
.sp-name { font-size: clamp(2rem, 7vw, 3rem); margin: 0; overflow-wrap: anywhere; }
.sp-bio { color: var(--fg-2); font-style: italic; max-width: 46ch; margin: 10px auto 0; }
.sp-holder { margin: 12px auto 0; color: var(--fg-2); font-size: 0.98rem; }
.sp-holder b { color: var(--gold-2); }
.sp-message { margin: 22px auto 0; max-width: 540px; text-align: left; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255,183,3,0.45); background: linear-gradient(180deg, rgba(255,183,3,0.10), rgba(255,183,3,0.03)); }
.sp-label { font-size: 0.74rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sp-msg-body { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: var(--fg); font: inherit; cursor: pointer; }
.sp-quote { display: block; font-size: 1.22rem; font-weight: 800; line-height: 1.45; }
.sp-blur { filter: blur(6px); user-select: none; color: var(--fg-2); }
.sp-unlock { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--cyan-2); font-weight: 900; font-size: 0.92rem; }
.sp-lock-ic { width: 16px; height: 16px; fill: currentColor; flex: none; }
.sp-from { margin-top: 10px; color: var(--fg-3); font-size: 0.9rem; }
.sp-from b { color: var(--fg-2); }
.sp-nomsg { margin: 20px auto 0; max-width: 46ch; color: var(--fg-2); }
.sp-cta { margin-top: 24px; display: grid; justify-items: center; gap: 10px; }
.sp-store-btn { white-space: normal; text-align: center; max-width: 100%; }
.sp-badges, .sp-badges-final, .sp-sheet-badges { justify-content: center; }
.sp-note { color: var(--fg-3); font-size: 0.88rem; margin: 0; }
.sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp-stats[data-n="3"] { grid-template-columns: repeat(3, 1fr); }
.sp-stats[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
.sp-stats[data-n="1"] { grid-template-columns: 1fr; }
.sp-stat { padding: 16px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(22,37,47,0.7); text-align: center; }
.sp-stat b { display: block; font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 900; color: var(--gold-2); line-height: 1.1; }
.sp-stat span { color: var(--fg-3); font-size: 0.82rem; font-weight: 800; }
.sp-days { text-align: center; color: var(--fg-3); margin: -6px 0 0; font-size: 0.9rem; }
.sp-story h2, .sp-journey h2, .sp-final h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); margin: 0 0 10px; }
.sp-story-text { color: var(--fg-2); font-size: 1.05rem; max-width: 52ch; margin: 0 auto; position: relative; }
.sp-unlock-btn { background: none; border: 0; font: inherit; font-weight: 900; cursor: pointer; }
.sp-map { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #0E2230; cursor: pointer; aspect-ratio: 100 / 62; }
.sp-map > svg { width: 100%; height: 100%; display: block; }
.sp-map-land path { fill: #173244; }
.sp-map-grid line { stroke: rgba(126,211,242,0.07); stroke-width: 0.3; }
.sp-route-line { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 2; }
#spRoute circle { fill: var(--gold-2); }
.sp-map-cta { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #1A1200; font-weight: 900; font-size: 0.92rem; padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(255,183,3,0.35); white-space: nowrap; max-width: calc(100% - 24px); }
.sp-map-cta span { overflow: hidden; text-overflow: ellipsis; }
.sp-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,27,0) 45%, rgba(11,20,27,0.55)); pointer-events: none; }
.sp-map-cta { z-index: 1; }
.sp-journey { text-align: left; }
.sp-journey .eyebrow, .sp-journey h2 { display: flex; }
.sp-timeline { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.sp-timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line-2); }
.sp-stop > button, .sp-next { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; width: 100%; text-align: left; background: none; border: 0; padding: 10px 0; color: var(--fg); font: inherit; cursor: pointer; }
.sp-stop > button:hover .sp-map-link { text-decoration: underline; }
.sp-stop.sp-extra { display: none; }
.sp-timeline.sp-all .sp-stop.sp-extra { display: block; }
.sp-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; margin-top: 3px; background: var(--bg-2); border: 3px solid var(--cyan); }
.sp-dot.found { border-color: var(--gold); }
.sp-dot.activated { border-color: #7BD88F; }
.sp-next .sp-dot { border-style: dashed; border-color: var(--gold); background: rgba(255,183,3,0.15); }
.sp-next b { display: block; color: var(--gold-2); }
.sp-next span { color: var(--fg-2); font-size: 0.92rem; }
.sp-stop-line { display: block; color: var(--fg-2); }
.sp-stop-line b { color: var(--fg); }
.sp-stop-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; color: var(--fg-3); font-size: 0.84rem; }
.sp-chip { padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 0.78rem; border: 1px solid var(--line-2); color: var(--fg-2); }
.sp-chip.cruise { color: #7ED3F2; border-color: rgba(126,211,242,0.45); }
.sp-chip.airport { color: #8FC7FF; border-color: rgba(143,199,255,0.45); }
.sp-chip.jeep { color: #8BD69B; border-color: rgba(139,214,155,0.45); }
.sp-chip.event, .sp-chip.around { color: var(--gold-2); border-color: rgba(255,183,3,0.45); }
.sp-map-link { color: var(--cyan-2); font-weight: 800; }
.sp-more { margin-top: 10px; width: 100%; }
.sp-photos { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; align-items: center; text-align: left; width: 100%; color: var(--fg); font: inherit; cursor: pointer; }
.sp-photo-ic { width: 44px; height: 44px; fill: var(--gold); grid-row: span 2; }
.sp-photos b { display: block; font-size: 1.05rem; }
.sp-photos > span:nth-of-type(1) > span { color: var(--fg-3); font-size: 0.88rem; }
.sp-photos .sp-unlock { margin-top: 0; grid-column: 2; }
.sp-final .steps { text-align: left; margin: 18px auto 22px; max-width: 520px; }
.sp-sheet { position: fixed; inset: 0; z-index: 90; display: grid; align-items: end; justify-items: center; }
.sp-sheet[hidden] { display: none; }
.sp-sheet-scrim { position: absolute; inset: 0; background: rgba(5,10,14,0.7); }
.sp-sheet-panel { position: relative; width: min(520px, 100%); background: var(--bg-2); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 28px 22px calc(26px + env(safe-area-inset-bottom)); text-align: center; display: grid; gap: 12px; justify-items: center; box-shadow: var(--shadow); animation: spUp .22s ease-out; }
.sp-sheet-panel h2 { margin: 0; font-size: 1.5rem; }
.sp-sheet-panel p { margin: 0; color: var(--fg-2); }
.sp-sheet-duck { height: 64px; width: auto; }
.sp-sheet-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--fg-2); font-size: 2rem; line-height: 1; cursor: pointer; }
body.sp-sheet-open { overflow: hidden; }
@keyframes spUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) { .sp-sheet { align-items: center; } .sp-sheet-panel { border-radius: 24px; border-bottom: 1px solid var(--line-2); } }
@media (max-width: 520px) { .sp-stats, .sp-stats[data-n="3"] { grid-template-columns: repeat(2, 1fr); } .sp-stats[data-n="3"] .sp-stat:last-child { grid-column: span 2; } .sp-map { aspect-ratio: 100 / 72; } }
@media (prefers-reduced-motion: reduce) { .sp-sheet-panel { animation: none; } }
.sp [hidden], .sp-sheet-panel [hidden] { display: none !important; }
