:root{font-family:PingFang TC,Noto Sans TC,system-ui,sans-serif;color:#fff4d8;background:#0b1c30;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#162c40;--gold:#f1ca7d;--ice:#bee8ef}*{box-sizing:border-box}html,body,#game{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}button{font:inherit;cursor:pointer;border:0;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #ffe4a5;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(1.13)}button:active{transform:scale(.96)}canvas{display:block;width:100%;height:100%;touch-action:none}.hidden{display:none!important}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 40%,transparent 45%,#06182955 100%)}.frost{background:linear-gradient(145deg,#244355eb,#102638ee);border:1px solid #a1c8cf8c;box-shadow:inset 0 2px #efffff75,0 7px 25px #07132236;border-radius:18px}.frost:before{content:"";position:absolute;top:-2px;left:8px;right:8px;height:5px;border-radius:80%;background:#edfaff;box-shadow:0 1px 8px #d5f0ff55}#hud{position:absolute;top:max(20px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));display:flex;align-items:flex-start;gap:24px;pointer-events:none}#hud button{pointer-events:auto}.captain{position:relative;display:flex;align-items:center;gap:13px;padding:10px 16px 10px 10px;min-width:290px}.portrait{width:63px;height:63px;position:relative;overflow:hidden;flex-shrink:0;border:2px solid #e3c88c;border-radius:50%;background:#446172}.portrait img{position:absolute;width:210px;max-width:none;top:-1px;left:-3px}.eyebrow{font-size:11px;letter-spacing:.15em;color:#d8e6de;font-weight:600}.captain .eyebrow span{color:#e9cc91;margin-left:10px;font-size:10px}#hearts{font-size:22px;color:#f69583;white-space:nowrap;text-shadow:0 2px 0 #754a4a;letter-spacing:1px;line-height:1.45}.cold-heart{color:#90d8ff}.xp-track{height:5px;border-radius:10px;background:#071b2e;overflow:hidden}.xp-track i{display:block;background:#bfdda9;width:0;height:100%;transition:width .4s}#party-button{background:none;padding-left:12px;margin-left:2px;align-self:stretch;border-left:1px solid #ffffff25;font-size:19px}#party-count{display:block;font-size:12px;color:#e3e9df;margin-top:6px}.route{position:relative;display:flex;gap:12px;align-items:center;padding:16px 18px;font-size:12px;margin:8px auto 0;min-width:255px}.route-track{height:3px;width:95px;background:#cfdbd433;position:relative}.route-track i{display:block;background:#e6c080;height:100%;width:0}.route-track b{position:absolute;top:-9px;left:0;color:#f9d391;font-size:16px}.home-icon{font-size:25px;color:#d4e9e7}.top-buttons{display:flex;gap:8px}.top-buttons button{height:42px;min-width:42px;background:#19374cc9;border:1px solid #b2d2df65;border-radius:50%;font-size:21px}.top-buttons #camera{border-radius:24px;padding:0 14px}.top-buttons #camera span{font-size:11px}.quest{position:absolute;top:128px;left:max(28px,env(safe-area-inset-left));max-width:325px;display:flex;gap:12px;text-shadow:0 2px 4px #102436;pointer-events:none}.tiny-star{color:#f7d793;font-size:25px;line-height:1}.quest .eyebrow{color:#f7d793;font-size:10px;letter-spacing:.2em}.quest p{font-size:14px;line-height:1.6;margin:7px 0 0;color:#f1f4ee;font-weight:600}#weather{position:absolute;top:88px;right:28px;font-size:11px;color:#d1ecf0;letter-spacing:.05em;text-shadow:0 2px 5px #152a3b}#toast{position:absolute;left:50%;top:22%;transform:translate(-50%,-10px);background:#0f2a3bed;border:1px solid #c8d5cc77;border-radius:14px;padding:13px 24px;max-width:560px;width:max-content;line-height:1.6;text-align:center;font-size:14px;opacity:0;pointer-events:none;transition:opacity .4s,transform .4s;box-shadow:0 6px 25px #0002;z-index:12}#toast.show{opacity:1;transform:translate(-50%)}#location{position:absolute;top:40%;left:50%;transform:translate(-50%);font-family:Songti TC,serif;letter-spacing:.25em;font-size:26px;text-shadow:0 3px 15px #0a253b;opacity:0;pointer-events:none;transition:opacity .7s}#location.show{opacity:1}#interaction{position:absolute;bottom:140px;left:50%;transform:translate(-50%)}#interaction button{background:#f7e8cce8;color:#29404a;padding:12px 21px;border:1px solid #fff8e4;border-radius:40px;box-shadow:0 5px 25px #10283755;white-space:nowrap;font-size:13px;font-weight:600}kbd{font:10px system-ui;display:inline-block;border:1px solid #c8dfe066;border-radius:4px;min-width:18px;padding:2px 5px;background:#10263788;color:#ecf5ed}#interaction kbd{background:#315064;color:#fff;margin-right:10px}.party{position:absolute;top:125px;left:27px;width:270px;padding:20px;z-index:16}.party p{font-size:11px;line-height:1.8;color:#c6dadd}.party-row{display:flex;align-items:center;gap:8px;padding:13px 0;border-bottom:1px solid #ffffff17}.party-row i{font-style:normal;font-size:25px}.party-row strong{display:block;font-size:13px}.party-row small{display:block;font-size:10px;color:#bbd6dc;margin-top:4px}.party-row .warmth{margin-left:auto;color:#eec793;font-size:10px}.actions{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));right:max(30px,env(safe-area-inset-right));display:flex;gap:13px;align-items:flex-end}.action{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:79px;height:91px;border-radius:40px 40px 23px 23px;background:linear-gradient(145deg,#30596ccc,#152e45eb);box-shadow:inset 0 2px #e1f4f5a6,0 7px 18px #00162870;border:1px solid #9ac2d696;gap:7px}.action b{font-size:29px;line-height:1}.action svg{width:29px;height:29px;stroke:#d6eef4;fill:none;stroke-width:1.7}.action span{font-size:10px;font-weight:600;letter-spacing:.03em}.action kbd{position:absolute;top:-7px;right:-3px;background:#173344}.action.warm{background:linear-gradient(145deg,#81704bf0,#443c30ef);border-color:#d6bb7d}.action.warm svg{stroke:#ffdfa2}.action.ice{width:91px;height:103px;background:linear-gradient(145deg,#4b8499eb,#234a65f2);border:2px solid #c0e4eccc;box-shadow:inset 0 2px #e1f4f5a6,0 0 18px #a4dff325}.action.ice svg{width:35px;height:35px}.action.small{height:66px;width:59px;border-radius:28px 28px 18px 18px}.action.small b{font-size:23px}.action.small i{font-style:normal;color:#fedb93}.action.cooldown{filter:brightness(.65)}#joystick{position:absolute;bottom:max(32px,env(safe-area-inset-bottom));left:max(36px,env(safe-area-inset-left));width:132px;height:132px;border-radius:50%;border:2px solid #bad9df80;background:radial-gradient(circle,#91c2cc22 35%,#152f4c75 36%,#a6d8e533 72%,#183a55aa 74%);box-shadow:inset 0 3px 7px #f2ffff38,0 10px 35px #0d203244;touch-action:none}#joystick:before{content:"✦";position:absolute;left:53px;top:3px;font-size:20px;color:#d0edf09c}#joystick span{position:absolute;left:43px;top:43px;width:42px;height:42px;border-radius:50%;background:linear-gradient(150deg,#bedee799,#50768dbb);border:1px solid #d9f4ef;box-shadow:0 3px 9px #102b4366;pointer-events:none}#joystick i{position:absolute;left:0;right:0;bottom:8px;text-align:center;font-style:normal;font-size:10px;color:#e4f0ef99;pointer-events:none}.keyboard-help{position:absolute;bottom:21px;left:192px;color:#d1e4e7b3;font-size:10px;text-shadow:0 2px 4px #193443}.keyboard-help em{margin:0 8px;color:#ffe2a7;font-style:normal}#upgrade-open{position:absolute;top:193px;left:30px;border-radius:20px;background:#e3c685e8;padding:9px 16px;color:#253444;font-size:12px;box-shadow:0 4px 15px #081d3b44}.screen{position:absolute;inset:0;z-index:30}.title-art{position:absolute;inset:0;background:#14293e url(../assets/winter-homecoming.webp) 58% center/cover no-repeat;transform:scale(1.025);animation:arrival 3s ease-out}.title-shade{position:absolute;inset:0;background:linear-gradient(90deg,#07172be8 0%,#0b2032ac 28%,#0b20322b 56%,transparent 80%),linear-gradient(0deg,#061829bd,transparent 30%)}.title-copy{position:absolute;left:8.5%;top:16%;max-width:510px}.title-kicker{font-size:10px;letter-spacing:.3em;color:#c8dce5}h1{font-family:Songti TC,"Noto Serif TC",serif;font-size:clamp(49px,5.7vw,84px);font-weight:600;letter-spacing:.13em;line-height:1.22;margin:23px 0 17px;text-shadow:0 4px 20px #061b3c66}h1 em{font-style:normal;color:#ffe3ae}.english-title{font-size:12px;letter-spacing:.36em;color:#f1dcb5}.title-copy p{font-size:13px;color:#d8e8e8;line-height:2;letter-spacing:.1em;margin:26px 0}.primary{display:block;background:linear-gradient(135deg,#f8dda1,#dcb572);color:#243443;border-radius:9px;padding:15px 25px;font-size:14px;font-weight:700;letter-spacing:.08em;box-shadow:inset 0 1px #fff5ce,0 6px 25px #0002;min-width:210px}.secondary{display:block;border:1px solid #d1e4e34d;background:#18344775;color:#deece9;border-radius:9px;padding:11px 20px;margin-top:12px;font-size:12px}.title-copy .secondary{min-width:210px}.title-notes{color:#c6d9dc;font-size:10px;margin-top:25px;letter-spacing:.04em}.title-notes span{color:#f1d69d;margin:0 12px}.title-footer{position:absolute;left:30px;right:30px;bottom:25px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.2em;color:#bdced3}.modal-screen{background:#06172a9e;display:grid;place-items:center;z-index:40}.modal{position:relative;width:min(620px,90%);padding:38px;text-align:center;max-height:91%;overflow-y:auto;box-shadow:0 20px 100px #06132577}.modal h2{font-family:Songti TC,serif;font-size:34px;letter-spacing:.15em;color:#ffe5b3;margin:20px 0}.modal p{font-size:13px;line-height:1.9;color:#d0e1e5}.modal .primary,.modal>.secondary{margin:14px auto 0}.modal small{font-size:10px;color:#9fbcc8;display:block;margin-top:17px}.skill-options{display:flex;gap:10px;margin:28px 0}.skill-options button{flex:1;border:1px solid #b5c8c950;background:#d4e8e60b;border-radius:12px;padding:22px 13px}.skill-options b{font-size:30px;color:#e2c88b;display:block;margin-bottom:17px}.skill-options strong{font-size:13px;display:block;line-height:1.6}.skill-options span{font-size:11px;line-height:1.7;display:block;color:#bcd3d9;margin-top:12px}.ending{background:radial-gradient(ellipse at top,#706044,#25363a);border:1px solid #e7c283;border-radius:24px}.ending blockquote{font-family:Songti TC,serif;color:#f9deb1;font-size:17px;margin:17px 0}.ending-small{font-size:11px!important}.home-party{height:100px;display:flex;justify-content:center;gap:5px}.home-party .animal-crop{width:80px;height:95px;background-image:url(../assets/winter-actors.webp);background-size:290px 193px;background-repeat:no-repeat}.home-party .bear{background-position:-100px 0}.home-party .sheep{background-position:-200px 0}.home-party .ghost{background-position:-7px -96px}.home-party .rabbit{background-position:-100px -96px}.ending-stats{font-size:12px;color:#ffe0b3;margin:15px 0;letter-spacing:.08em}#error{position:absolute;inset:0;z-index:100;display:grid;place-items:center;background:#132b40;padding:40px;text-align:center;line-height:2}#rotate-hint{display:none;position:absolute;bottom:10px;left:10px;right:10px;z-index:90;background:#122a40f2;border:1px solid #c9e8e777;border-radius:15px;padding:14px;text-align:center;font-size:12px}#rotate-hint small{font-size:10px;color:#bed2dd}#rotate-close{margin-left:10px;padding:8px;border-radius:8px;background:#dcc28e;color:#173345}@keyframes arrival{0%{transform:scale(1.07)}to{transform:scale(1.025)}}@media (max-width:1000px){#hud{top:max(13px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));gap:12px}.captain{min-width:242px;padding:7px 10px;gap:9px}.portrait{width:49px;height:49px}.portrait img{width:170px}.captain .eyebrow{font-size:9px}#hearts{font-size:18px}#party-button{font-size:16px}.route{min-width:175px;padding:12px 13px;gap:8px;margin-top:4px}.route-track{width:65px}.route #chapter{font-size:10px}.quest{top:102px;left:max(20px,env(safe-area-inset-left));max-width:265px}.quest p{font-size:12px}.top-buttons{gap:5px}.top-buttons button{height:36px;min-width:36px;font-size:18px}.top-buttons #camera{padding:0 9px}.actions{right:max(22px,env(safe-area-inset-right));bottom:max(19px,env(safe-area-inset-bottom));gap:10px}.action{width:65px;height:76px}.action.ice{width:76px;height:86px}.action.small{width:50px;height:59px}.action span{font-size:9px}#joystick{width:112px;height:112px;bottom:25px;left:max(27px,env(safe-area-inset-left))}#joystick:before{left:43px}#joystick span{left:34px;top:34px}.keyboard-help{display:none}#interaction{bottom:115px}#interaction button{font-size:11px;padding:10px 18px}#weather{top:76px;font-size:10px}#toast{font-size:12px;max-width:70%;padding:10px 17px}#upgrade-open{top:164px;left:20px}.title-copy{top:12%;left:8%}.title-copy p{margin:17px 0}.title-notes{margin-top:16px}.modal{padding:26px}.modal h2{font-size:28px;margin:12px 0}.modal p{font-size:12px}.party{top:95px;left:18px}.title-footer{bottom:16px}.skill-options{margin:17px 0}}@media (max-height:540px){.title-copy{top:8%}h1{font-size:47px;margin:15px 0 10px}.title-kicker{font-size:8px}.english-title{font-size:10px}.title-copy p{font-size:11px;line-height:1.8;margin:15px 0}.primary{padding:12px 20px;font-size:12px}.title-notes{display:none}.title-copy .secondary{margin-top:8px;padding:8px}.quest{top:91px;max-width:240px}.quest p{font-size:11px}.route{display:none}.captain{margin-right:auto}.modal h2{font-size:25px}.modal{padding:22px}.modal p{font-size:11px;line-height:1.6}.modal .primary,.modal>.secondary{margin-top:9px}.home-party{height:66px}.home-party .animal-crop{transform:scale(.72);transform-origin:top center}.ending blockquote{font-size:14px}.ending-small{display:none}.ending-stats{margin:8px}.actions{bottom:17px}#weather{top:69px}.party{top:85px;width:250px;padding:14px}.party-row{padding:8px 0}#upgrade-open{top:147px}.skill-options button{padding:12px}.skill-options b{margin-bottom:8px}.skill-options span{font-size:10px}}@media (orientation:portrait){#rotate-hint{display:block}.route,.top-buttons #camera span{display:none}.captain{min-width:210px}.portrait{width:39px;height:39px}.portrait img{width:140px}#hud{gap:6px}.captain{gap:7px;padding:7px}#hearts{font-size:16px}.top-buttons button{height:32px;min-width:32px}.quest{top:92px}.actions{gap:6px;right:12px;bottom:110px}.action{width:56px;height:72px}.action.ice{width:61px;height:78px}.action.small{width:47px;height:54px}#joystick{left:18px;bottom:204px;width:100px;height:100px}#joystick span{left:28px;top:28px}#interaction{bottom:205px;left:auto;right:13px;transform:none}#interaction button{white-space:normal;max-width:230px}.title-copy{left:9%;top:13%}.title-art{background-position:68% center}.title-shade{background:linear-gradient(90deg,#061c30d9,#061c3066),linear-gradient(0deg,#061c30c9,transparent)}h1{font-size:57px}.title-copy p{font-size:12px}.title-footer{bottom:95px;font-size:7px}.title-footer span:last-child{display:none}.skill-options{flex-direction:column}.skill-options button{padding:14px;text-align:left}.skill-options b{float:left;margin:4px 19px 0 0}.skill-options span{margin-top:5px}.modal{max-height:77%;padding:22px}.modal h2{font-size:26px}.home-party .animal-crop{width:66px}.home-party{height:90px}#toast{top:30%;max-width:85%}#weather{top:78px;right:20px;font-size:9px}#location{font-size:20px}#upgrade-open{top:166px}}@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.party{max-height:65vh;overflow:auto}.party-row small:last-child{font-size:10px;color:#e3d9bd;max-width:165px}#ending-open{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);padding:12px 24px;background:#eed29be8;border:1px solid #fff1c3;border-radius:25px;color:#293842;font-size:13px;box-shadow:0 6px 18px #04142633}@media (orientation:portrait) and (max-width:600px){.top-buttons{flex-direction:column}.captain{margin-right:auto}.quest{max-width:245px}#weather{top:132px;right:15px;max-width:72px;line-height:1.6}.party{max-height:60vh}#ending-open{bottom:95px}}@media (orientation:landscape) and (max-height:540px){.modal.ending{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;width:min(720px,88%);padding:16px 27px}.ending>.eyebrow,.ending>h2,.ending>blockquote,.ending>.ending-stats{grid-column:1/-1}.ending>h2{margin:8px 0;font-size:25px}.ending>p:first-of-type{text-align:left;align-self:center;margin:6px 0;font-size:11px}.ending>.home-party{grid-column:2;grid-row:3;height:66px;align-self:center;gap:0}.ending>.home-party .animal-crop{width:64px}.ending>blockquote{margin:7px 0;font-size:14px}.ending>.ending-stats{margin:3px 0}.ending>#ending-replay,.ending>#ending-look{min-width:0;width:100%;margin:9px 0 0;font-size:11px;padding:10px 9px;align-self:stretch}.ending>.ending-small{display:none}}@media (orientation:landscape) and (max-height:540px){.ending>.home-party .animal-crop{width:80px;flex-shrink:0;margin:0 -9px;transform:scale(.72);transform-origin:top center}}@media (orientation:landscape) and (max-height:540px){#toast{top:30%;max-width:56%;font-size:11px;padding:8px 15px}}.next-stop{display:flex;align-items:center;gap:8px;font-size:11px;color:#ffe4ae;margin-top:6px}.next-stop b{display:inline-block;font-size:20px;line-height:1;width:22px;text-align:center;transition:transform .15s}#journey-progress{display:block;margin-top:7px;font-size:10px;color:#c0e4e8;letter-spacing:.04em}#gather-progress{position:absolute;left:50%;top:24%;transform:translate(-50%);padding:12px 19px;background:#172f40e8;border:1px solid #e4cd98;border-radius:14px;text-align:center;min-width:230px;font-size:12px;pointer-events:none}#gather-progress>i{display:block;height:6px;border-radius:4px;background:#081d2e;margin-top:10px;overflow:hidden}#gather-fill{display:block;height:100%;background:#f0cf8f;border-radius:4px;transition:width .15s}#homecoming-caption{position:absolute;bottom:38px;left:50%;transform:translate(-50%);width:max-content;max-width:85%;padding:15px 22px;background:#1f2b30d9;border:1px solid #f0d39c66;border-radius:15px;text-align:center;color:#ffe7b9;font-family:Songti TC,serif;font-size:20px;z-index:15}#homecoming-caption small{display:block;font:12px system-ui;margin-top:8px;color:#e8e3d2}.home-party{height:100px;gap:0}.home-party .animal-crop{width:80px;flex-shrink:0}.home-party .little{transform:scale(.77);transform-origin:bottom center;margin:0 -8px}.ending #replay-hats{margin:10px auto 0;padding:7px 18px;font-size:11px;background:transparent;border-color:#ddc59266}.party{width:300px}#upgrade-open{top:230px}@media (max-width:1000px){#upgrade-open{top:204px}.quest{max-width:300px}.next-stop{font-size:10px}.party{width:280px}}@media (orientation:landscape) and (max-height:540px){.quest{max-width:265px}.quest p{margin:5px 0;line-height:1.45}.next-stop{font-size:10px;margin-top:3px}#journey-progress{font-size:9px;margin-top:3px}#upgrade-open{top:186px}.modal.ending{width:min(790px,92%);padding:12px 22px;gap:0 12px}.ending>.home-party{height:82px;display:flex;align-items:center;justify-content:center;grid-column:2;grid-row:3}.ending>.home-party .animal-crop{width:80px;transform:scale(.58);margin:0 -17px;transform-origin:center}.ending>.home-party .little{transform:scale(.46)}.ending>#replay-hats{grid-column:1/-1;margin-top:5px;padding:5px 15px}.ending>h2{margin:5px 0}.ending>blockquote{margin:3px 0}#homecoming-caption{bottom:max(22px,env(safe-area-inset-bottom));padding:8px 17px;font-size:15px}#homecoming-caption small{font-size:10px}#gather-progress{top:25%;font-size:11px;padding:8px 15px}}@media (orientation:portrait){.home-party .animal-crop{width:80px;transform:scale(.63);margin:0 -14px;transform-origin:center}.home-party .little{transform:scale(.5)}#upgrade-open{top:218px}#gather-progress{top:37%}#homecoming-caption{bottom:155px;font-size:16px}.quest{max-width:245px}}.skill-options .skill-level{margin-top:7px;color:#f2d596;font-size:10px}.skill-options button:disabled{cursor:default}.at-home .vignette{background:radial-gradient(ellipse at 50% 50%,transparent 55%,#28130e33 100%)}.at-home #rotate-hint{display:none}.home-top{position:absolute;top:max(20px,env(safe-area-inset-top));left:max(26px,env(safe-area-inset-left));right:max(26px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-start;gap:20px;text-shadow:0 2px 10px #1e160dcc;pointer-events:none}.home-top>div{padding:12px 17px;background:#2d211bb8;border:1px solid #ebcb922b;border-radius:18px}.home-top small{font-size:10px;letter-spacing:.16em;color:#ead7b3}.home-top h2{font:25px Songti TC,serif;letter-spacing:.12em;margin:7px 0 0;color:#fff0cb}.home-top nav{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:570px;pointer-events:auto}.home-top button{background:#352820dc;border:1px solid #e1be7d77;border-radius:22px;min-height:42px;padding:9px 15px;font-size:12px;color:#f6e4c5}.home-top button[aria-pressed=true]{background:#efd6a5;color:#453124}#fondue-start{position:absolute;bottom:max(32px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);border-radius:30px;min-width:260px;background:linear-gradient(140deg,#fae6bc,#e4be86);font-size:15px;padding:17px 30px;box-shadow:0 8px 32px #29170e60}#fondue-panel{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(1000px,94%);background:linear-gradient(135deg,#35271ff2,#1f201bf5);border:1px solid #e5c08a80;border-radius:22px;padding:20px 23px;display:grid;grid-template-columns:1fr 1.45fr;gap:8px 24px;box-shadow:0 15px 40px #160e1059;backdrop-filter:blur(10px)}.fondue-copy{align-self:center}#fondue-step{font-size:10px;letter-spacing:.15em;color:#e6bf87}#fondue-instruction{font-size:15px;line-height:1.6;margin:9px 0;color:#fff0d5}#fondue-count{color:#d7c7ac;font-size:11px}#fondue-progress{height:4px;background:#f4dfb51a;border-radius:5px;margin-top:14px;overflow:hidden}#fondue-meter{display:block;height:100%;background:#e7bd83;transition:width .1s}.fondue-choices{display:flex;gap:10px;align-items:center}#fondue-ingredients{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;flex:1}#fondue-ingredients button{min-width:58px;border:1px solid #ddbd865e;border-radius:12px;background:#ffffff08;padding:10px 5px;min-height:74px}#fondue-ingredients b{display:block;font-size:25px;font-weight:400;line-height:1.3}#fondue-ingredients span{font-size:11px;white-space:nowrap}#fondue-ingredients button[aria-pressed=true]{border-color:#ffe3ae;background:#e5c38825;box-shadow:inset 0 0 0 1px #ffe3ae66}#fondue-action{min-width:152px;width:152px;padding:15px 12px;font-size:12px;line-height:1.6;border-radius:12px}#fondue-action:disabled{cursor:default}#fondue-friends{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;flex:1}#fondue-friends button{padding:7px 9px;background:#fff0ce0e;border:1px solid #edca8c66;border-radius:10px;min-height:58px;text-align:left}#fondue-friends span{font-size:12px;color:#ffe8b6}#fondue-friends small{display:block;font-size:9px;color:#ddcfb6;margin:3px 0}#fondue-friends i{font-style:normal;font-size:9px;color:#bdd6b1}.fondue-finish{grid-column:1/-1;display:flex;justify-content:center;gap:12px;align-items:center;font-size:11px;color:#eed7ae}.fondue-finish:has(#fondue-complete:empty){display:none}#fondue-again{padding:8px 15px;border-radius:20px;background:#d8bd8c;color:#352a22;min-height:36px}#home-reaction{position:absolute;top:21%;left:50%;transform:translate(-50%);padding:11px 24px;background:#fff0d7f2;color:#483627;border-radius:18px;max-width:75%;font:16px Songti TC,serif;box-shadow:0 6px 20px #28170d2e;pointer-events:none}#fondue-stir-zone{position:absolute;width:220px;height:155px;left:50%;top:53%;transform:translate(-50%,-50%);border:1px dashed #fff4d93b;border-radius:50%;touch-action:none;cursor:grab}#fondue-stir-zone span{position:absolute;bottom:7px;left:0;right:0;text-align:center;color:#ffedcfb0;font-size:10px;text-shadow:0 1px 4px #321b12;pointer-events:none}.home-journal{background:linear-gradient(145deg,#5d4433,#2d2b27);border:1px solid #e9c78c;border-radius:24px;width:min(670px,92%)}.home-journal h2{font-size:27px}.home-journal #home-journal-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;text-align:left}.home-journal article{padding:13px 16px;background:#f6e8c00b;border:1px solid #f7dc9e30;border-radius:12px}.home-journal article strong{display:flex;justify-content:space-between;color:#ffe7bb;font-size:14px}.home-journal article strong span{font-size:10px;color:#ccba9e}.home-journal article p{margin:7px 0;font-size:11px}.home-journal article small{margin-top:5px;font-size:10px;color:#e7c68e}@media (max-height:540px) and (orientation:landscape){.home-top{top:max(10px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));gap:10px}.home-top>div{padding:7px 12px}.home-top h2{font-size:18px;margin-top:3px}.home-top small{font-size:9px}.home-top nav{gap:4px}.home-top button{min-height:36px;padding:7px 10px;font-size:10px}#fondue-panel{padding:10px 15px;bottom:max(9px,env(safe-area-inset-bottom));grid-template-columns:1fr 1.55fr;gap:5px 14px;width:94%;border-radius:17px}#fondue-instruction{font-size:12px;margin:5px 0}#fondue-step,#fondue-count{font-size:9px}#fondue-progress{margin-top:8px}#fondue-ingredients button{min-height:58px;padding:6px 4px;min-width:48px}#fondue-ingredients b{font-size:20px}#fondue-ingredients span{font-size:10px}#fondue-action{min-width:120px;width:120px;padding:9px 8px;font-size:11px}#fondue-friends button{min-height:45px;padding:4px 8px}#fondue-friends small{display:none}#fondue-friends i{display:block;margin-top:3px}#fondue-start{font-size:13px;padding:13px 25px;bottom:20px}#home-reaction{top:20%;font-size:12px;padding:8px 17px}#fondue-stir-zone{width:150px;height:100px;top:49%}.home-journal{max-height:94%;padding:16px 24px}.home-journal h2{font-size:21px;margin:5px 0}.home-journal article{padding:8px 12px}.home-journal #home-journal-list{grid-template-columns:repeat(3,1fr);gap:7px}.home-journal p{margin:8px 0}.home-journal small{margin-top:9px}.home-journal .primary{margin-top:10px;padding:10px}}@media (orientation:portrait){.home-top{top:max(15px,env(safe-area-inset-top));left:14px;right:14px;display:block}.home-top>div{display:inline-block;padding:10px 15px}.home-top h2{font-size:21px}.home-top nav{margin-top:10px;justify-content:flex-start;gap:5px}.home-top button{font-size:10px;min-height:36px;padding:8px 11px}#fondue-panel{width:94%;grid-template-columns:1fr;gap:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:15px}.fondue-choices{display:block}#fondue-action{width:100%;padding:10px;margin-top:10px}#fondue-ingredients button{min-height:61px}#fondue-instruction{font-size:13px;margin:5px 0}#fondue-progress{margin-top:8px}.fondue-finish{font-size:10px}#fondue-stir-zone{width:150px;height:115px;top:50%}#home-reaction{top:27%;font-size:13px;width:max-content;max-width:90%;padding:10px 17px}.home-journal{max-height:90%;padding:24px 18px}.home-journal h2{font-size:23px}.home-journal article{padding:11px}.home-journal #home-journal-list{gap:7px}.title-copy #visit-home{margin-top:8px}}#care-entry{position:absolute;left:max(26px,env(safe-area-inset-left));top:126px;width:242px;padding:11px 14px;border:1px solid #efd29b70;border-radius:17px;background:#362820df;box-shadow:0 5px 20px #160e102b}#care-start{width:100%;min-height:44px;padding:10px;background:#efd3a0;color:#493224;border-radius:24px;font-size:12px;font-weight:600}#care-start:disabled{opacity:.75;cursor:default;background:#675340;color:#f0ddbd}#care-hint{display:block;margin-top:8px;line-height:1.6;font-size:10px;color:#ead6b6}#care-panel{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(720px,94%);padding:18px 22px;display:flex;gap:22px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#493427f5,#292820f5);border:1px solid #f3d19c;border-radius:24px;box-shadow:0 12px 35px #25180d66}.care-copy{min-width:0}.care-copy>small{font-size:11px;letter-spacing:.1em;color:#e8c994}.care-copy p{font:19px/1.5 Songti TC,serif;color:#fff0cf;margin:7px 0}.care-copy>span{font-size:11px;color:#d7c8ad}.care-actions{min-width:200px;display:flex;flex-direction:column;gap:7px}#care-accept{min-width:200px;font-size:13px;padding:13px 16px;border-radius:25px;white-space:nowrap}#care-accept:disabled{opacity:.7;cursor:default}#care-rest{min-height:36px;background:transparent;font-size:11px;color:#dfd0b8;text-decoration:underline;text-underline-offset:4px}#care-panel[data-phase=ready]{box-shadow:0 0 28px #f2cb8528,0 12px 35px #25180d66}.care-journal-note{color:#d1deb8!important}#home-care-total{color:#f3cc93;font-size:12px}@media (max-height:540px) and (orientation:landscape){#care-entry{top:76px;left:max(16px,env(safe-area-inset-left));width:224px;padding:7px 11px;border-radius:12px}#care-start{min-height:38px;padding:8px;font-size:10px}#care-hint{font-size:9px;line-height:1.4;margin-top:4px}#care-panel{bottom:max(8px,env(safe-area-inset-bottom));padding:10px 17px;width:min(680px,94%);gap:14px;border-radius:18px}.care-copy p{font-size:15px;margin:4px 0}.care-copy>small,.care-copy>span{font-size:10px}.care-actions{gap:2px;min-width:180px}#care-accept{min-height:44px;min-width:180px;font-size:11px;padding:10px 12px}#care-rest{min-height:30px;font-size:10px}#home-care-total{font-size:10px;margin:5px 0}}@media (orientation:portrait){#care-entry{top:158px;left:14px;width:min(272px,calc(100% - 28px));padding:9px 12px}#care-panel{bottom:max(12px,env(safe-area-inset-bottom));width:94%;padding:16px;display:block}.care-copy p{font-size:18px;margin:7px 0}.care-actions{margin-top:12px;gap:4px}#care-accept{width:100%;min-height:48px}#care-rest{min-height:40px}#home-care-total{font-size:11px}}.home-start-actions{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;gap:12px;align-items:center;justify-content:center;width:max-content;max-width:94%}.home-start-actions #fondue-start{position:static;transform:none;min-width:230px;padding:16px 25px;font-size:14px}#hearth-start{min-height:52px;padding:15px 25px;border:1px solid #efd09a;border-radius:30px;background:linear-gradient(130deg,#64452e,#402d22);color:#ffedcc;box-shadow:0 8px 28px #29170e50;font-size:14px;white-space:nowrap}#hearth-panel{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(780px,94%);padding:18px 23px;display:grid;grid-template-columns:1fr 210px;gap:24px;background:linear-gradient(135deg,#503624f5,#29271ff5);border:1px solid #ecc690;border-radius:24px;box-shadow:0 12px 35px #25180d66}.hearth-copy{min-width:0}.hearth-copy>small{font-size:10px;color:#ecc994;letter-spacing:.13em}.hearth-copy p{font:18px/1.5 Songti TC,serif;color:#fff0d2;margin:7px 0 10px}.hearth-copy>span{font-size:11px;color:#e4d0ae}.hearth-copy em{font-style:normal;display:block;margin-top:7px;font-size:11px;color:#f2c79c;line-height:1.5}#hearth-faces{display:flex;gap:7px;margin:9px 0 10px}#hearth-faces span{--toast:0%;position:relative;isolation:isolate;overflow:hidden;width:42px;height:28px;display:grid;place-items:center;border:1px solid #d8ba8b77;border-radius:9px;color:#ffeed3;font-size:11px;background:#fff4dd13}#hearth-faces span:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--toast);background:#b77b39a0;z-index:-1;transition:width .12s linear}#hearth-faces span[aria-current=true]{border-color:#ffe5b4;box-shadow:0 0 0 2px #f2d09425}#hearth-warmth{height:6px;margin:13px 0;border-radius:8px;overflow:hidden;background:#fff5da1a}#hearth-warmth-meter{height:100%;display:block;background:linear-gradient(90deg,#b9d9ce,#f3bd78);transition:width .15s linear}.hearth-actions{display:flex;flex-direction:column;justify-content:center;gap:7px}.hearth-actions button{border-radius:24px;min-height:44px;padding:11px 15px;font-size:12px;line-height:1.4}.hearth-actions button:disabled{opacity:.55;cursor:default}#hearth-turn{background:#fff1d515;color:#ffe3b2;border:1px solid #e3c08a75}#hearth-rest{background:transparent;color:#dfd0b8;font-size:10px;text-decoration:underline;text-underline-offset:4px;min-height:36px;padding:7px}#hearth-panel[data-phase=ready]{box-shadow:0 0 28px #f2cb852d,0 12px 35px #25180d66}#home-hearth-total{color:#edc697;font-size:12px}@media (max-height:540px) and (orientation:landscape){.home-start-actions{bottom:max(16px,env(safe-area-inset-bottom));gap:9px}.home-start-actions #fondue-start,#hearth-start{min-height:44px;padding:12px 20px;font-size:12px}.home-start-actions #fondue-start{min-width:215px}#hearth-panel{bottom:max(8px,env(safe-area-inset-bottom));width:min(750px,94%);padding:10px 17px;gap:20px;grid-template-columns:1fr 190px;border-radius:18px}.hearth-copy p{font-size:14px;margin:4px 0}.hearth-copy>small,.hearth-copy>span,.hearth-copy em{font-size:10px}.hearth-copy em{margin-top:5px}#hearth-faces{margin:6px 0;gap:6px}#hearth-faces span{width:35px;height:23px;font-size:10px}.hearth-actions{gap:4px}.hearth-actions button{min-height:44px;padding:9px 12px;font-size:11px}#hearth-rest{min-height:30px;font-size:10px;padding:5px}#home-activities[data-activity=hearth] .home-top h2{font-size:16px}#home-hearth-total{font-size:10px;margin:5px 0}}@media (orientation:portrait){.home-start-actions{bottom:max(20px,env(safe-area-inset-bottom));flex-direction:column;gap:9px;width:min(310px,90%)}.home-start-actions #fondue-start,#hearth-start{width:100%;min-height:48px;padding:13px 18px;font-size:13px}#hearth-panel{bottom:max(12px,env(safe-area-inset-bottom));width:94%;padding:15px 17px;display:block}.hearth-copy p{font-size:16px;margin:6px 0}.hearth-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.hearth-actions button{min-height:48px;font-size:12px}#hearth-blow,#hearth-eat,#hearth-again,#hearth-rest{grid-column:1/-1}#hearth-rest{min-height:36px;padding:6px}.hearth-copy em{font-size:10px}#home-activities[data-activity=hearth] .home-top h2{font-size:19px;letter-spacing:.04em}#home-hearth-total{font-size:11px}}@media (prefers-reduced-motion:reduce){#hearth-faces span:before,#hearth-warmth-meter{transition:none}}#bedtime-start{min-height:52px;padding:15px 23px;border:1px solid #b6c8b7;border-radius:30px;background:linear-gradient(135deg,#455b52,#2b3b36);color:#fff0d1;box-shadow:0 8px 28px #29170e40;font-size:14px;white-space:nowrap}#bedtime-panel{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(1000px,94%);padding:17px 22px;display:grid;grid-template-columns:1fr auto;gap:12px 20px;background:linear-gradient(135deg,#34453df5,#242d28f5);border:1px solid #d9d7afa0;border-radius:24px;box-shadow:0 12px 35px #1c211b60}.bedtime-copy{min-width:0}.bedtime-copy>small{font-size:10px;letter-spacing:.12em;color:#d8d9b9}.bedtime-copy p{font:17px/1.5 Songti TC,serif;color:#fff0d1;margin:6px 0}.bedtime-copy>span{font-size:10px;color:#d4d2bb}#bedtime-friends{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;grid-column:1/-1}#bedtime-friends button{--tucked:0%;position:relative;isolation:isolate;overflow:hidden;border:1px solid #e0d6ae77;border-radius:13px;background:#fff8df09;color:#f4e8cf;min-height:54px;padding:8px 10px;text-align:left}#bedtime-friends button:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--tucked);z-index:-1;background:#7d9c7750;transition:width .1s linear}#bedtime-friends span{font-size:12px;display:block}#bedtime-friends small{font-size:9px;display:block;color:#d3dbbf;margin-top:3px}#bedtime-friends button:disabled{cursor:default}#bedtime-friends button[aria-pressed=true]{border-color:#b9cf9e;color:#e5edcf}.bedtime-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;grid-column:2;grid-row:1}.bedtime-actions button{border-radius:24px;min-height:44px;padding:11px 18px;font-size:12px}.bedtime-actions button:disabled{opacity:.6;cursor:default}#bedtime-rest{background:transparent;color:#dedbc3;font-size:10px;text-decoration:underline;text-underline-offset:4px;padding:8px 4px}#bedtime-again{background:#60775b;color:#fff0d1;border:1px solid #b9ce9e80}#bedtime-panel[data-phase=captain]{box-shadow:0 0 28px #dcd79b1e,0 12px 35px #1c211b60}#home-bedtime-total{color:#d4dfb6;font-size:12px}@media (max-height:540px) and (orientation:landscape){.home-start-actions #fondue-start{min-width:198px}.home-start-actions #fondue-start,#hearth-start,#bedtime-start{font-size:11px;padding:12px 17px;min-height:44px}#bedtime-panel{bottom:max(8px,env(safe-area-inset-bottom));padding:10px 16px;gap:7px 15px;border-radius:18px}.bedtime-copy p{font-size:13px;margin:4px 0}.bedtime-copy>small,.bedtime-copy>span{font-size:9px}#bedtime-friends{gap:6px}#bedtime-friends button{min-height:44px;padding:6px 9px}#bedtime-friends span{font-size:11px}#bedtime-friends small{font-size:9px;margin-top:2px}.bedtime-actions button{font-size:10px;padding:9px 13px;min-height:44px}#bedtime-rest{font-size:9px;padding:7px 4px}#home-activities[data-activity=bedtime] .home-top h2{font-size:16px}#home-bedtime-total{font-size:10px;margin:5px 0}}@media (orientation:portrait){#bedtime-start{width:100%;font-size:13px;min-height:48px;padding:13px 18px}#bedtime-panel{bottom:max(12px,env(safe-area-inset-bottom));width:94%;padding:14px 15px;grid-template-columns:1fr;gap:11px}.bedtime-copy p{font-size:15px;margin:5px 0}.bedtime-copy>small,.bedtime-copy>span{font-size:10px}#bedtime-friends{grid-template-columns:repeat(3,1fr);gap:7px}#bedtime-friends button{min-height:48px;padding:7px 10px}.bedtime-actions{grid-column:1;grid-row:auto;flex-wrap:wrap;justify-content:center}.bedtime-actions button{width:100%;min-height:46px}#bedtime-rest{min-height:36px;padding:6px}#home-activities[data-activity=bedtime] .home-top h2{font-size:18px;letter-spacing:.04em}#home-bedtime-total{font-size:11px}}@media (prefers-reduced-motion:reduce){#bedtime-friends button:before{transition:none}}@media (orientation:portrait) and (max-height:650px){#home-activities[data-activity=bedtime] .home-top{top:max(9px,env(safe-area-inset-top));left:12px;right:12px}#home-activities[data-activity=bedtime] .home-top>div{padding:7px 11px}#home-activities[data-activity=bedtime] .home-top small{font-size:9px}#home-activities[data-activity=bedtime] .home-top h2{font-size:15px;letter-spacing:.02em;margin-top:4px}#home-activities[data-activity=bedtime] .home-top nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:6px;max-width:none}#home-activities[data-activity=bedtime] .home-top button{font-size:10px;min-height:44px;padding:6px 2px}#bedtime-panel{padding:10px 9px;gap:6px;width:94%;bottom:max(8px,env(safe-area-inset-bottom));border-radius:18px}.bedtime-copy>small,.bedtime-copy>span{font-size:9px}.bedtime-copy p{font-size:12px;line-height:1.4;margin:4px 0}#bedtime-friends{grid-template-columns:repeat(6,minmax(44px,1fr));gap:3px;overflow-x:auto;padding-bottom:2px}#bedtime-friends button{min-height:44px;min-width:44px;padding:5px 3px;border-radius:10px}#bedtime-friends span{font-size:11px}#bedtime-friends small{display:none}.bedtime-actions{gap:5px}.bedtime-actions button,#bedtime-rest{min-height:44px;font-size:11px;padding:7px 10px}.home-journal h2{font-size:20px;letter-spacing:.03em;line-height:1.4;margin:8px 0}}#bedtime-photo{background:linear-gradient(135deg,#f5deb2,#d8c18e);color:#3d392a}.home-journal #postcard-album-open{min-height:44px;margin:14px 0 0;padding:11px 20px;border:1px solid #d3d7ad99;border-radius:24px;background:#52674a;color:#fff0d2}#postcard-screen{z-index:40;background:#101e20c9;backdrop-filter:blur(5px)}.postcard-modal{display:flex;flex-direction:column;text-align:left;width:min(1040px,96%);max-height:94svh;padding:20px 24px;background:linear-gradient(135deg,#39483e,#202e29);border:1px solid #d4d7ad9c;border-radius:26px;overflow:hidden;box-shadow:0 18px 75px #08151166}.postcard-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-shrink:0}.postcard-header small{font-size:10px;letter-spacing:.13em;color:#d9d4b3}.postcard-header h2{font:24px/1.4 Songti TC,serif;color:#fff0d2;letter-spacing:.04em;margin:5px 0 12px}.postcard-nav{display:flex;gap:7px;align-self:flex-start}.postcard-nav button{min-height:44px;padding:10px 17px;border-radius:24px;font-size:11px;background:#ffffff0d;border:1px solid #e4d4ae77;white-space:nowrap}.postcard-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#d2c29966 transparent;flex:1}#postcard-image-wrap{width:100%;max-height:60svh;overflow:auto;text-align:center;border-radius:13px;background:#18251f;scrollbar-color:#d2c29966 transparent}#postcard-image{display:block;width:auto;max-width:100%;max-height:58svh;height:auto;margin:auto;object-fit:contain;box-shadow:0 4px 18px #12191066}#postcard-image-wrap.zoomed{text-align:left}#postcard-image-wrap.zoomed #postcard-image{width:160%;max-width:none;max-height:none;margin:0}#postcard-caption{text-align:center;font-size:10px;color:#d6d1b7;margin:8px 0 4px}.postcard-footer{flex-shrink:0;padding-top:8px}.postcard-footer p{font-size:11px;line-height:1.6;margin:7px 0;color:#e4d6b6}#postcard-themes{display:flex;justify-content:center;gap:7px}#postcard-themes button{min-height:44px;padding:9px 18px;border:1px solid #d7c7a777;border-radius:22px;font-size:11px;background:#fff5df0a}#postcard-themes button[aria-pressed=true]{background:#e3d4ae;color:#344131;border-color:#f4e8c4}#postcard-themes button[data-frame=cranberry][aria-pressed=true]{background:#dcb7b5;color:#522d37}#postcard-themes button[data-frame=midnight][aria-pressed=true]{background:#b9cdd8;color:#293f51}.postcard-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.postcard-buttons button{min-height:44px;border:1px solid #ddd2ab99;border-radius:24px;padding:11px 22px;font-size:12px;background:#ffffff0b;color:#fff0d1}.postcard-buttons .primary{background:#e8d3a4;color:#384132}.postcard-buttons button:disabled,.postcard-nav button:disabled,#postcard-themes button:disabled{opacity:.55;cursor:default}#postcard-loading{display:block;text-align:center;color:#e3d7a9;font-size:10px;margin:6px 0}.postcard-album-title{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#f0ddb7;padding:8px 0 15px}.postcard-album-title small{font-size:10px;color:#cbd4bd}#postcard-empty{padding:45px 15px;line-height:1.8;text-align:center;font:18px Songti TC,serif;color:#e0d5bb}#postcard-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:2px 3px 10px}#postcard-list button{padding:8px;background:#eee0c3;border-radius:9px;box-shadow:0 4px 12px #15201966;color:#45523e;text-align:center;min-height:44px}#postcard-list img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:contain;background:#f5e6c7}#postcard-list span{display:block;font-size:11px;margin:7px 0 3px}@media (max-height:540px) and (orientation:landscape){.postcard-modal{padding:12px 17px;max-height:96svh;width:96%;border-radius:18px}.postcard-header h2{font-size:18px;margin:3px 0 6px}.postcard-header small{font-size:9px}.postcard-nav button{padding:8px 13px;font-size:10px}.postcard-footer{padding-top:4px;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:center}#postcard-themes{grid-column:1}#postcard-themes button{font-size:10px;padding:8px 12px}.postcard-footer p{font-size:10px;margin:2px 0;grid-column:2;grid-row:1}.postcard-buttons{grid-column:1/-1;gap:7px}.postcard-buttons button{padding:9px 18px;font-size:11px}#postcard-image,#postcard-image-wrap{max-height:48svh}#postcard-caption{margin:4px 0;font-size:9px}#postcard-list{grid-template-columns:repeat(4,1fr);gap:10px}#postcard-empty{padding:22px 10px;font-size:15px}#postcard-loading{grid-column:1/-1;margin:0}}@media (orientation:portrait){.postcard-modal{padding:15px 14px;width:96%;max-height:94svh;border-radius:21px}.postcard-header{align-items:flex-start;gap:9px}.postcard-header h2{font-size:18px;margin:4px 0 10px}.postcard-header small{font-size:9px;letter-spacing:.04em}.postcard-nav{gap:5px}.postcard-nav button{padding:8px 10px;font-size:10px}#postcard-image,#postcard-image-wrap{max-height:52svh}.postcard-footer p{font-size:10px;line-height:1.5}.postcard-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.postcard-buttons button{padding:10px 8px;font-size:11px}#postcard-album{grid-column:1/-1}#postcard-list{grid-template-columns:repeat(2,1fr);gap:10px}#postcard-empty{font-size:16px;padding:32px 9px}.postcard-album-title{font-size:11px}.postcard-album-title small{font-size:9px}#bedtime-panel[data-phase=complete] .bedtime-actions{display:grid;grid-template-columns:1fr 1fr}#bedtime-panel[data-phase=complete] #bedtime-rest{grid-column:1/-1}}@media (orientation:portrait) and (max-height:650px){.postcard-modal{padding:11px 10px;max-height:96svh}.postcard-header h2{font-size:15px;line-height:1.4;letter-spacing:0;margin:4px 0 8px}.postcard-header small{font-size:9px}.postcard-nav button{font-size:10px;padding:7px 8px}.postcard-footer{padding-top:5px}.postcard-footer p{margin:5px 0;font-size:10px}#postcard-themes{gap:5px}#postcard-themes button{padding:8px 12px;font-size:10px}#postcard-image,#postcard-image-wrap{max-height:45svh}#postcard-list{gap:8px}}#warm-pack-start{min-height:52px;padding:15px 22px;border:1px solid #ead4ab99;border-radius:30px;background:linear-gradient(135deg,#a06043,#704732);color:#fff0d1;font-size:14px;white-space:nowrap}.packing-underlay{visibility:hidden}#warm-pack-screen{display:block;z-index:25;background:none;pointer-events:none}.pack-top{position:absolute;top:max(20px,env(safe-area-inset-top));left:max(25px,env(safe-area-inset-left));right:max(25px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.pack-top>div{padding:12px 17px;border-radius:18px;background:#423426e8;border:1px solid #e8c79780;box-shadow:0 6px 25px #28180e33}.pack-top small{font-size:10px;letter-spacing:.1em;color:#dfcea7}.pack-top h2{font:24px/1.4 Songti TC,serif;letter-spacing:.06em;margin:5px 0 0;color:#fff1d0}.pack-top button{pointer-events:auto;min-height:44px;padding:10px 17px;border:1px solid #f0d7aa99;border-radius:25px;background:#423426ed;font-size:12px}#pack-panel{pointer-events:auto;position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(970px,94%);padding:16px 21px;display:grid;grid-template-columns:1fr auto;gap:10px 20px;background:linear-gradient(135deg,#60462bf5,#332e23f5);border:1px solid #e6cc97a0;border-radius:23px;box-shadow:0 10px 35px #2c1b0c66}.pack-copy{min-width:0}.pack-copy>small{font-size:10px;letter-spacing:.12em;color:#ead3a4}.pack-copy p{font:17px/1.5 Songti TC,serif;color:#fff0d1;margin:6px 0}.pack-copy>span{font-size:10px;color:#e0d0af}#pack-helpers{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;grid-column:1/-1}#pack-helpers button{min-height:48px;padding:8px 10px;border:1px solid #e8d1a66b;background:#fff0d50b;border-radius:13px;text-align:left;color:#f6e4c5}#pack-helpers span{display:block;font-size:12px}#pack-helpers small{display:block;font-size:10px;color:#e7cba0;margin-top:3px}#pack-helpers button[aria-pressed=true]{border-color:#bad3a0;color:#d9e8bc;background:#9ab47720}.pack-actions{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:8px}.pack-actions button{min-height:44px;padding:10px 17px;font-size:12px;border:1px solid #e5cb95a0;border-radius:23px;background:#f1d8a7;color:#4e3925}.pack-actions #pack-rest{color:#e6d4b6;background:none;font-size:10px;padding:8px;border-color:transparent;text-decoration:underline;text-underline-offset:4px}#pack-progress{height:4px;width:150px;border-radius:6px;overflow:hidden;background:#fff0d51a;margin-top:9px}#pack-meter{display:block;height:100%;background:#e7cf91;transition:width .12s linear}#home-pack-total{color:#eac493;font-size:12px}@media (max-height:540px) and (orientation:landscape){#warm-pack-start{font-size:11px;min-height:44px;padding:12px 17px}.home-start-actions{gap:8px}.pack-top{top:max(10px,env(safe-area-inset-top));left:16px;right:16px}.pack-top>div{padding:8px 12px}.pack-top small{font-size:9px}.pack-top h2{font-size:18px;margin-top:3px}.pack-top button{font-size:10px;padding:8px 13px}#pack-panel{bottom:max(8px,env(safe-area-inset-bottom));padding:10px 16px;gap:7px 15px;border-radius:18px}.pack-copy p{font-size:13px;margin:4px 0}.pack-copy>small,.pack-copy>span{font-size:9px}#pack-helpers button{min-height:44px;padding:6px 9px}#pack-helpers span{font-size:11px}#pack-helpers small{font-size:9px}.pack-actions button{font-size:10px;padding:9px 13px}.pack-actions #pack-rest{font-size:9px;padding:6px}#home-pack-total{font-size:10px}#pack-progress{margin-top:5px}}@media (orientation:portrait){#warm-pack-start{width:100%;min-height:48px;padding:13px 18px;font-size:13px}.pack-top{top:max(14px,env(safe-area-inset-top));left:14px;right:14px;gap:8px}.pack-top>div{padding:9px 12px;min-width:0}.pack-top small{font-size:9px;letter-spacing:.02em}.pack-top h2{font-size:19px;letter-spacing:.02em}.pack-top button{font-size:10px;padding:8px 10px;white-space:nowrap}#pack-panel{width:94%;padding:13px 14px;grid-template-columns:1fr;gap:9px;bottom:max(10px,env(safe-area-inset-bottom))}.pack-copy p{font-size:15px;margin:5px 0}.pack-copy>span{font-size:10px}#pack-helpers{grid-template-columns:repeat(3,1fr);gap:6px}.pack-actions{grid-column:1;grid-row:auto;flex-wrap:wrap;justify-content:center}.pack-actions button{width:100%;min-height:44px;font-size:12px}.pack-actions #pack-rest{min-height:44px;font-size:11px}#pack-progress{width:100%}#home-pack-total{font-size:11px}}@media (orientation:portrait) and (max-height:650px){.pack-top{top:9px;left:12px;right:12px}.pack-top small{font-size:8px}.pack-top h2{font-size:15px;line-height:1.4}.pack-top>div{padding:8px 10px}.pack-top button{padding:7px 9px}#pack-panel{padding:10px;gap:6px;bottom:8px}.pack-copy p{font-size:12px;line-height:1.4}.pack-copy>small,.pack-copy>span{font-size:9px}#pack-helpers{grid-template-columns:repeat(6,minmax(44px,1fr));gap:3px;overflow-x:auto}#pack-helpers button{min-width:44px;min-height:44px;padding:6px 3px}#pack-helpers span{font-size:11px}#pack-helpers small{font-size:8px}#pack-panel .pack-actions{gap:4px}.pack-actions button{font-size:11px}.home-start-actions{gap:6px}.home-start-actions #fondue-start,#hearth-start,#bedtime-start,#warm-pack-start{min-height:44px;padding:10px 15px;font-size:12px}}@media (prefers-reduced-motion:reduce){#pack-meter{transition:none}}#picnic-invitation{position:absolute;z-index:12;left:50%;bottom:205px;transform:translate(-50%)}#picnic-start{min-height:48px;border:1px solid #ecd09a;border-radius:19px;background:#5b4734ed;color:#fff0d1;padding:10px 22px;font:14px/1.4 Songti TC,serif;box-shadow:0 5px 20px #10283760;white-space:nowrap}#picnic-start small{display:block;font:10px/1.6 sans-serif;color:#e6d6b4}.at-picnic #hud,.at-picnic #quest,.at-picnic #controls,.at-picnic #weather,.at-picnic #interaction,.at-picnic #party,.at-picnic #upgrade-open,.at-picnic #gather-progress,.at-picnic #picnic-invitation,.at-picnic #toast,.at-picnic #location{visibility:hidden}#picnic-screen{z-index:24;display:block;background:none;pointer-events:none}.picnic-top{position:absolute;top:max(18px,env(safe-area-inset-top));left:22px;right:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.picnic-top>div{border:1px solid #e7d5af80;background:#324b4bea;border-radius:17px;padding:12px 18px}.picnic-top small{font-size:10px;letter-spacing:.06em;color:#e1d3b2}.picnic-top h2{font:23px/1.4 Songti TC,serif;margin:5px 0 0;color:#fff2cf}.picnic-top nav{display:flex;gap:8px}.picnic-top button{pointer-events:auto;min-height:44px;padding:10px 17px;border:1px solid #e7d5af80;border-radius:22px;background:#324b4bf2;color:#fff2cf;font-size:12px}.picnic-panel{position:absolute;pointer-events:auto;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(850px,94%);padding:17px 23px;border:1px solid #e4cda19e;background:linear-gradient(135deg,#425850f2,#2c3d39f5);border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:0 8px 30px #10282d55}.picnic-panel small{font-size:10px;letter-spacing:.08em;color:#e0d5b5}.picnic-panel p{font:17px/1.55 Songti TC,serif;color:#fff0d0;margin:7px 0}.picnic-panel span{font-size:11px;color:#e0d0ae}.picnic-actions button{min-height:46px;padding:12px 21px;border:1px solid #f4dcac;border-radius:23px;background:#ecd4a6;color:#3e4938;white-space:nowrap;font-size:13px}.picnic-track{display:block;width:180px;height:3px;margin-top:10px;background:#e7d5af30;border-radius:3px;overflow:hidden}.picnic-track b{display:block;height:100%;background:#e6d1a0}@media (orientation:portrait){#picnic-invitation{bottom:265px}.picnic-top{left:12px;right:12px;top:12px;flex-wrap:wrap}.picnic-top>div{padding:9px 12px}.picnic-top h2{font-size:18px}.picnic-top small{font-size:8px}.picnic-top nav{margin-left:auto;gap:6px}.picnic-top button{font-size:10px;padding:8px 12px}.picnic-panel{padding:13px 16px;display:block;bottom:10px}.picnic-panel p{font-size:14px}.picnic-panel span{font-size:10px}.picnic-track{width:100%;margin-top:8px}.picnic-actions button{width:100%;margin-top:10px;font-size:12px}.picnic-actions:has(button:not(.hidden)){margin-top:2px}}@media (max-height:540px) and (orientation:landscape){#picnic-invitation{bottom:180px}.picnic-top{top:10px;left:14px;right:14px}.picnic-top>div{padding:7px 13px}.picnic-top h2{font-size:17px;margin-top:2px}.picnic-top small{font-size:8px}.picnic-panel{padding:10px 17px;bottom:9px;gap:12px}.picnic-panel p{font-size:12px;margin:4px 0}.picnic-panel small,.picnic-panel span{font-size:9px}.picnic-actions button{font-size:11px;padding:10px 14px}.picnic-track{margin-top:6px}}.at-picnic #rotate-hint{display:none!important}.picnic-panel{flex-wrap:wrap;gap:10px 20px}.picnic-story{flex:1;min-width:0}#picnic-memory-note{flex-basis:100%;font:10px/1.4 sans-serif;color:#e7dfc7;letter-spacing:.01em}.picnic-panel:has(#picnic-choices:not(.hidden)){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px}.picnic-panel:has(#picnic-choices:not(.hidden)) .picnic-story{grid-column:1/-1}.picnic-panel:has(#picnic-choices:not(.hidden)) #picnic-memory-note{grid-column:1/-1}#picnic-screen[data-phase=choosing] .picnic-story p,#picnic-screen[data-phase=choosing] .picnic-track{display:none}#picnic-screen[data-phase=choosing] #picnic-count{display:block;margin-top:4px}.picnic-choice-row{display:flex;align-items:center;gap:10px;margin:5px 0}.picnic-choice-row>span{flex:0 0 64px;font-size:10px}#picnic-foods,#picnic-guests{display:flex;gap:6px;flex-wrap:wrap}#picnic-choices button{min-width:48px;min-height:44px;border:1px solid #e2c99670;border-radius:13px;background:#233e37;color:#fff1d4;padding:8px 12px;font:12px/1.4 sans-serif}#picnic-choices button[aria-pressed=true]{background:#efd7a9;color:#354a3c;border-color:#fff4d8;box-shadow:0 0 0 2px #efd7a922}#picnic-choices button:disabled{opacity:.55}#picnic-wish{font:13px/1.45 Songti TC,serif;margin:7px 0 0;color:#f1deb4;min-height:19px}.picnic-actions{display:flex;flex-direction:column;gap:7px}.picnic-panel button:focus-visible,.picnic-top button:focus-visible{outline:3px solid #fff1bf;outline-offset:3px}@media (orientation:portrait){.picnic-panel:has(#picnic-choices:not(.hidden)){display:flex;gap:5px;padding:11px 12px;width:calc(100% - 20px)}#picnic-choices,.picnic-actions{width:100%}.picnic-choice-row{gap:0;margin:5px 0}.picnic-choice-row>span{display:none}#picnic-foods,#picnic-guests{width:100%;gap:5px}#picnic-foods button{flex:1;padding:8px 5px!important;white-space:nowrap}#picnic-guests button{flex:1;min-width:calc(33.333% - 5px);padding:6px!important}#picnic-wish{font-size:12px;margin:5px 0}.picnic-actions button{margin-top:3px;padding:10px;min-height:44px}#picnic-memory-note{font-size:9px}.picnic-panel:has(#picnic-choices:not(.hidden)) .picnic-story{width:100%}}@media (max-height:540px) and (orientation:landscape){.picnic-panel:has(#picnic-choices:not(.hidden)){width:min(850px,96%);padding:8px 14px;gap:3px 12px}#picnic-choices{display:grid;grid-template-columns:auto auto;gap:3px 12px}.picnic-choice-row{display:block;margin:0}.picnic-choice-row>span{display:none}#picnic-guests{gap:4px}#picnic-guests button{min-width:44px;padding:6px;font-size:11px}#picnic-foods button{padding:6px 8px;font-size:11px}#picnic-wish{grid-column:1/-1;margin:3px 0;font-size:11px;min-height:16px}.picnic-panel:has(#picnic-choices:not(.hidden)) .picnic-story{display:flex;align-items:center;gap:12px}#picnic-screen[data-phase=choosing] #picnic-count{margin-top:0}#picnic-memory-note{font-size:9px}}#picnic-invitation{display:flex;gap:8px}#snowman-start{min-height:48px;border:1px solid #e9d6b4;border-radius:19px;background:#3f5a55f5;color:#fff2cf;padding:10px 18px;font:14px/1.4 Songti TC,serif;box-shadow:0 5px 20px #10283760;white-space:nowrap}#snowman-start small{display:block;font:10px/1.6 sans-serif;color:#e6d6b4}.at-snowman #hud,.at-snowman #quest,.at-snowman #controls,.at-snowman #weather,.at-snowman #interaction,.at-snowman #party,.at-snowman #upgrade-open,.at-snowman #gather-progress,.at-snowman #picnic-invitation,.at-snowman #toast,.at-snowman #location{visibility:hidden}.at-snowman #rotate-hint{display:none!important}#snowman-screen{z-index:24;display:block;background:none;pointer-events:none}.snowman-panel{position:absolute;pointer-events:auto;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(850px,94%);padding:17px 23px;border:1px solid #e4cda19e;background:linear-gradient(135deg,#425850f2,#2c3d39f5);border-radius:22px;display:flex;align-items:center;gap:14px;box-shadow:0 8px 30px #10282d55}.snowman-story{flex:1;min-width:0}.snowman-story small{font:11px/1.4 sans-serif;color:#e0d5b5}.snowman-story p{font:16px/1.55 Songti TC,serif;color:#fff0d0;margin:7px 0}.snowman-story span{font:11px/1.4 sans-serif;color:#e0d0ae}.snowman-panel button{min-height:44px;min-width:44px;padding:10px 16px;border:1px solid #e4cda190;border-radius:18px;background:#304a42;color:#fff0d0;font:12px/1.4 sans-serif}.snowman-options>div{display:flex;flex-direction:column;gap:6px}.snowman-options:has(>div:not(.hidden)){flex:0 0 auto}.snowman-actions button{background:#edd7ac;color:#35493e;border-color:#fff1ca}.snowman-options button[aria-pressed=true]{background:#ecd4a6;color:#35493e;border-color:#fff2ce}.snowman-panel button:focus-visible{outline:3px solid #fff2ce;outline-offset:3px}@media (orientation:portrait){#picnic-invitation{width:calc(100% - 24px);justify-content:center}#picnic-start,#snowman-start{font-size:12px;padding:8px 10px}#picnic-start small,#snowman-start small{font-size:8px}.snowman-panel{display:block;padding:12px 15px;bottom:10px}.snowman-story p{font-size:14px}.snowman-options>div{flex-direction:row;margin-top:10px}.snowman-options button{flex:1;padding:9px 8px}.snowman-actions button{width:100%;margin-top:10px}.snowman-story .picnic-track{width:100%}}@media (max-height:540px) and (orientation:landscape){.snowman-panel{padding:10px 16px;bottom:9px;gap:10px}.snowman-story p{font-size:12px;margin:4px 0}.snowman-story small,.snowman-story span{font-size:9px}.snowman-panel button{font-size:11px;padding:8px 12px}.snowman-story .picnic-track{margin-top:6px}}@media (orientation:portrait){#picnic-invitation{left:auto;right:12px;bottom:209px;transform:none;width:auto;flex-direction:column;gap:6px}#picnic-start,#snowman-start{min-height:44px}body:has(#interaction:not(.hidden)) #picnic-invitation{display:none}}#snowman-countdown{position:absolute;left:50%;top:24%;transform:translate(-50%,-50%);font:64px/1 Songti TC,serif;color:#fff2c9;text-shadow:0 3px 20px #152a32;pointer-events:none}#snowman-photo{background:#ead9aa;color:#354b43;border-color:#fff0c9}#snowman-screen[data-photo=countdown] .snowman-panel{opacity:.94}@media (orientation:portrait){#snowman-countdown{top:23%;font-size:50px}.snowman-actions:has(#snowman-photo:not(.hidden)){display:grid;grid-template-columns:1fr}.snowman-actions button{min-height:44px}}.home-party .animal-crop.cub{background-image:url(../assets/animation-cub-directions.webp);background-size:197.3px 98.7px;background-position:2px -1px}#memory-wall-start{min-height:44px;padding:12px 20px;border:1px solid #e4cd9b;border-radius:24px;background:#3d5b50ed;color:#fff0ca;font:13px/1.4 Songti TC,serif}.home-start-actions{max-width:calc(100% - 32px);flex-wrap:wrap;justify-content:center}#home-activities.wall-underlay{visibility:hidden;pointer-events:none}#memory-wall-screen{z-index:27;display:block;background:none;pointer-events:none;color:#fff1d2}#memory-wall-screen button{min-height:44px;min-width:44px;border:1px solid #e4cda190;border-radius:18px;padding:9px 16px;background:#314a42;color:#fff0cf;font:12px/1.4 sans-serif;pointer-events:auto}#memory-wall-screen button.primary{background:#edd7ad;color:#35493e;border-color:#fff1cc}#memory-wall-screen button:disabled{opacity:.52}#memory-wall-screen button:focus-visible{outline:3px solid #fff0b5;outline-offset:3px}.wall-top{position:absolute;top:max(16px,env(safe-area-inset-top));left:22px;right:22px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.wall-top>div{padding:10px 16px;background:#31463be8;border:1px solid #ddc99a70;border-radius:16px}.wall-top small{font:10px/1.5 sans-serif;color:#e3d3b4}.wall-top h2{font:23px/1.5 Songti TC,serif;margin:3px 0 0}.wall-top nav{display:flex;gap:8px}#wall-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(1000px,calc(100% - 36px));box-sizing:border-box;padding:14px 20px;background:linear-gradient(135deg,#40544bee,#293b35f5);border:1px solid #ddc99a80;border-radius:20px;display:grid;grid-template-columns:1fr auto;gap:10px 18px;pointer-events:auto;max-height:42vh;overflow:auto}.wall-copy{grid-column:1/-1;min-width:0}.wall-copy small,.wall-copy span{font:11px/1.5 sans-serif;color:#dfd2b5}.wall-copy p{font:17px/1.5 Songti TC,serif;margin:5px 0;color:#fff0d0}#wall-slots,.wall-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}#wall-slots button[aria-pressed=true]{background:#e7d1a5;color:#384d40}.wall-actions{justify-content:flex-end}#wall-retry{font-size:11px!important;background:transparent!important}#wall-progress{width:100%;height:3px;background:#ead3a530;margin-top:8px;overflow:hidden}#wall-meter{display:block;height:100%;background:#f1d9a6;width:0}#wall-picker{position:absolute;inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));margin:auto;width:min(920px,calc(100% - 32px));height:min(610px,calc(100% - 32px));box-sizing:border-box;padding:22px;background:#314238fa;border:1px solid #e3cfa580;border-radius:22px;display:flex;flex-direction:column;gap:16px;pointer-events:auto;box-shadow:0 15px 50px #0d171a80}#wall-picker header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}#wall-picker small,#wall-picker p{font:12px/1.5 sans-serif;color:#dfd2b5;margin:5px 0}#wall-picker h3{font:24px/1.5 Songti TC,serif;margin:3px 0}#wall-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;overflow:auto;min-height:0;padding:4px}#wall-photos button{padding:8px;background:#eee1c1;color:#405044;border-radius:12px;display:flex;flex-direction:column;gap:8px;align-items:center}#wall-photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:4px}#wall-photos span{font:12px/1.5 sans-serif}#wall-photos button:disabled{opacity:.55}@media (orientation:portrait){#memory-wall-start{width:100%;min-height:44px}.home-start-actions{max-width:calc(100% - 28px)}.wall-top{left:12px;right:12px;top:max(10px,env(safe-area-inset-top));gap:8px;flex-wrap:wrap}.wall-top>div{padding:8px 12px}.wall-top h2{font-size:18px}.wall-top nav{margin-left:auto;gap:6px}.wall-top small{font-size:9px}#memory-wall-screen button{font-size:11px;padding:8px 10px}#wall-controls{bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 20px);padding:11px 12px;grid-template-columns:1fr;gap:8px;max-height:44vh}.wall-copy{grid-column:auto}.wall-copy p{font-size:14px;margin:4px 0}.wall-copy small,.wall-copy span{font-size:10px}#wall-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}#wall-slots button{font-size:10px;padding:8px 4px}.wall-actions{justify-content:stretch}.wall-actions button{flex:1}#wall-retry{flex:0 0 auto}#wall-picker{padding:14px;width:calc(100% - 24px);height:calc(100% - 28px);inset:14px 12px}#wall-picker h3{font-size:19px}#wall-picker header{gap:8px}#wall-picker header button{flex:0 0 74px}#wall-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#wall-photos button{padding:6px}#wall-photos span{font-size:11px}}@media (max-height:540px) and (orientation:landscape){.wall-top{top:8px;left:14px;right:14px}.wall-top>div{padding:6px 12px}.wall-top h2{font-size:16px;margin:0}.wall-top small{font-size:8px}#wall-controls{bottom:8px;padding:8px 14px;gap:5px 12px;max-height:43vh;width:calc(100% - 28px)}.wall-copy p{font-size:12px;margin:2px 0}.wall-copy small,.wall-copy span{font-size:9px}#wall-slots button{font-size:10px;padding:6px 8px}.wall-actions{gap:4px}#wall-controls button{padding:6px 10px;font-size:10px}#wall-picker{padding:12px 18px;gap:8px}#wall-picker h3{font-size:19px}#wall-picker p{display:none}.home-start-actions{gap:6px}#memory-wall-start{padding:9px 12px;font-size:11px}}@media (prefers-reduced-motion:reduce){#wall-meter{transition:none}}@media (orientation:portrait){.home-top nav{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:4px;max-width:none}.home-top button{min-height:44px;min-width:44px;padding:6px 2px;font-size:10px}.home-start-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(340px,calc(100% - 28px))}.home-start-actions #fondue-start{grid-column:1/-1}.home-start-actions #fondue-start,.home-start-actions #hearth-start,.home-start-actions #bedtime-start,.home-start-actions #warm-pack-start,.home-start-actions #memory-wall-start{width:100%;min-width:0;min-height:48px;padding:9px 7px;font-size:11px}}@media (orientation: landscape) and (max-height: 440px){#title-screen .title-copy{top:max(10px,env(safe-area-inset-top));left:max(8%,calc(env(safe-area-inset-left) + 12px));right:max(14px,env(safe-area-inset-right));max-height:calc(100% - 26px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto}#title-screen h1{font-size:clamp(34px,10vh,44px);line-height:1.03;margin:7px 0 5px}#title-screen .title-copy p{line-height:1.5;margin:8px 0}#title-screen .title-copy button{min-height:44px}#title-screen .title-copy .secondary{margin-top:5px}#title-screen .title-footer{bottom:max(6px,env(safe-area-inset-bottom))}}@media (orientation: landscape) and (max-height: 360px){#title-screen h1 br{display:none}}
