/* Stickasound website. Sibling of borinostudios.com (same structure, focus, radius, motion rules); Stickasound's own brand:
   violet #6B3EF5, sticker green #7DEA8F → #25B055, ink #16121F, yellow #FFC83D, coral #FF5C8A (docs/brand.md).
   Light/dark follows the system until the visitor presses sun/moon (data-theme on <html>, set by theme-init.js).
   Contrast (WCAG 2.2 AA) is noted next to each text token. */

@font-face { font-family: "Titan One"; src: url("/assets/fonts/TitanOne-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-ext-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #F5F2FF;
  --surface: #FFFFFF;
  --surface-2: #EDE7FF;
  --fg: #16121F;          /* 16.7:1 on --bg */
  --muted: #4E4763;       /* 7.9:1 on --bg */
  --line: #16121F1F;
  --accent: #6B3EF5;      /* fills; white text on it 5.8:1 */
  --accent-fg: #FFFFFF;
  --accent-text: #5A2EE0; /* accent as text: 6.6:1 on --bg, 7.2:1 on white */
  --green: #25B055;
  --green-text: #136B33;
  --yellow: #FFC83D;      /* ink on it 11.9:1 */
  --coral: #FF5C8A;
  --ink: #16121F;
  --hero-1: #7B4DFF;      /* white on it 4.8:1 */
  --hero-2: #4A1FCF;
  --shadow: 0 10px 30px -12px #2A1A6A55;
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Titan One", "Figtree", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #130F1F; --surface: #1E1832; --surface-2: #2A2145; --fg: #F3F0FA; --muted: #BEB6D4; --line: #FFFFFF24;
    --accent-text: #B49CFF; --green-text: #7DEA8F; --shadow: 0 10px 30px -12px #00000099;
  }
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #130F1F; --surface: #1E1832; --surface-2: #2A2145; --fg: #F3F0FA; --muted: #BEB6D4; --line: #FFFFFF24;
  --accent-text: #B49CFF; --green-text: #7DEA8F; --shadow: 0 10px 30px -12px #00000099;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 1.0625rem/1.55 var(--body); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-fg); }
a { color: var(--accent-text); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
h2, .page-title { font: 400 clamp(2rem, 4.6vw, 3.4rem)/1.05 var(--display); letter-spacing: .005em; margin: 0 0 .4em; }
h3 { font: 800 1.2rem/1.3 var(--body); margin: 0 0 .35em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.center { text-align: center; }
.center img { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 46ch; margin: 0; }
.note { color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* Logo: lockup from design/logo/v5-stickasound/production (small variant in header and footer, full on the chooser).
   One file per ground; the one that matches the theme is shown. */
.logo { display: block; width: auto; }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-on-light { display: none; }
  :root:not([data-theme]) .logo-on-dark { display: block; }
}
.chooser-logo { margin: 0 0 .6em; line-height: 0; }
.chooser-logo .logo { height: clamp(64px, 14vw, 100px); }

/* Header */
.site-header { position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 20px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 12px; }
.brand .logo { height: 40px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.site-nav a { color: var(--fg); text-decoration: none; padding-block: 12px; }
.site-nav a:hover { text-decoration: underline; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.pack-page .header-tools { margin-left: auto; }
.theme-switch { display: inline-flex; border: 2px solid var(--line); border-radius: 999px; padding: 2px; }
.theme-switch[hidden] { display: none; }
.theme-switch button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border: 2px solid var(--line); border-radius: 999px; font-weight: 800; cursor: pointer; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); min-width: 180px; z-index: 30; }
.lang-switch a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-weight: 700; }
.lang-switch a:hover, .lang-switch a[aria-current] { background: var(--surface-2); }
.lang-switch a[aria-current]::after { content: " ✓"; }
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 8px 12px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; font-size: .95rem; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 420px) {
  .header-tools .btn-small { display: none; }
  .brand .logo { height: 32px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 1.05rem var(--body); color: var(--accent-fg); background: var(--accent); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; min-height: 52px; text-decoration: none; transition: transform .3s var(--ease-out), filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #16121F33; }
.btn-ghost { background: transparent; color: var(--fg); border: 2px solid currentColor; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 700 .9rem/1 var(--body); color: var(--fg); background: transparent; border: 2px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.pill:hover { border-color: currentColor; }
.pill[hidden] { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #FFFFFF; background: linear-gradient(150deg, var(--hero-1) 0%, #6236F0 50%, var(--hero-2) 100%); padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 640px; height: 640px; right: 6%; top: -180px; background: radial-gradient(circle, #7DEA8F4D, #7DEA8F00 62%); }
.hero::after { width: 520px; height: 520px; left: -160px; bottom: -300px; background: radial-gradient(circle, #FF5C8A4D, #FF5C8A00 62%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
.hero h1 { font: 400 clamp(2.9rem, 8vw, 6rem)/.98 var(--display); margin: 0 0 .3em; text-shadow: 0 6px 0 #16121F33; }
.hero h1 em { font-style: normal; color: #7DEA8F; display: inline-block; }
.hero .lede { color: #FFFFFF; opacity: 1; max-width: 40ch; }
.hero-actions { margin: 28px 0 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero a:not(.btn):not(.store-badge) { color: #FFFFFF; }
.hero .note { color: #FFFFFF; }
.hero-art { display: grid; place-items: center; }
.mascot-btn { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 40px; width: min(440px, 100%); }
.mascot-svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .mascot-btn { width: min(260px, 70vw); }
}

/* Hero sticker (the brand icon, web-hero-animated.svg): floats, the eq bars bounce and the pulse ring breathes.
   Off with reduced motion or when paused. */
.m-float { animation: float 3.2s ease-in-out infinite; }
.m-bar { transform-box: fill-box; transform-origin: center; animation: bar .8s ease-in-out infinite alternate; }
.m-bar:nth-child(2) { animation-delay: -.2s; } .m-bar:nth-child(3) { animation-delay: -.45s; }
.m-bar:nth-child(4) { animation-delay: -.1s; } .m-bar:nth-child(5) { animation-delay: -.6s; }
.m-ring { transform-box: fill-box; transform-origin: center; animation: ring 1.6s ease-out infinite; }
.mascot-btn.is-playing .m-bar { animation-duration: .25s; }
.mascot-btn.is-playing .m-ring { animation-duration: .6s; }
@keyframes float { 50% { transform: translateY(-4px); } }
@keyframes bar { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }
@keyframes ring { from { transform: scale(1); opacity: .75; } to { transform: scale(1.7); opacity: 0; } }

/* Sections */
.block { padding-block: clamp(64px, 9vw, 120px); }
.block-alt { background: var(--surface-2); }
.section-head { display: grid; gap: 4px; margin-bottom: clamp(24px, 4vw, 40px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }

/* Demo */
.demo-tools { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.sticker-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); }
@media (max-width: 760px) { .sticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sticker { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; height: 100%; margin: 0; padding: 8% 8% 14px; border: 2px solid transparent; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--fg); font: inherit; cursor: pointer; transition: transform .35s var(--ease-out), border-color .2s; }
.sticker img { width: 100%; height: auto; }
button.sticker:hover { transform: translateY(-4px) rotate(-1.5deg); border-color: var(--accent); }
button.sticker[aria-pressed="true"] { border-color: var(--accent); transform: scale(1.03); }
button.sticker[aria-pressed="true"] img { animation: boing .5s var(--ease-out); }
.sticker.is-silent { cursor: default; }
.sticker-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 8px; border-radius: 999px; font: 800 .78rem/1 var(--body); background: var(--accent); color: var(--accent-fg); }
.sticker-badge.muted { background: var(--surface-2); color: var(--muted); }
.sticker[aria-pressed="true"] .wave-icon .b { animation: bar .3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.sticker[aria-pressed="true"] .wave-icon .b:nth-child(2) { animation-delay: -.15s; }
.sticker[aria-pressed="true"] .wave-icon .b:nth-child(3) { animation-delay: -.08s; }
@keyframes boing { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(2deg); } 100% { transform: scale(1); } }
.caption-box { margin-top: 18px; min-height: 3.2em; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--ink); color: #FFFFFF; font-weight: 700; border: 2px solid var(--accent); }
.caption-box::before { content: "CC"; flex: none; font: 800 .75rem/1 var(--body); border: 2px solid currentColor; border-radius: 6px; padding: 3px 5px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 64px; }
.step-n { position: absolute; top: 20px; left: clamp(20px, 3vw, 32px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 400 1.25rem/1 var(--display); }
.step p, .way p { margin: 0; color: var(--muted); }
.honest { margin-top: 24px; border: 2px dashed var(--accent); }
.honest > p { max-width: 70ch; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 6px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--surface-2); border-radius: 16px; padding: 18px 20px; }
.way h4 { margin: 0 0 6px; font: 800 1.05rem/1.3 var(--body); }

/* Features */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature svg { color: var(--accent-text); margin-bottom: 12px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.screens-title { margin-top: clamp(40px, 6vw, 64px); font: 400 1.6rem/1.1 var(--display); }
.screens { overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; border-radius: 12px; }
.screens ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; }
.screens li { scroll-snap-align: start; }
.screens img { width: min(62vw, 240px); height: auto; border-radius: 18px; box-shadow: var(--shadow); }

/* Privacy band */
.block-band { background: var(--ink); color: #FFFFFF; }
.block-band a { color: #CBBBFF; }
.band { display: grid; gap: 8px; }
.band > * { max-width: 760px; }
.band p { margin: 0; color: #E4DEF5; font-size: 1.15rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 1.4rem/1 var(--display); color: var(--accent-text); }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 22px 18px; color: var(--muted); }
.faq-item p { margin: 0; }

/* Download / stores */
.block-cta { text-align: center; }
.cta { display: grid; justify-items: center; gap: 10px; }
.cta .lede { margin-inline: auto; }
.cta-sticker { width: 140px; height: 140px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta .store-badges { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 14px; background: var(--ink); color: #FFFFFF; border: 2px solid #FFFFFF33; text-decoration: none; font: 800 1.1rem/1.1 var(--body); text-align: left; }
.store-badge small { display: block; font-weight: 600; font-size: .75rem; opacity: .85; }
.store-badge.is-soon { opacity: .9; border-style: dashed; }
.store-note { font-size: .9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 10px 0 0; }
.footer-legal h2 { font: 800 1rem/1.2 var(--body); margin: 0 0 10px; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-legal a { display: inline-block; padding-block: 6px; color: var(--fg); }
.footer-legal.inline ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-small { color: var(--muted); font-size: .88rem; }
.disclaimer { color: var(--muted); font-size: .88rem; margin-top: 28px; max-width: 90ch; }
.site-footer-mini { padding-block: 28px; }

/* Reading pages (legal) */
.reading { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 120px); }
.reading .page-title { font-size: clamp(2rem, 5vw, 3rem); }
.banner { border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 0 0 20px; }
.banner-draft { background: #FFC83D33; border: 2px solid var(--yellow); }
.banner-info { background: var(--surface-2); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin-bottom: 28px; }
.toc h2 { font: 800 1rem/1.2 var(--body); margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { padding-block: 3px; }
.prose { overflow-wrap: anywhere; }
.prose h2 { font: 800 1.45rem/1.25 var(--body); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { max-width: 72ch; }
.prose li { margin-block: .3em; }
.prose blockquote { margin: 1em 0; padding: 4px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.prose code { font-size: .92em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
.legal-note { background: var(--surface-2); border-left: 4px solid var(--coral); padding: 10px 14px; border-radius: 0 12px 12px 0; font-size: .95rem; }
.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); }
.prose tr:last-child td { border-bottom: 0; }

/* Notice (DSA) form */
.notice-form { margin: 28px 0 48px; display: grid; gap: 18px; }
.notice-form h2 { font-size: 1.8rem; margin: 0; }
.field { display: grid; gap: 6px; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; }
legend { font-weight: 800; margin-bottom: 6px; padding: 0; }
label { font-weight: 800; }
.req, .opt { font-weight: 600; color: var(--muted); font-size: .9rem; }
input[type="text"], input[type="url"], input[type="email"], select, textarea { font: 500 1rem/1.4 var(--body); color: var(--fg); background: var(--bg); border: 2px solid var(--muted); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
[aria-invalid="true"] { border-color: #C2185B; }
.hint { margin: 0; color: var(--muted); font-size: .92rem; }
.err { margin: 0; color: #B0124F; font-weight: 700; font-size: .92rem; }
:root[data-theme="dark"] .err { color: #FF9EBB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .err { color: #FF9EBB; } }
.radio, .check { display: flex; align-items: flex-start; gap: 10px; }
.check { display: grid; grid-template-columns: auto 1fr; }
.check .err { grid-column: 2; }
.radio input, .check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.radio label, .check label { font-weight: 600; }
.radio + .radio { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border: 2px solid #C2185B; border-radius: 14px; padding: 12px 16px; }
.form-errors p { margin: 0 0 4px; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-result { border-radius: 14px; padding: 16px; background: var(--surface-2); }
.form-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; background: var(--bg); border-radius: 10px; padding: 12px; max-height: 420px; overflow: auto; }
.form-result h3 { margin-top: 0; }
.procedure { border-top: 1px solid var(--line); padding-top: 32px; }
.note-strong { color: var(--fg); font-weight: 700; }
.ip-box { border: 2px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 14px; }
.ip-box legend { padding: 0 6px; }

/* Pack page */
.pack { padding-block: clamp(24px, 5vw, 56px) clamp(48px, 8vw, 96px); }
.pack-status { padding: 40px 0; color: var(--muted); font-weight: 700; }
.pack-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 24px; }
.pack-tray { width: 112px; height: 112px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); padding: 10px; }
.pack-head h1 { font: 400 clamp(2rem, 5vw, 3.2rem)/1.05 var(--display); margin: 0 0 6px; }
.pack-meta { margin: 0; color: var(--muted); font-weight: 700; }
.pack-desc { margin: 0 0 18px; max-width: 70ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; font: 800 .82rem/1 var(--body); background: var(--surface-2); color: var(--fg); }
.badges .b-sound { background: var(--accent); color: var(--accent-fg); }
.badges .b-adult { background: #B0124F; color: #FFFFFF; }
.pack-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 8px; }
.pack-share-status { min-height: 1.5em; margin: 4px 0 0; color: var(--muted); font-weight: 700; }
.pack-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin: 24px 0 14px; }
.pack-toolbar p { margin: 0; color: var(--muted); }
.pack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pack-how { margin-top: 32px; }
.pack-how h2 { font: 800 1.2rem/1.3 var(--body); margin: 0 0 .35em; }
.pack-how p { margin: 0; color: var(--muted); }
.age-gate h2 { font: 800 1.4rem/1.3 var(--body); margin: 0; }
.pack-foot { margin-top: 24px; font-size: .95rem; }
.age-gate { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 32px; }
.age-gate p { margin: 0; }
.dev-flag { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 10px; background: #FFC83D33; border: 1px dashed var(--yellow); font-size: .85rem; font-weight: 700; }

/* Language chooser and 404 */
.chooser-box { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding-block: 40px; }
.chooser-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.notfound img { width: 180px; height: 180px; }

/* Paused animations (motion toggle) and reduced motion */
.motion-paused .m-float, .motion-paused .m-bar, .motion-paused .m-ring { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, button.sticker:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .skip-link, .toc { display: none; }
  body { background: #FFFFFF; color: #000000; }
}

/* Denuncias por sticker (página de pack) y formularios de denuncia y de reclamación de derechos */
.sticker-report { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 8px 0 0; font-size: .88rem; }
.sticker-report-link { color: var(--muted); text-underline-offset: 2px; padding: 4px 2px; }
.sticker-report-link:hover, .sticker-report-link:focus-visible { color: var(--fg); }
.sticker-report-list { display: grid; gap: 6px; padding-left: 1.2em; }
.sticker-pick { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 10px; }
.sticker-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.sticker-pick-item { position: relative; display: grid; justify-items: center; gap: 4px; }
.sticker-pick-item input { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; }
.sticker-pick-item label { display: grid; justify-items: center; gap: 4px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .85rem; width: 100%; }
.sticker-pick-item input:checked + label { border-color: var(--fg); }
.sticker-pick-item input:focus-visible + label { outline: 3px solid var(--fg); outline-offset: 2px; }
.sticker-pick-item img { width: 72px; height: 72px; object-fit: contain; }
.repeat { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.repeat-row { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.repeat-row [data-remove] { justify-self: start; }
