:root{--kopi:#6b4226;--condensed-milk:#f3e3c3;--stool-red:#d7263d;--pandan:#4caf50;--sign-yellow:#f2b134;--terrazzo:#8a8d91;--ink:#3a2414;--font-title:"ZCOOL KuaiLe", "Noto Sans SC", system-ui, sans-serif;--font-body:"Noto Sans SC", system-ui, sans-serif;--font-num:ui-monospace, "SF Mono", Menlo, monospace}*{box-sizing:border-box}html,body{height:100%;color:var(--ink);font-family:var(--font-body);-webkit-tap-highlight-color:transparent;touch-action:none;background:#4a7f90;margin:0;overflow:hidden}#app{width:100%;height:100%;position:relative}canvas{display:block}.hud{pointer-events:none;font-family:var(--font-title);position:absolute;inset:0}.key-btn{pointer-events:auto;border:3px solid var(--kopi);color:var(--ink);box-shadow:0 6px 0 var(--kopi), 0 10px 14px #3c1e0f59;font-family:var(--font-title);cursor:pointer;background:linear-gradient(#fff6e2,#f1dfbc);border-radius:16px;transition:transform 60ms,box-shadow 60ms}.key-btn:active{box-shadow:0 1px 0 var(--kopi), 0 3px 6px #3c1e0f59;transform:translateY(5px)}.variant-toggle{left:50%;bottom:max(18px, env(safe-area-inset-bottom));flex-direction:column;align-items:center;padding:8px 22px 6px;line-height:1.1;display:flex;position:absolute;transform:translate(-50%)}.variant-toggle:active{transform:translate(-50%,5px)}.variant-toggle .key-label{color:var(--stool-red);font-size:22px}.variant-toggle .key-hint{opacity:.6;font-size:11px;font-family:var(--font-body)}.debug-stats{color:#fff;font:11px/1.3 var(--font-num);background:#0000008c;border-radius:6px;margin:0;padding:6px 8px;position:absolute;top:8px;left:8px}.story{z-index:30;pointer-events:auto;font-family:var(--font-body);background:#1a0f0a;transition:opacity .4s;position:absolute;inset:0}.story.out{opacity:0}.story-fade{opacity:0;pointer-events:none;background:#1a0f0a;transition:opacity .4s;position:absolute;inset:0}.story-fade.on{opacity:1}.story-box{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 18px);background:#fffaf0;border:3px solid #3a2414;border-radius:18px;min-height:110px;padding:18px 16px 22px;position:absolute;box-shadow:0 8px #3a241459}.story-box.narrator{color:#f3e3c3;text-align:center;background:#1a0f0ad9;border-color:#f3e3c3}.story-who{color:#fff;font-family:var(--font-title);background:#c8343a;border-radius:999px;padding:3px 14px;font-size:17px;position:absolute;top:-16px;left:14px}.story-text{color:inherit;min-height:56px;font-size:19px;font-weight:700;line-height:1.5}.story-hint{opacity:.5;font-size:10px;animation:1.2s infinite blink;position:absolute;bottom:6px;right:14px}@keyframes blink{50%{opacity:.1}}.story-skip{top:calc(env(safe-area-inset-top) + 14px);color:#fff;background:#1a0f0a8c;border:2px solid #fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:800;position:absolute;right:14px}.story-name{background:#1a0f0a73;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.story-name .paper{text-align:center}.name-in{text-align:center;width:100%;font-family:"Noto Serif SC", var(--font-title);color:#c8343a;background:#fff7e6;border:3px solid #c8343a;border-radius:12px;margin-top:8px;padding:10px;font-size:34px;font-weight:900}.story-start,.story-title{text-align:center;background:linear-gradient(#1a0f0a40,#1a0f0ab3),url(/video/opening-poster.jpg) 50%/cover;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.story-title{background:0 0;animation:.5s both fadein}.story:before{content:"";filter:blur(16px)brightness(.6)saturate(1.15);background:url(/video/opening-poster.jpg) 50%/cover;position:absolute;inset:-40px}.story-logo{font-family:"Noto Serif SC", var(--font-title);color:#fff;text-shadow:0 3px #3a2414,0 0 18px #00000080;font-size:32px;font-weight:900}.story-logo em,.story-q em{color:#f2b134;font-style:normal}.story-q{font-family:var(--font-title);color:#fff;text-shadow:0 3px #3a2414;font-size:26px}.story-sub{color:#f3e3c3;letter-spacing:1px;text-shadow:0 2px 4px #000;font-size:14px;font-weight:700}.story-play{color:#3a2414;font-family:var(--font-title);background:#f2b134;border:4px solid #3a2414;border-radius:999px;margin-top:18px;padding:14px 44px;font-size:26px;animation:1.4s ease-in-out infinite pulse;box-shadow:0 6px #3a2414}.story-play:active{transform:translateY(4px);box-shadow:0 2px #3a2414}.story-tip{color:#f3e3c3;opacity:.85;font-size:12px}@keyframes pulse{50%{transform:scale(1.05)}}@keyframes fadein{0%{opacity:0}}.story-filmwrap{background:#000;transition:opacity .35s;position:absolute;inset:0}.story-filmwrap.out{opacity:0}.story-film{object-fit:cover;width:100%;height:100%;display:block}.story-progress{transform-origin:0;background:#f2b134;height:4px;position:absolute;bottom:0;left:0;right:0;transform:scaleX(0)}.story .story-name{z-index:2;background:0 0;padding:16px}.name-paper{flex-direction:column;align-items:center;gap:8px;width:min(360px,100%);display:flex}.name-sign{background:linear-gradient(#ffd55e,#f2b134);border:4px solid #3a2414;border-radius:10px;flex-direction:column;align-items:center;width:100%;padding:10px 8px 6px;display:flex;box-shadow:0 5px #3a2414}.name-preview{font-family:"Noto Serif SC", var(--font-title);color:#c8343a;letter-spacing:4px;min-height:42px;font-size:38px;font-weight:900;line-height:1.1}.name-sign small{letter-spacing:3px;color:#3a2414;font-size:11px;font-weight:900}.name-chips{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.name-chip{color:#3a2414;font:700 14px var(--font-body);background:#fff7e6;border:2px solid #3a2414;border-radius:999px;padding:5px 11px}.name-chip:active{background:#f2b134}.go:disabled{opacity:.45}.name-cancel{color:#8a6a50;font:700 14px var(--font-body);background:0 0;border:0;padding:4px 10px}.game-logo{font-family:"Baloo 2", var(--font-title);color:#fff7e6;letter-spacing:.5px;-webkit-text-stroke:2px #3a2414;paint-order:stroke fill;text-shadow:0 5px #3a2414,0 0 24px #f2b13473;font-size:46px;font-weight:800;line-height:1}.game-logo em{color:#f2b134;font-style:normal}.story-logo.small{font-size:22px}.game-logo-img{filter:drop-shadow(0 8px 14px #140a0473);width:min(84vw,360px);height:auto;margin:0 auto 6px;display:block}.hud{pointer-events:none;font-family:var(--font-body);color:var(--ink);-webkit-user-select:none;user-select:none;position:absolute;inset:0}.hud button{font:inherit;color:inherit;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent}.mono{font-family:var(--font-num);font-variant-numeric:tabular-nums}.top{left:8px;right:8px;top:calc(env(safe-area-inset-top) + 8px);position:absolute}.topbar{border:3px solid var(--kopi);background:linear-gradient(#fff7e6,#f3e3c3);border-radius:14px;align-items:stretch;gap:4px;height:48px;padding:4px;display:flex;box-shadow:0 4px #4a2c18,0 8px 14px #28140a59}.stat{border-right:2px dashed #6b42264d;flex:1;align-items:center;gap:3px;min-width:0;padding:0 4px;display:flex}.stat .ico{font-size:18px}.coin{background:radial-gradient(circle at 35% 30%,#fff2b0,#f2b134 55%,#b97a1a);border:1.5px solid #8a5a10;border-radius:50%;flex:none;width:18px;height:18px;box-shadow:inset 0 0 0 2.5px #ffe69699}.stat .v{white-space:nowrap;font-size:13px;font-weight:700}.stat .v.small{font-size:11px}.stat.cash{flex:1.45}.plus{pointer-events:auto;color:#fff;background:#4caf50;border:2px solid #1f6b3e;border-radius:50%;width:20px;height:20px;margin-left:auto;padding:0;font-size:14px;font-weight:900;line-height:14px;box-shadow:0 2px #1f6b3e}.repbar{background:#e2cfa8;border:1.5px solid #b98a3a;border-radius:6px;flex:1;height:9px;overflow:hidden}.repbar i{background:linear-gradient(#ffd36b,#f2b134);height:100%;display:block}.daytag{background:#fffdf6;border:2px solid #c8343a;border-top-width:6px;border-radius:8px;flex-direction:column;flex:0 0 86px;justify-content:center;align-items:center;gap:2px;line-height:1;display:flex}.dayrow{align-items:baseline;gap:4px;display:flex}.daytag b{font-family:var(--font-body);color:#c8343a;font-size:13px;font-weight:900;line-height:1.1}.daytag small{opacity:.7;white-space:nowrap;font-size:8px}.daytag .clock{font-size:11px;font-weight:700}.daytag .clock.closed{color:#c8343a}.tickets{scrollbar-width:none;pointer-events:auto;gap:6px;height:60px;margin-top:8px;display:flex;overflow-x:auto}.tickets::-webkit-scrollbar{display:none}.chit{background:repeating-linear-gradient(#fffdf5 0 11px,#e9f0f7 11px 12px);border:none;border-radius:4px 4px 2px 2px;flex-direction:column;flex:0 0 66px;justify-content:center;align-items:center;padding:4px 2px 8px;line-height:1.05;animation:.25s ease-out chit-in;display:flex;position:relative;transform:rotate(-1.5deg);box-shadow:0 3px 6px #28140a4d}.chit:nth-child(2n){transform:rotate(1.5deg)}.chit .tbl{color:#c8343a;font-size:9px;font-weight:900;position:absolute;top:2px;left:4px}.chit b{font-family:var(--font-title);color:#c8343a;margin-top:6px;font-size:15px}.chit small{opacity:.75;font-size:9px}.chit .pat{background:#e5d9c3;border-radius:3px;height:4px;position:absolute;bottom:3px;left:6px;right:6px;overflow:hidden}.chit .pat>i{background:#4caf50;height:100%;transition:width .2s linear;display:block}.chit.urgent .pat>i{background:#d7263d}.chit.urgent{animation:.5s ease-in-out infinite wobble}.chit.covered{opacity:.6}.chit.covered:after{content:"✓";color:#2e7d4f;font-weight:900;position:absolute;top:0;right:4px}@keyframes chit-in{0%{opacity:0;transform:translateY(-20px)rotate(-6deg)}}@keyframes wobble{50%{transform:rotate(3deg)}}.bubbles,.floaters{position:absolute;inset:0;overflow:hidden}.bubble{text-align:center;white-space:normal;background:#fff;border:2.5px solid #3a2414;border-radius:14px;max-width:170px;margin-top:-8px;padding:5px 9px;font-size:12px;font-weight:800;line-height:1.2;position:absolute;top:0;left:0;box-shadow:0 3px 6px #28140a40}.bubble:after{content:"";background:#fff;border-bottom:2.5px solid #3a2414;border-right:2.5px solid #3a2414;border-radius:0 0 3px;width:12px;height:12px;position:absolute;bottom:-9px;left:50%;transform:translate(-50%)rotate(45deg)}.bubble.short{font-family:var(--font-title);color:#c8343a;align-items:center;gap:4px;padding:3px 8px 3px 4px;font-size:13px;display:flex}.bubble.urgent{border-color:#d7263d;animation:.4s infinite wobble}.bubble.angry,.bubble.angry:after{background:#ffe1dc}.bubble.dad{text-align:left;z-index:2;background:#fff7e6;max-width:220px;font-weight:600}.bubble.dad:after{background:#fff7e6}.bubble.dad b{color:#6b4226}.ring{background:conic-gradient(#4caf50 calc(var(--p) * 360deg), #eadfcb 0);border:1.5px solid #3a2414;border-radius:50%;flex:none;width:16px;height:16px}.bubble.urgent .ring{background:conic-gradient(#d7263d calc(var(--p) * 360deg), #eadfcb 0)}.floater{color:#2e7d4f;text-shadow:0 0 3px #fff,0 0 3px #fff,0 2px #fff;font-size:18px;font-weight:900;animation:1.2s ease-out forwards float-up;position:absolute;transform:translate(-50%,-50%)}@keyframes float-up{to{opacity:0;transform:translate(-50%,-260%)}}.dock{padding:8px 8px calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 8px);background:linear-gradient(#8a5a36,#6b4226);border-top:4px solid #4a2c18;border-radius:18px 18px 0 0;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -6px 14px #28140a4d}.ready{color:#f3e3c3;align-items:center;gap:6px;height:22px;margin-bottom:6px;padding-left:2px;font-size:12px;display:flex;overflow:hidden}.ready .cup{color:#3a2414;background:#f3e3c3;border-radius:10px;padding:2px 8px;font-weight:800;animation:.2s chit-in}.ready .cup.carry{background:#ffd36b}.ready .hint{opacity:.75;font-size:11px}.keys{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.key{text-align:left;background:linear-gradient(#fffaf0,#f0dfbd);border:2.5px solid #3a2414;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:1fr auto;align-items:center;padding:4px 8px;transition:transform 50ms,box-shadow 50ms;display:grid;position:relative;overflow:hidden;box-shadow:0 5px #3a2414}.key:active{transform:translateY(4px);box-shadow:0 1px #3a2414}.key .zh{font-family:var(--font-title);color:#c8343a;font-size:17px;line-height:1;position:relative}.key .en{opacity:.7;grid-column:1;font-size:9px;position:relative}.key .price{grid-area:1/2/span 2;font-size:12px;font-weight:800;position:relative}.key .fill{transform-origin:0;background:#4caf5059;position:absolute;inset:0;transform:scaleX(0)}.key .badge{color:#fff;background:#c8343a;border-radius:8px;padding:0 4px;font-size:10px;font-weight:900;position:absolute;top:2px;right:3px}.key.full{filter:saturate(.6)brightness(.92)}.key.pop{animation:.25s pop}@keyframes pop{0%{transform:scale(.3)}70%{transform:scale(1.15)}}.cards{grid-template-columns:repeat(5,1fr);gap:6px;margin-top:10px;display:grid}.card{background:linear-gradient(#fffbf0,#f3e3c3);border:2px solid #b98a3a;border-radius:10px;flex-direction:column;align-items:center;gap:1px;padding:4px 0 3px;display:flex;box-shadow:0 3px #4a2c18}.card .cico{font-size:20px;line-height:1.1}.card .clabel{font-family:var(--font-title);color:#c8343a;border-bottom:2px solid #c8343a99;font-size:14px;line-height:1.1}.toast{z-index:11;opacity:0;color:#f3e3c3;white-space:nowrap;background:#3a2414eb;border-radius:16px;padding:7px 14px;font-size:13px;font-weight:700;transition:all .2s;position:absolute;top:140px;left:50%;transform:translate(-50%,-10px)}.toast.show{opacity:1;transform:translate(-50%)}.sheet,.modal{z-index:10;pointer-events:auto;background:#1e0f0866;justify-content:center;align-items:flex-end;display:none;position:absolute;inset:0}.modal{align-items:center}.sheet.open,.modal.open{display:flex}.paper{background:#fffaf0;border:3px solid #6b4226;border-radius:16px;width:min(380px,100% - 20px);margin-bottom:14px;padding:14px 14px 16px;box-shadow:0 8px 20px #1e0f0866}.paper h3{font-family:var(--font-title);color:#c8343a;text-align:center;margin:0 0 4px;font-size:22px;font-weight:400}.paper .note{opacity:.75;text-align:center;margin:0 0 10px;font-size:12px}.mrow{border-bottom:1px dashed #d8c8a8;grid-template-columns:1fr 38px 56px 38px;align-items:center;gap:6px;padding:5px 0;display:grid}.mname b{font-family:var(--font-title);color:#3a2414;font-size:16px;font-weight:400;display:block}.mname small{opacity:.7;font-size:10px}.key.mini{justify-content:center;padding:2px 0;font-size:18px;font-weight:900;display:flex}.mprice{text-align:center;font-weight:800}.mprice.high{color:#c8343a}.key.wide{width:100%;font-family:var(--font-title);color:#c8343a;justify-content:center;margin-top:12px;padding:8px;font-size:18px;display:flex}.key.wide.on{background:linear-gradient(#ffe7a8,#f2b134)}.row2{gap:8px;display:flex}.receipt{background:#fffdf6;border-style:dashed}.receipt .line{border-bottom:1px dotted #d8c8a8;grid-template-columns:1fr 50px 90px;padding:3px 0;font-size:13px;display:grid}.receipt .line span:nth-child(2),.receipt .line span:nth-child(3){text-align:right}.receipt .line.total{font-weight:800}.receipt .neg{color:#c8343a}.receipt .profit{text-align:center;color:#fff;font-family:var(--font-title);background:#2e7d4f;border-radius:10px;margin-top:10px;padding:8px;font-size:18px}.receipt .profit b{margin-left:6px;font-size:22px}.paper.shop{flex-direction:column;max-height:calc(100% - 40px);display:flex}.sheetbody{flex:1;min-height:0;margin:0 -4px;padding:0 4px;overflow-y:auto}.shopstats{background:#f3e3c3;border-radius:8px;justify-content:space-around;margin-bottom:8px;padding:4px;font-size:11px;display:flex}.shopstats b{color:#c8343a}.tabs{gap:6px;margin-bottom:8px;display:flex}.tab{font-family:var(--font-title);color:#6b4226;background:#fffbf0;border:2px solid #b98a3a;border-radius:10px;flex:1;padding:6px 0;font-size:15px}.tab.on{color:#3a2414;background:#f2b134;border-color:#6b4226}.tab.edit{color:#fff;background:#2e7d4f;border-color:#1f5a37}.urow{border-bottom:1px dashed #d8c8a8;align-items:center;gap:8px;padding:7px 0;display:flex}.urow.have{opacity:.6}.uname{flex-direction:column;flex:1;display:flex}.uname b{font-family:var(--font-title);font-size:16px;font-weight:400}.uname small{opacity:.75;font-size:10px}.uname .ufx{color:#2e7d4f;opacity:1;font-weight:700}.key.buy{color:#3a2414;padding:6px 10px;font-size:13px;font-weight:800;display:flex}.key.buy.poor{opacity:.5}.urow .done{color:#2e7d4f;font-size:12px;font-weight:900}.note.big{padding:20px 0;font-size:14px;line-height:1.6}.slot{border-bottom:1px dashed #d8c8a8;padding:6px 0}.slotname{margin-bottom:4px;font-size:13px}.chips{flex-wrap:wrap;gap:5px;display:flex}.chip{background:#fffbf0;border:2px solid #b98a3a;border-radius:10px;flex-direction:column;align-items:center;padding:3px 8px;line-height:1.15;display:flex}.chip b{font-family:var(--font-title);color:#c8343a;font-size:14px;font-weight:400}.chip span{font-size:10px}.chip.on{background:#f2b134;border-color:#6b4226}.chip:disabled{opacity:.35}.receipt .pos{color:#2e7d4f}.editbar{z-index:5;padding:8px 8px calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 10px);pointer-events:auto;background:linear-gradient(#3f7a55,#2e5e41);border-top:4px solid #1f4630;border-radius:18px 18px 0 0;flex-direction:column;gap:8px;display:none;position:absolute;bottom:0;left:0;right:0}.editbar.open{display:flex}.edit-title{color:#f3e3c3;text-align:center;font-size:12px}.edit-title b{color:#ffd36b}.catalog{scrollbar-width:none;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.catalog::-webkit-scrollbar{display:none}.catalog .chip{flex:none}.edit-actions{grid-template-columns:1fr 1fr 1.3fr;gap:8px;display:grid}.edit-actions .key{font-family:var(--font-title);color:#3a2414;justify-content:center;padding:8px 0;font-size:17px;display:flex}.edit-actions .done{background:linear-gradient(#ffe7a8,#f2b134)}.editbar:not(.has-sel) .rot,.editbar:not(.has-sel) .del{opacity:.45}.hud.editing .dock,.hud.editing .tickets,.hud.editing .bubbles{display:none}:root{--paper-noise:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");--wood:repeating-linear-gradient(90deg, #ffffff0d 0 2px, transparent 2px 9px, #0000000f 9px 10px, transparent 10px 23px), repeating-linear-gradient(0deg, #0000000d 0 1px, transparent 1px 6px)}.ico{filter:drop-shadow(0 1.5px #3a241440);flex:none;display:block}.topbar{background:var(--paper-noise), linear-gradient(#fff9ec, #f3e3c3);border:4px solid #6b4226;position:relative;box-shadow:inset 0 0 0 2px #e2c48f,0 4px #3e2414,0 8px 16px #28140a59}.topbar:before,.topbar:after{content:"";background:radial-gradient(circle at 35% 35%,#f6dca0,#8a5a20);border-radius:50%;width:6px;height:6px;margin-top:-3px;position:absolute;top:50%;box-shadow:0 1px #0006}.topbar:before{left:-1px}.topbar:after{right:-1px}.stat .v{letter-spacing:-.3px;font-size:14px}.chit{background:var(--paper-noise), repeating-linear-gradient(#fffdf5 0 11px, #dfe8f2 11px 12px);border-top:3px dotted #3a241440;flex-basis:70px;padding-top:9px}.chit .ico{width:16px;height:16px;margin-top:0}.chit b{margin-top:0;font-size:13px;line-height:1.05}.chit small{font-size:8.5px}.tickets{height:62px}.chit .tbl{color:#c8343a;background:#fff9;border:2px solid #c8343a;border-radius:50%;place-items:center;width:17px;height:17px;font-size:10px;display:grid;top:1px;left:2px;transform:rotate(-12deg)}.bubble.short{gap:2px;padding:2px 9px 2px 4px}.dock{background:var(--wood), linear-gradient(#93603a, #6b4226)}.card{background:var(--paper-noise), linear-gradient(#fffbf0, #f3e3c3);box-shadow:0 3px #4a2c18,inset 0 0 0 2px #fff9}.card .cico{place-items:center;height:32px;display:grid}.key{background:var(--paper-noise), linear-gradient(#fffdf6 0%, #f6e7c8 70%, #e9d3a8 100%);border-width:2.5px;grid-template-columns:auto 1fr;column-gap:3px;padding:4px 6px 4px 4px;box-shadow:inset 0 2px #ffffffe6,inset 0 -3px #966e3c40,0 5px #3a2414,0 7px 6px #00000040}.key .kcup{grid-area:1/1/span 2;position:relative}.key .kcup .ico{width:26px;height:26px}.key .zh{white-space:nowrap;grid-column:2;font-size:16px}.key .en{white-space:nowrap;grid-column:2}.key .price{color:#ffe7a8;background:#3a2414;border-radius:6px;grid-row:auto;padding:0 4px;font-size:10.5px;line-height:15px;position:absolute;bottom:4px;right:4px}.mrow .key,.row2 .key,.edit-actions .key{grid-template-columns:none}.key.mini,.key.wide,.key.buy,.key.hire{display:flex}.ready .cup{align-items:center;gap:3px;display:inline-flex}.hud .eventchip{align-items:center;gap:4px;display:inline-flex}.paper{background:var(--paper-noise), #fffaf0}.shopstats,.sheet .note b{font-variant-numeric:tabular-nums}.hud .soundbtn{z-index:4;left:12px;top:calc(env(safe-area-inset-top) + 132px);pointer-events:auto;background:#fff7e6;border:2.5px solid #6b4226;border-radius:50%;width:36px;height:36px;padding:6px;position:absolute;box-shadow:0 3px #3e2414}.hud.editing .soundbtn{display:none}.gl-veil{z-index:50;background:#3a24148c;justify-content:center;align-items:center;display:none;position:absolute;inset:0}.gl-veil.show{display:flex}.gl-card{text-align:center;max-width:280px;font-family:var(--font-body);color:#3a2414;background:#fffbf0;border:3px solid #3a2414;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:16px 18px;display:flex;box-shadow:0 5px #3a2414}.gl-card b{font-family:var(--font-title);font-size:19px}.gl-card span{opacity:.8;font-size:13px}.gl-card button{font:inherit;color:#3a2414;background:#f2b134;border:3px solid #3a2414;border-radius:12px;margin-top:6px;padding:8px 18px;font-weight:900;display:none}.gl-veil.manual .gl-card button{display:block}.diag{z-index:60;pointer-events:none;color:#9fffa0;white-space:pre-wrap;word-break:break-all;background:#000000bf;border-radius:8px;max-height:45%;margin:0;padding:8px;font:11px/1.35 ui-monospace,Menlo,monospace;position:absolute;top:40%;left:6px;right:6px;overflow:auto}.hud .rename{vertical-align:middle;color:#3a2414;font:800 12px var(--font-body);pointer-events:auto;background:#fff7e6;border:2px solid #3a2414;border-radius:999px;margin-left:6px;padding:2px 9px}.hud .story-name{z-index:40;pointer-events:auto;background:#1a0f0a80;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.receipt-modal,.news-modal,.crisis-modal{z-index:20;pointer-events:auto;-webkit-backdrop-filter:blur(3px);background:#1e0f088c;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.thermal{--tooth:10px;scrollbar-width:none;color:#3a2414;width:min(360px,100% - 24px);max-height:calc(100% - 24px);font-family:var(--font-body);-webkit-mask:conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--tooth)) 100%;-webkit-mask-composite:source-in;background:#fffdf6;padding:22px 18px 16px;animation:.5s ease-out print-in;position:relative;overflow-y:auto;box-shadow:0 10px 30px #0006;-webkit-mask-composite:source-in;mask-composite:intersect}.thermal::-webkit-scrollbar{display:none}@keyframes print-in{0%{opacity:0;transform:translateY(40px)}}.r-head{justify-content:space-between;align-items:center;display:flex}.r-ico{font-size:28px}.r-badge{background:#fff7e6;border:3px solid #c8343a;border-radius:999px;flex-direction:column;align-items:center;padding:4px 22px 2px;line-height:1;display:flex}.r-badge b{font-family:"\"Noto Serif SC\"", var(--font-title);color:#c8343a;font-size:28px;font-weight:900}.r-badge small{color:#2e7d4f;letter-spacing:1px;font-size:10px;font-weight:900}.r-title{justify-content:center;align-items:center;gap:10px;margin:10px 0 6px;font-size:24px;font-weight:900;display:flex}.r-title span{border-top:2px solid #3a2414;border-bottom:2px solid #3a2414;flex:1;height:6px}.r-meta{justify-content:space-between;font-size:10.5px;display:flex}.r-dash{border-top:2px dashed #a8987f;margin:8px 0}.r-row{grid-template-columns:1fr 44px 82px;padding:2px 0;font-size:14px;font-weight:700;display:grid}.r-row span:nth-child(2){text-align:center}.r-row span:nth-child(3){text-align:right}.r-row.empty{text-align:center;opacity:.6;display:block}.r-sub{justify-content:space-between;margin-top:4px;font-size:15px;font-weight:900;display:flex}.r-sub b{color:#2e7d4f;font-size:17px}.r-line{grid-template-columns:24px 1fr auto;align-items:center;padding:2px 0;font-size:13.5px;font-weight:700;display:grid}.r-line .pos{color:#2e7d4f}.r-line .neg{color:#c8343a}.r-profit{text-align:center;color:#fff;clip-path:polygon(2% 8%,30% 2%,70% 4%,98% 0,100% 50%,97% 96%,60% 100%,25% 95%,0 100%,3% 50%);background:#2e6b3a;margin:10px -6px 4px;padding:8px 10px 10px;transform:rotate(-1.5deg)}.r-profit.loss{background:#9a2a2a}.r-profit i{font-size:15px;font-weight:900;display:block}.r-profit b{text-shadow:0 2px #00000040;font-size:32px;line-height:1.1;display:block}.r-mascot{align-items:flex-end;gap:4px;margin-top:6px;display:flex}.r-mascot img{width:140px;height:140px}.r-speech{font-family:var(--font-title);text-align:center;background:#fff;border:2.5px solid #3a2414;border-radius:18px;flex:1;margin-bottom:40px;padding:10px 12px;font-size:17px;position:relative}.r-speech:before{content:"";border:8px solid #0000;border-right-color:#3a2414;position:absolute;bottom:14px;left:-10px}.r-actions{grid-template-columns:1.3fr 1fr;gap:8px;display:grid}.r-actions button{pointer-events:auto;font-family:var(--font-title);border:2.5px solid #3a2414;border-radius:999px;padding:10px 0;font-size:18px;box-shadow:0 4px #3a2414}.hud .r-share{color:#fff;font-family:var(--font-body);background:linear-gradient(#e8404f,#c8202f);font-weight:900}.hud .r-next{color:#c8343a;background:linear-gradient(#fff6e2,#f1dfbc)}.r-stats{text-align:center;opacity:.65;margin-top:8px;font-size:10.5px}.news-modal{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(#1c2c5a,#0f1a3a);flex-direction:column;justify-content:flex-start;overflow:hidden}.studio{background:radial-gradient(at 50% 30%,#3a5db0,#13224f 70%);width:100%;height:37%;position:relative;overflow:hidden}.skyline{height:55%;position:absolute;bottom:18%;left:0;right:0}.skyline i{background:linear-gradient(#2c4a96,#1a2c63);border-radius:3px 3px 0 0;position:absolute;bottom:0;box-shadow:inset 0 0 0 2px #ffe69614}.skyline i:after{content:"";background:repeating-linear-gradient(#0000 0 7px,#ffd77859 7px 9px);position:absolute;inset:10% 20%}.live{left:14px;top:calc(env(safe-area-inset-top) + 18px);color:#fff;background:#e02a35;border-radius:6px;padding:3px 10px;font-size:14px;font-style:italic;font-weight:900;position:absolute}.kopitv{right:14px;top:calc(env(safe-area-inset-top) + 16px);color:#1c2c5a;background:#fff;padding:3px 10px;font-size:18px;font-style:italic;font-weight:900;position:absolute;transform:skew(-12deg)}.kopitv b{color:#e02a35;margin-left:2px}.anchor{width:52%;max-width:230px;position:absolute;bottom:8%;left:6%}.desk{background:linear-gradient(#cfd6e6,#8e9bbb);border-top:3px solid #fff;justify-content:center;align-items:center;height:20%;display:flex;position:absolute;bottom:0;left:-5%;right:-5%}.desk span{color:#1c2c5a;opacity:.6;font-style:italic;font-weight:900}.n-icon{aspect-ratio:1;background:repeating-conic-gradient(#ffd36b 0 15deg, #f2b134 15deg 30deg);border:4px solid #fff;border-radius:16px;justify-content:center;align-items:center;width:34%;max-width:140px;display:flex;position:absolute;top:28%;right:6%;box-shadow:0 6px 14px #0006}.n-icon span{filter:drop-shadow(0 4px 2px #0000004d);font-size:64px}.n-banner{z-index:2;text-align:center;color:#fff;background:linear-gradient(#e43a45,#b81e2a);margin:-18px 12px 0;padding:8px 14px 6px;line-height:1;position:relative;transform:skew(-8deg);box-shadow:0 6px 12px #0006}.n-banner b{font-family:var(--font-body);letter-spacing:2px;font-size:34px;font-weight:900;display:block}.n-banner i{color:#c8202f;background:#fff;margin-top:4px;padding:3px 12px;font-size:15px;font-weight:900;display:inline-block}.n-card{color:#2a1a12;background:#fdf6e6;border-radius:20px;flex-direction:column;flex:1;justify-content:space-evenly;align-items:center;width:calc(100% - 32px);margin:12px 16px 0;padding:14px 14px 10px;display:flex}.n-head{align-items:center;gap:10px;font-size:30px;font-weight:900;display:flex}.n-ico{background:#f59a2a;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;font-size:26px;display:flex}.n-big{color:#d11f2f;text-shadow:3px 3px #00000014;border-bottom:4px solid #d11f2f;margin:4px 0 8px;font-size:72px;font-style:italic;font-weight:900;line-height:1.05}.n-detail{text-align:center;background:#eef3e4;border-radius:999px;padding:6px 12px;font-size:14px;font-weight:700}.n-week{opacity:.65;margin-top:6px;font-size:11px}.hud .n-ok{pointer-events:auto;color:#fff;background:linear-gradient(#5cc85c,#2e8a3a);border:none;border-radius:999px;width:76%;margin-top:6px;padding:10px;font-size:26px;font-weight:900;box-shadow:0 5px #1f5a28}.n-fic{opacity:.7;margin-top:8px;font-size:12px}.n-ticker{width:100%;height:38px;margin-top:10px;margin-bottom:env(safe-area-inset-bottom);color:#2a1a12;background:#fff;align-items:center;display:flex;overflow:hidden}.n-ticker b{color:#fff;background:#e02a35;flex:none;align-items:center;height:100%;padding:0 10px;font-size:14px;display:flex}.n-scroll{flex:1;overflow:hidden}.n-scroll>div{white-space:nowrap;gap:28px;padding-left:12px;font-size:14px;font-weight:800;animation:14s linear infinite ticker;display:inline-flex}.n-scroll span:before{content:"• ";color:#e02a35}@keyframes ticker{to{transform:translate(-50%)}}.hud .eventchip{right:10px;top:calc(env(safe-area-inset-top) + 62px);z-index:3;pointer-events:auto;color:#fff;background:linear-gradient(#e43a45,#b81e2a);border:2px solid #fff;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:800;position:absolute;box-shadow:0 3px 6px #0000004d}.hud .tickets{margin-right:0}.crisis-modal .paper{text-align:center}.crisis-modal img{width:150px;height:150px;margin:-10px auto 0;display:block}.crisis-modal p{margin:6px 0;font-size:14px;line-height:1.6}.srow{border-bottom:1px dashed #d8c8a8;grid-template-columns:56px 1fr auto;align-items:center;gap:8px;padding:6px 0;display:grid}.srow img{background:#f3e3c3;border-radius:12px;width:56px;height:56px}.sinfo b{font-family:var(--font-body);font-size:14px;font-weight:900}.sinfo small{opacity:.75;font-size:10px;display:block}.bars{align-items:center;gap:6px;margin-top:3px;font-size:9px;display:flex}.bar{background:#e2d4ba;border-radius:4px;width:46px;height:6px;overflow:hidden}.bar i{background:#4caf50;height:100%;display:block}.bar.low i{background:#d7263d}.key.hire{flex-direction:column;align-items:center;padding:6px 10px;font-size:12px;font-weight:800;line-height:1.2;display:flex}.key.fire{background:linear-gradient(#f5e5e5,#e8cfcf)}.code{font-family:var(--font-num);letter-spacing:3px;color:#c8343a;text-align:center;background:#f3e3c3;border-radius:10px;padding:6px;font-size:22px;font-weight:900}.linkbox{font-family:var(--font-num);word-break:break-all;border:1px dashed #b98a3a;border-radius:8px;margin:6px 0;padding:6px;font-size:10px}.claim{gap:6px;margin-top:6px;display:flex}.claim input{min-width:0;font-family:var(--font-num);text-transform:uppercase;pointer-events:auto;border:2px solid #b98a3a;border-radius:10px;flex:1;padding:8px;font-size:14px}.disclaimer{text-align:center;color:#2e7d4f;margin-top:8px;font-size:10px;font-weight:700}.r-mascot img{object-fit:cover;background:#fff;border:3px solid #3a2414;border-radius:50%}.news-modal .anchor{object-fit:contain}.hud.p7{--o:#3a2414;--cream:#fffaf0;--red:#e8505b;--green:#45b052;--yellow:#f6b931;--blue:#3d8bd9;--grey:#a39787;--num:"Baloo 2", var(--font-num);font-family:var(--font-body)}.hud.p7 .num{font-family:var(--num);letter-spacing:.2px;font-weight:800}.hud.p7 button{pointer-events:auto;color:var(--o);-webkit-tap-highlight-color:transparent;font-family:inherit}.hud.p7 button:active{transform:translateY(2px)}.p7top{left:8px;right:8px;top:calc(env(safe-area-inset-top) + 8px);pointer-events:none;z-index:3;flex-direction:column;gap:6px;display:flex;position:absolute}.p7top .row{align-items:center;gap:6px;display:flex}.p7top .row.right{justify-content:flex-end}.pill{pointer-events:auto;background:var(--cream);border:3px solid var(--o);height:40px;box-shadow:0 4px 0 var(--o);border-radius:999px;align-items:center;gap:4px;padding:0 12px 0 6px;display:flex}.pill .ico{flex:none}.pill.money,.pill.coin{flex:none;min-width:0}.pill.money b,.pill.coin b{font-family:var(--num);white-space:nowrap;font-size:19px;font-weight:800;line-height:1}.pill.money b{color:#2e7d4f}.pill.coin b{color:#b97a1a}.pill.lvl{flex:1;min-width:0;padding-left:42px;position:relative}.pill.lvl .badge{filter:drop-shadow(0 3px 0 var(--o));position:absolute;top:-9px;left:-8px}.pill.lvl .badge .ico{width:56px;height:56px}.lvlbody{flex-direction:column;flex:1;gap:1px;display:flex}.xpbar{border:2px solid var(--o);background:#eadfcb;border-radius:8px;height:12px;overflow:hidden}.xpbar i{background:linear-gradient(#9be36f,#45b052);width:0;height:100%;transition:width .4s;display:block}.lvlbody small{color:#7a6450;text-align:right;font-size:11px;line-height:1}.pill.day{height:34px;font-family:var(--font-title);gap:8px;padding:0 12px;font-size:15px}.pill.day .clock{color:#c8343a;font-size:17px}.pill.day .clock.closed{color:#7a6450}.pill.round{justify-content:center;width:38px;height:38px;padding:0}.hud.p7 .soundbtn{position:static}.hud.p7 .eventchip{text-overflow:ellipsis;white-space:nowrap;border:3px solid var(--o);max-width:46%;height:34px;box-shadow:0 4px 0 var(--o);font:700 12px var(--font-body);background:#ffe1dc;border-radius:999px;align-items:center;gap:4px;padding:0 10px;display:flex;position:static;overflow:hidden}.p7dock{z-index:3;padding:10px 6px calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 8px);pointer-events:none;background:linear-gradient(#3a241400,#3a24148c 45%);justify-content:space-around;align-items:flex-end;display:flex;position:absolute;bottom:0;left:0;right:0}.rb{background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;width:19%;padding:0;display:flex}.rb .disc{border:3px solid var(--o);width:62px;height:62px;box-shadow:inset 0 -6px 0 #0000002e, inset 0 5px 0 #ffffff59, 0 5px 0 var(--o);border-radius:50%;justify-content:center;align-items:center;display:flex;position:relative}.rb .disc .ico{filter:drop-shadow(0 2px #00000040)}.rb.red .disc{background:var(--red)}.rb.green .disc{background:var(--green)}.rb.yellow .disc{background:var(--yellow)}.rb.blue .disc{background:var(--blue)}.rb.grey .disc{background:var(--grey)}.rb .lbl{font-family:var(--font-title);color:#fff;-webkit-text-stroke:4px var(--o);paint-order:stroke fill;font-size:16px;line-height:1.15}.rb .dot{border:3px solid var(--o);background:#ff3b3b;border-radius:50%;width:22px;height:22px;position:absolute;top:-4px;right:-4px}.rb .dot:after{content:"!";color:#fff;font:900 13px var(--num);justify-content:center;align-items:center;font-style:normal;display:flex;position:absolute;inset:0}.hud.p7 .bubble.ico{box-shadow:0 3px 0 var(--o);border-width:3px;border-radius:16px;align-items:center;gap:2px;padding:3px 5px;display:flex}.hud.p7 .bubble.happy{background:#ffe4ea;animation:.35s ease-out bpop}.hud.p7 .bubble.angry{background:#ffe1dc;animation:.35s ease-out bpop}.hud.p7 .bubble.happy:after{background:#ffe4ea}.hud.p7 .bubble.dad{max-width:230px;box-shadow:0 3px 0 var(--o);border-width:3px;font-size:13px}.pickups{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.pickup{border:3px solid var(--o);box-shadow:0 4px 0 var(--o);background:#fff6c8;border-radius:999px;align-items:center;gap:2px;padding:4px 8px 4px 4px;animation:.9s ease-in-out infinite alternate bob;display:flex;position:absolute;top:0;left:0;transform:translate(-50%,-100%)}.pickup.gift{background:#e6f7df;padding:4px}.pickup .num{color:#8a5a10;font-size:16px}.pickup.fading{opacity:.55}.pickup:before{content:"";position:absolute;inset:-12px}@keyframes bob{to{margin-top:-6px}}.hud.p7 .floater{color:#2e7d4f;-webkit-text-stroke:3px #fff;paint-order:stroke fill;font-size:15px}.hud.p7 .floater.big{color:#b97a1a;font-size:22px}.hud.p7 .toast{top:calc(env(safe-area-inset-top) + 104px);border:3px solid var(--o);box-shadow:0 4px 0 var(--o);background:var(--cream);color:var(--o);font:700 14px var(--font-body);border-radius:14px}.delivery{z-index:6;left:12px;right:12px;top:calc(env(safe-area-inset-top) + 100px);border:3px solid var(--o);box-shadow:0 5px 0 var(--o);pointer-events:auto;background:#e6f7df;border-radius:18px;padding:10px 12px;transition:opacity .4s,transform .4s;animation:.4s ease-out slidein;position:absolute}.delivery.out{opacity:0;transform:translateY(-20px)}.delivery>b{font-family:var(--font-title);color:#2e7d4f;font-size:18px}.chips{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px;display:flex}.ingchip{border:2px solid var(--o);background:#fff;border-radius:999px;align-items:center;gap:3px;padding:2px 8px 2px 3px;font-size:13px;font-weight:700;display:inline-flex}.ingchip b{color:#2e7d4f}@keyframes slidein{0%{opacity:0;transform:translateY(-30px)}}.p7card{background:var(--cream);border:4px solid var(--o);width:min(330px,100% - 32px);box-shadow:0 8px 0 var(--o);text-align:center;border-radius:26px;padding:18px 16px 16px;animation:.4s ease-out pop;position:relative}.p7card h2{font-family:var(--font-title);color:#c8343a;margin:2px 0;font-size:30px;font-weight:400}.p7card .sub{color:#7a6450;margin:0 0 8px;font-size:14px}.p7card .burst{background:radial-gradient(circle,#ffe678f2 0 40%,#ffe67800 70%);justify-content:center;align-items:center;width:130px;height:120px;margin:-64px auto 0;display:flex}.p7card .burst.small{height:90px;margin-top:-50px}.p7card .burst .ico{filter:drop-shadow(0 4px 0 var(--o));animation:.6s ease-out spinin}@keyframes spinin{0%{transform:scale(.2)rotate(-90deg)}}.unlocks{text-align:left;flex-direction:column;gap:6px;margin:6px 0 4px;padding:0;list-style:none;display:flex}.unlocks li{background:#fff;border:2px solid #e3d4ba;border-radius:14px;align-items:center;gap:10px;padding:6px 10px;font-size:15px;display:flex}.unlocks b{color:#c8343a}.gains{justify-content:center;gap:14px;margin:6px 0;display:flex}.gains span{align-items:center;gap:4px;font-size:22px;display:flex}.gains b{color:#2e7d4f}.dadpic{object-fit:contain;width:110px;height:110px;margin:-70px auto 0;display:block}.bigbtn{border:3px solid var(--o);background:var(--yellow);width:100%;box-shadow:0 5px 0 var(--o);font-family:var(--font-title);color:var(--o);border-radius:18px;margin-top:12px;padding:12px;font-size:21px;display:block}.bigbtn:active{box-shadow:0 2px 0 var(--o)}.hud.p7 .sheet{z-index:8}.hud.p7 .modal{z-index:9;background:#1e0f088c}.p7sheet{border:4px solid var(--o);width:min(440px,100%);max-height:82%;padding:14px 14px calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 12px);background:var(--cream);border-bottom:0;border-radius:26px 26px 0 0;flex-direction:column;display:flex}.p7sheet h3{justify-content:center;align-items:center;gap:8px;font-size:26px;display:flex}.p7sheet h3 .count{border:2px solid var(--o);color:var(--o);background:#fff1c2;border-radius:999px;padding:0 10px;font-size:16px}.p7sheet .note{font-size:13px}.p7sheet .sheetbody{-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.p7sheet .bigbtn.close{background:#fff}.dish{background:#fff;border:3px solid #e3d4ba;border-radius:18px;align-items:center;gap:10px;margin-bottom:8px;padding:8px 10px;display:flex}.dish.on{border-color:var(--green);background:#f2fbef}.dish.locked{opacity:.55;filter:grayscale(.7)}.dish>.ico{flex:none}.dinfo{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.dinfo>b{font-family:var(--font-title);align-items:center;gap:6px;font-size:19px;font-weight:400;display:flex}.dinfo small{color:#7a6450;font-size:12px}.lvstars{gap:2px;display:inline-flex}.lvstars i{background:#e3d4ba;border:1.5px solid #b9a27e;border-radius:50%;width:9px;height:9px}.lvstars i.on{background:#f6b931;border-color:#b97a1a}.needs{flex-wrap:wrap;gap:4px;display:flex}.need{background:#ffe9e6;border-radius:999px;align-items:center;gap:1px;padding:0 6px 0 1px;font-size:12px;display:inline-flex}.need.ok{background:#e3f6dc}.need b{color:#c8343a}.need.ok b{color:#2e7d4f}.maxed{color:#b97a1a;font-size:12px;font-weight:800}.dbtns{flex-direction:column;flex:none;gap:6px;display:flex}.tog,.up,.buy{border:3px solid var(--o);min-width:66px;box-shadow:0 3px 0 var(--o);background:#fff;border-radius:12px;padding:7px 8px;font-size:14px;font-weight:800}.tog.on{background:var(--green);color:#fff}.up{color:#9c8a70;background:#eee6d8}.up.can{background:var(--yellow);color:var(--o);animation:1.2s ease-in-out infinite wiggle}@keyframes wiggle{0%,80%,to{transform:rotate(0)}85%{transform:rotate(-5deg)}92%{transform:rotate(5deg)}}.lock{color:#7a6450;background:#eee6d8;border-radius:999px;flex:none;padding:4px 10px;font-size:12px;font-weight:800}.inggrid{grid-template-columns:repeat(3,1fr);align-content:start;gap:8px;display:grid}.ing{background:#fff;border:3px solid #e3d4ba;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;display:flex;position:relative}.ing.wanted{border-color:var(--green);background:#f2fbef}.ing b{font-size:14px}.ing .cnt{color:#2e7d4f;font-size:18px;position:absolute;top:4px;right:8px}.ing .buy{width:92%;min-width:0;box-shadow:0 2px 0 var(--o);padding:4px;font-size:12px}.morelist{flex-direction:column;gap:8px;display:flex}.moreitem{border:3px solid var(--o);box-shadow:0 4px 0 var(--o);text-align:left;background:#fff;border-radius:18px;align-items:center;gap:12px;padding:10px 12px;display:flex}.moreitem span{flex-direction:column;display:flex}.moreitem b{font-family:var(--font-title);font-size:19px;font-weight:400}.moreitem small{color:#7a6450;font-size:12px}.hud.p7 .sheet>.paper:not(.p7sheet){border:4px solid var(--o);width:min(440px,100%);max-height:82%;padding:14px 14px calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 12px);background:var(--cream);box-shadow:none;border-bottom:0;border-radius:26px 26px 0 0;flex-direction:column;display:flex}.hud.p7 .sheet>.paper h3{font-size:26px}.hud.p7 .sheet>.paper .sheetbody{flex:1;overflow-y:auto}.hud.p7 .sheet .key.wide.close{text-align:center;border:3px solid var(--o);width:100%;box-shadow:0 5px 0 var(--o);font-family:var(--font-title);color:var(--o);background:#fff;border-radius:18px;justify-content:center;padding:12px;font-size:21px;display:block}.hud.p7 .sheet .tabs .tab{border:3px solid var(--o);box-shadow:0 3px 0 var(--o);border-radius:14px;font-size:16px}.hud.p7 .sheet .urow,.hud.p7 .sheet .srow{background:#fff;border:3px solid #e3d4ba;border-radius:18px;margin-bottom:8px;padding:8px 10px}.hud.p7 .sheet .urow.have{border-color:var(--green);background:#f2fbef}.hud.p7 .sheet .key.buy,.hud.p7 .sheet .key.hire{border:3px solid var(--o);box-shadow:0 3px 0 var(--o);background:var(--yellow);border-radius:12px}.hud.p7 .sheet .key.hire.fire{background:#fff}.hud.p7 .sheet .shopstats{border:2px solid #e3d4ba;border-radius:12px;font-size:12px}.hud.p7 .rename{box-shadow:0 2px 0 var(--o)}.hud.p7.editing .pickups,.hud.p7.editing .bubbles{display:none}.hud .catalog .chip.locked{opacity:.5;filter:grayscale(.8)}.hud.p7 .sheet .urow.locked{opacity:.6}.gardenhead{align-items:baseline;gap:8px;margin:6px 2px;display:flex}.gardenhead b{font-family:var(--font-title);color:#2e7d4f;font-size:19px;font-weight:400}.gardenhead small{color:#7a6450;font-size:12px}.garden{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px;display:grid}.plot{color:#fff;min-height:96px;font-family:var(--font-body);background:repeating-linear-gradient(0deg,#9a7148 0 8px,#8a6440 8px 16px);border:3px solid #8a6a42;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 4px;display:flex}.plot b{text-shadow:0 1px #3a2414;font-size:13px}.plot small{text-shadow:0 1px #3a2414;font-size:11px}.plot.empty b{font-size:26px;line-height:1}.plot.ready{border-color:var(--green);animation:1.2s ease-in-out infinite wiggle;box-shadow:0 0 0 3px #bdf0b0}.plot.locked{background:#eee6d8;border-color:#e3d4ba}.grow{background:#00000040;border-radius:6px;width:90%;height:8px;display:block;overflow:hidden}.grow>i{background:linear-gradient(#9be36f,#45b052);height:100%;display:block}.croppick{flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:8px;display:flex}.croppick .ingchip{border-width:3px;padding:4px 10px 4px 4px}.croppick small{color:#7a6450;margin-left:2px;font-weight:700}.goal{background:#fff;border:3px solid #e3d4ba;border-radius:16px;align-items:center;gap:10px;margin-bottom:6px;padding:8px 10px;display:flex}.goal.done{border-color:var(--yellow);background:#fff8dc}.goal.claimed{opacity:.55}.ginfo{flex-direction:column;flex:1;gap:3px;display:flex}.ginfo b{font-size:15px}.ginfo small{color:#7a6450;font-size:12px}.ginfo .grow{background:#eadfcb;width:100%}.claim{border:3px solid var(--o);box-shadow:0 3px 0 var(--o);background:var(--yellow);border-radius:12px;align-items:center;gap:3px;padding:6px 10px;font-size:15px;display:flex}.claim:disabled{opacity:.7;box-shadow:none;background:#eee6d8}.pickup{box-shadow:0 3px 0 var(--o);border-width:2.5px;padding:2px 7px 2px 2px}.pickup .ico{width:22px;height:22px}.pickup .num{font-size:13px}.pickup.gift .ico{width:26px;height:26px}.hud.p7 .bubble.ico .ico{width:22px;height:22px}.hud.p7 .bubble.ico{padding:2px 4px}.hud.p7 .bubble.ico .ring{width:14px;height:14px}.pickup.fight{color:#fff;font-family:var(--font-title);box-shadow:0 4px 0 var(--o);z-index:2;background:#d7263d;border-width:3px;gap:4px;padding:6px 14px 6px 6px;font-size:18px;animation:.6s ease-in-out infinite alternate fightpulse}.pickup.fight .ico{width:28px;height:28px}.pickup.fight .timer{background:#00000040;border-radius:3px;height:5px;position:absolute;bottom:-9px;left:12px;right:12px;overflow:hidden}.pickup.fight .timer:after{content:"";transform-origin:0;transform:scaleX(var(--p,1));background:#f2b134;position:absolute;inset:0}@keyframes fightpulse{0%{scale:1}to{scale:1.12}}.p7card.gang{background:#fff3e6;border-color:#3b2416}.p7card.gang .gang-head{border:4px solid var(--o);background:#d7263d;border-radius:50%;justify-content:center;align-items:center;width:92px;height:92px;margin:-54px auto 0;display:flex}.gang-opts{flex-direction:column;gap:2px;display:flex}.gang-opts .opt{flex-direction:column;align-items:center;gap:2px;margin-top:8px;padding:9px 10px;font-size:19px;display:flex}.gang-opts .opt small{font-family:var(--font-body,system-ui);opacity:.75;font-size:12px;font-weight:700}.gang-opts .opt.dad{background:#ffe1a8}.gang-opts .opt.police{background:#bfe3f2}.gang-opts .opt:disabled{opacity:.45}.pickup.fight{color:#d7263d;background:#fff;border-color:#d7263d;box-shadow:0 4px #8c1424}.p7card.gang .gang-head{background:#fff;border-color:#d7263d}.hud.p7 .delivery{width:max-content;max-width:calc(100% - 24px);box-shadow:0 3px 0 var(--o);left:50%;right:auto;top:calc(env(safe-area-inset-top) + 104px);border-width:2.5px;align-items:center;gap:6px;padding:3px 8px 3px 10px;display:flex;translate:-50%}.hud.p7 .delivery>b{white-space:nowrap;font-size:13px}.hud.p7 .delivery .chips{flex-wrap:nowrap;gap:3px;margin:0}.hud.p7 .delivery .ingchip{border-width:1.5px;padding:0 5px 0 1px;font-size:0}.hud.p7 .delivery .ingchip .ico,.hud.p7 .delivery .ingchip svg{width:20px;height:20px}.hud.p7 .delivery .ingchip b{font-size:11px}.p7card .sub.small{margin-top:-4px;font-size:12px}.hud .edit-actions{grid-template-columns:1fr 1fr 1.1fr 1.2fr;gap:6px}.hud .edit-actions .key{white-space:nowrap;font-size:15px}.hud .edit-actions .clear{background:linear-gradient(#e6f4ff,#bfe3f2)}.hud .catalog .chip.stored{background:#e6f7df;border-color:#2e7d4f}.hud .catalog .chip.stored span{color:#2e7d4f;font-weight:800}.edit-title b.bad{color:#ff8a80}.bubble.queue .qwait{color:#6b4226;padding:0 3px;font-size:11px;font-weight:900}.hud .edit-actions{grid-template-columns:.9fr .9fr .8fr 1fr 1.1fr}.hud .editbar:not(.table-sel) .key.seats{opacity:.4}.hud .edit-actions .seats{background:linear-gradient(#fff3d6,#ffe1a8)}.hud .edit-tabs{justify-content:center;gap:6px;margin:2px 0 6px;display:flex}.hud .edit-tabs button{border:2.5px solid var(--o);min-width:84px;font-family:var(--font-title);color:var(--o);background:#fff7e6;border-radius:999px;padding:4px 14px;font-size:16px}.hud .edit-tabs button.on{background:var(--yellow);box-shadow:0 3px 0 var(--o)}.hud .editbar.wall-mode .key.seats,.hud .editbar.wall-mode .key.rot{opacity:.4}.hud .slot.locked{background:#efe6d4;border-radius:16px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.hud .slot .lockico{font-size:18px}.hud .tenants{grid-template-columns:1fr 1fr;gap:8px;margin-top:6px;display:grid}.hud .tenant{border:2.5px solid var(--o);text-align:left;box-shadow:0 3px 0 var(--o);background:#fffaf0;border-radius:14px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.hud .tenant b{font-family:var(--font-title);color:#c8343a;font-size:18px;font-weight:400}.hud .tenant .who{color:#6b4226;font-size:12px;font-weight:800}.hud .tenant .trait{color:#fff;background:#2e7d4f;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:900}.hud .tenant small{color:#7a6450;font-size:11px;line-height:1.3}.hud .tenant .rent{color:#2e7d4f;font-size:12px;font-weight:800}.hud .tenant.on{background:#fff1c4;border-color:#c8343a;box-shadow:0 3px #c8343a}.hud .tenant:disabled{opacity:.4}.hud .slotname .chip.mini{margin-left:8px;padding:2px 10px;font-size:12px}.hud .note.amb{margin:4px 0 8px;font-size:12px}.bubble.order .qwait{padding:2px 6px;font-size:12px}.edit-title .fanlbl{color:#9fd3ff;font-weight:800}.pickup.thief{color:#d7263d;font-family:var(--font-title);z-index:2;background:#fff;border:3px solid #d7263d;padding:6px 14px;font-size:18px;animation:.5s ease-in-out infinite alternate fightpulse;box-shadow:0 4px #8c1424}.pickup.thief .timer{background:#00000040;border-radius:3px;height:5px;position:absolute;bottom:-9px;left:12px;right:12px;overflow:hidden}.pickup.thief .timer:after{content:"";transform-origin:0;transform:scaleX(var(--p,1));background:#f2b134;position:absolute;inset:0}.pickup.cat{box-shadow:none;background:0 0;border:0;border-radius:40%;padding:0;transform:translate(-50%,-100%)}.pickup.cat:before{display:none}.floater.loss{color:#ff5a5a;font-size:20px}.hud .srow img{object-fit:cover;object-position:50% 6%;background:#fff;border-radius:14px}.hud .tenant .tphoto{object-fit:cover;object-position:50% 8%;border:2px solid var(--o);background:#fff;border-radius:10px;width:100%;height:86px;margin-bottom:4px}.p7card .dadpic.photo{object-fit:cover;object-position:50% 6%;background:#fff}.hud .catalog .chip.pic{flex-direction:column;align-items:center;min-width:78px;padding:4px 6px 5px;display:flex}.hud .catalog .chip.pic .thumb{object-fit:contain;width:56px;height:56px;margin-bottom:1px}.hud .catalog .chip.pic b{font-size:13px}.hud .catalog .chip.pic span{font-size:11px}.hud .tipjar{left:12px;bottom:calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 112px);z-index:4;border:3px solid var(--o);box-shadow:0 4px 0 var(--o);pointer-events:auto;background:#fff7e0;border-radius:999px;align-items:center;gap:6px;padding:5px 12px 5px 6px;animation:.8s ease-in-out infinite alternate fightpulse;display:flex;position:absolute}.hud .tipjar b{font-family:var(--font-title);color:#8a5a10;font-size:15px;font-weight:400;line-height:1;display:block}.hud .tipjar .num{color:#2e7d4f;font-size:14px}.hud .tipjar .n{color:#fff;background:#d7263d;border:2px solid #fff;border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;font-size:12px;font-style:normal;font-weight:900;display:flex;position:absolute;top:-8px;right:-6px}.hud.p7.editing .tipjar{display:none!important}.hud .bubble.ico{padding:2px 4px}.hud .bubble.ico .ico,.hud .bubble.ico svg{width:22px;height:22px}.hud .bubble.ico .ring{width:14px;height:14px}.hud .bubble.queue .qwait,.hud .bubble.order .qwait{font-size:11px}@keyframes cashbump{0%{scale:1}40%{scale:1.08}to{scale:1}}.hud .bump{animation:.3s ease-out cashbump}.p7card .evhead{border:4px solid var(--o);width:104px;height:104px;box-shadow:0 4px 0 var(--o);background:#fff;border-radius:50%;justify-content:center;align-items:center;margin:-58px auto 4px;display:flex;overflow:hidden}.p7card .evico{font-size:58px;line-height:1}.p7card .evphoto{object-fit:cover;object-position:50% 6%;width:100%;height:100%}.p7card .evtext{color:#5a4636;text-align:left;font-size:15px;line-height:1.5}.p7card.gang .gang-head.photos{background:#fff;border-radius:60px;gap:0;width:150px;overflow:hidden}.p7card.gang .gang-head.photos img{object-fit:cover;object-position:50% 6%;width:50%;height:100%}.hud .moreitem img.avatar{border-radius:50%;width:40px;height:40px}.hud .account .acct{background:#fff;border-radius:16px;align-items:center;gap:12px;padding:10px;display:flex}.hud .account .acct img{border-radius:50%;width:56px;height:56px}.hud .account .acct small{color:#7a6450;display:block}.hud .account .gbtn{justify-content:center;min-height:44px;margin:12px 0;display:flex}.hud .account .err{color:#c8343a;text-align:center}.hud.p7 .bubble.ico.want{scale:.82}.hud.p7 .bubble.ico.want:after{display:none}.hud .tipjar.pickup{width:auto;height:auto;top:auto;right:auto;transform:none}.hud .tipjar.pickup:before{inset:-8px}.hud .bubbles .bubble{transform-origin:0 0;transform:translate(-50%,-100%)}.hud .bubbles .bubble.urgent{animation:.4s infinite bwobble}@keyframes bpop{0%{scale:.3}70%{scale:1.15}}@keyframes bwobble{50%{rotate:3deg}}.hud .pickups .pickup{transform-origin:0 0}.hud.p7 .pickups .pickup:active{transform:translate(-50%,-100%)translateY(2px)}.hud.p7 .floater.loss.big{color:#e0242f;-webkit-text-stroke:4px #fff;white-space:nowrap;font-size:21px;animation-duration:2s}.hud .hit{animation:.7s ease-out cashhit}@keyframes cashhit{0%,to{background:inherit;translate:0}15%{background:#ffd0d0;translate:-6px}30%{translate:6px}45%{background:#ffd0d0;translate:-4px}60%{translate:3px}}.hud .sheet h4.sect{font-family:var(--font-title);color:#6b4226;margin:12px 2px 6px;font-size:17px;font-weight:400}.hud .sheet h4.sect .mono{color:#9a7a5a;margin-left:4px;font-size:13px}.hud .fcards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.hud .fcard{background:#fff;border:3px solid #e3d4ba;border-radius:16px;flex-direction:column;gap:3px;padding:8px;display:flex}.hud .fcard.on{border-color:var(--green,#2e7d4f);background:#f2fbef}.hud .fcard img{object-fit:cover;border:2px solid #3a2414;border-radius:10px;width:100%;height:64px}.hud .fcard b{font-family:var(--font-title);color:#3a2414;font-size:16px;font-weight:400}.hud .fcard small{color:#7a6450;font-size:11px;line-height:1.25}.hud .fcard .key,.hud .fcard .lock,.hud .fcard .done{text-align:center;align-self:stretch;margin-top:auto}.hud .fcard .done{color:#2e7d4f;padding:4px 0;font-size:13px;font-weight:900}.hud .fcard .tprev{background:#f3e3c3;border:2px solid #3a2414;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:64px;display:flex}.hud .fcard .tsign{background:var(--bg);color:var(--tx);border:3px solid var(--fr);font-family:"Noto Serif SC", var(--font-title);border-radius:6px;padding:2px 10px;font-size:14px;font-weight:900}.hud .fcard .tstools{gap:6px;display:flex}.hud .fcard .tstools i{border:2px solid #3a2414;border-radius:4px 4px 2px 2px;width:14px;height:12px}.hud .urow.ugrow .uname b .mono{color:#9a7a5a;font-size:13px}.hud .srow.add{border-style:dashed}.hud .srow.add.locked{opacity:.65}.p7card.busy h2{color:#c8343a}.hud .stockhead{flex-direction:column;gap:2px;margin:12px 2px 6px;display:flex}.hud .stockhead b{font-family:var(--font-title);color:#6b4226;font-size:17px;font-weight:400}.hud .stockhead small{color:#7a6450;font-size:11px}.hud .note.bad{color:#c8343a;font-weight:800}.hud .autorestock{background:#fff;border:3px solid #e3d4ba;border-radius:14px;align-items:center;gap:8px;margin-bottom:8px;padding:8px 10px;display:flex}.hud .autorestock input{accent-color:#2e7d4f;width:22px;height:22px}.hud .autorestock span{flex-direction:column;display:flex}.hud .autorestock small{color:#7a6450;font-size:11px}.hud .ing.low{background:#fff0f0!important;border-color:#d7263d!important}.hud .ing.low .cnt{color:#d7263d;font-weight:900}.hud .ing .packs{gap:4px;width:100%;display:flex}.hud .ing .packs .buy{flex:1;padding:4px 2px;font-size:11px}.hud .ing .packs .buy.big{background:#f2b134}.hud .soldout{color:#fff;font-size:11px;font-family:var(--font-body,sans-serif);vertical-align:middle;background:#d7263d;border-radius:8px;padding:1px 6px;display:inline-block}.hud .inggrid .ing .cnt{font-size:13px;font-weight:900;position:static}.hud .actionrow{left:12px;right:12px;bottom:calc(max(env(safe-area-inset-bottom), var(--host-badge,0px)) + 112px);z-index:4;pointer-events:none;flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex;position:absolute}.hud .actionrow>*{pointer-events:auto}.hud .actionrow .tipjar{position:relative;bottom:auto;left:auto}.hud .actionrow .pickup.fight,.hud .actionrow .pickup.thief{white-space:nowrap;min-height:52px;position:relative;top:auto;left:auto;transform:none}.hud .actionrow .pickup.fight:active,.hud .actionrow .pickup.thief:active{transform:translateY(2px)}.hud.p7.editing .actionrow{display:none}.hud .evmark{pointer-events:none;color:#fff;background:#d7263d;border:3px solid #fff;border-radius:50%;place-items:center;width:34px;height:34px;font-size:22px;font-weight:900;animation:.6s ease-in-out infinite alternate evbob;display:grid;position:absolute;transform:translate(-50%,-100%);box-shadow:0 3px 8px #0000004d}.hud .evmark.thief{background:#fff;border-color:#d7263d;font-size:18px}@keyframes evbob{to{translate:0 -6px}}.hud .care{gap:6px;margin-top:6px;display:flex}.hud .key.care-btn{border:2px solid var(--o);box-shadow:0 2px 0 var(--o);background:#fff;border-radius:10px;padding:4px 9px;font-size:11px;font-weight:800}.hud .key.care-btn.bonus{background:#ffe1e1}.hud .key.care-btn small{opacity:.75;font-size:9px}.hud .key.care-btn:disabled{opacity:.45;box-shadow:none}.hud .p7card.tired .opt small{opacity:.75;font-size:11px;font-weight:600;display:block}.hud .p7card.tired .opt:disabled{opacity:.45}.hud .edit-actions .undo{background:linear-gradient(#fff3d6,#ffd36b);display:none}.hud .editbar.can-undo .edit-actions .clear{display:none}.hud .editbar.can-undo .edit-actions .undo{animation:1.2s ease-in-out 3 undoPulse;display:flex}@keyframes undoPulse{50%{transform:scale(1.08)}}.hud .ed-confirm{z-index:60;background:#28180c59;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.hud .ed-confirm-card{border:3px solid var(--o);box-shadow:0 5px 0 var(--o);text-align:center;background:#fffaf0;border-radius:22px;max-width:320px;padding:18px 18px 14px}.hud .ed-confirm-card b{font-family:var(--font-title);color:#d7263d;font-size:22px}.hud .ed-confirm-card p{color:#5a3a22;margin:8px 0 14px;font-size:14px}.hud .ed-confirm-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.hud .ed-confirm-row .key{font-family:var(--font-title);border:3px solid var(--o);box-shadow:0 3px 0 var(--o);border-radius:14px;padding:10px 0;font-size:17px}.hud .ed-confirm-row .cancel{background:var(--yellow)}.hud .ed-confirm-row .ok{background:#fff}.tut{z-index:20;pointer-events:none;font-family:var(--font-body);transition:opacity .3s;position:absolute;inset:0}.tut.out{opacity:0}.tut.dim:before{content:"";background:#140a0559;position:absolute;inset:0}.tut .tut-hole{border-radius:22px;transition:all .25s ease-out;display:none;position:absolute;box-shadow:0 0 0 200vmax #140a0580}.tut.dim .tut-hole[style*=block]~.tut-card,.tut .tut-hole{pointer-events:none}.tut .tut-hole:after{content:"";border:4px solid #f6b931;border-radius:26px;animation:1.1s ease-in-out infinite tutpulse;position:absolute;inset:-6px}@keyframes tutpulse{50%{opacity:.6;transform:scale(1.06)}}.tut-card{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 118px);pointer-events:auto;background:#fffaf0;border:4px solid #3a2414;border-radius:22px;align-items:flex-end;gap:10px;padding:12px 12px 12px 6px;animation:.3s ease-out tutin;display:flex;position:absolute;box-shadow:0 6px #3a2414}.tut-card.top{bottom:auto;top:calc(env(safe-area-inset-top) + 108px)}@keyframes tutin{0%{opacity:0;transform:translateY(16px)}}.tut-dad{object-fit:contain;flex:none;width:84px;height:84px;margin:-30px 0 -6px}.tut-body{flex:1;min-width:0}.tut-who{color:#fff;font-family:var(--font-title);background:#c8343a;border-radius:999px;padding:1px 10px;font-size:14px;font-weight:400;display:inline-block}.tut-body p{color:#3a2414;margin:4px 0 8px;font-size:16px;font-weight:600;line-height:1.45}.tut-body p b{color:#c8343a}.tut-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.tut-dots{gap:4px;display:flex}.tut-dots i{background:#e3d4ba;border-radius:50%;width:7px;height:7px}.tut-dots i.past{background:#b9a27e}.tut-dots i.on{background:#f6b931;border-radius:4px;width:16px}.tut-next{font-family:var(--font-title);color:#3a2414;background:#f6b931;border:3px solid #3a2414;border-radius:14px;padding:8px 16px;font-size:17px;box-shadow:0 4px #3a2414}.tut-next:active{transform:translateY(2px);box-shadow:0 2px #3a2414}.tut-hint{color:#c8343a;font-size:13px;font-weight:800;animation:1.2s infinite blink}.tut-skip{font:700 12px var(--font-body);color:#7a6450;background:#fff;border:2px solid #3a2414;border-radius:999px;padding:2px 10px;position:absolute;top:-14px;right:12px}.tut-dad{object-fit:cover;background:#fff;border:3px solid #3a2414;border-radius:50%}
