:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#f5f3ff;background:#080a12;font-synthesis:none;--purple:#a785ff;--muted:#a1a0b8;--card:#141522;--border:#343247}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #bb9bff;outline-offset:2px}.shell{max-width:630px;margin:auto;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 16px calc(100px + env(safe-area-inset-bottom))}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:.21em;font-weight:850;color:var(--purple)}h1{font-size:28px;line-height:1.07;margin:7px 0 0;letter-spacing:.035em}h2{font-size:21px;margin:0 0 8px}p{line-height:1.5}.sub{color:var(--muted);font-size:13px}.ghost,.btn,.tab{border:1px solid #564671;background:#221b36;color:#fff;border-radius:12px;padding:12px 15px;font-weight:750}.ghost{background:#171725;border-color:var(--border)}.btn.primary{background:#7042e1;border-color:#8967e6}.btn{min-height:51px}.bigbtn{min-height:64px;font-size:17px}.full{width:100%}.row{display:flex;align-items:center;gap:9px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:grid;gap:12px}.panel{border:1px solid var(--border);background:var(--card);border-radius:15px;padding:16px}.tiny{font-size:11px;color:var(--muted)}.label{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--purple)}.list-item{width:100%;background:#151625;border:1px solid #3c3552;border-radius:13px;text-align:left;color:inherit;padding:17px;display:flex;gap:12px;align-items:center}.list-item strong{display:block;font-size:16px;margin-bottom:5px}.pill{font-size:10px;letter-spacing:.06em;padding:6px 9px;border-radius:99px;border:1px solid #5d467f;background:#302545;color:#d7c4ff;font-weight:800;white-space:nowrap}.count{font-size:38px;line-height:1;font-weight:900}.progress{height:7px;border-radius:5px;background:#373344;overflow:hidden;margin-top:8px}.progress>span{display:block;height:100%;background:var(--purple)}.bottom{position:fixed;bottom:0;left:0;right:0;border-top:1px solid #393148;background:#0b0b16f5;backdrop-filter:blur(15px);padding:9px 10px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:6px}.bottom button{width:31%;max-width:190px;border:none;background:transparent;color:#9691ac;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:11px;font-weight:700;padding:9px}.bottom button.active{color:#c2a4ff;background:#29213d;border-radius:10px}.bottom b{font-size:19px}input,select,textarea{width:100%;background:#0e1020;border:1px solid #514666;color:#fff;border-radius:10px;padding:13px;outline:none}textarea{resize:vertical;min-height:125px;line-height:1.5}label.field{display:grid;gap:7px;font-size:12px;color:#bcb4cf;font-weight:700}.cue-card{background:#181622;border:1px solid #4b3d66;border-radius:17px;padding:22px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:42dvh;text-align:center;gap:20px}.cue-text{font-size:clamp(30px,9vw,48px);line-height:1.15;font-weight:900;letter-spacing:.012em;overflow-wrap:anywhere;white-space:pre-wrap}.cue-hint{color:#b8b1c9;font-size:13px;text-align:center}.cue-controls{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:12px}.cue-controls .btn{min-height:70px}.script{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.72;font-size:16px}.checkline{display:flex;align-items:center;gap:12px;padding:12px 0;font-size:14px}.checkline input{width:22px;height:22px;accent-color:#9564f9}.scene-form{padding:14px;background:#161524;border:1px solid #48405f;border-radius:12px;display:grid;gap:10px}.scene-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.muted{color:var(--muted)}.error{color:#ffb8c8}.success{color:#9ef3c5}.center{max-width:500px;margin:25vh auto;text-align:center;color:#af95e0}.view-head{margin-bottom:17px}.hidden{display:none!important}@media(max-width:360px){h1{font-size:24px}.cue-text{font-size:28px}.shell{padding-left:12px;padding-right:12px}}
