:root{font-family:Noto Sans JP,sans-serif;color:#fff;background:#2b3a40;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--ui-left:calc(16px + var(--safe-left));--ui-right:calc(16px + var(--safe-right));--panel-top:calc(84px + var(--safe-top));--panel-bottom:calc(16px + var(--safe-bottom))}*{box-sizing:border-box}html,body{width:100%;height:100%}body{margin:0;overflow:hidden}#app{position:relative;width:100%;height:100vh;height:100dvh;min-width:0;isolation:isolate}button{font:inherit;cursor:pointer;border:0;min-width:0;min-height:44px;touch-action:manipulation}a,input,select,summary,label{touch-action:manipulation}button:focus-visible{outline:3px solid #ffca75;outline-offset:3px}#world{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}header{position:absolute;left:var(--ui-left);right:var(--ui-right);top:calc(16px + var(--safe-top));display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.brand{font-weight:700;font-size:24px;letter-spacing:5px;text-shadow:0 1px 12px #0008}.brand span{display:block;font-size:9px;letter-spacing:1.5px;margin-top:3px;font-weight:400}.actions{display:flex;gap:8px}.actions button{color:#fff;background:#1d2b30cc;border:1px solid #ffffff60;border-radius:10px;min-width:48px;min-height:46px;font-size:11px;line-height:1.3}#hud{position:absolute;left:16px;right:16px;top:84px;max-width:460px;display:flex;flex-wrap:wrap;gap:6px 22px;align-items:baseline;background:#1d2b30b8;border-radius:10px;padding:10px 14px}#hud small{display:block;font-size:9px;letter-spacing:1px;color:#d9e6e9}#hud b{font-size:30px;font-weight:500}#hud em{font-style:normal;font-size:11px;margin-left:4px}#hud p{margin:0;flex-basis:100%;font-size:13px}#guide{color:#ffd99a}.panel{position:absolute;left:var(--ui-left);right:var(--ui-right);top:var(--panel-top);display:flex;flex-direction:column;max-width:460px;min-width:0;min-height:0;max-height:calc(100vh - var(--panel-top) - var(--panel-bottom));max-height:calc(100dvh - var(--panel-top) - var(--panel-bottom));overflow:hidden;padding:0;background:#1d2b30f0;border:1px solid #ffffff30;border-radius:8px}.panel p{font-size:12px;line-height:1.8;color:#dbe7ea}.panel label{display:block;font-size:13px;margin:8px 0}.panel h1{font-size:26px;line-height:1.4;margin:8px 0}.panel h2{font-size:28px;margin:4px 0}.tag{font-size:10px!important;letter-spacing:1px;color:#f3c88f!important}.primary{background:#f5c58a;color:#1d2b30;width:100%;padding:15px;font-weight:800;margin-top:12px;display:flex;justify-content:space-between;border-radius:4px}.primary span{font-weight:500;font-size:10px;align-self:center}.back{display:inline-flex;align-items:center;min-height:44px;max-width:100%;margin-top:8px;color:#cfe3e8;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.hidden{display:none!important}#touch{display:none;position:absolute;left:16px;bottom:28px}@media(pointer:coarse){#touch{display:block}}#intro:not(.hidden)~#touch,#result:not(.hidden)~#touch{display:none}#stick{position:relative;width:132px;height:132px;border:1px solid #ffffff80;border-radius:50%;background:#1d2b30bc;touch-action:none;-webkit-user-select:none;user-select:none}#stickKnob{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px;border-radius:50%;background:#dfe9ec;pointer-events:none}@media(max-height:500px){:root{--panel-top:calc(10px + var(--safe-top));--panel-bottom:calc(10px + var(--safe-bottom))}#hud{top:calc(72px + var(--safe-top));padding:6px 12px}#hud b{font-size:22px}#touch{bottom:calc(14px + var(--safe-bottom))}}#map{position:absolute;right:16px;bottom:28px;width:96px;height:160px;border:1px solid #ffffff50;border-radius:8px;background:#1d2b30b8}#below{position:absolute;bottom:200px;transform:translate(-50%);padding:6px 12px;border-radius:14px;background:#1d2b30cc;border:1px solid #fbf4db80;color:#fbf4db;font-size:13px;pointer-events:none;white-space:nowrap}#intro:not(.hidden)~#map,#result:not(.hidden)~#map{display:none}@media(max-height:500px){#map{bottom:14px;width:72px;height:120px}}#touch{display:none;align-items:flex-end;gap:16px}@media(pointer:coarse){#touch{display:flex}}#open{touch-action:none;min-width:96px;min-height:64px;border-radius:12px;background:#f5c58a;color:#1d2b30;border:0;font-size:17px;font-weight:800;-webkit-user-select:none;user-select:none}#brake{touch-action:none;min-width:96px;min-height:64px;border-radius:12px;background:#1d2b30cc;color:#fff;border:1px solid #ffffff80;font-size:15px;-webkit-user-select:none;user-select:none}#brake[data-held=true]{background:#f5c58a;color:#1d2b30}#prox.hot{color:#ffd99a}.panel p.best{color:#ffd99a;font-weight:600}.link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;background:none;color:#cfe3e8;text-decoration:underline;font-size:12px;line-height:1.6;padding:8px 0;margin:0;white-space:normal;overflow-wrap:anywhere}.picker{min-inline-size:0;min-width:0;border:0;padding:0;margin:4px 0 12px;display:grid;gap:8px}.picker legend{font-size:11px;color:#d9e6e9;margin-bottom:4px}.panel label.who{margin:0;display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border:1px solid #ffffff30;border-radius:6px;font-size:13px;cursor:pointer}.who input{margin-top:3px}.who span{border-left:4px solid var(--suit);padding-left:8px}.who small{display:block;font-size:11px;color:#c9d8dc;margin-top:2px;line-height:1.5}.who:has(input:checked){border-color:#f5c58a;background:#f5c58a1a}#sharePanel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:8px 0}#sharePanel p,#shareUrl{grid-column:1/-1;margin:0}#sharePanel input{font:inherit;font-size:16px;width:100%;max-width:100%;padding:8px;border-radius:4px;border:1px solid #ffffff50;background:#0f1a1e;color:#fff;min-width:0}#share{background:#ff7a3d;color:#1d2b30;font-weight:800;border-radius:4px;padding:8px 12px}@media(max-width:420px){#hud{gap:4px 11px;padding:8px 12px}#hud b{font-size:24px}}#intro #start{position:static;min-height:48px;box-shadow:none}#setup,#restartRun{display:block;margin:10px 0 0}#intro .panel-body{scroll-padding-block:14px}#quality{font:inherit;min-height:44px;max-width:100%;padding:6px;border:1px solid #ffffff60;border-radius:4px;background:#17262c;color:#f5f7f8}.screen{position:absolute;inset:0;z-index:3;display:flex;align-items:flex-end;min-width:0;min-height:0;overflow:hidden;padding:calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(24px + var(--safe-left));background:linear-gradient(180deg,#0d1a1f00 25%,#0d1a1fb0 62%,#0d1a1fee)}body:has(#title:not(.hidden)) header,body:has(#menu:not(.hidden)) header{display:none}#title:not(.hidden)~#touch,#menu:not(.hidden)~#touch,#title:not(.hidden)~#map,#menu:not(.hidden)~#map{display:none}.titleBox{display:flex;flex-direction:column;width:100%;max-width:760px;max-height:100%;min-width:0;min-height:0;margin:0 auto}.title-body{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}.title-actions{flex:none;min-width:0}.logo{font-size:clamp(40px,11.5vw,96px);font-weight:800;letter-spacing:.1em;white-space:normal;overflow-wrap:anywhere;line-height:1;margin:6px 0 10px;background:linear-gradient(180deg,#fff 30%,#f5c58a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 18px #0009)}.titleBox>*{max-width:560px}.titleBox>.title-body{max-width:none}.titleBox .logo{max-width:none}.titleBox .sub{font-size:15px;color:#e7f0f2;margin:0 0 22px;letter-spacing:.06em}.primary.big{font-size:20px;padding:18px 22px;border-radius:8px;box-shadow:0 5px 22px #09191e50}@media(prefers-reduced-motion:reduce){.primary.big{animation:none}}.row{display:flex;gap:10px;margin-top:12px}.ghostBtn{flex:1;min-height:46px;color:#fff;background:#1d2b30b0;border:1px solid #ffffff55;border-radius:8px;font-size:14px;letter-spacing:.1em}.menuBox{display:flex;flex-direction:column;width:100%;max-width:760px;max-height:100%;min-width:0;min-height:0;margin:0 auto;overflow:hidden}.menu-heading{flex:none;min-width:0;padding:4px}.menu-cards{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;padding:4px}.menuBox h2{font-size:28px;letter-spacing:.12em;margin:4px 0 14px;text-shadow:0 2px 12px #000a}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));grid-auto-rows:max-content;align-content:start;gap:12px;min-width:0}.card{display:block;min-width:0;touch-action:pan-y;white-space:normal;overflow-wrap:anywhere;text-align:left;text-decoration:none;color:#fff;padding:18px;min-height:128px;background:#1d2b30e6;border:1px solid #ffffff40;border-radius:12px;transition:transform .15s,border-color .15s}.card:hover,.card:focus-visible{border-color:#f5c58a;transform:translateY(-3px);outline:none;box-shadow:0 0 0 2px #f5c58a}.card i{font-style:normal;font-size:10px;letter-spacing:.25em;color:#f5c58a}.card b{display:block;font-size:22px;margin:6px 0}.card small{display:block;font-size:12px;line-height:1.6;color:#cfe0e4}.back2{font-size:13px;margin:0 0 8px;text-decoration:none;color:#f5c58a}#intro{max-width:560px;z-index:2}.introTop{display:flex;align-items:center;gap:10px}.introTop .back2{margin:0}.introTop .tag{margin:0;flex:1}.tools{display:flex;gap:6px}.iconBtn{width:44px;height:44px;flex:none;border-radius:50%;background:#ffffff14;border:1px solid #ffffff50;color:#fff;font-size:17px}#placePicker,#modePicker{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}#placePicker .who,#modePicker .who{justify-content:center;text-align:center;font-weight:700}#placePicker .who span,#modePicker .who span{border:0;padding:0}.picker .who{position:relative}.picker .who input{position:absolute;opacity:0;pointer-events:none}.who:has(input:focus-visible){outline:3px solid #ffca75;outline-offset:2px}#picker{grid-template-columns:repeat(3,minmax(0,1fr))}#picker .who>span{border-left:0;border-top:4px solid var(--suit);padding:8px 0 0;width:100%}#picker .who b{font-size:17px;display:block}#picker .who small{margin:0 0 6px}#picker .who em{display:block;font-style:normal;font-size:11px;color:#ffd99a;margin-top:6px}#picker .who .long{display:none}.stats{display:grid;gap:3px}.stats span{display:grid;grid-template-columns:2.4em 1fr;align-items:center;font-size:10px;color:#c9d8dc}.stats i{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--suit,#f5c58a) calc(var(--v) * 20%),#ffffff22 0)}#picker .stats i{background:linear-gradient(90deg,#f5c58a calc(var(--v) * 20%),#fff2 0)}.charText{font-size:12px!important;margin:4px 0 0}.who:has(input:disabled){opacity:.55}.who:has(input:checked){opacity:1}.sheet{z-index:6;max-width:520px;top:var(--panel-top)}@media(max-width:420px){.screen{padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(16px + var(--safe-left))}}#picker .stats,#picker .stats span{border:0;padding:0}.sheet{box-shadow:0 0 0 100vmax #0b1418a0}#pop{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);font-size:30px;font-weight:800;letter-spacing:1px;color:#ffd36a;text-shadow:0 2px 14px #000a;pointer-events:none;opacity:0;white-space:nowrap}#pop.miss{color:#e9f1f3;font-size:20px;font-weight:700}#pop.show{animation:pop .9s ease-out forwards}#pop.miss.show{animation-duration:1.4s}@keyframes pop{0%{opacity:0;transform:translate(-50%,-30%) scale(.8)}15%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}70%{opacity:1;transform:translate(-50%,-60%) scale(1)}to{opacity:0;transform:translate(-50%,-80%) scale(1)}}@media(prefers-reduced-motion:reduce){#pop.show{animation:popfade .9s linear forwards}@keyframes popfade{0%,70%{opacity:1}to{opacity:0}}}@media(max-height:500px){body:has(#hud:not(.hidden)) .brand{visibility:hidden}body:has(#hud:not(.hidden)) #hud{top:12px;max-width:calc(100% - 160px - var(--safe-left) - var(--safe-right));gap:2px 16px;padding:5px 12px}#hud b{font-size:20px}#hud p{font-size:12px}}.parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4.5em),1fr));min-width:0;gap:6px;margin:4px 0 10px}.parts:empty{display:none}.parts div{min-width:0;background:#ffffff12;border-radius:8px;padding:6px 4px;text-align:center}.parts b{display:block;font-size:18px;overflow-wrap:anywhere}.parts small{display:block;font-size:10px;color:#d9e6e9;overflow-wrap:anywhere}.parts em{display:block;font-style:normal;font-size:11px}.parts em.up{color:#9be7a8}.parts em.down{color:#ffb08a}#pickSummary{display:none}@media(max-height:500px){#pickSummary{display:block;flex:1;margin:0 10px;align-self:center;font-size:11px;font-weight:500;text-align:left;opacity:.8;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}#placePicker .rank{display:inline-block;min-width:18px;padding:0 4px;border-radius:4px;font-size:11px;font-weight:800;background:#ffffff26}#placePicker .rank-S{background:#f5c58a;color:#1d2b30}#placePicker .rank-A{background:#9be7a8;color:#1d2b30}#edge{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 70px 18px #ffb347;opacity:0;transition:opacity .15s linear}#streak{color:#ffd36a;font-weight:700}#ringHint{color:#ffd36a}#ringHint:empty{display:none}#hud #ctlHint{flex-basis:100%;min-width:0;max-width:100%;margin:2px 0 0;border-top:1px solid #ffffff30;padding:4px 0 0;font-size:11px;line-height:1.5;pointer-events:none;white-space:normal;overflow-wrap:anywhere}#altBar{position:absolute;right:16px;top:calc(50% - 40px);transform:translateY(-50%);width:12px;height:min(34vh,260px);border-radius:6px;background:#1d2b30b8;border:1px solid #ffffff50;pointer-events:none}#altBar i{position:absolute;left:-1px;right:-1px;display:block}#altGate{background:#f08a3ccc;border-radius:2px}#altWall{height:3px;margin-bottom:-1.5px;left:-5px!important;right:-5px!important;background:#c9d2d4;border-radius:2px}#altYou{height:0;margin-bottom:0}#altYou:before{content:"";position:absolute;right:14px;top:-7px;border:7px solid transparent;border-right:0;border-left:11px solid #fff;filter:drop-shadow(0 1px 2px #0008)}#altYou:after{content:"";position:absolute;left:0;right:0;top:-2px;height:4px;background:#fff;border-radius:2px}#altBar span{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:700;color:#f5c58a;white-space:nowrap;text-shadow:0 1px 3px #000c}@media(max-height:500px){#altBar{right:100px;top:50%;height:44vh}}#count{position:absolute;left:50%;top:20%;transform:translate(-50%,-50%);font-size:clamp(40px,8vw,64px);font-weight:800;color:#fff;text-shadow:0 3px 18px #000b;pointer-events:none;text-align:center;line-height:1}#count:after{content:"タップ／Spaceで省略";display:block;margin-top:10px;font-size:13px;font-weight:600;letter-spacing:1px;opacity:.8}.panel p.care{font-size:12px;color:#cfe3e8;margin:4px 0}.panel p.care .link{margin:0 0 0 4px}.who .hurt{color:#ffb4a8;font-size:11px;font-weight:600}#healOthers{display:block}#healOthers .link{margin:2px 12px 0 0}:root{--rally-ink:#13272c;--rally-paper:#f4e8cc;--rally-muted:#b4cbd0;--rally-line:#d9e8e32b;--rally-gold:#f4bc6b;--rally-panel:#12262dec}#menu .menuBox{max-height:100%;overflow:hidden;overscroll-behavior:contain}#pickRally{border-color:#f4bc6b99;background:linear-gradient(125deg,#284446f5,#142c33f5)}#pickRally b{display:flex;align-items:center;gap:10px}.rally-new{padding:3px 5px;border:1px solid #f4bc6b80;border-radius:3px;font-size:9px;letter-spacing:.12em;color:#f4bc6b}.rally-screen{align-items:center;padding:calc(28px + var(--safe-top)) calc(28px + var(--safe-right)) calc(28px + var(--safe-bottom)) calc(28px + var(--safe-left));background:linear-gradient(90deg,#08191ee8,#10272bc9 55%,#0a1d23b8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.rally-shell{width:100%;max-width:1040px;max-height:100%;min-width:0;min-height:0;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--rally-line);border-radius:16px;background:var(--rally-panel);box-shadow:0 16px 80px #00101850;overflow:hidden}.rally-board-head{padding:24px 28px 16px;border-bottom:1px solid var(--rally-line);background:linear-gradient(120deg,#28444680,#12262d00)}.rally-eyebrow{margin:0;font-size:10px;font-weight:700;letter-spacing:.2em;color:var(--rally-gold);line-height:1.6}.rally-eyebrow span{margin-left:10px;color:#b4cbd0}.rally-board-head h2{margin:7px 0 8px;font-size:clamp(24px,3.4vw,38px);letter-spacing:.04em;line-height:1.35}.rally-lede{margin:0;color:#c8dadb;font-size:12px;line-height:1.7}.rally-board-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 28px;scrollbar-width:thin;scroll-padding:14px}.rally-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rally-ticket{--ticket-accent:var(--rally-gold);display:flex;flex-direction:column;position:relative;min-width:0;text-align:left;color:#edf4ef;background:linear-gradient(145deg,#284347,#1c343c);border:1px solid var(--rally-line);border-top:3px solid var(--ticket-accent);border-radius:8px;padding:16px 16px 0;touch-action:pan-y;transition:border-color .16s,background .16s,transform .16s}.rally-ticket:hover{border-color:var(--ticket-accent);background:linear-gradient(145deg,#355459,#223f48);transform:translateY(-2px)}.rally-ticket:focus-visible{outline:3px solid var(--ticket-accent);outline-offset:3px}.rally-ticket-eyebrow{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:.16em;color:var(--ticket-accent);line-height:1.6}.rally-ticket-eyebrow>span:last-child{opacity:.55}.rally-ticket-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin:14px 0 0}.rally-ticket-title small{font-size:12px;color:#d6e6e6;line-height:1.5}.rally-ticket-title b{font-size:21px;letter-spacing:.02em;line-height:1.45}.rally-route-mark{width:100%;height:62px;color:var(--ticket-accent);margin:2px 0 0;flex:none}.rally-ticket-weather{display:block;font-size:11px;font-weight:700;color:var(--ticket-accent);line-height:1.6}.rally-ticket-note{display:block;font-size:11px;color:#d3e2e3;line-height:1.7;margin:7px 0 12px;flex:1}.rally-goals{list-style:none;padding:0;margin:0;display:grid;gap:6px}.rally-goals li{display:flex;align-items:baseline;gap:8px;color:#dce9e8;font-size:11px;line-height:1.65}.rally-goals li>span:last-child{min-width:0;overflow-wrap:anywhere}.rally-medal{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:22px;height:22px;border:1px solid #ffffff20;border-radius:50%;font-size:10px;font-weight:800;letter-spacing:0;color:#728f96;background:#0b1e252e}.rally-medal-1{border-color:#c8915c77;color:#e4b58c;background:#b9794521}.rally-medal-2{border-color:#d4e6e977;color:#e5f0f3;background:#c1d9df1f}.rally-medal-3{border-color:#f4bc6b99;color:#ffd38a;background:#f4bc6b26}.rally-ticket-action{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:48px;margin:16px -16px 0;padding:11px 16px;border-top:1px dashed #d9e8e339;background:#07181d25;color:var(--ticket-accent);font-size:12px;font-weight:700;border-radius:0 0 7px 7px;letter-spacing:.05em}.rally-ticket-action>span:last-child{font-size:20px;font-weight:400;line-height:1}.rally-ticket-mastery{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-top:12px;color:#d3e2e3;font-size:10px;line-height:1.6}.rally-ticket-mastery>small{flex-basis:100%;font-size:9px;color:#a7c1c6;letter-spacing:.04em}.rally-ticket-mastery>span{white-space:nowrap}.rally-ticket-mastery .rally-medal{min-width:17px;height:17px;font-size:9px;margin-left:2px}.rally-career{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding:21px 0 16px;margin:4px 0 0}.rally-career-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}.rally-career-title small{font-size:9px;color:var(--rally-muted);letter-spacing:.16em}.rally-career-title b{font-size:16px;letter-spacing:.06em}.rally-career-count{display:flex;align-items:baseline;gap:6px}.rally-career-count b{font-size:24px;font-variant-numeric:tabular-nums;font-weight:500;color:var(--rally-gold)}.rally-career-count span{font-size:11px;color:#b4cbd0;white-space:nowrap}.rally-career-meter{grid-column:1/-1;display:block;width:100%;height:4px;border:0;border-radius:3px;background:#ffffff18;appearance:none;overflow:hidden}.rally-career-meter::-webkit-progress-bar{background:#ffffff18}.rally-career-meter::-webkit-progress-value{background:var(--rally-gold)}.rally-career-meter::-moz-progress-bar{background:var(--rally-gold)}.rally-career-note{grid-column:1/-1;margin:0;color:#c2d4d7;font-size:11px;line-height:1.8}.rally-log{border-top:1px solid var(--rally-line);border-bottom:1px solid var(--rally-line)}.rally-log summary{min-height:48px;padding:13px 0;font-size:13px;font-weight:700;color:#e4ece8;cursor:pointer;touch-action:pan-y}.rally-log summary>span{font-size:10px;margin-left:10px;color:#adc8cd;font-weight:400}.rally-log>p{font-size:11px;color:#b4cbd0;line-height:1.7;margin:0 0 12px}.rally-mastery{padding-bottom:14px;overflow-x:auto;scrollbar-width:thin}.rally-mastery table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;table-layout:fixed}.rally-mastery th,.rally-mastery td{padding:8px;border-bottom:1px solid #d9e8e31c;vertical-align:middle}.rally-mastery thead th{font-size:10px;font-weight:500;color:#b4cbd0}.rally-mastery th:first-child{width:48%}.rally-mastery td,.rally-mastery thead th:not(:first-child){text-align:center}.rally-mastery tbody th b{display:inline-block;min-width:5.8em;font-size:11px;font-weight:700}.rally-mastery tbody th small{font-size:10px;color:#adc8cd;font-weight:400}.rally-mastery tbody tr:last-child>*{border-bottom:0}.rally-storage{font-size:10px!important;color:#a7c1c6!important;line-height:1.7!important;margin:12px 0 0!important}.rally-storage:empty{display:none}.rally-board-foot{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:14px 28px;border-top:1px solid var(--rally-line);background:#0c2028b8}.rally-board-foot .ghostBtn{min-height:44px;font-size:12px;padding:10px 14px;letter-spacing:0;border-radius:5px;touch-action:manipulation;white-space:nowrap}.rally-board-foot p{margin:0;font-size:10px;line-height:1.7;color:#b4cbd0;text-align:center}.rally-board-foot #rallyShuffle{color:var(--rally-gold);border-color:#f4bc6b66}.rally-board-foot #rallyShuffle span{margin-left:8px}body:has(#rallyBoard:not(.hidden)) header{display:none}#rallyBoard:not(.hidden)~#touch,#rallyBoard:not(.hidden)~#map{display:none}.rally-active #placePicker,.rally-active #modePicker,.rally-active #placeIntro,.rally-active #bestIntro,.rally-active #bestDelete,.rally-active #careIntro{display:none!important}.rally-brief{padding:14px 15px 12px;margin:12px 0 18px;border:1px solid #f4bc6b55;border-left:3px solid var(--rally-gold);border-radius:5px;background:linear-gradient(125deg,#f4bc6b12,#ffffff04)}.rally-brief-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.rally-condition{font-size:10px;color:#b5d0d5;padding:2px 5px;border:1px solid #b5d0d52e;border-radius:3px}.panel .rally-brief h2{font-size:20px;margin:6px 0 4px;line-height:1.5}.panel .rally-brief-weather{color:#f4bc6b;margin:0 0 11px;font-size:11px;font-weight:700}.panel .rally-brief-note{font-size:10px;color:#b9d0d5;line-height:1.7;margin:10px 0 0}.panel .rally-flight-best{margin:10px 0 0;padding-top:9px;border-top:1px solid #f4bc6b25;color:#f4d09e;font-size:10px;line-height:1.7}#hud #rallyObjective{font-size:11px;line-height:1.5;font-weight:600;color:#c6e4bf;border-top:1px solid #c6e4bf25;padding-top:5px;margin-top:2px}.rally-result{padding:15px;margin:14px 0;border:1px solid #f4bc6b4d;background:#f4bc6b08;border-radius:6px}.rally-result-top{display:flex;align-items:center;gap:12px}.rally-result-medal{width:48px;height:48px;font-size:20px;border-width:2px;box-shadow:inset 0 0 0 3px #152931}.rally-result-top h3{font-size:22px;line-height:1.4;margin:3px 0 0}.rally-result-top .rally-eyebrow{font-size:9px}.panel .rally-result-message{color:#e4ece8;font-size:12px;margin:12px 0 4px}.panel .rally-result-progress{color:#b7d0d5;font-size:11px;margin:0 0 10px}.rally-result .rally-goals{margin:12px 0}.rally-goals li.achieved{color:#fff}.rally-goals li.achieved>.rally-medal{box-shadow:0 0 0 2px #f4bc6b22}.panel .rally-mastered{font-size:12px;font-weight:700;color:#bce8c4;margin:10px 0 4px}.panel .rally-result-career{font-size:11px;color:#f4bc6b;margin:4px 0}.rally-flight-record{padding-top:10px;margin-top:10px;border-top:1px solid #d9e8e32b}.rally-flight-record>b{font-size:12px;color:#d6e9e4}.panel .rally-flight-record p{font-size:11px;line-height:1.7;color:#c7dadd;margin:4px 0}.panel .rally-flight-record .rally-record-comparison{color:#f4d09e}.rally-active #result #retry{background:#ffffff12;border:1px solid #ffffff55;color:#e9f1ef;margin-top:0}.rally-active #result #rallyNext{min-height:48px}.rally-active #result #rallyChoose{min-height:44px;margin:0;display:block;font-size:12px}.rally-active #result #goal{display:none}.rally-active .rally-result-actions{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:none;box-shadow:none;padding:0}.rally-active #result .rally-result-actions .primary{min-height:48px;margin-top:0;align-items:center;justify-content:center;gap:8px;font-size:13px}.rally-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.rally-screen{padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(16px + var(--safe-left))}.rally-shell{max-height:100%}.rally-board-head{padding:18px 20px 14px}.rally-board-body{padding:16px 20px}.rally-choices{gap:10px}.rally-ticket{padding:12px 12px 0}.rally-ticket-title b{font-size:18px}.rally-ticket-title small{font-size:11px}.rally-ticket-action{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.rally-ticket-eyebrow{font-size:8px}.rally-ticket-note{font-size:10px}.rally-goals li{font-size:10px;gap:6px}.rally-board-foot{padding:12px 20px;gap:12px}.rally-board-foot p{display:none}.rally-board-foot{grid-template-columns:1fr 1fr}}@media(max-width:600px){.rally-screen{padding:calc(10px + var(--safe-top)) calc(10px + var(--safe-right)) calc(10px + var(--safe-bottom)) calc(10px + var(--safe-left))}.rally-shell{max-height:100%;border-radius:10px}.rally-board-head{padding:17px 17px 13px}.rally-board-head h2{font-size:25px}.rally-lede{font-size:11px}.rally-board-body{padding:14px 16px}.rally-choices{grid-template-columns:1fr;gap:12px}.rally-ticket{display:grid;grid-template-columns:minmax(0,1fr) 92px;column-gap:12px;padding:13px 14px 0}.rally-ticket-eyebrow{grid-column:1/-1;font-size:9px}.rally-ticket-title{grid-column:1;gap:4px 8px;margin:8px 0 5px;align-self:center}.rally-ticket-title b{font-size:22px}.rally-ticket-title small{font-size:12px}.rally-route-mark{grid-column:2;grid-row:2/4;width:92px;height:55px;margin:2px 0;align-self:center}.rally-ticket-weather{grid-column:1;font-size:10px}.rally-ticket-note{grid-column:1/-1;font-size:11px;margin:6px 0 10px}.rally-ticket .rally-goals,.rally-ticket-mastery{grid-column:1/-1;gap:5px}.rally-goals li{font-size:11px}.rally-ticket-action{grid-column:1/-1;margin:13px -14px 0;padding:10px 14px;font-size:12px;min-height:44px}.rally-career{gap:9px 12px;padding-top:18px}.rally-career-title{gap:3px;flex-direction:column;align-items:flex-start}.rally-career-title b{font-size:15px}.rally-career-count b{font-size:23px}.rally-career-count span,.rally-career-note{font-size:10px}.rally-board-foot{padding:10px 16px;gap:10px}.rally-board-foot .ghostBtn{font-size:11px;padding:9px 10px}.rally-log summary>span{font-size:9px;margin-left:5px}.rally-mastery th,.rally-mastery td{padding:8px 4px}.rally-mastery tbody th b{display:block}.rally-mastery th:first-child{width:43%}}@media(max-height:500px){.rally-screen{padding:calc(8px + var(--safe-top)) calc(16px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(16px + var(--safe-left))}.rally-shell{max-height:100%;border-radius:8px}.rally-board-head{padding:11px 18px 10px;display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}.rally-board-head h2{font-size:23px;margin:0}.rally-board-head .rally-lede{display:none}.rally-board-body{padding:12px 18px}.rally-board-foot{padding:8px 18px}.rally-board-foot .ghostBtn{min-height:44px}.rally-ticket .rally-route-mark{height:42px}.rally-ticket-note{font-size:10px}.rally-career{padding-top:14px}.rally-active #hud #rallyObjective{padding-top:2px;margin-top:1px;font-size:10px;line-height:1.4}.rally-active #hud #attitude{font-size:10px}.rally-active #intro .rally-brief{padding:10px 12px;margin:8px 0 12px}}@media(prefers-reduced-motion:reduce){.rally-ticket{transition:none}.rally-ticket:hover{transform:none}}.panel-heading{flex:none;min-width:0;max-height:35vh;max-height:35dvh;overflow-y:auto;overscroll-behavior:contain;padding:12px 18px;border-bottom:1px solid #ffffff24;touch-action:pan-y}.panel-heading h2{margin:0;line-height:1.4;overflow-wrap:anywhere}.panel-body{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding-block:14px;padding:16px 18px;touch-action:pan-y;-webkit-overflow-scrolling:touch}.panel-actions{flex:none;display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px 18px;border-top:1px solid #ffffff24;background:#1d2b30f5}.panel-actions .primary{min-height:48px;margin:0;align-items:center;gap:10px;white-space:normal;overflow-wrap:anywhere}.panel-actions .primary>span{flex:none}.panel p,.panel h1,.panel h2,.panel label,.panel small,.panel em{max-width:100%;overflow-wrap:anywhere}.panel-body>:first-child{margin-top:0}.panel-body>:last-child{margin-bottom:0}.panel-body label{min-height:44px;line-height:1.7}.panel-body input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:7px;accent-color:#f5c58a}.panel-body select{max-width:100%;font-size:16px}.introTop{flex-wrap:wrap;gap:6px 10px}.introTop .tag{min-width:0;line-height:1.7}.introTop .tools{flex:none}.introTop .back2{padding:6px 0;font-size:12px}.who,.who>span,.who b,.who small,.who em,.who .hurt,.stats,.stats span{min-width:0;overflow-wrap:anywhere}.who>span{max-width:100%}.stats span{grid-template-columns:2.4em minmax(0,1fr)}#placePicker,#modePicker{grid-template-columns:repeat(auto-fit,minmax(min(100%,90px),1fr))}#pickSummary{min-width:0;overflow-wrap:anywhere}#sharePanel,#sharePanel>*{min-width:0;max-width:100%}#sharePanel p{overflow-wrap:anywhere}#share{min-height:44px;white-space:normal}#error{overflow-y:auto;padding:16px 18px;touch-action:pan-y}.rally-result-actions{width:100%;min-width:0}.rally-active .rally-result-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}.rally-active #result .rally-result-actions .primary{min-width:0;min-height:48px;padding:12px 10px;white-space:normal;overflow-wrap:anywhere}.rally-board-head,.rally-board-body,.rally-board-foot,.rally-choices,.rally-ticket>*{min-width:0}.rally-board-head h2,.rally-board-head p,.rally-ticket-title,.rally-ticket-weather,.rally-ticket-note,.rally-board-foot button{overflow-wrap:anywhere;white-space:normal}.rally-board-foot{grid-template-columns:auto minmax(0,1fr) auto}.rally-board-foot .ghostBtn{min-width:0;white-space:normal}.rally-result-top{flex-wrap:wrap}.rally-result-top>div{min-width:0}#touch{left:var(--ui-left);bottom:calc(28px + var(--safe-bottom))}#map{right:var(--ui-right);bottom:calc(28px + var(--safe-bottom))}#hud{left:var(--ui-left);right:var(--ui-right);top:calc(84px + var(--safe-top))}@media(max-width:760px){.rally-board-foot{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.panel-body{padding:14px 16px}.panel-heading,.panel-actions{padding:10px 16px}#picker{grid-template-columns:minmax(0,1fr);gap:10px}#picker .who{padding:10px 12px}#picker .who>span{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 14px;padding-top:8px}#picker .who b{font-size:18px;grid-column:1;line-height:1.5}#picker .who small:not(.long){font-size:12px;grid-column:1;margin:0;line-height:1.6}#picker .who .stats{grid-column:2;grid-row:1/3;align-self:center;gap:4px}#picker .who .stats span{font-size:11px;grid-template-columns:2.4em minmax(0,1fr)}#picker .who em{grid-column:1/-1;margin:3px 0 0;font-size:12px;line-height:1.7}#picker .who .long{display:none}#sharePanel{grid-template-columns:minmax(0,1fr)}#share{width:100%}}@media(max-width:360px){:root{--ui-left:calc(12px + var(--safe-left));--ui-right:calc(12px + var(--safe-right))}.rally-career{grid-template-columns:minmax(0,1fr)}.rally-career-count{flex-wrap:wrap}#touch{gap:10px}#stick{width:112px;height:112px}#open,#brake{min-width:78px;font-size:15px}#map{width:72px;height:120px}}@media(max-height:500px){.screen:not(.rally-screen){padding:calc(10px + var(--safe-top)) calc(16px + var(--safe-right)) calc(10px + var(--safe-bottom)) calc(16px + var(--safe-left))}.panel-heading{padding:8px 14px}.panel-body{padding:12px 14px}.panel-actions{padding:8px 14px}.panel h1,.panel-heading h2{font-size:24px}body:has(.panel:not(.hidden)) header{display:none}#pickSummary{white-space:normal;overflow:visible;text-overflow:clip;font-size:11px;line-height:1.5}#hud{top:calc(12px + var(--safe-top))}#touch,#map{bottom:calc(14px + var(--safe-bottom))}}button,.who{transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,filter .1s ease}.card,.rally-ticket{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,filter .1s ease}.card:hover,.card:focus-visible,.rally-ticket:hover{transform:none}.card:hover{box-shadow:inset 0 0 0 1px #f5c58a55,0 4px 16px #07171d33}.rally-ticket:hover{box-shadow:inset 0 0 0 1px var(--ticket-accent),0 4px 16px #07171d33}.who:has(input:checked){box-shadow:inset 3px 0 #f5c58a,inset 0 0 0 1px #f5c58a50}.who:has(input:focus-visible){box-shadow:inset 3px 0 #f5c58a,inset 0 0 0 1px #f5c58a80}button:not(:disabled):not(#open):not(#brake):active{filter:brightness(.9);box-shadow:inset 0 2px 7px #07171d4d;transition-duration:.04s}.who:has(input:not(:disabled)):active{background-color:#f5c58a26}#menu:not(.hidden) .menu-heading,#title:not(.hidden) .title-body,.sheet:not(.hidden) .panel-body,.sheet:not(.hidden) .panel-actions{animation:wm-ui-fade .18s ease-out both}#menu:not(.hidden) .card,#rallyBoard:not(.hidden) .rally-ticket{animation:wm-ui-fade .2s ease-out both}#menu:not(.hidden) .card b,#rallyBoard:not(.hidden) .rally-route-mark,.sheet:not(.hidden) .panel-heading h2{animation:wm-ui-copy .2s ease-out both}#menu:not(.hidden) .card:nth-child(2),#menu:not(.hidden) .card:nth-child(2) b,#rallyBoard:not(.hidden) .rally-ticket:nth-child(2),#rallyBoard:not(.hidden) .rally-ticket:nth-child(2) .rally-route-mark{animation-delay:25ms}#menu:not(.hidden) .card:nth-child(3),#menu:not(.hidden) .card:nth-child(3) b,#rallyBoard:not(.hidden) .rally-ticket:nth-child(3),#rallyBoard:not(.hidden) .rally-ticket:nth-child(3) .rally-route-mark{animation-delay:.05s}#menu:not(.hidden) .card:nth-child(4),#menu:not(.hidden) .card:nth-child(4) b{animation-delay:75ms}#menu:not(.hidden) .card:nth-child(5),#menu:not(.hidden) .card:nth-child(5) b{animation-delay:.1s}.rally-result[data-medal="3"] .rally-result-medal{box-shadow:inset 0 0 0 3px #152931,0 0 18px #f4bc6b24}.rally-medal-reveal{animation:wm-medal-arrive .38s cubic-bezier(.2,.8,.2,1) both}.rally-goals-reveal>li{animation:wm-ui-copy .2s ease-out both}.rally-goals-reveal>li:nth-child(2){animation-delay:.04s}.rally-goals-reveal>li:nth-child(3){animation-delay:.08s}@keyframes wm-ui-fade{0%{opacity:0}to{opacity:1}}@keyframes wm-ui-copy{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes wm-medal-arrive{0%{opacity:0;transform:scale(.88) rotate(-7deg)}70%{opacity:1;transform:scale(1.035)}to{opacity:1;transform:none}}body:has(#reduce:checked) :is(button,.who,.card,.rally-ticket,#edge){transition:none!important}body:has(#reduce:checked) :is(#menu .menu-heading,#title .title-body,.sheet .panel-body,.sheet .panel-actions,#menu .card,#rallyBoard .rally-ticket,#menu .card b,#rallyBoard .rally-route-mark,.sheet .panel-heading h2,.rally-medal-reveal,.rally-goals-reveal>li){animation:none!important}@media(prefers-reduced-motion:reduce){button,.who,.card,.rally-ticket,#edge{transition:none!important}#menu:not(.hidden) .menu-heading,#title:not(.hidden) .title-body,.sheet:not(.hidden) .panel-body,.sheet:not(.hidden) .panel-actions,#menu:not(.hidden) .card,#rallyBoard:not(.hidden) .rally-ticket,#menu:not(.hidden) .card b,#rallyBoard:not(.hidden) .rally-route-mark,.sheet:not(.hidden) .panel-heading h2,.rally-medal-reveal,.rally-goals-reveal>li{animation:none!important}}#pickTour{border-color:#93cbb280;background:linear-gradient(130deg,#25463ff5,#182f36f5)}#pickTour i{color:#b4dec3}.tour-screen{align-items:center;padding:calc(20px + var(--safe-top)) calc(20px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(20px + var(--safe-left));background:linear-gradient(110deg,#0b2025ed,#15332edb 65%,#0e2429d9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tour-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:940px;max-height:100%;min-width:0;min-height:0;margin:auto;border:1px solid #c5e0d52e;border-radius:12px;overflow:hidden;background:#12272cef;box-shadow:0 18px 70px #00141540}.tour-board-head{min-width:0;padding:22px 26px 16px;border-bottom:1px solid #d6e8df26;background:linear-gradient(120deg,#b0d9b70d,#fff0)}.tour-eyebrow{margin:0;font-size:10px;line-height:1.7;font-weight:700;letter-spacing:.18em;color:#b4dec3}.tour-eyebrow span{margin-left:12px;letter-spacing:.05em;color:#c5d8d7}.tour-board-head h2{margin:6px 0 8px;font-size:clamp(24px,3.6vw,34px);line-height:1.4;letter-spacing:.04em;overflow-wrap:anywhere}.tour-lede{margin:0;color:#c8dad8;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.tour-board-body{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-padding-block:16px;padding:18px 26px;touch-action:pan-y;-webkit-overflow-scrolling:touch}.tour-board-foot{display:flex;align-items:stretch;gap:12px;min-width:0;padding:12px 26px;border-top:1px solid #d6e8df26;background:#10232bef}.tour-board-foot>button{flex:1;min-width:0;min-height:46px;white-space:normal;overflow-wrap:anywhere;font-size:12px;padding:10px 14px;line-height:1.6}.tour-board-foot>.primary{flex:2;align-items:center;gap:8px;margin:0}.tour-progress{margin:0 0 18px}.tour-progress-top{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;margin-bottom:10px}.tour-progress-top b{font-size:14px;line-height:1.6;color:#e9f1e9}.tour-progress-top small{font-size:11px;line-height:1.7;color:#a9c9c6}.tour-totals{display:grid;gap:0;margin:0;border-top:1px solid #d6e8df20}.tour-totals>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid #d6e8df20;font-size:12px;line-height:1.6}.tour-totals dt{min-width:0;color:#c5d9d6;overflow-wrap:anywhere}.tour-totals dd{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:flex-end;gap:5px 10px;min-width:0;max-width:100%;margin:0;color:#eaf1e8;font-variant-numeric:tabular-nums}.tour-totals b{font-size:16px;font-weight:600}.tour-totals small{font-size:10px;color:#f0c990}.tour-total-met b{color:#b5e0bd}.tour-plan-note{margin:10px 0 0;font-size:11px;line-height:1.8;color:#aec9c6;overflow-wrap:anywhere}.tour-pending{margin:0 0 18px;padding:13px 15px;border:1px solid #f4bc6b66;border-radius:6px;background:#f4bc6b0c}.tour-pending b{display:block;color:#f3d09d;font-size:13px;line-height:1.7}.tour-pending p{margin:5px 0 0;font-size:11px;line-height:1.8;color:#d6e1db;overflow-wrap:anywhere}.tour-choices,.tour-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:14px;min-width:0}.tour-choice,.tour-profile{display:flex;flex-direction:column;min-width:0;height:auto;text-align:left;white-space:normal;overflow-wrap:anywhere;touch-action:pan-y;padding:16px;color:#edf4ec;border:1px solid #c3e0d23d;border-radius:8px;background:linear-gradient(135deg,#29493f,#1b343b)}.tour-choice{border-top:3px solid #f4bc6b}.tour-choice-gaps{border-top-color:#80cdd0;background:linear-gradient(135deg,#294448,#1b343b)}.tour-choice:hover,.tour-profile:hover{border-color:#c6e0bd;box-shadow:inset 0 0 0 1px #c6e0bd44}.tour-choice:focus-visible,.tour-profile:focus-visible{outline:3px solid #c6e0bd;outline-offset:2px}.tour-choice:disabled,.tour-profile:disabled,#tourAccept:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.tour-choice small,.tour-profile small{font-size:10px;line-height:1.7;letter-spacing:.08em;color:#b7d6ca}.tour-choice h3,.tour-profile h3{margin:8px 0;font-size:21px;line-height:1.5;letter-spacing:.02em}.tour-choice p,.tour-profile p{margin:0 0 12px;font-size:12px;line-height:1.8;color:#d1e0da;overflow-wrap:anywhere}.tour-choice .tour-weather{font-weight:700;color:#f3d09d;font-size:11px;line-height:1.7}.tour-choice-gaps .tour-weather{color:#a3dbdc}.tour-choice-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px dashed #d6e8df38;font-size:12px;font-weight:700;line-height:1.7;color:#e9e4c7}.tour-profile-target{font-size:11px;line-height:1.8;color:#f0d5aa;margin:0 0 14px;overflow-wrap:anywhere}.tour-profile .tour-choice-action{color:#c5e4c5}.tour-log,.tour-manage{border-top:1px solid #d6e8df26;margin-top:20px}.tour-log>summary,.tour-manage>summary{min-height:46px;padding:12px 0;cursor:pointer;touch-action:pan-y;font-size:12px;font-weight:700;line-height:1.8;color:#dfebe3}.tour-log>summary span{margin-left:8px;font-size:10px;font-weight:400;color:#9fbbb9}.tour-journal{padding-bottom:8px;min-width:0}.tour-journal h3{font-size:12px;color:#b4dec3;margin:12px 0 8px}.tour-archive{display:flex;align-items:baseline;justify-content:space-between;gap:5px 14px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid #d6e8df1c;font-size:12px;line-height:1.7}.tour-archive small{font-size:10px;color:#a8c4c0}.tour-archive strong{font-size:11px;font-weight:700;color:#f0d5aa}.tour-route-log{list-style:none;padding:0;margin:8px 0 14px}.tour-route-log li{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;flex-wrap:wrap;padding:7px 0;border-bottom:1px solid #d6e8df16;font-size:11px;line-height:1.8;color:#d0e0d8}.tour-route-log small{font-size:10px;color:#a8c4c0}.tour-storage{font-size:10px!important;line-height:1.8!important;color:#a8c4c0!important;margin:14px 0 0!important;overflow-wrap:anywhere}.tour-storage:empty{display:none}.tour-board-body>.tour-storage:first-child{margin:0 0 14px!important;padding:10px 12px;border:1px solid #f4bc6b66;border-radius:5px;font-size:12px!important;color:#f0d5aa!important;background:#f4bc6b0b}.tour-brief,.tour-result{min-width:0;margin:8px 0 16px;padding:14px 15px;border:1px solid #b4dec34a;border-left:3px solid #b4dec3;border-radius:6px;background:linear-gradient(120deg,#b4dec30e,#ffffff03)}.panel .tour-brief h2,.panel .tour-result h3{font-size:21px;line-height:1.5;margin:7px 0 8px;overflow-wrap:anywhere}.panel .tour-brief p,.panel .tour-result p{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.panel .tour-brief .tour-weather{color:#f0d5aa;margin:4px 0 9px;font-weight:700}.panel .tour-brief .tour-remaining{color:#b4dec3;margin:9px 0 0;padding-top:9px;border-top:1px solid #d6e8df20}.tour-result .tour-totals{margin:12px 0}.tour-result .tour-totals>div{font-size:11px}.tour-result .tour-totals b{font-size:14px}.tour-grade{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:40px;min-height:40px;border:1px solid #b9cbc955;border-radius:50%;color:#b9cbc9;font-size:13px;font-weight:700;background:#b9cbc90b}.tour-grade-1{border-color:#d6a97888;color:#e1b58a;background:#bd855918}.tour-grade-2{border-color:#d6e8ec99;color:#e2edf0;background:#d6e8ec18}.tour-grade-3{border-color:#f4bc6b99;color:#f8ce8d;background:#f4bc6b18}.tour-complete-head{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:10px}.tour-complete-head>div{min-width:0}.tour-complete-head h3{margin:0;font-size:22px;line-height:1.5}.tour-complete-head p{margin:3px 0 0;font-size:11px;line-height:1.8;color:#aec9c6}body:has(#tourBoard:not(.hidden)) :is(header,#hud,#map,#touch,#altBar,#ctlHint){display:none!important}.tour-active :is(#tagline,#rallyBrief,#placePicker,#modePicker,#startPicker,#placeIntro,#bestIntro,#bestDelete,#careIntro){display:none!important}.tour-active #result #goal{display:none}.tour-active .rally-result-actions{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px;background:none;box-shadow:none;padding:0}.tour-active #result .rally-result-actions .primary{min-width:0;min-height:48px;margin:0;padding:12px 10px;align-items:center;justify-content:center;gap:8px;font-size:13px;white-space:normal;overflow-wrap:anywhere}.tour-active #result #retry{background:#ffffff12;border:1px solid #ffffff55;color:#e9f1ef}@media(max-width:600px){.tour-screen{padding:calc(10px + var(--safe-top)) calc(10px + var(--safe-right)) calc(10px + var(--safe-bottom)) calc(10px + var(--safe-left))}.tour-board-head{padding:17px 17px 13px}.tour-board-head h2{font-size:25px}.tour-board-body{padding:14px 16px}.tour-board-foot{padding:10px 16px}.tour-choices,.tour-profiles{grid-template-columns:minmax(0,1fr);gap:12px}.tour-choice,.tour-profile{padding:14px}.tour-board-foot>button{padding:10px;font-size:12px}.tour-brief,.tour-result{padding:12px}.tour-log>summary span{display:block;margin-left:14px}.tour-archive{gap:3px 8px}}@media(max-width:420px){#tourBoard #tourProgress .tour-totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:0}#tourBoard #tourProgress .tour-totals>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:8px;border:1px solid #d6e8df26;border-radius:5px}#tourBoard #tourProgress .tour-totals dt{min-height:3.2em}#tourBoard #tourProgress .tour-totals dd{justify-content:flex-start;gap:2px 5px}#tourBoard #tourProgress .tour-plan-note{display:none}}@media(max-height:500px){.tour-screen{padding:calc(8px + var(--safe-top)) calc(16px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(16px + var(--safe-left))}.tour-board-head{padding:10px 17px}.tour-board-head h2{font-size:22px;margin:3px 0}.tour-board-head .tour-lede{display:none}.tour-board-body{padding:12px 16px}.tour-board-foot{padding:8px 16px}}@media(prefers-reduced-motion:reduce){.tour-choice,.tour-profile{transition:none}}body:has(#reduce:checked) :is(.tour-choice,.tour-profile){transition:none}
