#game-view{max-width:1500px;margin:auto;padding:18px 4% 0}.game-top{align-items:center;gap:16px;padding:0 0 16px;display:flex}.game-top>div:nth-child(2){flex:1}.game-top span{font-size:15px;font-weight:800}.game-top small{color:#607269;margin-top:5px;font-size:11px;display:block}#world{background:#deeadb;border:1px solid #173d382b;border-radius:24px;width:100%;height:min(64svh,720px);min-height:340px;position:relative;overflow:hidden;box-shadow:0 7px #173d3812}#world canvas{touch-action:none;display:block}.touch-controls{align-items:center;gap:20px;max-width:850px;margin:20px auto 0;display:flex}.touch-zone{text-align:left;touch-action:none;-webkit-user-select:none;user-select:none;background:#fffaf0;border:1px solid #173d382b;border-radius:18px;flex:1;align-items:center;gap:15px;min-height:75px;padding:14px 19px;display:flex}.touch-zone.pip{background:#f8e0d4}.touch-zone.luma{background:#d9ebe2}.touch-zone.active{transform:translateY(3px);box-shadow:inset 0 3px #173d381c}.keycap{background:#fff9;border:1px solid #173d3838;border-bottom-width:3px;border-radius:9px;place-items:center;width:38px;height:38px;font-size:16px;font-weight:800;display:grid}.touch-zone strong{font-size:14px;display:block}.touch-zone small{color:#547366;margin-top:4px;font-size:10px;display:block}.jump-arrow{margin-left:auto;font-size:26px}.touch-divider{color:#b38e4b;font-size:30px}.game-footer{text-align:center;color:#607269;margin:15px 0 20px;font-size:11px}@media (max-width:650px){#game-view{padding:12px 3% 0}.game-top{gap:9px;padding-bottom:12px}.game-top span{font-size:12px}.game-top small{max-width:210px;font-size:9px;line-height:1.4}#world{border-radius:18px;height:calc(100svh - 280px);min-height:350px;max-height:700px}.touch-controls{gap:8px;margin:17px auto 0}.touch-zone{border-radius:14px;gap:10px;min-height:73px;padding:11px 12px}.keycap{width:30px;height:34px}.touch-zone small{font-size:9px}.touch-divider{display:none}.jump-arrow{font-size:20px}.game-footer{margin:13px 7%;font-size:10px;line-height:1.6}body.in-game .topbar{padding:0 4%}}@media (max-height:550px) and (orientation:landscape){body.in-game .topbar{display:none}#game-view{padding:5px 3% 0}.game-top{height:43px;padding:0 0 5px}.game-top small{display:none}#world{border-radius:13px;height:calc(100svh - 135px);min-height:150px}.touch-controls{max-width:650px;margin-top:8px}.touch-zone{min-height:58px;padding:8px 18px}.touch-zone small,.game-footer{display:none}.keycap{height:30px}}:root{color:#173d38;font-synthesis:none;--ink:#173d38;--muted:#54736a;--cream:#fffaf0;--coral:#ed795e;--mint:#bce5d2;background:#f5f5e9;font-family:ui-rounded,Trebuchet MS,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,#world:focus-visible{outline-offset:5px;outline:3px solid #b35d2c}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{z-index:2;background:#f5f5e9;border-bottom:1px solid #173d3814;justify-content:space-between;align-items:center;height:106px;padding:0 5.5%;display:flex;position:relative}.brand{letter-spacing:-1.2px;align-items:center;gap:12px;font-size:28px;font-weight:800;display:flex}.brand small{letter-spacing:2px;margin-top:4px;font-size:9px;font-weight:600;display:block}.brand-mark{background:var(--ink);color:#c7e4ba;border-radius:16px;place-items:center;width:49px;height:49px;font-family:Georgia,serif;font-size:40px;display:grid;transform:rotate(-12deg)}.top-actions{align-items:center;gap:12px;display:flex}.local-note{color:var(--muted);margin-right:16px;font-size:12px}.icon-button{background:#fffaf085;border:1px solid #173d3825;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;font-size:23px;display:grid;position:relative}.sound-dot{background:#bb6d54;border-radius:50%;width:6px;height:6px;position:absolute;top:9px;right:9px}.icon-button[aria-pressed=true] .sound-dot{background:#53977b}.menu-view{height:calc(100svh - 255px);min-height:660px;max-height:900px;position:relative;overflow:hidden}.hero-art{background:url(/game-assets/twin-trail/releases/2026.10.29.migration.6/art/hero.webp) 50% 54%/cover no-repeat;position:absolute;inset:0}.hero-wash{background:linear-gradient(90deg,#f5f5e9 0%,#f5f5e9f2 20%,#f5f5e9b8 36%,#f5f5e900 65%),linear-gradient(#0000 75%,#173d3820);position:absolute;inset:0}.hero-copy{z-index:1;width:57%;padding:70px 0 100px 7.5%;position:relative}.eyebrow{letter-spacing:2.2px;align-items:center;gap:8px;font-size:10px;font-weight:800;display:inline-flex}.tiny-leaf{background:#74936d;border-radius:10px 0;width:10px;height:15px;display:inline-block;transform:rotate(20deg)}h1{letter-spacing:-3px;margin:25px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(48px,5.4vw,84px);font-weight:500;line-height:1.02}h1 em{color:#537d61;font-weight:500}.intro{color:#466056;margin:24px 0 30px;font-size:16px;line-height:1.75}.play-actions{flex-wrap:wrap;gap:13px;display:flex}.button{border:1px solid #0000;border-radius:13px;justify-content:space-between;align-items:center;gap:25px;min-height:52px;padding:17px 23px;font-size:14px;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex}.button.primary{background:var(--coral);color:#203e33;border-color:#c8674d;box-shadow:0 4px #b35e48}.button.secondary{background:#fffaf0d9;border-color:#173d3830;box-shadow:0 3px #173d3814}.button:hover{transform:translateY(-2px)}.button:active{box-shadow:none;transform:translateY(2px)}.mini-stars{color:#c39745;font-size:20px}.status-note{color:#617669;font-size:12px;line-height:1.6}.hero-copy .status-note{max-width:350px;min-height:16px;font-size:10px}.trail-caption{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);letter-spacing:1.5px;background:#fffaf0d9;border:1px solid #fff9;border-radius:18px;padding:12px 20px;font-size:11px;font-weight:800;position:absolute;bottom:110px;right:8%;box-shadow:0 6px 20px #173d3812}.caption-dot{border-radius:50%;width:9px;height:9px;margin-right:5px;display:inline-block}.caption-dot.coral{background:#ed795e}.caption-dot.mint{background:#74bba7}.caption-link{color:#ad8543;margin:0 15px;font-size:20px}.trail-caption small{letter-spacing:0;text-align:center;margin-top:6px;font-size:11px;font-weight:400;display:block}.menu-bottom{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f5f5e9d9;border-top:1px solid #173d3814;justify-content:space-between;align-items:center;padding:22px 5.5%;display:flex;position:absolute;bottom:0;left:0;right:0}.chapter-tag{letter-spacing:2px;font-size:9px;font-weight:800}.chapter-tag span{color:#58705f;border-left:1px solid #173d3830;margin-left:16px;padding-left:16px;font-weight:500}.text-button{background:0 0;border:0;min-height:44px;padding:8px;font-size:12px;font-weight:700}.text-button span{margin-left:20px}.feature-strip{background:#eef1e4;border-top:1px solid #173d3814;border-bottom:1px solid #173d3814;grid-template-columns:repeat(3,1fr);gap:32px;padding:28px 6%;display:grid}.feature-strip article{align-items:center;gap:20px;display:flex}.feature-strip h2{margin:0 0 7px;font-size:14px;font-weight:800}.feature-strip p{color:#607269;margin:0;font-size:11px;line-height:1.6}.feature-icon{color:#5b7a5c;background:#f7f6e9;border:1px solid #173d3826;border-radius:16px;flex-shrink:0;place-items:center;min-width:65px;height:52px;font-size:30px;display:grid}.feature-icon:first-child{font-weight:600}.feature-strip article:first-child .feature-icon{justify-content:center;gap:5px;font-size:15px;display:flex}.feature-icon span{color:#8ba183;font-size:11px}.site-footer{color:#6d7a6b;justify-content:space-between;gap:15px;padding:20px 5.5%;font-size:10px;display:flex}.footer-leaf{margin-left:15px;font-size:18px}dialog{width:calc(100% - 32px);max-width:460px;color:var(--ink);background:#fffaf0;border:1px solid #173d3830;border-radius:26px;padding:30px;box-shadow:0 25px 100px #123d3830}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#153a3377}dialog h2{letter-spacing:-1px;margin:18px 0;font-family:Georgia,serif;font-size:36px;font-weight:500}dialog p{color:#547366;font-size:14px;line-height:1.8}.dialog-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.dialog-heading .eyebrow{font-size:8px}.setting-row{border-bottom:1px solid #173d3814;justify-content:space-between;align-items:center;padding:20px 0;font-size:14px;display:flex}.setting-row input[type=checkbox]{accent-color:#537d61;width:24px;height:24px}.setting-row input[type=range]{accent-color:#537d61;width:140px}dialog .button{width:100%;margin-top:18px}.overlay-leaf{text-align:center;color:#89a16d;font-size:54px}#overlay{text-align:center}.overlay-actions{flex-direction:column;display:flex}.overlay-actions .button{justify-content:center;margin-top:12px}.instructions{padding-left:20px;font-size:14px;line-height:1.8}.instructions li{padding:7px 0}.instructions strong{display:block}body.in-game .topbar{height:76px}body.in-game .feature-strip,body.in-game .site-footer{display:none}@media (min-width:1700px){.hero-copy{padding-left:12%}.topbar,.menu-bottom{padding-left:10%;padding-right:10%}}@media (max-width:1000px){.local-note{display:none}.topbar{height:86px}.menu-view{height:auto;min-height:710px}.hero-copy{width:65%;padding-top:65px}.hero-copy h1{font-size:65px}.hero-wash{background:linear-gradient(90deg,#f5f5e9 0%,#f5f5e9e0 30%,#f5f5e970 55%,#0000 85%)}.trail-caption{bottom:100px;right:5%}.feature-strip{gap:20px;padding:24px 5%}.feature-strip article{gap:12px}.feature-icon{min-width:45px}}@media (max-width:650px){.topbar{height:80px;padding:0 6%}.brand{gap:9px;font-size:24px}.brand small{letter-spacing:1.5px;font-size:7px}.brand-mark{border-radius:12px;width:40px;height:40px;font-size:33px}.top-actions{gap:7px}.icon-button{width:42px;height:42px}.menu-view{flex-direction:column;height:auto;min-height:920px;display:flex}.hero-art{background-color:#f5f5e9;background-position:62% 280px;background-repeat:no-repeat;background-size:auto 600px}.hero-wash{background:linear-gradient(#f5f5e9 0% 26%,#f5f5e970 44%,#0000 62%,#f5f5e900 88%,#f5f5e9 96%)}.hero-copy{width:100%;padding:38px 7% 0}.eyebrow{letter-spacing:1.4px;font-size:8px}.hero-copy h1{letter-spacing:-2px;margin:21px 0;font-size:58px;line-height:1.02}.hero-copy h1 br:nth-child(2){display:none}.intro{margin:17px 0 24px;font-size:14px;line-height:1.65}.desktop-break{display:none}.play-actions{gap:11px}.button{gap:17px;min-height:52px;padding:15px 17px;font-size:13px}.hero-copy .status-note{max-width:310px;font-size:9px}.trail-caption{padding:10px 16px;font-size:9px;bottom:100px;right:7%}.trail-caption small{font-size:10px}.menu-bottom{min-height:75px;padding:16px 6%}.chapter-tag{letter-spacing:1px;font-size:8px}.chapter-tag span{border:0;margin:7px 0 0;padding:0;font-size:8px;display:block}.feature-strip{grid-template-columns:1fr;gap:22px;padding:30px 7%}.feature-strip article{gap:18px}.feature-icon{width:55px}.feature-strip p{font-size:12px}.site-footer{flex-direction:column;gap:10px;padding:20px 7%;font-size:9px}dialog{padding:24px}.topbar .icon-button{width:40px;height:40px}body.in-game .topbar{height:68px}body.in-game .brand small{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}body.reduced-motion *,body.reduced-motion :before{transition:none!important;animation:none!important}.mode-select{gap:10px;max-width:380px;display:flex}.mode-button{text-align:left;background:#fffaf0c9;border:1px solid #173d3830;border-radius:14px;flex:1;align-items:center;gap:13px;min-height:64px;padding:13px 16px;display:flex}.mode-button>span{color:#52745e;white-space:nowrap;font-size:21px}.mode-button strong{font-size:13px;display:block}.mode-button small{color:#547366;white-space:nowrap;margin-top:5px;font-size:9px;font-weight:500;display:block}.mode-button.selected{background:#e5eddad9;border:2px solid #658565;padding:12px 15px;box-shadow:0 3px #173d3814}.mode-description{color:#547366;max-width:360px;margin:13px 0 21px;font-size:10px;line-height:1.6}.best-card{letter-spacing:1.5px;color:#688070;align-items:center;gap:11px;margin-left:5px;font-size:8px;display:flex}.best-card strong{color:#173d38;letter-spacing:0;margin-top:3px;font-family:Georgia,serif;font-size:22px;display:block}.distance-hud{text-align:right;min-width:100px}.distance-hud strong{font-size:23px}.distance-hud small{letter-spacing:1px;font-size:9px}.solo-controls{max-width:760px;margin:18px auto 0}.solo-charge{touch-action:none;-webkit-user-select:none;user-select:none;text-align:left;background:#e8edde;border:1px solid #173d382b;border-radius:17px;align-items:center;gap:18px;width:100%;min-height:78px;padding:15px 23px;display:flex}.solo-charge>span:last-child{margin-left:auto;font-size:29px}.solo-charge strong{font-size:14px;display:block}.solo-charge small{color:#547366;margin-top:6px;font-size:11px;display:block}.solo-charge progress{accent-color:#ed795e;width:110px;height:8px;margin-left:auto}.mouse-glyph{background:#fff8;border:1px solid #173d382b;border-radius:10px;padding:2px 10px;font-size:28px}.touch-zone{background-image:linear-gradient(90deg,#fff5 calc(var(--charge,0)*100%),transparent calc(var(--charge,0)*100%))!important}#world{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}.hero-copy{padding-top:48px}.hero-copy h1{margin-top:20px;font-size:clamp(48px,5vw,76px)}.hero-copy .intro{margin:20px 0 21px}.menu-view{min-height:760px}@media (max-width:650px){.hero-copy{padding-top:30px}.hero-copy h1{font-size:56px}.menu-view{min-height:1010px}.hero-art{background-position:62% 380px}.hero-wash{background:linear-gradient(#f5f5e9 0% 34%,#f5f5e960 55%,#0000 72%,#f5f5e900 91%,#f5f5e9 97%)}.mode-select{max-width:100%}.mode-button{gap:9px;padding:12px 11px}.mode-button.selected{padding:11px 10px}.mode-button small{font-size:8px}.mode-description{max-width:310px;font-size:10px}.best-card{margin-left:6px}.solo-controls{margin-top:15px}.solo-charge{gap:13px;min-height:82px;padding:13px 15px}.solo-charge small{font-size:10px}.solo-charge progress{width:55px}.solo-charge>span:last-child{display:none}.mouse-glyph{padding:3px 8px;font-size:22px}.distance-hud{min-width:75px}.distance-hud strong{font-size:18px}.distance-hud small{font-size:8px}.game-top small{max-width:160px;font-size:9px}.game-top>div:nth-child(2){min-width:0}#world{height:calc(100svh - 280px);min-height:340px}}@media (max-height:550px) and (orientation:landscape){.solo-controls{max-width:660px;margin-top:7px}.solo-charge{min-height:60px;padding:8px 20px}.solo-charge small{font-size:10px}.mouse-glyph{font-size:21px}.game-top .distance-hud small{display:block}#world{height:calc(100svh - 133px);min-height:150px}}.distance-hud #trail-grade{letter-spacing:0;color:#62835c;white-space:nowrap;margin-top:5px;font-size:8px;font-weight:600}body.in-game{height:100vh;flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}body.in-game .topbar{flex:0 0 56px;height:56px}body.in-game main{flex:1;min-height:0;display:flex}body.in-game #game-view{width:100%;height:100%;min-height:0;padding:8px 3% max(6px,env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}body.in-game .game-top .icon-button{width:44px;height:44px}body.in-game .game-top{flex:none;gap:8px;padding-bottom:8px}body.in-game #world{border-radius:16px;flex:1 1 0;height:auto;min-height:0;max-height:none}body.in-game .solo-controls,body.in-game .touch-controls{flex:none;width:100%;margin:8px auto 0}body.in-game .solo-charge,body.in-game .touch-zone{min-height:58px;padding:8px 12px}body.in-game .game-footer{flex:none;margin:8px 0 0}dialog{max-height:calc(100dvh - 20px);overflow-y:auto}@media (max-width:700px),(max-height:550px){body.in-game .brand small,body.in-game .game-footer{display:none}body.in-game .game-top small{max-width:140px;line-height:1.3}body.in-game .solo-charge small{font-size:10px}body.in-game .touch-zone small{white-space:normal}body.embedded:not(.in-game) .topbar{height:56px}body.embedded .menu-view{height:auto;min-height:0;max-height:none}body.embedded .hero-copy{width:100%;padding:16px 6% 20px}body.embedded .hero-copy h1{letter-spacing:-1px;margin:12px 0;font-size:clamp(32px,8vw,48px)}body.embedded .intro,body.embedded .trail-caption,body.embedded .chapter-tag,body.embedded #features,body.embedded>.site-footer{display:none}body.embedded .mode-description{max-width:none;margin:10px 0}body.embedded .menu-bottom{justify-content:flex-end;min-height:44px;padding:0 6%;position:relative}}@media (max-height:500px){body.in-game .topbar{display:none}body.in-game #game-view{padding:4px 2% max(4px,env(safe-area-inset-bottom))}body.in-game .game-top{height:48px;padding-bottom:4px}body.in-game .game-top small{display:none}body.in-game .solo-controls,body.in-game .touch-controls{margin-top:6px}body.in-game .solo-charge,body.in-game .touch-zone{min-height:48px;padding:4px 12px}body.in-game .solo-charge small,body.in-game .touch-zone small{display:none}#overlay{max-width:480px;padding:12px}#overlay .overlay-leaf{font-size:24px}#overlay h2{margin:8px 0;font-size:25px}#overlay p{margin:8px 0;font-size:12px;line-height:1.4}#overlay .button{min-height:44px;margin-top:6px;padding:8px 14px}body.embedded:not(.in-game) .topbar{height:44px}body.embedded .hero-copy{padding:10px 5%}body.embedded .hero-copy h1{margin:8px 0;font-size:30px}body.embedded .hero-copy h1 br{display:none}body.embedded .hero-copy h1 em{margin-left:.2em}body.embedded .hero-copy .eyebrow,body.embedded .menu-bottom{display:none}body.embedded .mode-select{max-width:450px}body.embedded .mode-button{min-height:48px;padding:6px 12px}body.embedded .mode-button.selected{padding:5px 11px}body.embedded .mode-description{margin:7px 0}body.embedded .play-actions .button{min-height:44px;padding:8px 16px}}.mode-record-summary{color:#466056;margin:6px 0 12px;font-size:11px;line-height:1.5}.run-records{flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:8px 0;display:flex}.run-records p{margin:0!important;font-size:12px!important}.run-records small{color:#547366;flex-basis:100%;font-size:10px}
