.account-welcome{display:grid;grid-template-columns:minmax(200px,1fr) minmax(290px,.94fr);max-width:850px;margin:clamp(20px,8vh,100px) auto;background:#fff9ee;border:3px solid #cfad8f;border-radius:26px;box-shadow:0 6px #c49c7d,0 15px 45px #71533b22;overflow:hidden}
.account-street{position:relative;min-height:440px;background:#d6df9c url('/game/r-8fbe23e88376718e/street-scene-v6-800.avif') center 58%/cover no-repeat}
.welcome-chef{position:absolute;bottom:16%;left:32%;display:grid;place-items:center;width:35%;height:28%}
.welcome-chef .tk-person{width:100%;height:100%}
.account-checkin{align-self:center;padding:clamp(20px,3.6vw,44px);color:#5a423a}
.account-checkin h1{margin:0 0 30px;font-size:clamp(29px,4.8vw,48px);line-height:1.2}
.account-checkin label{font-size:16px;font-weight:700}
.account-checkin input{width:100%;box-sizing:border-box;margin:7px 0 0;border:2px solid #cdb397;border-radius:12px;background:#fffdf6;padding:13px 12px;color:#503c32;font:inherit}
.account-welcome .btn,.account-sheet .wide{margin:5px 0;min-height:44px}
.account-hint,.account-uid{font-size:14px;color:#765f51;line-height:1.6}
[data-account-error]{color:#903d30;font-size:14px;font-weight:650}[data-account-error]:empty{display:none}
#account-dialog{padding:0;width:min(420px,calc(100vw - 24px));max-height:90dvh;border-radius:19px;box-sizing:border-box;background:#fff8eb;color:#523f3b}
.account-sheet{padding:24px;line-height:1.55}.account-sheet h2{margin:0;font-size:25px}.account-sheet p{margin:12px 0}
.account-ticket{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px;border:1.5px dashed #be9e76;background:#fff1d8;border-radius:12px}.account-ticket output{font:600 17px/1.4 ui-monospace,monospace;user-select:all}.account-links{display:flex;justify-content:space-between;margin-top:10px}.account-links button{border:0;background:transparent;color:#745648;text-decoration:underline;padding:7px 2px;font:inherit;cursor:pointer}
@media(max-width:640px){.account-welcome{grid-template-columns:1fr;max-width:400px;margin:10px auto 0}.account-street{min-height:0;aspect-ratio:1.85;background-position:center 54%}.account-checkin{padding:19px 23px 24px}.account-checkin h1{margin-bottom:14px}.welcome-chef{height:64%;width:24%;left:42%;bottom:2%}}

body.in-restaurant{overflow:hidden}
.restaurant-window{display:block;width:100%;height:100vh;height:100dvh;border:0;background:#f8f0df}
.restaurant-window[hidden],.return-to-dining[hidden],.restaurant-error[hidden],#app[hidden]{display:none!important}
.return-to-dining{position:sticky;top:0;z-index:6;display:block;margin:8px auto 0;padding:8px 20px;min-height:38px;border:1px solid #ab8061;border-radius:20px;background:#fff6df;color:#5e442f;font:700 15px/1.3 system-ui;cursor:pointer}
.restaurant-error{position:fixed;z-index:18;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;display:flex;align-items:center;gap:12px;padding:10px 16px;background:#5d3229;color:white;border-radius:14px;font-size:15px}
.restaurant-error button{padding:5px 10px;cursor:pointer}
.account-street{background-image:url('./dining/art/street.avif');background-position:center}
.welcome-chef{inset:auto auto 4% 37%;width:27%;height:auto;aspect-ratio:1;background-image:url('./dining/art/waiter.avif');background-size:400% 100%;background-position:left bottom;filter:drop-shadow(0 6px 4px #69462349)}
