.creative-studio{--accent:#b75a3f;background:#f5efe6;border:1px solid #e3d8c8;border-radius:1.5rem;box-shadow:0 20px 60px #38271612}.creative-studio[data-creative-theme=pop]{--accent:#ad3d7d;background:#f6eaf0}.creative-studio[data-creative-theme=soft]{--accent:#83654b;background:#f4efe5}.creative-studio[data-creative-theme=quest]{--accent:#895132;background:#f5eee2}.creative-studio[data-creative-theme=noir],.creative-studio[data-creative-theme=case]{--accent:#237d78;background:#eaf0ee}.creative-studio-top{color:#746a61;letter-spacing:.1em;border-bottom:1px solid #dfd4c5;justify-content:space-between;gap:1rem;padding:1rem 1.3rem;font-size:.7rem;font-weight:800;display:flex}.creative-studio-top a{color:#6e4532;letter-spacing:0}.creative-studio-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:1.1rem;padding:1.1rem;display:grid}.creative-controls,.creative-output{background:#fffdf9;border:1px solid #e2d8cd;border-radius:1rem;min-width:0;padding:1.35rem}.creative-kicker,.creative-output-head span{color:var(--accent);letter-spacing:.17em;font-size:.68rem;font-weight:900}.creative-controls h2{letter-spacing:-.04em;color:#302823;margin:.4rem 0;font:clamp(2rem,3vw,2.7rem)/1.1 Georgia,serif}.creative-lead{color:#6a605a;margin-bottom:1.2rem;font-size:.82rem;line-height:1.5}.creative-fields{gap:.85rem;display:grid}.creative-field{color:#483a34;gap:.35rem;font-size:.76rem;font-weight:800;display:grid}.creative-field input:not([type=file]),.creative-field textarea{color:#2e2722;background:#fff;border:1px solid #d9cbbd;border-radius:.55rem;width:100%;padding:.7rem;font:500 .86rem/1.4 Georgia,serif}.creative-field textarea{resize:vertical;min-height:6rem}.creative-field small{color:#776d66;font-size:.7rem;font-weight:500}.creative-templates{border:0;margin:1.2rem 0 0;padding:0}.creative-templates legend{color:#483a34;margin-bottom:.45rem;font-size:.76rem;font-weight:800}.creative-templates>div{flex-wrap:wrap;gap:.4rem;display:flex}.creative-templates label{cursor:pointer}.creative-templates input{opacity:0;position:absolute}.creative-templates span{color:#5f5148;border:1px solid #d9cbbd;border-radius:99px;padding:.45rem .75rem;font-size:.72rem;font-weight:800;display:block}.creative-templates input:checked+span{border-color:var(--accent);color:#603c2e;background:#fff0e4}.creative-templates input:focus-visible+span,.creative-field :focus-visible{outline-offset:2px;outline:3px solid #e8ad8d}.creative-photo-input{background:#fff8ef;border:1px dashed #cda98f;border-radius:.7rem;margin-top:1.2rem;padding:.8rem}.creative-photo-input input{max-width:100%;font-size:.72rem}.creative-photo-list{gap:.35rem;margin-top:.55rem;display:grid}.creative-photo-row{border:1px solid #e7dcd1;border-radius:.5rem;align-items:center;gap:.25rem;padding:.35rem;display:flex}.creative-photo-row span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.7rem;overflow:hidden}.creative-photo-row button,.creative-play button{cursor:pointer;color:#54483e;background:#fff;border:1px solid #d3c4b6;border-radius:.4rem;padding:.3rem .45rem;font-size:.72rem;font-weight:800}.creative-photo-row button:disabled,.creative-play button:disabled{cursor:not-allowed;opacity:.4}.creative-output{color:#fff;background:#282d32;border-color:#282d32;align-self:start;position:sticky;top:1rem}.creative-output-head{justify-content:space-between;gap:1rem;display:flex}.creative-output-head h2{margin:.3rem 0 0;font:1.4rem Georgia,serif}.creative-output-head strong{color:#d6d0c8;font-size:.76rem}.creative-canvas-wrap{background:radial-gradient(circle,#4c5156,#202428);border-radius:.7rem;place-items:center;height:min(62vh,700px);min-height:300px;margin:1rem 0;padding:.7rem;display:grid;overflow:hidden}.creative-canvas-wrap canvas{width:auto;max-width:100%;height:auto;max-height:100%;display:block;box-shadow:0 15px 38px #0007}.creative-pager{justify-content:space-between;align-items:center;gap:.4rem;display:flex}.creative-pager button{cursor:pointer;color:#fff;background:0 0;border:1px solid #818b8b;border-radius:.5rem;padding:.5rem .65rem;font-size:.72rem;font-weight:800}.creative-pager button:disabled{cursor:not-allowed;opacity:.35}.creative-pager span{color:#d8d5d1;font-size:.7rem}.creative-output [role=status]{color:#c4d5d1;min-height:1.1rem;margin:.65rem 0;font-size:.7rem}.creative-exports{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.creative-exports button{cursor:pointer;color:#2f2822;background:#e9bd86;border:0;border-radius:.55rem;min-height:2.8rem;padding:.55rem;font-size:.72rem;font-weight:900}.creative-exports button:first-child{background:#fff}.creative-exports button:disabled{cursor:wait;opacity:.6}.creative-export-note{color:#b8c1bf;margin-top:.55rem;font-size:.67rem;line-height:1.5}.creative-play{background:#f7f0e6;border:1px solid #d9cbbd;border-radius:.8rem;margin-top:1.2rem;padding:1rem}.creative-play h3{color:#372e29;font:1.3rem Georgia,serif}.creative-play p,.creative-play li{color:#5d5249;margin:.4rem 0;font-size:.75rem;line-height:1.5}.creative-play ol{padding-left:1rem}.creative-play-card{border-left:4px solid var(--accent);background:#fffdfa;gap:.6rem;margin:.7rem 0;padding:.9rem;display:grid}.creative-play-card span{color:var(--accent);letter-spacing:.1em;font-size:.65rem;font-weight:900}.creative-play-card strong{font:.95rem/1.5 Georgia,serif}.creative-play select{border:1px solid #d3c4b6;border-radius:.5rem;width:100%;margin:.4rem 0;padding:.5rem;display:block}.creative-photo-input.is-dragging{border-color:var(--accent);background:#ffe9d8}.creative-canvas-wrap{position:relative}.creative-canvas-wrap canvas{object-fit:contain;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}@media (width<=900px){.creative-studio-grid{grid-template-columns:1fr}.creative-output{grid-row:1;position:static}.creative-canvas-wrap{height:min(55vh,560px)}}@media (width<=560px){.creative-studio-top{padding:.8rem}.creative-studio-top span{display:none}.creative-studio-grid{gap:.7rem;padding:.7rem}.creative-controls,.creative-output{padding:.9rem}.creative-canvas-wrap{height:48vh;min-height:260px}.creative-exports{grid-template-columns:1fr}.creative-pager button{padding:.4rem}.creative-pager span{font-size:.65rem}}
