:root{font-family:"LXGW WenKai","Microsoft YaHei",sans-serif;color:#20364c;background:#eaf2f8;font-weight:700}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select,.production-link{border:1px solid #b9cbd9;background:white;color:#234a6c;padding:10px 14px;border-radius:10px;cursor:pointer;text-decoration:none}button:hover,.production-link:hover{background:#dcecf7}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #337fba;outline-offset:3px}[hidden]{display:none!important}.production-page{max-width:1900px;margin:auto;padding:24px 34px}.production-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.production-top h1{margin:0;font-size:30px}.production-top nav,.production-library{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.production-library{padding:15px 0}.production-library select{max-width:620px}.production-import{border:1px dashed #7a9eb8;padding:10px;border-radius:10px;cursor:pointer}.production-import input{max-width:250px}.production-stage{background:linear-gradient(120deg,#fbfdff,#e5f0f9);border:1px solid #c4d6e6;border-radius:22px;padding:2.2%;aspect-ratio:16/9;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 16px 60px #4e759012}.production-stage header{position:relative;flex:none;padding-bottom:1.3%}.production-brand{color:#7190a8;font-size:clamp(12px,1vw,24px)}[data-time]{float:right;font-variant-numeric:tabular-nums;color:#67819a}.production-stage h1{font-size:clamp(19px,2vw,48px);margin:7px 0}.production-stage [data-subtitle]{font-size:clamp(13px,1.35vw,30px);margin:0;color:#59738b}.production-main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,2.35fr) minmax(220px,1fr);gap:3%}.production-art{display:flex;flex-direction:column;align-items:center;min-height:0}.production-art canvas{width:100%;min-height:0;object-fit:contain;flex:1;background:white;border-radius:15px;border:1px solid #cdddea}.production-art p{margin:10px;font-size:clamp(14px,1.5vw,36px);flex:none}.production-speaker{display:flex;flex-direction:column;align-items:center;min-height:0;overflow:auto}.production-avatar{width:100%;height:35%;min-height:85px;max-height:350px;display:flex;justify-content:center;align-items:center;color:#849ab9;font-size:70px}.production-avatar canvas{height:100%;width:100%;object-fit:contain}.production-speaker h2{font-size:clamp(17px,1.8vw,38px);margin:0}.production-speaker [data-model]{font-size:clamp(12px,.9vw,24px);overflow-wrap:anywhere;margin:4px 0;color:#657c96}.production-speaker [data-expression]{font-size:clamp(12px,1vw,24px);color:#aa7a22}.production-bubble{background:#fff;border:1px solid #cadceb;border-radius:20px;padding:6%;margin-top:4%;width:100%;box-shadow:0 8px 30px #38506f0a}.production-bubble small{color:#6b8ca5;font-size:clamp(11px,1vw,24px)}.production-bubble [data-text]{font-size:clamp(16px,1.65vw,38px);line-height:1.65;margin:8px 0;overflow-wrap:anywhere;white-space:pre-wrap}.production-bubble [data-reason]{font-size:clamp(13px,1.3vw,30px);line-height:1.6;color:#59748b;margin:8px 0;white-space:pre-wrap}.production-stage footer{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;padding-top:1.2%;font-size:clamp(10px,.9vw,23px)}.production-stage footer span{padding:4px 10px;border-radius:20px;color:#6b849a}.production-stage footer .active{background:#dbeaf6;color:#234a6c}.production-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 0}.production-controls label{display:flex;align-items:center;gap:10px;flex:1;min-width:180px}.production-controls input[type=range]{width:100%}.production-note,[data-notice],#productionStatus{font-size:14px;line-height:1.7;color:#627e95}.production-stage:fullscreen{border-radius:0;width:100vw;height:100vh;padding:3vw}.production-empty{background:#fff;border:1px dashed #b6cddd;border-radius:18px;padding:60px 35px;text-align:center;color:#5e7c94}.production-top a{color:#396787}@media(max-width:850px){.production-page{padding:15px}.production-top{align-items:flex-start;flex-direction:column}.production-stage{aspect-ratio:auto;min-height:670px}.production-main{grid-template-columns:1fr}.production-art{height:380px}.production-speaker{display:grid;grid-template-columns:90px 1fr;gap:5px}.production-avatar{grid-row:span 3;height:110px}.production-bubble{grid-column:1/-1;margin:0;padding:15px}.production-controls label{flex-basis:100%}.production-stage footer{display:none}}
:root .production-image-dialog{width:min(94vw,1400px);border:1px solid #bfd2e4;border-radius:16px;background:#f7fbff;color:#20364c}.production-image-dialog img{width:100%;max-height:72vh;object-fit:contain}.production-image-dialog::backdrop{background:#112d49a8}
