@font-face {
  font-family: Outfit;
  src: url("fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f4;
  --surface: #fffefc;
  --ink: #1a1925;
  --muted: #575568;
  --line: #e1dedf;
  --strong-line: #bdb9d0;
  --accent: #3540d8;
  --accent-hover: #2631b8;
  --tint: #efeeff;
  --preview-bg: #f6f5fc;
  --error: #912b41;
  --radius: 15px;
  --wide-radius: 23px;
  --wrap: min(1136px, calc(100% - 64px));
  --heading: Outfit, "DM Sans", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--text); }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.7vw, 5.25rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }
fieldset { min-inline-size: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.icon { display: inline-block; flex: 0 0 auto; width: 1.15em; height: 1.15em; vertical-align: -.15em; fill: currentColor; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 11px 17px; border-radius: 9px; color: white; background: var(--accent); }
.muted { color: var(--muted); }
.button, .icon-button, .quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; border-radius: 10px; font-weight: 700; text-decoration: none; line-height: 1.15; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.button { border: 1px solid transparent; padding: .67rem .93rem; font-size: .94rem; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-hover); color: white; box-shadow: 0 3px 10px #262fc826; }
.subtle { background: var(--surface); border-color: var(--line); color: var(--ink); }
.subtle:hover, .icon-button:hover { background: var(--tint); border-color: var(--strong-line); color: var(--accent); }
.primary:disabled, .subtle:disabled { background: #e9e7ee; border-color: transparent; color: #615e70; box-shadow: none; }
.icon-button { inline-size: 44px; padding: 0; border: 1px solid transparent; background: transparent; color: var(--muted); }
.quiet-button { border: 0; background: none; color: var(--muted); padding: 0 .1rem; text-decoration: underline; text-underline-offset: .2em; font-size: .86rem; justify-self: start; }
.quiet-button:hover { color: var(--error); }
.text-link { display: inline-flex; align-items: center; gap: .25em; color: var(--accent); text-decoration: none; font-weight: 750; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 69px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; justify-self: start; width: fit-content; font: 750 1.45rem/1 var(--heading); letter-spacing: -.05em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark-accent { color: var(--accent); }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: white; background: var(--accent); }
.brand-mark .icon { width: 22px; height: 22px; }
.navigation { display: flex; gap: clamp(6px, 1.75vw, 19px); align-items: center; font-size: .94rem; font-weight: 650; }
.navigation a { color: var(--muted); text-decoration: none; padding: 11px 9px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 8px; }
.navigation a:hover, .navigation a[aria-current] { color: var(--accent); background: var(--tint); }
.language { position: relative; justify-self: end; z-index: 4; }
.language > summary { display: flex; align-items: center; justify-content: center; gap: 6px; list-style: none; padding: 0 10px; min-height: 44px; border-radius: 9px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.language > summary:hover { background: var(--tint); color: var(--accent); }
summary::-webkit-details-marker { display: none; }
.language-options { position: absolute; inset: calc(100% + 6px) 0 auto auto; display: grid; min-width: 185px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 24px #22213a20; }
.language-options a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .9rem; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current] { background: var(--tint); color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: center; gap: 28px; padding-block: 28px 27px; min-height: 278px; }
.hero h1 { letter-spacing: -.055em; line-height: .94; }
.hero h1 em { display: block; margin-top: .07em; color: var(--accent); font-style: normal; line-height: 1; }
.hero-copy > p { max-width: 485px; margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.14rem); }
.hero-visual { min-width: 0; position: relative; height: clamp(192px, 20vw, 230px); }
.hero-art { position: absolute; inset: 0; }
.art-halo { position: absolute; inset: 12% 7% 4% 5%; border-radius: 46% 43% 48% 41%; background: radial-gradient(circle, #aca9e54f 1px, transparent 1.25px) 2px 2px/10px 10px; transform: rotate(-10deg); }
.hero-art img { position: absolute; object-fit: contain; height: auto; filter: drop-shadow(0 6px 4px #27203d28); }
.art-cat { width: min(51%, 204px); right: 4%; top: -6%; transform: rotate(13deg); }
.art-star { width: min(38%, 154px); right: 1%; bottom: 0%; transform: rotate(13deg); z-index: 1; }
.art-frog { width: min(58%, 244px); left: 5%; bottom: 2%; transform: rotate(-12deg); z-index: 2; }
.hero-play { position: absolute; z-index: 3; right: 11%; bottom: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #cbc6e2; border-radius: 28px; padding: 6px 14px 6px 10px; color: var(--ink); background: var(--surface); font-size: .86rem; font-weight: 750; box-shadow: 0 5px 0 #25233b18; }
.hero-play:hover { color: var(--accent); border-color: var(--accent); }
.hero-play .play-icon, .hero-play .pause-icon { color: var(--accent); }
.play-icon, .pause-icon { line-height: 1; align-items: center; justify-content: center; }
.play-icon { display: inline-flex; }
.pause-icon { display: none; }
[aria-pressed="true"] > .play-icon { display: none; }
[aria-pressed="true"] > .pause-icon { display: inline-flex; }

.studio-wrap { scroll-margin-top: 18px; }
.studio { background: var(--surface); border: 1px solid var(--strong-line); border-radius: var(--wide-radius); overflow: clip; box-shadow: 0 8px 0 #25243b0a, 0 16px 48px #26204d0c; }
.studio-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 8px 25px; border-bottom: 1px solid var(--line); }
.studio-label { display: flex; align-items: center; gap: 11px; }
.studio-label h2 { font-size: clamp(1.32rem, 3vw, 1.61rem); }
.item-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--tint); color: var(--accent); }
.item-icon .icon { width: 20px; height: 20px; }
.sample-button { color: var(--accent); }
.studio-form { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); }
.editor-fields { display: grid; align-content: start; gap: 15px; margin: 0; border: 0; padding: 19px 25px 20px; }
.editor-stage { border: 0; padding: 0; margin: 0; }
.editor-stage legend { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; padding: 0; font: 650 1.085rem/1.2 var(--heading); }
.stage-number { display: inline-grid; place-items: center; border-radius: 50%; width: 25px; height: 25px; background: var(--ink); color: white; font: 650 .82rem/1 var(--text); }
.drop-zone { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px; min-height: 74px; border: 1px dashed #aea9cb; border-radius: var(--radius); background: #f8f7ff; cursor: pointer; transition: border-color .18s, background-color .18s; }
.drop-zone:hover, .drop-zone.is-over { border-color: var(--accent); background: var(--tint); }
#visual-file:focus-visible + .drop-zone, .audio-file-panel:has(input[type=file]:focus-visible) .button { outline: 3px solid var(--accent); outline-offset: 3px; }
.drop-icon, .drop-action { display: grid; place-items: center; color: var(--accent); }
.drop-icon { width: 40px; height: 40px; background: var(--tint); border-radius: 11px; }
.drop-icon .icon { width: 22px; height: 22px; }
.drop-zone strong { display: block; line-height: 1.2; }
.drop-zone small { display: block; font-size: .83rem; margin-top: 3px; color: var(--muted); }
.file-detail { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 9px; padding-left: 6px; color: var(--muted); font-size: .88rem; }
.file-detail > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-detail .icon-button { min-width: 44px; min-height: 44px; }
.source-switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px; gap: 3px; background: #f0eff5; border-radius: 11px; }
.source-switch > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; min-height: 44px; padding: 5px 3px; font-size: .86rem; font-weight: 650; background: transparent; color: var(--muted); line-height: 1.13; }
.source-switch > button:hover { color: var(--accent); }
.source-switch > button[aria-pressed="true"] { background: var(--surface); border-color: #e5e2ee; color: var(--accent); box-shadow: 0 1px 3px #2421360c; }
.quick-sounds { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.sound-choice { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); min-height: 44px; overflow: clip; }
.sound-choice:has(.sound-select[aria-pressed="true"]) { background: var(--tint); border-color: var(--accent); color: var(--accent); }
.sound-choice > button { background: transparent; border: 0; padding: 0; font-size: .83rem; }
.sound-choice > button:focus-visible { outline-offset: -3px; }
.sound-choice > button:hover { color: var(--accent); background: #ebe9ff; }
.sound-choice .sound-audition { display: grid; place-items: center; width: 42px; color: var(--accent); }
.sound-choice .sound-audition .icon { width: 17px; height: 17px; }
.sound-choice .sound-select { padding: 6px 10px 6px 5px; font-weight: 650; min-width: 40px; text-align: left; }
.more-sounds { margin-top: 4px; }
.more-sounds > summary { list-style: none; display: inline-flex; align-items: center; min-height: 36px; padding-inline: 4px; gap: 4px; color: var(--accent); font-size: .84rem; font-weight: 700; }
.more-sounds > summary:hover { text-decoration: underline; }
.more-sounds[open] > summary > .icon { transform: rotate(180deg); }
.more-sounds > .quick-sounds { margin-block: 2px 4px; }
.audio-file-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 13px; min-height: 60px; color: var(--muted); font-size: .88rem; }
.audio-file-panel > p { overflow-wrap: anywhere; }
.audio-file-panel label.button { cursor: pointer; }
.adjust { border: 1px solid var(--line); border-radius: 11px; }
.adjust > summary { list-style: none; min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; gap: 8px; color: var(--muted); font-size: .93rem; font-weight: 700; }
.adjust > summary > span { display: flex; align-items: center; gap: 8px; }
.adjust > summary:hover { color: var(--accent); }
.adjust[open] > summary > .icon { transform: rotate(180deg); }
.settings { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; padding: 8px 12px 12px; }
.setting { display: grid; align-content: start; gap: 5px; }
.setting.wide { grid-column: 1 / -1; }
.setting label, .length-input label { font-size: .86rem; color: var(--muted); font-weight: 700; }
.setting output { float: right; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type=text], input[type=search], select { min-height: 44px; border: 1px solid var(--strong-line); border-radius: 8px; padding: 8px 10px; background: var(--surface); color: var(--ink); width: 100%; }
input::placeholder { color: var(--muted); opacity: .95; }
select { padding-right: 6px; cursor: pointer; }
input[type=range] { min-height: 36px; width: 100%; accent-color: var(--accent); margin: 0; }
.waveform { width: 100%; height: 42px; background: var(--tint); border-radius: 7px; }
.color-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.swatch, input[type=color] { display: inline-grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--strong-line); border-radius: 8px; cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); border-color: white; }
.swatch.violet { background: #eceafd; }
.swatch.green { background: #dcecd0; }
.swatch.peach { background: #fce7d3; }
.swatch.yellow { background: #faf0bc; }
.swatch.white, input[type=color] { background: white; }
input[type=color] { padding: 4px; }
.form-actions { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.length-input { display: flex; align-items: center; gap: 10px; }
.length-input select { width: 72px; }
.render-button { min-width: 161px; min-height: 46px; }
.form-note, .error-note { font-size: .86rem; color: var(--muted); margin-top: -12px; overflow-wrap: anywhere; }
.error-note { color: var(--error); }
.preview { display: grid; align-content: start; justify-items: stretch; gap: 11px; background: var(--preview-bg); border-left: 1px solid var(--line); padding: 23px clamp(16px, 3.5vw, 38px) 20px; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preview-head h3 { font-size: 1.08rem; letter-spacing: -.015em; }
.preview-head span { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.monitor { width: 100%; max-width: 340px; justify-self: center; aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid var(--strong-line); border-radius: 14px; overflow: hidden; background: #edeaf8; }
.monitor[data-state=empty] { background-color: #eeecfa; background-image: linear-gradient(45deg, #fff9 25%, transparent 25%, transparent 75%, #fff9 75%), linear-gradient(45deg, #fff9 25%, transparent 25%, transparent 75%, #fff9 75%); background-position: 0 0, 12px 12px; background-size: 24px 24px; }
.preview-empty { display: grid; justify-items: center; gap: 8px; text-align: center; margin: 12px; color: var(--muted); font-size: .9rem; }
.preview-empty > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; border: 1px solid #c5c0e2; background: var(--surface); color: var(--accent); box-shadow: 0 4px 0 #30264912; }
.preview-empty .icon { width: 29px; height: 29px; }
.preview-empty p { border-radius: 6px; background: #fbfaff; padding: 4px 6px; }
.monitor img, .monitor video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.monitor[data-fit=cover] [data-draft-image], .monitor[data-fit=cover] [data-draft-video] { object-fit: cover; }
.preview-caption { position: absolute; z-index: 1; left: 50%; bottom: 5.7%; transform: translateX(-50%); width: max-content; max-width: 88%; background: #171722eb; color: white; text-align: center; padding: .23em .45em; font-size: clamp(.9rem, 2.3vw, 1.55rem); font-weight: 750; line-height: 1.08; word-break: break-word; }
.preview-play { width: 100%; }
.preview-note { font-size: .84rem; color: var(--muted); }
.result-actions { display: grid; gap: 8px; }
.result-actions > .button { width: 100%; }
.result-secondary { display: flex; flex-wrap: wrap; gap: 7px; }
.result-secondary > * { flex: 1 0 auto; }
.result-actions > .text-link { font-size: .88rem; margin-top: 3px; }
.result-note { font-size: .84rem; color: var(--muted); }
.studio-footer { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 11px 24px; color: var(--muted); font-size: .85rem; }
.studio-footer .icon { color: var(--accent); }
.studio-footer a { white-space: nowrap; }

.section { padding-block: clamp(43px, 6.5vw, 79px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 20px; }
.section-head > div > p, .help-layout h2 { margin-top: 8px; }
.section-head p, .step-grid p { color: var(--muted); }
.section-head > a { flex: 0 0 auto; }
.sticker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); }
.sticker-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.sticker-art {
  position: relative;
  aspect-ratio: 1.29;
  background-image: radial-gradient(#34295a22 1px, transparent 1.15px);
  background-size: 11px 11px;
}
.sticker-plot-twist { background-color: #dcecd0; }
.sticker-cat-side-eye { background-color: #fce7d3; }
.sticker-tiny-win { background-color: #faf0bc; }
.sticker-ghosted { background-color: #eeebff; }
.sticker-art a { position: absolute; inset: 0; display: grid; place-items: center; outline-offset: -3px; }
.sticker-art img { width: min(75%, 176px); height: auto; object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(0 4px 3px #2e23422b); transition: transform .22s ease; }
.sticker-art a:hover img { transform: rotate(-2deg) scale(1.04); }
.circle-play { width: 44px; height: 44px; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; border: 1px solid transparent; background: var(--accent); color: white; transition: background-color .18s ease; }
.circle-play:hover { background: var(--accent-hover); }
.sticker-art > .circle-play { position: absolute; bottom: 9px; right: 9px; background: var(--ink); border: 1px solid #fff8; }
.sticker-art > .circle-play:hover, .sticker-art > .circle-play[aria-pressed=true] { background: var(--accent); }
.sticker-meta { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 10px 11px 10px 13px; }
.sticker-meta :is(h2, h3), .sound-copy :is(h2, h3) { font-size: 1.12rem; letter-spacing: -.02em; }
.sticker-meta :is(h2, h3) a, .sound-copy :is(h2, h3) a, .guide-grid h2 a { text-decoration: none; }
.sticker-meta :is(h2, h3) a:hover, .sound-copy :is(h2, h3) a:hover, .guide-grid h2 a:hover { text-decoration: underline; }
.sticker-meta p, .sound-copy p { color: var(--muted); font-size: .85rem; margin-top: 3px; }
.steps-band { background: #f1effe; border-block: 1px solid #e3dfee; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 24px; padding: 0; margin: 26px 0 0; }
.step-grid > li { display: flex; gap: 12px; border-top: 1px solid var(--strong-line); padding-top: 17px; }
.step-icon { display: grid; place-items: center; flex: 0 0 auto; width: 41px; height: 41px; border-radius: 11px; background: var(--surface); color: var(--accent); }
.step-grid h3 { margin: 3px 0 5px; }
.step-grid p { font-size: .94rem; }
.help-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: 56px; }
.help-layout h2 { margin-bottom: 17px; }
.guide-mini, .faq { display: grid; }
.guide-mini > a { min-height: 53px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.guide-mini > a:hover > span:nth-child(2) { text-decoration: underline; }
.faq > details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px 0; min-height: 53px; font-weight: 750; }
.faq summary .icon { color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-bottom: 14px; max-width: 560px; }

.site-footer { background: #f1efe9; border-top: 1px solid var(--line); }
.footer-layout { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-block: 27px; }
.footer-layout p { color: var(--muted); margin-top: 10px; font-size: .88rem; }
.footer-layout nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-layout nav > a { padding-block: 8px; color: var(--muted); font-size: .88rem; font-weight: 650; text-decoration: none; }
.footer-layout nav > a:hover { color: var(--accent); text-decoration: underline; }

.page-top { padding-block: 22px 30px; }
.page-top h1 { font-size: clamp(2.45rem, 6vw, 4.55rem); line-height: .98; max-width: 18ch; }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; align-items: baseline; margin: 0; padding: 0; gap: 6px; }
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: 6px; color: var(--strong-line); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.lead { max-width: 58ch; color: var(--muted); font-size: clamp(1.03rem, 1.9vw, 1.23rem); margin-top: 12px; }
.search-form { display: flex; gap: 9px; max-width: 480px; margin-top: 23px; }
.search-form input { flex: 1; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 22px; font-size: .91rem; text-decoration: none; background: var(--surface); }
.filters a[aria-current], .filters a:hover { color: var(--accent); border-color: var(--accent); background: var(--tint); }
.library-results { margin-bottom: clamp(50px, 8vw, 95px); }
.not-found { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.not-found h2 { font-size: 1.4rem; margin-bottom: 10px; }
.sound-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sound-card { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 11px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.sound-copy { min-width: 0; }
.sound-card .button { min-width: 0; padding-inline: 10px; font-size: .86rem; }
.detail-top { padding-bottom: 5px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(20px, 5.5vw, 65px); align-items: center; }
.detail-media { display: grid; place-items: center; border-radius: var(--wide-radius); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1; max-width: 455px; }
.detail-media video { width: 100%; height: 100%; object-fit: contain; }
.detail-copy > p:not(.lead) { color: var(--muted); margin-top: 13px; max-width: 58ch; }
.detail-actions, .detail-assets { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.detail-assets { gap: 16px; }
.detail-top + .section > h2 { margin-bottom: 17px; }
.sound-feature { background-color: #eeebff; background-image: radial-gradient(#34295a22 1px, transparent 1.15px); background-size: 11px 11px; align-content: center; gap: 15px; }
.sound-feature > span { display: grid; place-items: center; width: 100px; aspect-ratio: 1; color: var(--accent); background: var(--surface); border-radius: 23px; border: 1px solid var(--strong-line); box-shadow: 0 6px 0 #30264916; transform: rotate(-5deg); }
.sound-feature > span .icon { width: 54px; height: 54px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-grid > article { display: grid; justify-items: start; align-content: start; gap: 10px; padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-grid h2 { font-size: 1.43rem; }
.guide-grid p { color: var(--muted); }
.article-top .button { margin-top: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 270px); gap: clamp(20px, 6vw, 80px); margin-bottom: 68px; }
.article-body > section { padding-block: 18px; border-top: 1px solid var(--line); }
.article-body h2, .related-guides h2 { font-size: 1.5rem; line-height: 1.15; }
.article-body p { margin-top: 8px; }
.article-body li { margin-top: 6px; }
.sources a, .article-body a { color: var(--accent); }
.related-guides { padding: 16px; align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.related-guides a { display: flex; align-items: baseline; gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .93rem; }
.related-guides a:last-child { padding-bottom: 1px; border: 0; }
.related-guides .icon { color: var(--accent); }
.missing { padding-block: clamp(48px, 10vw, 110px); }
.missing .button { margin-top: 18px; }

@media (max-width: 940px) {
  .studio-form { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .editor-fields { padding-inline: 17px; }
  .studio-head { padding-inline: 17px; }
  .preview { padding-inline: 17px; }
  .source-switch > button { font-size: .83rem; }
  .source-switch > button > .icon { display: none; }
  .sound-card { grid-template-columns: auto 1fr auto; }
  .sound-card > .button { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 700px) {
  :root { --wrap: calc(100% - 32px); }
  .nav-layout { grid-template-columns: 1fr auto; grid-template-rows: 55px auto; padding-bottom: 5px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 2px; }
  .navigation a { padding: 8px; }
  .language { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 10px; padding-block: 27px 23px; min-height: auto; }
  .hero h1 { font-size: clamp(2.23rem, 7.3vw, 4.16rem); }
  .hero-copy > p { font-size: .98rem; margin-top: 11px; }
  .hero-visual { height: clamp(148px, 30vw, 185px); }
  .art-cat { width: 60%; top: 8%; right: 1%; }
  .art-star { width: 47%; right: 0; bottom: 6%; }
  .art-frog { width: 72%; left: -5%; bottom: 13%; }
  .hero-play { right: 0; font-size: .74rem; min-height: 40px; padding: 5px 8px; gap: 4px; }
  .studio-form { grid-template-columns: minmax(0, 1fr); }
  .preview { border-left: 0; border-top: 1px solid var(--line); }
  .monitor { max-width: 360px; }
  .sound-card { grid-template-columns: auto 1fr auto auto; }
  .sound-card > .button { grid-column: auto; }
  .sticker-grid, .step-grid, .help-layout, .detail-grid, .article-layout { gap: 16px; }
  .sticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sound-list, .step-grid, .help-layout, .detail-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .help-layout, .detail-grid { gap: 30px; }
  .detail-media { width: min(100%, 380px); }
  .detail-copy h1 { font-size: clamp(2.1rem, 7vw, 3.9rem); }
  .footer-layout { flex-direction: column; gap: 10px; }
}

@media (max-width: 425px) {
  .hero { grid-template-columns: minmax(0, 1fr); position: relative; padding-bottom: 20px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { max-width: calc(100% - 85px); font-size: clamp(2.23rem, 9.6vw, 2.85rem); }
  .hero-copy > p { max-width: 31ch; }
  .hero-visual { position: absolute; width: 113px; height: 108px; right: 0; top: 23px; }
  .hero-art { inset: 0 0 0 0; }
  .art-cat { top: 0; }
  .art-frog { bottom: 12%; }
  .art-star { display: none; }
  .hero-play { width: 38px; height: 38px; min-height: 38px; justify-content: center; padding: 0; bottom: 0; }
  .hero-play > span:last-child { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .studio-head { padding-inline: 13px; }
  .studio-label { gap: 7px; }
  .studio-label .item-icon { display: none; }
  .sample-button { font-size: .83rem; padding-inline: 8px; }
  .editor-fields, .preview { padding-inline: 13px; }
  .source-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-switch > button > .icon { display: inline-block; }
  .section-head { display: grid; gap: 8px; }
  .guide-grid { grid-template-columns: minmax(0,1fr); }
  .sound-card { grid-template-columns: auto 1fr auto; }
  .sound-card > .button { grid-column: 2 / -1; }
  .sticker-meta { padding-inline: 8px 5px; }
  .sticker-meta :is(h2, h3) { font-size: 1rem; }
  .studio-footer { padding-inline: 13px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
