:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#493442;background:#fbf3f0;--plum:#805173;--coral:#db7970;--line:#e9d9dc}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#fffaf8;padding:8px 12px;cursor:pointer}button:hover{background:#f8e5e0}button:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #9a628c;outline-offset:2px}button:disabled{opacity:.4;cursor:default}button.active,button[aria-pressed=true]{background:#f1d9e3;border-color:#9a628c}.primary{background:#815271;color:white;border-color:#815271;font-weight:700}.primary:hover{background:#69435d}[hidden]{display:none!important}header{max-width:1220px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-family:Georgia,serif;text-decoration:none;color:#68465e;letter-spacing:2px;font-size:17px;font-weight:700}.brand i{font-weight:400;letter-spacing:0}.utilities{display:flex;gap:6px}.utilities button{width:44px;padding:4px}.utilities select{max-width:110px;font-size:12px}main{max-width:1220px;margin:14px auto;padding:0 24px 20px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);gap:28px;align-items:center}.scene{min-width:0}.scene-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.eyebrow{font-size:10px;letter-spacing:2px;color:#9e768c}h1{font-family:Georgia,serif;font-weight:400;font-size:30px;line-height:1.2;margin:8px 0 18px}#number{font-family:Georgia,serif;font-size:35px;color:#a07490}#number small{font:11px sans-serif;color:#bca6b2}#targets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;min-height:74px}.target{border-top:2px solid #d8bac7;padding:7px 6px;background:#fff8f5;border-radius:0 0 10px 10px;font-size:11px}.target strong{display:block;font-size:10px;letter-spacing:.4px;margin-bottom:4px}.target span{display:block;white-space:nowrap}.target.good{border-color:#805173}.target.bad{border-color:#df7d63}canvas{display:block;width:100%;height:auto;aspect-ratio:720/440;touch-action:none}.scene-caption{display:flex;justify-content:space-between;font-size:10px;gap:8px;color:#977385;min-height:24px;padding:0 4px}#time{white-space:nowrap}.workbench{padding:24px;background:rgba(255,255,255,.6);border:1px solid #eee1e3;border-radius:24px;box-shadow:0 14px 45px #7e53640a}h2{font-family:Georgia,serif;font-size:27px;line-height:1.3;font-weight:400}.intro{font-size:13px;line-height:1.8;color:#866a7b}#entry>button{width:100%;margin-top:8px}.mix-heading{display:flex;justify-content:space-between;font-size:11px;color:#987489;margin-bottom:12px}#ingredients{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}#ingredients button{padding:5px 0;min-width:0;font-size:11px;display:flex;align-items:center;flex-direction:column;gap:5px;border:0;background:none}#ingredients .swatch{width:29px;height:35px;border-radius:7px 7px 11px 11px;display:block;box-shadow:inset 4px 0 0 #ffffff60,inset -3px 0 0 #00000008;position:relative}#ingredients .swatch:before{content:'';position:absolute;width:17px;height:7px;left:6px;top:-4px;background:#f3e8e1;border:1px solid #d6bfbb;border-radius:3px}#ingredient-note{font-size:11px;min-height:30px;line-height:1.5;color:#94788c;margin:8px 0}#slots{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}#slots button{font-size:11px;min-height:64px;padding:6px 2px;border-style:dashed}#slots button.active{border-style:solid;box-shadow:inset 0 -3px #9c658b}#slots small{display:block;font-size:10px;margin-top:5px}#adjust{display:flex;align-items:center;gap:5px;margin:12px 0}#adjust #amount{width:15px;text-align:center;font-size:14px}#adjust #less,#adjust #more{width:44px;padding:0;font-size:20px}#delay{flex:1;font-size:11px;padding:4px}#clear{padding:5px;font-size:11px;min-width:44px}.main-actions{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:6px;font-size:12px}#message{font-size:11px;line-height:1.5;min-height:34px;margin:10px 0;color:#9e5c69}nav{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}nav button{font-size:11px;padding:5px}.text-button{border:0;background:none;font-size:10px;display:block;margin:auto;color:#9f8294}dialog{border:1px solid #ead8df;border-radius:22px;padding:25px;max-width:620px;width:calc(100% - 28px);max-height:90dvh;color:#593e50;background:#fffaf7;box-shadow:0 25px 100px #50324c30}dialog::backdrop{background:#4c304b50;backdrop-filter:blur(5px)}#dialog-close{position:absolute;right:9px;top:9px;width:44px;font-size:24px;border:0;background:none}#dialog-content{padding-top:10px;line-height:1.7;font-size:13px}#dialog-content h2{padding-right:20px}#dialog-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}#dialog-actions button{flex:1;font-size:12px}.request-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.request-grid button{font-size:12px;min-height:66px;padding:8px}.request-grid small{display:block;font-size:10px}.note{border-top:1px solid var(--line);padding:12px 0}.note button{margin:6px 4px 0 0;font-size:11px}.result-row{padding:9px 0;border-bottom:1px solid var(--line)}.result-row.bad{color:#ae5366}.postcard{background:linear-gradient(110deg,#ffe3b5,#f8d4dd,#d7c8ea);padding:30px 15px;border:8px solid white;border-bottom-width:25px;border-radius:6px;box-shadow:0 5px 20px #8d627520;display:flex;justify-content:space-around;font-size:36px;margin:18px 0;transform:rotate(-2deg)}.compare-badge{color:#98618d}.dragging{opacity:.6}
@media(max-width:760px){header{padding:7px 12px}.brand{font-size:12px;letter-spacing:1px}.utilities{gap:4px}.utilities select{width:78px;padding:3px}main{display:block;margin:2px auto;padding:0 12px 8px;max-width:480px}.scene-heading .eyebrow{display:none}h1{font-size:22px;margin:3px 0 9px}#number{font-size:23px}#targets{min-height:62px;gap:4px}.target{font-size:10px;padding:5px 4px}.target strong{font-size:9px}canvas{max-height:238px}.scene-caption{font-size:8px;min-height:20px}.workbench{padding:10px;border-radius:17px}.mix-heading{margin-bottom:6px;font-size:10px}#ingredients button{font-size:10px;min-height:49px}#ingredients .swatch{height:24px;width:24px}#ingredients .swatch:before{width:14px;left:5px}#ingredient-note{margin:4px 0;min-height:16px;font-size:10px}#slots button{min-height:48px}#slots small{margin-top:2px}#adjust{margin:6px 0}.main-actions{gap:4px;font-size:11px}#message{min-height:16px;margin:5px 0;font-size:10px}nav{margin-top:5px}nav button{min-height:44px;font-size:10px}#credits{display:none}.intro{font-size:12px;line-height:1.6}h2{font-size:24px}.request-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:360px) and (max-height:650px){header{padding:3px 12px}.utilities button{width:44px}.brand{font-size:10px;max-width:55px}.utilities select{width:70px}main{margin:0}.playing h1{font-size:17px;margin:0 0 4px}.playing #targets{min-height:50px}.target{font-size:9px;padding:3px}.target strong{font-size:8px;margin-bottom:2px}.playing canvas{height:132px;aspect-ratio:auto}.playing .scene-caption{min-height:14px;font-size:7px}.playing .workbench{padding:5px}.playing .mix-heading,.playing #ingredient-note{display:none}.playing #ingredients button{min-height:44px;font-size:9px}.playing #ingredients .swatch{height:17px;width:21px}.playing #slots button{min-height:44px;font-size:10px}.playing #adjust{margin:4px 0}.playing #message{min-height:14px;font-size:9px;margin:3px 0}.playing nav{margin-top:3px}}
@media(orientation:landscape) and (max-height:500px){header{padding:2px 16px;height:48px}.brand{font-size:13px}main{max-width:none;margin:0;padding:0 14px;display:grid;grid-template-columns:1.35fr 1fr;gap:14px;height:calc(100dvh - 52px);align-items:start}.scene-heading .eyebrow{display:none}h1{font-size:18px;margin:2px 0 5px}#number{font-size:20px}#targets{min-height:52px}.target{font-size:9px;padding:3px}.target strong{font-size:9px}canvas{height:calc(100dvh - 158px);max-height:none;aspect-ratio:auto}.scene-caption{font-size:8px}.workbench{padding:6px 9px;border-radius:12px;height:100%;overflow:auto}.mix-heading,#ingredient-note,#credits{display:none}#ingredients button{min-height:44px;font-size:10px}#ingredients .swatch{height:22px;width:24px}#slots button{min-height:44px}#adjust{margin:5px 0}.main-actions{font-size:11px}#message{min-height:14px;font-size:9px;margin:4px 0}nav button{font-size:10px}#entry h2{font-size:20px}#entry .intro{font-size:11px;line-height:1.4}.eyebrow{margin:3px 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

#ingredients button{touch-action:none}.postcard-art{width:100%;height:auto;aspect-ratio:720/440;border:8px solid white;box-shadow:0 5px 20px #8d627520;margin:14px 0;border-radius:8px;max-height:none!important}#gamenow-exit-launcher{opacity:.78}#gamenow-exit-button{font-size:10px!important}
@media(min-width:361px) and (max-width:760px) and (max-height:760px) and (orientation:portrait){.playing canvas{height:185px;aspect-ratio:auto}.playing .workbench{padding:7px}.playing .mix-heading{margin-bottom:3px}.playing #ingredient-note{margin:2px 0;font-size:9px}.playing #message{font-size:9px;min-height:14px;margin:3px 0}.playing #targets{min-height:56px}.playing .scene-heading h1{margin-bottom:5px}}

#gamenow-exit-launcher{top:auto!important;bottom:6px!important;right:6px!important;transform:none!important}#gamenow-exit-button{min-height:44px!important}
@media(max-width:760px) and (orientation:portrait){#gamenow-exit-launcher{bottom:auto!important;top:74px!important;right:0!important;opacity:.3;transform:translateX(21px)!important}#gamenow-exit-launcher:focus-within,#gamenow-exit-launcher:hover{opacity:1;transform:translateX(0)!important}#number{padding-right:29px}#targets{padding-right:10px}}
@media(max-width:360px){#gamenow-exit-launcher{top:49px!important}}
@media(max-width:760px) and (orientation:portrait){header .brand{visibility:hidden;width:44px;min-width:44px}#gamenow-exit-launcher{left:12px!important;right:auto!important;top:7px!important;bottom:auto!important;opacity:1;transform:none!important}#gamenow-exit-launcher:hover,#gamenow-exit-launcher:focus-within{transform:none!important}#gamenow-exit-button{width:44px!important;max-width:44px!important;padding:4px!important;overflow:hidden}#number{padding-right:0}#targets{padding-right:0}}
@media(max-width:360px) and (max-height:650px){#gamenow-exit-launcher{top:3px!important}}

.playing canvas.postcard-art{height:auto!important;aspect-ratio:720/440!important;max-height:none!important}
@media(orientation:landscape) and (max-height:500px){main{height:calc(100dvh - 58px)}canvas#atelier{height:calc(100dvh - 165px)}}
@media(max-width:760px) and (orientation:portrait){#gamenow-mobile-menu-launcher{top:7px!important;left:12px!important;right:auto!important;bottom:auto!important;transform:none!important;width:44px!important;border-radius:12px!important}}
@media(max-width:360px) and (max-height:650px){#gamenow-mobile-menu-launcher{top:3px!important}}
@media(orientation:landscape) and (max-height:500px){header .brand{visibility:hidden}#gamenow-exit-launcher{left:14px!important;top:2px!important;right:auto!important;bottom:auto!important;opacity:.9}#gamenow-sound-button{top:0!important;bottom:auto!important;right:auto!important;left:calc(100% + 6px)!important}#gamenow-fx-button{top:0!important;bottom:auto!important;right:auto!important;left:calc(100% + 56px)!important}}
@media(max-width:760px){#entry .intro{display:none}}
