@font-face{font-family:Marines;font-display:swap;src:url('/voice-brand/assets/marines-regular.woff2')}@font-face{font-family:Marines;font-display:swap;src:url('/voice-brand/assets/marines-bold.woff2');font-weight:700}
:root{color-scheme:dark;--accent:#d2ad68;--bg-soft:#24201d;--ink:#f0e9d8;--muted:#b3a592}*{box-sizing:border-box}body{max-width:1440px;margin:0 auto;padding:0 40px 44px;color:var(--ink);font-family:Marines,system-ui,sans-serif;background:#631719 url('/voice-brand/assets/poster-field.svg') center top/cover fixed;line-height:1.5}body:before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#250b0c00,#170f0edb 85%);pointer-events:none}.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 25px;border-bottom:1px solid #d2ad6855}.brand{display:flex;gap:25px;align-items:center;text-decoration:none;color:inherit}.brand img{width:174px;height:73px;object-fit:contain}.brand h1{font-size:21px;margin:0;padding-left:25px;border-left:1px solid #d2ad6877;letter-spacing:-.6px}.board-link{color:#e4cca0;font-size:13px;text-decoration:none;border:1px solid #d2ad6855;padding:9px 14px;border-radius:4px}.cast-section{padding:22px 0 26px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading h2{font-size:15px;letter-spacing:.03em;margin:0}.section-heading p{margin:0;font-size:12px}.cast-list{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:12px}.cast-person{position:relative;min-width:0;padding:0;overflow:hidden;text-align:left;border:1px solid #b58d4e50;background:#221715;border-radius:4px;transition:border-color .15s,transform .15s}.cast-person:hover{transform:translateY(-3px);border-color:#e1c081}.cast-person[aria-pressed=true]{border-color:#efd294;box-shadow:0 0 0 2px #e1be7580}.cast-person img{display:block;width:100%;aspect-ratio:1/1.12;object-fit:cover;object-position:center 24%;background:#342725}.cast-person .cast-name{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;font-weight:700;font-size:15px;background:linear-gradient(100deg,#4b1716,#201413)}.cast-person[aria-pressed=true] .cast-name{background:#971f23}.cast-person .cast-cap{font-size:9px;font-weight:400;color:#d6bd91}.cast-person[aria-pressed=true]:after{content:'✓';position:absolute;right:7px;top:7px;border-radius:50%;background:#e4c184;color:#261d14;width:22px;height:22px;display:grid;place-items:center;font-size:13px}#speaker{max-width:240px;margin-bottom:10px}#speaker.faces-ready{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;border:0}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}.editor{min-width:0;background:#181615;border:1px solid #ac875246;border-radius:6px;overflow:hidden;box-shadow:0 15px 35px #14050550}.tabs{border-radius:0;padding:0;margin:0;border-bottom:1px solid #aa854449;background:#100f0e;gap:0}.tab{display:grid;grid-template-columns:28px 1fr;column-gap:10px;align-items:center;text-align:left;padding:18px 22px;border-radius:0;color:#af9d8b;transform:none!important}.tab .icon{grid-row:span 2;font-size:23px;margin:0;color:#c4a36e}.tab .label{font-size:15px}.tab .sub{font-size:10px;margin-top:3px}.tab.active{color:#f2e6ce;background:#63201f;box-shadow:inset 0 -3px #d4b274}.tab:hover{background:#42201c}.tab.active .icon{color:#ebc782}fieldset{min-width:0;border:0;border-radius:0;margin:0;padding:22px}legend{float:left;width:100%;padding:0 0 16px;font-size:18px;color:#ead1a2}legend+*{clear:both}label{font-size:13px;color:#dacdb9}.hint,.filelist,.progress-text{color:var(--muted);font-size:11px;line-height:1.65}.hint.ok{color:#ddc38e}.err{color:#ffaba3}textarea,select,input[type=text],input[type=file]{background:#0f0e0d;border:1px solid #8b715448;border-radius:4px;font-size:13px;color:#eee3d1}textarea:focus,select:focus,input:focus{outline:2px solid #be965b;outline-offset:2px}#tts-text{min-height:158px;background:#ece3ce url('/voice-brand/assets/card-stock.png') center/cover;color:#29241e;border:0;font-size:16px;line-height:1.85;padding:18px}#tts-text::placeholder{color:#847761}button{font-family:inherit;border-radius:4px;font-size:13px;color:#21170d;background:#d4b175}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #f2d795;outline-offset:3px}.engine-tab{font-size:11px!important;padding:7px 10px!important;border-radius:3px!important}.engine-tab.active{color:#eed5a5!important;border-color:#c39a5e!important;background:#6a45242b!important}.emotion-preset{font-size:11px!important;border-radius:3px!important;padding:6px 10px!important}.emotion-preset[aria-pressed=true]{background:#825024!important;border-color:#c8a369!important}#tts-cosy-block,#tts-gsv-block{padding:14px!important;background:#211d18!important;border-color:#a0804838!important;border-radius:4px!important}#tts-cosy-block>div:first-child,#tts-gsv-block>div:first-child{color:#d7c19c!important;font-size:12px!important}#tts-instruction{font-size:12px;min-height:65px!important}input[type=range]{accent-color:#c3a067}summary{color:#d5bd94;font-size:13px;cursor:pointer}#tts-go,#vc-go{min-height:44px;padding:10px 24px;background:#a32b2a;color:#fff0d5;border:1px solid #c25443;font-size:14px}audio{height:38px;margin-top:14px}audio:not([src]){display:none}#panel-history{background:#e9dfc8;color:#352c24;border-radius:5px;border-top:4px solid #b99559;padding:19px;box-shadow:0 12px 28px #160c0c40}#panel-history legend{color:#4c3525}#panel-history .row{gap:7px!important}#history-search{min-width:0!important;flex-basis:100%!important;background:#f5eddc!important;border-color:#7c62433d!important;font-size:12px!important;color:#392f23!important}#history-filter{width:auto;flex:1;min-width:0;color:#463825;background:#e0d3b8;border-color:#947c5055;font-size:11px}#history-refresh{background:#40342b;color:#eddfc5;font-size:11px;padding:9px 13px}#history-status,#history-page-label{color:#7d6b54!important;font-size:11px}.history-item{background:#f8f1e2;border:1px solid #98794440;border-radius:3px;padding:13px;margin-bottom:10px}.history-item .h-meta{font-size:10px;color:#847256;gap:6px}.history-item .h-kind{font-size:9px;border-radius:2px}.h-kind.tts{background:#8e2927}.h-kind.vc{background:#5b4a35}.history-item .h-preview{font-size:12px;overflow-wrap:anywhere;line-height:1.7}.history-item .h-actions a{color:#873127;font-size:11px}.history-item .h-fav{color:#8d7248;border-color:#b39a68}.history-item.is-fav{background:#f3e6c8;border-color:#af8848}.history-item audio{height:32px}.history-empty{color:#827058}#history-prev,#history-next{font-size:11px;padding:8px 12px;background:#d4c19a}#history-list{max-height:640px;overflow:auto;scrollbar-width:thin;scrollbar-color:#bda782 transparent}#vc-file{padding:26px 14px;border:1px dashed #a4834d;background:#201a15}#vc-file::file-selector-button{font:inherit;background:#d1b176;color:#2a2115;border:0;border-radius:3px;padding:8px 11px;margin-right:12px}.grid2{gap:12px}.status{font-size:11px;overflow-wrap:anywhere}.row>*{min-width:0}#tts-seed{flex:1;width:100px}#tts-seed-rand{background:#56462e!important}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}
@media(min-width:1500px){body{padding-top:15px}.cast-person img{aspect-ratio:1/1.05}}
@media(max-width:1050px){body{padding:0 24px 30px}.cast-list{gap:8px}.cast-person .cast-name{font-size:13px;padding:8px 7px}.cast-cap{display:none}.workspace{gap:16px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.tab{padding:16px 13px;column-gap:4px}.tab .sub{font-size:9px}}
@media(max-width:760px){body{padding:0 16px 26px}.masthead{padding:17px 0;gap:10px}.brand{gap:12px}.brand img{width:114px;height:48px}.brand h1{font-size:16px;padding-left:12px}.board-link{font-size:10px;padding:7px 9px}.cast-list{grid-template-columns:repeat(9,94px);overflow-x:auto;padding:3px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b68a4e #591818}.cast-person{scroll-snap-align:start}.cast-person img{aspect-ratio:1/1.06}.cast-section{padding:17px 0 12px}.section-heading h2{font-size:13px}.section-heading p{font-size:10px}.workspace{grid-template-columns:1fr}.tab{padding:14px 17px}.tab .label{font-size:13px}.tab .sub{font-size:9px}.tab .icon{font-size:20px}fieldset{padding:18px}#history-list{max-height:none}#panel-history{padding:18px}legend{font-size:16px}.grid2{gap:10px}#tts-text{min-height:150px}}
@media(max-width:380px){body{padding:0 11px 22px}.brand img{width:93px}.brand h1{font-size:14px}.brand{gap:9px}.brand h1{padding-left:9px}.board-link{font-size:9px;padding:6px}.tab{padding:13px 10px}.grid2{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.cast-person[data-voice=hyunsoo] img{object-fit:cover;object-position:center 5%}.cast-person[data-voice=suntae] img{object-position:50% 15%}.cast-person[data-voice=juseong] img{object-position:50% 10%}

body{font-family:system-ui,-apple-system,sans-serif}.brand h1,.section-heading h2,legend,.cast-name,.tab .label{font-family:Marines,system-ui,sans-serif}.cast-name{color:#f3e6cf}.cast-photo{display:block;aspect-ratio:1/1.12;overflow:hidden}.cast-photo img{height:100%;aspect-ratio:auto}.cast-person[data-voice=hyunsoo] img{transform:scale(1.85);transform-origin:50% 16%}.cast-person[data-voice=suntae] img{transform:scale(1.35);transform-origin:50% 14%}.cast-person[data-voice=juseong] img{transform:scale(1.5);transform-origin:50% 16%}.cast-cap{white-space:nowrap}.cast-person .cast-name{font-size:13px}.cast-person .cast-cap{font-size:8px}@media(max-width:760px){.cast-photo{aspect-ratio:1/1.06}.cast-person .cast-name{font-size:13px}}

.tab .icon svg{display:block;width:23px;height:23px}.tab .label{white-space:nowrap}@media(max-width:380px){.tab{grid-template-columns:20px 1fr;column-gap:6px}.tab .label{font-size:12px}.tab .sub{font-size:8px}.tab .icon svg{width:19px;height:19px}}

.cast-person .cast-photo img{object-fit:cover;object-position:center top;transform:none}.cast-person .cast-photo{aspect-ratio:4/5}

/* Shared mdai material and broadcast-caption language. */
body {
  --accent:#cca360; --ink:#f0ece2; --muted:#aaa69b;
  max-width:1776px;padding:20px clamp(16px,2.5vw,48px) 64px;
  color:var(--ink);
  background:url('/voice-brand/assets/poster-field.svg') center top/100% 1100px no-repeat,
    linear-gradient(#160b10b0,#100b0eee),url('/voice-brand/assets/broadcast-black.webp') center top/1440px auto;
}
body::before{display:none}
.masthead{padding:0 0 14px;margin-bottom:14px;border-color:#977446;min-height:72px}
.brand{gap:22px}.brand>img:first-child{width:144px;height:auto}
.brand-lockup{border-left:1px solid #977446;padding-left:20px;display:grid;gap:7px}
.brand-lockup>span{font:11px/1 Georgia,serif;letter-spacing:.18em;color:#c4bdb7}
.brand .brand-lockup h1{border:0;padding:0;font:400 16px/1.3 Marines,sans-serif;letter-spacing:0}
.brand .brand-dice{width:70px;height:52px;object-fit:contain;transform:rotate(-7deg)}
.board-link{min-height:38px;display:flex;align-items:center;border-radius:0;border-color:#61533c;background:#171716e8;color:#f0ece2;font-size:12px;font-weight:600}
.board-link:hover{border-color:#cca360;background:#242421}
.cast-section{border:1px solid #514b3e;border-top:2px solid #b18d53;padding:12px 14px 14px;margin-bottom:14px;background:#141413f5}
.section-heading{margin-bottom:12px}.section-heading h2{font:700 15px Marines,sans-serif;background:linear-gradient(transparent 60%,#931728 60%,#931728 95%,transparent 95%)}
.section-heading p{font-size:10px;color:#aaa69b}.section-heading p.ok{color:#c4b69b}
.cast-list{gap:12px}.cast-person{border-radius:0;border:1px solid #51493b;box-shadow:none;background:#0b0a0b;overflow:visible}
.cast-photo{overflow:hidden}.cast-person img{transition:transform .24s ease}
.cast-person .cast-name{position:relative;justify-content:center;padding:8px 3px 9px;background:#1b1718;color:#e8dfd2;border-top:1px solid #51493b;font-size:13px;gap:5px}
.cast-person .cast-cap{display:none}
.cast-person[aria-pressed=true]{border-color:#e0b86e;box-shadow:0 0 0 1px #e0b86e}
.cast-person[aria-pressed=true] .cast-name{background:linear-gradient(110deg,#dfc491,#b89053);color:#1d1912;border-top-color:#e6ca91;box-shadow:inset 0 -2px #f1d7a5}
.cast-person[aria-pressed=true]::after{width:21px;height:21px;right:6px;top:6px;background:#d6b879;color:#211910;box-shadow:0 0 0 2px #23170e99;font-size:12px}
.cast-person:hover{transform:none;border-color:#c8a265}.cast-person:not([aria-pressed=true]):hover .cast-name{background:#631526;color:#f4e9d9}
.workspace{gap:16px;grid-template-columns:minmax(0,1.36fr) minmax(320px,1fr)}
.editor{border:1px solid #78603c;border-top:2px solid #c5a16a;border-radius:0;box-shadow:0 8px 24px #0005;background:#0c0b0d}
.tabs{background:#171716;border-color:#61543d;padding:9px 12px;gap:0}
.tab{padding:9px 16px;border-right:1px solid #494335;grid-template-columns:24px 1fr;column-gap:10px;color:#c9c4b8;min-height:54px}
.tab:last-child{border-right:0}.tab .label{font-size:15px}.tab .sub{font-size:10px;opacity:.75}
.tab.active{background:linear-gradient(110deg,#dfc491,#b89053);color:#1d1912;box-shadow:inset 0 -2px #f1d7a5}
.tab.active .icon{color:#322617}.tab:not(.active):hover{background:#2c2923}.tab:disabled{opacity:.4}
fieldset{padding:0 22px 22px}
.work-title{float:none;width:calc(100% + 44px);margin:0 -22px 20px;padding:24px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:77px;background:url('/voice-brand/assets/caption-crest.svg') center -13px/400px 40px no-repeat,linear-gradient(100deg,#781326aa,#290e18e8),url('/voice-brand/assets/broadcast-red.webp') center/cover;border-bottom:1px solid #b79152;color:#f5f1e9;font:700 24px/1.25 Marines,sans-serif}
.selected-speaker{font:400 12px/1.3 Marines,sans-serif;min-width:85px;padding:9px 17px;text-align:center;color:#eee3d5;background:url('/voice-brand/assets/subtitle-nameplate.svg') center/100% 100% no-repeat}
#tts-engine-block>label{font-size:11px;font-weight:500!important;color:#aaa69b}
#tts-engine-tabs .engine-tab{border-radius:0!important;font-size:11px!important;color:#bbb5a7!important}
#tts-engine-tabs .engine-tab.active{border-color:#ba9559!important;color:#f0d2a0!important;background:#2c271e!important}
#tts-engine-hint{font-size:10px;margin-bottom:15px;color:#979388}
.script-paper{position:relative;padding:15px 19px 9px;background:#ece9df url('/voice-brand/assets/card-stock.png') center/cover;color:#282c29;border:1px solid #b6a585;box-shadow:inset 0 0 0 3px #ede9de,inset 0 0 0 4px #8d9b90,inset 0 0 0 6px #ede9de,inset 0 0 0 7px #b58278}
.script-paper>label{margin:0 0 8px;padding:5px 0 10px;border-bottom:1px solid #869993;text-align:center;font:700 21px/1.3 Marines,sans-serif;color:#282c29}
.script-paper>label::before,.script-paper>label::after{content:'·';color:#8e343a;padding:0 10px}
#tts-text{min-height:145px;padding:7px 2px;background:transparent;color:#282c29;border:0;box-shadow:none;font:14px/1.9 system-ui,sans-serif;border-radius:0}
#tts-text:focus{outline:0;background:#ffffff25}#tts-text::placeholder{color:#858375}
.script-paper:focus-within{outline:2px solid #caa464;outline-offset:2px}
.paper-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #9c947366;padding:5px 0 0;color:#73705a;font:10px/1.5 system-ui,sans-serif}.paper-foot>span:last-child{font-size:19px;color:#803039}
#tts-cosy-block,#tts-gsv-block{border-radius:0!important;border-color:#66583b!important;background:linear-gradient(#191918ef,#191918ef),url('/voice-brand/assets/broadcast-black.webp') center/700px!important;padding:14px!important}
#tts-cosy-block>div:first-child,#tts-gsv-block>div:first-child{font:400 15px Marines,sans-serif!important;border-left:3px solid #9e2338;padding-left:9px;color:#f0e9d7!important;margin-bottom:12px!important}
.emotion-preset{border-radius:0!important;border-color:#51493b!important;color:#c9c2b3!important}
.emotion-preset:hover{background:#3c3121!important}.emotion-preset[aria-pressed=true]{background:#d0ad71!important;color:#211a11!important}
#tts-instruction{background:#101110;border-color:#514b40;border-radius:0}#tts-go,#vc-go{background:#a31b2c;border-color:#d65a66;border-radius:0;min-width:145px;box-shadow:inset 0 0 0 3px #a31b2c,inset 0 0 0 4px #d65a6655}
#tts-go:hover,#vc-go:hover{background:#bd253b}#tts-go::after,#vc-go::after{content:' →';margin-left:12px}
#vc-file{border-color:#a38a58;border-radius:0;background:linear-gradient(#161c1eea,#161c1eea),url('/voice-brand/assets/broadcast-black.webp') center/cover}
#panel-history{padding:0 17px 18px;border:1px solid #78603c;border-top:2px solid #c5a16a;border-radius:0;background:linear-gradient(#171716f2,#171716f2),url('/voice-brand/assets/broadcast-black.webp') center/700px;color:#f0ece2;box-shadow:0 8px 24px #0005}
.history-heading{float:none;width:calc(100% + 34px);margin:0 -17px 16px;padding:18px 17px;display:flex;align-items:center;justify-content:space-between;color:#e2c48f!important;border-bottom:1px solid #82704b;background:linear-gradient(90deg,#171914f0,#17191480),url('/voice-brand/assets/card-back.png') right 42%/90px auto no-repeat;font:400 18px Marines,sans-serif}
.history-heading svg{width:22px;height:22px;color:#c9b281}.history-heading>span{border-left:3px solid #a32539;padding-left:10px}
#history-search{background:#101110!important;border:1px solid #514b40!important;border-radius:0!important;color:#ede5d7!important;min-height:38px}#history-search::placeholder{color:#aaa69b}
#history-filter{background:#23221b;color:#dbcfae;border-color:#65563e;border-radius:0;height:35px}#history-refresh{border:1px solid #65563e;background:#22211c;color:#d6cdbb;border-radius:0;min-height:35px}
#history-status,#history-page-label{color:#aaa69b!important}.history-item{position:relative;background:#10100f;border:1px solid #514a3d;border-left:2px solid #876942;color:#e4ddcf;border-radius:0;padding:12px 13px;margin-bottom:10px}
.history-item .h-meta{color:#a49a87;font-size:10px;gap:7px}.history-item .h-meta strong{font-weight:600;color:#ddc18e}.history-item .h-kind{font-size:9px;border-radius:0;padding:2px 6px;border:1px solid #73474d;background:#38181f;color:#ddafb3}.history-item .h-kind.vc{background:#1b2727;color:#a2bbb5;border-color:#3c5753}
.history-item .h-preview{color:#e2daca;font-size:12px;margin:9px 0;line-height:1.6}.history-item audio{color-scheme:dark}
.history-item .h-actions{border-top:1px solid #3b352b;padding-top:9px;font-size:9px;color:#998e7a;gap:9px;flex-wrap:wrap}.history-item .h-actions a{color:#dfb978;font-size:11px}.history-item .h-fav{color:#a89670;border-color:#61543b;min-width:28px;min-height:28px}.history-item.is-fav{border-color:#b18d53;background:#252015}.history-item.is-fav .h-fav{color:#e2bf7c;border-color:#b18d53}
#history-list{scrollbar-color:#736043 #11110f;max-height:720px}#history-prev,#history-next{border:1px solid #65563e;border-radius:0;background:#22211c;color:#d6cdbb}.history-empty{color:#aaa69b}
@media(max-width:1050px){.cast-list{gap:8px}.workspace{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}.cast-person .cast-name{font-size:12px}.work-title{font-size:22px}}
@media(max-width:760px){
 body{padding:14px 12px 40px;background-size:1000px 900px,auto,900px auto}
 .masthead{min-height:57px;padding-bottom:12px;gap:10px}.brand{gap:10px}.brand>img:first-child{width:106px}.brand-lockup{padding-left:10px;gap:5px}.brand-lockup>span{font-size:9px}.brand .brand-lockup h1{font-size:14px;white-space:nowrap}.brand .brand-dice{display:none}.board-link{font-size:10px;padding:7px 8px;min-height:34px}
 .cast-section{padding:10px 10px 5px}.section-heading{align-items:center;margin-bottom:8px}.section-heading h2{font-size:13px;white-space:nowrap}.section-heading p{font-size:9px;text-align:right}.cast-list{grid-template-columns:repeat(9,94px);padding:2px 2px 10px;scrollbar-color:#b68a4e #26211b}.cast-person .cast-name{font-size:13px}
 .workspace{grid-template-columns:1fr;gap:14px}.tabs{padding:7px}.tab{padding:9px 10px;column-gap:7px;min-height:49px}.tab .label{font-size:13px}.tab .sub{font-size:9px}.tab .icon svg{width:20px;height:20px}
 fieldset{padding:0 16px 18px}.work-title{width:calc(100% + 32px);margin:0 -16px 16px;padding:21px 16px 14px;min-height:68px;font-size:22px;background-size:290px 29px,auto,cover}.selected-speaker{min-width:78px;font-size:11px;padding:9px 13px}.script-paper{padding:14px 16px 9px}.script-paper>label{font-size:19px}#tts-text{font-size:14px}
 #panel-history{padding:0 15px 16px}.history-heading{width:calc(100% + 30px);margin:0 -15px 14px;padding:16px 15px}#history-list{max-height:none}
}
@media(max-width:380px){.brand>img:first-child{width:89px}.brand .brand-lockup h1{font-size:12px}.board-link{font-size:9px;padding:6px}.tab{grid-template-columns:19px 1fr;padding:8px 7px;gap:5px}.tab .label{font-size:12px}.tab .sub{font-size:8px}.section-heading p{max-width:155px}}
