*{box-sizing:border-box}body{margin:0;background:#110d17;color:#f5eefc;color-scheme:dark;font:15px/1.6 system-ui}header,main,footer{max-width:1200px;margin:auto;padding:22px}header{display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap}a{color:#d4b9ff;text-decoration:none}a:hover{text-decoration:underline}.brand{font-weight:900;font-size:20px;color:white}.brand small{display:block;letter-spacing:.15em;font-size:10px;color:#c4a2f7}nav{display:flex;gap:16px;flex-wrap:wrap}.hero{border:1px solid #674b85;border-radius:24px;padding:clamp(26px,6vw,65px);background:radial-gradient(ellipse at 90% 0%,#714ba7 0,transparent 53%),linear-gradient(135deg,#332044,#1b1327);margin-bottom:24px}.hero h1{font-size:clamp(38px,7vw,76px);letter-spacing:-.05em;line-height:1.05;margin:18px 0}.hero p{max-width:700px;color:#e1d2f0}.eyebrow{font-size:11px;letter-spacing:.13em;color:#d0adff;font-weight:750}.tag{display:inline-block;background:#17101d;border:1px solid #8b72aa;border-radius:100px;padding:5px 12px}.panel,.stats>div{border:1px solid #473353;background:#1c1525;border-radius:16px;padding:20px}.panel{margin:18px 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.stats small,.muted,footer{color:#c8b9d7}.stats strong{font-size:26px;display:block;overflow-wrap:anywhere}h2{font-size:24px;margin:4px 0 12px}label{display:block;font-size:14px;color:#e3d8ec;margin:10px 0;font-weight:600}input:not([type=checkbox]):not([type=file]),select,textarea{display:block;width:100%;font:inherit;background:#15101e;color:inherit;border:1px solid #5c476e;padding:10px 12px;border-radius:9px;margin-top:4px}textarea{resize:vertical}input[type=checkbox]{accent-color:#a879ff}.two,.three{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar,.sectionTitle{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toolbar select{width:auto;min-width:130px;max-width:100%}button,.file{font:600 14px/1.4 system-ui;border:1px solid #9a73c7;background:#633e9b;color:white;border-radius:9px;padding:10px 13px;cursor:pointer}button.secondary,.file{background:#2e223d}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #e0c8ff;outline-offset:2px}.file{margin:0}.file input{display:block;width:180px;font-size:12px;margin-top:5px}.notice{min-height:24px;color:#dcbaff}.item{border:1px solid #513b60;border-radius:13px;padding:16px;margin:12px 0}.item h3{margin:0 0 6px}.item .toolbar{margin:10px 0}.sectionTitle{justify-content:space-between}.castOptions{display:flex;gap:12px;flex-wrap:wrap}.castOptions label{margin:0}.prompt{white-space:pre-wrap;overflow-wrap:anywhere;background:#110e19;padding:14px;border-radius:8px;color:#dad0e5;font:13px/1.5 system-ui}.timeline{display:flex;gap:5px;overflow:auto;padding:8px 0}.timeline button{flex-shrink:0;background:#392650;font-size:12px}.sceneLabel{color:#d1aefd;font-weight:700}.danger{color:#ffc0cb}footer{padding-bottom:35px}@media(max-width:650px){header,main,footer{padding:14px}.panel{padding:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two,.three{grid-template-columns:1fr}.hero{padding:24px}.stats strong{font-size:22px}}