@import url('/style.css');
body{background:#141210;color:#eee7da}header{max-width:1500px;margin:auto;display:flex;align-items:center;gap:30px;padding:24px 5%;border-bottom:1px solid #453b30}header .brand{font:27px Georgia;letter-spacing:2px}header .brand span{display:block;text-align:center;font:8px sans-serif;letter-spacing:5px;margin-top:5px}#back{margin-left:auto;font-size:12px;color:#c9ba9f}header nav{display:flex;gap:14px;font-size:12px}main{max-width:1500px;margin:auto;padding:44px 5%}.intro{margin-bottom:32px;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:10px 40px}.intro .eyebrow{grid-column:1/-1;margin:0;color:#ba9c6d}.intro h1{font:48px/1.05 Georgia;letter-spacing:-1.5px}.intro h1 em{color:#cdb994}.intro>p:last-child{color:#aaa092;max-width:400px;font-size:14px;margin:0 0 6px auto}.studio{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:28px;align-items:start}.stage{position:sticky;top:16px;border:1px solid #4b4033;background:radial-gradient(ellipse at 50% 45%,#43372b 0%,#251f19 45%,#171513 80%);border-radius:12px;overflow:hidden}.stage-top{position:absolute;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:1.5px;color:#cbb892;pointer-events:none;z-index:1}#viewport{height:min(62vh,570px);min-height:370px;width:100%;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}#viewport canvas{display:block;width:100%;height:100%}#loading{position:absolute;top:45%;left:0;right:0;text-align:center;font-size:13px;color:#d1b785;padding:25px}.stage-bottom{text-align:center;padding:0 14px 18px}.stage-bottom p{font-size:11px;color:#ad9e8c;margin:0 0 12px}.camera-controls{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.camera-controls button{min-height:38px;min-width:38px;border:1px solid #65543f;background:#211c16;color:#eee0c8;border-radius:5px;padding:7px 10px;font-size:12px}.camera-controls [aria-pressed=true]{background:#ccb38b;color:#17130d}.model-note{font-size:10px!important;color:#a79b8b;padding:12px 22px;border-top:1px solid #3f3529;margin:0!important;line-height:1.6}.options{min-width:0}.step{border:1px solid #493d30;border-radius:9px;background:#1b1814;padding:20px;margin-bottom:14px;scroll-margin-top:20px}.step:focus-within{border-color:#c9b18a}.step h2{font-size:15px;letter-spacing:.2px;margin-bottom:16px;display:flex;gap:12px;align-items:center}.step h2 span{font-size:10px;color:#c9ae7d;border:1px solid #69563a;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.choice{position:relative;background:#28221b;border:1px solid #534632;border-radius:7px;padding:12px 6px;min-height:80px;color:#bfb19a;font-size:11px;display:flex;flex-direction:column;align-items:center;gap:7px}.choice[aria-pressed=true]{border-color:#d9bd87;background:#3e3222;color:#ffedc9;box-shadow:inset 0 0 0 1px #d9bd87}.choice[aria-pressed=true]:after{content:'✓';position:absolute;top:3px;right:6px;font-size:10px}.choice .emoji{font-size:27px;line-height:1.3}.choice svg{width:28px;height:38px;stroke:currentColor;fill:none;stroke-width:1.5}.choice .swatch{display:block;width:27px;height:27px;border-radius:50%;background:var(--swatch);box-shadow:inset -4px -4px 8px #0004,inset 3px 3px 8px #fff6}.step label{display:block;font-size:12px;color:#bfb19a;margin:15px 0 8px}.step input[type=range]{padding:0;accent-color:#d0b78a}.step input[type=text],.step input[type=file]{background:#100e0b;border-color:#5a4a36;color:#f2e9d9}.step input[type=file]{font-size:11px}.step small{display:block;font-size:10px;color:#a39885;margin-top:8px}.step .inline{display:flex;align-items:center;gap:10px}.step .inline input{width:auto}.design-actions{display:grid;gap:10px}.design-actions button{padding:16px;background:transparent;border:1px solid #9a825c;color:#dcc6a0;border-radius:6px;font-size:13px}.design-actions .primary{background:#cfb68c;color:#20180e;font-weight:600}.design-actions p{font-size:11px;color:#ad9c83;margin:4px 0}#status{font-size:12px;color:#e8d49e;margin-top:12px}footer{text-align:center;font-size:9px;letter-spacing:3px;color:#8b7b64;padding:35px}button:focus-visible,a:focus-visible,#viewport:focus-visible{outline:2px solid #ffe0a4;outline-offset:3px}@media(max-width:800px){header{padding:18px 5%;gap:14px}header .brand{font-size:21px}#back{font-size:10px}.intro{grid-template-columns:1fr;gap:14px}.intro h1{font-size:39px}.intro>p:last-child{margin:0;font-size:12px}.studio{grid-template-columns:1fr;gap:18px}.stage{position:relative;top:0}#viewport{height:430px;min-height:300px}.step{padding:17px}.choices{grid-template-columns:repeat(3,minmax(0,1fr))}main{padding-top:28px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.product-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:320px;overflow:auto;margin-top:10px}.product-options .choice{padding:5px;font-size:10px}.product-ref{display:flex;align-items:center;justify-content:center;background:#101010;aspect-ratio:4/3;width:100%;position:relative;overflow:hidden}.product-ref>span{position:relative;overflow:hidden;display:block}.product-ref img{height:auto!important;object-fit:contain}.product-ref>img{width:100%;max-height:100%}.chosen-ref{display:flex;gap:15px;align-items:center;padding:10px;background:#28221b;border:1px solid #79613e;border-radius:6px}.chosen-ref>.product-ref{width:100px;flex:none}.chosen-ref b{font-size:13px}.chosen-ref small{font-size:10px}.result-count{font-size:10px;color:#ad9c83;margin:8px 0}.load-options{padding:8px 12px;background:transparent;border:1px solid #79613e;color:#c9b18a;font-size:11px;margin-top:10px;border-radius:4px}.options select{margin-top:9px;background:#12100e;border-color:#55452f}.options input[type=search]{background:#12100e;border-color:#55452f}.choice small{font-size:9px;margin:0}
@media(max-width:800px){.stage{position:sticky;top:0;z-index:2;box-shadow:0 8px 20px #0008}#viewport{height:250px;min-height:250px}.stage-top{top:12px;font-size:9px}.stage-bottom{padding-bottom:10px}.stage-bottom p{font-size:10px}.model-note{font-size:9px!important;padding:8px 14px}.camera-controls{gap:5px}.camera-controls button{min-height:34px;min-width:34px;font-size:10px;padding:5px 8px}}

.design-preview{width:min(620px,94vw);max-height:92vh;overflow:auto;background:#191510;padding:18px;border:1px solid #a99064;color:#e4cfaa}.design-preview img{max-height:65vh;width:auto;margin:auto}.design-preview a{display:block;background:#d0b58a;color:#21180c;padding:13px;text-align:center;margin-top:10px}.preview-close{display:block;margin-left:auto;background:none;border:1px solid #7b694c;color:#e4cfaa;padding:8px}.design-preview p{font-size:11px;text-align:center;margin:10px 0}
.inventory-options,.newspaper-options{margin-top:20px;padding-top:15px;border-top:1px solid #5c4b35}.inventory-options summary,.newspaper-options summary{font-size:13px;color:#dfc699}.inventory-photo{height:95px;width:100%;object-fit:contain;background:#fff}.personal-settings{margin-top:20px;border-top:1px solid #5c4b35}.ribbon-colours{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:12px}.ribbon-colours button{padding:4px;background:#27221c;border:1px solid #564631;border-radius:5px;color:#d4c5b0}.ribbon-colours svg{width:100%;height:40px}.ribbon-colours small{font-size:8px}.personal-settings input[type=color]{width:100%;height:44px;padding:4px}.newspaper-options small{line-height:1.6}.stage .model-note{max-height:80px;overflow:auto}

.design-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;position:sticky;top:0;z-index:5;background:#171511;padding:12px 0}.design-flow a{border:1px solid #b8975b77;padding:9px 4px;text-align:center;color:#e2cfaa;text-decoration:none;font-size:12px}.flow-note{font-size:14px;color:#c7bbac}.bow-photo-choice{width:100%;height:55px;object-fit:contain}.selected-layers{display:flex;flex-wrap:wrap;gap:4px;max-height:75px;overflow:auto;margin:8px 0}.selected-layers button{font-size:10px;background:#211b15;border:1px solid #a88c5a;color:#e8d8b9;border-radius:12px;padding:4px 8px}.step{scroll-margin-top:70px}

.selected-layers{padding:0 14px 10px;pointer-events:auto;position:relative;z-index:2}
#viewport{height:auto;min-height:0}#real-canvas{width:100%;max-height:65vh;object-fit:contain;touch-action:none}.camera-controls[hidden],[hidden]{display:none!important}.layer-editor{padding:15px;border-top:1px solid #655744}.layer-editor label{display:grid;grid-template-columns:1fr 1fr;font-size:12px;padding:6px}.layer-editor input{width:100%}.formula-row{display:grid;grid-template-columns:1fr 90px 40px 35px;gap:8px;align-items:center;border-bottom:1px solid #655744;padding:12px 0}.formula-row .full{grid-column:1/-1}.formula-row input{width:90px}.original-drink{margin:20px 0;display:grid;gap:8px}.original-drink img{max-height:300px;object-fit:contain}.product-options{max-height:430px;overflow:auto}.product-options .choice img{width:100%;height:110px;object-fit:contain}.await-photo{font-size:12px;min-height:75px;display:grid;place-items:center}.step>button,.formula-row button,.layer-editor button{background:#28221c;color:#e6d2aa;border:1px solid #826c4b;padding:9px;margin:5px}.selected-layers button{max-width:180px}.stage-top{position:static;padding:14px}.design-flow{grid-template-columns:repeat(3,1fr)}
@media(max-width:800px){#real-canvas{max-height:30vh}.layer-editor{max-height:160px;overflow:auto}.stage{position:relative}.formula-row{grid-template-columns:1fr 75px 30px 30px}.formula-row input{width:75px}}
@media(min-width:801px){.stage{max-height:95vh;overflow:auto;top:15px}}
.drink-display{padding:10px 16px;border-top:1px solid #655744;display:grid;gap:9px;font-size:12px}.drink-display select{background:#211b15;color:#dfcda8;border:1px solid #655744;padding:7px;width:100%}.drink-display button{background:#30271d;color:#dfcda8;border:1px solid #806b4b;padding:9px}.drink-display small{line-height:1.6;color:#c3b391}
.presentation-panel{max-width:1200px;margin:40px auto;padding:28px;border:1px solid #64563d;border-radius:16px;background:#211d17}.presentation-panel label{display:block;margin:14px 0}.presentation-panel input{display:block;width:100%;padding:12px;background:#141210;color:#fff;border:1px solid #64563d}.presentation-panel button{margin:8px 8px 8px 0;padding:12px 18px}.presentation-panel button:disabled{opacity:.45}.presentation-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px;margin:20px 0}.presentation-cards article{max-width:300px;border:1px solid #64563d;padding:12px}.presentation-cards img{width:100%;aspect-ratio:800/850;object-fit:contain}.presentation-cards strong,.presentation-cards small{display:block;margin-top:8px}.presentation-status{min-height:1.5em;color:#dec79d}@media(max-width:600px){.presentation-panel{margin:24px 16px;padding:18px}}
.presentation-panel button{background:#ccb88d;color:#181613;border:1px solid #ccb88d;border-radius:8px;font:inherit;font-weight:600;cursor:pointer}.presentation-panel button:hover{background:#e2d0a7}.presentation-panel button:disabled{cursor:default}.presentation-jump{display:block;padding:14px;margin:10px 0;color:#dfcda8;text-align:center;border:1px solid #64563d;border-radius:8px}
.destination-dialog{background:#211d17;color:#eee4d2;border:1px solid #b29b6e;border-radius:16px;padding:28px;max-width:650px;width:calc(100% - 32px)}.destination-dialog::backdrop{background:#000b}.destination-dialog label{display:grid;gap:10px}.destination-dialog select{width:100%;padding:14px;background:#141210;color:#eee4d2;border:1px solid #b29b6e;font:inherit}.destination-dialog button{background:#ccb88d;color:#181613;border:0;border-radius:8px;padding:14px;margin:8px;font:inherit;cursor:pointer}.destination-dialog button:disabled{opacity:.4}.destination-dialog a{display:block;color:#dfcda8;margin:14px 0}.destination-summary{padding:14px;border:1px solid #64563d;line-height:1.7}

/* White photographic surface for product composition and transparent cutouts. */
#viewport,#real-canvas,.product-ref,.product-options .choice img,.bow-photo-choice{background:#fff}.stage-top{background:#fff;color:#554632}.presentation-cards img{background:#fff}

#decoration-placement{width:100%;background:#211b15;color:#eee4d2;padding:8px;border:1px solid #806b4b}.layer-editor small{display:block;line-height:1.6;color:#c3b391;margin:8px 0}
