:root{color-scheme:dark;font-family:Arial,sans-serif;color:#e5f1ee;background:#0b191d}*{box-sizing:border-box}body{margin:0}a{color:#9ae8d7;text-decoration:none}header{padding:24px 5vw;border-bottom:1px solid #294045;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font:bold 26px Georgia,serif;color:#fff}main{max-width:1260px;margin:auto;padding:40px 5vw 70px}.eyebrow,legend,label:not(.scenes label){font-size:13px;letter-spacing:.13em;color:#a3c9c2}.intro h1{font:clamp(36px,5vw,64px)/1.06 Georgia,serif;margin:12px 0}.intro>p:last-child{color:#a6bcbb;font-size:18px}.studio{display:grid;grid-template-columns:270px 1fr;gap:46px;margin-top:35px}aside{align-self:start;border:1px solid #2b4548;border-radius:20px;overflow:hidden;padding:0 22px 24px;background:#12272b}.reference{width:calc(100% + 44px);max-height:330px;object-fit:cover;display:block;margin:0 -22px}.identity{margin:22px 0 30px}.identity h2{font:26px Georgia,serif;margin:0 0 6px}.identity span,.note{font-size:14px;line-height:1.5;color:#a9c0be}.workspace{min-width:0}input,select,textarea,button{font:inherit}input:not([type=radio]),select,textarea{display:block;width:100%;padding:15px;margin:10px 0;border:1px solid #38575a;border-radius:10px;background:#10272b;color:#f2f8f6;font-size:16px}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #8be8d1;outline-offset:3px}fieldset{padding:0;border:0;margin:28px 0}legend{margin-bottom:12px}.scenes{display:flex;flex-wrap:wrap;gap:10px}.scenes label{cursor:pointer}.scenes input{position:absolute;opacity:0}.scenes span{display:block;padding:13px 17px;border:1px solid #365257;border-radius:30px;color:#b3c9c6}.scenes input:checked+span{background:#254e4c;color:#a7f8e2;border-color:#8bd8c2}.scenes input:focus-visible+span{outline:2px solid white}.optional{letter-spacing:0;font-size:12px;margin-left:8px;color:#809a98}.actions{display:flex;gap:12px;margin-top:20px}button,.download{display:inline-block;padding:15px 22px;border:1px solid #365257;border-radius:10px;background:#19383b;color:#e6f7f2;cursor:pointer}.primary{background:#98ead6;color:#102b28;border:0;font-weight:700}.primary:disabled{opacity:.5;cursor:wait}#status{line-height:1.5;color:#a7f8e2}#status.error{color:#ffc4ac}.empty{border:1px dashed #365257;border-radius:18px;padding:40px 20px;text-align:center;margin-top:28px}.empty span{font-size:12px;letter-spacing:.13em;color:#91bcb4}.empty h2{font:30px Georgia,serif}.empty p{color:#9bb5af}.gallery figure{margin:28px 0 0;border:1px solid #365257;border-radius:16px;overflow:hidden}.gallery img{width:100%;display:block}.gallery figcaption{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.gallery h3{margin:0 0 5px;font:22px Georgia,serif}.gallery small{font-size:13px;color:#a5bbb7}.download{white-space:nowrap;font-size:14px}button[hidden],[hidden]{display:none!important}@media(max-width:700px){header{padding:18px 5vw}.brand{font-size:22px}header>a:last-child{font-size:14px}.studio{grid-template-columns:1fr;gap:28px}aside{display:grid;grid-template-columns:85px 1fr;column-gap:16px;padding:16px}.reference{width:85px;height:100px;border-radius:8px;margin:0;grid-row:1/3}.identity{margin:8px 0}.identity h2{font-size:23px}aside>label,aside>select,aside>.note,aside>.subtle{grid-column:1/-1}aside>label{margin-top:20px}main{padding-top:24px}.gallery figcaption{align-items:start;flex-direction:column}.scenes span{font-size:14px;padding:12px}.intro>p:last-child{font-size:16px}}
:is(.reference-controls,.reference-help,.reference-links){grid-column:1/-1}.reference-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.reference-controls button{flex:1;padding:13px 16px;min-height:44px;white-space:nowrap}.reference-controls button:disabled{opacity:.5;cursor:wait}#reference-status:empty{display:none}.reference-help{margin-bottom:0}
