/* Shared Tubero chick identity. Layout and workflow hooks stay in style.css. */
#admin-link:not([hidden]){display:inline-flex;align-items:center;min-height:40px;padding:9px 13px;border-radius:9px;background:#ffe23d;color:#151515;font-size:12px;font-weight:800;white-space:nowrap}
#admin-link[hidden],#admin-entry[hidden]{display:none!important}
.admin-entry{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:24px;padding:24px 28px;border:1px solid #74621c;border-radius:16px;background:#282518;color:#f7f1d7}.admin-entry>div>span{font-size:11px;color:#ffe23d;font-weight:750}.admin-entry h2{font-size:22px;margin:4px 0 8px;letter-spacing:-.04em}.admin-entry p{font-size:13px;margin:0;color:#c9c1a7;line-height:1.8}.admin-entry>a{flex:none;display:inline-flex;align-items:center;gap:18px;min-height:48px;padding:12px 20px;background:#ffe23d;border-radius:10px;color:#151515;font-size:14px;font-weight:800}
@media(max-width:620px){.topbar:has(#admin-link:not([hidden])){height:auto;min-height:76px;flex-wrap:wrap;padding:12px 16px;gap:10px}.topbar:has(#admin-link:not([hidden])) .top-actions{width:100%;justify-content:space-between;gap:10px}#admin-link:not([hidden]){font-size:12px}.admin-entry{flex-direction:column;align-items:stretch;padding:20px;gap:16px}.admin-entry h2{font-size:20px}.admin-entry>a{justify-content:space-between}}
:root{--bg:#151515;--panel:#202020;--panel-soft:#272727;--ink:#faf9f5;--muted:#b0afa8;--line:#3b3b39;--lime:#ffe23d;--mint:#ffe23d}
body{background:#151515}.topbar{background:#151515f5;border-bottom-color:#ffffff1a}.brand-mark{background:#ffe23d;color:#151515}.brand small{color:#a8a8a1}.top-actions,.account-chip{color:#d0cec7}.local-badge{background:#292820;border-color:#56503a;color:#eee8c8}.local-badge i{background:#ffe23d;box-shadow:none}.logout-button{border-color:#565550;color:#eee}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:34px;align-items:center;min-height:610px;padding-top:72px;padding-bottom:100px;background:radial-gradient(ellipse at 90% 25%,#34301d 0,transparent 49%),#151515}.hero:before{opacity:.045;mask-image:none}.hero-copy{max-width:760px;min-width:0}.hero h1{font-size:clamp(38px,4.7vw,64px);letter-spacing:-.065em}.hero h1 em{color:#ffe23d}.hero-copy>p,.hero-copy>.hero-delivery{color:#bab9b2}.hero-copy>p strong{color:#eeeae0}.hero .eyebrow{color:#b9b4a3}.hero-cta{background:#ffe23d;color:#171717;border-radius:12px;box-shadow:none}.hero-cta:hover{background:#ffeb76}.hero-features li{background:#24231f;color:#ede7d2;border-color:#454238}.hero-art{position:relative;right:auto;top:auto;opacity:1;width:100%;height:auto;display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:none}.hero-chick{display:block;width:100%;max-width:330px;height:auto;filter:drop-shadow(0 24px 35px #0004)}.chick-studio-label{border:1px solid #62593c;border-radius:999px;padding:6px 15px;color:#e2d8af;font-size:10px;font-weight:700;letter-spacing:.18em}.chick-caption{display:flex;align-items:center;gap:8px;color:#c9c6b9;font-size:12px;letter-spacing:-.02em}.chick-caption i{display:block;width:6px;height:6px;border-radius:50%;background:#ffe23d}.hero-foot{color:#96958d;border-color:#ffffff18}
.workflow{padding-top:64px}.section-title h2,.closing h2{color:#f6f4eb}.section-title>p,.closing>p{color:#b4b2aa}.steps article{background:#20201e;border-color:#3a3934;border-radius:18px}.step-num{background:#ffe23d;color:#151515}.steps h3{color:#f6f3e8}.steps p,.steps small{color:#bcb9af}.steps p strong{color:#f1eee4}.steps small{border-color:#3e3b31}.output-overview{background:#23221e;border-color:#454033;border-radius:18px}.output-overview span{color:#ded9c8}.output-overview>p{color:#b8b3a4;border-color:#454033}
.workspace{color-scheme:light;background:#f4f3ed;color:#1b1b18;border-color:#e1dfd5;box-shadow:none;border-radius:24px}.workspace h2,.workspace h3,.workspace h4{color:#191919}.workspace .eyebrow,.panel-kicker{color:#7c7050}.panel{background:#fffefb;border-color:#dfddd3}.privacy-chip{background:#e9e5d5;color:#625a41}.privacy-chip span{color:#a08000}.dropzone{background:#faf8ed;border-color:#c9bd7b}.dropzone:hover,.dropzone.is-dragging{background:#fff9d2;border-color:#9b8300}.upload-mark{background:#ffe23d;color:#151515}.make-button,.download-result,.download-all,.auth-submit,.tts-open-button{background:#ffe23d!important;border-color:#e2c300!important;color:#151515!important;box-shadow:none}.make-button:hover:not(:disabled),.auth-submit:hover:not(:disabled){background:#ffeb73!important}.make-button .button-icon,.make-button .arrow,.download-result span{color:#151515}.secondary-button{border-color:#c9c4ad;background:#fffefb;color:#3d382a}.secondary-button:hover:not(:disabled){background:#fff8cf;border-color:#b3a139}.progress-track span{background:linear-gradient(90deg,#d5b000,#ffe23d)}.result-icon{background:#fff2a8;color:#564500}.toggle-row input:checked+.toggle{background:#c7a900}.settings-panel input[type=range],progress{accent-color:#b89a00}.footage-guide-link,.source-gap-requirement{color:#645300}.workflow-choice input{accent-color:#1a1a1a}
.voice-picker{margin:24px 0;padding:20px;border:1px solid #dcd6be;border-radius:16px;background:#f8f5e9;min-width:0}.voice-picker legend{padding:0 8px;font-weight:800;font-size:17px;color:#201f19}.voice-picker>p{margin:0 0 18px;color:#69634f;font-size:13px}.voice-groups{display:grid;grid-template-columns:1fr 1fr;gap:20px}.voice-group>strong{display:block;margin-bottom:10px;font-size:13px;color:#4e4938}.voice-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.voice-options label{position:relative;display:flex;min-width:0;cursor:pointer}.voice-options input{position:absolute;left:12px;top:13px;width:15px;height:15px;accent-color:#151515;margin:0}.voice-options label>span{display:block;width:100%;padding:37px 12px 12px;border:1px solid #d2ceb9;border-radius:12px;background:#fffefa;min-height:92px;transition:background .15s,border-color .15s}.voice-options b{display:block;font-size:14px;color:#21201b}.voice-options small{display:block;margin-top:4px;font-size:11px;color:#726b56}.voice-options input:checked+span{border-color:#ab9100;background:#ffe23d;box-shadow:0 0 0 1px #ab9100}.voice-options input:focus-visible+span{outline:3px solid #a58500;outline-offset:3px}.voice-options input:disabled+span{opacity:.65;cursor:not-allowed}.voice-picker .voice-note{margin:15px 0 0;font-size:12px;line-height:1.7;color:#736d5a}.tts-settings select{border-color:#c9c3aa;color:#252219}.tts-settings label{font-size:14px}.tts-workspace{background:#faf8f0;border-color:#d6cfb6}.tts-workspace textarea{border-color:#c9c3ae;color:#25221b}
.auth-screen{background:radial-gradient(ellipse at 20% 5%,#353020 0,transparent 50%),#151515}.auth-card{background:#22221f;border-color:#45423a;box-shadow:0 25px 90px #0004;width:min(550px,100%);border-radius:24px}.auth-brand{margin-bottom:34px}.auth-intro:after{content:"";display:block;clear:both}.auth-chick{float:right;width:102px;height:auto;margin:-2px -10px 0 12px}.auth-intro h1{font-size:32px}.auth-intro p{clear:both;padding-top:8px;color:#c2bfb3}.auth-tabs{background:#151515}.auth-tabs button.is-active{background:#ffe23d;color:#171717}.auth-tabs button{color:#bab7ac}.auth-form label{color:#f1eee3}.auth-form label span,.auth-hint,.auth-footnote{color:#b3ae9e}.auth-form input{background:#171715;border-color:#585344;color:#fbfaf5}.auth-form input:focus{border-color:#ffe23d;box-shadow:0 0 0 3px #ffe23d24}.auth-form input::placeholder{color:#918c7d}.auth-footnote{border-color:#ffffff1c}.auth-brand small{color:#b9b5a9}.help-guide details,.help-guide details:last-child{border-color:#3c3a31}.help-guide summary{color:#ece8db}.help-guide details p{color:#bdb7a8}.closing-mark{background:#ffe23d;color:#151515;border-color:#ffe23d}footer{color:#b0aaa0}
button:focus-visible,a:focus-visible{outline:3px solid #d7b800;outline-offset:4px}.voice-picker [hidden]{display:none}.topbar,.hero,.workspace,.auth-card{overflow-wrap:anywhere}
@media(max-width:1050px){.hero{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.hero h1{font-size:44px}.hero-chick{max-width:250px}.top-actions .local-badge{display:none}.voice-groups{grid-template-columns:1fr}.voice-options label>span{min-height:84px}}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding:54px 24px 90px;gap:34px}.hero-copy{max-width:none}.hero h1{font-size:clamp(32px,6vw,44px)}.hero-art{display:flex;max-width:270px;margin:0 auto}.hero-chick{max-width:220px}.hero-copy>p{font-size:14px}.hero-foot{left:24px;right:24px}.hero-features{gap:6px}.top-actions .account-chip{display:none}.brand>span:last-child{white-space:normal;line-height:1.3}.brand small{font-size:6px}.workspace{border-radius:18px}.voice-picker{padding:16px}.voice-picker legend{font-size:15px}.auth-chick{width:92px}}
@media(max-width:420px){.topbar{padding:0 14px;gap:10px}.brand{gap:7px;max-width:245px}.brand>span:last-child{font-size:12px}.brand-mark{width:28px;min-width:28px;height:28px}.logout-button{font-size:10px}.hero{padding-inline:20px}.hero-foot{left:20px;right:20px;gap:14px;font-size:8px}.hero-art{max-width:220px}.chick-caption{font-size:11px}.voice-options{gap:6px}.voice-options label>span{padding-inline:8px}.voice-options small{font-size:10px}.voice-picker{padding:12px}.auth-intro h1{font-size:26px}.auth-chick{width:77px;margin-right:-6px}.auth-card{padding:26px 20px}.auth-brand{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.voice-options label>span{transition:none}}
.manual-article-panel{margin:24px 0;padding:28px;background:#202020;border:2px solid #ffe23d;border-radius:20px;color:#fff;overflow-wrap:anywhere}
.manual-article-panel h3{font-size:clamp(24px,4vw,32px);line-height:1.4;margin:12px 0 16px;color:#ffe23d}
.manual-article-panel p,.manual-article-panel label{font-size:18px;line-height:1.7;color:#e3dfd0}
.manual-article-panel label{display:block;font-weight:800;margin:20px 0 10px}
.manual-article-row{display:flex;gap:12px;align-items:stretch}
.manual-article-row input{flex:1;min-width:0;padding:18px;background:#151515;border:1px solid #8c834e;border-radius:12px;color:#fff;font-size:18px}
.manual-article-panel button{padding:18px 22px;background:#ffe23d;color:#151515;border:0;border-radius:12px;font-size:20px;font-weight:800;cursor:pointer}
.manual-article-panel button:disabled{opacity:.55;cursor:wait}
.manual-article-panel .manual-article-help{font-size:16px;color:#bdb8a5}
#manual-article-status{color:#ffe23d;font-weight:700}
#manual-article-selected{border-top:1px solid #5d563b;padding-top:20px;margin-top:20px}
#manual-article-selected strong{display:block;font-size:22px;line-height:1.5}
#manual-article-original{display:block;margin:14px 0 20px;color:#ffe23d;font-size:18px}
#manual-article-continue{width:100%;min-height:64px}
@media(max-width:680px){.manual-article-panel{padding:20px}.manual-article-row{flex-direction:column}.manual-article-row button{width:100%}}
.workspace .ktv-source-notice{margin:22px 0;padding:28px 24px;border:3px solid #ff6370;border-radius:16px;background:#c91726;color:#fff}
.workspace .ktv-source-notice h4{margin:0;color:#fff;font-size:clamp(26px,3.6vw,36px);font-weight:900;line-height:1.5;word-break:keep-all}
.workspace .ktv-source-notice p{margin:16px 0 22px;color:#fff;font-size:18px;font-weight:600;line-height:1.7;word-break:keep-all}
.workspace .ktv-source-notice a{display:flex;align-items:center;justify-content:center;min-height:60px;padding:14px 18px;border-radius:10px;background:#fff;color:#bd1020;font-size:22px;font-weight:900;line-height:1.5;text-align:center;text-decoration:underline;text-underline-offset:5px}
.workspace .ktv-source-notice a:hover{background:#fff0b3}
.workspace .ktv-source-notice a:focus-visible{outline:3px solid #ffe23d;outline-offset:5px}
@media(max-width:480px){.workspace .ktv-source-notice{padding:22px 16px}.workspace .ktv-source-notice a{font-size:20px}}
.source-warning-dialog{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-height:85vh;padding:28px;border:2px solid #ffe23d;border-radius:22px;background:#202020;color:#fff;font-size:18px;line-height:1.7;overflow:auto}
.source-warning-dialog::backdrop{background:#000b}
.source-warning-dialog h2{font-size:clamp(24px,4vw,32px);line-height:1.4;color:#ffe23d;margin:0 0 18px}
.source-warning-dialog p{font-size:18px;color:#dfddcf;margin:16px 0}
.source-warning-dialog li{padding:16px;margin:12px 0;background:#151515;border-radius:12px;white-space:pre-line;overflow-wrap:anywhere}
.source-warning-dialog ul{padding-left:24px}
.source-warning-dialog button{width:100%;padding:18px;background:#ffe23d;color:#151515;border:0;border-radius:12px;font-size:22px;font-weight:800;cursor:pointer}
.source-warning li{white-space:pre-line;overflow-wrap:anywhere}
.upload-summary{padding:22px;margin-bottom:26px;background:#202020;color:#fff;border:1px solid #655c30;border-radius:16px;overflow-wrap:anywhere}
.upload-summary strong{font-size:clamp(20px,3vw,27px);color:#ffe23d;line-height:1.5}
.upload-summary p{font-size:17px;line-height:1.7;color:#dfddcf;margin:10px 0 16px}
#upload-track{height:14px;background:#555;border-radius:20px;overflow:hidden}
#upload-fill{display:block;height:100%;width:0;background:#ffe23d}
#progress-card[data-phase="upload"] .progress-track,#progress-card[data-phase="upload"] #progress-percent{display:none}
