:root {
  --night: #07080c;
  --cream: #f8ecd0;
  --cream-edge: #e6c999;
  --mullion: #45301c;
  --red: #a9291b;
  --ink: #2a1a0e;
  --lcd: #0e2fa8;
  --lcd-hi: #1d4fe0;
  --lcd-ink: #e9f0ff;
  --paper: #f7f3ea;
  --receipt: #fbfbf8;
  --pad: max(10px, env(safe-area-inset-left));
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: #f2ece2; overflow: hidden; }
body { font: 16px/1.45 "IBM Plex Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
#app { position: fixed; inset: 0; overflow: hidden; background: var(--night); }

/* ---------- scenes: a painted plate scaled by app.js ---------- */
.scene { position: absolute; inset: 0; overflow: hidden; }
.scene[hidden] { display: none; }
.plate { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; transform-origin: 0 0; }
.plate .photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.door { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; z-index: 6; user-select: none; }
.cabin { position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 7%), linear-gradient(270deg, rgba(0,0,0,.6), rgba(0,0,0,0) 4.5%); }
.grain { position: absolute; inset: -50%; pointer-events: none; z-index: 40; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- the menu board ---------- */
.facewrap { position: absolute; left: 0; top: 0; width: 1212px; height: 477px; transform-origin: 0 0; z-index: 2; }
.face { position: absolute; inset: 0; background: var(--mullion); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 35px;
  box-shadow: 0 0 60px 14px rgba(255, 226, 170, .18); }
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background:
    linear-gradient(104deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.07) 38%, rgba(255,255,255,0) 46%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 75%, rgba(255,255,255,0) 80%),
    radial-gradient(60% 40% at 86% 8%, rgba(255,190,120,.10), rgba(255,190,120,0) 70%); mix-blend-mode: screen; }
.panel { position: relative; min-width: 0; overflow: hidden; padding: 12px 11px 10px; display: flex; flex-direction: column; gap: 8px;
  background: radial-gradient(120% 70% at 50% 45%, #fff6dd 0%, var(--cream) 45%, var(--cream-edge) 100%); }
.panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: soft-light;
  background: linear-gradient(90deg, rgba(255,255,255,0) 14%, rgba(255,255,255,.55) 26%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.55) 74%, rgba(255,255,255,0) 86%); }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; box-shadow: inset 0 0 26px rgba(120, 70, 20, .32), inset 0 -10px 18px rgba(120,70,20,.18); }
.panel.flicker { animation: flicker .5s steps(1) 1; }
@keyframes flicker { 0%, 30%, 60% { filter: brightness(.82); } 15%, 45%, 100% { filter: none; } }
.bugs { position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; pointer-events: none; z-index: 2; }
.bugs i { position: absolute; bottom: 0; width: 3px; height: 2px; border-radius: 50%; background: rgba(40, 24, 10, .55); filter: blur(.4px); }

