:root {
  color-scheme: light;
  --ink: #132546;
  --muted: #60708a;
  --blue: #104ea7;
  --blue-deep: #092b67;
  --gold: #dfac61;
  --paper: #fbf9f4;
  --line: #dce4ec;
  --white: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; }

.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 82px; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-deep); text-decoration: none; font-weight: 750; font-size: 1.18rem; white-space: nowrap; }
.brand img { width: 43px; height: 43px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav a { color: #344a68; text-decoration: none; font-weight: 650; font-size: .94rem; }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a:hover { color: var(--blue); }
.site-nav button[data-sign-out] { padding: 8px 12px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--blue-deep); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.site-nav button[data-sign-out]:hover { background: #edf3fa; }

.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.35rem); line-height: 1.01; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
h3 { font-size: 1.2rem; }
p { line-height: 1.65; }
.lead { font-size: clamp(1.07rem, 1.8vw, 1.32rem); color: #425671; max-width: 660px; }
.small { font-size: .9rem; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; background: var(--blue); color: white; text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--blue-deep); }
.button.secondary { background: transparent; border-color: #a7bad1; color: var(--blue-deep); }
.button.secondary:hover { background: #edf3fa; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.public-sharing { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.public-sharing h2 { font-size: 1.6rem; }
.public-sharing label { display: block; margin: 16px 0 6px; font-weight: 700; }
.public-sharing input { display: block; width: 100%; margin-bottom: 12px; padding: 12px; border: 1px solid #a7bad1; border-radius: 8px; font: inherit; }
.public-sharing [data-share-status]:empty { display: none; }
.show-page { padding-block: 64px 100px; }
.show-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 38px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.show-hero img { display: block; width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 30px rgba(14, 37, 70, .12); }
.show-hero h1 { font-size: clamp(2.9rem, 5.4vw, 4.8rem); margin: 10px 0 16px; overflow-wrap: anywhere; }
.show-description { max-width: 42rem; margin: 0 0 18px; color: #425671; font-size: 1.08rem; overflow-wrap: anywhere; }
.show-listen-link { color: var(--blue); font-weight: 750; text-underline-offset: 4px; }
.show-content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 52px; align-items: start; padding-top: 48px; }
.show-episodes { min-width: 0; }
.show-episodes h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin: 8px 0 26px; }
.show-episodes ol { list-style: none; margin: 0; padding: 0; }
.show-episode { padding: 24px 0; border-top: 1px solid var(--line); }
.show-episode h3 { font: 500 1.7rem/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.025em; margin: 0 0 12px; }
.show-episode h3 a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.show-episode p { color: #52627a; overflow-wrap: anywhere; }
.show-episode audio { display: block; width: min(100%, 540px); margin-top: 16px; }
.background-music { width: min(100%, 540px); margin: 12px 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbff; }
.background-music summary { color: var(--blue-deep); font-weight: 700; cursor: pointer; }
.background-music-controls { display: grid; gap: 10px; padding-top: 14px; }
.background-music-controls label { display: grid; gap: 5px; color: var(--blue-deep); font-weight: 600; }
.background-music-controls [hidden] { display: none; }
.background-music-controls select, .background-music-controls input[type="file"] { width: 100%; min-width: 0; padding: 8px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--blue-deep); font: inherit; }
.background-music-controls input[type="range"] { width: 100%; }
.background-music-controls p { margin: 0; }
.show-follow { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; min-width: 0; }
.show-follow h2 { font-size: 1.7rem; margin: 0 0 8px; }
.show-follow p { margin: 0 0 17px; color: #52627a; }
.show-follow-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.show-follow-actions .button { min-height: 42px; padding: 8px 13px; font-size: .85rem; }
.show-feed-details { padding: 14px 0; border-top: 1px solid var(--line); }
.show-feed-details summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.show-feed-details label { display: block; margin: 12px 0 6px; font-size: .84rem; font-weight: 700; }
.show-feed-details input { width: 100%; padding: 9px; border: 1px solid #a7bad1; border-radius: 7px; font: inherit; font-size: .8rem; }
.show-feed-details a { display: inline-block; margin-top: 9px; color: var(--blue); font-size: .88rem; }
.show-follow .small { font-size: .82rem; line-height: 1.5; }
.show-follow-qr { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.show-follow-qr img { display: block; width: 112px; height: 112px; image-rendering: pixelated; flex: none; }
.show-follow-qr strong { display: block; font-size: .85rem; line-height: 1.4; }
.show-follow-qr a { display: inline-block; margin-top: 8px; color: var(--blue); font-size: .82rem; font-weight: 700; }
.show-follow [data-share-status]:empty { display: none; }
.show-follow [data-share-status] { margin: 14px 0 0; font-size: .85rem; }
.hero-note { margin-top: 20px; }
.band-eyebrow { color: #f2c77c; }
.band-title { margin: 14px 0; }

.hero { background: radial-gradient(circle at 87% 21%, #fff1d5 0, transparent 27%), linear-gradient(125deg,#f8fbff 4%,#f8f4eb 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 6%; min-height: 600px; padding-block: 80px; }
.hero h1 { max-width: 730px; margin: 18px 0 22px; }
.hero .lead { margin-bottom: 30px; }
.artwork { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; background: linear-gradient(145deg,#0b4ba4,#09285f 72%); box-shadow: 0 28px 60px rgba(10,47,96,.2); overflow: hidden; }
.artwork::before { content: ""; position: absolute; inset: 11%; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; }
.artwork::after { content: ""; position: absolute; width: 72%; height: 72%; left: 14%; top: 14%; border-radius: 50%; background: radial-gradient(circle,rgba(239,196,121,.94) 0 4%, transparent 5% 16%,rgba(255,255,255,.22) 17% 17.5%,transparent 18% 34%,rgba(255,255,255,.2) 35% 35.5%,transparent 36% 52%,rgba(255,255,255,.16) 53% 53.5%,transparent 54%); }
.artwork span { position: absolute; z-index: 1; left: 11%; bottom: 11%; color: white; font-family: Georgia, serif; font-size: clamp(1.5rem,3vw,2.9rem); line-height: 1.07; width: 74%; }
.artwork small { display: block; margin-bottom: 13px; font: 700 .72rem "Segoe UI",sans-serif; letter-spacing: .17em; text-transform: uppercase; color: #f1c985; }

.section { padding-block: 98px; }
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }
.feature { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: var(--white); min-height: 250px; }
.feature .number { color: var(--blue); font: 700 .85rem "Segoe UI",sans-serif; letter-spacing: .1em; }
.feature h3 { margin: 31px 0 11px; }
.feature p { color: var(--muted); margin: 0; }
.band { background: var(--blue-deep); color: white; padding-block: 88px; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.band p { color: #c6d9f4; max-width: 650px; }
.band .button { background: white; color: var(--blue-deep); white-space: nowrap; }
.band .button:hover { background: #f4e4c7; }

.page-intro { padding: 78px 0 46px; }
.page-intro h1 { font-size: clamp(2.9rem,6vw,5rem); max-width: 860px; margin: 16px 0 20px; }
.notice { display: inline-block; padding: 9px 14px; border: 1px solid #ead29f; border-radius: 100px; color: #795719; background: #fff8e9; font-size: .83rem; font-weight: 700; }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 90px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.panel.wide { grid-column: 1 / -1; }
.personal-turn { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 20px 0; min-width: 0; }
.personal-turn legend { font-weight: 700; padding: 0 8px; }
.personal-turn-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.personal-delivery-description { display: block; margin-top: 8px; font-weight: 400; line-height: 1.5; }
@media (max-width: 700px) { .personal-turn-controls { grid-template-columns: 1fr; gap: 0; } }
[data-personal-page] > .panel { margin-bottom: 24px; }
[data-personal-player] { width: 100%; margin: 16px 0; }
.panel h2 { font-size: 2rem; margin: 10px 0 14px; }
.panel p { color: var(--muted); }
.panel ul { padding-left: 20px; line-height: 1.9; }
.panel .button { margin-top: 12px; }
.panel button:disabled { opacity: .6; cursor: wait; }
main form > label { display: block; margin-top: 18px; font-weight: 700; }
main form input[type="email"], main form input[type="password"], main form input[type="text"],
main form textarea, main form select { display: block; width: 100%; box-sizing: border-box;
  margin-top: 8px; padding: 12px; border: 1px solid #a7bad1; border-radius: 8px;
  background: white; color: var(--ink); font: inherit; }
main form textarea { resize: vertical; min-height: 220px; line-height: 1.5; }
main form input[type="checkbox"] { margin-right: 8px; }
main form textarea:focus-visible, main form input:focus-visible { outline: 3px solid #d48818; outline-offset: 2px; }
.studio-intro { padding: 54px 0 28px; }
.studio-intro h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); margin-bottom: 10px; }
.studio-intro .lead { margin-bottom: 0; }
.final-submit { max-width: 900px; margin-bottom: 80px; }
[data-delivery-review] { margin: 28px 0; }
.recording-delivery-turn { padding: 14px 0; border-top: 1px solid var(--line); }
.recording-delivery-turn p { margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.recording-delivery-turn label { display: block; font-weight: 700; }
.recording-delivery-turn select { max-width: 320px; }
.final-submit h2 { font-size: 1.8rem; margin-top: 30px; }
.final-submit h2:first-child { margin-top: 0; }
.final-contract-reference { padding: 20px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbff; }
.final-contract-reference h2 { margin: 0 0 12px; }
.final-contract-reference ul { line-height: 1.6; padding-left: 22px; }
.final-contract-reference li { margin: 8px 0; }
.final-contract-reference code { overflow-wrap: anywhere; }
.final-cast-example { overflow: auto; max-height: 420px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .85rem; }
.final-contract-reference summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.final-contract-details { padding-top: 18px; }
.final-table-wrap { overflow-x: auto; }
.final-contract-reference table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.final-contract-reference th, .final-contract-reference td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.final-dimensions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 20px; }
.final-dimensions h3 { margin: 0 0 8px; }
.final-dimensions ul { margin-top: 0; }
.final-script-label { display: block; margin: 22px 0 8px; font-weight: 700; }
#final-json { display: block; width: 100%; min-height: 390px; padding: 13px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--ink); font: .93rem/1.5 Consolas, monospace; resize: vertical; }
#final-example { max-width: 210px; padding: 8px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.final-json-viewer { margin: 18px 0; }
.final-json-viewer summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.final-json-viewer pre { overflow: auto; max-height: 460px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; white-space: pre-wrap; overflow-wrap: anywhere; }
[data-job-audio]:not([hidden]) { display: block; width: min(100%, 560px); margin-top: 18px; }
.studio-login { max-width: 650px; margin-bottom: 90px; }
.studio-guest-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); align-items: start; gap: 20px; margin-bottom: 88px; }
.studio-guest-grid .studio-login { max-width: none; margin-bottom: 0; }
.studio-guest-grid h2 { margin: 7px 0 12px; }
.studio-guest-grid form textarea { min-height: 188px; }
.studio-guest-grid .studio-actions { margin-top: 18px; }
.studio-guest-grid .studio-actions .button { margin-top: 0; }
.studio-text-button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.studio-guest-grid [role="status"]:empty { display: none; }
.studio-resume { padding: 15px 18px; border: 1px solid #b8d2ef; border-radius: 10px; background: #eef5fd; }
.studio-resume a { color: var(--blue); font-weight: 700; }
.studio-session-loading { margin-bottom: 90px; }
.studio-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.studio-storage { margin: 0; padding: 9px 14px; border-radius: 999px; background: #edf3fa; }
.studio-primary { margin-bottom: 18px; }
.studio-section-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.studio-section-heading h2 { margin: 6px 0 4px; }
.studio-section-heading p { margin-bottom: 0; }
.studio-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.recording-style-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0 26px; }
#recording-form { display: block; width: 100%; box-sizing: border-box; margin-top: 8px;
  padding: 12px; border: 1px solid #a7bad1; border-radius: 8px; background: white;
  color: var(--ink); font: inherit; }
label[for="recording-form"] { display: block; font-weight: 700; }
#recording-form:focus-visible { outline: 3px solid #d48818; outline-offset: 2px; }
.recording-style { display: flex; flex-direction: column; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.recording-style:has(input:checked) { border-color: var(--blue); background: #edf3fa; }
.recording-style:has(input:disabled) { opacity: .55; cursor: default; }
.recording-style input { align-self: flex-start; }
.recording-style span { color: var(--muted); }
.recording-cast-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.recording-generation-progress { width: 100%; max-width: 420px; }
.recording-cast-role { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.recording-cast-role legend { padding: 0 6px; font-weight: 700; color: var(--blue-deep); }
.recording-cast-role label { display: block; margin-top: 10px; font-weight: 600; }
.recording-cast-role select { width: 100%; }
.studio-choice-grid > div { min-width: 0; }
.studio-choice-grid label { display: block; font-weight: 700; }
.studio-choice-grid > div > select { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 12px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.studio-choice-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.studio-choice-heading .studio-inline-link { margin: 0; white-space: nowrap; }
.studio-creation-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; }
.studio-primary form textarea { min-height: 112px; }
.studio-primary form > label { margin-top: 22px; }
.studio-primary form .studio-check, .studio-disclosure form .studio-check { font-weight: 500; }
.studio-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.studio-actions .button, .panel .studio-actions .button { min-height: 40px; padding: 7px 13px; margin-top: 0; font-size: .85rem; }
.studio-inline-link { display: inline-block; margin-top: 10px; padding: 5px 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.studio-disclosure:not([open]) { display: none; }
.studio-choice-grid .studio-disclosure { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f5f8fc; }
.studio-choice-grid .studio-disclosure summary { font-size: 1rem; }
.studio-disclosure { align-self: start; }
.studio-disclosure summary { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 28px; cursor: pointer; font-size: 1.25rem; font-weight: 700; color: var(--blue-deep); }
.studio-disclosure summary::after { content: '+'; position: absolute; right: 0; top: -4px; font-size: 1.6rem; font-weight: 400; }
.studio-disclosure[open] summary::after { content: '−'; }
.studio-disclosure summary small { color: var(--muted); font-size: .85rem; font-weight: 500; }
.studio-disclosure[open] summary { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.studio-disclosure form textarea { min-height: 130px; }
.studio-disclosure input[type="file"] { display: block; max-width: 100%; margin-top: 8px; }
.studio-disclosure .cover-preview { display: block; width: min(220px, 100%); border-radius: 10px; margin-top: 10px; }
.studio-library { margin-bottom: 80px; }
.studio-drafts { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.studio-drafts h3 { margin-bottom: 10px; }
.studio-work-link { margin: 20px 0 0; }
.studio-work-link a { color: var(--blue); font-weight: 700; }
.studio-show { border-top: 1px solid var(--line); padding: 22px 0; }
.studio-show:first-child { border-top: 0; padding-top: 4px; }
.studio-show-header { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.studio-episode { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.studio-show-header h3 { margin-bottom: 3px; }
.studio-show-header h3 a, .studio-episode-title a { color: var(--blue-deep); font-weight: 700; }
.studio-show-header p { margin-bottom: 0; }
.studio-show-controls, .studio-episode-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.studio-show-controls { padding: 2px 0 4px; }
.studio-show-controls .button, .studio-episode-actions .button { min-height: 38px; padding: 7px 11px; margin-top: 0; font-size: .82rem; }
.studio-show-controls a { color: var(--blue); font-weight: 700; }
.studio-overflow { position: relative; margin-left: auto; }
.studio-overflow summary { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #a7bad1; border-radius: 8px; background: white; color: var(--blue-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; list-style: none; }
.studio-overflow summary::-webkit-details-marker { display: none; }
.studio-overflow summary:hover, .studio-overflow summary:focus-visible { background: #eef4fc; }
.studio-overflow-items { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; display: grid; gap: 4px; min-width: 220px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 10px 25px #0b22402b; }
.studio-overflow-items .button { width: 100%; text-align: left; }
.studio-overflow-items a { display: flex; align-items: center; min-height: 38px; padding: 7px 11px; font-size: .82rem; }
.studio-show form { margin: 16px 0; padding: 20px; border-radius: 12px; background: #f5f8fc; }
.studio-show form textarea { min-height: 100px; }
.studio-show-cover-editor { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.studio-show-cover-preview { display: block; width: 140px; height: 140px; object-fit: cover; margin: 12px 0; border-radius: 8px; }
.studio-episodes { list-style: none; padding: 0 !important; margin: 16px 0 0; }
.studio-episode { padding: 13px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.studio-episode-title { min-width: 0; overflow-wrap: anywhere; }
.studio-episode-title small { display: block; color: var(--muted); }
.studio-dialog { max-width: min(42rem, 90vw); }
.studio-dialog textarea { width: 100%; min-height: 220px; }
.studio-dialog label { display: block; margin: 14px 0 8px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 25px; }
.step { padding: 19px; border-radius: 11px; background: #f1f5fa; font-weight: 700; color: #37567d; }
.step strong { display: block; color: var(--blue); font-size: .75rem; margin-bottom: 8px; }

.work-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 54px; align-items: start; padding: 70px 0 110px; }
.work-art { aspect-ratio: 1/1; }
.work-main h1 { font-size: clamp(2.8rem,5vw,4.8rem); margin: 16px 0 8px; }
.work-type { margin-top: 26px; }
.byline { color: var(--muted); font-size: 1.08rem; margin-bottom: 25px; }
.player-panel { border: 1px solid var(--line); background: white; border-radius: 16px; padding: 28px; margin-top: 34px; }
.player-title { font-size: 1.75rem; margin-bottom: 5px; }
.player-panel audio { width: 100%; margin: 12px 0 4px; }
.speed-control { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--blue-deep); }
.speed-control select { min-height: 42px; border: 1px solid #a7bad1; border-radius: 8px; padding: 6px 11px; color: var(--blue-deep); background: white; font: inherit; }
.chapter-heading { margin-top: 26px; }
.chapter-list { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 19px; }
.chapter { border: 1px solid #b9cce1; color: var(--blue-deep); background: white; border-radius: 100px; padding: 10px 15px; font: 650 .89rem "Segoe UI",sans-serif; cursor: pointer; }
.chapter:hover { background: #eef5fd; }
.work-about { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 28px; }
.about-title { font-size: 2rem; }
.download-link { margin-top: 24px; }
.state-panel { border: 1px solid var(--line); background: white; border-radius: 16px; padding: 30px; margin-top: 28px; }
.state-panel h2 { font-size: 1.9rem; }
.preview-states { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.preview-states a { color: var(--blue); }
.cover-preview { display: block; width: min(220px,100%); aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin: 12px 0 20px; }
.error-page { min-height: 65vh; padding-block: 100px; }
.error-page h1 { margin-block: 16px 24px; }
.error-page .button { margin-top: 14px; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #d48818; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
[hidden] { display: none !important; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: .87rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { color: var(--blue); }

@media (max-width: 800px) {
  .studio-guest-grid { grid-template-columns: 1fr; }
  .studio-guest-grid .studio-login { max-width: 100%; }
  .show-content { grid-template-columns: 1fr; gap: 32px; }
  .show-follow { max-width: 560px; }
  .hero-grid, .work-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 68px; }
  .hero-art { width: min(460px,100%); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .work-art { width: min(340px,100%); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .show-page { padding-block: 38px 70px; }
  .show-hero { grid-template-columns: 104px minmax(0,1fr); gap: 18px; padding-bottom: 32px; align-items: start; }
  .show-hero img { width: 104px; border-radius: 11px; }
  .show-hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); margin: 5px 0 10px; }
  .show-description { font-size: .95rem; line-height: 1.45; margin-bottom: 8px; }
  .show-listen-link { font-size: .86rem; }
  .show-content { padding-top: 32px; }
  .show-follow { padding: 20px; }
  .shell { width: min(100% - 32px,1160px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 17px; }
  .site-nav { gap: 18px; }
  .section { padding-block: 65px; }
  .band-inner { align-items: flex-start; flex-direction: column; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-choice-grid { grid-template-columns: 1fr; }
  .final-dimensions { grid-template-columns: 1fr; }
  .recording-style-grid { grid-template-columns: 1fr; }
  .recording-cast-preview { grid-template-columns: 1fr; }
  .studio-primary, .studio-library { padding: 22px; }
  .studio-episode { flex-direction: column; align-items: stretch; gap: 10px; }
  .studio-episode-actions { width: 100%; }
  .panel.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
