.resident-portrait{aspect-ratio:6/7!important;cursor:default;touch-action:auto;object-fit:contain;flex-shrink:0}
.supporting-profile>.resident-portrait{width:145px;height:215px}@media(max-width:500px){.supporting-profile>.resident-portrait{width:95px;height:170px}}
.dub-title{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:12px 0 24px}.dub-paths{display:grid;gap:10px}.dub-paths button{min-height:54px;font-weight:bold}#saved-choice button{width:100%;margin-top:12px}.privacy{font-size:12px;line-height:1.65;color:#536658;border-top:1px solid #cbbb98;padding-top:14px;margin-top:20px}
.voice-cast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.voice-card{background:#fff7e7;border:1px solid #cbbb98;border-radius:12px;padding:16px}.voice-card.active{border:2px solid #275652;padding:15px}.voice-card h3{font-size:23px;margin:0 0 5px}.voice-card .profile{gap:10px}.voice-card .resident-portrait{width:90px;height:115px}.voice-card blockquote{font-size:15px;line-height:1.55;margin:12px 0;min-height:70px}.voice-card .dialog-buttons{margin-top:12px;align-items:center}.voice-card small{color:#6d7466}.voice-card button{font-size:13px}
.dub-footer{position:sticky;bottom:-30px;background:#f5ecd9f5;backdrop-filter:blur(8px);border-top:1px solid #cbbb98;padding:14px 0;display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;z-index:3}.dub-footer .primary{flex:1;font-weight:bold}
.record-header{display:flex;align-items:center;gap:20px}.record-header .resident-portrait{width:128px;height:145px}.record-header>div{flex:1}.record-header p{margin:8px 0}.record-header progress{width:100%;accent-color:#275652}.take-steps{display:flex;gap:7px;margin:10px 0 22px}.take-steps button{flex:1;padding:8px;min-width:38px}.take-steps [aria-current=step]{background:#275652;color:#fff7e7}.record-line{font-size:25px;line-height:1.65;border-right:4px solid #bf884d;background:#fff8e8;padding:20px;border-radius:8px}.performance-tip{font-size:14px;color:#6f5739;line-height:1.6}.enhancement{display:flex;align-items:center;gap:9px;font-size:14px}.enhancement input{width:22px;height:22px;accent-color:#275652}.input-meter{display:flex;align-items:center;gap:15px;margin-top:16px;font-size:13px}.input-meter meter{flex:1;height:18px}.record-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.record-actions button{font-size:14px}.record-status{min-height:3.2em;background:#e9e6d2;padding:12px;border-radius:7px;font-size:14px;line-height:1.6}.optional-talk summary{cursor:pointer;font-size:13px;padding:12px 0;color:#6b6c58}.optional-talk button{margin:3px;font-size:13px}
@media(max-width:520px){.voice-cast{grid-template-columns:1fr}.voice-card blockquote{min-height:0}.voice-card .profile .resident-portrait{width:74px;height:90px}.dub-title{font-size:28px}.dub-footer{bottom:-22px}.record-header{gap:10px}.record-header .resident-portrait{width:100px;height:115px}.record-line{font-size:21px;padding:14px}.record-actions{grid-template-columns:repeat(2,1fr)}.take-steps{gap:4px}.take-steps button{min-width:0}.record-header p{font-size:13px}}
#microphone-input{margin:12px 0;padding:12px;border:1px solid #bcb8a0;border-radius:7px}#microphone-choice{max-width:100%;width:100%;margin-top:6px;padding:8px;background:#fff8e8;color:#273b35;border:1px solid #8f9687;border-radius:5px;font:inherit}#microphone-selected{overflow-wrap:anywhere;margin-bottom:0}.microphone-diagnostics{margin:12px 0;font-size:12px}.microphone-diagnostics summary{cursor:pointer;padding:8px 0}.microphone-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff8e8;padding:10px;border-radius:6px;text-align:left;line-height:1.5;font-size:11px}
.record-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0}.record-sections>div>span{font-size:12px;color:#686851}.record-sections .take-steps{margin:5px 0}.record-sections .take-steps button{font-size:12px;padding:6px}.role-coverage{font-size:13px;line-height:1.7}.voice-card>button{width:100%}.dub-footer{flex-wrap:wrap}.dub-footer button{flex:1;min-width:140px}