.band { margin: 0; padding: 4px 8px 3px; background: var(--red); color: #fff4dc; font: 600 21px/1 "Oswald", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 8px; align-content: space-between; flex: 1; min-height: 0; }
.panel.solo .grid { align-content: center; row-gap: 9px; }
.item { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 3px; min-width: 0; cursor: pointer; position: relative; }
@supports (grid-template-rows: subgrid) {
  .panel.solo .item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 3px; align-content: start; }
  .panel.solo .item .ph { align-self: start; }
  .panel.solo .item .lab { align-self: end; }
}
.item.wide { grid-column: span 2; }
.item .lab { font: 600 12.5px/1.05 "Oswald", sans-serif; letter-spacing: .05em; color: var(--red); text-transform: uppercase; }
.item .ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #3a2a1a; box-shadow: 0 0 0 1px rgba(60,30,10,.25); }
.panel.dense .item .ph { aspect-ratio: 2 / 1; }
.panel.dense { padding: 9px 8px 8px; gap: 7px; }
.panel.dense .grid { gap: 6px 6px; }
.panel.dense .band { font-size: 19px; padding: 4px 8px 3px; }
.phone .panel.dense { padding: 12px 11px 12px; }
.phone .panel.dense .grid { gap: 10px 10px; }
.phone .panel.dense .band { font-size: 22px; }
.item .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.06) brightness(1.03); transition: filter .2s; }
.item .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 35%); pointer-events: none; }
.item .nm { font: 500 12.5px/1.05 "Oswald", sans-serif; letter-spacing: .03em; color: var(--ink); text-transform: uppercase; }
.panel.dense .item .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item.wide .nm, .item.wide .lab { font-size: 14px; }
.item:hover .ph img, .item:focus-visible .ph img { filter: saturate(1.12) brightness(1.12); }
.item:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.item.pulse .ph img { animation: pulse .6s ease-out 1; }
@keyframes pulse { 0% { filter: brightness(1.6) saturate(1.2); } 100% { filter: saturate(1.06) brightness(1.03); } }
/* a closer look: the picture under the pointer lifts off the board */
.zoom { position: absolute; left: 0; top: 0; width: 318px; z-index: 4; pointer-events: none; padding: 7px 7px 5px; border-radius: 3px;
  background: radial-gradient(120% 90% at 50% 40%, #fff8e4 0%, var(--cream) 60%, var(--cream-edge) 100%);
  box-shadow: 0 0 0 3px var(--mullion), 0 18px 36px rgba(30, 14, 4, .55), 0 0 44px 8px rgba(255, 226, 170, .32);
  opacity: 0; transform: scale(.45); transition: opacity .12s ease-out, transform .17s cubic-bezier(.2, .8, .3, 1); }
.zoom.on { opacity: 1; transform: none; }
.zoom .zph { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #3a2a1a; box-shadow: 0 0 0 1px rgba(60,30,10,.25); }
.zoom .zph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.08) brightness(1.06); }
.zoom .znm { display: block; padding: 6px 2px 0; font: 600 18px/1.1 "Oswald", sans-serif; letter-spacing: .03em; color: var(--ink); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zoom.pulse .zph img { animation: pulse .6s ease-out 1; }
.phone .zoom { display: none; }
.is-loading .panel, .lights-off .panel { filter: brightness(.18) saturate(.4); }
.lights-on .panel { animation: lightsOn .9s steps(1) 1 backwards; animation-delay: var(--d, 0s); }
@keyframes lightsOn { 0% { filter: brightness(.18) saturate(.4); } 20% { filter: brightness(.9); } 32% { filter: brightness(.25) saturate(.5); } 48%, 100% { filter: none; } }

/* ---------- the order screen on its post ---------- */
.cod { position: absolute; z-index: 4; left: 0; top: 0; width: 300px; padding: 16px 16px 120px; border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, rgba(255,215,160,.07), rgba(0,0,0,0) 18%, rgba(0,0,0,0) 80%, rgba(0,0,0,.35)), linear-gradient(180deg, #30271f, #1b1611 45%, #0f0c0a);
  box-shadow: inset 0 1px 0 rgba(255,225,180,.22), inset 1px 0 0 rgba(255,225,180,.08), 0 30px 60px rgba(0,0,0,.75), 0 0 70px rgba(40, 80, 220, .10);
  filter: saturate(.92); pointer-events: auto; }
.cod::after { content: ""; position: absolute; top: 2px; right: -13px; width: 13px; height: 100%; background: linear-gradient(180deg, #1c1611, #0a0807); transform: skewY(-28deg); transform-origin: 0 0; box-shadow: inset 1px 0 0 rgba(255,225,180,.06); }
.cod-head { position: absolute; left: -6px; right: -6px; top: -12px; height: 20px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3d3229, #221b15 70%, #15110d); box-shadow: 0 6px 10px rgba(0,0,0,.5); }
.cod-screen { position: relative; height: 148px; border-radius: 3px; overflow: hidden; padding: 8px 12px; border: 5px solid #060607; outline: 1px solid rgba(255,225,180,.08);
  background: radial-gradient(130% 100% at 28% 12%, #1a3d9e, #0c2470 55%, #071650); box-shadow: 0 0 30px rgba(40, 80, 220, .28), inset 0 0 24px rgba(0,0,0,.5); }
.cod-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(115deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%); }
.cod-list { list-style: none; margin: 0; padding: 0; height: 100%; overflow-y: auto; scrollbar-width: none; font: 22px/1.08 "VT323", ui-monospace, monospace; color: #dfe7ff; text-shadow: 0 0 5px rgba(190, 210, 255, .45); }
.cod-list::-webkit-scrollbar { display: none; }
.cod-list li { display: block; }
.cod-list button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1.4em 1fr; width: 100%; cursor: pointer; text-transform: uppercase; white-space: nowrap; }
.cod-list button span { overflow: hidden; text-overflow: ellipsis; }
.cod-list button:hover span, .cod-list button:focus-visible span { text-decoration: line-through; }
.cod-list li.new button { animation: blink .9s steps(1) 2; }
@keyframes blink { 50% { opacity: .2; } }
.cod-idle { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font: 30px/1 "VT323", monospace; letter-spacing: .12em; color: var(--lcd-ink); text-shadow: 0 0 8px rgba(200,220,255,.6); }
.cod-idle[hidden] { display: none; }
.grille { position: absolute; left: 50%; top: 186px; width: 86px; height: 86px; margin-left: -43px; border-radius: 50%;
  background: radial-gradient(circle, #0c0a08 1.4px, transparent 1.6px) 0 0 / 7px 7px, radial-gradient(circle, #221b15, #15110d); box-shadow: inset 0 2px 6px rgba(0,0,0,.8), 0 1px 0 rgba(255,220,170,.08); }

.driveoff { position: absolute; z-index: 8; border: 0; border-radius: 999px; padding: 12px 22px 11px; cursor: pointer;
  background: #f4ead8; color: #1b130c; font: 600 17px/1 "Oswald", sans-serif; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.2); transition: transform .15s, opacity .3s; }
.driveoff:hover { transform: translateY(-1px); background: #fff6e6; }
.driveoff:focus-visible { outline: 3px solid #ffd27a; outline-offset: 3px; }
/* "That's all" is the last line on the order screen, in inverse video */
.thatsall { all: unset; box-sizing: border-box; position: absolute; left: 8px; right: 8px; bottom: 7px; height: 30px; display: grid; place-items: center; cursor: pointer;
  background: #dfe7ff; color: #0b2170; font: 25px/1 "VT323", ui-monospace, monospace; letter-spacing: .14em; box-shadow: 0 0 10px rgba(190,210,255,.55); animation: blink 1.1s steps(1) 2; z-index: 2; }
.thatsall:hover { background: #ffffff; }
.thatsall:focus-visible { outline: 2px solid #ffd27a; outline-offset: 2px; }
.cod.has-order .cod-list { height: calc(100% - 40px); }
.thatsall[hidden], .driveoff[hidden] { display: none; }
.driveoff { right: max(5vw, 24px); bottom: 17vh; }

/* ---------- the pickup window ---------- */
.opening { position: absolute; left: 826px; top: 256px; width: 1064px; height: 544px; overflow: hidden; pointer-events: none; }
.pane { position: absolute; inset: 0; transition: transform 1s cubic-bezier(.5, 0, .3, 1);
  background:
    linear-gradient(100deg, rgba(255,255,255,0) 18%, rgba(255,240,220,.16) 24%, rgba(255,255,255,0) 31%, rgba(255,255,255,0) 58%, rgba(255,240,220,.09) 63%, rgba(255,255,255,0) 69%),
    radial-gradient(40% 30% at 70% 80%, rgba(255,255,255,.05), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(40,48,44,.34), rgba(30,36,34,.22));
  box-shadow: inset 0 0 0 7px #3b3632, inset 0 0 0 9px rgba(210,195,175,.55), inset 0 0 0 11px #2a2623, inset 0 0 50px rgba(0,0,0,.25); }
.pane::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 9px; margin-left: -4px; background: linear-gradient(90deg, #2c2824, #a99f92 45%, #4a443e); box-shadow: 0 0 6px rgba(0,0,0,.5); }
.pane::before { content: ""; position: absolute; left: calc(50% - 30px); top: 44%; width: 10px; height: 64px; border-radius: 4px; background: linear-gradient(90deg, #4a443e, #cfc6b8, #5a544d); box-shadow: 1px 2px 3px rgba(0,0,0,.5); }
.open .pane { transform: translateX(-104%); }
.bag { all: unset; position: absolute; left: 1250px; top: 520px; width: 216px; height: 325px; cursor: pointer; transform-origin: 50% 100%;
  opacity: 0; transform: translate(-40px, -70px) scale(.82); transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .4s; filter: brightness(.8) sepia(.18) saturate(1.05) contrast(.96); }
.bag img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.bag::before { content: ""; position: absolute; left: -8%; right: -10%; bottom: -5%; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.bag.out { opacity: 1; transform: none; }
.bag:focus-visible { outline: 4px solid #ffd27a; outline-offset: 6px; }
.bag .stub { position: absolute; left: 37%; top: 3%; width: 50px; height: 96px; transform: rotate(-4deg); box-shadow: 0 2px 5px rgba(0,0,0,.4);
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 7px, rgba(60,60,60,.28) 7px 8px, rgba(255,255,255,0) 8px 11px) 50% 16px / 64% 62% no-repeat, linear-gradient(180deg, #fbfbf7, #e7e6e0); }
.bag .stub::before { content: ""; position: absolute; left: 17px; top: 5px; width: 15px; height: 3px; background: linear-gradient(180deg, #d8d8d8, #8a8a8a); border-radius: 1px; box-shadow: 0 1px 1px rgba(0,0,0,.4); }

/* ---------- the bag's contents ---------- */
.sheet { position: absolute; inset: 0; z-index: 20; background: rgba(4, 4, 6, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet[hidden] { display: none; }
.sheet-in { position: absolute; inset: 22px 22px 0; display: grid; grid-template-columns: minmax(0, 900px) 300px; justify-content: center; gap: 26px; align-items: start; }
.sheet.rise .paper, .sheet.rise .receipt-slot > .receipt { animation: rise .7s cubic-bezier(.2,.75,.2,1) both; }
.sheet.rise .receipt-slot > .receipt { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(70vh) rotate(1.5deg) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.paper { position: relative; height: calc(100vh - 22px); height: calc(100svh - 22px); overflow-y: auto; overscroll-behavior: contain; border-radius: 3px 3px 0 0;
  background: var(--paper); color: #1d160f; box-shadow: 0 20px 60px rgba(0,0,0,.6);
  --ab-fg: #1d160f; --ab-muted: #6b5d4f; --ab-accent: var(--red); --ab-chrome: 150px; }
.paper-head { position: relative; padding: 0 64px 14px 28px; }
.paper-head .band { display: inline-block; margin: 0 0 10px; padding: 6px 12px 5px; font-size: 16px; text-align: left; }
.paper-title { margin: 0; font: 600 40px/1.02 "Oswald", sans-serif; letter-spacing: .01em; text-transform: uppercase; color: #1d160f; padding-top: 0; }
.paper-head::before { content: ""; display: block; height: 22px; }
.close { position: sticky; z-index: 5; float: right; top: 14px; margin: 14px 14px -58px 0; width: 44px; height: 44px; box-shadow: 0 2px 10px rgba(0,0,0,.18); border: 0; border-radius: 22px; background: #e9e1d2; color: #1d160f; font: 30px/44px system-ui, sans-serif; cursor: pointer; }
.close:hover { background: #ddd2bf; }
.close:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.paper-body { padding: 6px 28px 40px; }
.paper-body.ab-media { font-size: 16.5px; }
.paper-body .ab-lede { font-size: 1.12em; line-height: 1.5; max-width: 62ch; }
.paper-body .ab-text { max-width: 66ch; }
.paper-body .ab-heading { font: 600 20px/1.1 "Oswald", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--red); margin-top: 8px; }
.paper-body figcaption { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; letter-spacing: .02em; }

.receipt-slot { min-width: 0; }
#receiptSlotPhone { display: none; }
#receiptSlot { filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); }
.receipt { position: relative; max-height: calc(100vh - 60px); max-height: calc(100svh - 60px); overflow-y: auto; scrollbar-width: thin; padding: 22px 20px 30px; color: #222; background: var(--receipt);
  font: 13px/1.38 "IBM Plex Mono", ui-monospace, monospace; box-shadow: 0 16px 40px rgba(0,0,0,.55); transform: rotate(.6deg);
  --zz-top: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0);
  --zz-bot: conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0);
  -webkit-mask-image: linear-gradient(#000, #000), var(--zz-top), var(--zz-bot); mask-image: linear-gradient(#000, #000), var(--zz-top), var(--zz-bot);
  -webkit-mask-size: 100% calc(100% - 14px), 12px 7px, 12px 7px; mask-size: 100% calc(100% - 14px), 12px 7px, 12px 7px;
  -webkit-mask-position: 0 7px, 0 0, 0 100%; mask-position: 0 7px, 0 0, 0 100%;
  -webkit-mask-repeat: no-repeat, repeat-x, repeat-x; mask-repeat: no-repeat, repeat-x, repeat-x; }
.receipt p { margin: 0; }
.receipt .rc-c { text-align: center; }
.receipt .rc-big { font-weight: 600; font-size: 15px; letter-spacing: .08em; }
.receipt hr { border: 0; border-top: 1px dashed #777; margin: 12px 0; }
.receipt ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.receipt .rc-line { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 2ch 1fr; column-gap: 1ch; width: 100%; cursor: pointer; border-radius: 2px; padding: 4px 4px; margin: -4px -4px; }
.receipt .rc-line:hover { background: rgba(0,0,0,.05); }
.receipt .rc-line:focus-visible { outline: 2px solid #222; }
.receipt .rc-line[aria-current="true"] { background: rgba(0,0,0,.07); }
.receipt .rc-line[aria-current="true"] .rc-t::after { content: " \2190"; }
.receipt .rc-t { font-weight: 600; text-transform: uppercase; }
.receipt .rc-cl { grid-column: 2; color: #555; text-transform: uppercase; font-size: 11.5px; }
.receipt .rc-cr { grid-column: 2; color: #444; font-size: 11.5px; margin-top: 3px; }

/* ---------- the loading lights ---------- */
#loader { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--night); transition: opacity .6s; }
#loader.done { opacity: 0; pointer-events: none; }
.tube { width: min(46vw, 420px); height: 6px; border-radius: 3px; background: #15130f; box-shadow: 0 0 0 1px #221d16; overflow: hidden; }
.tube i { display: block; height: 100%; width: 0; background: #fff3d6; box-shadow: 0 0 18px 4px rgba(255, 236, 190, .55); transition: width .25s; animation: tube 1.6s steps(1) infinite; }
@keyframes tube { 0%, 100% { opacity: 1; } 8% { opacity: .55; } 12% { opacity: 1; } 61% { opacity: .8; } 64% { opacity: 1; } }

/* ---------- pulling around ---------- */
.scene.leaving { transition: transform 1.5s cubic-bezier(.55, 0, .75, .4), filter 1.5s; transform: translateX(-62vw) scale(1.04); filter: blur(5px) brightness(.25); }
.scene.arriving { transform: translateX(55vw) scale(1.03); filter: blur(6px) brightness(.3); }
.scene.arrived { transition: transform 1.4s cubic-bezier(.2, .6, .25, 1), filter 1.4s; transform: none; filter: none; }

/* ---------- a phone: the board fills the screen and scrolls; the order screen sits small at the bottom ---------- */
.boardscroll { display: none; }
.phone .facewrap { display: none; }
.phone #lane .plate { filter: blur(6px) brightness(.5); }
.phone .boardscroll { display: block; position: absolute; inset: 0 0 calc(118px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: max(14px, env(safe-area-inset-top)) 12px 18px; z-index: 3; }
.phone .boardscroll .face { position: relative; inset: auto; display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 6px;
  background: linear-gradient(180deg, #3a2a1a, #241a10); box-shadow: 0 0 0 3px #17110b, 0 0 50px 8px rgba(255, 226, 170, .16); }
.phone .panel { padding: 12px 11px 12px; gap: 9px; }
.phone .panel .grid { gap: 10px 10px; }
.phone .band { font-size: 22px; }
.phone .item .nm, .phone .item .lab { font-size: 13px; }
.phone .item.wide .nm, .phone .item.wide .lab { font-size: 15px; }
.phone .door { display: none; }
.phone .cabin { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 5%); }
.phone .cod { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto !important; height: calc(118px + env(safe-area-inset-bottom)); transform: none !important;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 12px; border-radius: 12px 12px 0 0; display: flex; gap: 10px; z-index: 9; }
.phone .cod[hidden], .cod[hidden] { display: none !important; }
.phone .cod-head, .phone .grille { display: none; }
.phone .cod-screen { flex: 1; height: 94px; padding: 6px 10px; }
.phone .cod-list { font-size: 20px; }
.phone .thatsall { height: 28px; bottom: 5px; font-size: 23px; }
.phone .cod.has-order .cod-list { height: calc(100% - 32px); }
.phone .cod::after { display: none; }
.phone .driveoff { left: 50% !important; top: auto !important; bottom: calc(26px + env(safe-area-inset-bottom)) !important; transform: translateX(-50%); }
.phone .sheet-in { inset: 0; display: block; }
.phone .paper { height: 100vh; height: 100svh; border-radius: 0; --ab-chrome: 120px; }
.phone .paper-head { padding: 0 60px 10px 16px; }
.phone .paper-head::before { height: max(14px, env(safe-area-inset-top)); }
.phone .paper-title { font-size: 30px; }
.phone .close { top: max(10px, env(safe-area-inset-top)); margin: max(10px, env(safe-area-inset-top)) 10px -54px 0; }
.phone .paper-body { padding: 4px 16px 24px; }
.phone #receiptSlot { display: none; }
.phone #receiptSlotPhone { display: block; padding: 6px 16px calc(40px + env(safe-area-inset-bottom)); background: #e9e3d6; }
.phone .receipt { max-height: none; overflow: visible; transform: none; margin: 18px auto 0; max-width: 360px; }

@media (prefers-reduced-motion: reduce) {
  .scene.leaving, .scene.arrived, .pane, .bag { transition-duration: .01s !important; }
  .lights-on .panel, .panel.flicker, .tube i { animation: none !important; }
  .sheet.rise .paper, .sheet.rise .receipt-slot > .receipt { animation: none; }
  .zoom { transform: none; transition: opacity .01s; }
}
