@import url('./holiday-gear.css?v=holiday-print-1');
:root{color-scheme:light;--ink:#173e48;--cream:#fff5dc;--gold:#edbc70;--red:#b34543;--mint:#aed5cb;--vh:100dvh;--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#173c51;color:var(--ink);font-family:'DM Sans',sans-serif}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation;border:0;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f3b964;outline-offset:4px}button:disabled{cursor:default;opacity:.55}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}#winter,.vignette{position:fixed;inset:0;width:100%;height:var(--vh)}#winter{touch-action:none}.vignette{pointer-events:none;background:linear-gradient(90deg,#102c4b66,transparent 60%),linear-gradient(0deg,#132f4d33,transparent 25%)}header{position:fixed;z-index:5;top:max(18px,env(safe-area-inset-top));left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.studio{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--cream);pointer-events:auto}.studio>span{font-size:38px;line-height:1}.studio small{font-size:8px;letter-spacing:1.8px;line-height:1.6}.top-actions{display:flex;gap:8px;pointer-events:auto}.top-actions button{display:flex;gap:7px;align-items:center;background:#163d4ed9;color:#fff3d5;border:1px solid #d0dfd54d;border-radius:50px;min-height:44px;padding:9px 15px;font-size:19px;}.top-actions span{font-size:11px}.welcome{position:fixed;inset:0;z-index:3;pointer-events:none;display:flex;align-items:center}.welcome-copy{pointer-events:auto;margin:70px 0 10px clamp(28px,6vw,100px);width:390px;padding:22px 26px 18px;background:linear-gradient(130deg,#fff8e8f5,#f6edd7ed);border-radius:14% 6% 10% 4%/4% 5% 6% 3%;box-shadow:0 20px 70px #0a23374d;transform:rotate(-1deg)}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.2px;margin:0 0 13px;color:#6e7f75}h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;letter-spacing:-2px}h1{position:relative;font-size:clamp(64px,6vw,91px);line-height:.81;margin:0 0 20px}h1 em,h2 em{font-style:italic;color:#ae4645}h1 svg{position:absolute;width:76px;height:89px;right:-2px;bottom:0;fill:none;stroke:#b78a52;stroke-width:2.8;stroke-linejoin:round}.invitation{font-family:Georgia,serif;font-size:19px;line-height:1.3;margin:12px 0 18px}.mode-cards{display:grid;gap:9px}.mode-cards button{display:flex;gap:13px;align-items:center;text-align:left;padding:13px 12px;background:#e1ead7;border:1px solid #93a99078;border-radius:5px 18px 6px 14px;min-height:74px}.mode-cards button:nth-child(2){background:#e6dedb;border-color:#af878577}.mode-icon{font-size:29px;flex:0 0 38px;text-align:center}.mode-cards strong{display:block;font:24px/1 Georgia,serif;letter-spacing:-.6px}.mode-cards small{display:block;font-size:10px;margin-top:6px;color:#64786f}.mode-cards b{margin-left:auto;font:27px Georgia}.difficulty{display:flex;justify-content:center;gap:6px;margin:11px 0 9px}.difficulty button{background:transparent;font-size:11px;padding:7px 13px;border:1px solid transparent;border-radius:30px}.difficulty button[aria-pressed=true]{background:#dfd9be;border-color:#aaa174}.together{background:transparent;border:1px solid #9d9e7d;border-radius:4px 12px 5px 11px;width:100%;min-height:46px;font-size:12px;padding:9px}.together span{display:block;font-size:9px;margin-top:3px;color:#667c70}.free-note{text-align:center;letter-spacing:1px;font-size:8px;color:#6f8278;margin:12px 0 0}.village-note{position:absolute;right:5vw;bottom:7vh;color:#fff4d4;text-align:right;font-size:9px;letter-spacing:2px;text-shadow:0 1px 5px #143d52}.village-note strong{display:block;font:28px Georgia,serif;letter-spacing:-1px;margin:5px 0}.village-note i{font:14px Georgia}.hud-top{position:fixed;z-index:4;top:max(76px,calc(env(safe-area-inset-top) + 61px));left:22px;right:22px;display:flex;align-items:start;justify-content:space-between;pointer-events:none;color:var(--cream)}.clock,.mission,.score{padding:9px 16px;background:#183f50e8;border:1px solid #a4c8c455;box-shadow:0 4px 20px #102b3833;border-radius:4px 20px 6px 14px}.hud-top small{font-size:8px;letter-spacing:1.4px;display:block;color:#ccded6}.clock strong{font:36px/1.1 Georgia}.clock.is-urgent{background:#963f45}.mission{text-align:center}.mission strong{font:19px Georgia;display:block;margin-top:3px}.mission>span{font-size:11px;display:block;margin-top:4px}.score{text-align:right}.score strong{font:27px Georgia}.cargo{position:fixed;z-index:4;left:24px;top:164px;color:var(--cream);width:206px;padding:12px;background:#143e4edd;border:1px solid #bad4c14d;border-radius:6px 16px 8px 18px;pointer-events:none}.mug-meter{display:flex;align-items:center;gap:9px}.mug-meter>div:nth-child(2){flex:1}.mug-meter span{font-size:10px}meter{width:100%;height:12px;display:block;accent-color:#cdb17b}meter::-webkit-meter-bar{background:#335769;border:0;border-radius:20px}meter::-webkit-meter-optimum-value{background:#edc384;border-radius:20px}.balance{width:41px;height:39px;position:relative;border:1px solid #aaceb4;border-radius:22px 22px 2px 2px}.balance>b{position:absolute;left:19px;bottom:10px;width:2px;height:24px;background:#e7d49e;transform-origin:bottom center}.balance>span{position:absolute;bottom:1px;left:0;right:0;font-size:6px;text-align:center}.melt-meter{display:flex;gap:6px;align-items:center;margin-top:5px}.melt-meter>span{font-size:19px}.melt-meter meter{width:60px;height:7px}.melt-meter small{font-size:8px}.target{position:fixed;z-index:4;left:50%;top:171px;transform:translateX(-50%);display:grid;grid-template-columns:24px auto;gap:2px 8px;background:#fff2dbe8;border:1px solid #ebce9f;color:#284a50;max-width:340px;padding:10px 18px;margin:0;border-radius:4px 24px 8px 20px;pointer-events:none}.target>span{grid-row:span 2;font-size:24px;align-self:center}.target strong{font:16px Georgia}.target small{font-size:10px}.standings{position:fixed;z-index:4;left:24px;top:166px;list-style:none;margin:0;padding:10px 16px;background:#173f50e8;border-radius:8px 18px;color:#ffefd3;min-width:160px}.standings li{font-size:11px;display:flex;gap:13px;padding:5px 0}.standings li.is-you{color:#f9ce7f;font-weight:bold}.controls{position:fixed;z-index:5;inset:auto 20px calc(20px + var(--safe-bottom));display:flex;align-items:end;justify-content:space-between;gap:15px;pointer-events:none}.controls button{pointer-events:auto;user-select:none;-webkit-user-select:none;touch-action:none;color:#fff5da;background:#193f53db;border:1px solid #c1d6c07d;box-shadow:0 5px 12px #122f4140}.steering{position:relative;display:flex;gap:8px;padding-bottom:16px;pointer-events:auto}.steering>button{width:76px;height:79px;border-radius:16px 30px 10px 24px;font:64px/1 Georgia}.steering>button:last-child{border-radius:30px 16px 24px 10px}.steer-mark{position:absolute;bottom:0;left:0;right:0;text-align:center;color:#e8e7cd;font-size:8px;letter-spacing:3px}.sled-actions{display:flex;flex-direction:column;gap:8px}.quick-actions{display:flex;gap:8px}.quick-actions button{width:79px;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:26px;border-radius:24px 9px 14px 9px}.quick-actions button span{font-size:9px}.steady{border-radius:9px 25px 9px 19px;min-width:166px;padding:12px;min-height:80px;position:relative}.steady>span{position:absolute;left:12px;top:15px;font-size:25px}.steady strong{font:19px Georgia;display:block;padding-left:25px}.steady small{display:block;font-size:8px;margin-top:4px}.controls button.is-held{background:#d4d5ab;color:#173e48;border-color:#f7d18e}.controls kbd{display:none;font:7px monospace;opacity:.7;margin-top:3px}.serve{min-height:64px;min-width:160px;align-self:end;padding:12px 20px;border-radius:24px 5px 22px 7px;font:23px Georgia}.serve:disabled{pointer-events:none}.serve kbd{display:inline-block;font-size:9px}.keyboard-note{position:fixed;z-index:4;bottom:11px;left:50%;transform:translateX(-50%);color:#f1e8ce;font-size:9px;pointer-events:none;white-space:nowrap}.countdown{position:fixed;z-index:8;inset:36% 0 auto;text-align:center;color:#fff4d3;font:110px Georgia;text-shadow:0 5px 25px #15364e;pointer-events:none}.moment{position:fixed;z-index:8;left:50%;top:34%;transform:translate(-50%,-50%);padding:12px 26px;border-radius:50%;background:#ffedbddd;color:#174348;text-align:center;pointer-events:none;font:22px Georgia;max-width:90vw}.threat{position:fixed;z-index:6;left:50%;bottom:190px;transform:translateX(-50%);background:#a33e4c;color:#fff7df;border:2px solid #f2cc91;border-radius:30px;padding:9px 18px;font-size:12px;white-space:nowrap;pointer-events:none}.snow-dialog{width:min(430px,calc(100vw - 30px));max-height:calc(var(--vh) - 32px);overflow:auto;border:1px solid #e5d1a6;border-radius:14% 5% 13% 5%/5% 7% 6% 5%;padding:35px 32px 27px;background:#fff4dd;color:#23434a;box-shadow:0 20px 100px #0d253988;text-align:center}.snow-dialog::backdrop{background:#102939a8;backdrop-filter:blur(5px)}h2{font-size:49px;line-height:.93;margin:8px 0 18px}.snow-dialog>p:not(.eyebrow){font-size:13px;line-height:1.6}.primary{display:block;width:100%;min-height:51px;background:#295653;color:#fff1d5;padding:12px 17px;border-radius:18px 4px 17px 5px;font:18px Georgia;margin-top:15px}.quiet{background:transparent;min-height:44px;font-size:11px;margin-top:7px;text-decoration:underline;text-underline-offset:4px}.close{position:absolute;right:16px;top:12px;width:40px;height:40px;background:transparent;font:30px Georgia}.dialog-icon{display:block;font-size:47px;line-height:1.1}.tiny{font-size:10px!important;color:#62776c;margin-bottom:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;padding:16px 0;border-bottom:1px solid #c7c5a6;font-size:14px}.setting-row input{width:23px;height:23px;accent-color:#32685c}.setting-row select{max-width:135px;background:#e2e7d2;border:1px solid #a6ae89;padding:8px;border-radius:9px;color:#294a4b}.room-modes{display:flex;gap:7px}.room-modes button{flex:1;background:#e5e6d1;border:1px solid #abb18f;min-height:44px;font-size:11px;border-radius:14px 4px}.room-modes button[aria-pressed=true]{background:#bbd6ba}.players{margin:15px 0;display:grid;gap:6px}.players>div{display:flex;gap:8px;align-items:center;justify-content:space-between;background:#e7ead5;padding:10px;border-radius:15px 4px;font-size:12px}.players .is-ready{background:#cde2c8}.players b{font-size:18px}#room-status{font-size:11px!important}#invite{width:100%;padding:10px;margin-top:10px;background:#fff8e9;border:1px solid #a2b995;border-radius:7px;font-size:11px}#start-room{background:#a04847}.results-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:20px 0}.results-stats strong{font:28px Georgia;display:block}.results-stats small{font-size:9px;color:#687e70}.loading{position:fixed;inset:0;z-index:50;background:#173f50;display:grid;place-content:center;text-align:center;color:#ffe7ba}.loading>span{font-size:45px}.loading p{font:20px Georgia}.is-playing .welcome{display:none}.is-touch kbd,.is-touch #keyboard-note{display:none!important}.is-keyboard .controls kbd{display:block}.reduced-motion *{scroll-behavior:auto}
@media(max-width:700px){header{top:max(12px,env(safe-area-inset-top));left:14px;right:14px}.studio small{font-size:7px;letter-spacing:1.2px}.studio>span{font-size:30px}.top-actions button{padding:9px 12px}.top-actions span{display:none}.welcome{align-items:end;justify-content:center;padding-bottom:calc(14px + var(--safe-bottom))}.welcome-copy{width:min(410px,calc(100vw - 28px));margin:0;padding:20px 22px 14px;transform:rotate(-.7deg)}h1{font-size:65px;line-height:.8;margin-bottom:8px}h1 svg{width:65px;height:75px;right:9px;bottom:0}.eyebrow{font-size:7px;letter-spacing:1.6px;margin-bottom:10px}.invitation{font-size:16px;line-height:1.1;margin:8px 0 13px}.mode-cards{gap:7px}.mode-cards button{min-height:65px;padding:10px}.mode-cards strong{font-size:21px}.mode-cards small{font-size:9px}.mode-icon{font-size:25px}.difficulty{margin:8px 0 6px}.together{font-size:11px;min-height:44px}.free-note{margin-top:9px;font-size:7px}.village-note{display:none}.hud-top{top:max(67px,calc(env(safe-area-inset-top) + 56px));left:12px;right:12px;gap:6px}.clock,.mission,.score{padding:7px 10px}.clock strong{font-size:28px}.hud-top small{font-size:6px;letter-spacing:1px}.mission{flex:1}.mission strong{font-size:15px}.mission>span{font-size:9px}.score strong{font-size:22px}.cargo{left:12px;top:139px;width:167px;padding:7px 10px}.mug-meter span{font-size:9px}.balance{width:34px;flex:0 0 34px}.balance>b{left:16px}.melt-meter small{font-size:7px}.target{top:139px;left:auto;right:12px;transform:none;max-width:calc(100vw - 200px);padding:9px 10px;grid-template-columns:15px auto;gap:3px 5px}.target>span{font-size:20px}.target strong{font-size:13px}.target small{font-size:9px}.controls{left:12px;right:12px;bottom:calc(13px + var(--safe-bottom));gap:8px}.steering{gap:6px}.steering>button{width:57px;height:72px;font-size:51px}.quick-actions{gap:6px}.quick-actions button{width:64px;height:57px}.steady{min-width:134px;min-height:72px;padding:10px}.steady strong{font-size:17px;padding-left:20px}.steady>span{font-size:22px;left:8px}.steady small{font-size:7px}.serve{position:absolute;left:50%;bottom:173px;transform:translateX(-50%);min-width:170px;min-height:48px;font-size:20px!important;padding:9px 14px}.serve:active:not(:disabled){transform:translate(-50%,2px)}.threat{bottom:244px;padding:7px 12px;font-size:10px}.standings{top:139px;left:12px;padding:6px 10px;min-width:140px}.target.race-target{max-width:calc(100vw - 180px)}.snow-dialog{padding:28px 24px 20px}h2{font-size:43px}.snow-dialog .eyebrow{font-size:8px}.moment{top:40%;font-size:19px;padding:11px 19px}}
@media(max-height:520px) and (orientation:landscape){header{top:8px;left:14px;right:14px}.studio>span{font-size:25px}.studio small{display:none}.top-actions button{min-height:37px;padding:6px 12px;font-size:16px}.welcome-copy{margin:40px 0 7px 5vw;width:350px;padding:14px 20px 12px}.welcome h1{font-size:56px;margin-bottom:5px}.welcome .eyebrow{font-size:6px;margin-bottom:6px}.welcome .invitation{font-size:13px;line-height:1.1;margin:8px 0}.welcome .mode-cards{grid-template-columns:1fr 1fr;gap:7px}.welcome .mode-cards button{min-height:65px;display:block;position:relative;padding:10px}.welcome .mode-cards strong{font-size:17px}.welcome .mode-cards small{font-size:8px;line-height:1.3;max-width:120px}.welcome .mode-cards .mode-icon,.welcome .mode-cards b{display:none}.welcome .difficulty{margin:6px 0}.welcome .difficulty button{font-size:10px;padding:5px 12px}.welcome .together{min-height:39px;font-size:10px}.welcome .together span{display:inline;font-size:8px;margin-left:6px}.welcome .free-note{font-size:6px;margin-top:7px}.village-note{display:block;font-size:7px;bottom:7vh}.village-note strong{font-size:21px}.hud-top{top:9px;left:64px;right:190px;gap:6px}.hud-top .clock,.hud-top .mission,.hud-top .score{padding:5px 10px}.hud-top .clock strong{font-size:23px}.hud-top .mission strong{font-size:14px}.hud-top small{font-size:6px}.hud-top .mission>span{font-size:8px}.hud-top .score strong{font-size:21px}.cargo{top:73px;left:14px;width:166px;padding:6px 9px}.target{top:75px;left:50%;right:auto;transform:translateX(-50%);max-width:280px;padding:7px 12px}.target strong{font-size:14px}.target small{font-size:9px}.controls{bottom:calc(10px + var(--safe-bottom));left:15px;right:15px}.steering>button{width:58px;height:59px;font-size:45px}.sled-actions{flex-direction:row;align-items:end;gap:7px}.quick-actions button{width:55px;height:55px}.steady{min-width:125px;min-height:66px;padding:8px}.steady strong{font-size:15px}.steady small{font-size:7px}.serve{position:static;transform:none;min-width:143px;min-height:47px;font-size:19px!important;margin-bottom:10px}.serve:active:not(:disabled){transform:translateY(2px)}.threat{bottom:94px}.standings{top:75px;left:14px;min-width:140px;padding:5px 10px}.standings li{padding:3px 0;font-size:9px}.countdown{inset:29% 0 auto;font-size:82px}.snow-dialog{max-height:calc(var(--vh) - 16px);padding:20px 28px}.snow-dialog h2{font-size:37px}.snow-dialog .dialog-icon{display:none}.snow-dialog .eyebrow{font-size:7px}.snow-dialog .setting-row{padding:10px 0}.snow-dialog .primary{min-height:44px;margin-top:10px}.keyboard-note{display:none!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Little, local reactions leave the road and every touch target clear. */
.spill-stamp{position:absolute;right:5px;bottom:-22px;min-width:75px;padding:5px 9px;background:#f7ddac;color:#75422f;border:1px solid #ae7856;border-radius:60% 32% 53% 30%;font:14px Georgia;text-align:center;box-shadow:0 3px 9px #3a282c22;transform:rotate(-5deg)}
.cargo.is-splashed{animation:cocoa-slosh .42s ease-out;background:#654636ed;border-color:#f5cb9e}.cargo.is-splashed .mug-meter>#cocoa-glass{animation:mug-bounce .5s ease-out}.cargo.is-splashed .spill-stamp{animation:splosh-stamp .55s ease-out}
.target[data-cue=jump],.target[data-cue=ramp-ahead]{border-color:#dfad53;background:#fff0cceF}.target[data-cue=shortcut],.target[data-cue=shortcut-ahead]{border-color:#6c9c89;background:#e8f2dcef}.target[data-cue=wipeout]{border-color:#be756a;background:#fbe0cdef}
.moment[data-kind=jump],.moment[data-kind=land],.moment[data-kind=shortcut]{font-size:18px;max-width:min(300px,80vw);padding:10px 18px;border-radius:7px 24px 8px 22px;background:#fff0cde8}.moment[data-kind=wipeout]{background:#ffdfb9ed;max-width:min(340px,85vw);font-size:20px}
@keyframes cocoa-slosh{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}65%{transform:rotate(2deg)}}
@keyframes mug-bounce{25%{transform:translateY(-5px) rotate(-15deg)}65%{transform:translateY(1px) rotate(8deg)}}
@keyframes splosh-stamp{0%{transform:translateY(-8px) scale(.7) rotate(-12deg);opacity:0}50%{transform:translateY(1px) scale(1.12) rotate(-3deg)}100%{transform:translateY(0) scale(1) rotate(-5deg);opacity:1}}
.reduced-motion .cargo,.reduced-motion .cargo *{animation:none!important}
/* The live target already shows each stunt. Keep duplicate cheers off small screens. */
@media(max-width:700px){.moment[data-kind=jump],.moment[data-kind=land],.moment[data-kind=shortcut]{display:none!important}}
.top-actions button{min-width:44px}
.controls{left:max(20px,calc(env(safe-area-inset-left,0px) + 8px));right:max(20px,calc(env(safe-area-inset-right,0px) + 8px))}
@media(max-width:700px){.controls{left:max(12px,calc(env(safe-area-inset-left,0px) + 8px));right:max(12px,calc(env(safe-area-inset-right,0px) + 8px))}}
@media(max-height:520px) and (orientation:landscape){.top-actions span{display:none}.top-actions button{min-width:44px;min-height:44px;justify-content:center}.studio{min-width:44px;min-height:44px}.controls{left:max(15px,calc(env(safe-area-inset-left,0px) + 8px));right:max(15px,calc(env(safe-area-inset-right,0px) + 8px))}}
@media(max-width:700px){.spill-stamp{font-size:12px;bottom:-20px;padding:4px 8px}.moment[data-kind=jump],.moment[data-kind=land],.moment[data-kind=shortcut]{font-size:16px;top:34%;padding:8px 15px}}
@media(max-height:520px) and (orientation:landscape){.spill-stamp{font-size:11px;bottom:-19px}.moment[data-kind=jump],.moment[data-kind=land],.moment[data-kind=shortcut]{top:43%;font-size:16px;padding:8px 15px}.moment[data-kind=wipeout]{top:43%;font-size:17px}}

#greetings{position:fixed;z-index:5;right:24px;top:172px;display:flex;gap:6px}#greetings button{background:#173e50df;color:#fff1d5;border:1px solid #d6dbb666;border-radius:50%;height:44px;width:44px;font-size:22px}@media(max-width:700px){#greetings{top:231px;right:12px}}@media(max-height:520px) and (orientation:landscape){#greetings{top:65px;right:14px;gap:4px}#greetings button{width:38px;height:38px;font-size:19px}}

/* A passport grows between rides; one visual route plan lives inside each run. */
.welcome .together{min-height:44px}
.route-ticket{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:8px 12px;margin:0 0 12px;background:#eee5ca;border:1px solid #b4b18d;border-radius:19px 5px 17px 5px;text-align:left}.route-ticket>span{font-size:23px}.route-ticket strong{font:15px Georgia;flex:1}.route-ticket small{font-size:12px;color:#956629;white-space:nowrap}.route-ticket>b{font:20px Georgia}#lobby-route{margin:12px 0 8px}.passport{width:min(660px,calc(100vw - 28px));padding:28px 30px 23px}.passport h2{font-size:49px;margin-bottom:13px}.passport .close,.route-plan .close{width:44px;height:44px}.wishlight-pocket{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:19px;color:#95692d}.wishlight-pocket>span{font-size:28px}.wishlight-pocket strong{font:32px Georgia}.wishlight-pocket small{font-size:11px}.region-map{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.region-map:before{content:'';position:absolute;inset:40% -5px auto;height:2px;border-top:2px dashed #bbb290;pointer-events:none}.region-stop{position:relative;min-width:0;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #b8b596;border-radius:42% 33% 37% 29%/24% 26% 32% 27%;padding:14px 7px;background:#e7ead6;box-shadow:0 5px 9px #60482d0c}.region-stop.woods{background:#dce5ce}.region-stop.summit{background:#dce7ea}.region-stop.starlight{background:#e9deec}.region-art{font:37px Georgia;color:#577b6b;line-height:1}.region-stop strong{font:15px/1.08 Georgia}.region-stop small{font-size:9px;line-height:1.4;max-width:100%}.region-stop:disabled{opacity:.63}.region-stop[aria-pressed=true]{border:2px solid #b58343;box-shadow:0 0 0 4px #e0c78f55}.region-stop[aria-pressed=true] .region-art{color:#9e702c}.passport .next-unlock{font-size:11px!important;color:#896239;margin:16px 0}.winter-gear{margin-top:19px;border-top:1px solid #cec5a0;padding-top:15px}.winter-gear h3{font:23px Georgia;margin:0 0 12px}.upgrade-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.upgrade-list button{min-width:0;display:flex;flex-direction:column;gap:6px;align-items:center;min-height:145px;padding:12px 6px;background:#e6e6cf;border:1px solid #b4b38f;border-radius:17px 5px 20px 7px}.upgrade-list button>span{font-size:25px}.upgrade-list strong{font:15px Georgia}.upgrade-list small{font-size:9px;line-height:1.35;max-width:120px}.upgrade-list em{font-style:normal;font-size:11px;padding:4px 11px;border-radius:20px;background:#d8cba1;color:#6e522c}.gear-rank{letter-spacing:3px;color:#9a742f;font-size:12px}.earned-lights{font:18px Georgia;color:#95652a;margin:16px 0}#result-passport{color:#805f2d}.route-plan{width:min(540px,calc(100vw - 28px))}.route-plan h2{font-size:43px;margin-bottom:13px}.plan-cargo{display:flex;justify-content:center;gap:20px;color:#81623f;font-size:13px;margin:12px 0 17px}.orders-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.order-card{position:relative;display:grid;grid-template-columns:30px 1fr;text-align:left;gap:4px 8px;padding:11px 10px;min-height:82px;border:1px solid #b6bd9d;border-radius:15px 5px 19px 6px;background:#e4ead6}.order-card>span{font-size:26px;grid-row:span 3;align-self:center}.order-card strong{font:17px Georgia}.order-card small{font-size:9px;color:#5f796a}.order-card>b{font-size:10px;font-weight:400;color:#94753e}.order-card.hearth{background:#eee0c5;border-color:#c5ab85}.order-card[aria-pressed=true]{border:2px solid #a47d3c;background:#e6ddb5}.order-card.is-rush>b{color:#a1463e;font-weight:700}.order-card:disabled{opacity:.6}.target{padding-right:33px;text-align:left;font-family:inherit;pointer-events:auto;min-height:44px}.target.race-target{pointer-events:none;padding-right:18px}.target #plan-mark{position:absolute;right:10px;top:9px;font:18px Georgia;color:#8d6a3a}.race-target #plan-mark{display:none}.melt-meter meter{flex:1;width:auto;accent-color:#e9b766}#warmth.is-cold::-webkit-meter-optimum-value{background:#9bceda}.snowman-health{display:block;color:#f8c99f;font-size:9px;margin-top:5px}.cargo.is-brewing{border-color:#f0d78d}.cargo.is-brewing .mug-meter>#cocoa-glass{animation:gentle-stir 1s ease-in-out infinite}.is-playing .studio small{display:none}#passport-open{position:relative}#passport-open[data-count]:after{content:attr(data-count);font:8px sans-serif;position:absolute;right:4px;bottom:4px;color:#f5d190}.passport .tiny{max-width:100%;margin-top:12px}.region-stop,.order-card,.upgrade-list button{-webkit-user-select:none;user-select:none;touch-action:manipulation}@keyframes gentle-stir{50%{transform:rotate(-10deg)}}
@media(max-width:700px){.route-ticket{margin-bottom:10px;min-height:44px}.route-ticket strong{font-size:13px}.passport{padding:25px 20px 19px}.passport h2{font-size:43px}.region-map{grid-template-columns:repeat(2,1fr);gap:9px}.region-map:before{inset:10px 50% 10px auto;width:0;height:auto;border-top:0;border-left:2px dashed #bbb290}.region-stop{min-height:111px;padding:11px 7px}.region-art{font-size:31px}.region-stop strong{font-size:15px}.region-stop small{font-size:8px}.wishlight-pocket{margin-bottom:13px}.winter-gear{margin-top:13px;padding-top:12px}.upgrade-list{gap:6px}.upgrade-list button{min-height:135px;padding:10px 4px}.upgrade-list strong{font-size:13px}.upgrade-list small{font-size:8px}.upgrade-list em{font-size:10px;padding:4px 8px}.target{padding-right:23px}.target #plan-mark{right:5px;top:6px;font-size:14px}.target.race-target{padding-right:10px}.route-plan{padding:25px 19px 17px}.order-card{padding:10px 7px;grid-template-columns:23px 1fr;gap:4px 5px;min-height:83px}.order-card>span{font-size:22px}.order-card strong{font-size:15px}.order-card small{font-size:8px}.order-card>b{font-size:9px}.plan-cargo{margin:10px 0 14px}#greetings button{min-width:44px;min-height:44px}}
@media(max-width:700px) and (max-height:680px) and (orientation:portrait){.welcome-copy{padding:14px 18px 10px}.welcome h1{font-size:54px;margin-bottom:6px}.welcome .invitation{font-size:14px;margin:7px 0 9px}.welcome .eyebrow{margin-bottom:8px}.welcome .mode-cards button{min-height:58px;padding:9px}.welcome .mode-cards strong{font-size:19px}.welcome .mode-cards small{font-size:8px}.welcome .route-ticket{margin-bottom:8px}.welcome .difficulty{margin:5px 0}.welcome .free-note{margin-top:6px}}
@media(max-height:520px) and (orientation:landscape){.hud-top{right:238px}.welcome-copy{width:370px;padding:12px 18px 10px}.welcome h1{font-size:49px}.welcome .invitation{font-size:12px;margin:6px 0}.welcome .route-ticket{min-height:36px;margin-bottom:7px;padding:5px 9px}.welcome .route-ticket strong{font-size:12px}.welcome .route-ticket>span{font-size:19px}.welcome .mode-cards button{min-height:58px}.welcome .difficulty{margin:3px 0}.welcome .together{min-height:44px}.welcome .free-note{margin-top:5px}.passport{padding:20px 26px}.passport h2{font-size:34px}.region-map{grid-template-columns:repeat(4,1fr)}.region-map:before{inset:40% -5px auto;width:auto;height:2px;border-left:0;border-top:2px dashed #bbb290}.region-stop{min-height:102px}.wishlight-pocket{margin-bottom:10px}.winter-gear{margin-top:12px;padding-top:10px}.upgrade-list button{min-height:123px}.route-plan h2{font-size:34px}.orders-list{grid-template-columns:repeat(3,1fr)}.order-card{min-height:76px}.route-plan{width:min(640px,calc(100vw - 28px))}}

/* A little constellation, rather than another account screen. */
.cloud-ticket{width:100%;display:flex;align-items:center;gap:12px;padding:13px 17px;margin-top:15px;background:#dcebea;color:#224d57;border:1px solid #82aaa4;border-radius:30px 10px 30px 12px;text-align:left}.cloud-ticket>span{font-size:30px;color:#42777e}.cloud-ticket strong{flex:1;font-size:14px}.cloud-ticket[data-linked="true"]{background:#e3eddc}.cloud-save{max-width:450px}.cloud-save h2{font-size:clamp(35px,6vw,49px)}.cloud-constellation{font-size:20px;color:#69918b;letter-spacing:12px}.cloud-constellation span{font-size:39px;color:#326b78;letter-spacing:0}.cloud-status{display:inline-block;font-size:13px;font-weight:700;background:#e1e7de;border-radius:30px;padding:7px 13px;margin:0 0 10px}.cloud-status[data-state="online"]{color:#245c48;background:#dcebdc}.cloud-choice{display:block;width:100%;min-height:48px;border:1px solid #769994;background:#e3ece5;color:#194d59;border-radius:13px 28px 12px 25px;padding:12px 16px;margin-top:10px;font-weight:700}.cloud-choice:first-of-type{background:#275e66;color:#fff7dc}.cloud-save .quiet{display:block;width:100%;min-height:44px}.cloud-device-art{font-size:35px;letter-spacing:8px;color:#517f82;margin:10px 0}.cloud-input{width:100%;min-height:52px;padding:12px;margin:10px 0;border:2px solid #5d8785;border-radius:14px;color:#1b4a57;background:#fffdf1;font:inherit;font-size:20px;text-align:center;box-sizing:border-box}.cloud-code{padding:14px;margin-top:12px;border:1px dashed #54827e;border-radius:20px}.cloud-code>strong{font-size:25px;letter-spacing:3px}.cloud-request{padding:16px;margin-bottom:15px;border:2px solid #d7ac56;border-radius:10px 25px 15px 25px;background:#fff2cf}.cloud-recovery{border-top:1px solid #acc3b6;padding:12px 0;margin:10px 0}.cloud-recovery summary{cursor:pointer;min-height:36px;padding-top:8px;font-weight:700;color:#315f65}.cloud-save button:disabled{opacity:.52}.cloud-save a{color:#315f65}.cloud-save .tiny{line-height:1.5}.cloud-save h3{font-size:23px;margin:5px}
@media(max-width:600px){.cloud-save{width:calc(100% - 24px);padding:24px 20px}.cloud-save h2{font-size:37px}.cloud-device-art{font-size:29px}.cloud-save .tiny{font-size:12px}}

/* Invitation codes stay on-device, inside a camera-friendly snowy frame. */
.cloud-qr{margin:14px 0;padding:18px 12px;background:#fffaf0;border-radius:24px 12px 26px 14px;border:1px solid #b4c8b6}.cloud-qr>strong{display:block;font-size:19px;color:#275e66}.cloud-qr svg{display:block;width:min(240px,100%);height:auto;margin:10px auto;background:#fff;border-radius:4px}.cloud-qr .tiny{margin:8px 0}.cloud-qr .cloud-code{margin:0;padding:8px 0 0;border:0;border-top:1px dashed #acc3b6;border-radius:0}.cloud-code summary{font-size:13px;min-height:44px;display:list-item;line-height:44px;cursor:pointer;color:#315f65}.cloud-code>strong{display:block}.cloud-qr .quiet{font-size:13px}.cloud-qr+ .tiny{margin-top:16px}

.cloud-save.is-inviting .cloud-constellation{display:none}.cloud-save.is-inviting h2{font-size:28px;line-height:1.15;margin:10px 0}.cloud-save.is-inviting h2 br{display:none}.cloud-save.is-inviting h2 em{margin-left:6px}.cloud-save.is-inviting .cloud-status{margin-bottom:0}.cloud-save.is-inviting .cloud-device-art{display:none}.cloud-save.is-inviting .cloud-qr{margin-top:12px}.cloud-save.is-inviting .cloud-qr svg{margin:8px auto}

.cloud-save>.close{position:sticky;float:right;top:0;right:auto;z-index:3;width:44px;height:44px;margin:-16px -8px -28px 0;background:#fff7e7ed;border-radius:50%}

/* The Last Hearth: a trail cut into a travelling winter storybook. */
.hearth-entry{display:flex;align-items:center;gap:12px;width:100%;padding:12px 17px;margin:12px 0 10px;border-radius:32px 12px 28px 10px;background:linear-gradient(110deg,#153b48,#2c5c5d);color:#fff1ca;text-align:left;box-shadow:inset 0 0 0 1px #b7a16e66,0 5px 14px #173c5130}.hearth-entry>span:first-child{font-size:32px;color:#f1c47a;filter:drop-shadow(0 0 7px #e8b55d80)}.hearth-entry>span:nth-child(2){display:grid;gap:3px;flex:1}.hearth-entry strong{font-family:'Libre Caslon Display',Georgia,serif;font-size:24px;font-weight:400;letter-spacing:-.5px}.hearth-entry small{font-size:10px;letter-spacing:.7px;color:#d7dcbf}.hearth-entry>b{font-weight:400;font-size:22px}.story-book{width:min(580px,calc(100% - 24px));max-width:580px;background:#fff5dc;color:#1b434b;padding:24px 28px 20px;border-radius:9% 3% 6% 3%/3% 4% 3% 2%;border:1px solid #b7bc9c}.story-book>.close{position:sticky;float:right;top:0;right:auto;z-index:3;width:44px;height:44px;margin:-14px -12px -30px 0;border-radius:50%;background:#fff5dce8}.hearth-masthead{font-size:10px;letter-spacing:3px;text-align:left;margin:2px 20px 16px 0;font-weight:700;color:#546d61}.hearth-masthead>span{color:#bd8f48;margin-left:8px}.story-book h2{font-size:clamp(32px,5vw,46px);line-height:1.02;margin:16px 0 10px;letter-spacing:-1.5px}.hearth-panorama{display:block;width:100%;height:auto;aspect-ratio:5/2;border-radius:35% 6% 24% 8%/13% 11% 16% 9%;margin:10px 0 18px;box-shadow:0 9px 16px #21434a20}.hearth-line{font-size:14px;line-height:1.55;max-width:430px;margin:10px auto 18px;color:#4c625b}.hearth-caption,.hearth-storage{font-size:11px;line-height:1.5;color:#647765;margin:10px 0}.hearth-storage{font-size:9px;letter-spacing:.2px;border-top:1px solid #b8c5af;padding-top:13px;margin-top:18px}.hearth-choice{position:relative;display:grid;grid-template-columns:45px 1fr;grid-template-rows:auto auto auto;gap:3px 10px;width:100%;min-height:82px;padding:14px 20px 13px 13px;text-align:left;border-radius:9px 32px 10px 27px;background:#e6e9d6;border:1px solid #8fac9a;margin:10px 0;transition:transform .15s,background .15s,box-shadow .2s}.hearth-choice:hover:not(:disabled){background:#dbe7d5;box-shadow:0 5px 16px #234c4826;transform:translateY(-2px)}.hearth-choice-icon{grid-column:1;grid-row:1/4;align-self:center;text-align:center;font-size:29px;color:#547568}.hearth-choice>strong{grid-column:2;font-size:16px;color:#214a4c}.hearth-choice>small{grid-column:2;font-size:11px;line-height:1.4;color:#526e5b}.hearth-choice>em{grid-column:2;font-style:normal;font-size:9px;letter-spacing:.4px;color:#738268;margin-top:3px}.hearth-choice.is-boss{background:linear-gradient(115deg,#d4e0dc,#d6d9e5);border-color:#779497}.hearth-choice.is-boss>.hearth-choice-icon{color:#8e5f61}.hearth-run-status{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;margin:7px 0 11px;font-size:11px;color:#556b61}.hearth-run-status>span{background:#eceddc;padding:6px 9px;border-radius:20px}.hearth-hearts{color:#ac5853!important}.hearth-speaker{font-size:10px;color:#907448;letter-spacing:1.4px;font-weight:700;line-height:1.5;margin:13px 0 3px}.hearth-pack{border-top:1px solid #a9bca3;margin-top:15px;padding-top:4px;text-align:left}.hearth-pack summary{cursor:pointer;min-height:44px;line-height:44px;font-size:12px;font-weight:700}.hearth-synergy{padding:7px 12px;background:#dce9d4;border-radius:5px 18px 5px 15px;color:#496149;font-size:11px}.hearth-hud{display:inline-flex;justify-content:space-between;align-items:center;gap:8px;min-height:28px;padding:4px 9px;margin-top:4px;background:#2e504ad9;color:#ffdc98;border-radius:16px 5px 14px 5px;font-size:10px;pointer-events:auto}.hearth-hud b{font-weight:400;font-size:15px}.story-book[data-phase="ending"] .hearth-panorama{animation:hearth-dawn 3s ease-in-out infinite alternate}.story-book[data-phase="fallen"] .hearth-panorama{filter:saturate(.5)}@keyframes hearth-glow{50%{box-shadow:0 0 0 5px #e7bd6e22}}@keyframes hearth-dawn{to{filter:brightness(1.15) saturate(1.12)}}.reduced-motion .hearth-trail .is-current,.reduced-motion .story-book .hearth-panorama{animation:none!important}
@media(max-width:700px){.hearth-entry{min-height:52px;padding:9px 13px;margin:8px 0}.hearth-entry strong{font-size:22px}.hearth-entry>span:first-child{font-size:27px}.story-book{padding:22px 18px 16px}.hearth-line{font-size:13px}.story-book h2{font-size:34px}.hearth-choice{padding:12px 13px 11px 9px;min-height:80px;gap:3px 8px;grid-template-columns:36px 1fr}.hearth-choice>strong{font-size:15px}.hearth-choice>small{font-size:11px}.hearth-trail>span{width:20px;height:20px;line-height:20px}.hearth-run-status{gap:4px;font-size:10px}.hearth-run-status>span{padding:5px 7px}.hearth-hud{min-height:30px}.hearth-panorama{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.hearth-trail .is-current,.story-book .hearth-panorama{animation:none!important}.hearth-choice{transition:none}}

.threat.is-northwind{background:#344e68ed;color:#fff1ca;border-color:#b7d4cd}

.hearth-impact{background:#edd9c0;color:#91504a;padding:9px 13px;border-radius:4px 16px 4px 14px;font-size:12px;line-height:1.45}.story-book .hearth-run-status{font-variant-numeric:tabular-nums}.is-playing.has-story .mission>strong{display:none}

/* The Mischief Book: earned little silhouettes and one next adventure. */
.next-spark{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;margin:8px 0;padding:5px 10px 5px 4px;border:1px dashed #a99362;border-radius:22px 6px 24px 8px;background:#f3e3b9;color:#5d5737;text-align:left}.next-spark>span:not(.snow-look){flex:1;font:13px Georgia}.next-spark>b{font-size:11px;color:#8b6731}.next-spark .snow-look{width:40px;height:auto}.snow-look{display:inline-block;width:60px;aspect-ratio:12/13;flex-shrink:0;background:url('./art/wardrobe.webp') 0% center/500% 100% no-repeat}.snow-look[data-accessory=earmuffs]{background-position-x:25%}.snow-look[data-accessory=star]{background-position-x:50%}.snow-look[data-accessory=crown]{background-position-x:75%}.snow-look[data-accessory=antlers]{background-position-x:100%}.trailbook{margin-top:18px;border-top:1px solid #b7b89b;text-align:left}.trailbook>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;cursor:pointer;color:#4a6d60;font-size:14px;list-style:none}.trailbook>summary:after{content:'+';font-size:22px}.trailbook[open]>summary:after{content:'−'}.trailbook>summary>b{font-size:12px;font-variant-numeric:tabular-nums;font-weight:400;margin-left:auto}.mischief-goal{display:grid;grid-template-columns:36px 1fr;gap:4px 8px;text-align:left;padding:12px 13px;background:#e2ead7;border:1px solid #b6c4a7;border-radius:24px 7px 21px 7px}.mischief-icon{grid-row:1/3;font:28px Georgia;color:#64826c;align-self:center}.mischief-goal strong{display:block;font:18px Georgia;line-height:1.15;color:#28505a}.mischief-goal small{display:block;font-size:11px;line-height:1.4;margin-top:5px;color:#5b7060}.mischief-goal progress{grid-column:2;width:100%;height:7px;margin-top:6px;accent-color:#9a7948}.snow-closet{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:14px 0}.look-choice{display:flex;flex-direction:column;align-items:center;min-height:122px;min-width:0;padding:7px 3px;border:1px solid #bec4a5;background:#e9e9d6;border-radius:30px 6px 23px 6px;color:#4a6358}.look-choice strong{font:12px/1.2 Georgia;max-width:100%;min-height:29px}.look-choice small{font-size:9px;margin-top:6px;color:#8a6a3b}.look-choice:disabled{opacity:.58;filter:saturate(.35)}.look-choice[aria-pressed=true]{box-shadow:0 0 0 2px #b58a47;background:#f2e2b9}.mischief-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mischief-stamp{border:1px dashed #bfc5ab;border-radius:13px 6px 14px 6px;padding:6px;color:#818b75;background:#e8e8d7}.mischief-stamp.is-earned{border:1px solid #b79a63;background:#f4e6ba;color:#7c663b}.mischief-stamp summary{min-height:64px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;list-style:none;text-align:center;padding:5px 0}.mischief-stamp summary>span{font:26px Georgia}.mischief-stamp summary>b{font-size:10px;font-weight:500}.mischief-stamp>small{font-size:10px;line-height:1.45;display:block;padding:5px 2px}.trail-results{margin:14px 0}.trail-results .mischief-goal strong{font-size:17px}.earned-medals{font-size:12px;color:#886437;line-height:1.5;margin:12px 0}.look-unlocked{position:relative;display:grid;grid-template-columns:65px 1fr;text-align:left;gap:3px 9px;align-items:center;border:1px solid #c6a462;border-radius:35px 6px 25px 8px;background:#f7e2a7;padding:6px 12px;margin:12px 0;animation:medal-arrives .5s ease-out}.look-unlocked .snow-look{grid-row:1/3}.look-unlocked>span:not(.snow-look){font-size:9px;letter-spacing:2px;color:#916c34;align-self:end}.look-unlocked>strong{font:25px Georgia;align-self:start;color:#664e29}.ride-dare{pointer-events:none}.ride-dare[data-complete=true]{color:#f7db81;border-color:#dab663}.has-story .ride-dare{display:none}.hearth-discovery{text-align:left;padding:10px 13px;margin:14px 0;border:1px dashed #abac89;border-radius:20px 6px 19px 6px;background:#f0e8c9}.hearth-discovery strong{font:14px Georgia;color:#6a714e;display:block}.hearth-discovery progress{display:block;width:100%;height:6px;margin-top:7px;accent-color:#bc914b}.hearth-keepsakes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hearth-keepsakes button{min-height:70px;padding:8px 10px;background:#e7e8d4;border:1px solid #a7b69a;border-radius:20px 6px 18px 6px;color:#3c6156;text-align:left}.hearth-keepsakes button>strong{display:block;font-size:13px;margin-bottom:4px}.hearth-keepsakes button>small{font-size:10px;line-height:1.3;display:block}.hearth-keepsakes button[aria-pressed=true]{border:2px solid #b28b4b;background:#f2e2b6}.hearth-keepsakes button:disabled{opacity:.5}.hearth-pack .hearth-caption{margin-top:4px}
@keyframes medal-arrives{from{transform:translateY(6px) scale(.97);opacity:.3}to{transform:none;opacity:1}}
.reduced-motion .look-unlocked{animation:none}@media(prefers-reduced-motion:reduce){.look-unlocked{animation:none}}
@media(max-width:700px){.next-spark{margin:5px 0;min-height:44px}.next-spark>span:not(.snow-look){font-size:11px}.snow-closet{grid-template-columns:repeat(3,minmax(0,1fr))}.look-choice{min-height:116px}.trail-results .mischief-goal{padding:10px}.mischief-goal small{font-size:10px}.mischief-stamp summary>b{font-size:9px}.look-unlocked>strong{font-size:22px}}
@media(max-height:520px) and (orientation:landscape){.next-spark{margin:4px 0;min-height:44px}.snow-closet{grid-template-columns:repeat(5,minmax(0,1fr))}.look-choice{min-height:113px}}
.passport>.close{position:sticky;float:right;top:0;right:auto;z-index:3;width:44px;height:44px;margin:-15px -8px -28px 0;background:#fff5dced;border-radius:50%}.trailbook{scroll-margin-top:44px}
/* The next feat takes the old subtitle's space; it never adds another overlay. */
.has-dare .mission>strong{display:none}.mission>.ride-dare{display:block;position:static;transform:none;max-width:100%;margin:5px 0 0;padding:0;background:transparent;border:0;color:#ecdab0;font-size:10px;white-space:normal;line-height:1.25}.mission>.ride-dare[data-complete=true]{color:#ffe08c}.has-story .mission>.ride-dare{display:none}
@media(max-width:700px){.mission>.ride-dare{font-size:9px;max-width:190px}}@media(max-height:520px) and (orientation:landscape){.mission>.ride-dare{font-size:9px}}

/* Sparse quips are readable on touch screens; routine stunt captions stay quiet. */
.moment[data-quippy=true]{max-width:min(300px,80vw);font-size:18px;pointer-events:none}
@media(max-width:700px){.moment[data-quippy=true]:not([hidden]){display:block!important;top:34%;max-width:min(270px,78vw);font-size:16px;line-height:1.25;padding:9px 14px}}
@media(max-height:520px) and (orientation:landscape){.moment[data-quippy=true]{top:40%;font-size:15px;max-width:260px;padding:8px 13px}}

/* A short welcome; optional depth lives in Journey and Settings. */
.welcome-copy{max-height:calc(var(--vh) - 90px);overflow:auto;scrollbar-width:thin}.welcome .invitation{font-size:17px;margin:10px 0 15px}.welcome #pocket-lights{display:none}.welcome .route-ticket{background:transparent;border-style:dashed;margin-bottom:8px}.welcome .free-note{letter-spacing:.6px}.passport .next-spark{margin:0 0 16px}.winter-gear>summary,.control-guide>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:15px;color:#42665b}.winter-gear>summary:after,.control-guide>summary:after{content:'+';margin-left:auto;font-size:20px}.winter-gear[open]>summary:after,.control-guide[open]>summary:after{content:'−'}.winter-gear>summary{margin-bottom:4px;list-style:none}.control-guide{border-top:1px solid #c2c7ad;margin-top:12px;text-align:left}.control-guide p{font-size:12px;line-height:1.5;margin:8px 0;color:#5c7165}.challenge-setting{padding:12px 0 0;margin:10px 0 8px;border:0;border-top:1px solid #cbc7a6}.challenge-setting legend{font-size:12px;padding:0 8px;color:#526e62}.challenge-setting .difficulty{margin:5px 0}.challenge-setting .difficulty button{min-height:44px;font-size:13px;padding:10px 18px}.results #result-passport{font-size:12px;min-height:44px}.results .dialog-icon{font-size:35px}.results h2{font-size:40px}.results .earned-lights{font-size:17px}.results .trail-results{margin:12px 0}.results .results-stats{margin:12px 0}.results #result-copy{font-size:13px;line-height:1.45}
@media(max-width:1100px){.standings{min-width:0;max-width:155px;padding:7px 10px;border-radius:7px 18px 7px 16px}.standings li:not(.is-you){display:none}.standings li.is-you{padding:0;font-size:11px}}
@media(max-width:700px){.welcome-copy{max-height:calc(var(--vh) - 78px)}.welcome .invitation{font-size:15px;margin:9px 0 12px}.welcome .route-ticket{margin-bottom:7px}.welcome .together{margin-top:10px}.results h2{font-size:35px}.results .earned-lights{font-size:16px}.results #result-copy{font-size:12px}.passport .next-spark{margin-bottom:12px}}
@media(max-width:700px) and (max-height:680px) and (orientation:portrait){.welcome .invitation{font-size:14px;margin:7px 0 9px}.welcome .together{margin-top:8px}.welcome h1{font-size:54px}}
@media(max-height:520px) and (orientation:landscape){.welcome-copy{max-height:calc(var(--vh) - 65px);margin-top:50px}.welcome .invitation{font-size:12px;margin:7px 0}.welcome .together{margin-top:8px}.standings li.is-you{font-size:10px}.challenge-setting{padding-top:7px}.control-guide{margin-top:9px}.results h2{font-size:31px}}

/* Cocoa service stays on the trail. The button, HUD and marker share a ready state. */
.welcome .mode-cards button:first-child{background:#285751;color:#fff3d7;border-color:#446f60;box-shadow:0 4px 12px #203b3926}
.welcome .mode-cards button:first-child small{color:#d4e8d4}.welcome .hearth-entry{background:#e9e2ce;color:#315652;box-shadow:inset 0 0 0 1px #a7ad99}.welcome .hearth-entry>span:first-child{color:#987342;filter:none}.welcome .hearth-entry small{color:#5f7466}
.hud-top .score{min-width:58px;font-variant-numeric:tabular-nums}.score.is-braking{background:#755431}.score.is-braking small{color:#ffe9ba}
.target[data-cue=ready] #plan-mark{display:none}.target[data-cue=ready]{padding-right:12px;background:#e8f4d4;border-color:#7b9c5e;color:#214a3c}.target[data-cue=slow]{background:#fff0ca;border-color:#c0904f}.target[data-cue=align]{border-color:#c49a57}.target[data-cue=pouring],.target[data-cue=brewing]{background:#f4e6cc}.target small:empty{display:none}
.serve:disabled{opacity:.55}.controls .serve[data-ready=true]{opacity:1;background:#f4d477;color:#234840;border:2px solid #fff6d5;box-shadow:0 3px 0 #8f642d,0 0 0 5px #fff0b860,0 4px 18px #1e3c4477;animation:serve-ready .75s ease-out}
@keyframes serve-ready{0%{box-shadow:0 3px 0 #8f642d,0 0 0 0 #fff0b899}100%{box-shadow:0 3px 0 #8f642d,0 0 0 5px #fff0b860}}
.reduced-motion .serve[data-ready=true]{animation:none}@media(prefers-reduced-motion:reduce){.serve[data-ready=true]{animation:none}}
@media(max-width:700px) and (orientation:portrait){.hud-top .score{min-width:46px}.target[data-cue=ready] strong{font-size:16px}.controls .serve{left:auto;right:0;bottom:145px;transform:none;min-width:134px}.controls .serve:active:not(:disabled){transform:translateY(2px)}}

/* A full-bleed print on the title screen gives way to the live sled camera. */
.winter-cover, .winter-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.winter-cover { background: #173d40; }
.winter-cover img { object-fit: cover; object-position: 68% 48%; }
.winter-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #102f322b, transparent 52%), linear-gradient(0deg, #102e3655, transparent 15%);
}
.welcome-copy {
  position: relative;
  background: #fff3d9;
  border: 1px solid #ffedca;
  box-shadow: 4px 5px 0 #b94d42, 8px 8px 0 #1b4442, 0 18px 45px #122c3652;
}
.welcome-copy h1 { color: #153f43; }
.welcome-copy .mode-cards button:first-child { background: #154c46; }
.welcome .free-note { display: none; }
.welcome .village-note { padding: 8px 12px; background: #163e3cdf; border-radius: 2px; color: #fff2c8; }
.region-stop.village { --route-print: url('./art/village.webp'); }
.region-stop.woods { --route-print: url('./art/woods.webp'); }
.region-stop.summit { --route-print: url('./art/summit.webp'); }
.region-stop.starlight { --route-print: url('./art/starlight.webp'); }
.region-stop, .region-stop.woods, .region-stop.summit, .region-stop.starlight {
  padding: 5px 5px 9px;
  justify-content: flex-start;
  gap: 5px;
  border-radius: 4px;
  background: #fff5de;
}
.region-stop .region-art {
  align-self: stretch;
  height: clamp(48px, 7vh, 83px);
  margin-bottom: 2px;
  background: var(--route-print) center 52% / cover;
  border: 1px solid #713f4b40;
  font-size: 0;
  border-radius: 1px;
}
.region-stop:disabled { opacity: 1; color: #4d5856; }
.region-stop:disabled:not([aria-pressed=true]) .region-art { filter: saturate(.65); }
.region-stop[aria-pressed=true] { outline: 2px solid #247264; outline-offset: 1px; border: 1px solid #a3ab86; }
.region-stop small { padding-inline: 3px; }
.hearth-panorama { object-fit: cover; object-position: 50% 50%; }
#results[data-postcard] #result-icon {
  width: 100%;
  height: clamp(67px, 13vh, 140px);
  background: #245755 center 51% / cover;
  border: 1px solid #bb9e74;
  border-radius: 3px 9px 3px 9px;
  font-size: 0;
  margin-bottom: 12px;
}
@media (min-width: 701px) and (orientation: portrait) {
  .winter-cover img { object-position: 68% 50%; }
  .welcome-copy { width: min(365px, 46vw); margin-left: 4vw; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .winter-cover img { height: 65%; object-position: 75% 50%; }
  .winter-cover { background: #163f40; }
  .winter-cover::after { background: linear-gradient(0deg, #153c3d 34%, transparent 54%); }
  .welcome-copy { transform: none; padding: 13px 18px 12px; margin-inline: 10px; border-radius: 12px 5px 14px 5px; }
  .welcome .eyebrow { margin-bottom: 6px; font-size: 7px; }
  .welcome h1 { font-size: clamp(40px, 11vw, 57px); line-height: 1; margin: 0; }
  .welcome h1 br { display: none; }
  .welcome h1 em::before { content: " "; }
  .welcome h1 svg { width: 34px; height: 44px; right: 0; top: 0; }
  .welcome .invitation { margin: 4px 0 8px; }
  .welcome .mode-cards { gap: 5px; }
  .welcome .mode-cards button { min-height: 46px; padding: 5px 10px; }
  .welcome .mode-cards small { margin-top: 2px; }
  .welcome .hearth-entry, .welcome .together { margin: 5px 0 0; min-height: 44px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .winter-cover img { object-position: 70% 45%; }
  .welcome .village-note { display: none; }
  #results[data-postcard] #result-icon { height: 64px; }
}

.winter-sticker {
  display: inline-block;
  width: var(--sticker-size, 34px);
  height: var(--sticker-size, 34px);
  flex: 0 0 var(--sticker-size, 34px);
  background-image: url('./art/winter-stickers.webp');
  background-size: 300% 300%;
  background-repeat: no-repeat;
  pointer-events: none;
  vertical-align: middle;
}
.winter-sticker.mug { background-position: 0 0; }
.winter-sticker.sled { background-position: 50% 0; }
.winter-sticker.lantern { background-position: 100% 0; }
.winter-sticker.boost-art { background-position: 0 50%; }
.winter-sticker.snowball-art { background-position: 50% 50%; }
.winter-sticker.mittens-art { background-position: 100% 50%; }
.winter-sticker.wishlight-art { background-position: 0 100%; }
.winter-sticker.snowperson-art { background-position: 50% 100%; }
.winter-sticker.fir-art { background-position: 100% 100%; }
.welcome .winter-sticker { --sticker-size: 38px; }
.welcome .hearth-entry .winter-sticker { filter: none; }
.welcome #together { position: relative; }
.welcome #together .winter-sticker { --sticker-size: 29px; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); }
.controls .quick-actions .winter-sticker { --sticker-size: 28px; }
.controls .serve .winter-sticker { --sticker-size: 23px; margin-right: 2px; }
#pause-dialog .winter-sticker { --sticker-size: 64px; }
.wishlight-pocket .winter-sticker { --sticker-size: 34px; }
.loading .winter-sticker { --sticker-size: 68px; }
@media (max-width: 700px), (max-height: 520px) and (orientation: landscape) {
  .welcome .winter-sticker { --sticker-size: 32px; }
  .controls .quick-actions .winter-sticker { --sticker-size: 23px; }
  .controls .serve .winter-sticker { --sticker-size: 20px; }
}
.relic-art {
  display: inline-block;
  width: 42px;
  height: 42px;
  background: url('./art/relics.webp') var(--relic-x) var(--relic-y) / 400% 400% no-repeat;
}
.hearth-choice .hearth-choice-icon.relic-art { font-size: 0; align-self: center; }
.hearth-keepsakes .relic-art { width: 33px; height: 33px; }
.winter-memory { margin: 13px 0; text-align: left; }
.winter-memory .hearth-panorama { height: 88px; margin: 0; border-radius: 5px 5px 0 0; }
.winter-memory figcaption { display: grid; gap: 3px; padding: 8px 10px; background: #efdfc3; }
.winter-memory strong { font: 16px Georgia, serif; }
.winter-memory figcaption span { font-size: 11px; line-height: 1.45; }
.medal-art, .mischief-stamp summary .medal-art {
  display: inline-block; width: 36px; height: 36px; border: 0; border-radius: 0;
  background: url('./art/medals.webp') var(--relic-x) var(--relic-y) / 400% 300% no-repeat;
}
.mischief-goal .medal-art { width: 45px; height: 45px; }
.mischief-stamp:not(.is-earned) .medal-art { filter: grayscale(.9); opacity: .62; }
.relic-art[data-col="0"], .medal-art[data-col="0"] { --relic-x: 0%; }
.relic-art[data-col="1"], .medal-art[data-col="1"] { --relic-x: 33.333333%; }
.relic-art[data-col="2"], .medal-art[data-col="2"] { --relic-x: 66.666667%; }
.relic-art[data-col="3"], .medal-art[data-col="3"] { --relic-x: 100%; }
.relic-art[data-row="0"], .medal-art[data-row="0"] { --relic-y: 0%; }
.relic-art[data-row="1"] { --relic-y: 33.333333%; }
.relic-art[data-row="2"] { --relic-y: 66.666667%; }
.relic-art[data-row="3"], .medal-art[data-row="2"] { --relic-y: 100%; }
.medal-art[data-row="1"] { --relic-y: 50%; }

.lobby .party-illustration { height: clamp(64px, 14vh, 124px); background: url('./art/party.webp') 50% 48% / cover; border-radius: 50% 42% 7px 7px / 16% 22% 5px 6px; border: 1px solid #bbaa87; margin: 0 16px 8px; }
.lobby h2 { font-size: clamp(29px, 6vh, 46px); margin-bottom: 12px; }
@media (max-height: 520px) { .lobby .party-illustration { height: 48px; margin-bottom: 4px; } }

#cocoa-glass { width: 36px; height: 34px; flex-shrink: 0; overflow: visible; }
#cocoa-glass[data-heat=cool] .mug-steam { opacity: 0; }
#cocoa-glass[data-heat=warm] .mug-steam { opacity: .55; }
.order-card .recipient-portrait { width: 32px; height: 32px; background: url('./art/recipient-portraits.webp') no-repeat; background-size: 700% 400%; }
body.reduced-motion .cargo #cocoa-glass { animation: none; }
@media (max-width:700px), (max-height:520px) { #cocoa-glass { width: 29px; height: 28px; } }
@media (prefers-reduced-motion:reduce) { .cargo #cocoa-glass { animation: none; } }

#result-icon { position: relative; display: block; text-decoration: none; }
#result-icon > span { display: none; }
#result-icon[href] > span { display: block; position: absolute; bottom: 5px; right: 5px; padding: 5px 9px; border: 1px solid #f8dca5; border-radius: 10px 2px 9px 2px; background: #153d3e; color: #fff1d2; font: 600 12px/1.2 system-ui,sans-serif; }

.hearth-trail { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: end; justify-items: center; position: relative; height: clamp(64px,10vh,98px); margin: 9px 0 12px; padding: 0 5px 6px; border: 1px solid #ac926a; border-radius: 9px 3px 8px 3px; background: linear-gradient(transparent 55%,#18413c99), url('./art/chaptermap.webp') 50% 55%/cover; }
.hearth-trail > span { display: inline-grid; place-items: center; position: relative; width: clamp(10px,2vw,18px); height: clamp(10px,2vw,18px); border-radius: 50%; background: #173d44; color: #f7d8a4; line-height: 1; font: 12px/1 Georgia,serif; }
.hearth-trail > span:nth-child(3n) { border: 1px solid #e3bb73; font-size: 11px; }
.hearth-trail .is-cleared { color: #154746; background: #ffe8ae; }
.hearth-trail .is-current { background: #ff714e; color: white; box-shadow: 0 0 0 2px #fff0c9; }
.hearth-trail .is-current::before { content: ''; position: absolute; left: 48%; bottom: 70%; width: 15px; height: 22px; background: #ffefe0; clip-path: polygon(0 0, 95% 8%, 67% 25%, 94% 42%, 16% 40%, 16% 100%, 0 100%); filter: drop-shadow(0 1px 1px #242345); }
@media (max-height:520px) { .hearth-trail { height: 51px; } }

/* A little hanging ornament counts down with the game's existing clock. */
.countdown { inset: 35% auto auto 50%; transform: translateX(-50%); display: grid; place-items: center; width: 84px; height: 84px; isolation: isolate; font-size: 54px; line-height: 1; }
.countdown::before { content: ''; position: absolute; inset: 0; border: 3px solid #ffdf99; border-radius: 47% 51% 48% 50%; box-shadow: 0 3px 8px #1834457a,inset 0 0 0 3px #943b4c; background: radial-gradient(ellipse at 34% 23%,#db655a,#b84550 67%,#633747); z-index: -1; }
.countdown::after { content: ''; position: absolute; background: repeating-linear-gradient(90deg,#8a613c 0 2px,#edc681 2px 4px); border: 2px solid #ffdf99; border-radius: 3px 3px 1px 1px; width: 23%; height: 9%; top: -6%; }
.countdown strong { font: italic bold 1em/1 Georgia,serif; color: #fff4d6; text-shadow: 0 2px 0 #743a42; padding-right: .07em; }
.countdown i { width: 13px; height: 12px; border-radius: 8px; border: 2px solid #ffdf99; position: absolute; top:-16%; }
.countdown[data-beat="2"]::before { background: radial-gradient(ellipse at 34% 23%,#ce8754,#a4593f 67%,#734e44); box-shadow: 0 3px 8px #1834457a,inset 0 0 0 3px #a66840; }
.countdown[data-beat="1"]::before { background: radial-gradient(ellipse at 34% 23%,#489d8c,#286d69 67%,#254d55); box-shadow: 0 3px 8px #1834457a,inset 0 0 0 3px #3c8073; }
@media(max-width:700px),(max-height:520px) { .countdown { width: 62px; height: 62px; font-size: 41px; } }
.controls .steady .winter-sticker { --sticker-size: 27px; }
@media(max-width:700px),(max-height:520px) { .controls .steady .winter-sticker { --sticker-size: 22px; } }

.is-playing .vignette { background: linear-gradient(180deg,#17354525,transparent 22%,transparent 80%,#132f4d22); }
.is-playing .clock,.is-playing .mission,.is-playing .score { border: 1px solid #adbc9a; background: linear-gradient(150deg,#31515b,#183d49); box-shadow: inset 0 0 0 2px #254854,0 2px 3px #172e3733; }
.is-playing .clock.is-urgent { background: #803647; border-color: #ffe2a7; box-shadow: inset 0 0 0 2px #ac5357; }
.controls .steering button,.controls .quick-actions button,.controls .steady { background: linear-gradient(150deg,#335865,#1a404d 65%,#29505d); border-color: #afbea8; box-shadow: inset 0 1px 0 #ffdf9929,0 2px 0 #213d45,0 3px 6px #253a401f; }
.controls button.is-held { background: #fae2ab; color: #234a4d; box-shadow: inset 0 2px 2px #aa795b5c; }
#players>div { justify-content: flex-start; border-left: 4px solid #c76161; }
#players>div:nth-child(2) { border-left-color: #438e96; }
#players>div:nth-child(3) { border-left-color: #8b69a7; }
#players>div:nth-child(4) { border-left-color: #b99042; }
#players b { font: 600 12px/1.3 system-ui,sans-serif; margin-left: auto; }
#players .is-away { color: #59695e; }
#greetings [data-ping] { position: relative; font-size: 0; }
#greetings [data-ping]::before { content: ''; display: inline-block; width: 28px; height: 28px; vertical-align: middle; background: url('./art/signals.webp') 0 center / 300% 100% no-repeat; }
#greetings [data-ping=cocoa]::before { background-position-x: 50%; }
#greetings [data-ping=go]::before { background-position-x: 100%; }

/* On a small portrait phone every control has a thumb-sized berth below the sled. */
@media (max-width: 370px) and (max-height: 650px) and (orientation: portrait) {
 .controls { left: max(6px,env(safe-area-inset-left)); right: max(6px,env(safe-area-inset-right)); bottom: calc(9px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; align-items: end; }
 .controls .steering,.controls .sled-actions,.controls .quick-actions { display: contents; }
 .controls .steer-mark { display:none; }
 .controls #left { grid-column:1; } .controls #right { grid-column:2; }
 .controls #serve { grid-column:3; } .controls #boost { grid-column:4; }
 .controls #snowball { grid-column:5; } .controls #steady { grid-column:6; }
 .controls button:is(#left,#right,#serve,#boost,#snowball,#steady) { grid-row:1; position: static; transform:none; min-width:0; min-height:55px; width:100%; height:55px; margin:0; padding:3px 1px; border-radius:13px 5px 12px 5px; }
 .controls #serve,.controls #steady { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; }
 .controls #serve span,.controls #steady strong { padding:0; font:600 9px/1.1 system-ui,sans-serif; }
 .controls #steady .winter-sticker { position:static; }
 .controls #steady small { display:none; }
 .controls .steering button { font-size:40px; }
 .controls #serve .winter-sticker { margin:0; }
 .is-playing .threat { bottom:calc(76px + var(--safe-bottom)); }
}

#trail-photo { position: relative; display: block; width: min(100%,280px); margin: 0 auto 10px; text-decoration: none; border: 1px solid #a48f6c; padding: 3px; background:#fff4d9; transform: rotate(-1deg); }
#trail-photo img { display:block; width:100%; height:clamp(50px,12vh,92px); object-fit:cover; object-position:50% 62%; }
#trail-photo span { position:absolute; padding:3px 7px; bottom:3px; right:3px; color:#fff1d2; background:#21484d; font:600 11px/1.35 system-ui,sans-serif; }
#pause-dialog:has(#trail-photo[href]) > .dialog-icon { display:none; }
