/* Theme pages share the landing system, with editorial briefs and real audio rows. */
.voice-theme-page [hidden] { display: none !important; }
.voice-theme-page section[id], .voice-demo[id] { scroll-margin-top: 84px; }
.voice-theme-page .btn { white-space: normal; text-align: center; max-width: 100%; }
.voice-theme-page :is(a, button, input):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.voice-theme-hero { padding-block: var(--s-7) var(--s-8); }
.voice-theme-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.voice-theme-hero h1 { font-size: clamp(33px, 4.4vw, 52px); line-height: 1.15; margin-top: 0; }
.voice-theme-hero .lead { line-height: 1.75; }
.voice-theme-note { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-4); }
.voice-theme-brief { padding: var(--s-6); background: var(--surface); box-shadow: none; }
.voice-theme-brief > svg { color: var(--accent-ink); margin-bottom: var(--s-4); }
.voice-theme-brief h2, .voice-theme-news-sheet h2 { font-size: var(--fs-xl); line-height: 1.45; }
.voice-theme-brief blockquote { border-left: 2px solid var(--accent); padding-left: var(--s-4); margin-top: var(--s-5); font-size: var(--fs-lg); line-height: 1.75; }
.voice-theme-brief > p, .voice-theme-news-sheet > p { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-4); line-height: 1.7; }
.voice-theme-news-sheet { border-block: 2px solid var(--fg); padding-block: var(--s-5); }
.voice-theme-news-line { display: flex; align-items: center; gap: var(--s-3); color: var(--muted); font-size: var(--fs-xs); padding-bottom: var(--s-4); margin-bottom: var(--s-5); border-bottom: 1px solid var(--border); }
.voice-theme-news-sheet blockquote { font-size: var(--fs-lg); line-height: 1.85; margin-top: var(--s-4); }
.voice-theme-listen { background: var(--surface-2); padding-block: var(--s-7); border-block: 1px solid var(--border); }
.voice-theme-section-head { margin-bottom: var(--s-5); max-width: 70ch; }
.voice-theme-section-head h2, .voice-theme-split h2, .voice-theme-news-workflow h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.3; }
.voice-theme-section-head > p { margin-top: var(--s-3); color: var(--muted); line-height: 1.75; }
.voice-theme-audition-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: var(--s-8); align-items: start; }
.voice-theme-audition-layout .voice-theme-section-head { margin-bottom: 0; }
/* Reuse the existing .scenes / .card.scene players from the voice landings. */
.voice-demo-list { list-style: none; padding: 0; margin: 0; min-width: 0; }
.voice-demo { min-width: 0; flex-wrap: wrap; }
.voice-demo-name { flex: 1; min-width: 0; }
.voice-demo-name .sn { margin: 0; line-height: 1.45; }
.voice-demo .pp { width: 44px; height: 44px; }
.voice-demo-select { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 700; }
.voice-demo-select:hover { text-decoration: underline; text-underline-offset: 4px; }
.voice-demo audio { display: block; flex-basis: 100%; width: 100%; min-height: 44px; }
.voice-demo .voices-audio-error { flex-basis: 100%; font-size: var(--fs-xs); color: var(--danger); margin: 0; }
.voice-demo .voices-play[data-loading="true"] { position: relative; }
.voice-demo .voices-play[data-loading="true"] svg { visibility: hidden; }
.voice-demo .voices-play[data-loading="true"]::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: voice-loading .8s linear infinite; }
@keyframes voice-loading { to { transform: rotate(360deg); } }
.voice-theme-diktorskie .voice-demo-list { grid-template-columns: minmax(0, 1fr); }
.voice-theme-strashnye .voice-demo-list { grid-template-columns: minmax(0, 1fr); }
.voice-theme-strashnye .voice-theme-uses article { padding-bottom: 0; }
.voice-theme-anime .voice-demo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.voice-theme-intro { max-width: 920px; text-align: center; }
.voice-theme-intro h1 { max-width: 22ch; margin-inline: auto; }
.voice-theme-intro .lead { margin-inline: auto; }
.voice-theme-intro .hero-cta { justify-content: center; }
.voice-theme-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.voice-theme-uses article { border-top: 1px solid var(--border); padding-top: var(--s-4); }
.voice-theme-uses h3 { font-size: var(--fs-xl); line-height: 1.45; }
.voice-theme-uses p, .voice-theme-body, .voice-theme-news-workflow p { margin-top: var(--s-3); color: var(--muted); line-height: 1.8; }
.voice-theme-uses a, .voice-theme-editorial a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.voice-theme-editorial { padding-block: var(--s-7); border-top: 1px solid var(--border); }
.voice-theme-split, .voice-theme-news-workflow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-8); }
.voice-theme-split dl { display: grid; gap: var(--s-5); }
.voice-theme-split dt { font-size: var(--fs-lg); font-weight: 700; }
.voice-theme-split dd { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--fs-ui); line-height: 1.8; }
.voice-theme-news-workflow p:first-child { margin-top: 0; }
.voice-theme-related { border-top: 1px solid var(--border); padding-block: var(--s-7) var(--s-8); }
.voice-theme-related-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-8); }
.voice-theme-related h2 { font-size: var(--fs-2xl); line-height: 1.4; }
.voice-theme-back { display: inline-block; margin-top: var(--s-4); color: var(--accent-ink); font-weight: 700; font-size: var(--fs-ui); }
.voice-theme-related ul { list-style: none; padding: 0; margin: 0; }
.voice-theme-related li { border-bottom: 1px solid var(--border); }
.voice-theme-related li a { display: block; padding-block: var(--s-4); color: var(--accent-ink); font-size: var(--fs-ui); font-weight: 700; }
.voice-theme-related a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .voice-theme-hero-grid, .voice-theme-split, .voice-theme-news-workflow, .voice-theme-related-inner { gap: var(--s-6); }
  .voice-theme-audition-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
}
@media (max-width: 680px) {
  .voice-theme-anime .voice-demo-list { grid-template-columns: minmax(0, 1fr); }
  .voice-theme-hero-grid, .voice-theme-split, .voice-theme-news-workflow, .voice-theme-related-inner, .voice-theme-uses { grid-template-columns: minmax(0, 1fr); }
  .voice-theme-hero { padding-block: var(--s-6) var(--s-7); }
  .voice-theme-brief { padding: var(--s-5); }
  .voice-theme-uses { gap: var(--s-5); }
}
@media (prefers-reduced-motion: reduce) { .voice-demo .voices-play[data-loading="true"]::after { animation: none; } }

