*{box-sizing:border-box}body{margin:0;background:#102334;color:#f9f4e8;font:14px Arial,sans-serif;overflow:hidden}#world{position:fixed;inset:0}canvas{display:block;touch-action:none}header{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:25px;padding:28px 36px;background:linear-gradient(#0c1b2aaa,transparent);pointer-events:none}header button{pointer-events:auto}.brand{font:700 22px Georgia;letter-spacing:3px}.brand small{display:block;font:8px Arial;letter-spacing:3px;margin:8px 0 0 24px;color:#b9cdc9}.prototype{font-size:9px;letter-spacing:2px;color:#c1d7ce;margin-left:auto}button{font:inherit;cursor:pointer;border:1px solid #ffffff35;border-radius:8px;padding:10px 17px;background:#173b40d9;color:#fff}button:hover{background:#3b6466}button:disabled{opacity:.45;cursor:default}.headline{position:absolute;top:125px;left:36px;pointer-events:none;text-shadow:0 2px 12px #061b2b}.headline>span,.eyebrow{font-size:9px;letter-spacing:2px;color:#e5c897}h1{font:40px/1.13 Georgia;margin:15px 0;color:#fff6de}.headline p{color:#baccd3;font-size:12px}aside{position:absolute;right:30px;top:130px;width:260px;border:1px solid #b4d7d326;padding:23px;background:#102b38d9;border-radius:15px;backdrop-filter:blur(12px)}h2{font:23px Georgia;margin:12px 0 20px}.stop{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #ffffff12;align-items:center}.stop .num{width:28px;height:28px;border:1px solid #ffffff32;border-radius:50%;text-align:center;line-height:26px;color:#b6c8c4;font-size:11px}.stop b{display:block;font-size:12px;margin-bottom:5px}.stop small{color:#9fb9ba;font-size:10px}.stop.active .num{background:#d9b675;color:#21353e;border-color:#d9b675}.stop.done{opacity:.5}.route-note{font-size:10px;line-height:1.6;color:#cbbd9d;margin-top:18px}.dashboard{position:absolute;bottom:105px;left:36px;display:flex;gap:35px;background:#0b2437d9;border:1px solid #ffffff22;border-radius:12px;padding:20px 25px;backdrop-filter:blur(10px)}.dashboard small{display:block;font-size:8px;letter-spacing:2px;color:#acc2c5;margin-bottom:10px}.dashboard strong{font-size:24px;font-weight:400}.dashboard em{font-style:normal;color:#839fa5;font-size:17px}#mode{font-size:17px}#prompt{position:absolute;bottom:110px;left:50%;transform:translateX(-30%);max-width:330px;border:1px solid #e5c89766;background:#17313ce8;padding:14px 20px;border-radius:10px;color:#f4ddb4;font-size:12px;line-height:1.6}.bottom{position:absolute;bottom:24px;left:36px;right:30px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#d2dedb;line-height:2.5}.bottom span{color:#9bb3b9}kbd{border:1px solid #ffffff40;border-radius:4px;padding:4px 7px;margin-right:5px;font-size:10px}.bottom kbd:not(:first-child){margin-left:15px}dialog{background:#f7f2e6;color:#213f40;border:0;border-radius:20px;padding:35px;max-width:440px;width:90%;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#061725aa;backdrop-filter:blur(4px)}dialog .eyebrow{color:#9e763c}dialog p{line-height:1.7;font-size:14px}dialog button{background:#32634f}#choices{display:grid;grid-template-columns:1fr;gap:10px}#feedback{min-height:22px;color:#b34b32}#touch{position:absolute;bottom:200px;left:15px;display:none;gap:5px;flex-wrap:wrap;width:210px}#touch button{padding:12px}#error{position:fixed;inset:30%;padding:30px;background:#12343d;border-radius:15px;line-height:1.7}@media(max-width:1000px){.headline h1{font-size:30px}.headline{top:105px}aside{width:220px;padding:17px;right:18px;top:105px}.dashboard{gap:20px;left:18px;padding:15px}#prompt{bottom:205px;left:18px;transform:none;font-size:11px}.bottom{left:18px;right:18px}.prototype{display:none}}@media(max-width:620px){header{padding:18px}.brand{font-size:16px}header button{margin-left:auto}.headline{left:18px;top:90px}.headline h1{font-size:24px}.headline p{max-width:150px;line-height:1.5;font-size:10px}.headline>span{font-size:7px}aside{width:158px;top:90px;right:12px;padding:12px}aside h2{font-size:16px;margin:10px 0}.stop{padding:9px 0;gap:7px}.stop b{font-size:10px}.stop small{font-size:8px}.num{flex-shrink:0}.route-note{font-size:8px}.eyebrow{font-size:7px}.dashboard{left:12px;right:12px;bottom:94px;gap:0;justify-content:space-between;padding:14px}.dashboard strong{font-size:20px}.dashboard small{font-size:7px;letter-spacing:1px}#mode{font-size:13px}#prompt{bottom:170px;max-width:calc(100% - 24px);left:12px;padding:9px}.bottom{font-size:8px;bottom:10px;line-height:1.8}.bottom kbd{padding:2px;font-size:8px}.bottom kbd:not(:first-child){margin-left:3px}.bottom button{font-size:10px;padding:8px}.bottom span{display:none}}@media(pointer:coarse){#touch{display:flex}.bottom>div{display:none}}

body.indoors .headline,body.indoors aside{display:none}body.indoors header{background:linear-gradient(#10233499,transparent)}body.indoors .dashboard{padding:12px 18px}body.indoors #prompt{bottom:110px}body.indoors #world:after{content:"+";position:fixed;left:50%;top:50%;color:#fff9;font-size:18px;pointer-events:none}
header #musicToggle{pointer-events:auto;font-size:11px;padding:10px 12px}@media(max-width:620px){header{gap:8px}header #musicToggle{font-size:9px;padding:8px}.brand{letter-spacing:1px}}

#gifts{max-height:88vh;overflow-y:auto}#choices{grid-template-columns:1fr 1fr}#choices button{min-height:48px;font-size:12px}@media(max-width:480px){#choices{grid-template-columns:1fr}}

#santaSubtitle{position:fixed;left:50%;bottom:245px;transform:translateX(-50%);max-width:min(640px,88vw);padding:12px 20px;border-radius:12px;background:#10283de8;border:1px solid #efcc8e55;color:#fff2d5;text-align:center;font:16px/1.5 Georgia,serif;pointer-events:none;box-shadow:0 8px 24px #0003}#santaSubtitle[hidden]{display:none}@media(max-width:620px){#santaSubtitle{bottom:225px;font-size:13px;width:88vw}}

#warehouseOpen{font-size:12px;white-space:nowrap}#warehousePanel{position:fixed;inset:24px 30px auto;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;border-radius:16px;background:linear-gradient(110deg,#15332bef,#15332b99);border:1px solid #e7c27f44;pointer-events:none}#warehousePanel[hidden]{display:none}#warehousePanel h2{margin:8px 0;font-size:28px}#warehousePanel p{margin:8px 0;font-size:13px;color:#e1d9c1}#warehousePanel .warehouseHelp{font-size:11px;color:#b9c8bd}#warehouseClose{pointer-events:auto;background:#37634f}body.warehouse header,body.warehouse .headline,body.warehouse aside,body.warehouse .dashboard,body.warehouse #prompt,body.warehouse .bottom,body.warehouse #touch,body.warehouse #santaSubtitle{display:none!important}body.warehouse #world:after{display:none}@media(max-width:620px){#warehousePanel{inset:12px 12px auto;padding:16px}#warehousePanel h2{font-size:21px}#warehouseClose{font-size:11px;padding:9px}#warehouseOpen{font-size:10px;padding:8px}header{gap:9px;flex-wrap:wrap}}

#warehouseHud{display:none;position:fixed;left:24px;bottom:22px;max-width:540px;padding:16px 18px;border-radius:16px;background:#173d34ee;border:1px solid #dcc18b55;color:#f5e9d0}body.warehouse #warehouseHud{display:block}#warehouseStock{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 18px}#warehouseStock b{display:block;font-size:11px}#warehouseStock span{display:block;color:#bdd0c2;font-size:10px;margin-top:4px}#warehouseStatus{font-size:12px;margin:12px 0 8px}#warehouseTake{font-size:11px;padding:8px 12px;background:#467454}#warehouseTake:disabled,#choices button:disabled{opacity:.4;cursor:not-allowed}#warehouseHelper{position:fixed;z-index:20;display:flex;align-items:center;gap:6px;max-width:185px;pointer-events:none}#warehouseHelper[hidden]{display:none}#warehouseHelper img{width:64px;height:72px;filter:drop-shadow(0 4px 5px #0004)}#warehouseHelper span{font-size:11px;color:#fff3d9;background:#193f35ee;border:1px solid #dfc38d66;border-radius:10px;padding:8px;line-height:1.4}@media(max-width:650px){#warehouseStock{grid-template-columns:repeat(4,1fr);gap:8px}#warehouseHud{left:12px;right:12px;bottom:12px;padding:12px}#warehouseStock span{font-size:9px}#warehousePanel{padding:12px}#warehousePanel h2{font-size:18px}#warehousePanel p{font-size:10px}}

#routeWarehouse{width:100%;margin-top:14px;background:#8c333b;color:#fff3dc;border-color:#ecc88e77;font-size:11px;padding:11px 8px}#routeWarehouse[hidden]{display:none}.stop .wish-status{display:block;margin-top:4px;font-size:10px;color:#e5c897}.stop .wish-status.packed{color:#b9dfb6}#packingChecklist{display:none;position:fixed;right:24px;top:190px;width:246px;padding:18px;background:#173d34ed;border:1px solid #dcc18b55;border-radius:14px;max-height:calc(100vh - 215px);overflow:auto;pointer-events:none}body.warehouse #packingChecklist{display:block}#packingProgress{font:22px Georgia;margin:8px 0 12px}#packingList>div{padding:9px 0;border-top:1px solid #ffffff19;display:grid;grid-template-columns:18px 1fr;gap:7px}#packingList .pack-mark{font-size:13px;color:#eacb8d}#packingList b{display:block;font-size:11px}#packingList small{display:block;margin-top:4px;color:#e1cc9d;font-size:10px}#packingList .is-packed small,#warehouseStock .is-needed span{color:#badcb5}#packingTip{font-size:10px;line-height:1.6;color:#d4c9ac;margin:12px 0 0}#warehouseStock .is-needed b{color:#fff0ba}#warehouseStock .optional{opacity:.64}@media(max-width:740px){#packingChecklist{top:165px;right:12px;width:200px;padding:13px;max-height:calc(100vh - 365px)}#packingProgress{font-size:18px}#packingList>div{padding:7px 0}#packingTip{font-size:9px}}@media(max-width:480px){#packingChecklist{width:176px;top:155px;padding:10px;max-height:calc(100vh - 360px)}#packingList b{font-size:10px}#packingList small{font-size:9px}#packingTip{margin-top:7px}#routeWarehouse{font-size:10px;padding:8px 5px}}
