.ac-wrap{z-index:40;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);color:#3a2418;-webkit-user-select:none;user-select:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#4a2e1c;place-items:center;font:26px/1.15 DianDian Pixel,"Cubic 11",monospace;display:grid;position:fixed;inset:0;overflow:hidden}.ac-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.ac-stage{flex:none;position:relative;container-type:size}.ac-wrap img,.ac-wrap canvas{image-rendering:pixelated;max-width:none;display:block}.ac-wrap button{font:inherit;color:inherit;cursor:pointer;letter-spacing:0;min-width:44px;min-height:44px;box-shadow:none;text-shadow:none;border-radius:0;margin:0;transition:none;transform:none}.ac-wrap button:focus-visible,.ac-name:focus-visible{outline-offset:2px;outline:3px solid #3a2418}.ac-day{border:8px solid #0000;border-image:var(--ac-frame) 4 fill / 8px / 0 stretch;position:absolute}.ac-wrap .ac-b{border:8px solid #0000;border-image:var(--ac-button) 4 fill / 8px / 0 stretch;white-space:nowrap;background:0 0;justify-content:center;align-items:center;gap:6px;min-width:52px;height:52px;padding:0 12px;display:flex}.ac-b>*{margin:-8px 0}.ac-wrap .ac-b:active,.ac-wrap .ac-b.on{border-image-source:var(--ac-pressed)}.ac-b:active>*{translate:0 2px}.ac-b:disabled{opacity:.5;cursor:default}.ac-wrap .ac-b.ac-icon{width:52px;padding:0}.ac-ico{flex:none;width:32px;height:32px}.ac-mirror{transform:scaleX(-1)}.ac-px{text-shadow:1px 0}.ac-sub{color:#7a5a3e}.ac-left{grid-template-rows:auto auto 1fr auto;gap:6px;width:268px;padding:2px 8px;display:grid;top:8px;bottom:8px;left:8px}.ac-sex{grid-template-columns:1fr 1fr;gap:4px;display:grid}.ac-wrap .ac-name{font:inherit;color:#3a2418;width:100%;height:44px;min-height:44px;box-shadow:none;background:#f8efd8;border:3px solid #8a5a34;border-radius:0;outline:none;margin:0;padding:0 8px}.ac-name:focus{border-color:#3a2418}.ac-view{background:#3b3550;border:3px solid #2a1a10;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.ac-view:after{content:"";background:repeating-linear-gradient(90deg,#4a4462 0 30px,#433d5a 30px 60px);border-top:3px solid #2a2440;height:30%;position:absolute;bottom:0;left:0;right:0}.ac-big{z-index:1;position:relative}.ac-turn{justify-content:space-between;align-items:center;display:flex}.ac-right{grid-template-columns:132px minmax(0,1fr);gap:8px;padding:2px 6px;display:grid;inset:8px 8px 8px 284px;overflow:hidden}.ac-rail{align-content:start;gap:1px;min-height:0;display:grid;overflow-y:auto}.ac-wrap .ac-cat{text-align:left;background:0 0;border:0;border-left:6px solid #0000;border-image:;align-items:center;gap:6px;height:44px;padding:0 6px;display:flex}.ac-wrap .ac-cat.on{background:#f8efd8;border-left-color:#c8902a;box-shadow:inset 0 0 0 2px #b8946a}.ac-cat:hover{background:#f1e4c4}.ac-pane{grid-template-rows:auto minmax(0,1fr) auto auto;gap:6px;min-width:0;min-height:0;display:grid}.ac-head{align-items:baseline;gap:12px;min-width:0;height:30px;display:flex}.ac-head>.ac-px{flex:none}.ac-head>.ac-sub{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ac-grid{flex-wrap:wrap;align-content:flex-start;gap:6px;min-height:0;display:flex;overflow:hidden auto}.ac-sec{align-items:center;gap:4px;width:100%;display:flex}.ac-opts{gap:inherit;flex-wrap:wrap;flex:1;min-width:0;display:flex}.ac-sec>.ac-sub{flex:none;width:56px}.ac-nowrap{white-space:nowrap}.ac-wrap .ac-slot{background:#e8d8b4;border:3px solid #b8946a;border-image:;flex:none;place-items:center;width:66px;height:66px;padding:0;display:grid;box-shadow:inset 2px 2px #fff6dc}.ac-wrap .ac-slot.on{background:#f8efd8;border-color:#3a2418;box-shadow:inset 0 0 0 2px #c8902a}.ac-wrap .ac-sec .ac-slot{width:48px;height:48px}.ac-sec .ac-slot canvas{margin:-3px}.ac-colors{align-items:center;gap:4px;min-width:0;min-height:38px;display:flex}.ac-colors>.ac-sub{flex:none;margin-right:4px}.ac-swatches{flex-wrap:wrap;min-width:0;display:flex}.ac-wrap .ac-sw{background:0 0;border:0;border-image:;flex:none;place-items:center;width:44px;height:44px;padding:8px;display:grid}.ac-sw>span{border:3px solid #2a1a10;width:28px;height:28px;display:block;box-shadow:inset 2px 2px #ffffff59}.ac-sw.on>span{outline-offset:2px;outline:3px solid #3a2418}.ac-actions{justify-content:flex-end;gap:8px;display:flex}.ac-tip{z-index:20;color:#f3e6c8;white-space:nowrap;pointer-events:none;background:#2a1a10;padding:4px 8px;position:absolute}.ac-error{color:#9b201a;z-index:21;background:#f8efd8;padding:8px;position:absolute;bottom:8px;left:8px}@container (width<=760px){.ac-left{width:220px}.ac-right{grid-template-columns:110px minmax(0,1fr);left:236px}.ac-wrap .ac-cat{gap:4px}.ac-sec{gap:2px}.ac-sec>.ac-sub{width:44px}.ac-wrap .ac-sec .ac-slot{width:44px;height:48px}.ac-actions{gap:4px}.ac-wrap .ac-actions .ac-b{padding:0}}@media (prefers-reduced-motion:reduce){.ac-b:active>*{translate:none}}@container (width<=639px){.ac-left{width:160px}.ac-right{grid-template-columns:80px minmax(0,1fr);left:176px}.ac-left,.ac-right{font-size:13px}.ac-wrap .ac-cat{gap:4px;padding:0 4px}.ac-cat .ac-ico{width:16px;height:16px}.ac-wrap .ac-turn .ac-b{width:44px;min-width:44px}.ac-wrap .ac-sex .ac-b{padding:0}.ac-sec{gap:2px}.ac-sec>.ac-sub{width:40px}.ac-wrap .ac-sec .ac-slot{width:44px;height:48px}}@container (height<=375px){.ac-right{grid-template-rows:minmax(0,1fr)}}@container (width<=760px) and (height<=375px){.ac-sec>.ac-sub{font-size:min(1em,22px)}.ac-wrap .ac-sec .ac-slot{width:44px;height:44px}}.ac-actions{flex-wrap:wrap}.ac-wrap:has(.ac-name:not(input)) .ac-actions{flex-wrap:wrap}.ac-wrap p.ac-name{align-items:center;display:flex}.ac-confirm-backdrop{z-index:22;background:#0009;place-items:center;display:grid;position:absolute;inset:0}.ac-wrap .ac-confirm{background:#f8efd8;width:min(560px,100% - 24px);padding:16px;position:relative}.ac-confirm p{margin:0 0 16px}.ac-wrap:has(.ac-confirm) .ac-error{z-index:23;max-width:calc(100% - 16px)}.greet-meter-scrim{z-index:59;pointer-events:none;background:#0a061073;position:fixed;inset:0}.greet-meter{z-index:60;text-align:center;pointer-events:auto;color:#fff7d6;width:min(648px,100vw - 32px);font-family:DianDian Pixel,"Cubic 11",monospace;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.greet-meter[data-stopped]{pointer-events:none}.greet-meter-art{background:#1a1222;border:4px solid #3b2414;border-radius:6px;margin:0 0 12px;line-height:0;position:relative;overflow:hidden}.greet-meter-img{aspect-ratio:16/9;width:100%;height:auto;image-rendering:pixelated;display:block}.greet-meter-caption{text-shadow:0 3px #000;background:#0a0610b8;padding:4px 8px;font-size:39px;line-height:1.25;position:absolute;bottom:0;left:0;right:0}.greet-meter-bar{background:#3a2a3e;border:4px solid #3b2414;border-radius:6px;height:52px;position:relative;overflow:hidden}.greet-meter-zone{background:#5fbf5a;width:30%;position:absolute;inset:0 auto 0 35%}.greet-meter-perfect{background:#f2c14e;width:8%;position:absolute;inset:0 auto 0 46%}.greet-meter-needle{background:#fff;border:2px solid #000;width:10px;margin-left:-5px;position:absolute;top:-6px;bottom:-6px}.greet-meter button{font:inherit;color:#fff;cursor:pointer;background:#d65a4a;border:3px solid #3b2414;border-radius:6px;margin:0 0 12px;padding:6px 48px;font-size:39px}.greet-meter button:disabled{cursor:default;filter:brightness(.75)}@media (height<=420px){.greet-meter{width:min(440px,100vw - 32px)}.greet-meter-art{margin-bottom:6px}.greet-meter-caption{padding:2px 6px;font-size:26px}.greet-meter-bar{height:32px}.greet-meter button{margin:0 0 6px;padding:4px 48px;font-size:26px}}@media (prefers-reduced-motion:no-preference){.greet-meter-img--perfect{animation:.6s steps(6,end) both greet-cheer}.greet-meter-img--hit{animation:.3s steps(4,end) both greet-pop}.greet-meter-img--miss{animation:.4s steps(8,end) both greet-shake}}@keyframes greet-pop{0%{transform:scale(.9)}60%{transform:scale(1.04)}to{transform:scale(1)}}@keyframes greet-cheer{0%{transform:scale(.9)}30%{transform:scale(1.06)translateY(-4%)}55%{transform:scale(1)translateY(0)}75%{transform:translateY(-2%)}to{transform:none}}@keyframes greet-shake{0%,to{transform:none}20%{transform:translate(-3%)}40%{transform:translate(3%)}60%{transform:translate(-2%)}80%{transform:translate(1%)}}.rogue-summary{border:2px solid var(--summary-border,var(--wood-light));background:var(--summary-stripe,transparent);flex-direction:column;gap:4px;padding:8px 13px;font-size:26px;line-height:1.3;display:flex}.rogue-summary-title{align-items:center;gap:6px;font-weight:700;display:inline-flex}.rogue-summary-title .ui-icon{width:26px;height:26px}.rogue-summary b{color:var(--summary-negative,#8f271c)}.rogue-summary-hint{color:var(--text-sub,var(--ink))}.palette-item .palette-broken img{width:100%;height:100%}.boss-panel{height:100%;min-height:0;font-size:26px;line-height:1.15;container-type:size}.boss-panel p{margin:0}.boss-panel button{font-size:26px}.world[data-phase] .menu-content.menu-content-paper{--text-main:var(--ink);--text-sub:var(--wood);--muted:var(--wood);border:8px solid var(--wood);background:var(--paper);color:var(--text-main);border-image:}.boss-wardrobe{grid-template-columns:216px 160px minmax(0,1fr);grid-template-areas:"stage parts closet";gap:8px;height:100%;min-height:0;display:grid}.boss-stage{background:#3b3550;border:3px solid #2a1a10;grid-area:stage;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid;position:relative;overflow:hidden}.boss-stage:after{content:"";background:repeating-linear-gradient(90deg,#4a4462 0 30px,#433d5a 30px 60px);border-top:3px solid #2a2440;height:24%;position:absolute;bottom:0;left:0;right:0}.boss-name{z-index:1;box-sizing:border-box;white-space:nowrap;max-width:calc(100% - 16px);color:var(--ink);background:var(--paper);border:3px solid var(--wood);justify-self:center;align-items:baseline;gap:8px;margin:8px 8px 0;padding:0 13px;font-size:39px;line-height:1.25;display:flex;position:relative;box-shadow:0 3px #2a1a10}.boss-name-role{color:var(--wood-light);font-size:26px}.boss-figure-box{z-index:1;justify-content:center;align-items:flex-end;min-height:0;padding-bottom:4px;display:flex;position:relative}.boss-figure{image-rendering:pixelated;display:block}.boss-turn{z-index:1;justify-content:space-between;align-items:center;gap:4px;padding:0 8px 8px;display:flex;position:relative}.world .boss-turn-b{flex:none;place-items:center;width:52px;min-width:52px;height:52px;min-height:52px;padding:0;display:grid}.boss-turn-ico{width:32px;height:32px;image-rendering:pixelated}.boss-mirror{transform:scaleX(-1)}.boss-turn-label{color:var(--paper);white-space:nowrap;text-shadow:0 2px #2a2440}.boss-parts{flex-direction:column;grid-area:parts;gap:4px;min-width:0;min-height:0;display:flex;overflow-y:auto}.world .boss-parts>button{text-align:left;min-width:0;min-height:0;color:var(--ink);background:#f6ead0;border:3px solid #c9a978;border-image:;flex:none;align-items:center;gap:8px;padding:4px 8px;display:flex}.world .boss-parts>button:hover{background:#f1e4c4}.world .boss-parts>button[aria-selected=true]{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--brass);background:#f8efd8}.boss-part-icon{width:32px;height:32px;image-rendering:pixelated;flex:none}.boss-part-text{flex-direction:column;flex:1;min-width:0;display:flex}.boss-part-text>*{white-space:nowrap}.boss-part-now{text-overflow:ellipsis;min-width:0;color:var(--wood-light);overflow:hidden}.boss-closet{grid-area:closet;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;min-height:0;display:grid}.boss-closet-head{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.boss-closet-head h3{margin:0;font-size:26px}.boss-closet-head>span{color:var(--wood-light);white-space:nowrap}.boss-tiles{overscroll-behavior:contain;flex-wrap:wrap;align-content:flex-start;gap:6px;min-height:0;display:flex;overflow-y:auto}.boss-tile-list{display:contents}.world .boss-tile{width:66px;min-width:0;height:66px;min-height:0;color:var(--ink);background:#e8d8b4;border:3px solid #b8946a;border-image:;flex:none;align-content:center;place-items:center;padding:0;display:grid;overflow:hidden;box-shadow:inset 2px 2px #fff6dc}.world .boss-tile:hover{background:#f1e4c4}.world .boss-tile[aria-selected=true]{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--brass);background:#f8efd8}.boss-tile canvas{image-rendering:pixelated;display:block}.boss-tile-name{white-space:nowrap;display:none}.world .boss-shop{box-shadow:none;color:var(--wood-light);background:0 0;border:3px dashed #b8946a}.world .boss-shop:hover{border-color:var(--wood-light);background:#f1e4c4}.world .boss-shop{gap:6px;width:auto;padding:0 13px;display:flex}.world .boss-shop .ui-icon{width:32px;height:32px}.boss-shop .boss-tile-name{display:block}.boss-colors{flex-wrap:wrap;min-height:44px;display:flex}.world .boss-swatch{background:0 0;border:0;border-image:;place-items:center;width:40px;min-width:40px;height:44px;min-height:44px;padding:0;display:grid}.boss-swatch>span{box-sizing:border-box;border:3px solid #2a1a10;width:28px;height:28px;display:block;box-shadow:inset 2px 2px #ffffff59}.boss-swatch[aria-pressed=true]>span{outline:3px solid var(--ink);outline-offset:2px}.boss-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.boss-msg{min-width:0;color:var(--wood-light);white-space:nowrap;flex:1}.boss-error{color:var(--red);white-space:normal}.world .boss-actions>button{white-space:nowrap;padding:0 13px}@container (height>=560px){.boss-wardrobe{grid-template:"stage closet"minmax(0,1fr)"parts closet"/minmax(0,300px) minmax(0,1fr);gap:13px}.boss-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.boss-closet{gap:8px}.boss-closet-head h3{font-size:39px}.boss-tiles{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));grid-auto-rows:176px;align-content:start;gap:8px;display:grid}.world .boss-tile{grid-template-rows:120px auto;gap:4px;width:auto;height:176px;padding:8px 0 6px}.boss-tile-name{display:block}.world .boss-shop{padding:8px 0 6px;display:grid}.world .boss-shop .ui-icon{width:64px;height:64px;margin:28px 0}.boss-name{font-size:52px}.world .boss-swatch{width:44px}}.boss-skills{flex-direction:column;gap:8px;height:100%;display:flex;overflow-y:auto}.boss-skills-help{white-space:normal;overflow-wrap:anywhere;flex:none;font-size:26px;line-height:1.3}.boss-skills ul{flex:1 1 0;grid-template-rows:repeat(3,minmax(min-content,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.boss-skill{background:#f6ead0;border:3px solid #c9a978;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon name level""bar bar bar""xp xp xp";align-content:center;align-items:center;gap:4px 8px;min-width:0;min-height:0;padding:6px 10px;display:grid}.boss-skill-icon{background:#e8d8b4;border:2px solid #c9a978;grid-area:icon;place-items:center;width:48px;height:48px;display:grid}.world .boss-skill-icon .ui-icon{width:48px;height:48px;image-rendering:pixelated}.boss-skill-name{white-space:nowrap;grid-area:name}.boss-skill-level{white-space:nowrap;color:var(--wood-light);grid-area:level}.boss-skill-level>b{color:var(--ink);margin-right:2px;font-size:39px;font-weight:400}.boss-skill progress{appearance:none;border:2px solid var(--wood-light);background:var(--paper);box-sizing:border-box;grid-area:bar;width:100%;height:14px;margin:0}.boss-skill progress::-webkit-progress-bar{background:var(--paper)}.boss-skill progress::-webkit-progress-value{background:var(--brass)}.boss-skill progress::-moz-progress-bar{background:var(--brass)}.boss-skill-xp{white-space:nowrap;color:var(--wood-light);grid-area:xp;justify-self:end}.boss-skill[data-fresh] .boss-skill-level>b{color:var(--wood-light)}.boss-skill[data-max]{border-color:var(--brass);background:#f2d98a;box-shadow:inset 0 0 0 2px #fff3c4}.boss-skill[data-max] .boss-skill-icon{border-color:var(--brass);background:#fff3c4}.boss-skill[data-max] progress{border-color:var(--wood)}.boss-skill[data-max] .boss-skill-xp{color:var(--ink)}@container (height>=560px){.boss-skills ul{gap:13px}.boss-skill{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"icon icon""name level""bar bar""xp xp";row-gap:6px;padding:10px 16px}.boss-skill-icon{justify-self:center;width:72px;height:72px}.world .boss-skill-icon .ui-icon{width:64px;height:64px}.boss-skill-level>b{font-size:52px}.boss-skill-xp{justify-self:center}.boss-skill progress{height:18px}}.mall-panel{flex-direction:column;gap:8px;height:100%;min-height:0;font-size:26px;line-height:1.15;display:flex;position:relative}.mall-panel h3{margin:0 0 4px;font-size:26px}.mall-panel p{margin:0}.mall-bar{flex:none;justify-content:space-between;align-items:center;gap:13px;display:flex}.mall-bar>[role=tablist]{gap:4px;display:flex}.mall-bar [role=tab]{padding:2px 13px;font-size:26px}.mall-bar [role=tab][aria-selected=true]{background:var(--paper);box-shadow:inset 0 -4px 0 var(--brass);border-image-source:none}.mall-coin{white-space:nowrap;color:var(--text-sub)}.mall-scroll{overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow:auto}.mall-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:6px;display:grid}.mall-item{background:#f6ead0;border:2px solid #c9a978;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:4px 8px;display:grid}.mall-item[data-owned=true]{background:#e6dcc4}.mall-tile{box-sizing:border-box;background:#e8d8b4;border:3px solid #b8946a;flex:none;place-items:center;width:66px;height:66px;display:grid;box-shadow:inset 2px 2px #fff6dc}.mall-tile canvas{image-rendering:pixelated;display:block}.mall-item-text{flex-direction:column;min-width:0;display:flex}.mall-item-text>*{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mall-item-text>span{color:var(--text-sub)}.mall-item button{white-space:nowrap;padding:0 8px;font-size:26px}.mall-owned{white-space:nowrap;color:#2f6b3a;padding:0 4px}.mall-confirm-backdrop{z-index:2;background:#100a1880;place-items:center;display:grid;position:absolute;inset:0}.mall-confirm{box-sizing:border-box;text-align:center;flex-direction:column;align-items:center;gap:8px;max-width:min(560px,100%);padding:13px 26px;display:flex}.mall-confirm .mall-tile{width:96px;height:96px}.mall-confirm-actions{gap:13px;display:flex}.mall-confirm-actions button{padding:0 13px;font-size:26px}.mall-error{color:var(--red)}.staff-stations{flex-wrap:wrap;gap:8px;width:100%;min-width:0;display:flex}.staff-stations .staff-station{flex:0 0 80px;justify-content:center;align-items:center;gap:2px;width:80px;min-width:0;height:80px;padding:6px;font-size:20px;line-height:1;display:flex;position:relative}.staff-station[aria-pressed=true]{outline-offset:-3px;background:#ffe3ab;outline:3px solid #9e244d}.staff-station-object{object-fit:contain;width:48px;height:48px;image-rendering:pixelated}.staff-station-number{color:#342315;background:#f6e4be;font-family:system-ui,sans-serif;font-size:20px;position:absolute;top:3px;left:4px}.staff-station-face{background:#efd9b0;border:1px solid #815735;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;bottom:2px;right:2px;overflow:hidden}.staff-station-face .staff-romance-portrait{width:28px;height:28px}.staff-station-face .staff-romance-sprite{zoom:.58}.staff-station-current{color:#fff7d6;background:#9e244d;padding:2px;font-size:16px;position:absolute;bottom:1px;left:2px}.staff-assignment-result{overflow-wrap:anywhere;flex-basis:100%;min-height:1.2em;margin:4px 0}.staff-panel .panel-content{min-width:0;overflow:hidden auto}.staff-panel .staff-row{flex-wrap:wrap}.staff-panel .station-badge{overflow-wrap:anywhere;min-width:0}.staff-panel .staff-stats-side{white-space:normal;overflow-wrap:anywhere;max-width:10em}@media (width<=900px){.staff-panel .staff-stats-card{grid-template-columns:auto minmax(0,1fr);gap:8px}.staff-panel .staff-stats-side{max-width:none;font-size:var(--ui-text);flex-direction:row;grid-column:1/-1;justify-content:space-between}.staff-panel .staff-stats-head,.staff-panel .staff-stat{gap:4px}}.staff-stars{letter-spacing:0;color:#8f8578;white-space:nowrap;font-size:26px;line-height:1;display:inline-flex}.staff-stars .on{color:#f2b630;text-shadow:0 2px #7a4e2e}.staff-stats{gap:4px;display:grid}.staff-stat{grid-template-columns:4em minmax(0,1fr) 1.2em;align-items:center;gap:8px;font-size:26px;line-height:1.1;display:grid}.staff-stat-label{white-space:nowrap}.staff-stat-bar{grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;height:16px;display:grid}.staff-stat-bar i{background:#d9c7a3;box-shadow:inset 0 -2px #b59263}.staff-stat-bar i.on{background:#e88a5a;box-shadow:inset 0 -3px #a8502e}.staff-stat:nth-child(2) .staff-stat-bar i.on{background:#5a9a4a;box-shadow:inset 0 -3px #3f6b33}.staff-stat:nth-child(3) .staff-stat-bar i.on{background:#d9628f;box-shadow:inset 0 -3px #9e244d}.staff-stat-value{text-align:right}.staff-tag{color:#9e244d;white-space:nowrap;background:#ffe3ec;border:2px solid #9e244d;padding:2px 8px;font-size:26px;line-height:1}.recruit-dialog.customer-dialog{width:min(1100px,100%);padding:13px 26px}.recruit-dialog .customer-dialog-heading h2 small{color:var(--text-sub);margin-left:13px;font-size:26px}.recruit-dialog .customer-dialog-content{display:block}.recruit-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:13px;display:grid}.recruit-card{min-width:0;height:392px;position:relative}.recruit-card-inner{height:100%;position:relative}.recruit-card[data-revealed=false] .recruit-card-front,.recruit-card[data-revealed=true] .recruit-card-back{visibility:hidden}.recruit-card[data-revealed=true][data-flip=true] .recruit-card-back{visibility:visible;animation:.35s ease-in both recruit-wipe}@keyframes recruit-wipe{0%{clip-path:inset(0)}to{clip-path:inset(0 0 0 100%);visibility:hidden}}.recruit-card-front{box-sizing:border-box;background:#fff6e2;border:4px solid #815735;flex-direction:column;gap:6px;height:100%;padding:10px 12px;display:flex;overflow:hidden}.world .recruit-card-front.pixel-panel{color:var(--ink,#4a2e1c);border-image:}.recruit-card-back{z-index:1;background:repeating-linear-gradient(45deg,#9a5b34 0 12px,#86492a 12px 24px);border:4px solid #4a2e1c;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.recruit-card-back span{color:#ffd27a;text-shadow:0 4px #4a2e1c;font-size:52px;line-height:1}.recruit-card-head{align-items:center;gap:12px;display:flex}.recruit-card-head>div{flex-direction:column;gap:4px;min-width:0;display:flex}.recruit-card-head strong{font-size:26px;line-height:1.1}.recruit-face{background:#efd9b0;border:2px solid #b59263;flex:none;justify-content:center;align-items:center;width:64px;height:64px;display:flex;overflow:hidden}.recruit-face .staff-avatar{zoom:2}.recruit-wage,.recruit-intro{margin:0;font-size:26px;line-height:1.25}.world .recruit-card p{font-size:26px}.recruit-intro{color:#6b4a30;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;flex:1 1 0;min-height:0;display:-webkit-box;overflow:hidden}.recruit-hire{align-items:center;gap:8px;display:flex}.recruit-hire button{flex:none;font-size:26px}.world .recruit-hire select{flex:none;width:160px;font-size:26px}.recruit-error{color:#b73224}.recruit-card[data-hired=true] .recruit-card-front{filter:saturate(.5);background:#e6dccb}.recruit-card[data-stars="4"][data-revealed=true] .recruit-card-front{border-color:#f2c94c;box-shadow:0 0 0 2px #fff4c2,0 0 10px 3px #f2c94caa}.recruit-card[data-stars="5"][data-revealed=true] .recruit-card-front{background:#fffaf0;border-color:#ffd84a;box-shadow:0 0 0 3px #fffbe6,0 0 10px 5px #ffd84acc,0 0 18px 8px #ff9f3a88}.recruit-card[data-stars="5"][data-revealed=true][data-flip=true] .recruit-card-front{animation:.9s ease-out .35s backwards recruit-flash,1.6s ease-in-out 1.25s infinite alternate recruit-shine}.recruit-card[data-stars="4"][data-revealed=true][data-flip=true] .recruit-card-front{animation:.9s ease-out .35s backwards recruit-flash}@keyframes recruit-shine{0%{box-shadow:0 0 0 3px #fffbe6,0 0 10px 5px #ffd84acc,0 0 18px 8px #ff9f3a88}to{box-shadow:0 0 0 3px #fffbe6,0 0 14px 7px #fff0a0ee,0 0 24px 11px #ffb84aaa}}@keyframes recruit-flash{0%{filter:brightness(1.5)}to{filter:none}}.staff-stats-card{border-bottom:2px solid #a98760;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:8px 12px;display:grid}.staff-stats-face{background:#efd9b0;border:2px solid #b59263;justify-content:center;align-items:center;width:64px;height:64px;display:flex;overflow:hidden}.staff-stats-face .staff-avatar{zoom:2}.staff-stats-main{gap:4px;min-width:0;display:grid}.staff-stats-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.staff-stats-head strong{font-size:26px}.staff-stats-side{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:4px;font-size:26px;display:flex}.staff-stats-card[data-stars="4"] .staff-stats-face{border-color:#f2c94c;box-shadow:0 0 8px 2px #f2c94caa}.staff-stats-card[data-stars="5"] .staff-stats-face{border-color:#ffd84a;box-shadow:0 0 12px 4px #ffd84acc}.staff-stats-wrap{container-type:inline-size}@container (width>=820px){.staff-stats-card .staff-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.staff-stats-card .staff-stat{grid-template-columns:auto minmax(48px,1fr) 1.2em;gap:6px}}.staff-card-row{position:relative}.staff-card-toggle{cursor:pointer;width:100%;margin:0;padding:0;position:absolute;inset:0;box-shadow:none!important;background:0 0!important;border:0!important;border-image:!important}.staff-card-toggle:focus-visible{outline-offset:-3px;outline:3px solid #ffd84d}.staff-romance-portrait{width:64px;height:64px;image-rendering:pixelated;display:block}.staff-romance-sprite{width:48px;height:48px;image-rendering:pixelated;zoom:2;background-repeat:no-repeat;flex:none;display:inline-block}.worker-identity .staff-romance-sprite{zoom:1.5}.worker-tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.worker-card .staff-stats{padding:0 8px 8px}.object-controls .staff-romance-portrait{width:36px;height:36px}.object-controls .staff-romance-sprite{zoom:.75}:root{--wood:#4a2e1c;--wood-light:#7a4e2e;--brass:#c8a050;--paper:#efe2c4;--ink:#3a2418;--red:#c8402c;--button:#a8703f;--button-pressed:#7a4e2e;--button-disabled:#b8a48a;--background:var(--wood);--panel:var(--paper);--surface:var(--paper);--text:var(--ink);--muted:var(--wood);--accent:var(--brass);color:var(--text);background:var(--background);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-smoothing:none;font-smooth:never;font:26px/1.3 monospace}@font-face{font-family:"Cubic 11";src:url(/fonts/Cubic_11.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:DianDian Pixel;src:url(/fonts/DianDianPixel-Square.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}html.font-ready{font-family:DianDian Pixel,"Cubic 11",monospace}.pixel-panel{background:var(--paper);border:8px solid var(--wood);box-shadow:none;image-rendering:pixelated;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAmUlEQVR4nGNkYGBgkBDT+M9AA/Di1Q1GRpDhRhJfaGE+w7kXPAwsyBxqAiOoo+EWgMCGLg2GTevuUWSwX5ASQ0DZDTgfxQKQ4XWL1lFkQVNcEAofxQIQ+P7pBQM1ARNVTcMCRi0gCEYtIAhGLSAIRi0YeAtY0CuL7pwsigz0C1JimHcCUeHA62RaVJnnkOtkWlX8jCCCls0WACVvK1O/kaQdAAAAAElFTkSuQmCC) 8 fill/8px;border-radius:0}button,input,select,textarea{font:inherit;color:var(--ink);border-radius:0}button{border:8px solid var(--wood);background:var(--button);min-height:44px;image-rendering:pixelated;cursor:pointer;color:#160e08;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAYklEQVR4nGNkYGBgkBDT+M9AA/Di1Q1GFpDhE6LEaWE+Q8Eyhv8sMI6MnCRVDX/y6DmYZkEXoDZgoompSGDUAoJg1AKCYNQCgmDUAoJg1IKBt4AFRFy6937o+oARRNCy2QIA0m0U7sibqXIAAAAASUVORK5CYII=) 8 fill/8px;padding:4px 10px}button:hover{color:#160e08;text-underline-offset:3px;text-decoration:underline}button:active,button[aria-pressed=true]{background:var(--button-pressed);color:#fff9ec;border-image-source:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAWklEQVR4nGNgoDFgBBESYhr/aWH4i1c3GBlBhidZsNHCfIZ5J34xsMA4ekqCVDX80r33YJoFXYDagIkmpiKBUQsIglELCIJRCwiCUQsIglELRoAFjCCClq0KACuyEiTGfjteAAAAAElFTkSuQmCC)}button:disabled{background:var(--button-disabled);color:#6b5a48;cursor:default;border-color:#7a4e2e;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAYklEQVR4nGNkYGBgkBDT+M9AA/Di1Q1GRpDhYUERtDCfYdW6FQwsMI6cnBxVDX/06BGYZkEXoDZgoompSGDUAoJg1AKCYNQCgmDUAoJg1IKBt4AFRDx79mTo+oARRNCy2QIA3yIU3w6MaV0AAAAASUVORK5CYII=) 8/8px;text-decoration:none}.px-bold{text-shadow:1px 0;font-weight:400}h1,h2,h3,h4,h5,h6,strong,b{font-weight:400}html{font-synthesis:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ink);outline-offset:2px}input,select,textarea{border:2px solid var(--wood-light);background:var(--paper)}input,select{width:100%;min-width:0;min-height:44px;padding:4px 6px}img,canvas{image-rendering:pixelated}.regulars-list li{align-items:center;gap:8px;display:flex}.regulars-list li>button:first-child{flex:1;min-width:0}.regulars-list .regular-chat{white-space:nowrap;flex:none;width:auto;margin-left:auto}.confess-block{margin:0}.story-player{z-index:1200;color:var(--ink);font-size:26px;line-height:1.25;position:fixed;inset:0}.story-map-tap{touch-action:manipulation;position:absolute;inset:0}.story-skip{top:max(8px,var(--safe-top));right:max(8px,var(--safe-right));font-size:26px;position:absolute}.story-player-panel{--story-panel-height:240px;--story-portrait-size:128px;left:var(--safe-left);right:var(--safe-right);bottom:max(8px,var(--safe-bottom));width:min(calc(100% - 16px - var(--safe-left) - var(--safe-right)),1040px);box-sizing:border-box;height:var(--story-panel-height);min-height:120px;max-height:calc(100% - 144px - max(8px,env(safe-area-inset-bottom)));outline:none;grid-template-columns:minmax(0,1fr);gap:12px;margin-inline:auto;padding:8px 12px;display:grid;position:absolute;overflow:auto}.story-player-panel.has-portrait{grid-template-columns:minmax(0,1fr) calc(var(--story-portrait-size) + 16px)}.story-speaker{flex-direction:column;align-self:end;gap:4px;min-width:0;display:flex}.story-portrait-frame{display:flex}.story-speaker .story-who{text-align:center;overflow-wrap:anywhere;padding:2px 0}.story-player-panel .chat-portrait,.story-player-panel .chat-pixel-head{width:var(--story-portrait-size);height:var(--story-portrait-size);object-fit:contain;box-shadow:none}.story-player-panel .chat-pixel-head{background-size:calc(var(--story-portrait-size) * 6) calc(var(--story-portrait-size) * 12);background-position:calc(var(--story-portrait-size) * -59 / 24) calc(var(--story-portrait-size) * -7 / 12)}.story-body{flex-direction:column;min-width:0;display:flex}.story-body p{overflow-wrap:anywhere;margin:0}.story-who,.story-player .story-body p,.story-choices button,.story-error button{font-size:26px;line-height:1.25}.story-narr,.story-hint{color:var(--muted)}.story-line:not(.story-narr){color:var(--text-main,var(--ink))}.story-line{white-space:pre-wrap;min-height:1.25em}.story-untyped{visibility:hidden}.story-body .story-hint{text-align:right;margin-top:auto;padding-top:8px}.story-choices{gap:6px;margin-top:6px;display:grid}.story-choices button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:44px}.story-error{margin-top:6px}.story-error button{margin-top:4px}@media (width>=700px){.story-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<700px){.story-player-panel{--story-panel-height:448px}}@media (height<500px){.story-player-panel{--story-panel-height:208px;--story-portrait-size:96px}}@media (width<480px){.story-player-panel{--story-portrait-size:80px}}.story-player-panel .chat-pixel-head[data-special]{background-position-y:calc(var(--story-portrait-size) * -11 / 24)}:root{--menu-sold:#8f8578;--menu-prep:#e88a5a;--menu-ready:#f2c94c;--ui-on:#5a9a4a;--ui-white:#fff9ec}*{box-sizing:border-box}body{overflow-wrap:anywhere;margin:0}canvas{display:block}h1,h2,h3,h4,h5,h6{text-wrap:balance;font-size:39px;line-height:1.2}h1{margin:0 0 16px;font-size:39px}h2{overflow-wrap:anywhere;margin:8px 0;font-size:39px}p{max-width:70ch;color:var(--muted);margin:6px 0}small{font-size:26px}label{flex-direction:column;gap:4px;display:flex}fieldset{border:0;flex-direction:column;gap:8px;min-width:0;margin:6px 0;padding:0;display:flex}dl{grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0;display:grid}dd{color:var(--ink);margin:0;font-weight:400}dt{color:var(--muted)}.actions,.heading-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.heading-row{justify-content:space-between}.warning,[role=alert]{color:#8f271c}.app-shell{height:100dvh;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);overflow:auto}.page{max-width:1000px;margin:20px auto;padding:24px}.title-screen{isolation:isolate;text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;min-height:100dvh;padding:clamp(24px,12vh,110px) 24px 24px;display:flex;position:relative}.title-sign{padding:24px 64px}.title-sign h1{color:var(--ink);letter-spacing:.1em;font-size:39px}.english{color:var(--red);font-size:26px}.title-screen>.primary{min-width:240px}.title-screen>p,.world>p[role=status]{color:var(--paper)}.avatar-layout{grid-template-columns:1fr 1.4fr;gap:24px;display:grid}.avatar-layout form{grid-template-columns:1fr 1fr;gap:10px;display:grid}.avatar-layout form>label:first-child{grid-column:1/-1}.avatar-preview{flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.avatar-canvas{width:96px;height:192px}.avatar-gender{grid-column:1/-1}.avatar-gender button[aria-pressed=true]{outline:2px solid var(--brass);outline-offset:1px}.avatar-stepper{min-width:0}.stepper-controls{align-items:center;gap:4px;display:flex}.stepper-controls>span{text-align:center;flex:1}.stepper-controls button{flex-shrink:0;min-width:44px;padding:2px 6px}.avatar-swatch{border:1px solid var(--wood);vertical-align:middle;width:16px;height:16px;margin-right:4px;display:inline-block}.districts{grid-template-columns:1fr 1fr;gap:24px;display:grid}.districts>section{border:2px solid var(--wood-light);padding:16px}.district-art{position:relative;overflow:hidden}.district-closed{background:var(--button-disabled)}.district-closed .district-preview{filter:grayscale();opacity:.7}.district-coming-soon{text-align:center;background:var(--red);color:#fff;width:120%;padding:8px 0;font-size:26px;line-height:1.3;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-12deg)}.world{--hud-bottom:120px;--nav-height:88px;--palette-height:204px;height:100%;position:relative;overflow:hidden}.world-canvas{touch-action:none;position:absolute;inset:0}.lease-panel{right:12px;top:var(--hud-bottom);bottom:calc(var(--nav-height) + 8px);overscroll-behavior:contain;width:380px;padding:10px;position:absolute;overflow:auto}.close{float:right}.lease-panel h2{clear:both}.lease-panel fieldset button{padding:4px 8px}.drawer{right:12px;top:var(--hud-bottom);bottom:calc(var(--nav-height) + 8px);width:380px;max-width:calc(60vw / var(--ui-zoom,1));overscroll-behavior:contain;z-index:4;padding:12px;animation:.18s ease-out drawer-in;position:absolute;overflow:auto}.world--edit .drawer{bottom:calc(var(--palette-height) + 16px)}@keyframes drawer-in{0%{opacity:.6;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.drawer>button{float:right}.drawer h2{clear:both}.staff-panel{padding:10px}.staff-panel label{margin:8px 0}.slot-chart{align-items:flex-end;gap:4px;height:76px;display:flex}.slot-chart>div{background:var(--brass);flex:1}.ledger-row{border-bottom:1px solid var(--wood-light);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.ledger-row small{display:block}.rotate-hint{text-align:center;z-index:1000;place-items:center;padding:28px;font-size:26px;display:grid;position:fixed;inset:0}.global-error,.network-banner{left:12px;top:var(--hud-bottom,84px);z-index:6;background:var(--panel);max-width:400px;padding:10px;position:absolute}.network-banner button{margin-left:8px}.global-error{position:fixed;top:auto;bottom:12px}.metrics{left:12px;top:var(--hud-bottom);z-index:5;width:260px;max-height:65%;padding:8px;position:absolute;overflow:auto}.metrics button{padding:4px}.metrics textarea{width:100%;height:70px}.stress-label{background:var(--paper);color:var(--ink);padding:4px 8px;position:absolute;bottom:94px;left:12px}.ui-icon{vertical-align:middle;width:16px;height:16px;margin-right:4px}@media (height<=500px){.page{margin:8px;padding:12px}.avatar-layout{gap:16px}.avatar-layout form{gap:4px}.world{--hud-bottom:116px;--nav-height:80px;--palette-height:120px}.lease-panel{width:380px;padding:6px;right:8px}.drawer{padding:8px;right:8px}.metrics{max-height:70%}.stress-label{bottom:76px}.title-sign{padding:12px 48px}.title-screen{gap:8px}}@media (prefers-reduced-motion:reduce){.drawer{animation:none}}.floating-panel{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.panel-content{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;padding:8px;scroll-padding:8px;overflow:auto}.panel-footer{background:var(--paper);border-top:1px solid var(--wood-light);z-index:1;flex:none;align-items:stretch;gap:4px;padding:4px;display:flex;position:sticky;bottom:0}.panel-footer>button{flex:1;min-width:0;padding:4px 6px}.panel-footer>.primary{flex:2}.lease-figures{grid-template-columns:minmax(0,1fr);gap:6px 12px}.lease-figures>div{min-width:0}@media (height<=500px){.floating-panel .panel-content{padding:6px}.floating-panel h2{margin:2px 0 6px;font-size:39px}.lease-panel fieldset{gap:4px;margin:4px 0}.lease-panel fieldset .actions{gap:4px}.lease-panel fieldset button{flex:1;padding:2px 4px}.lease-figures{gap:4px 8px;margin:6px 0}.panel-footer{gap:3px;padding:3px}.panel-footer>button{padding:2px 4px}}.title-art{object-fit:cover;width:100%;height:100%;image-rendering:pixelated;z-index:-1;position:absolute;inset:0}.title-screen{overflow:hidden}.home-stage{aspect-ratio:16/9;width:max(100vw,177.778dvh);height:auto;image-rendering:pixelated;z-index:-1;background:#141a33;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.district-preview{aspect-ratio:16/9;width:100%;height:auto;image-rendering:pixelated;display:block}button{white-space:normal;overflow-wrap:normal;word-break:keep-all;line-height:1.2}.panel-footer>button{line-height:1.2}.staff-panel .panel-footer>button:first-child{flex:2}.ledger-row{flex-wrap:wrap}.ledger-row>*{min-width:0}@media (width<=700px){.page{margin:8px;padding:12px}.avatar-layout,.avatar-layout form,.districts{grid-template-columns:minmax(0,1fr)}.title-sign{padding:16px}}.shortcut-key{font-size:26px}.key-hint{display:none}@media (hover:hover) and (pointer:fine) and (height>=501px){.key-hint{display:inline}}.audio-panel{width:min(560px,100% - 16px)}.audio-sliders{gap:8px;display:grid}.audio-sliders label{grid-template-columns:150px minmax(0,1fr) 3ch;align-items:center;gap:8px;display:grid}.audio-sliders output{font-variant-numeric:tabular-nums;text-align:right}.audio-sliders input[type=range]{appearance:none;cursor:pointer;background:0 0;border:0;min-height:44px;padding:0}.audio-sliders input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--wood-light) var(--volume-fill),var(--paper) var(--volume-fill));height:8px;box-shadow:0 0 0 2px var(--wood)}.audio-sliders input[type=range]::-moz-range-track{background:linear-gradient(to right,var(--wood-light) var(--volume-fill),var(--paper) var(--volume-fill));height:8px;box-shadow:0 0 0 2px var(--wood)}.audio-sliders input[type=range]::-webkit-slider-thumb{appearance:none;box-sizing:border-box;border:2px solid var(--wood);background:var(--brass);width:16px;height:24px;box-shadow:inset 2px 2px 0 var(--paper);border-radius:0;margin-top:-8px}.audio-sliders input[type=range]::-moz-range-thumb{box-sizing:border-box;border:2px solid var(--wood);background:var(--brass);width:16px;height:24px;box-shadow:inset 2px 2px 0 var(--paper);border-radius:0}.audio-mute{min-height:44px;margin-top:8px}@media (height<=499px){.audio-panel .panel-content{padding:4px 12px}.audio-sliders{gap:0}.audio-mute{margin-top:0}.audio-panel h2{margin:0!important}}.shortcut-list{max-height:calc(35vh / var(--ui-zoom,1));gap:8px;margin:8px 0;font-size:26px;display:grid;overflow:auto}.shortcut-list>div{grid-template-columns:max-content minmax(52px,1fr);align-items:start;gap:8px;display:grid}.shortcut-list dt,.shortcut-list dd{margin:0;line-height:1.3}.shortcut-list kbd{font:inherit;white-space:nowrap;border:2px solid var(--wood);box-shadow:0 2px 0 var(--wood-light);background:#c8a050;padding:0 3px;display:inline-block}.unit{white-space:nowrap;overflow-wrap:normal;word-break:keep-all;display:inline-block}.drawer .panel-footer,.lease-panel .panel-footer{flex-wrap:wrap}.drawer .panel-footer>button,.lease-panel .panel-footer>button{flex:auto;max-width:100%}button:active:not(:disabled){translate:0 1px}.panel-presence{display:contents}.panel-presence[data-motion=enter] .floating-panel{animation:.12s ease-out both panel-enter}.panel-presence[data-motion=exit] .floating-panel{pointer-events:none;animation:.12s ease-in both panel-exit}@keyframes panel-enter{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}@keyframes panel-exit{0%{opacity:1;translate:0}to{opacity:0;translate:0 8px}}.hud-gain{width:6px;height:6px;image-rendering:pixelated;pointer-events:none;animation:.8s steps(4,end) forwards coin-strip,.8s ease-out forwards coin-rise;position:absolute;top:0;right:0;scale:3}@keyframes coin-strip{to{background-position:-24px 0}}@keyframes coin-rise{0%{opacity:1;translate:0}to{opacity:0;translate:0 -18px}}@media (prefers-reduced-motion:reduce){.panel-presence[data-motion] .floating-panel{animation:none;translate:none}.panel-presence[data-motion=exit] .floating-panel{opacity:0}.hud-gain{animation:none;display:none}button:active:not(:disabled){translate:none}}.staff-avatar{width:32px;height:32px;image-rendering:pixelated;vertical-align:middle;background-repeat:no-repeat;display:inline-block}.edit-popover{z-index:20;max-width:min(680px,100% - 16px);max-height:calc(100% - 152px);padding:8px;position:absolute;top:72px;right:8px;overflow:auto}.edit-popover p{margin:4px 0}.edit-popover .shortcut-list{margin:0}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.map-price{pointer-events:none;background:var(--paper);color:var(--ink);white-space:normal;overflow-wrap:anywhere;flex-direction:column;display:flex;position:absolute}.world{--safe-top:calc(env(safe-area-inset-top,0px) / var(--ui-zoom));--safe-right:calc(env(safe-area-inset-right,0px) / var(--ui-zoom));--safe-bottom:calc(env(safe-area-inset-bottom,0px) / var(--ui-zoom));--safe-left:calc(env(safe-area-inset-left,0px) / var(--ui-zoom));--text-main:var(--ink);--text-sub:var(--wood);--ui-text:26px;--ui-icon:32px;--frame-slice:4;--frame-width:8px;font-size:var(--ui-text);--ui-tip-text:13px}.world[data-ui-size=large]{--ui-text:39px;--ui-icon:48px;--ui-tip-text:var(--ui-text)}@property --safe-top{syntax:"<length>";inherits:true;initial-value:0}@property --safe-right{syntax:"<length>";inherits:true;initial-value:0}@property --safe-bottom{syntax:"<length>";inherits:true;initial-value:0}@property --safe-left{syntax:"<length>";inherits:true;initial-value:0}.world{--ui-zoom:1;zoom:var(--ui-zoom)}@media (height<=500px){.world{--ui-zoom:.75}}@media (height<=500px) and (resolution>=2.5x){.world{--ui-zoom:calc(2/3)}}.world-canvas,.world:not([data-ui-size=large]) :is(.edit-popover,.worker-card,.sale-toast,.category-picker,.object-controls,.map-price){zoom:calc(1 / var(--ui-zoom))}.world[data-phase=night]{--text-main:#efe2c4;--text-sub:#e3c79d;--muted:var(--text-sub)}.world h2,.world p,.world small,.world .shortcut-list,.world kbd{font-size:var(--ui-text)}.world .pixel-panel{border-width:var(--frame-width);border-image:var(--frame-image) var(--frame-slice) fill / var(--frame-width) / 0 stretch;color:var(--text-main)}.world[data-phase=night] .pixel-panel{border-image:var(--frame-image) var(--frame-slice) fill / var(--frame-width) / 0 stretch;background:#382316}.world button{border-width:var(--frame-width);border-image-source:var(--button-image);border-image-slice:var(--frame-slice) fill;border-image-width:var(--frame-width);min-width:44px;min-height:44px}.world button:active,.world button[aria-pressed=true]{border-image-source:var(--button-pressed-image)}.world button:disabled{border-image-source:var(--button-disabled-image)}.world button:active:not(:disabled)>*{transform:translateY(2px)}.world :is(strong,b),.world dd{color:var(--text-main)}.world .warning,.world [role=alert]{color:#ffbc9e}.world[data-phase=day] .warning,.world[data-phase=day] [role=alert]{color:#8f271c}.world .ui-icon{width:var(--ui-icon);height:var(--ui-icon);object-fit:contain;flex:none;margin:0}.icon-button{flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:4px;display:inline-flex;position:relative}.icon-button .ui-icon{object-fit:contain;width:32px;height:32px;margin:0}.boss-head-icon{image-rendering:pixelated;background-position:50%;background-repeat:no-repeat;flex-shrink:0;display:inline-block}.market-sign{right:calc(var(--safe-right) + 8px);top:calc(var(--safe-top) + 8px);width:max-content;max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);z-index:2;pointer-events:none;padding:2px 6px;position:absolute}.sign-clock,.sign-numbers{white-space:nowrap;align-items:center;gap:12px;display:flex}.sign-clock svg{shape-rendering:crispedges;flex:none;width:48px;height:32px}.sign-clock time{margin-left:auto}.sign-clock>.ui-icon{width:24px;height:24px}.sign-numbers>span{align-items:center;gap:4px;display:flex;position:relative}.sign-numbers>span+span{border-left:4px solid #b89c72;padding-left:8px}.primary-actions{bottom:calc(var(--safe-bottom) + 8px);right:calc(var(--safe-right) + 8px);z-index:3;gap:8px;display:flex;position:absolute}.primary-actions>button{width:72px;height:72px}.name-tip{z-index:60;color:#fff1ce;pointer-events:none;white-space:nowrap;text-overflow:ellipsis;background:#2f1e12;max-width:calc(100vw - 16px);padding:4px 8px;font-size:26px;position:fixed;overflow:hidden;transform:translate(-50%)}.editor-status{top:calc(var(--safe-top) + 8px);left:calc(var(--safe-left) + 8px);z-index:4;align-items:center;gap:8px;height:64px;padding:0 4px;display:flex;position:absolute}.editor-status>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.editor-status button{width:48px;height:48px}.editor-actions{top:calc(var(--safe-top) + 8px);right:calc(var(--safe-right) + 8px);z-index:4;gap:8px;display:flex;position:absolute}.editor-actions button{width:56px;height:56px}.palette{left:calc(var(--safe-left) + 8px);right:calc(var(--safe-right) + 8px);bottom:calc(var(--safe-bottom) + 8px);z-index:5;align-items:stretch;gap:12px;max-width:960px;height:92px;margin:auto;padding:0;display:flex;position:absolute}.palette-tabs{flex:none;align-items:center;gap:2px;display:flex}.palette-tabs button{border-width:4px;width:48px;min-width:44px;height:56px;padding:2px}.palette-tabs img{object-fit:contain;width:32px;height:32px}.palette-content{flex-direction:column;flex:1;min-width:0;display:flex}.decor-score{white-space:nowrap;line-height:1}.palette:has(.decor-score){height:118px}.world[data-ui-size=large] .palette:has(.decor-score){height:138px}.palette-scroll{--palette-edge:var(--paper);flex:1;min-width:0;min-height:0;display:flex;position:relative}.world[data-phase=night] .palette-scroll{--palette-edge:#382316}.palette-scroll:before,.palette-scroll:after{content:"";z-index:1;pointer-events:none;width:60px;display:none;position:absolute;top:0;bottom:0}.palette-scroll:before{background:linear-gradient(to right,var(--palette-edge),transparent);left:0}.palette-scroll:after{background:linear-gradient(to left,var(--palette-edge),transparent);right:0}.palette-scroll[data-can-left=true]:before,.palette-scroll[data-can-right=true]:after{display:block}.palette-arrow{z-index:2;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:26px;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.palette-arrow-left{left:0}.palette-arrow-right{right:0}.palette-items{overscroll-behavior:contain;flex:1;align-items:stretch;gap:4px;min-width:0;display:flex;overflow:auto hidden}.palette-item{white-space:nowrap;background:#ddc9a4;border:4px solid #b29872;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:0;width:max-content;min-width:120px;padding:0 4px;line-height:1;display:flex;border-image:!important}.palette-item img{object-fit:contain;flex-shrink:0;width:48px;height:32px}.palette-item>span{color:#302015;align-items:center;font-size:26px;display:flex}.palette-item>.palette-art{flex:none;justify-content:center;width:48px;height:24px;display:flex;position:relative}.palette-item img.item-lock{background:var(--paper);width:16px;height:16px;box-shadow:0 0 0 1px var(--wood);padding:1px;position:absolute;top:0;left:0}.palette-item.unaffordable>span{color:#a32b18}.palette-item[aria-disabled=true]{background:#b9a380}.palette-item>.unit{white-space:nowrap;min-width:max-content}.inventory-item{flex:none;gap:0;display:flex}.inventory-item>.icon-button{border-width:4px;align-self:stretch;width:44px}.item-tooltip{z-index:60;pointer-events:none;width:max-content;max-width:min(330px,100vw - 16px);max-height:calc(100dvh - 110px);padding:8px;font-size:26px;position:fixed;overflow:auto}.item-tooltip p{color:var(--wood);margin:2px 0}.inventory-sale{z-index:40;padding:8px;position:absolute;inset:20% 12%;overflow:auto}.anchored-card{z-index:6;width:max-content;max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);max-height:calc(100% - var(--safe-top) - var(--safe-bottom) - 108px);padding:6px;animation:.12s ease-out card-enter;position:absolute;overflow:visible}.card-arrow{pointer-events:none;border:10px solid #0000;width:0;height:0;position:absolute}[data-side=right]>.card-arrow{right:calc(100% + 12px);top:calc(var(--arrow-y) - 10px);border-right-color:var(--brass)}[data-side=left]>.card-arrow{left:calc(100% + 12px);top:calc(var(--arrow-y) - 10px);border-left-color:var(--brass)}[data-side=top]>.card-arrow{top:calc(100% + 12px);left:calc(var(--arrow-x) - 10px);border-top-color:var(--brass)}.anchored-card[data-drawer=true]{overflow:visible}.object-controls{max-width:calc(100% - var(--safe-left) - var(--safe-right) - 112px);flex-wrap:wrap;align-items:center;gap:4px;display:flex}.object-controls>.icon-button{border-width:4px;width:32px;min-width:32px;height:32px;min-height:32px;padding:2px}.object-controls>.sell-button{width:auto;min-width:32px;padding-left:4px;padding-right:4px}.object-controls>.sell-button span{color:#20150d}.station-picker{flex-basis:100%;min-width:0;max-width:100%}.station-picker select{width:100%;max-width:100%}.object-controls .staff-avatar{flex:none;margin:0 2px}.worker-card{width:300px;overflow:auto}.worker-identity{align-items:center;gap:24px;padding:8px;display:flex}.worker-identity .staff-avatar{margin:0 8px;transform:scale(2)}.worker-duty{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.worker-duty>span{align-items:center;gap:4px;display:flex}.menu-backdrop{padding:calc(var(--safe-top) + 8px) calc(var(--safe-right) + 8px) calc(var(--safe-bottom) + 8px) calc(var(--safe-left) + 8px);z-index:30;background:#100a18b3;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.game-menu{flex-direction:column;width:100%;max-width:852px;height:100%;min-height:0;animation:.12s ease-out card-enter;display:flex}.menu-heading{flex:none;justify-content:space-between;align-items:stretch;gap:8px;margin-bottom:4px;display:flex}.menu-heading>[role=tablist]{gap:4px;min-width:0;display:flex}.menu-heading [role=tab]{white-space:nowrap;justify-content:center;align-items:center;gap:4px;padding:2px 8px;display:flex}.menu-heading [aria-selected=true],.tutorial-notebook [role=tab][aria-selected=true]{background:var(--paper);border-image-source:none}.menu-heading>.icon-button{width:56px;height:56px}.menu-content{overscroll-behavior:contain;flex:1;min-height:0;padding:8px;overflow:auto}.menu-content .drawer{width:100%;max-width:none;height:auto;max-height:none;box-shadow:none;background:0 0;border:0;border-image:;padding:0;animation:none;display:block;position:static;overflow:visible}.menu-content .panel-content{padding:0;overflow:visible}.menu-content .panel-footer{background:0 0;flex-wrap:wrap;padding:8px 0;position:static}.menu-content .audio-sliders{gap:4px}.menu-content .audio-sliders label{grid-template-columns:180px minmax(0,1fr) 3ch}.ui-size,.playtest-tools{flex-direction:row;gap:8px;margin-top:12px;display:flex}.ui-size legend,.playtest-tools legend{color:var(--text-main)}.playtest-tools{flex-wrap:wrap}.playtest-tools p{flex-basis:100%;margin:0}.staff-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.staff-summary label{flex-direction:row;align-items:center;gap:8px;display:flex}.staff-summary input{accent-color:#4e8838;width:52px;min-height:44px}.staff-summary>span{color:var(--text-sub)}.staff-member{border-bottom:2px solid #a98760;padding:4px 0}.staff-row{text-align:left;border:0;align-items:center;gap:16px;width:100%;padding:8px;display:flex;background:0 0!important;border-image:!important}.staff-row>strong{white-space:nowrap;min-width:78px}.staff-row .staff-avatar{margin:4px 8px;transform:scale(1.5)}.station-badge{color:var(--text-main);flex:1;align-items:center;gap:4px;display:flex}.station-badge img{object-fit:contain;width:32px;height:32px}.staff-row .staff-wage{color:var(--text-sub);white-space:nowrap}.staff-assignment{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.staff-assignment label{flex:1;min-width:220px}.auto-now{margin:4px 0}.edit-popover{top:calc(var(--safe-top) + 80px);right:calc(var(--safe-right) + 8px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);max-height:calc(100% - var(--safe-top) - var(--safe-bottom) - 184px);z-index:20}.keyboard-help{display:block}.edit-popover .shortcut-list{max-height:none}.edit-popover p{align-items:center;gap:8px;display:flex}.sale-toast{top:calc(var(--safe-top) + 8px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);z-index:25;white-space:nowrap;align-items:center;gap:8px;padding:0 4px;display:flex;position:absolute;left:50%;transform:translate(-50%)}:is(.world--edit:has(.sale-toast) .editor-status,.world--edit:has(.sale-toast) .editor-actions){top:calc(var(--safe-top) + 84px)}.first-visit-hint{bottom:calc(var(--safe-bottom) + 88px);left:calc(var(--safe-left) + 8px);color:#fff1ce;pointer-events:none;background:#2b1a18d9;padding:4px 8px;animation:3s forwards hint-fade;position:absolute}.network-banner{left:calc(var(--safe-left) + 8px);top:calc(var(--safe-top) + 80px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);z-index:50;max-height:calc(100% - 100px);overflow:auto}.panel-presence[data-motion=enter] :is(.game-menu,.anchored-card){animation:.12s ease-out both card-enter}.panel-presence[data-motion=exit] :is(.game-menu,.anchored-card){pointer-events:none;animation:.12s ease-in both card-exit}@keyframes card-enter{0%{opacity:0;scale:.96}to{opacity:1;scale:1}}@keyframes card-exit{0%{opacity:1;scale:1}to{opacity:0;scale:.96}}@keyframes hint-fade{0%,80%{opacity:1}to{opacity:0}}@media (width<=700px){.palette{gap:6px}.palette-tabs button{width:44px}.menu-heading [role=tab]{padding:2px 4px}.menu-heading [role=tab] .ui-icon{display:none}.menu-heading{gap:4px}.staff-row{gap:8px}.staff-row>strong{min-width:64px}.staff-summary{gap:4px}}@media (prefers-reduced-motion:reduce){.anchored-card,.game-menu,.first-visit-hint,.panel-presence[data-motion] :is(.game-menu,.anchored-card){animation:none}.world button:active:not(:disabled)>*{transform:none}}.worker-card{overflow:visible}.card-content{overscroll-behavior:contain;min-height:0;overflow:auto}.world[data-ui-size=large] .palette-item{min-width:174px}.world[data-ui-size=large] .palette-item>span{font-size:var(--ui-text)}.world[data-ui-size=large] .palette-tabs button{width:56px;height:60px}.world[data-ui-size=large] .palette-tabs img{width:48px;height:48px}.world[data-ui-size=large] .palette{height:112px}.world[data-ui-size=large] .editor-status{height:72px}@media (width<=900px){.world[data-ui-size=large] .menu-heading>[role=tablist]{flex:1;grid-template-columns:1fr 1fr;display:grid}.world[data-ui-size=large] .menu-heading [role=tab]{min-width:0}.world[data-ui-size=large] .staff-row{flex-wrap:wrap}.world[data-ui-size=large] .staff-wage{margin-left:auto}}.app-shell:has(.world){padding-inline:0}.name-tip{white-space:normal;overflow-wrap:anywhere;transform:none}.item-tooltip{margin:0;bottom:auto}.item-lock{font-size:26px;line-height:1}.group-directions{flex-basis:100%;justify-content:center;gap:4px;display:flex}.group-directions button{width:48px;height:48px}.world .menu-content .drawer{box-shadow:none;background:0 0;border:0;border-image:}.world button:active:not(:disabled){translate:none}.palette-item img{height:24px}.item-tooltip[data-phase=night]{color:#efe2c4;border-image:var(--frame-image) var(--frame-slice) / var(--frame-width) / 0 stretch;background:#382316}.item-tooltip[data-phase=night] p{color:#e3c79d}.sale-toast{white-space:normal;flex-wrap:wrap;justify-content:center}.sale-toast>span{min-width:0}.sale-toast>button{flex-shrink:0}:is(.world--edit .editor-status,.world--edit .editor-actions,.world--edit:has(.sale-toast) .editor-status,.world--edit:has(.sale-toast) .editor-actions){top:var(--editor-top,calc(var(--safe-top) + 8px))}.world[data-ui-size=large] .icon-button .ui-icon{width:48px;height:48px}[data-side=bottom]>.card-arrow{bottom:calc(100% + 12px);left:calc(var(--arrow-x) - 10px);border-bottom-color:var(--brass)}.anchored-card.edit-popover{width:340px;bottom:auto;right:auto;overflow:visible}.world select{appearance:none;height:max(48px,calc(var(--ui-text) * 1.3 + 12px));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%234a2e1c'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;flex-shrink:0;min-width:44px;min-height:44px;padding:4px 30px 4px 8px;line-height:1.3}.world :is(button,input,select,strong,b,[role=tab],.unit,.sign-clock,.sign-numbers,.palette-item>span,.staff-wage){text-shadow:1px 0;font-weight:400}.world :is(p,small,dt,.station-badge,.staff-summary>span){color:var(--text-sub);text-shadow:none}.world .staff-row{min-height:60px;color:var(--text-main);gap:12px;padding:4px 0}.staff-face{background:#5b3b26;border:2px solid #815735;flex:none;place-items:center;width:44px;height:48px;display:grid;overflow:hidden}.staff-row .staff-face .staff-avatar{height:18px;margin:0;transform:scale(1.5)}.staff-row .station-badge{min-height:40px;font-size:var(--ui-text);border:2px solid #815735;flex:0 auto;padding:2px 6px;line-height:1.1}.world .staff-row .staff-wage{color:var(--text-main);justify-content:flex-end;align-items:center;gap:6px;margin-left:auto;display:flex}.staff-summary .pixel-switch{appearance:none;cursor:pointer;background:#6c5140;border:4px solid #24170e;flex:none;width:64px;height:44px;min-height:44px;margin:0;padding:0;position:relative}.staff-summary .pixel-switch:after{content:"";background:#f4e7bf;width:24px;height:28px;position:absolute;top:4px;left:4px}.staff-summary .pixel-switch:checked{background:#4e8838}.staff-summary .pixel-switch:checked:after{left:28px}.staff-summary .pixel-switch:disabled{opacity:.55;cursor:default}@media (width<=700px){.world .staff-row{gap:8px}.staff-row .station-badge{min-width:0;padding:2px 4px}.staff-row .staff-wage{gap:2px}}.card-content{scrollbar-gutter:stable}.stall-manage .form-row{grid-template-columns:4em minmax(0,1fr);align-items:center;gap:2px 8px;margin:6px 0;display:grid}.stall-manage .form-row>:is(label,.form-label){color:var(--text-main);white-space:nowrap}.stall-manage .form-control{flex-wrap:wrap;grid-column:2;align-items:center;gap:6px;min-width:0;display:flex}.stall-manage .form-row>select{grid-column:2;max-width:100%}.stall-manage .form-row select{justify-self:start;width:auto;max-width:100%;height:40px;min-height:40px}.stall-manage .form-row>p{grid-column:1/-1;margin:0;line-height:1.35}.world .stall-manage .form-row>.form-blocked{color:#ffbc9e}.world[data-phase=day] .stall-manage .form-row>.form-blocked{color:#8f271c}.stall-manage .danger-zone{border-top:2px dashed var(--text-sub);margin-top:8px;padding-top:4px}.stall-manage .danger-title{color:var(--text-main);margin:0}.first-visit-hint{left:calc(var(--safe-left) + 8px);right:calc(var(--safe-right) + 176px);bottom:calc(var(--safe-bottom) + 8px);width:max-content;max-width:calc(100% - var(--safe-left) - var(--safe-right) - 184px);text-align:center;pointer-events:none;color:var(--text-sub);margin-inline:auto}.panel-presence[data-motion=exit] .first-visit-hint{pointer-events:none;animation:.12s ease-out both hint-dismiss}.world:has(.anchored-card,.game-menu) .first-visit-hint{visibility:hidden!important}@keyframes hint-dismiss{to{opacity:0}}@media (prefers-reduced-motion:reduce){.panel-presence[data-motion=exit] .first-visit-hint{opacity:0;animation:none}}.anchored-card.sale-toast{white-space:normal;width:320px;display:block;right:auto;transform:none}.anchored-card.sale-toast [role=status]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.anchored-card.sale-toast button{flex:none}.lease-bar{top:calc(var(--safe-top) + 8px);left:calc(var(--safe-left) + 8px);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);z-index:4;white-space:nowrap;align-items:center;gap:8px;height:64px;padding:0 4px;font-size:26px;display:flex;position:absolute}.lease-bar>*,.lease-money>*{flex-shrink:0}.lease-money{align-items:center;gap:4px;display:flex}.world .lease-bar .ui-icon{width:32px;height:32px}.lease-bar .icon-button{width:44px;height:44px;min-height:44px;padding:0;font-size:26px}.lease-bar .icon-button .ui-icon{width:24px;height:24px}.world--lease .lease-panel{right:calc(var(--safe-right) + 8px);top:120px;bottom:calc(var(--safe-bottom) + 8px)}.world-content{display:contents}.worktop-thumbnail{width:32px;height:32px;image-rendering:pixelated;background-position:-480px -4px;background-size:512px 48px;flex:none;display:inline-block}.worktop-swatches{flex-wrap:wrap;flex-basis:100%;gap:6px;display:flex}.worktop-swatches button{place-items:center;min-width:44px;min-height:44px;padding:3px;display:grid}.worktop-swatches button[aria-pressed=true] .worktop-thumbnail{outline:3px solid var(--ink,#3a2418);outline-offset:2px}.worktop-controls{flex-direction:column;flex-basis:100%;gap:6px;display:flex}.worktop-materials{flex-direction:column;gap:4px;display:flex}.worktop-materials button{align-items:center;gap:6px;min-height:44px;display:flex}.palette-item:has(.worktop-thumbnail){grid-template-rows:26px 26px;grid-template-columns:24px auto;place-content:center;align-items:center;gap:0 4px;min-width:168px;display:grid}.palette-item:has(.worktop-thumbnail)>span:not(.worktop-thumbnail){white-space:nowrap}.palette-item .worktop-thumbnail{background-position:-360px -3px;background-size:384px 36px;width:24px;height:24px}.palette-item:has(.worktop-thumbnail)>.palette-art{width:24px}.palette-item:has(.worktop-thumbnail)>.unit{grid-column:1/-1;justify-content:center;font-size:26px;line-height:1}.object-controls:has(.worktop-controls){align-content:flex-start;overflow-y:auto}.worktop-controls,.worktop-materials{min-width:0}.world[data-ui-size=large] .palette-item:has(.worktop-thumbnail)>span:not(.worktop-thumbnail){font-size:26px}.object-controls{isolation:isolate;align-content:flex-start;width:350px}.placement-actions{flex-basis:100%;grid-template-columns:32px minmax(32px,1fr) 32px;gap:4px;min-width:0;display:grid}.placement-actions.no-rotate{grid-template-columns:minmax(32px,1fr) 32px}.object-controls>button,.placement-actions>button{border-width:4px;width:auto;min-width:32px;height:32px;min-height:32px;padding:0 4px;font-family:"Cubic 11",monospace;font-size:22px;line-height:1;position:relative}.object-controls>button:after,.placement-actions>button:after{content:"";z-index:-1;margin:-4px;position:absolute;inset:-6px}.world .object-controls>.icon-button .ui-icon,.world .object-controls .placement-actions .ui-icon{width:16px;height:16px}.world[data-ui-size=large] .object-controls>.icon-button{width:48px;min-width:48px;height:48px;min-height:48px}.world[data-ui-size=large] .object-controls>button,.world[data-ui-size=large] .placement-actions>button{min-width:48px;height:48px;min-height:48px;font-family:DianDian Pixel,monospace;font-size:26px}.world[data-ui-size=large] .object-controls>.sell-button{width:auto}.world[data-ui-size=large] .object-controls>button:after,.world[data-ui-size=large] .placement-actions>button:after{margin:0;inset:0}.world[data-ui-size=large] .object-controls>.icon-button .ui-icon,.world[data-ui-size=large] .object-controls .placement-actions .ui-icon{width:32px;height:32px}.world[data-ui-size=large] .placement-actions{grid-template-columns:48px minmax(48px,1fr) 48px}.world[data-ui-size=large] .placement-actions.no-rotate{grid-template-columns:minmax(48px,1fr) 48px}.placement-actions>button[aria-label=確認擺放]{overflow-wrap:anywhere;justify-content:center;align-items:center;gap:4px;display:flex}.object-controls .worktop-swatches button{border-width:4px;width:48px;min-width:48px;height:48px;min-height:48px;padding:3px}.worktop-controls>button{border-width:4px;min-height:44px;padding:2px}.menu-content.menu-content-menu{background:0 0;border:0;border-image:;padding:0;overflow:hidden}.menu-content.menu-content-menu>:is(p,[role=status]){padding:8px}.menu-editor{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:8px;min-width:0;height:100%;min-height:0;font-size:26px;line-height:1.3;display:grid}.menu-list,.menu-detail{min-width:0;min-height:0;padding:4px 8px;overflow:hidden}.menu-list{flex-direction:column;gap:8px;display:flex}.menu-list-heading,.menu-detail-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.menu-list-heading strong,.menu-detail-row>strong{font-size:26px;font-weight:400;line-height:1.3}.menu-list-heading>span{white-space:nowrap;background:var(--wood);color:var(--paper);padding:2px 5px}.menu-skill{color:var(--text-sub);flex-wrap:wrap;align-items:center;gap:4px;display:flex}.menu-skill progress{accent-color:#c8902a;flex:1;min-width:35px;height:8px}.menu-items{overscroll-behavior:contain;flex:1;min-width:0;min-height:44px;overflow:hidden auto}.menu-item{border:3px solid #0000;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:4px;min-height:52px;padding:0 2px;display:grid}.menu-item.selected{border-color:var(--text-main);background:color-mix(in srgb,var(--paper) 10%,transparent)}.menu-item.unavailable{color:var(--text-sub)}.menu-check{place-items:center;gap:0;width:44px;height:44px;display:grid;position:relative}.menu-check input{accent-color:#3a9a5a;width:32px;height:32px;min-height:0;margin:0;padding:0}.world .menu-check .ui-icon{pointer-events:none;width:26px;height:26px;position:absolute}.world .menu-item-select{text-align:left;width:100%;min-width:0;min-height:44px;font:inherit;color:inherit;box-shadow:none;text-shadow:none;background:0 0;border:0;border-image:;align-items:center;padding:0;display:flex}.menu-item-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.world .menu-item .menu-item-select,.world .menu-item .menu-item-name{text-shadow:none}.menu-requirement{color:var(--text-sub)}.menu-stars{color:#c8902a;white-space:nowrap;font-size:26px}.menu-item-price{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.menu-difficulty{color:var(--text-main)}.menu-difficulty>span{white-space:nowrap}.world .menu-help{color:var(--text-sub);margin:0;padding:4px 0 0;font-size:26px;line-height:1.3}.menu-detail{flex-direction:column;display:flex;position:relative}.menu-detail-scroll{overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;min-width:0;min-height:0;padding:4px;display:flex;overflow:hidden auto}.menu-detail-scroll>*{flex-shrink:0;min-width:0}.menu-detail-scroll>input:not([type=range]){border:3px solid var(--ink);width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:0;padding:0 6px}.menu-detail-scroll>input[type=range]{accent-color:#c8902a;width:100%;min-width:0;height:44px;margin:0}.menu-sub{color:var(--text-sub);font-size:26px;line-height:1.3}.menu-price{flex-wrap:nowrap}.world .menu-price button,.world .menu-save button{border-width:6px;min-width:44px;min-height:44px;padding:0 4px;font-size:26px;line-height:1.3}.menu-reactions{grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;display:grid}.world .menu-reactions>button{width:100%;min-width:0;min-height:44px;box-shadow:none;background:0 0;border:0;border-image:;justify-content:center;align-items:center;padding:2px;display:flex}.menu-reactions>button>span{border:2px solid var(--ink);width:100%;height:20px;display:block}.menu-reaction-tooltip{color:var(--text-main);font-size:var(--ui-tip-text,26px)}.menu-warning{color:#c84a3a}.menu-deal{color:#3a9a5a}.menu-save{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:auto;padding-top:8px;display:flex}.menu-save>span{color:#c84a3a}.menu-lock{background:var(--paper);color:var(--text-main);text-align:center;z-index:1;flex-direction:column;align-items:center;gap:6px;padding:12px;display:flex;position:absolute;inset:0;overflow:hidden auto}.menu-lock>*{flex-shrink:0}.menu-lock>:first-child{margin-top:auto}.menu-lock>:last-child{margin-bottom:auto}.world[data-phase=night] .menu-lock{color:var(--text-main);background:#382316}.world .menu-lock .ui-icon{width:39px;height:39px}.menu-delisted{z-index:30;pointer-events:none;max-width:calc(100% - 32px);padding:6px;font-size:26px;position:absolute;top:76px;left:50%;transform:translate(-50%)}@media (width<=750px){.menu-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}.menu-list,.menu-detail{padding:2px 4px}.menu-item{grid-template-columns:32px minmax(0,1fr) auto auto;gap:2px}.menu-check{width:32px}.menu-list-heading strong{font-size:26px}}.primary-actions>button{flex-direction:column;gap:0;width:88px;height:88px}.primary-actions>button>span{font-size:26px;line-height:1}.expand-hint{top:calc(var(--safe-top) + 8px);left:calc(var(--safe-left) + 8px);right:calc(var(--safe-right) + 8px);pointer-events:none;max-width:max-content;padding:0 10px;line-height:26px;position:absolute}.expand-bar{bottom:calc(var(--safe-bottom) + 8px);left:calc(var(--safe-left) + 8px);right:calc(var(--safe-right) + 8px);grid-template-rows:26px 44px;grid-template-columns:repeat(3,minmax(max-content,1fr));align-items:center;gap:4px;min-height:82px;padding:0 4px;display:grid;position:absolute}.world .expand-bar{border-width:4px}.expand-hint,.expand-bar{font-size:26px}.expand-bar>span{white-space:nowrap;text-align:center;line-height:26px}.world .expand-bar>button{white-space:nowrap;height:44px;min-height:44px;padding:0 8px;line-height:26px}.expand-bar>button:first-of-type{grid-column:span 2}.expand-notice{top:calc(var(--safe-top) + 60px);z-index:5;padding:4px 8px;position:absolute;left:8px;right:8px}.fixture-panel{max-height:calc(45vh / var(--ui-zoom,1));padding:12px;overflow:auto}.fixture-panel p{margin:4px 0}.fixture-options{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.fixture-swatch{border:2px solid var(--wood);width:20px;height:20px;margin-right:4px;display:inline-block}.tonight-panel{right:calc(var(--safe-right) + 12px);z-index:12;width:320px;max-height:calc(100% - 210px);padding:13px;font-size:26px;position:absolute;top:120px;overflow:auto}.tonight-toggle{text-align:left;width:100%}.customer-numbers{justify-content:space-between;gap:13px;margin:13px 0;display:flex}.customer-numbers dd{margin:0}.customer-transactions{margin:0;padding:0;list-style:none}.customer-transactions li{border-top:1px solid var(--brown);justify-content:space-between;gap:13px;padding:6px 0;display:flex}.customer-hint{margin:13px 0 0}.customer-hint button{margin-left:13px}@media (width<=1050px),(height<=550px){.tonight-panel{width:260px;max-height:calc(100% - 180px);top:auto;bottom:90px}.tonight-panel:not(.is-expanded) .tonight-details{display:none}.tonight-panel.is-expanded{width:min(360px,100% - 24px)}}.customer-backdrop{z-index:110;background:#28160fbf;justify-content:center;align-items:center;padding:13px;display:flex;position:fixed;inset:0}.customer-dialog{width:min(650px,100%);min-height:0;max-height:calc(100dvh / var(--ui-zoom,1) - 26px);overflow-wrap:anywhere;flex-direction:column;padding:26px;font-size:26px;display:flex;position:relative;overflow:hidden}.customer-dialog-heading{flex:none;justify-content:space-between;align-items:center;gap:26px;display:flex}.customer-dialog-heading h2{margin:0;font-size:39px}.customer-dialog h3{margin:26px 0 13px;font-size:26px}.summary-money{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.summary-money div{justify-content:space-between;gap:13px;display:flex}.summary-money dd{margin:0}.summary-profit{border-top:2px solid var(--brown);grid-column:1/-1;padding-top:13px}.customer-hearts{color:#9e244d}.customer-card-fields div{border-bottom:1px solid var(--brown);padding:13px 0}.customer-card-fields dd{margin:6px 0 0}.regulars-list{margin:0;padding:0;list-style:none}.regulars-list button{text-align:left;flex-wrap:wrap;align-items:center;gap:13px;width:100%;margin-bottom:13px;display:flex}.summary-advice{border-top:2px solid var(--brown);padding-top:13px}.customer-dialog-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;overflow:auto}.customer-dialog-content,.customer-dialog-content>*{min-width:0}.customer-dialog-footer{flex:none;justify-content:center;height:44px;display:flex}.customer-dialog-arrow{width:44px;height:44px;min-height:44px;padding:0;line-height:1}@media (height<=550px){.customer-dialog{width:min(900px,100%);padding:13px 26px}.customer-dialog-content{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px 26px;display:grid}.customer-card-fields{display:contents}.customer-card-fields div{padding:6px 0}.customer-dialog .summary-money{gap:6px}.customer-dialog .summary-money,.customer-dialog ul,.customer-dialog ol{margin:6px 0}.customer-dialog h3{margin-top:13px}.game-menu .menu-heading [role=tablist]{min-width:0;overflow-x:auto}}.customer-dialog-scroll:focus{outline:none}.customer-hearts{vertical-align:middle;flex:none;gap:1px;display:inline-flex}.customer-hearts .ui-icon{width:24px;height:24px;image-rendering:pixelated}.regulars-list button>span:last-child{margin-left:auto}.day-summary{--summary-positive:#3f7d3a;--summary-negative:#b73224;--summary-track:#d9c7a3;--summary-fill:var(--brass);--summary-border:var(--wood);--summary-cost:#7a4e2e;--summary-cost-stripe:#b98a5a;--summary-stripe:var(--paper);--summary-tip:#e3d3ad;width:min(900px,100%);color:var(--text-main);padding:18px}.world[data-phase=night] .day-summary{--summary-positive:#6be3a5;--summary-negative:#ff9386;--summary-track:#59402c;--summary-fill:#dbb968;--summary-border:#b59263;--summary-cost:#bd8552;--summary-cost-stripe:#735035;--summary-stripe:#382316;--summary-tip:#513923}.day-summary .customer-dialog-content{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 26px;display:grid}.day-summary .customer-dialog-heading small{color:var(--text-sub);margin-left:13px;font-size:26px}.summary-column{gap:12px;min-width:0;display:grid}.day-summary p{color:var(--text-main);margin:0}.summary-hero{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.summary-hero>div{align-items:center;gap:8px;display:flex}.summary-hero>div:first-child>.ui-icon{width:48px;height:48px}.day-summary .summary-profit{white-space:nowrap;text-shadow:1px 0;border:0;padding:0;font-size:48px;line-height:1}.summary-reputation{white-space:nowrap}.summary-up{color:var(--summary-positive)}.summary-down{color:var(--summary-negative)}.day-summary .summary-bars{gap:6px;margin:0;padding:0;list-style:none;display:grid}.summary-bars li{grid-template-columns:minmax(0,5em) minmax(0,1fr) minmax(0,3.4em);align-items:center;gap:8px;display:grid}.summary-bars li>span:last-child{text-align:right}.summary-bar{background:var(--summary-track);height:18px;box-shadow:inset 0 0 0 2px var(--summary-border)}.summary-bar i{background:var(--summary-fill);height:100%;box-shadow:inset 0 0 0 2px var(--summary-border);display:block}.summary-cost i{background:repeating-linear-gradient(135deg,var(--summary-cost) 0 4px,var(--summary-cost-stripe) 4px 8px)}.summary-mix{height:22px;display:flex;overflow:hidden}.summary-mix i{height:100%;box-shadow:inset 0 0 0 2px var(--summary-border);display:block}.summary-got{background:var(--summary-fill)}.summary-lost{background:repeating-linear-gradient(135deg,var(--summary-stripe) 0 4px,var(--summary-negative) 4px 8px)}.summary-line{flex-wrap:wrap;align-items:center;gap:6px 18px;display:flex}.summary-line:empty{display:none}.summary-line>span{align-items:center;gap:6px;display:flex}.summary-counts{justify-content:space-between;gap:13px;display:flex}.day-summary .summary-regulars{gap:6px;margin:0;padding:0;list-style:none;display:grid}.summary-regulars li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.summary-regulars li>span:last-child:not(.customer-hearts){margin-left:auto}.summary-regulars button{text-align:left;min-width:0}.summary-tag{background:var(--summary-fill);color:var(--ink);padding:0 8px}.day-summary .summary-advice{background:var(--summary-tip);color:var(--text-main);box-shadow:inset 0 0 0 2px var(--summary-border);border:0;flex-wrap:wrap;align-items:center;gap:8px;padding:4px 8px;display:flex}@media (height<=550px){.day-summary{padding:5px 18px}.summary-column{gap:7px}}.chat-backdrop{z-index:1200;background:#28160f80;position:fixed;inset:0}.chat-dialog{max-height:calc(100dvh / var(--ui-zoom,1) - 20px);color:var(--ink,#3a2418);grid-template-columns:150px minmax(0,1fr) 3ch;gap:14px;padding:10px;font-size:26px;line-height:1.25;display:grid;position:absolute;bottom:10px;left:12px;right:12px;overflow:auto}.chat-portrait,.chat-pixel-head{width:150px;height:150px;image-rendering:pixelated;background-color:#1f3a3d;align-self:end;display:block;box-shadow:0 0 0 3px #4a2e1c}.chat-pixel-head{background-position:-354px -84px;background-repeat:no-repeat;background-size:864px 1728px}.chat-body{flex-direction:column;gap:6px;min-width:0;display:flex}.chat-who{align-items:center;gap:12px;min-height:32px;padding-right:100px;font-size:26px;display:flex}.chat-who strong{font-weight:400}.chat-line,.chat-result,.chat-body p{overflow-wrap:anywhere;margin:0;font-size:26px}.chat-replies{gap:4px;display:grid}.chat-dialog button{font-size:26px;line-height:1.1}.chat-replies button{text-align:left;white-space:normal;min-height:44px;padding:0 8px}.chat-report{color:#7a4e2e;place-items:center;display:grid;box-shadow:none!important;background:0 0!important;border:0!important;border-image:!important}.chat-close{min-height:32px;position:absolute;top:8px;right:48px;padding:0 6px!important}.chat-result{color:#3f7d3a}@media (width>=1100px) and (height>=600px){.chat-dialog{grid-template-columns:220px minmax(0,1fr);gap:20px;padding:20px}.chat-portrait,.chat-pixel-head{width:220px;height:220px}.chat-pixel-head{background-position:-531px -126px;background-size:1296px 2592px}.chat-line,.chat-who{font-size:26px}}.romance-actions{flex-wrap:wrap;gap:12px;display:flex}.romance-confirm{border:2px solid #7a4e2e;padding:12px}.romance-confirm button{margin:8px 8px 0 0}.story-chapters{gap:8px;padding:0;list-style:none;display:grid}.story-dialog .chat-body>button{min-height:44px;margin-top:12px}.story-dialog .chat-close{right:8px}.chat-pixel-head[data-special]{background-position-y:-66px}@media (width>=1100px) and (height>=600px){.chat-pixel-head[data-special]{background-position-y:-99px}}.login-panel{flex-direction:column;align-items:center;gap:16px;width:min(640px,100%);padding:24px;font-size:26px;display:flex}.login-panel p,.login-panel button{font-size:26px}.google-sign-in{justify-content:center;max-width:100%;min-height:44px;display:flex}.google-sign-in[aria-disabled=true]{pointer-events:none;opacity:.6}.login-url{-webkit-user-select:text;user-select:text;overflow-wrap:anywhere;max-width:100%}.settings-account{flex-direction:column;gap:8px;display:flex}.logout-actions{flex-wrap:wrap;gap:16px;display:flex}.logout-actions button,.settings-account button{font-size:26px}.retire-dialog .retire-warning{max-width:30em;margin:0 0 12px;font-size:26px;line-height:1.4}.retire-dialog .retire-warning strong{color:var(--red)}.retire-field{flex-direction:column;gap:8px;margin-bottom:12px;font-size:26px;display:flex}.retire-field input{font:inherit;border:3px solid var(--wood);background:var(--ui-white);color:#2b1d12;padding:6px 10px;font-size:26px}.retire-error{color:var(--red);margin:0 0 12px;font-size:26px}.retire-dialog .logout-actions button.danger{color:var(--ui-white);background:linear-gradient(#e0533a,#b8321f);border:4px solid #2a1208;border-image:;padding:4px 18px;box-shadow:inset 0 0 0 3px #ff9a6a,inset 0 -6px #5a100873}.retire-dialog .logout-actions button.danger:disabled{box-shadow:none;color:#e8dfd0;background:#8f8578}@media (height<=550px){.retire-dialog .customer-dialog-content{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.retire-dialog .retire-warning{grid-row:span 3;margin:0}.retire-dialog .retire-field,.retire-dialog .retire-error{grid-column:2;margin:0}.retire-dialog .logout-actions{grid-column:2}}.world{--primary-action-size:88px;--primary-action-gap:8px}.primary-actions{gap:var(--primary-action-gap);max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px)}.primary-actions>button{width:var(--primary-action-size);height:var(--primary-action-size);min-width:44px;min-height:44px}.primary-actions>button.primary-action-wide{width:calc(var(--primary-action-size) + 24px)}.primary-actions .notification-dot{width:10px;height:10px;box-shadow:0 0 0 2px var(--paper);pointer-events:none;background:#d33a35;border-radius:50%;position:absolute;top:1px;right:1px}@media (width<=1050px),(height<=550px){.world{--primary-action-size:76px;--primary-action-gap:4px}.primary-actions>button{padding:0}.primary-actions>button>span{font-size:26px;line-height:1}.world[data-ui-size] .primary-actions .ui-icon{width:24px;height:24px}.world .tonight-panel{bottom:calc(var(--safe-bottom) + var(--primary-action-size) + 16px);max-height:calc(100% - var(--safe-top) - var(--safe-bottom) - var(--primary-action-size) - 160px)}}.object-controls>.seat-reason{flex-basis:100%;margin:0}.world:not([data-ui-size=large]) .map-price,.world:not([data-ui-size=large]) .object-controls>.seat-reason{font-family:DianDian Pixel,monospace;font-size:13px}.world:not([data-ui-size=large]) :is(.worker-card,.edit-popover,.sale-toast,.category-picker){--ui-text:13px;font-family:DianDian Pixel,monospace;font-size:13px}.world:not([data-ui-size=large]) :is(.worker-card,.edit-popover,.sale-toast,.category-picker) :is(select,input,textarea){--ui-text:26px;font-size:26px}.world:not([data-ui-size=large]) :is(.worker-card,.edit-popover,.sale-toast,.category-picker) button{border-width:4px;min-width:40px;height:40px;min-height:40px;padding:0 8px;font-family:"Cubic 11",monospace;font-size:22px;line-height:1}.category-picker-scrim{z-index:59;background:#0a061073;position:fixed;inset:0}.category-picker{z-index:60;width:min(380px,calc(100% - var(--safe-left) - var(--safe-right) - 16px));max-height:calc(100% - var(--safe-top) - var(--safe-bottom) - 16px);overscroll-behavior:contain;flex-direction:column;gap:6px;padding:10px;display:flex;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.category-picker p{margin:0}.category-picker label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.category-guide{border-top:2px solid #815735;border-bottom:2px solid #815735;flex-direction:column;gap:4px;padding:6px 0;display:flex}.category-guide-name{align-items:center;gap:6px;display:flex}.category-guide .star{opacity:.3}.category-guide .star.on{opacity:1;color:#e8553f}.category-picker-footer{flex-wrap:wrap;gap:8px;display:flex}.world .map-price{color:#fff1ce;background:#2f1e12;padding:4px 8px;line-height:1.4}.world .map-price .unit{color:#fff1ce}.world[data-phase] .map-price .warning{color:#ffbc9e}.customer-card-dialog{width:min(826px,100%);height:367px;font-size:var(--ui-text,26px);color:var(--text-main,var(--ink));padding:0;line-height:1.25}.customer-card-dialog .customer-dialog-heading{z-index:1;position:absolute;top:12px;right:16px}.customer-card-dialog .customer-dialog-heading button{justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:0;display:flex}.customer-card-dialog .customer-dialog-heading .ui-icon{width:26px;height:26px}.customer-card-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.customer-card-dialog .customer-dialog-scroll{scrollbar-gutter:auto;flex:1;display:flex;overflow:hidden}.customer-card-dialog .customer-dialog-content{width:100%;height:100%;min-height:0;display:block}.customer-card-layout{--customer-card-portrait-size:96px;grid-template-columns:220px minmax(0,1fr);gap:18px;height:100%;min-height:0;padding:12px 16px;display:grid}.customer-card-identity{text-align:center;border-right:3px solid var(--wood-light);flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:0;padding-right:16px;display:flex}.customer-card-portrait{--text-main:var(--paper);width:var(--customer-card-portrait-size);height:var(--customer-card-portrait-size);box-shadow:0 0 0 3px var(--wood);color:var(--text-main,var(--ink));background:#1f3a3d;flex:none;place-items:center;display:grid;overflow:hidden}.customer-card-portrait .chat-portrait,.customer-card-portrait [data-portrait=pixel]{width:100%;height:100%;box-shadow:none;image-rendering:pixelated;object-fit:contain}.customer-card-portrait [data-portrait=pixel]{background-size:calc(var(--customer-card-portrait-size) * 6) calc(var(--customer-card-portrait-size) * 12);background-position:calc(var(--customer-card-portrait-size) * -59 / 24) calc(var(--customer-card-portrait-size) * -7 / 12)}.customer-card-portrait [data-portrait=pixel][data-special]{background-position-y:calc(var(--customer-card-portrait-size) * -11 / 24)}.customer-card-name{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 8px;display:flex}.customer-card-name h3{font-size:inherit;line-height:inherit;margin:0}.customer-card-type{color:var(--text-main,var(--ink));background:#e3c79d;padding:0 8px}.world[data-phase=night] .customer-card-type{background:#e3c79d26}.customer-card-affection{align-items:center;gap:6px;display:flex}.customer-card-affection .ui-icon{width:24px;height:24px}.customer-card-progress{width:100%;height:14px;box-shadow:0 0 0 2px var(--wood-light);background:#c8a05033;flex:none;margin:2px 0;position:relative}.customer-card-progress>span{background:#9e244d;position:absolute;inset:0 auto 0 0}.customer-card-progress>i{background:var(--wood);width:2px;position:absolute;top:0;bottom:0;left:90%}.customer-card-romance{flex-direction:column;flex:none;align-items:center;gap:6px;width:100%;min-width:0;margin-top:auto;display:flex}.customer-card-romance p{overflow-wrap:anywhere;max-width:100%;font-size:inherit;color:var(--text-sub,var(--wood));margin:0}.customer-card-dating{color:#9e244d;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:100%;display:flex}.customer-card-romance .customer-card-confess{white-space:normal;overflow-wrap:anywhere;word-break:normal;color:#fff9ec;background:#d9604a;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAYklEQVR4nGNkYGBgkBDT+M9AA/Di1Q1GFpDhE6LEaWE+Q8Eyhv8sMI6MnCRVDX/y6DmYZkEXoDZgoompSGDUAoJg1AKCYNQCgmDUAoJg1IKBt4AFRFy6937o+oARRNCy2QIA0m0U7sibqXIAAAAASUVORK5CYII=) 8/8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:100%;min-width:0;padding:4px 0;display:flex}.customer-card-romance .customer-card-confess-locked{flex-direction:column;gap:0}.customer-card-confess-label{justify-content:center;align-items:center;gap:6px;max-width:100%;display:flex}.customer-card-romance .customer-card-confess:disabled{color:var(--text-sub,var(--wood));background:#b8a48a55;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAYklEQVR4nGNkYGBgkBDT+M9AA/Di1Q1GRpDhYUERtDCfYdW6FQwsMI6cnBxVDX/06BGYZkEXoDZgoompSGDUAoJg1AKCYNQCgmDUAoJg1IKBt4AFRDx79mTo+oARRNCy2QIA3yIU3w6MaV0AAAAASUVORK5CYII=) 8/8px}.customer-card-confess .ui-icon{width:26px;height:26px}.customer-card-main{flex-direction:column;min-width:0;min-height:0;display:flex}.customer-card-tabs{border-bottom:4px solid var(--wood);flex:none;align-items:end;gap:6px;padding-right:56px;display:flex}.customer-card-tabs>button{font:inherit;border:3px solid var(--wood);min-height:46px;color:var(--text-main,var(--ink));white-space:nowrap;background:#d9b884;border-bottom:0;border-image:;align-items:center;gap:6px;padding:4px 14px;display:flex}.customer-card-tabs>button[aria-selected=true]{background:var(--paper);padding-bottom:8px;position:relative;top:4px}.world[data-phase=night] .customer-card-tabs>button{background:#28180f}.world[data-phase=night] .customer-card-tabs>button[aria-selected=true]{background:#3a2418}.customer-card-tabs .ui-icon{width:26px;height:26px}.customer-card-badge{background:var(--red);color:#fff9ec;text-align:center;min-width:26px;padding:0 4px;line-height:26px;display:inline-block}.customer-card-body{overscroll-behavior:contain;flex:1;min-height:0;padding-top:8px;overflow:auto}.customer-card-body [role=tabpanel]:focus-visible{outline:2px solid var(--text-main,var(--ink));outline-offset:-2px}.customer-card-details{margin:0;display:block}.customer-card-details>div{border-bottom:2px dotted #c9ae8280;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:4px 12px;padding:5px 0;display:grid}.customer-card-details dt{white-space:nowrap;color:var(--text-sub,var(--wood));align-items:center;gap:6px;display:flex}.customer-card-details dd{color:var(--text-main,var(--ink));margin:0}.customer-card-details .ui-icon{width:32px;height:32px}.customer-card-locked{color:var(--text-sub,var(--wood));align-items:center;gap:6px;display:inline-flex}.customer-card-locked .ui-icon{width:26px;height:26px}.customer-card-need{align-items:center;gap:2px;line-height:1;display:inline-flex}.customer-card-need .ui-icon{width:22px;height:22px}.customer-card-details{grid-template-columns:max-content minmax(0,1fr);display:grid}.customer-card-details>div{grid-column:1/-1;grid-template-columns:subgrid}.customer-card-clue{color:var(--text-sub,var(--wood));display:block}.customer-card-dialog .customer-card-note{color:var(--text-sub,var(--wood));margin:10px 0 0;font-size:1em}.customer-card-chapters{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.customer-card-dialog .customer-card-chapter{border:3px solid var(--wood-light);color:var(--text-main,var(--ink));text-align:left;min-width:0;min-height:72px;font:inherit;background:#ffffff0f;border-image:;flex-direction:column;justify-content:center;align-items:start;padding:6px 8px;display:flex;position:relative}.customer-card-chapter-number{color:var(--text-sub,var(--wood))}.customer-card-dialog .customer-card-unread{border-color:var(--red)}.customer-card-chapter .customer-card-badge{position:absolute;top:-3px;right:-3px}.customer-card-dialog .customer-card-chapter:disabled{color:var(--text-sub,var(--wood));background:#c8a05014;border-style:dashed;border-image:}.world[data-phase=night] .customer-card-chapter:disabled{border-color:var(--text-sub)}.customer-card-chapter .ui-icon{vertical-align:middle;width:26px;height:26px}.customer-card-dialog button:focus-visible{outline-color:var(--text-main,var(--ink))}.world[data-ui-size=large] .customer-card-identity{overflow-y:auto}.world[data-ui-size=large] .customer-card-identity>div{flex-shrink:0}@media (height<=550px){.customer-card-dialog .customer-card-note{display:none}.world[data-ui-size=large] .customer-card-identity{gap:3px}.world[data-ui-size=large] .customer-card-confess{padding-block:0;line-height:1.1}}@media (width>=1100px) and (height>=600px){.customer-card-dialog{width:min(1000px,100%);height:560px}.customer-card-layout{--customer-card-portrait-size:192px;grid-template-columns:300px minmax(0,1fr)}.customer-card-name h3{font-size:39px}}.world[data-phase] .menu-content-store{--text-main:var(--ink);--text-sub:var(--wood);--muted:var(--wood);border:8px solid var(--wood);background:var(--paper);color:var(--text-main);border-image:;padding:8px;overflow:hidden}.world[data-phase=night] .menu-content-store .warehouse-dialog{--text-main:#efe2c4;--text-sub:#e3c79d;--muted:var(--text-sub)}.warehouse-panel{flex-direction:column;gap:4px;height:100%;min-height:0;display:flex}.warehouse-toolbar,.warehouse-line{justify-content:space-between;align-items:center;gap:8px;display:flex}.warehouse-toolbar{flex:none;justify-content:flex-start;min-height:44px}.warehouse-toolbar>span{align-items:center;gap:4px;display:flex}.warehouse-wallet{white-space:nowrap;margin-left:auto}.warehouse-notices{flex-wrap:wrap;flex:none;gap:0 13px;margin-bottom:6px;font-size:26px;line-height:1;display:flex}.warehouse-table-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.warehouse-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:26px;line-height:1}.warehouse-table th{background:var(--paper);text-align:left;color:var(--text-sub);z-index:1;font-weight:400;position:sticky;top:0}.warehouse-table td{border-bottom:1px dotted var(--wood);height:44px;padding:0 4px}.warehouse-table th{border-bottom:2px dotted var(--wood-light);padding:0 4px 4px}.warehouse-table td:last-child{text-align:right}.warehouse-table button,.warehouse-toolbar button{min-height:44px;padding:0 8px;line-height:26px}.warehouse-bar{vertical-align:middle;background:var(--paper);border:2px solid var(--wood);width:70px;height:18px;margin-right:4px;display:inline-block;position:relative}.warehouse-bar i{background:var(--brass);height:100%;display:block}.warehouse-bar b{background:var(--wood);width:2px;position:absolute;top:-3px;bottom:-3px;transform:translate(-1px)}.warehouse-low,.warehouse-expensive{color:#b73224}.warehouse-cheap{color:#326b2e}.warehouse-full .warehouse-bar i{background:#79678f}.warehouse-low .warehouse-bar i{background:#b73224}.warehouse-fresh{color:#285829;background:#c0dfa9;margin-left:4px;padding:2px;font-size:26px}.warehouse-dialog{width:min(600px,100%);font-size:var(--ui-text,26px);padding:8px 12px;line-height:1.2}.warehouse-dialog button{min-width:44px;min-height:44px;padding:0 8px;line-height:1}.warehouse-dialog>.customer-dialog-close{z-index:1;width:44px;padding:0;position:absolute;top:8px;right:12px}.warehouse-dialog-body>.warehouse-line:first-child{min-height:44px;padding-right:52px}.warehouse-dialog .warehouse-fresh{font-size:inherit}.warehouse-dialog-body>.warehouse-line>button{justify-content:center;align-items:center;gap:4px;display:inline-flex}.warehouse-dialog .customer-dialog-content{display:block}.warehouse-dialog-body{gap:4px;display:grid}.warehouse-dialog-body p{margin:0}.warehouse-stepper{align-items:center;gap:8px;display:flex}.warehouse-stepper output{text-align:center;min-width:2em;display:inline-block}.warehouse-stepper button{min-width:44px;min-height:44px}.warehouse-dialog-body>.warehouse-line>button{min-height:44px}@media (width<=750px){.warehouse-table,.warehouse-table th{font-size:26px}.warehouse-bar{width:48px}.warehouse-toolbar{font-size:26px}}.world[data-phase] .menu-content-settings{background:0 0;border:0;border-image:;padding:0}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;min-height:100%;display:grid}.world[data-phase] .settings-column{--text-main:var(--ink);--text-sub:var(--wood);--muted:var(--wood);border:8px solid var(--wood);background:var(--paper);min-width:0;color:var(--text-main);border-image:;flex-direction:column;gap:4px;padding:4px 8px;display:flex}.settings-column :is(h2,h3,legend){font-size:var(--ui-text);text-shadow:1px 0;color:var(--text-sub);border-bottom:2px solid var(--wood-light);margin:0;padding:0;font-weight:400;line-height:1.2}.settings-column .audio-panel .panel-content{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 4px;display:grid}.settings-column .audio-panel h2{grid-area:1/1}.settings-column .audio-mute{grid-area:1/2;margin:0}.settings-column .audio-sliders{grid-area:2/1/3/-1;gap:0}.settings-column .audio-sliders label{grid-template-columns:max-content minmax(0,1fr) 3ch;gap:8px;line-height:1}.settings-column .audio-sliders label>span{white-space:nowrap}.settings-column .audio-sliders input{margin:0}.settings-column button{padding:0 8px;line-height:1}.settings-column .ui-size{gap:8px;margin:0}.settings-column .ui-size legend{width:100%;margin-bottom:4px}.settings-column .menu-map p{margin:4px 0}.settings-column .settings-account{flex-direction:row;justify-content:space-between;align-items:center;gap:4px;margin-top:auto}.settings-column .settings-account button{margin-left:auto}.menu-detail-scroll{gap:4px;line-height:1.1}.menu-detail-title>strong{line-height:1.1}.menu-detail-status{align-items:center;gap:8px;display:flex}.menu-material-state{border-top:2px dotted var(--wood-light);flex-direction:column;gap:2px;padding-top:2px;display:flex}.menu-material-note{color:var(--text-sub)}.menu-material-state .menu-detail-row{flex-wrap:nowrap}.menu-material-state button,.menu-prep-label{align-items:center;gap:4px;display:inline-flex}.world .menu-material-state button{border-width:6px;min-height:44px;padding:0 4px;line-height:1}.world .menu-price button{line-height:1}.world .menu-material-state .ui-icon{width:26px;height:26px}.menu-material-state progress{appearance:none;border:2px solid var(--wood-light);background:var(--paper);width:100%;height:16px;accent-color:var(--brass);margin:4px 0}.menu-material-state progress::-webkit-progress-bar{background:var(--paper)}.menu-material-state progress::-webkit-progress-value{background:var(--brass)}.menu-material-state progress::-moz-progress-bar{background:var(--brass)}.menu-stock-warning{border:3px solid var(--red);color:var(--text-main);align-items:center;gap:4px;padding:0 4px;display:flex}.menu-buy-night{align-self:flex-end}.world .menu-material-state .menu-store-link{color:var(--text-sub);box-shadow:none;text-shadow:none;text-align:left;background:0 0;border:0;border-image:;align-self:flex-start;padding:0}.menu-item.sold,.world .menu-item.sold .menu-item-select{color:var(--menu-sold)}.menu-item.sold .menu-check input{accent-color:var(--menu-sold)}.menu-sold-tag,.menu-prep-tag,.menu-ready-tag{white-space:nowrap;padding:0 4px}.menu-sold-tag{background:var(--menu-sold);color:var(--ui-white)}.menu-prep-tag{background:var(--menu-prep);color:var(--ui-white)}.menu-ready-tag{background:var(--menu-ready);color:var(--ink)}.warehouse-dialog .warehouse-switch{border:3px solid var(--wood);background:var(--button-disabled);border-image:;justify-content:flex-start;width:84px;height:44px;padding:2px;display:inline-flex}.warehouse-dialog .warehouse-switch[aria-checked=true]{background:var(--ui-on);justify-content:flex-end}.warehouse-switch-thumb{background:var(--ui-white);border:3px solid var(--wood);flex:none;width:30px;height:30px}.warehouse-stepper-value{white-space:nowrap;justify-content:center;align-items:baseline;gap:4px;min-width:4em;display:inline-flex}.warehouse-stepper-value output{min-width:0}.warehouse-save{justify-content:flex-end;display:flex}.settings-market-row{justify-content:space-between;align-items:center;gap:4px;display:flex}.settings-market-row button{flex:none}.regulars-market-tag{background:var(--paper);color:var(--ink);align-self:center;margin-right:auto;padding:0 6px}.day-summary{line-height:1.15}.day-summary .customer-dialog-heading{border-bottom:2px solid var(--wood);gap:8px;margin-bottom:4px;padding-bottom:2px}.day-summary .customer-dialog-heading>button{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;line-height:1}.day-summary .customer-dialog-scroll{scrollbar-gutter:auto}.day-summary .customer-dialog-content{column-gap:16px}.day-summary .summary-column,.day-summary .summary-hero,.day-summary .summary-hero>div{gap:4px}.day-summary .summary-bars{gap:2px}.day-summary .summary-bars li{grid-template-columns:max-content minmax(0,1fr) max-content;gap:6px}.day-summary .summary-line{gap:2px 8px}.day-summary .summary-advice{gap:4px;padding:2px 4px}.day-summary .summary-advice>span{min-width:0}.summary-materials{border:2px solid var(--summary-border);background:var(--summary-tip);gap:2px;padding:2px 6px;display:grid}.summary-materials>div{justify-content:space-between;align-items:center;gap:4px;display:flex}.summary-materials>div>span:first-child{align-items:center;gap:4px;display:inline-flex}.summary-materials>div>span:last-child{text-align:right;white-space:nowrap}.summary-purchases{color:var(--text-sub)}.night-summary .customer-dialog-content{display:block}.night-summary .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 16px;padding-top:8px;display:grid}.night-summary .night-summary-tabs{scrollbar-width:none;padding-right:0;overflow:auto hidden}.night-summary .night-summary-tabs>button{text-overflow:ellipsis;max-width:12em;min-height:44px;padding:2px 13px;overflow:hidden}.night-total{gap:6px;padding-top:8px;display:grid}.night-table{border-collapse:collapse;table-layout:fixed;width:100%}.night-table :is(th,td){text-align:right;white-space:nowrap;text-overflow:ellipsis;border-bottom:2px dotted #c9ae8280;padding:2px 8px;font-weight:400;overflow:hidden}.night-table th[scope=row]{text-align:left;width:4.5em;color:var(--text-sub)}.night-table thead th{border-bottom:3px solid var(--summary-border)}.night-table .night-sum{background:var(--summary-tip)}.night-table .night-profit-row td{font-size:39px;line-height:1.1}.night-summary .night-tabs-row{border-bottom:4px solid var(--wood);align-items:end;gap:8px;display:flex}.night-summary .night-tabs-row>.night-summary-tabs{border-bottom:0;min-width:0}.day-summary .night-hint{white-space:nowrap;color:var(--text-sub);margin-left:auto;padding-bottom:4px}.night-summary .night-regulars{gap:6px 8px}.night-summary .night-regulars>button{align-items:center;gap:6px;min-height:44px;padding:0 10px;display:inline-flex}.night-summary .night-regulars .ui-icon,.world .day-summary :is(.summary-materials,.summary-line,.summary-advice,.summary-reputation) .ui-icon{width:26px;height:26px}.event-forecast{top:var(--hud-bottom);left:calc(var(--safe-left,0px) + 12px);z-index:13;max-width:min(420px,100% - 24px);padding:8px 12px;position:absolute}.event-forecast button{text-align:left;width:100%}.event-forecast p{overflow-wrap:anywhere;margin:8px 0}.event-preparation{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.event-preparation small{flex-basis:100%}.event-dialog .actions{flex-wrap:wrap;gap:8px;display:flex}.event-dialog .actions button{min-height:44px}.event-dialog .customer-dialog-content{display:block}.event-dialog p{margin:6px 0}.primary-actions{flex-wrap:wrap;justify-content:flex-end}.odd-job-dialog .customer-dialog-content{display:block}.odd-job-dialog{width:min(600px,calc(100vw / var(--ui-zoom,1) - 24px))}.odd-job-shops{gap:12px;display:grid}.odd-job-shops article{border-bottom:2px dotted var(--wood-light);padding:8px 0}.odd-job-shops h3,.odd-job-shops p{margin:0 0 8px}.odd-job-confirm{flex-wrap:wrap;gap:8px;display:flex}.odd-job-confirm p{flex-basis:100%}.odd-job-error{background:var(--paper);padding:8px;position:absolute;bottom:100%;right:0}.title-screen{--neon-core:#fff4e0;--neon-warm:#ff7a3c;--neon-red:#e8402c;--neon-cyan:#5ef2ff;--bulb:#ffd27a;--night-board:#140b07db;--led:#ffb347;--live:#7ef08a}.title-screen:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(44% 38% at 50% 22%,#0c06109e,#0c061052 55%,#0c061000 100%);position:absolute;inset:0}.title-screen:not(.home-screen){padding-top:clamp(128px,18vh,170px)}.neon-sign{flex-direction:column;align-items:center;display:flex;position:relative}.home-screen .neon-sign{position:absolute;top:clamp(124px,15vh,150px);left:50%;transform:translate(-50%)}.neon-board{border:6px solid var(--wood);box-shadow:inset 0 0 0 3px var(--brass),0 0 0 3px #0c0605,0 0 48px #ff7a3c47;text-align:center;background:linear-gradient(#2a1810,#140a06);padding:16px 48px 12px;position:relative}.neon-board:before{content:"";pointer-events:none;background:radial-gradient(circle,var(--bulb) 0 3px,#ff9a3c59 4px,transparent 5px) 0 0/18px 18px;-webkit-mask-composite:xor;padding:8px;animation:1s step-end infinite neon-chase;position:absolute;inset:-18px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}@keyframes neon-chase{50%{background-position:9px 9px}}.neon-title{letter-spacing:.14em;color:var(--neon-core);text-shadow:0 0 2px #fff,0 0 8px var(--neon-warm),0 0 18px var(--neon-red),0 0 36px var(--neon-red);white-space:nowrap;margin:0 -.14em 0 0;font-size:52px;line-height:1.1;animation:1.4s step-end both neon-boot}.neon-flick{animation:6s step-end 1.4s infinite neon-flick}@keyframes neon-boot{0%{opacity:.15}12%{opacity:1}18%{opacity:.2}30%{opacity:1}36%{opacity:.4}44%,to{opacity:1}}@keyframes neon-flick{0%,90%{opacity:1}91%{opacity:.25}93%{opacity:1}95%{opacity:.35}96%,to{opacity:1}}.neon-en{letter-spacing:.24em;color:#e6feff;max-width:none;text-shadow:0 0 6px var(--neon-cyan),0 0 16px var(--neon-cyan);margin:4px -.24em 0 auto;font-size:26px}.neon-tag{max-width:none;color:var(--bulb);white-space:nowrap;margin:0 auto 6px;font-size:26px}.neon-sign .home-cat{z-index:1;width:96px;height:120px;image-rendering:pixelated;filter:drop-shadow(0 0 1px var(--bulb)) drop-shadow(0 0 6px #ffd27a8c);background-position:-96px -1320px;background-size:864px 1728px;animation:2.4s steps(3,end) infinite home-cat;position:absolute;bottom:calc(100% - 12px);left:22px}@keyframes home-cat{to{background-position:-960px -1320px}}.home-tools{top:max(14px,env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));z-index:2;gap:8px;display:flex;position:absolute}.home-chip,.home-chip:hover,.home-chip:active,.home-chip[aria-pressed=true]{background:var(--night-board);border:3px solid var(--brass);min-height:44px;color:var(--paper);border-image:;padding:2px 16px;text-decoration:none;box-shadow:0 0 0 2px #0c0605}.home-chip:hover{color:var(--bulb);border-color:var(--bulb)}.home-chip[aria-pressed=true]{color:var(--bulb);box-shadow:0 0 0 2px #0c0605,0 0 12px #ffd27a73}.home-chip:disabled{opacity:.55;background:var(--night-board);color:var(--paper);border-image:}.home-chip:focus-visible{outline:3px solid var(--neon-cyan);outline-offset:2px}.home-board{text-align:left;background:var(--night-board);border:3px solid var(--brass);width:clamp(300px,23vw,360px);color:var(--paper);padding:12px 20px 14px;font-size:26px;line-height:1.25;position:absolute;top:54%;transform:translateY(-50%);box-shadow:0 0 0 3px #0c0605,inset 0 0 0 2px #ffd27a1a,0 10px 28px #00000080}.home-board:before,.home-board:after{content:"";background:repeating-linear-gradient(#8a6a3a 0 6px,#5a3e22 6px 9px);width:3px;height:100vh;position:absolute;bottom:calc(100% + 3px)}.home-board:before{left:28px}.home-board:after{right:28px}.home-report{left:clamp(16px,3vw,56px)}.home-status{right:clamp(16px,3vw,56px)}.home-board h2{text-align:center;color:var(--bulb);text-shadow:0 0 6px #ffa046a6;border-bottom:3px dotted #c8a0508c;margin:0 0 8px;padding-bottom:6px;font-size:26px}.home-board h3{color:var(--paper);margin:8px 0 2px;font-size:26px}.home-board p{max-width:none;color:var(--paper);align-items:center;gap:8px;margin:4px 0;display:flex}.home-board dl{margin:0}.home-row{flex-wrap:wrap;align-items:center;gap:0 8px;margin:4px 0;display:flex}.home-label{white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.home-row dt{color:var(--paper);flex:1 0 auto}.home-row dt:after{content:"";border-bottom:3px dotted #efe2c44d;flex:1;min-width:12px;height:0;margin-left:4px}.home-reputation{white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;gap:0 4px;display:flex}.home-row:has(.home-reputation>span+span) dt:after{min-width:0;margin-left:0}.home-row dd{white-space:nowrap;min-width:0;max-width:100%;color:var(--paper);margin:0 0 0 auto}.home-coin{border-top:3px dotted #c8a0508c;flex-wrap:wrap;padding-top:8px;margin-top:10px!important}.home-coin b{white-space:nowrap;margin-left:auto;font-weight:400}.home-up{text-shadow:0 0 6px #7ef08a73;color:var(--live)!important}.home-down,.home-warn{color:#ff8a76!important}.home-live i{background:var(--live);width:12px;height:12px;box-shadow:0 0 8px var(--live);animation:1.6s step-end infinite home-live;display:inline-block}.home-live.is-prep i{background:var(--bulb);box-shadow:0 0 8px var(--bulb)}.home-live.is-open{color:var(--live)!important}.home-live.is-prep{color:var(--bulb)!important}@keyframes home-live{50%{opacity:.25}}.home-row:has(.home-gauge){flex-wrap:nowrap}.home-gauge{align-items:center;gap:10px;display:flex}.home-meter{flex-shrink:1;gap:3px;width:107px;min-width:0;display:flex}.home-meter i{background:#3a2a1c;flex:8px;width:8px;min-width:0;height:14px;box-shadow:inset 0 0 0 1px #5a4430}.home-meter i.on{background:var(--bulb);box-shadow:0 0 5px #ffbe5abf}.home-actions{position:absolute;bottom:clamp(76px,11vh,116px);left:50%;transform:translate(-50%)}:is(.home-actions,.login-panel,.title-screen)>.primary,:is(.home-actions,.login-panel,.title-screen)>.primary:hover,:is(.home-actions,.login-panel,.title-screen)>.primary:active{min-width:260px;min-height:56px;box-shadow:inset 0 0 0 3px #ff9a6a,inset 0 -6px 0 #5a100873,0 0 0 3px var(--brass),0 0 28px #e8402c99;color:var(--neon-core);text-shadow:0 0 6px #ffc88cd9;background:linear-gradient(#e0533a,#b8321f);border:4px solid #2a1208;border-image:;padding:4px 24px;text-decoration:none;animation:2.4s ease-in-out infinite home-glow}.home-actions>.primary,.home-actions>.primary:hover,.home-actions>.primary:active{min-width:300px;min-height:64px;padding:6px 28px;font-size:39px}:is(.home-actions,.login-panel,.title-screen)>.primary:hover{filter:brightness(1.12)}:is(.home-actions,.login-panel,.title-screen)>.primary:active{transform:translateY(2px)}:is(.home-actions,.login-panel,.title-screen)>.primary:disabled{filter:saturate(.5)brightness(.8);color:var(--paper);animation:none}:is(.home-actions,.login-panel,.title-screen)>.primary:focus-visible{outline:3px solid var(--neon-cyan);outline-offset:6px}@keyframes home-glow{50%{box-shadow:inset 0 0 0 3px #ff9a6a,inset 0 -6px 0 #5a100873,0 0 0 3px var(--brass),0 0 44px #ff6e3cd9}}.home-news{border-top:3px solid var(--wood);background:#0c0605;align-items:stretch;font-size:26px;line-height:1.5;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -2px #2a1810}.home-news>b{background:var(--red);color:var(--neon-core);text-shadow:1px 0;flex:none;padding:2px 16px;font-weight:400}.home-news-window{flex:1;position:relative;overflow:hidden}.home-news-window:after{content:"";pointer-events:none;background:radial-gradient(circle,#0000 1px,#0c06058c 1.6px) 0 0/4px 4px;position:absolute;inset:0}.home-news-track{width:max-content;max-width:none;color:var(--led);text-shadow:0 0 4px #ff8a1e,0 0 10px #ff781e99;white-space:nowrap;margin:0;padding:2px 0;animation:48s linear infinite home-marquee;display:flex}.home-news-group{display:flex}.home-news-group>span{padding:0 28px}.home-news-group>span:before{content:"★";color:var(--neon-red);margin-right:16px}@keyframes home-marquee{to{transform:translate(-50%)}}.login-screen{gap:40px}.login-screen .login-panel{background:var(--night-board);border:3px solid var(--brass);width:auto;min-width:min(420px,100%);max-width:min(640px,100%);color:var(--paper);border-image:;box-shadow:0 0 0 3px #0c0605,0 10px 28px #00000080}.login-screen .login-panel p{color:var(--paper)}.home-screen .audio-panel{z-index:5;max-height:90dvh;position:absolute;inset:50% auto auto 50%;translate:-50% -50%}@media (prefers-reduced-motion:reduce){.neon-board:before,.neon-title,.neon-flick,.neon-sign .home-cat,.home-live i,:is(.home-actions,.login-panel,.title-screen)>.primary,.home-news-track{animation:none}}@media (height<=500px){.title-screen:not(.home-screen){padding-top:64px}.home-screen .neon-sign{top:62px}.neon-board{border-width:4px;padding:6px 26px 4px}.neon-board:before{background-size:14px 14px;padding:6px;inset:-14px}.neon-title{font-size:39px}.neon-en{margin-top:0}.neon-tag{margin-bottom:2px}.neon-sign .home-cat{background-position:-48px -660px;background-size:432px 864px;width:48px;height:60px;animation-name:home-cat-small;bottom:calc(100% - 6px);left:14px}.home-tools{gap:6px;top:6px;right:8px}.home-chip,.home-chip:hover,.home-chip:active,.home-chip[aria-pressed=true]{min-height:40px;padding:0 10px}.home-board{width:calc(50vw - 144px);padding:4px 6px 6px;line-height:1.15;top:64px;transform:none}.home-report{left:max(8px,env(safe-area-inset-left,0px))}.home-status{right:max(8px,env(safe-area-inset-right,0px))}.home-board h2{margin-bottom:2px;padding-bottom:2px}.home-board h3{margin:2px 0 0}.home-board p,.home-row{margin:1px 0}.home-row,.home-label,.home-board .home-coin{gap:0 4px}.home-row dt:after{display:none}.home-label .ui-icon{flex:none;margin-right:0}.home-board dl{gap:4px}.home-coin{padding-top:3px;margin-top:4px!important}.home-gauge{gap:4px}.home-meter{gap:2px;width:78px}.home-meter i{width:6px;height:12px}.home-actions{bottom:50px}.home-actions>.primary,.home-actions>.primary:hover,.home-actions>.primary:active{min-width:220px;min-height:52px;padding:2px 18px;font-size:26px}.home-news{line-height:1.3}.login-screen{justify-content:space-between;gap:6px;padding:64px 16px 10px}.login-panel{gap:6px;padding:8px 16px}}@keyframes home-cat-small{to{background-position:-480px -660px}}.event-art{aspect-ratio:16/9;width:100%;height:auto;image-rendering:pixelated;border:3px solid var(--ink);margin:0 0 8px;display:block}.event-thumb{width:48px;height:27px;image-rendering:pixelated;vertical-align:middle;border:2px solid var(--ink);margin-right:8px}@media (height<=550px){.event-dialog .customer-dialog-content{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start;gap:8px 16px;display:grid}.event-dialog .event-art{grid-row:span 4;margin:0}.event-dialog .customer-dialog-content>p:first-of-type{margin-top:0}}@media (height<=550px) and (width<=700px){.event-dialog .customer-dialog-content{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px 12px}.event-dialog .event-art{grid-area:1/1}.event-dialog:not(.event-choices) .actions{flex-direction:column;grid-area:2/1}.event-dialog:not(.event-choices) .actions button{width:100%}.event-dialog .customer-dialog-content>p{grid-column:2}.event-dialog.event-choices .customer-dialog-content{display:block}}.intro-story{z-index:20;color:var(--paper);background:#141020;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:fixed;inset:0}.intro-stage{cursor:pointer;flex-direction:column;align-items:center;gap:12px;width:min(100%,177.778dvh - 266.667px,960px);display:flex}.intro-art{aspect-ratio:16/9;width:100%;height:auto;image-rendering:pixelated;border:3px solid var(--brass);animation:.6s ease-out intro-in;display:block}.intro-caption{text-align:left;text-wrap:pretty;width:100%;max-width:none;min-height:2.6em;color:var(--paper);margin:0;font-size:26px;line-height:1.3}.intro-skip{z-index:1;position:absolute;top:12px;right:12px}.intro-next{margin-top:4px}.intro-dots{gap:8px;margin:0;padding:0;list-style:none;display:flex}.intro-dots li{background:var(--wood-light);width:10px;height:10px}.intro-dots li.on{background:var(--brass)}@keyframes intro-in{0%{opacity:0}to{opacity:1}}.intro-still .intro-art{animation:none}@media (prefers-reduced-motion:reduce){.intro-art{animation:none}}@media (height<=550px){.intro-story{flex-flow:wrap;align-content:center;gap:8px 16px;padding:8px 16px}.intro-stage{flex-direction:row;align-items:flex-start;gap:16px;width:100%}.intro-art{width:min(58%,177.778dvh - 42.6667px)}.intro-caption{flex:1;min-height:0;padding-top:40px}.intro-next{position:absolute;bottom:16px;right:16px}.intro-dots{position:absolute;bottom:12px;left:16px}}.tutorial-rail{left:calc(var(--safe-left) + 8px);top:calc(var(--safe-top) + 84px);bottom:calc(var(--safe-bottom) + 112px);z-index:1210;pointer-events:none;width:360px;font-size:26px;position:absolute}.tutorial-card{pointer-events:auto;width:100%;max-height:100%;padding:8px;overflow:auto}.tutorial-card header{align-items:center;gap:8px;display:flex}.tutorial-card header :is(.chat-portrait,.chat-pixel-head){flex:none;width:52px;height:52px}.tutorial-heading{flex-direction:column;flex:1;min-width:0;display:flex}.tutorial-heading>.px-bold{white-space:nowrap}.tutorial-card .tutorial-collapse{border-width:4px;border-image-width:4px;flex:none;align-self:flex-start;min-width:44px;min-height:44px;padding:0}.tutorial-card p{margin:8px 0}.tutorial-card .tutorial-intro,.tutorial-card .tutorial-progress{color:var(--muted);font-size:22px}.tutorial-card .tutorial-instruction{background:var(--ui-white);color:var(--ink);border:2px solid #ff9e3a;padding:8px}.tutorial-card ul{margin:8px 0;padding:0;list-style:none}.tutorial-card li{color:var(--muted);text-indent:-1em;padding-left:1em}.tutorial-card li.current{color:var(--red)}.tutorial-card footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.tutorial-card footer button{border-width:4px;border-image-width:4px;min-width:44px;min-height:44px;padding:2px 4px;font-size:22px}.tutorial-card button.tutorial-notebook-link{color:var(--muted);text-underline-offset:3px;background:0 0;border:0;border-image:;padding:0;text-decoration:underline}.tutorial-card>.primary{width:100%;margin:8px 0;display:block}.tutorial-rail[data-compact=true]{width:min(calc(320px / var(--ui-zoom,1)),calc(100vw / var(--ui-zoom,1) - var(--safe-left) - var(--safe-right) - 16px));bottom:calc(var(--safe-bottom) + 8px)}.tutorial-rail[data-compact=true] .tutorial-card{flex-direction:column;gap:4px;padding:4px;line-height:1.15;display:flex}.tutorial-rail[data-compact=true] .tutorial-instruction{padding:4px}.tutorial-rail[data-compact=true] .tutorial-card header{position:relative}.tutorial-rail[data-compact=true] .tutorial-card header :is(.chat-portrait,.chat-pixel-head){flex:none;align-self:center;width:40px;height:40px}.tutorial-rail[data-compact=true] .tutorial-collapse{position:absolute;top:0;right:0}.tutorial-rail[data-compact=true] .tutorial-heading>.px-bold{padding-right:44px}.tutorial-rail[data-compact=true] .tutorial-card footer{align-items:stretch;gap:4px}.tutorial-rail[data-compact=true] .tutorial-card footer>button{overflow-wrap:anywhere;flex:1;min-width:0}.tutorial-rail[data-compact=true] .tutorial-card p{margin:0}.tutorial-rail[data-compact=true] .tutorial-card ul{min-height:0;margin:0;overflow:auto}.tutorial-rail[data-compact=true] .tutorial-card>:not(ul){flex-shrink:0}.tutorial-progress{align-self:flex-start}.tutorial-card button.tutorial-progress{text-align:left;text-underline-offset:3px;background:0 0;border:0;border-image:;min-width:44px;min-height:44px;padding:0;text-decoration:underline}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true]{--ui-text:13px;font-family:DianDian Pixel,monospace;font-size:13px}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true][data-collapsed=false]{zoom:calc(1 / var(--ui-zoom,1));left:calc((var(--safe-left) + 8px) * var(--ui-zoom,1));top:calc((var(--safe-top) + 84px) * var(--ui-zoom,1));max-height:calc(100vh - (var(--safe-top) + 92px) * var(--ui-zoom,1));width:min(240px,calc(100vw - (var(--safe-left) + var(--safe-right) + 16px) * var(--ui-zoom,1)));bottom:auto}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card{max-height:inherit;gap:4px;padding:6px;overflow:auto}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card header{align-items:center;gap:6px;min-height:32px;display:flex;position:static}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card header :is(.chat-portrait,.chat-pixel-head){align-self:center;width:32px;height:32px;margin:2px;box-shadow:0 0 0 2px #4a2e1c}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-instruction{padding:4px}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] :is(.tutorial-intro,.tutorial-progress){font:inherit}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card button:not(.tutorial-progress):not(.tutorial-notebook-link):not(.tutorial-skip):not(.tutorial-collapse){border-width:4px;min-width:40px;height:40px;min-height:40px;padding:0 8px;font-family:"Cubic 11",monospace;font-size:22px;line-height:1}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card button.tutorial-notebook-link{min-width:40px;height:40px;min-height:40px;font:inherit;padding:0;line-height:1}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card .tutorial-collapse{flex:none;align-self:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;font-family:DianDian Pixel,monospace;font-size:13px;line-height:1;position:relative;top:auto;right:auto}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-heading>.px-bold{margin:0;padding-right:0;line-height:1}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card footer{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card footer>button{flex:none}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card>.primary{margin:4px 0}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-heading{flex:1;justify-content:center;gap:4px;min-width:0}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card button.tutorial-skip{min-width:0;height:40px;min-height:40px;color:var(--muted);text-underline-offset:3px;box-shadow:none;background:0 0;border:0;border-image:;padding:0;font-family:DianDian Pixel,monospace;font-size:13px;text-decoration:underline}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card button.tutorial-progress{align-self:flex-start;min-width:0;height:auto;min-height:0;padding:0;line-height:1;position:relative}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card button.tutorial-progress:after{content:"";position:absolute;inset:-12px -4px}.world:not([data-ui-size=large]) .tutorial-rail[data-compact=true] .tutorial-card .tutorial-collapse:after{content:"";position:absolute;inset:-6px}.tutorial-rail[data-collapsed=true]{width:130px;bottom:auto}.tutorial-tab{pointer-events:auto;flex-direction:column;padding:4px;display:flex}.world:has(.tutorial-rail){--tutorial-space:384px}.world:has(.tutorial-rail[data-compact=true][data-collapsed=false]){--tutorial-space:calc(320px / var(--ui-zoom,1) + 24px)}.world:has(.tutorial-rail[data-collapsed=true]){--tutorial-space:150px}.world:has(.tutorial-rail) :is(.menu-backdrop,.customer-backdrop){padding-left:calc(var(--safe-left) + var(--tutorial-space))}.world:has(.tutorial-rail) .category-picker{left:calc((100% + var(--tutorial-space))/2);max-width:calc(100% - var(--tutorial-space) - 16px)}.tutorial-target{outline-offset:2px;outline:4px solid #ffd84a;animation:1.6s ease-in-out infinite tutorial-glow}@keyframes tutorial-glow{50%{outline-color:#ff9e3a}}@media (prefers-reduced-motion:reduce){body[data-tutorial-step] [data-tutorial]{animation:none}}.tutorial-arrow{z-index:1211;color:#ffd84a;text-shadow:1px 1px #3a2418;pointer-events:none;font-size:26px;line-height:1;position:fixed}.tutorial-notebook .customer-backdrop{z-index:1220}.tutorial-notebook [role=tablist]{flex-wrap:wrap;gap:4px;display:flex}.tutorial-stall-target{z-index:1;max-width:180px;font-size:26px;display:none;position:absolute}body[data-tutorial-step=own-stall] .tutorial-stall-target,body[data-tutorial-step=layout] .tutorial-stall-target{display:block}.world .warehouse-shop-empty{font-family:DianDian Pixel,monospace;font-size:13px}.warehouse-shop-empty{padding:8px;line-height:1.5}.warehouse-shop-empty p{margin:0}.city-bus-overlay{z-index:1300;background:#0a061099;position:fixed;inset:0}.world .city-bus-overlay .category-picker{text-align:center;width:auto;min-width:0;max-width:calc(100% - var(--safe-left) - var(--safe-right) - 16px);padding:12px 16px;top:50%;left:50%}.city-dpad{left:calc(var(--safe-left) + 8px);bottom:calc(var(--safe-bottom) + 8px);z-index:3;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-template-rows:repeat(3,52px);grid-template-columns:repeat(3,52px);grid-template-areas:".up.""left.right"".down.";display:grid;position:absolute}.world .city-dpad>button{touch-action:none;width:52px;height:52px;padding:0;position:relative}.city-dpad-up{grid-area:up}.city-dpad-down{grid-area:down}.city-dpad-left{grid-area:left}.city-dpad-right{grid-area:right}.city-dpad>button:before{content:"";border:9px solid #0000;width:0;height:0;position:absolute;top:50%;left:50%;translate:-50% -50%}.city-dpad>.city-dpad-up:before{border-bottom:12px solid var(--ink);border-top-width:0}.city-dpad>.city-dpad-down:before{border-top:12px solid var(--ink);border-bottom-width:0}.city-dpad>.city-dpad-left:before{border-right:12px solid var(--ink);border-left-width:0}.city-dpad>.city-dpad-right:before{border-left:12px solid var(--ink);border-right-width:0}.warehouse-fee-note{font-size:var(--ui-tip-text,26px);color:var(--muted);display:block}.stall-status{right:calc(var(--safe-right) + 8px);z-index:13;max-height:calc(30vh / var(--ui-zoom));font-size:inherit;padding:4px 6px;line-height:1.15;animation:.18s steps(3,end) stall-status-enter;position:absolute;overflow:auto}.stall-status-heading{align-items:center;gap:6px;min-width:0;display:flex}.stall-status-heading h2{min-width:0;font-size:inherit;line-height:inherit;white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;overflow:hidden}.world .stall-status .ui-icon{width:28px;height:28px}.world .stall-status-close{border-width:4px;width:32px;min-width:32px;height:32px;min-height:32px;font:inherit;border-image-width:4px;flex:none;justify-content:center;align-items:center;padding:0;line-height:1;display:flex}.world .stall-status-close .ui-icon{width:16px;height:16px}.stall-status p{font:inherit;margin:4px 0 0}.stall-status-totals{white-space:nowrap;justify-content:space-between;align-items:center;gap:6px;margin:4px 0 0;display:flex}.stall-status-totals>div,.stall-status-totals dt,.stall-status-reputation{align-items:center;gap:4px;display:flex}.stall-status-totals>div{gap:6px}.stall-status-totals>div+div{border-left:3px solid #8a6a42;padding-left:6px}.stall-status-totals dd{margin:0}.stall-status-owner{overflow-wrap:anywhere}.stall-rename{gap:6px;margin-top:6px;display:flex}.stall-rename input{width:0;min-width:0;font:inherit;flex:1;padding:0 6px;font-family:"Cubic 11",monospace;font-size:22px}.world .stall-rename button{font:inherit;border-width:6px;border-image-width:6px;min-height:36px;padding:0 8px;font-family:"Cubic 11",monospace;font-size:22px}.stall-primary-actions>button{animation:.1s steps(3,end) backwards stall-action-enter}.stall-primary-actions>button:nth-of-type(2){animation-delay:20ms}.stall-primary-actions>button:nth-of-type(3){animation-delay:40ms}.stall-primary-actions>button:nth-of-type(4){animation-delay:60ms}.stall-primary-actions>button:nth-of-type(5){animation-delay:80ms}.stall-primary-actions>button:nth-of-type(6){animation-delay:.1s}@keyframes stall-status-enter{0%{clip-path:inset(0 0 100%)}to{clip-path:inset(0)}}@keyframes stall-action-enter{0%{opacity:0;translate:0 70%}to{opacity:1;translate:0}}@media (width>=1051px) and (height>=551px){.world .tonight-panel{top:calc(120px + var(--stall-panel-offset,0px));max-height:calc(100% - 210px - var(--stall-panel-offset,0px))}}@media (prefers-reduced-motion:reduce){.stall-status,.stall-primary-actions>button{animation:none}}.stall-primary-actions>button.cleaning-status>span{letter-spacing:-2px;font-family:"Cubic 11",monospace;font-size:22px}
