/* A playable café sketchbook: painted paper, loose notes, tabs and stickers.
   Decoration is non-interactive; all labels, progress and controls stay live. */
:root{--ink:#51363f;--cream:#fff8e7;--line:#c9a98e;--plum:#ad657d;--hand:"Chalkboard SE","Comic Sans MS","Trebuchet MS",cursive;--sticker-sheet:url('ui/ingredient-stickers.png')}
body{background:#f5e6cf}
#sceneWrap{border-color:#fff4df;background:#f5e2cb}
#sceneWrap:after{box-shadow:inset 0 0 24px #fff7df22}
#sceneWrap .brand{color:#67445e;text-shadow:0 2px #fff6de}
#sceneWrap .brand-symbol{background:#d59caf;border:3px solid #fff8e7;box-shadow:1px 2px #a27685;transform:rotate(-8deg);border-radius:44% 47% 42% 46%}
#sceneWrap .modes,#sceneWrap .world-tools>button,#sceneWrap .game-menu>summary{background:#fff8e7 url('paper-fibres.svg');border:1px solid #bca089;border-radius:3px 9px 5px 8px;box-shadow:1px 3px #95715433;color:#66465d}
#sceneWrap .modes .selected{background:#e8bccb;color:#6c3b4b;box-shadow:inset 0 -2px #bf8095}
#sceneWrap .game-menu>summary{transform:rotate(3deg)}
#sceneWrap .menu-paper{background:#fff8e7 url('paper-fibres.svg');border:0;border-left:5px double #c7a184;border-radius:2px 11px 8px 3px;box-shadow:5px 6px #d9bdcaaa,0 12px 28px #54383b44}
#sceneWrap .menu-heading{font-family:var(--hand);color:#754555;border-bottom:2px dashed #cdb9a2;padding-bottom:8px}
#sceneWrap .menu-paper .small-actions{display:flex;gap:10px;border-top:1px dashed #c0a184;margin-top:10px;padding-top:8px}
#sceneWrap .menu-paper .small-actions button{min-height:44px;font-size:12px}

/* Torn, ring-bound order note. The folded heading never hides the cup. */
#sceneWrap #orderCard{left:50%;right:auto;top:85px;width:min(920px,calc(100% - 32px));max-width:920px;transform:translateX(-50%);margin:0;padding:14px 28px 14px 48px;border:0;border-radius:0;background:transparent;box-shadow:none;isolation:isolate;overflow:visible;max-height:calc(100% - var(--dock-space) - 110px)}
#sceneWrap #orderCard:before{content:'';position:absolute;inset:-6px -8px;z-index:-1;width:auto;height:auto;opacity:1;border:0;border-radius:0;transform:none;background:url('ui/order-notepaper.png') center/100% 160% no-repeat;pointer-events:none}
#sceneWrap #orderCard:after{display:none}
#sceneWrap #orderCard:not(.folded){background:#fff8e8 url('paper-fibres.svg');box-shadow:4px 7px #e5c8c7aa;overflow:auto;border-radius:3px 12px 6px 4px}
#sceneWrap #orderCard:not(.folded):before{display:none}
#sceneWrap #orderCard .customer-heading{gap:12px}
#sceneWrap #orderCard .customer-avatar{background:#fffaf0;border:2px solid #d6b99b;box-shadow:2px 3px #bc997a33;border-radius:46% 50% 44% 49%;width:48px;height:48px;font-size:33px;transform:rotate(-7deg)}
#sceneWrap #orderCard .eyebrow{display:none}
#sceneWrap #orderCard h2{font-family:var(--hand);font-size:25px;line-height:1.15;color:#613e31;letter-spacing:-.6px;margin:0}
#sceneWrap #orderSummary{display:block;font:800 12px/1.25 Nunito,sans-serif;color:#8c6554;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sceneWrap #orderFold{background:#fff6e8ba;border:2px dashed #c5a38c;border-radius:5px 8px 4px 7px;min-width:44px;width:44px;min-height:44px;height:44px;color:#724f3e;font-size:28px;box-shadow:none;margin-left:auto}
#sceneWrap #orderCard.folded .order-score{display:none}
#sceneWrap #recipeDetails .diagram-wrap{display:none}
#sceneWrap #orderSteps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#sceneWrap #orderSteps li{background:#fffdf1;border:0;border-bottom:2px dashed #cbb69c;box-shadow:inset 3px 0 var(--ingredient);border-radius:0;padding:8px;grid-template-columns:22px 1fr;align-content:start}
#sceneWrap #orderSteps li>strong{grid-row:2;grid-column:2}
#sceneWrap #orderSteps .current{background:#e8edcf;outline:1px solid #91a67d}

/* One open notebook, not a set of floating dashboard cards. */
#sceneWrap #playDock{left:50%;right:auto;bottom:max(12px,env(safe-area-inset-bottom));width:min(880px,calc(100% - 28px));max-width:880px;margin:0;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;padding:11px 26px 21px 48px;border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate;pointer-events:auto;z-index:6}
#sceneWrap #playDock:before{content:'';position:absolute;inset:-16px -8px -7px -10px;width:auto;height:auto;background:url('ui/sketchbook-page.png') center/100% 100% no-repeat;z-index:-1;pointer-events:none;opacity:1;border:0;transform:none}
#sceneWrap #playDock:after{content:'a little sip of magic ♡';position:absolute;right:48px;bottom:4px;font:10px/1 var(--hand);color:#a07971;pointer-events:none;transform:rotate(-2deg)}
#sceneWrap #playDock .paper-card{position:relative;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
#sceneWrap #playDock .ingredients{display:block;order:0}
#sceneWrap #playDock .section-title{display:none}
#sceneWrap #playDock .ingredient-tabs{display:flex;align-items:end;gap:7px;width:92%;margin:-24px 0 13px;padding:0;position:relative}
#sceneWrap #playDock .ingredient-tabs:after{content:'hold to pour ↓';font:12px/1 var(--hand);color:#85604f;position:absolute;right:3px;bottom:-14px;transform:rotate(-3deg)}
#sceneWrap #playDock .ingredient-tabs button{flex:1;position:relative;min-height:42px;padding:8px 9px 9px;border:1px solid #c7a98b;border-bottom:0;border-radius:18px 16px 0 0;background:#f8e2db url('paper-fibres.svg');box-shadow:inset 0 0 0 3px #fff4df80,2px -2px #cfb69630;font:800 16px/1.2 var(--hand);color:#62404b;transform:rotate(1deg);transform-origin:bottom left}
#sceneWrap #playDock .ingredient-tabs button:first-child{transform:rotate(-1.5deg)}
#sceneWrap #playDock .ingredient-tabs button[aria-selected=true]{background-color:#cc8aa0;color:#fff9eb;border-color:#af788a;text-shadow:0 1px #a8687d;box-shadow:inset 0 0 0 3px #ecc0cf,2px -2px #b2768a30;z-index:1}
#sceneWrap #bases,#sceneWrap #mixes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:3px 0 1px}
#sceneWrap #mixes{grid-template-columns:repeat(5,minmax(0,1fr))}
#sceneWrap #playDock .ingredient{--tilt:-1.3deg;position:relative;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;gap:0;min-height:105px;height:105px;padding:5px 4px 8px;grid-column:auto;border:0;border-radius:2px 5px 2px 6px;outline:0;background:#fffbed url('paper-fibres.svg');color:#52303b;box-shadow:2px 3px 0 #a4815d2e;transform:rotate(var(--tilt));touch-action:none;transition:transform .12s,background-color .12s}
#sceneWrap #playDock .ingredient:nth-child(even){--tilt:1.4deg;background-color:#fff5df}
#sceneWrap #playDock .ingredient:before{content:'';position:absolute;inset:3px;border:1px dashed #d4bda2;border-radius:2px 6px 3px 7px;pointer-events:none}
#sceneWrap #playDock .ingredient:after{content:'♡';position:absolute;right:7px;top:7px;font:19px/1 var(--hand);color:#eea5b0;transform:rotate(14deg);pointer-events:none}
#sceneWrap #playDock .ingredient:nth-child(even):after{content:'✿';color:#e5bc70;top:auto;bottom:10px;right:6px}
#sceneWrap #playDock .ingredient.active{background-color:#e8efcf;box-shadow:0 0 0 2px #fff9eb,0 0 0 4px #789772,2px 4px 0 4px #6d825e25;transform:rotate(-.8deg)}
#sceneWrap #playDock .ingredient.active:before{border-color:#abc094}
#sceneWrap #playDock .ingredient.active:after{content:'✓';display:grid;place-items:center;top:-7px;right:-5px;bottom:auto;width:24px;height:24px;border:3px solid #fff9e7;border-radius:45% 50% 45% 48%;background:#638d68;color:#fff9e7;font:900 18px Nunito,sans-serif;box-shadow:0 2px #57754b33;transform:rotate(8deg)}
#sceneWrap #playDock .ingredient.holding{background-color:#edc9d5;transform:translateY(2px) rotate(0);box-shadow:0 0 0 3px #bc8094;color:#5e3341}
#sceneWrap #playDock .ingredient:focus-visible,#sceneWrap #playDock button:focus-visible{outline:3px solid #814559;outline-offset:4px}
#sceneWrap .ingredient-icon,#sceneWrap .layer-label b{display:block;flex:none;width:61px;height:61px;font-size:0!important;line-height:0;background-image:var(--sticker-sheet);background-size:300% 300%;background-repeat:no-repeat;background-position:var(--sticker-x,0%) var(--sticker-y,0%);filter:drop-shadow(1px 2px 0 #fff9ee)}
#sceneWrap .ingredient-icon img,#sceneWrap .layer-label b img{display:none}
#bases .ingredient:nth-child(1),.pattern-milk-0{--sticker-x:0%;--sticker-y:0%}
#bases .ingredient:nth-child(2),.pattern-milk-1{--sticker-x:50%;--sticker-y:0%}
#bases .ingredient:nth-child(3),.pattern-milk-2{--sticker-x:100%;--sticker-y:0%}
#bases .ingredient:nth-child(4),.pattern-milk-3{--sticker-x:0%;--sticker-y:50%}
#mixes .ingredient:nth-child(1),.pattern-mix-0{--sticker-x:50%;--sticker-y:50%}
#mixes .ingredient:nth-child(2),.pattern-mix-1{--sticker-x:100%;--sticker-y:50%}
#mixes .ingredient:nth-child(3),.pattern-mix-2{--sticker-x:0%;--sticker-y:100%}
#mixes .ingredient:nth-child(4),.pattern-mix-3{--sticker-x:50%;--sticker-y:100%}
#mixes .ingredient:nth-child(5),.pattern-mix-4{--sticker-x:100%;--sticker-y:100%}
#sceneWrap #playDock .ingredient-name{position:relative;color:inherit;font:900 14px/1.05 Nunito,sans-serif;text-align:center;z-index:1}
#sceneWrap #playDock .ingredient-name small{display:block;color:inherit;font:800 11px/1.1 var(--hand);margin:2px 0 0;opacity:1}
#sceneWrap #playDock .finish-card{display:grid;order:1;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:13px;align-items:end}
#sceneWrap #playDock .controls{display:flex;grid-column:1;grid-row:1;padding:0}
#sceneWrap #playDock .container-row{width:100%;gap:3px}
#sceneWrap #playDock .container-row>.eyebrow{display:block;font:12px/1.1 var(--hand);letter-spacing:0;color:#815544;width:100%}
#sceneWrap #containers{display:flex;gap:7px;margin:0;width:100%}
#sceneWrap #containers button{flex:1;min-height:42px;padding:7px 3px;background:#fffbed url('paper-fibres.svg');border:1px dashed #c4a58e;border-radius:5px 9px 3px 7px;font:800 12px/1.1 var(--hand);color:#6d4754;box-shadow:1px 2px #c5a78a22;transform:rotate(.8deg)}
#sceneWrap #containers .selected{background-color:#eed3dc;border:2px solid #c58a9e;box-shadow:inset 0 0 0 2px #fff8ee;transform:rotate(-1deg)}
#sceneWrap #playDock #fillhud{grid-column:2;grid-row:1;display:flex;margin:0;padding:0}
#sceneWrap #playDock .hud-actions{width:100%;gap:5px}
#sceneWrap #hudpack,#sceneWrap #hudpack:disabled,#sceneWrap #hudpack:hover{flex:1;min-height:64px;border:0;border-radius:0;box-shadow:none;background:transparent url('ui/lilac-floral-button.png') center/100% 100% no-repeat;color:#6b3144;padding:13px 20px;font:900 20px/1.1 var(--hand);letter-spacing:0;text-transform:none;text-shadow:0 1px #ffe3ec}
#sceneWrap #hudpack:disabled{opacity:.64;color:#835766}
#sceneWrap #hudpack:not(:disabled):active{transform:translateY(2px)}
#sceneWrap #speed{min-width:44px;min-height:44px;background:#ffe5a5;border:1px dashed #bd9755;border-radius:4px;box-shadow:1px 2px #aa895133;font-size:10px}

/* Painted glass vial; recipe labels are written alongside, not over the glass. */
#sceneWrap #sceneFillHud{top:calc(var(--play-top) + 18px);bottom:calc(var(--dock-space) + 22px);right:24px;left:auto;width:174px;min-width:0;padding:0;display:flex;flex-direction:column;align-items:center;background:none;border:0;border-radius:0;box-shadow:none;transform:none;container-type:normal;z-index:3;pointer-events:none}
#sceneWrap #sceneFillHud:before,#sceneWrap #sceneFillHud>.fill-kicker,#sceneWrap #sceneFillHud>.meter,#sceneWrap #stepHint{display:none}
#sceneWrap #sceneFill{display:block;position:relative;width:100%;font:900 31px/1.15 Nunito,sans-serif;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#fff8ed;text-align:center;padding:8px 3px;margin:0;background:#c57b94 url('paper-fibres.svg');border:3px solid #fff6de;border-radius:43% 34% 42% 25% / 18% 21% 24% 17%;box-shadow:0 0 0 1px #a68599,2px 4px #9c718d33;transform:rotate(-2deg)}
#sceneWrap #sceneOverflow{font:800 10px/1.2 var(--hand);letter-spacing:0;background:#fff2d9;color:#795c47;padding:4px 7px;transform:rotate(1deg);border-radius:0;box-shadow:1px 2px #b18b6a22;margin:3px 0 0}
#sceneWrap #sceneFillHud .fill-signal{position:absolute;right:0;bottom:-8px;margin:0;padding:4px 5px;width:100%;font-size:9px;line-height:1.1;text-align:center;justify-content:center;color:#715642;background:#fff4dd;border:0;border-radius:2px;transform:rotate(1deg);box-shadow:1px 2px #a9846430}
#sceneWrap #sceneFillHud .fill-signal i{flex:none;width:10px;height:10px}
#sceneWrap #sceneFillHud[data-fill-stage=yellow]>strong{background-color:#dfb149;color:#513a21}
#sceneWrap #sceneFillHud[data-fill-stage=green]>strong{background-color:#668e62;color:#fff9e8}
#sceneWrap #sceneFillHud[data-fill-stage=red]>strong{background-color:#b74c67;color:#fff9e8}
#sceneWrap #recipeRailWrap{position:relative;isolation:isolate;display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;width:100%;padding:9px 5px 25px;margin-top:5px}
#sceneWrap #recipeRailWrap:before{content:'';position:absolute;inset:5px -3px 20px;z-index:-1;background:#fff7e7 url('paper-fibres.svg');border-left:1px solid #dbc2a2;border-right:1px dashed #d0b195;box-shadow:3px 4px #d9bda4aa;clip-path:polygon(3% 0,16% 1%,30% 0,53% 2%,74% 0,99% 1%,100% 19%,99% 49%,100% 78%,98% 99%,79% 100%,61% 98%,40% 100%,20% 99%,0 100%,1% 67%,0 32%);transform:rotate(1.5deg)}
#sceneWrap .rail-title{display:block;padding:0 2px;font:800 16px/1.2 var(--hand);text-align:center;color:#6a4436;background:none;border:0;border-radius:0;letter-spacing:0}
#sceneWrap .rail-title:before{content:'♡ ';color:#ec9caa}
#sceneWrap .recipe-vial{position:relative;flex:1;min-height:135px;max-height:315px;width:100%;margin:2px 0}
#sceneWrap .recipe-vial:before{content:'';position:absolute;inset:0 36% 0 0;background:url('ui/recipe-vial.png') center/225% 100% no-repeat;pointer-events:none;z-index:2}
#sceneWrap #recipeRail{position:absolute;left:11%;right:47%;top:23%;bottom:8%;width:auto;min-height:0;max-height:none;margin:0;display:flex;flex-direction:column-reverse;border:0;outline:0;border-radius:0 0 30% 30%;background:#f4e5d0;box-shadow:none;overflow:visible}
#sceneWrap .recipe-layer{position:relative;flex-basis:0;min-height:15px;background:var(--layer-color);border-top:1px dashed #fff6e2c0;isolation:auto;overflow:visible}
#sceneWrap .recipe-layer:first-child{border-radius:0 0 40% 40%;border-top:0}
#sceneWrap .layer-progress{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to top,transparent var(--layer-progress,0%),#fff4d85c var(--layer-progress,0%));z-index:0}
#sceneWrap .layer-pattern{display:none}
#sceneWrap .layer-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:0;padding:0;color:#503645;font:900 13px/1 Nunito,sans-serif;text-shadow:0 1px #fff6e4;z-index:3}
#sceneWrap .layer-label b{width:29px;height:29px}
#sceneWrap .layer-number{display:grid;place-items:center;position:absolute;left:-18px;top:50%;transform:translateY(-50%) rotate(-4deg);width:18px;height:18px;border:2px solid #fff9e8;border-radius:45%;font-size:11px;color:#fff9e8;background:#876849;box-shadow:0 0 0 1px #d2b79c;text-shadow:none}
#sceneWrap .layer-name{position:absolute;left:calc(100% + 12px);bottom:50%;font:800 10px/1.1 var(--hand);color:#71533e;width:67px;padding-bottom:3px}
#sceneWrap .layer-label strong{position:absolute;left:calc(100% + 12px);top:50%;font-size:15px;letter-spacing:-.4px;padding:0;background:none;border-radius:0;white-space:nowrap}
#sceneWrap .recipe-layer.current{box-shadow:inset 0 0 0 2px #ba758c}
#sceneWrap .recipe-layer.current .layer-label strong{text-decoration:underline;text-decoration-color:#d08ba2;text-decoration-thickness:3px;text-underline-offset:3px}
#sceneWrap .recipe-layer.complete .layer-number{background:#588762}
#sceneWrap .recipe-layer.over .layer-number{background:#ba4f64}
#sceneWrap #railHint{position:relative;width:100%;margin-top:0;padding:5px 2px;background:#fff5dd;border:0;border-top:1px dashed #ccb394;border-radius:0;font:800 10px/1.2 var(--hand);text-align:center;color:#73533e;transform:rotate(-2deg)}
#sceneWrap #railHint:before{content:'Pour in order! ↑';display:block;margin-bottom:3px;color:#85536f;font:900 13px/1.1 var(--hand)}
#sceneWrap #railHint:after{content:'';position:absolute;top:-7px;left:2px;width:30px;height:10px;background:repeating-conic-gradient(#ef9fae88 0 25%,#fff1dcbb 0 50%) 0 0/8px 8px;transform:rotate(-13deg)}
#sceneWrap #sceneFillHud:not(:has(#recipeRailWrap:not([hidden]))){bottom:auto}
#sceneWrap #sceneFillHud:not(:has(#recipeRailWrap:not([hidden]))) .fill-signal{position:static;margin-top:6px}

/* Phone and midsize Mac windows share the same compact notebook. */
html[data-game-layout="compact"] #sceneWrap #orderCard{top:calc(52px + env(safe-area-inset-top));width:min(660px,calc(100% - 22px));max-width:660px;padding:10px 12px 10px 24px;max-height:calc(100dvh - var(--dock-space) - 80px)}
html[data-game-layout="compact"] #sceneWrap #orderCard .customer-heading{gap:7px}
html[data-game-layout="compact"] #sceneWrap #orderCard h2{font-size:18px}
html[data-game-layout="compact"] #sceneWrap #orderCard .customer-avatar{width:32px;height:32px;font-size:25px;flex:none}
html[data-game-layout="compact"] #sceneWrap #orderSummary{font-size:9px;margin-top:4px}
html[data-game-layout="compact"] #sceneWrap #orderFold{min-width:36px;width:36px;min-height:40px;height:40px}
html[data-game-layout="compact"] #sceneWrap #orderSteps{grid-template-columns:1fr}
html[data-game-layout="compact"] #sceneWrap #orderSteps li{grid-template-columns:22px minmax(0,1fr) 40px}
html[data-game-layout="compact"] #sceneWrap #orderSteps li>strong{grid-row:1;grid-column:3}
html[data-game-layout="compact"] #sceneWrap #playDock{width:min(660px,calc(100% - 20px));max-width:660px;bottom:max(9px,env(safe-area-inset-bottom));gap:8px;padding:8px 13px 17px 26px}
html[data-game-layout="compact"] #sceneWrap #playDock:before{inset:-12px -5px -6px -6px}
html[data-game-layout="compact"] #sceneWrap #playDock:after{right:29px;bottom:3px;font-size:8px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient-tabs{margin:-19px 0 12px;gap:5px;width:94%}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient-tabs button{min-height:36px;font-size:12px;padding:7px 3px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient-tabs:after{font-size:9px;bottom:-12px}
html[data-game-layout="compact"] #sceneWrap #bases,html[data-game-layout="compact"] #sceneWrap #mixes{gap:7px;padding:3px 0}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient{height:81px;min-height:81px;padding:4px 1px 5px}
html[data-game-layout="compact"] #sceneWrap .ingredient-icon{width:43px;height:43px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient-name{font-size:11px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient-name small{font-size:9px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient:after{font-size:12px;right:4px;top:5px}
html[data-game-layout="compact"] #sceneWrap #playDock .ingredient.active:after{width:19px;height:19px;font-size:13px;border-width:2px;right:-4px;top:-5px}
html[data-game-layout="compact"] #sceneWrap #playDock .finish-card{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:6px}
html[data-game-layout="compact"] #sceneWrap #playDock .container-row>.eyebrow{font-size:9px}
html[data-game-layout="compact"] #sceneWrap #containers{gap:4px}
html[data-game-layout="compact"] #sceneWrap #containers button{min-height:38px;font-size:9px;padding:5px 1px}
html[data-game-layout="compact"] #sceneWrap #hudpack{min-height:51px;padding:9px 12px;font-size:14px}
html[data-game-layout="compact"] #sceneWrap #sceneFillHud{top:calc(var(--play-top) + 28px);bottom:calc(var(--dock-space) + 22px);right:8px;width:92px}
html[data-game-layout="compact"] #sceneWrap #sceneFill{font-size:23px;letter-spacing:-1px;padding:6px 0;border-width:2px}
html[data-game-layout="compact"] #sceneWrap #sceneOverflow{font-size:8px;padding:3px 2px}
html[data-game-layout="compact"] #sceneWrap #recipeRailWrap{padding:6px 1px 20px;margin-top:3px}
html[data-game-layout="compact"] #sceneWrap .rail-title{font-size:11px}
html[data-game-layout="compact"] #sceneWrap .recipe-vial{min-height:127px;max-height:260px}
html[data-game-layout="compact"] #sceneWrap .layer-label b{width:21px;height:21px}
html[data-game-layout="compact"] #sceneWrap .layer-number{left:-10px;width:12px;height:12px;border-width:1px;font-size:8px}
html[data-game-layout="compact"] #sceneWrap .layer-name{display:none}
html[data-game-layout="compact"] #sceneWrap .layer-label strong{left:calc(100% + 10px);top:50%;transform:translateY(-50%);font-size:11px}
html[data-game-layout="compact"] #sceneWrap #railHint{font-size:8px;padding:4px 1px;line-height:1.15}
html[data-game-layout="compact"] #sceneWrap #railHint:before{font-size:10px;margin-bottom:2px}
html[data-game-layout="compact"] #sceneWrap #sceneFillHud .fill-signal{font-size:8px;bottom:-8px;padding:3px}
html[data-game-window="true"] #sceneWrap #sceneFillHud{right:max(12px,calc((100% - 660px)/2))}
html[data-game-window="true"] #sceneWrap #playDock .ingredient-name{font-size:13px}
html[data-game-window="true"] #sceneWrap #playDock .ingredient-tabs button{font-size:15px}
html[data-game-window="true"] #sceneWrap #containers button{font-size:12px}
html[data-game-window="true"] #sceneWrap #hudpack{font-size:18px}
html[data-game-narrow="true"] #sceneWrap #playDock{padding-left:22px;padding-right:10px}
html[data-game-narrow="true"] #sceneWrap #bases,html[data-game-narrow="true"] #sceneWrap #mixes{gap:5px}
html[data-game-narrow="true"] #sceneWrap #playDock .ingredient-name{font-size:10px}
html[data-game-narrow="true"] #sceneWrap #playDock .ingredient-name small{font-size:8px}
html[data-game-narrow="true"] #sceneWrap .ingredient-icon{width:37px;height:37px}
html[data-game-narrow="true"] #sceneWrap #orderCard h2{font-size:16px}
html[data-game-narrow="true"] #sceneWrap #sceneFillHud{right:6px;width:86px}
html[data-game-short="true"] #sceneWrap #playDock .ingredient{height:65px;min-height:65px}
html[data-game-short="true"] #sceneWrap .ingredient-icon{width:30px;height:30px}
html[data-game-short="true"] #sceneWrap #playDock .ingredient-tabs button{min-height:32px}
html[data-game-short="true"] #sceneWrap #hudpack{min-height:43px}
html[data-game-short="true"] #sceneWrap #sceneFillHud{top:calc(var(--play-top) + 12px);bottom:calc(var(--dock-space) + 17px)}
html[data-game-short="true"] #sceneWrap #railHint:before{display:none}
html[data-game-short="true"] #sceneWrap .recipe-vial{min-height:100px}
html[data-game-short="true"] #sceneWrap .recipe-layer{min-height:12px}
html[data-game-short="true"] #sceneWrap #sceneFill{font-size:20px;padding:4px 0}
html[data-game-landscape="true"] #sceneWrap #playDock{left:235px;right:10px;bottom:7px;transform:none;width:auto;padding:5px 10px 13px 21px;gap:5px}
html[data-game-landscape="true"] #sceneWrap #playDock .ingredient{height:54px;min-height:54px}
html[data-game-landscape="true"] #sceneWrap .ingredient-icon{width:25px;height:25px}
html[data-game-landscape="true"] #sceneWrap #playDock .ingredient-name{font-size:9px}
html[data-game-landscape="true"] #sceneWrap #playDock .ingredient-name small{font-size:7px}
html[data-game-landscape="true"] #sceneWrap #playDock .ingredient-tabs button{font-size:10px;min-height:30px}
html[data-game-landscape="true"] #sceneWrap #playDock .container-row>.eyebrow{display:none}
html[data-game-landscape="true"] #sceneWrap #hudpack{min-height:38px;font-size:12px}
html[data-game-landscape="true"] #sceneWrap #orderCard{left:10px;right:auto;width:210px;transform:none;top:53px;padding-left:21px;max-height:calc(100dvh - 65px)}
html[data-game-landscape="true"] #sceneWrap #orderCard .customer-avatar{display:none}
html[data-game-landscape="true"] #sceneWrap #sceneFillHud{right:10px;top:10px;bottom:auto;width:80px}
html[data-game-landscape="true"] #sceneWrap #recipeRailWrap{display:none}
html[data-game-landscape="true"] #sceneWrap #sceneFillHud .fill-signal{position:static;margin-top:3px}
@media(prefers-reduced-motion:reduce){#sceneWrap #playDock .ingredient{transition:none}}
