:root{font-family:Onest,"Hiragino Sans","Yu Gothic UI",Meiryo,"Noto Sans JP",sans-serif;color:#1e2a2c;background:#ead79f;font-weight:600;font-synthesis:none;--cream:#fffaf0;--ink:#183338;--teal:#1f5c63;--orange:#d95a35;--shadow:0 8px 22px #503c1433;--hud-top:clamp(16px,calc(14.7svh - 74px),50px);--card-top:calc(var(--hud-top) + 52px);--bottom:max(20px,env(safe-area-inset-bottom),4svh)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:active:not(:disabled){transform:scale(.96)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d95a35;outline-offset:4px}button{transition:transform .12s,background .15s;border:0}a{color:var(--teal)}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:800;text-wrap:balance;overflow-wrap:anywhere}p{line-height:1.5;overflow-wrap:anywhere}[hidden]{display:none!important}.icon{display:inline-block;width:24px;height:24px;flex:none;vertical-align:middle}.num{font-family:Unbounded,sans-serif;font-weight:600;font-variant-numeric:tabular-nums}#game{position:relative;width:100%;height:100svh;overflow:hidden;isolation:isolate}#world{position:absolute;inset:0;width:100%;height:100%;z-index:-2;touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.world-shade{position:absolute;inset:0;background:#ead79f45;z-index:-1;pointer-events:none}#game[data-screen="fact"] .world-shade,#game[data-screen="perk"] .world-shade,#game[data-screen="verdict"] .world-shade{opacity:0}.hud{position:absolute;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));top:max(var(--hud-top),env(safe-area-inset-top));display:flex;align-items:center;gap:8px;z-index:5;pointer-events:none}.hud>*{pointer-events:auto}.hud-pill{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;background:var(--cream);border-radius:22px;box-shadow:0 3px 10px #503c1429;white-space:nowrap}.lives{gap:6px;color:var(--teal);padding:0 14px}.lives .icon{width:27px;height:22px}.lives .lost{opacity:.4;fill:none;stroke-dasharray:3 2;animation:lost .6s both}.hud-spacer{flex:1}.distance{font-size:16px;gap:5px}.pause-button{width:40px;padding:0;justify-content:center;min-width:40px}.pause-button .icon{width:19px}.resource-pill{padding:0 11px;font-size:13px}.resource-pill .icon{width:17px}.charge-bar{position:absolute;top:calc(var(--hud-top) + 45px);left:20px;display:flex;gap:5px;z-index:5;max-width:calc(100% - 40px);pointer-events:none}.charge{display:flex;align-items:center;gap:3px;font-size:11px;background:#fffaf0db;border-radius:10px;padding:3px 6px}.charge .icon{width:13px;height:13px}.fact-card{position:absolute;top:var(--card-top);left:16px;right:16px;border-radius:22px;background:var(--cream);padding:18px 20px;box-shadow:var(--shadow);animation:arrive .36s cubic-bezier(.2,.9,.3,1.15);z-index:3}.fact-card h2{font-size:25px;line-height:1.24;font-weight:700;text-wrap:balance}.fact-meta{display:flex;gap:6px;align-items:center;font-size:11px;color:#64736b;margin-bottom:7px}.topic-chip{display:inline-flex;align-items:center;gap:4px}.topic-chip .icon{width:13px;height:13px}.fact-count{margin-left:auto;white-space:nowrap}.fact-card .badge{display:inline-flex;align-items:center;gap:4px;margin-bottom:8px;font-size:14px;padding:5px 9px;border-radius:20px;background:#dcefe9;color:var(--teal)}.fact-card .badge .icon{width:15px;height:15px}.fact-card small{display:block;color:#68736b;font-size:13px;line-height:1.4;margin-top:8px}.branch-labels{position:absolute;top:27.25%;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:1fr 1fr;gap:8px;z-index:4}.branch-label{min-width:94px;max-width:132px;padding:0 9px;min-height:40px;border-radius:10px;background:var(--cream);border:2px solid #c9b993;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;font-weight:800;box-shadow:0 2px 3px #503c1429;text-transform:uppercase}.branch-label.false{background:var(--ink);color:var(--cream);border-color:var(--ink)}.branch-label .icon{width:16px;height:16px}.branch-label.perk-sign{flex-direction:column;text-transform:none;min-height:80px;min-width:89px;max-width:124px;padding:8px 6px;border:2px dashed #d9af55;font-size:12px}.perk-sign .icon{width:25px;height:25px}.timer{position:absolute;left:50%;top:44.8%;transform:translate(-50%,-50%);width:86px;height:86px;display:grid;place-items:center;border-radius:50%;background:var(--cream);box-shadow:0 5px 10px #503c1433;z-index:4;color:var(--ink)}.timer svg{position:absolute;inset:4px;width:78px;height:78px;transform:rotate(-90deg)}.timer .timer-base{fill:none;stroke:#eddfbf;stroke-width:8}.timer .timer-progress{fill:none;stroke:var(--orange);stroke-width:8;stroke-linecap:round;stroke-dasharray:214;stroke-dashoffset:0}.timer strong{font-size:24px}.timer.urgent{animation:pulse .7s infinite}.actions{position:absolute;left:16px;right:16px;bottom:var(--bottom);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;z-index:5}.answer-button{min-height:64px;border:2px solid #d9cba8;border-radius:20px;background:var(--cream);box-shadow:0 6px 16px #503c1433;display:flex;justify-content:center;align-items:center;gap:10px;padding:11px 10px;font-size:22px;font-weight:700;overflow-wrap:anywhere;line-height:1.15}.answer-button .icon{color:var(--teal)}.answer-button.false{background:var(--ink);border-color:var(--ink);color:var(--cream);box-shadow:0 6px 16px #14282d4d}.answer-button.false .icon{color:var(--cream)}.answer-button small{display:block;font-size:12px;font-weight:500;margin-top:5px;line-height:1.35;color:#60716d}.answer-button .perk-name{font-size:18px}.answer-button.perk-button{align-items:flex-start;text-align:left}.perk-button .icon{margin-top:3px;width:26px;height:26px}.skip-button{position:absolute;bottom:calc(var(--bottom) + 80px);left:50%;transform:translateX(-50%);height:46px;display:flex;align-items:center;gap:8px;padding:0 15px;border-radius:24px;background:var(--teal);color:var(--cream);font-size:16px;box-shadow:0 4px 12px #1432374d;z-index:5}.skip-button:active:not(:disabled){transform:translateX(-50%) scale(.96)}.skip-button .icon{width:17px;height:21px}.skip-button .count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:15px;background:var(--cream);color:var(--teal);font-size:14px}.key{display:none;font-family:Onest,sans-serif;font-size:11px;opacity:.6;font-weight:600}.streak{position:absolute;top:calc(var(--card-top) + 155px);left:50%;transform:translateX(-50%);background:var(--cream);color:var(--teal);border-radius:18px;padding:7px 12px;font-size:12px;box-shadow:0 3px 10px #503c1420;z-index:5;animation:pop .35s both}.verdict-card{position:absolute;left:16px;right:16px;bottom:calc(var(--bottom) + 48px);padding:16px 18px 18px;border-radius:22px;background:var(--cream);box-shadow:var(--shadow);z-index:6;animation:arrive .4s both;--tone:#3f7d55}.verdict-next{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#fffaf0e6;border-radius:20px;padding:10px 24px;min-height:44px;z-index:7;font-size:13px}.verdict-next:active{transform:translateX(-50%) scale(.96)!important}.loss-toast{position:absolute;left:50%;top:calc(var(--hud-top) + 62px);transform:translateX(-50%);background:#b3432a;color:white;border-radius:24px;padding:12px 16px;box-shadow:0 6px 16px #7828144d;font-size:17px;display:flex;gap:8px;align-items:center;z-index:6;white-space:nowrap}.loss-toast.saved{background:var(--teal)}.route-options{position:absolute;top:calc(var(--card-top) + 150px);bottom:calc(var(--bottom) + 16px);left:16px;right:16px;display:flex;flex-direction:column;justify-content:center;gap:12px;z-index:5}.route-choice{display:flex;gap:16px;align-items:center;min-height:72px;padding:15px 22px;border-radius:20px;background:var(--cream);border:2px solid #d9cba8;box-shadow:var(--shadow);font-size:21px;font-weight:700}.route-choice .key{margin-left:auto}.route-choice .icon{width:30px;height:30px}.home{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;padding:max(24px,env(safe-area-inset-top)) 20px 12px;overflow:hidden;gap:12px}.home-top{align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:10px}.language-select{border:0;border-radius:22px;background:var(--cream);padding:11px 12px;max-width:170px;min-height:44px;box-shadow:0 3px 10px #503c1420;font-size:13px}.home-tools{display:flex;gap:8px}.icon-button{display:grid;place-items:center;border:0;width:44px;height:44px;border-radius:50%;background:var(--cream);box-shadow:0 3px 10px #503c1420}.home-main{width:min(100%,420px);text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;margin:auto 0 0}.logo{font-family:Unbounded,sans-serif;font-size:clamp(34px,9.5vw,52px);letter-spacing:-2.5px;font-weight:700;line-height:1.13;color:var(--ink);text-shadow:0 3px #fffaf080}.logo span{color:var(--orange);display:block}.home h1{font-size:19px;line-height:1.3;max-width:340px}.home .pitch{font-size:14px;max-width:290px;color:#3f5650}.primary{min-height:56px;border-radius:18px;background:var(--ink);color:var(--cream);font-weight:800;font-size:18px;padding:15px 24px;box-shadow:0 6px 16px #14282d33;display:flex;align-items:center;justify-content:center;gap:10px}.home .primary{width:100%;min-height:62px;font-size:22px;background:var(--orange)}.secondary{min-height:48px;border:2px solid #d9cba8;border-radius:16px;background:var(--cream);padding:11px 16px;font-size:14px;font-weight:700;display:flex;justify-content:center;align-items:center;gap:8px}.home-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.home-best{font-size:12px;padding:10px 16px;border-radius:20px;background:#fffaf0d9;display:flex;align-items:center;gap:9px}.home-best strong{font-size:15px}.catalog-badge{display:block;width:fit-content;margin:6px auto 0;border-radius:10px;flex:none}.catalog-badge img{display:block;max-width:100%;height:56px}.catalog-badge:hover,.catalog-badge:focus-visible{filter:brightness(1.08)}#start-extras{width:min(100%,520px);display:flex;flex-direction:column;gap:12px;min-height:110px;max-height:170px;flex:1;margin-bottom:0}#game:not([data-screen="start"])>#start-extras{position:absolute;bottom:20px;left:50%;transform:translateX(-50%)}.seo-copy{overflow:auto;font-size:11px;text-align:center;line-height:1.5;padding:0 10px 15px;scrollbar-width:thin;color:#4e6256;min-height:25px}.seo-copy p{margin-bottom:8px}.seo-copy nav{display:flex;gap:8px 16px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}.side-panel{display:none;position:absolute;top:145px;width:235px;padding:20px;border-radius:22px;background:#fffaf0e8;box-shadow:var(--shadow);max-height:calc(100% - 190px);overflow:auto;z-index:4}.side-panel h3{font-size:16px;margin-bottom:15px}.perks-panel{left:24px}.board-panel{right:24px}.perk-row{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:12px}.perk-row .icon{width:22px;height:22px}.perk-row strong{display:block;font-size:13px}.perk-row small{display:block;font-size:11px;font-weight:500;line-height:1.4;margin-top:3px;color:#69776f}.dialog-backdrop{position:absolute;inset:0;z-index:20;background:#18333865;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}.dialog{position:relative;background:var(--cream);box-shadow:0 18px 60px #1833384d;border-radius:26px;padding:28px;width:min(100%,460px);max-height:calc(100svh - 40px);overflow:auto;animation:arrive .3s both}.dialog h2{font-size:26px;margin:5px 35px 12px 0;line-height:1.2}.dialog p{font-size:14px;color:#5b6d64;margin-bottom:18px}.dialog .close{position:absolute;right:15px;top:15px;width:40px;height:40px;background:#eceddc;box-shadow:none}.dialog .primary,.dialog .secondary{width:100%;margin-top:12px}.dialog .stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.stat{border-radius:16px;background:#e9e5d2;padding:15px 10px;text-align:center;font-size:12px}.stat strong{display:block;font-size:19px;margin-bottom:6px}.run-over{position:absolute;inset:0;background:#ead79f55;display:flex;align-items:center;justify-content:center;padding:20px;z-index:8}.run-over .dialog{text-align:center}.run-over h2{margin:0 0 9px}.run-distance{font-size:clamp(27px,7vw,40px);color:var(--teal);margin:16px 0}.run-over .summary{font-size:13px;margin:12px 0}.perk-collection{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:10px 0}.perk-collection span{display:flex;align-items:center;gap:3px;padding:5px 7px;background:#eeead8;border-radius:12px;font-size:10px}.perk-collection .icon{width:14px;height:14px}.run-over .small-link{margin-top:10px;min-height:44px;padding:10px;background:none;color:#536b63;font-size:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:58px;border-bottom:1px solid #e1d7bb;font-size:14px}.setting-row input[type="checkbox"]{appearance:none;width:44px;height:26px;border-radius:15px;background:#d6cfba;position:relative;flex:none;cursor:pointer}.setting-row input[type="checkbox"]:after{content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:var(--cream);left:3px;top:3px;transition:left .2s}.setting-row input:checked{background:var(--teal)}.setting-row input:checked:after{left:21px}.danger{color:#b3432a}.dialog .text-input{width:100%;min-height:48px;border:2px solid #d9cba8;border-radius:12px;padding:10px;background:#fffdf5;margin:5px 0}.dialog label{font-size:13px}.dialog .name-error{color:#b3432a;font-size:12px;min-height:20px;margin:5px 0}.tabs{display:flex;gap:8px;margin:18px 0}.tabs button{flex:1;min-height:44px;border-radius:14px;background:#ece7d1}.tabs button[aria-selected="true"]{background:var(--teal);color:var(--cream)}.how-list{padding-left:22px;margin:16px 0;font-size:14px}.how-list li{padding-left:4px;margin:12px 0;line-height:1.5}.dialog .keyboard-guide{font-size:11px;border-radius:12px;background:#ece7d1;padding:12px;margin-top:16px}#toast{position:absolute;left:50%;top:max(8px,env(safe-area-inset-top));transform:translateX(-50%);padding:9px 16px;line-height:1.35;border-radius:24px;background:var(--ink);color:var(--cream);font-size:13px;z-index:40;box-shadow:var(--shadow);max-width:90%;text-align:center;pointer-events:none}.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#ead79f;z-index:10;font-size:18px}.loading .icon{width:44px;height:44px}.is-paused #run-view,.is-paused #world{filter:blur(7px)}.reduced *{animation-duration:.001ms!important;transition:none!important;scroll-behavior:auto!important}
#run-view{position:absolute;inset:0}
button{position:relative}button:before{content:"";position:absolute;inset:-5px;pointer-events:auto}
#station-marker{position:absolute;transform:translate(-50%,-50%);font-size:8px;line-height:1;font-weight:800;pointer-events:none;white-space:nowrap;z-index:0}
.perk-leaving{animation:perk-fade .65s .2s both;pointer-events:none}.perk-leaving .picked{animation:perk-picked .5s both;opacity:1}
.perk-flight{position:absolute;left:0;top:0;z-index:12;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--cream);box-shadow:0 3px 12px #503c1433;pointer-events:none}.perk-flight .icon{width:24px;height:24px}
@media(max-width:599px) and (min-height:501px){#game[data-charges="true"]{--card-top:calc(var(--hud-top) + 78px)}.distance{font-size:clamp(11px,calc(22px - var(--characters,4)*1px),16px)}.branch-label.perk-sign span{max-width:100%;overflow-wrap:anywhere;line-height:1.2}}
@media(min-height:501px){.streak{top:44.8%;left:calc(50% + 55px);transform:translateY(-50%);max-width:calc(50% - 60px)}}
@keyframes perk-picked{50%{scale:1.15;box-shadow:0 0 0 8px #e5bd5d55}}@keyframes perk-fade{to{opacity:0}}
@keyframes arrive{from{opacity:0;translate:0 16px;scale:.97}to{opacity:1;translate:0 0;scale:1}}@keyframes pop{0%{scale:.7}65%{scale:1.15}100%{scale:1}}@keyframes pulse{50%{box-shadow:0 0 0 7px #d95a3522,0 5px 10px #503c1433}}@keyframes lost{from{opacity:1;transform:scale(1.2)}to{opacity:.4;transform:scale(1)}}
@media(min-width:600px){.hud{left:24px;right:24px}.fact-card,.verdict-card{left:50%;right:auto;width:min(600px,calc(100% - 56px));transform:translateX(-50%);padding:22px 26px}.fact-card h2{font-size:28px}.actions{left:50%;right:auto;width:min(600px,calc(100% - 56px));transform:translateX(-50%)}.answer-button{min-height:70px}.home{gap:18px;padding:30px}.home-main{gap:18px;margin:auto 0 0}.home h1{font-size:22px}.home .pitch{font-size:16px;max-width:360px}.home .logo{font-size:56px}.home #start-extras{max-height:180px;min-height:130px}.route-options{left:50%;right:auto;transform:translateX(-50%);width:460px}.key{display:inline}.answer-button .key{margin-left:6px}.skip-button .key{margin-left:5px}.charge-bar{left:30px}.branch-labels{top:28%}}
@media(min-width:1200px) and (min-height:501px){.perks-panel{display:block}.board-panel:not([hidden]){display:block}.hud{left:30px;right:30px}.fact-card{top:50px}.charge-bar{top:100px}.streak{top:230px}.home{padding:30px 40px}.home-main{margin-top:auto}.home .logo span{display:inline}.home-main{width:460px}.home .logo{font-size:54px;white-space:nowrap}.home h1{max-width:450px}.home #start-extras{max-height:185px;min-height:130px}.route-options{top:220px;bottom:100px}}
@media(max-width:389px){.hud{gap:5px;left:12px;right:12px}.hud-pill{padding:0 9px}.lives{padding:0 10px;gap:3px}.lives .icon{width:23px}.distance{font-size:13px}.pause-button{width:36px;min-width:36px;padding:0}.resource-pill{font-size:12px;padding:0 8px}.fact-card{left:12px;right:12px;padding:15px 18px}.fact-card h2{font-size:22px}.fact-meta{font-size:10px;margin-bottom:5px}.answer-button{font-size:21px;min-height:60px}.answer-button .perk-name{font-size:16px}.answer-button small{font-size:11px}.home{padding:16px 18px 10px;gap:8px}.home-main{gap:10px}.home h1{font-size:17px}.home .pitch{font-size:12px}.home .logo{font-size:34px}.home .primary{min-height:52px;font-size:20px}.home-links .secondary{min-height:44px;font-size:12px}.home-best{padding:7px 13px}.home #start-extras{min-height:105px;max-height:130px;gap:8px}.home .catalog-badge{margin-top:0}.catalog-badge img{height:48px;width:189px}.timer{width:74px;height:74px}.timer svg{width:66px;height:66px}.timer strong{font-size:21px}.branch-labels{top:29%}.branch-label{min-width:84px;min-height:36px;font-size:12px}.branch-label.perk-sign{min-height:65px;font-size:11px}.streak{top:calc(var(--card-top) + 135px)}.verdict-card .verdict-why{font-size:15px}.answer-chip{font-size:17px}.dialog{padding:22px}.dialog h2{font-size:23px}.run-distance{margin:10px 0}.dialog .stat-grid{margin:12px 0}.stat{padding:10px 7px}.run-over .summary{margin:8px 0}.run-over .primary,.run-over .secondary{min-height:44px;margin-top:8px;padding:10px}.run-over .perk-collection{max-height:55px;overflow:auto}}
@media(max-height:500px){:root{--hud-top:8px;--card-top:54px;--bottom:12px}.hud{top:max(8px,env(safe-area-inset-top));left:12px;right:12px;gap:6px}.hud-pill{min-height:32px;font-size:12px}.pause-button{min-width:44px;min-height:36px}.fact-card{left:18px;right:auto;top:60px;transform:none;width:calc(50% - 44px);padding:15px 18px;border-radius:18px;max-height:calc(100% - 150px);overflow:auto}.fact-card h2{font-size:20px}.fact-meta{font-size:10px}.fact-card small{font-size:11px}.actions{left:18px;right:auto;width:calc(50% - 44px);bottom:12px;transform:none;gap:8px}.answer-button{min-height:52px;font-size:18px;border-radius:16px;padding:8px}.answer-button .icon{width:20px;height:20px}.answer-button small{font-size:10px}.answer-button .perk-name{font-size:13px}.key{display:none}.skip-button{left:calc(25% - 4px);bottom:74px;height:40px;font-size:13px}.timer{left:68%;top:48%;width:70px;height:70px}.timer svg{width:62px;height:62px}.timer strong{font-size:20px}.branch-labels{left:68%;top:18%;gap:8px}.branch-label{min-height:34px;min-width:80px;font-size:11px}.branch-label.perk-sign{min-height:60px;font-size:10px;min-width:80px}.branch-label.perk-sign .icon{width:20px;height:20px}.charge-bar{top:45px;left:auto;right:12px}.streak{top:auto;bottom:18px;left:68%;font-size:11px}.verdict-card{left:18px;right:auto;top:60px;bottom:auto;width:calc(50% - 44px);transform:none;padding:13px 15px;max-height:calc(100% - 128px);overflow:auto}.verdict-card .verdict-why{font-size:14px}.verdict-head h2{font-size:16px}.verdict-card .verdict-answer{margin:8px 0 7px}.answer-chip{font-size:16px;min-height:36px}.verdict-next{left:25%;bottom:24px}.loss-toast{top:45px;left:68%;font-size:13px;padding:8px 12px}.home{display:grid;grid-template-columns:1fr 1fr;gap:12px 35px;padding:12px 28px}.home-top{grid-column:1 / -1}.home-main{margin:0 auto;gap:8px;grid-column:1;grid-row:2 / 4;align-self:center}.home .logo{font-size:30px;letter-spacing:-1.5px}.home .logo span{display:inline}.home h1{font-size:15px}.home .pitch{font-size:12px}.home .primary{min-height:46px;font-size:18px}.home-links .secondary{min-height:40px;font-size:12px;padding:8px}.home .home-best{font-size:11px;padding:6px 10px}.home .home-best strong{font-size:12px}.home #start-extras{grid-column:2;grid-row:2 / 4;align-self:center;max-height:250px;height:100%;width:100%;margin:0;justify-content:center;flex:none;gap:12px}.home .catalog-badge{margin:0 auto}.home .seo-copy{max-height:145px;font-size:10px}.route-options{left:18px;right:auto;width:calc(50% - 44px);transform:none;top:155px;bottom:10px;gap:8px}.route-choice{min-height:45px;font-size:15px;padding:8px 15px;border-radius:14px}.route-choice .icon{width:22px;height:22px}.dialog{max-height:calc(100svh - 24px);padding:22px}.dialog-backdrop{padding:12px}.run-over .dialog{width:min(720px,100%);display:grid;grid-template-columns:1fr 1fr;gap:4px 22px;padding:20px 26px}.run-over .over-main{grid-column:1;grid-row:1/8;align-self:center}.run-over .over-actions{grid-column:2;align-self:center}.run-over .primary,.run-over .secondary{min-height:42px;margin-top:7px;padding:9px;font-size:13px}.run-distance{margin:9px 0;font-size:28px}.dialog .stat-grid{margin:10px 0}.stat{padding:9px}.stat strong{font-size:16px}.run-over h2{font-size:23px}.run-over p{font-size:12px;margin-bottom:9px}.run-over .summary{font-size:11px;margin:7px 0}.perk-collection{max-height:50px;overflow:auto}.side-panel{display:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}button{transition:none}.fact-card,.dialog,.verdict-card,.streak,.timer,.lives .lost{animation:none}}
.verdict-card.is-wrong,.verdict-card.is-timeout{--tone:#b3432a}.verdict-card.is-skip{--tone:var(--teal)}
.verdict-head{display:flex;align-items:center;gap:10px}.verdict-mark{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--tone);color:var(--cream)}.verdict-mark .icon{width:17px;height:17px;stroke-width:3}.verdict-head h2{flex:1;font-size:18px;line-height:1.2;color:var(--tone)}.verdict-gain{flex:none;font-size:12px;color:#3f544f;background:#efe9d6;border-radius:12px;padding:5px 9px;white-space:nowrap}
.verdict-card .verdict-answer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:13px 0 11px;font-size:15px;font-weight:600;line-height:1.3;color:#44575a}
.answer-chip{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:6px 16px 6px 12px;border-radius:13px;color:var(--cream);font-family:Unbounded,"Hiragino Sans","Yu Gothic UI",Meiryo,"Noto Sans JP",sans-serif;font-weight:700;font-size:19px;letter-spacing:.03em;text-transform:uppercase;box-shadow:0 3px 8px #503c1426}.answer-chip .icon{width:19px;height:19px;stroke-width:3.2}.answer-chip.true{background:#3f7d55}.answer-chip.false{background:#b3432a}
.verdict-card .verdict-why{font-size:16px;font-weight:500;line-height:1.45;color:#3a4c4f}
#distance{display:inline-flex;align-items:center;height:1.3em;line-height:1.3em}.odo-cell{display:inline-block;height:1.3em;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)}.odo-wheel{display:flex;flex-direction:column;will-change:transform}.odo-wheel>span{display:block;height:2.1em;line-height:2.1em;text-align:center}.odo-char{white-space:pre}
.dialog .over-rank{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;padding:8px 16px;border-radius:18px;background:var(--teal);color:var(--cream);font-size:16px;font-weight:800}.over-rank .icon{width:18px;height:18px}.over-best{font-size:12px;color:#53655b;display:flex;gap:6px;justify-content:center;align-items:center}.over-best .icon{width:15px;height:15px;color:#c9902f}
.board-list{list-style:none;margin:0;padding:0}.board-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 8px;border-bottom:1px solid #e3d8bb;font-size:14px}.board-row .rank{font-size:12px;color:#5c6e66;text-align:center}.board-row .name{min-width:0}.board-row .player{display:block;font-weight:700;overflow-wrap:anywhere}.board-row em{font-style:normal;font-size:10px;font-weight:800;color:var(--cream);background:var(--teal);border-radius:8px;padding:2px 6px;margin-left:3px;vertical-align:1px}.board-row small{display:block;color:#68776f;font-size:11px;font-weight:500;margin-top:2px}.board-row strong{font-size:13px;white-space:nowrap}.board-row.you{background:#e3efe9;border-radius:12px;border-bottom-color:transparent}.board-gap{text-align:center;color:#9aa49c;letter-spacing:3px;line-height:1;padding:4px 0}
.dialog .board-rank{display:flex;gap:8px;align-items:center;justify-content:center;margin:16px 0 0;font-weight:800;color:var(--teal);font-size:15px}.board-rank .icon{width:18px;height:18px}.dialog .board-note{margin:18px 0}
.board-panel h3{margin-bottom:8px}.compact .board-row{grid-template-columns:22px minmax(0,1fr) auto;gap:6px;padding:8px 4px;font-size:12px}.compact .board-row strong{font-size:11px}.compact .board-row em{display:none}
.home-top{flex-wrap:wrap}.language-banner{display:flex;align-items:center;gap:6px;min-height:44px;padding:3px 4px 3px 12px;border-radius:22px;background:#fffaf0e6;box-shadow:0 3px 10px #503c1420;font-size:13px;font-weight:700}.language-banner a{display:flex;align-items:center;gap:7px;color:var(--teal);text-decoration:none;padding:8px 2px}.language-banner a>.icon{width:18px;height:18px}.banner-close{width:34px;height:34px;border-radius:50%;background:#efe9d6;display:grid;place-items:center}.banner-close .icon{width:13px;height:13px}
@media(max-width:599px){.language-banner{order:3;flex-basis:100%;justify-content:center}}
@media(max-height:500px){.language-banner{min-height:36px;font-size:12px}.banner-close{width:30px;height:30px}}

/* Start screen: logo, SEO h1 and pitch sit on a cream card, the scenery never runs through the text; same for the SEO copy */
.home-title{align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 18px 16px;border-radius:24px;background:#fffaf0eb;box-shadow:0 6px 18px #503c1424}.home .seo-copy{background:#fffaf0d9;border-radius:16px;padding:10px 12px 12px}
@media(min-width:600px){.home-title{gap:10px;padding:18px 26px 20px}}
@media(max-width:389px){.home-title{gap:5px;padding:10px 14px 12px;border-radius:20px}}
@media(max-height:500px){.home-title{gap:4px;padding:8px 14px 10px;border-radius:18px}}

/* Toasts never sit on the HUD row or a dialog: phones show them under the HUD (and its charge bar), the start screen at the bottom */
@media(max-width:599px){#game:is([data-screen="fact"],[data-screen="perk"],[data-screen="verdict"],[data-screen="route"]) #toast{top:calc(var(--hud-top) + 72px)}
#game:has(.loss-toast) #toast{top:calc(var(--hud-top) + 116px)}}
#game[data-screen="start"] #toast{top:auto;bottom:max(16px,env(safe-area-inset-bottom))}

/* Leaderboard rows: details keep each part on one line, phones give the name more room */
.board-row small span{white-space:nowrap}
@media(max-width:439px){.dialog-board{padding:22px 16px}
.board-row{grid-template-columns:24px minmax(0,1fr) auto;gap:6px;padding:9px 5px;font-size:13px}
.board-row strong{font-size:12px}}

/* Japanese wraps between phrases (BudouX in Chrome), not in the middle of a word */
:root:lang(ja){word-break:auto-phrase}
