*{box-sizing:border-box;user-select:none;-webkit-user-select:none}html,body,#app{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:#4ca809;font-family:-apple-system,BlinkMacSystemFont,Trebuchet MS,Segoe UI,sans-serif;color:#f9fafb}#game-canvas{display:block;width:100%;height:100%;cursor:grab}#game-canvas:active{cursor:grabbing}#game-canvas.placing{cursor:crosshair}.stone-slab{position:fixed;top:0;display:flex;align-items:center;gap:12px;padding:6px 14px 8px;background:linear-gradient(180deg,#b8b29e,#8c8674 60%,#6b6556);border:2.5px solid #3f3b31;border-top:none;box-shadow:inset 0 2px #ffffff59,0 4px #2e6b14,0 6px 14px #0006;z-index:22;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.85)}#hud-top-left{left:0;border-left:none;border-bottom-right-radius:18px}#hud-top-right{right:0;border-right:none;border-bottom-left-radius:18px}.slab-item{display:flex;align-items:center;gap:5px;font-family:Trebuchet MS,Segoe UI,system-ui,sans-serif;font-size:15px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.2px}.slab-item.clickable,.stone-slab.clickable,.level-badge{cursor:pointer}.slab-item.clickable{padding:2px 5px;border-radius:8px;transition:background .12s}.slab-item.clickable:hover{background:#ffffff24}.slab-icon{font-size:16px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}.slab-item.gold{color:#fde047}.slab-coin{width:22px;height:26px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0,0,0,.75))}.coin-ico{width:14px;height:17px;object-fit:contain;vertical-align:-3px;display:inline-block;filter:drop-shadow(0 1px 1px rgba(0,0,0,.55))}.slab-sub{font-size:11px;color:#e5e7eb;font-weight:600}.rating-sun{font-size:20px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}#hud-top-center{position:fixed;top:6px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:#221c12b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1.5px solid rgba(217,119,6,.45);z-index:21}.speed-controls{display:flex;gap:2px;background:#00000059;padding:2px;border-radius:8px}.btn-mini{background:#ffffff24;color:#fef3c7;border:1px solid rgba(255,255,255,.22);border-radius:6px;padding:3px 7px;font-size:12px;font-weight:700;cursor:pointer}.btn-mini:hover{background:#ffffff42}.btn-mini.dark{background:#451a0338;color:#451a03;border-color:#78350f73}.btn-mini.active{background:#65a30d;color:#fff;border-color:#bef264}.btn-mini.is-off{opacity:.58}.btn-mini.accent{background:#ca8a04;border-color:#fde047;color:#fff}.btn-mini.warn{background:#7c3aed;border-color:#c4b5fd;color:#fff}.btn-mini.danger{background:#dc2626;border-color:#f87171;color:#fff}.hud-amulets{display:flex;gap:4px}.amulet-pill{padding:2px 7px;border-radius:999px;background:#7c3aed8c;border:1px solid #c4b5fd;color:#ede9fe;font-size:11px;font-weight:700}.stone-circle-row{display:flex;align-items:center;gap:8px}.stone-circle{width:44px;height:44px;border-radius:50%;border:2.5px solid #3f3b31;background:radial-gradient(circle at 35% 30%,#d6d0be,#9b9481 65%,#736d5c);color:#1f1b14;font-size:20px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 2px 1px #ffffff80,0 4px 10px #00000073;transition:transform .08s,filter .12s}.stone-circle:hover{transform:scale(1.07);filter:brightness(1.08)}.stone-circle:active{transform:scale(.95)}.stone-circle.small{width:32px;height:32px;font-size:15px}.stone-circle.ok{background:radial-gradient(circle at 35% 30%,#bbf7d0,#22c55e 70%,#15803d);color:#052e16}.stone-circle.gold{background:radial-gradient(circle at 35% 30%,#fef08a,#f59e0b 65%,#b45309);color:#451a03;box-shadow:0 0 14px #facc15a6,0 4px 10px #00000073}.stone-circle.danger{background:radial-gradient(circle at 35% 30%,#fecaca,#ef4444 70%,#991b1b);color:#fff}.stone-circle.menu{width:50px;height:50px;font-size:24px;border-color:#2e6b14}#hud-bottom-left{position:fixed;bottom:8px;left:10px;display:flex;align-items:flex-end;gap:8px;z-index:22}.level-badge{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:14px;background:linear-gradient(180deg,#b8b29e,#7a7463);border:2.5px solid #3f3b31;box-shadow:0 4px 12px #00000073}.level-star{font-size:18px;font-weight:900;color:#fde047;text-shadow:0 1px 3px #000}.level-xp-col{display:flex;flex-direction:column;gap:3px}.xp-bar{width:78px;height:9px;background:#00000073;border-radius:5px;border:1px solid rgba(255,255,255,.25);overflow:hidden}#hud-xp-fill{height:100%;width:2%;background:linear-gradient(90deg,#84cc16,#facc15);transition:width .2s}.xp-text{font-size:11px;font-weight:800;color:#fff;text-shadow:0 1px 2px #000}.tutorial-scroll{position:fixed;bottom:64px;left:50%;transform:translate(-50%);max-width:min(640px,72vw);display:flex;align-items:center;gap:10px;padding:9px 14px;background:linear-gradient(180deg,#f3d28e,#dfa857);border:3px solid #78350f;border-radius:10px;color:#3b1d07;font-size:12.5px;font-weight:700;line-height:1.3;box-shadow:inset 0 2px #ffffff73,0 6px 18px #00000073;z-index:27}.tutorial-header-row{display:flex;align-items:center;gap:7px;margin-bottom:2px;font-size:13px}.tutorial-step-badge{display:inline-block;padding:1px 6px;border-radius:999px;background:#78350f;color:#fef08a;font-size:10px;font-weight:900}.btn-tutorial-action{flex-shrink:0;padding:7px 12px;border-radius:9px;border:2px solid #14532d;background:linear-gradient(180deg,#4ade80,#16a34a);color:#fff;font-size:12px;font-weight:900;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 3px 8px #0000004d;white-space:nowrap}.btn-tutorial-action:hover{filter:brightness(1.08);transform:translateY(-1px)}.scroll-body{flex:1}#hud-bottom-right{position:fixed;bottom:10px;right:12px;display:flex;flex-direction:column;align-items:flex-end;gap:4px;z-index:23}.selected-name-tag{padding:2px 8px;border-radius:6px;background:#18120ac7;color:#fef08a;font-size:12px;font-weight:900;letter-spacing:.5px;text-transform:uppercase}.placement-floating{position:fixed;bottom:66px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;z-index:28}.placement-caption{padding:5px 12px;border-radius:999px;background:#22180ee6;border:1.5px solid #facc15;color:#fef3c7;font-size:12px;font-weight:700;display:flex;gap:8px;align-items:center}.placement-hint{font-size:11px;color:#fde68a;font-weight:500}.parchment-card{position:fixed;top:48px;right:10px;width:245px;max-height:calc(100vh - 140px);overflow-y:auto;background:linear-gradient(180deg,#f3d28e,#dfa857);border:3px solid #78350f;border-radius:10px;padding:10px 11px;color:#3b1d07;font-size:12px;z-index:24;box-shadow:0 10px 26px #00000073}.parchment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;padding-bottom:4px;border-bottom:1.5px solid rgba(120,53,15,.3);font-size:13px}.insp-row{display:flex;justify-content:space-between;padding:3px 0;border-bottom:1px dashed rgba(120,53,15,.22);font-size:12px;font-variant-numeric:tabular-nums}.insp-status-pill{padding:4px 7px;margin-bottom:6px;border-radius:7px;font-size:11.5px;font-weight:800;text-align:center;border:1px solid rgba(120,53,15,.3);background:#fffbeb8c;color:#3b1d07}.insp-status-pill.ok{background:#dcfce7b8;border-color:#16a34a73;color:#14532d}.insp-status-pill.info{background:#f3e8ffc7;border-color:#9333ea6b;color:#581c87}.insp-status-pill.warn{background:#fef3c7d9;border-color:#d977068c;color:#92400e}.insp-status-pill.danger{background:#fee2e2e0;border-color:#dc26268c;color:#991b1b}.insp-meter{padding:2.5px 0 4px;border-bottom:1px dashed rgba(120,53,15,.18)}.insp-meter-top{display:flex;justify-content:space-between;align-items:baseline;font-size:11.5px;margin-bottom:2px}.insp-meter-val{font-variant-numeric:tabular-nums;font-size:11.5px;color:#2e1504}.insp-meter-val small{font-weight:600;opacity:.65}.insp-meter-val.is-warn{color:#b45309}.insp-meter-val.is-danger{color:#b91c1c}.insp-meter-bar{height:5px;border-radius:999px;background:#451a032e;overflow:hidden}.insp-meter-fill{height:100%;border-radius:999px;transition:width .16s linear}.insp-note{margin-top:5px;font-size:10px;line-height:1.3;color:#5c3310;opacity:.88}.upgrade-preview{margin-top:6px;padding:6px 7px;border-radius:7px;background:#78350f24;border:1px solid rgba(120,53,15,.35);font-size:11px;line-height:1.4}#hud-bottom{position:fixed;bottom:8px;left:50%;transform:translate(-50%);max-width:calc(100vw - 260px);display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:5px;padding:5px 7px;background:linear-gradient(180deg,#8b5a2b,#5a3414 60%,#3d210b);border:3px solid #2b1506;border-radius:15px;z-index:26;box-shadow:inset 0 2px #ffe09659,0 10px 28px #0009;justify-content:flex-start}#hud-bottom::-webkit-scrollbar{display:none}.dock-btn{flex-shrink:0;background:linear-gradient(180deg,#c6bfb0,#8a8372);color:#291708;border:2px solid #443c2f;border-radius:10px;padding:5px 8px;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap;box-shadow:inset 0 2px #ffffff73,0 3px 6px #00000059;transition:transform .1s,filter .1s}.dock-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.dock-btn.active{background:linear-gradient(180deg,#fde047,#f59e0b 65%,#b45309);border-color:#78350f;color:#3b1d07;box-shadow:inset 0 2px #ffffffa6,0 0 14px #facc158c}.drawer{position:fixed;left:16px;right:16px;bottom:66px;height:min(55vh,calc(100vh - 140px));background:linear-gradient(180deg,#6d411c,#49280e);border:3.5px solid #2b1506;border-radius:16px;display:flex;flex-direction:column;z-index:25;box-shadow:inset 0 2px #ffe09659,0 16px 40px #000000ad;color:#fef3c7;overflow:hidden}.drawer-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:10px 15px;background:linear-gradient(180deg,#a79f8d,#746d5c);border-bottom:3px solid #3f382b;color:#fffbeb;text-shadow:0 1px 3px rgba(0,0,0,.7)}.drawer-header h3{margin:0;font-size:16px;font-weight:900;letter-spacing:.2px}.drawer-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:800}.drawer-filters label{display:inline-flex;align-items:center;gap:5px;cursor:pointer;background:#261a0f73;padding:4px 8px;border-radius:8px;border:1px solid rgba(255,240,200,.28)}#shop-search{background:#fef3c7;border:2px solid #78350f;border-radius:8px;padding:5px 10px;color:#3b1d07;font-size:12px;font-weight:700;width:160px;outline:none}#shop-search::placeholder{color:#92400e;opacity:.7}.drawer-grid{flex:1 1 auto;min-height:0;padding:8px 10px;overflow-y:auto;overflow-x:hidden;display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));grid-auto-rows:max-content;align-content:start;gap:7px;background:radial-gradient(circle at top,#f3d28e24,#26160866)}.drawer-grid::-webkit-scrollbar{width:9px}.drawer-grid::-webkit-scrollbar-track{background:#00000040;border-radius:6px}.drawer-grid::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d99b42,#925314);border-radius:6px;border:1px solid #3b1d07}.shop-card{background:linear-gradient(180deg,#f8e4b6,#e5be75);border:2.5px solid #7c3f12;border-radius:11px;padding:5px 7px;display:flex;gap:7px;align-items:stretch;cursor:pointer;color:#3b1d07;box-shadow:inset 0 2px #ffffff8c,0 4px 10px #00000052;transition:transform .12s,box-shadow .12s,border-color .12s;position:relative;min-width:0;min-height:94px}.shop-card.text-card{flex-direction:column;gap:5px}.shop-card.text-card .shop-card-meta{display:block;line-height:1.45}.park-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin-top:8px}.park-info-item{background:#78350f1f;border:1px solid rgba(120,53,15,.28);border-radius:8px;padding:7px 10px;display:flex;flex-direction:column;gap:2px}.park-info-item span{font-size:11px;color:#78350f;font-weight:700}.park-info-item b{font-size:14px;color:#3b1d07;font-weight:900}.shop-card:hover:not(.locked){border-color:#fde047;transform:translateY(-2px);box-shadow:inset 0 2px #ffffffbf,0 0 14px #facc1573,0 6px 14px #0006}.shop-card.locked{background:linear-gradient(180deg,#cfc7b4,#a89f8b);border-color:#574e40;color:#3d362c;cursor:help}.shop-card.locked:hover{border-color:#f59e0b;box-shadow:0 0 12px #f59e0b59}.shop-card-thumb{width:84px;height:84px;flex-shrink:0;border-radius:9px;background:radial-gradient(circle at 50% 60%,#9be14d,#4ea314 78%,#2e6b0c);border:2px solid #5c3a14;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;box-shadow:inset 0 2px 6px #00000047;align-self:center}.shop-card.locked .shop-card-thumb{background:radial-gradient(circle at 50% 60%,#9c9689,#6b655a);filter:saturate(.35) brightness(.85)}.shop-card-thumb img{width:80px;height:80px;object-fit:contain;image-rendering:auto;pointer-events:none}.shop-card-thumb .thumb-fallback{font-size:26px;line-height:1}.thumb-lock-overlay{position:absolute;bottom:2px;right:2px;width:22px;height:22px;border-radius:50%;background:#22160ce0;border:1.5px solid #fbbf24;display:flex;align-items:center;justify-content:center;font-size:11px}.shop-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.shop-card-top{display:flex;justify-content:space-between;align-items:baseline;gap:5px}.shop-card-title{font-weight:900;font-size:13px;line-height:1.2;color:#2e1504;overflow-wrap:anywhere}.shop-card-size{font-size:10.5px;font-weight:800;padding:1px 5px;border-radius:5px;background:#78350f29;color:#6b3410;flex-shrink:0}.shop-card-meta{font-size:11px;font-weight:700;color:#5c3310;line-height:1.3;display:flex;flex-wrap:wrap;gap:3px 6px}.shop-card.locked .shop-card-meta{color:#4b4439}.shop-lock-reason{font-size:10.5px;font-weight:900;color:#991b1b;background:#fee2e2b8;border:1px solid rgba(185,28,28,.35);border-radius:6px;padding:2px 6px;display:inline-block;align-self:flex-start}.shop-card-cost{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:4px;border-top:1px dashed rgba(120,53,15,.25);font-size:12px;font-weight:900}.price-tag{display:inline-flex;align-items:center;gap:4px;color:#2e1504}.price-tag.cant-afford{color:#b91c1c}.badge{display:inline-block;padding:2px 7px;border-radius:6px;font-size:10.5px;font-weight:900;background:linear-gradient(180deg,#4ade80,#16a34a);color:#fff;border:1px solid #14532d;text-shadow:0 1px 1px rgba(0,0,0,.45)}.badge.locked-badge{background:linear-gradient(180deg,#78716c,#44403c);border-color:#292524;color:#fde68a}.badge.cant-afford-badge{background:linear-gradient(180deg,#f87171,#b91c1c);border-color:#7f1d1d;color:#fff}.badge.power{background:linear-gradient(180deg,#fef08a,#eab308);border-color:#854d0e;color:#451a03;text-shadow:none;padding:1px 5px;font-size:10px}.shop-tooltip{position:fixed;z-index:60;width:270px;pointer-events:none;background:linear-gradient(180deg,#fff4d4,#edd092);border:3px solid #6b3410;border-radius:12px;padding:10px 12px;color:#2e1504;font-size:12px;line-height:1.38;box-shadow:inset 0 2px #ffffffb3,0 12px 28px #0000008c}.shop-tooltip-title{font-size:13.5px;font-weight:900;margin-bottom:4px;display:flex;justify-content:space-between;align-items:center;border-bottom:1.5px solid rgba(120,53,15,.25);padding-bottom:4px}.shop-tooltip-lock{margin:5px 0;padding:5px 7px;border-radius:7px;background:#b91c1c21;border:1.5px solid rgba(185,28,28,.4);color:#7f1d1d;font-weight:800;font-size:11.5px}.shop-tooltip-warn{margin:5px 0;padding:4px 7px;border-radius:7px;background:#d977062e;border:1px solid rgba(180,83,9,.45);color:#78350f;font-weight:800;font-size:11px}.shop-tooltip-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;margin-top:5px;font-size:11px}.shop-tooltip-row{display:flex;justify-content:space-between;gap:4px;border-bottom:1px dashed rgba(120,53,15,.2);padding:2px 0}.shop-tooltip-hint{margin-top:6px;font-size:10.5px;color:#6b3410;font-style:italic}.tt-title{font-family:Trebuchet MS,Segoe UI,system-ui,sans-serif;font-size:13.5px;font-weight:900;color:#3b1d07;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1.5px solid rgba(120,53,15,.28);padding-bottom:4px;margin-bottom:5px}.tt-desc{font-size:11.5px;line-height:1.38;color:#4a2308;margin-bottom:6px}.tt-grid{display:grid;grid-template-columns:1fr;gap:3px;margin-bottom:6px;font-size:11.5px}.tt-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2px 0;border-bottom:1px dashed rgba(120,53,15,.22);font-variant-numeric:tabular-nums}.tt-row b{color:#2e1504}.tt-stats{display:flex;flex-direction:column;gap:4px;padding:6px 8px;border-radius:7px;background:#78350f1c;border:1px solid rgba(120,53,15,.26);font-size:11px;line-height:1.35;color:#5c2808}#game-canvas.placing{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='11' fill='rgba(250,204,21,0.22)' stroke='%23000' stroke-width='4'/%3E%3Ccircle cx='18' cy='18' r='11' fill='none' stroke='%23fde047' stroke-width='2.2'/%3E%3Cpath d='M18 2v9M18 25v9M2 18h9M25 18h9' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3Cpath d='M18 2v9M18 25v9M2 18h9M25 18h9' stroke='%23fde047' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='18' r='2.5' fill='%23fff' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") 18 18,crosshair}.panel{position:fixed;top:52px;left:10px;width:280px;max-height:calc(100vh - 135px);overflow-y:auto;background:#18141cf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(167,139,250,.6);border-radius:12px;padding:12px;z-index:28;box-shadow:0 12px 32px #0000008c;font-size:13px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.panel-header h4{margin:0;font-size:14px}.panel-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.panel-actions button,.debug-grid button{flex:1 1 46%;background:#451a03d9;color:#fef3c7;border:1.5px solid #b45309;border-radius:7px;padding:6px 8px;font-size:12px;cursor:pointer;font-weight:700}.debug-grid button{background:#ffffff1a;border-color:#ffffff2e}.panel-actions button:hover,.debug-grid button:hover{filter:brightness(1.15)}.panel-actions button.primary{background:#15803d;border-color:#4ade80}.panel-actions button.gold{background:#b45309;border-color:#fde047}.panel-actions button.danger,.debug-grid button.danger{background:#b91c1c;border-color:#f87171}.debug-grid{display:flex;flex-wrap:wrap;gap:5px}.debug-fps-card{margin-bottom:9px;padding:8px 9px;border-radius:9px;background:#0f172ad9;border:1px solid rgba(148,163,184,.28)}.debug-fps-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:5px}.debug-fps-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px;font-weight:900;letter-spacing:.3px}.debug-fps-sub,.debug-fps-breakdown{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;color:#cbd5e1}.debug-fps-breakdown{margin-top:4px}.debug-fps-graph{display:block;width:100%;height:34px;border-radius:5px;background:#020617b8}.fps-good{color:#4ade80}.fps-warn{color:#facc15}.fps-bad{color:#f87171}.fps-hud-pill{position:fixed;top:52px;left:10px;z-index:27;padding:4px 10px;border-radius:8px;background:#0f172ad1;border:1px solid rgba(148,163,184,.35);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;font-weight:800;pointer-events:none;box-shadow:0 4px 12px #00000073}.debug-stats{margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.12);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#a7f3d0;white-space:pre-wrap}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000009e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:35}.modal-card{width:min(520px,92vw);max-height:82vh;overflow-y:auto;background:linear-gradient(180deg,#f3d28e,#dfa857);border:3px solid #78350f;border-radius:14px;padding:16px;color:#3b1d07;box-shadow:0 18px 48px #000000a6}.modal-card.wide{width:min(880px,95vw);max-height:88vh}.park-selector{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at center,#1e3a16e0,#100c08f2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ps-panel{width:min(980px,95vw);max-height:88vh;display:flex;flex-direction:column;gap:14px;background:linear-gradient(180deg,#f5d89a,#dca351);border:4px solid #78350f;border-radius:18px;padding:18px 20px;color:#3b1d07;box-shadow:inset 0 2px #ffffff80,0 24px 60px #000000b3}.ps-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-bottom:10px;border-bottom:2px solid rgba(120,53,15,.3)}.ps-title{margin:0;font-size:21px;font-weight:900}.ps-subtitle{font-size:12px;font-weight:700;color:#78350f;margin-top:2px}.ps-top-actions{display:flex;flex-wrap:wrap;gap:8px}.btn-ps-primary{padding:8px 14px;border-radius:10px;border:2px solid #14532d;background:linear-gradient(180deg,#4ade80,#16a34a);color:#fff;font-size:13px;font-weight:900;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.45)}.btn-ps-secondary{padding:8px 13px;border-radius:10px;border:2px solid #78350f;background:#78350f29;color:#3b1d07;font-size:13px;font-weight:800;cursor:pointer}.btn-ps-primary:hover,.btn-ps-secondary:hover,.btn-ps-play:hover{filter:brightness(1.07)}.ps-grid{overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:10px;padding-right:4px}.ps-empty{grid-column:1 / -1;text-align:center;padding:28px 12px;font-size:14px;font-weight:700}.ps-card{background:#fffbebb8;border:2.5px solid #92400e;border-radius:12px;padding:11px 12px;display:flex;flex-direction:column;gap:7px;box-shadow:0 4px 12px #0000002e}.ps-card.active{border-color:#15803d;background:#f0fdf4d9;box-shadow:0 0 0 2px #22c55e59,0 4px 14px #0003}.ps-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.ps-card-name{font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-badge{flex-shrink:0;font-size:10px;font-weight:900;padding:2px 7px;border-radius:999px;background:#16a34a;color:#fff}.ps-card-stats{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px}.ps-card-time{font-size:11px;color:#78350f}.ps-card-actions{display:flex;gap:6px;align-items:center;margin-top:2px}.btn-ps-play{flex:1;padding:6px 10px;border-radius:8px;border:2px solid #14532d;background:linear-gradient(180deg,#4ade80,#16a34a);color:#fff;font-size:12px;font-weight:900;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.45)}.auth-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#1e3a16e0,#100c08f5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-card{width:min(420px,90vw);background:linear-gradient(180deg,#f5d89a,#dca351);border:4px solid #78350f;border-radius:18px;padding:26px 24px;text-align:center;color:#3b1d07;box-shadow:inset 0 2px #ffffff80,0 24px 60px #000000b3}.auth-logo{font-size:26px;font-weight:900;margin-bottom:8px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.auth-subtitle{margin:0 0 18px;font-size:13.5px;font-weight:700;line-height:1.45}.btn-google-login{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px 18px;border-radius:12px;background:linear-gradient(180deg,#4ade80,#16a34a);border:2.5px solid #14532d;color:#fff;font-size:15px;font-weight:900;text-decoration:none;text-shadow:0 1px 2px rgba(0,0,0,.45);box-shadow:0 6px 18px #00000059;transition:transform .1s,filter .1s}.btn-google-login:hover{filter:brightness(1.07);transform:translateY(-1px)}.auth-error{margin-bottom:12px;padding:8px 10px;border-radius:8px;background:#991b1b29;border:1.5px solid #991b1b;color:#7f1d1d;font-size:12px;font-weight:800}.auth-note{margin-top:12px;padding:8px 10px;border-radius:8px;background:#78350f1f;font-size:11.5px;line-height:1.4;text-align:left}.hud-user-pill{display:inline-flex;align-items:center;gap:5px;padding-left:6px;border-left:1px solid rgba(255,255,255,.2);font-size:11px;font-weight:800;color:#fef3c7;max-width:150px}#hud-user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-tabs{display:flex;gap:6px;flex-wrap:wrap}.admin-users-list{display:flex;flex-direction:column;gap:7px;max-height:55vh;overflow-y:auto}.admin-user-row{background:#78350f1f;border:1.5px solid rgba(120,53,15,.3);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:6px}.admin-user-meta{font-size:11.5px;opacity:.9}.admin-email{font-size:11.5px;color:#78350f}.admin-user-btns{display:flex;flex-wrap:wrap;gap:5px}.admin-badge{display:inline-block;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:900}.admin-badge.gold{background:#ca8a04;color:#fff}.admin-badge.blue{background:#4f46e5;color:#fff}.admin-badge.red{background:#b91c1c;color:#fff}.admin-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.admin-check{grid-column:1 / -1;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;cursor:pointer}.admin-field{display:flex;flex-direction:column;gap:3px;font-size:11.5px;font-weight:800}.admin-field.full{grid-column:1 / -1}.admin-field input{background:#fffbeb;border:1.5px solid #78350f;border-radius:7px;padding:6px 8px;font-size:12.5px;color:#3b1d07;font-weight:700}.modal-card h3{margin:0;font-size:17px}.daily-track{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.daily-day{background:#78350f1f;border:1.5px solid rgba(120,53,15,.35);border-radius:10px;padding:8px 4px;text-align:center;font-size:12px}.daily-day.done{border-color:#15803d;background:#22c55e40}.daily-day.current{border-color:#b45309;background:#facc1573;box-shadow:0 0 12px #facc158c}#toast-container{position:fixed;top:48px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:6px;z-index:40;pointer-events:none}.toast{background:linear-gradient(180deg,#3f2b18,#26190d);border:2px solid #f59e0b;color:#fef3c7;padding:7px 16px;border-radius:10px;font-size:13px;font-weight:700;box-shadow:0 6px 20px #0000007a}.admin-inspect-banner{position:fixed;top:46px;left:50%;transform:translate(-50%);z-index:44;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 12px;border-radius:11px;background:linear-gradient(180deg,#4c1d95,#2e1065);border:2px solid #c084fc;color:#f5f3ff;font-size:12.5px;font-weight:800;box-shadow:0 10px 26px #0000008c}.admin-inspect-actions{display:flex;align-items:center;gap:6px}.admin-user-parks-drawer{width:100%;margin-top:8px;padding:8px 10px;border-radius:9px;background:#451a031f;border:1.5px solid rgba(120,53,15,.35);display:flex;flex-direction:column;gap:6px}.admin-park-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:6px 8px;border-radius:8px;background:#fffbeba6;border:1px solid rgba(120,53,15,.28);font-size:12px}.hidden{display:none!important}
