.restaurant-room{position:relative;aspect-ratio:800/460;width:100%;border-radius:14px;overflow:hidden;background:url('./scenes.webp') var(--scene-x,0%) var(--scene-y,0%)/200% 300%;box-shadow:inset 0 0 40px #0005;margin:10px 0}.restaurant-room svg{display:block;width:100%;height:100%}.restaurant-room[data-decor=truck]{background:url('./truck.webp') center/cover}.restaurant-room[data-decor=rose]{--scene-x:100%;--scene-y:50%}.restaurant-room[data-decor=luxury]{--scene-x:100%;--scene-y:100%}
.restaurant .customers{position:relative;isolation:isolate}.dining-details{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.8}.dining-details .restaurant-room{position:absolute;inset:0;margin:0;aspect-ratio:auto;height:100%;background:none!important;box-shadow:none;border:0;border-radius:0}.dining-details svg{width:100%;height:100%;object-fit:cover}.dining-details rect[x="214"],.dining-details text{display:none}
.restaurant.rush .hud{box-shadow:inset 0 -3px #eea44a}.rush-label{color:#ffdc8e;font-weight:bold}.restaurant .delivery-customer .portrait{filter:saturate(.75);position:relative}.delivery-customer .portrait:after{content:'🛵';position:absolute;font-size:clamp(25px,4vw,52px);bottom:0;left:5%}.delivery-customer .ticket{border-color:#62b0b3}.delivery-label{font-size:9px;color:#1d635e;display:block;text-align:center;font-weight:bold}.packet-status{color:#eed79c}.recipe-chip b{min-width:12px}.recipe-chip.next-part{outline:1px solid #f6cd75;background:#ffeab95c}.recipe-checklist{direction:ltr}
.restaurant .assembly-tools{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;flex:none}.assembly-tools button{background:#1f4936;color:#fff2ce;border:1px solid #c9a05c;border-radius:5px;font-size:10px;min-height:27px;padding:3px 7px}.assembly-tools button:disabled{opacity:.45}.assembly-tools[hidden]{display:none}
.shop-nav{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.shop-nav button{flex:1;min-width:90px}.room-name-input,.challenge-url{width:100%;padding:12px;border:1px solid #d6b16e;background:#0f3027;color:#fff4dc;border-radius:8px;font:inherit;margin-block:10px}.upgrade-card{border:1px solid #a98b53;border-radius:12px;background:#1c4435;padding:14px;margin:12px 0}.upgrade-card h3{margin:4px 0}.upgrade-card p{font-size:13px;line-height:1.7}.challenge-summary{display:flex;justify-content:space-between;gap:10px;border:1px solid #8ba785;border-radius:9px;padding:10px;margin:10px 0}.challenge-summary strong{color:#ffe2a3}.restaurant #result-actions{max-height:29svh;overflow:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.restaurant #result-actions button{min-height:36px;padding:6px 10px}.room-actions{display:flex;gap:8px;flex-wrap:wrap}.room-actions button{flex:1}.restaurant #service-streak{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant footer{gap:10px}.restaurant .grills{flex-wrap:wrap}.restaurant .grills .machine{min-width:28%}.restaurant .sides #side-machines{flex-wrap:wrap}.restaurant .sides #side-machines .machine{min-width:42%}
@media(max-width:700px){.restaurant .grills{flex-direction:column}.restaurant .grills .machine{min-height:0}.restaurant .grills:has(>:nth-child(3)) .appliance-art{max-height:100%;width:60%;left:30%}.restaurant .grills:has(>:nth-child(3)) .machine b{font-size:8px;align-self:flex-end;min-width:45%;padding:0}.restaurant .grills:has(>:nth-child(3)) .machine small{font-size:7px;align-self:flex-end;width:50%}.restaurant .grills:has(>:nth-child(3)) .food{left:30%;width:30px;height:30px}.delivery-label{font-size:7px}.restaurant .assembly-tools button{font-size:8px;padding:2px 4px;min-height:24px}.restaurant footer{gap:6px;font-size:8px}.restaurant #result-actions{max-height:24svh}.restaurant #result-actions button{font-size:11px}.upgrade-card{padding:10px}.restaurant .sides #side-machines .machine{min-width:35%}}
@media(max-width:360px){.restaurant footer{gap:4px;font-size:7px}.restaurant .assembly-tools button{font-size:7px}.delivery-label{font-size:6px}.restaurant .recipe-chip{font-size:7px}.restaurant #service-streak{font-size:7px}}

.restaurant .grills,.restaurant .sides #side-machines,.restaurant #oven:not(:empty){display:grid;grid-template-columns:repeat(var(--slots,1),minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:7px}
.restaurant .grills .machine,.restaurant .sides #side-machines .machine{min-width:0;width:100%;height:100%}
.dining-details{opacity:.55}.dining-details .restaurant-room svg{object-fit:cover}
@media(max-width:700px) and (min-height:501px){.restaurant .grills,.restaurant .sides #side-machines{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--slots,1),minmax(0,1fr));gap:4px}}
@media(max-height:640px){.restaurant .assembly-tools button{min-height:21px;line-height:1;padding:2px 3px}.restaurant .assembly{gap:0}.restaurant .recipe-checklist{max-height:30px;overflow:auto}.restaurant .tray{min-height:24px}}

.restaurant{grid-template-columns:minmax(0,1fr)}.restaurant>*{min-width:0}.restaurant header h1{min-width:0;overflow:hidden;text-overflow:ellipsis}.restaurant #world-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.restaurant .ingredient{min-width:0}.restaurant .worktop>*{min-width:0}.restaurant .actions .primary{min-width:0}.restaurant .actions .secondary{flex-shrink:0}
@media(max-width:700px){.restaurant header{display:grid;grid-template-columns:33px minmax(0,1fr) 33px 33px}.restaurant header h1{font-size:15px;line-height:1.15;text-align:center;white-space:normal;margin:0}.restaurant .worktop{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr) minmax(0,1fr)}.restaurant .ingredient{flex:1;width:0}.restaurant .ingredient span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis}.restaurant .actions .primary{font-size:16px}.restaurant .assembly-tools{flex-wrap:wrap}}
@media(max-width:360px){.restaurant header h1{font-size:12px}.restaurant #world-name{font-size:7px}.restaurant .actions .primary{font-size:14px}.restaurant .actions .secondary{max-width:70px;padding-inline:4px;font-size:9px}}
@media(max-height:500px) and (min-width:560px){.restaurant{grid-template-columns:32% 68%}.restaurant .worktop{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr)}}