/* A personal winter letter, using the landing's existing type and theme tokens. */
.santa-letter { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-6); position: relative; }
.santa-letter::before { content: ""; display: block; height: 3px; background: var(--accent); position: absolute; top: -1px; left: var(--s-6); right: var(--s-6); }
.santa-letter-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); color: var(--muted); font-size: var(--fs-sm); padding-bottom: var(--s-5); border-bottom: 1px solid var(--border); }
.santa-letter-top svg { color: var(--accent-ink); flex: none; }
.santa-letter h2 { font-size: var(--fs-2xl); margin-top: var(--s-5); }
.santa-letter blockquote { font-size: var(--fs-lg); line-height: 1.85; margin: var(--s-4) 0; }
.santa-letter-sign { display: grid; gap: var(--s-2); padding-top: var(--s-4); font-size: var(--fs-ui); }
.santa-letter-sign strong { color: var(--accent-ink); }
.santa-letter > p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; border-top: 1px solid var(--border); padding-top: var(--s-4); margin-top: var(--s-5); }
.voice-theme-ded-moroz .voice-demo-list { grid-template-columns: minmax(0, 1fr); }
.santa-text-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.santa-examples dd { border-left: 2px solid var(--accent); padding-left: var(--s-4); }
@media (max-width: 680px) { .santa-letter { padding: var(--s-5); } }

/* Cute voices: two kinds of delivery, with the site's existing audio rows. */
.voice-demo-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: var(--fs-ui); line-height: 1.6; }
.cute-auditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.cute-audition-group { min-width: 0; }
.cute-audition-group > h3 { font-size: var(--fs-2xl); }
.cute-audition-group > p { color: var(--muted); font-size: var(--fs-md); line-height: 1.7; margin: var(--s-3) 0 var(--s-5); }
.voice-theme-milye .voice-demo-list { grid-template-columns: minmax(0, 1fr); }

/* Roblox stories use the same single-column introduction as other voice themes. */
.voice-theme-dlya-robloks-istoriy .voice-theme-intro h1 { max-width: none; }
.voice-theme-dlya-robloks-istoriy .voice-theme-intro h1 .accent { white-space: nowrap; }
.roblox-auditions { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.voice-theme-dlya-robloks-istoriy .voice-demo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roblox-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.roblox-formats article { min-width: 0; border-top: 2px solid var(--border); padding-top: var(--s-5); }
.roblox-formats h3 { font-size: var(--fs-2xl); line-height: 1.4; }
.roblox-formats p { margin-top: var(--s-3); color: var(--muted); font-size: var(--fs-md); line-height: 1.8; }
.roblox-formats blockquote { border-left: 2px solid var(--accent); padding-left: var(--s-4); margin: var(--s-5) 0 0; font-size: var(--fs-lg); line-height: 1.8; }
.roblox-formats a { display: inline-block; margin-top: var(--s-5); font-size: var(--fs-md); }
@media (max-width: 680px) {
  .cute-auditions, .roblox-formats, .voice-theme-dlya-robloks-istoriy .voice-demo-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 340px) {
  .voice-theme-dlya-robloks-istoriy .voice-theme-intro h1 { font-size: var(--fs-3xl); }
}
