.adventure-shell{max-width:1400px;margin:0 auto}.adventure-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.adventure-heading h1{font-size:30px;margin:8px 0}.adventure-heading .text-button{white-space:nowrap}.adventure-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;align-items:start}.adventure-map{border:1px solid #d4dcc8;border-radius:20px;overflow:hidden;background:#f9f9ef;box-shadow:0 12px 36px #345b4310}.adventure-map-bar{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;border-bottom:1px solid #d4dcc8;gap:10px}.adventure-map-bar>span{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1.4px;font-weight:700;color:#4d6553}.adventure-map-bar svg{width:17px;height:17px}.adventure-live-dot{width:6px;height:6px;background:#7fa069;border-radius:50%}.adventure-focus{border:1px solid #d8ddcd;background:#fffdf6;border-radius:8px;padding:7px 10px;display:flex;align-items:center;gap:6px;color:#4b6253;font-size:11px;cursor:pointer}.adventure-focus>span:first-child{font-size:19px;line-height:1}.adventure-world-wrap{position:relative;width:100%;height:auto;aspect-ratio:8/5;min-height:490px;isolation:isolate;overflow:hidden;background:#becf93}#adventure-world{display:block;width:100%;height:100%;image-rendering:pixelated;outline-offset:-4px}.adventure-location{position:absolute;top:15px;left:16px;padding:7px 10px;border:1px solid #fff9;background:#f6f7decc;color:#546643;display:flex;align-items:center;gap:6px;border-radius:6px;font-size:10px;pointer-events:none}.adventure-location svg{width:13px;height:13px}.adventure-map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;min-height:104px}.adventure-map-footer strong{font-size:12px;color:#526650}.adventure-map-footer p{font-size:11px;color:#7d8871;line-height:1.8;margin:6px 0 0}.adventure-map-footer kbd{display:inline-block;font:10px inherit;background:#e8ebdc;border:1px solid #d2d9c6;border-radius:3px;padding:0 3px;margin:0 1px}.adventure-dpad{display:grid;grid-template-columns:repeat(3,30px);grid-template-rows:repeat(2,29px);gap:3px;flex-shrink:0}.adventure-dpad button{background:#f2f3e5;border:1px solid #cfd7c1;border-bottom-width:3px;border-radius:7px;font:16px monospace;color:#52664b;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}.adventure-dpad button:active{background:#d8e5c5;transform:translateY(1px)}.adventure-dpad [data-direction=up]{grid-column:2}.adventure-dpad [data-direction=left]{grid-column:1;grid-row:2}.adventure-dpad [data-direction=down]{grid-column:2;grid-row:2}.adventure-dpad [data-direction=right]{grid-column:3;grid-row:2}.adventure-sidebar{padding:22px 19px;background:#f9faf3;border:1px solid #dee3d3;border-radius:20px;min-width:0}.adventure-companion{display:flex;align-items:center;gap:10px;padding-bottom:20px;border-bottom:1px solid #e1e6d8}.adventure-companion>svg{width:47px;height:47px;flex-shrink:0}.adventure-companion h2{font-size:17px;margin:5px 0 0;overflow-wrap:anywhere}.adventure-companion .eyebrow{font-size:8px;letter-spacing:1.3px}.adventure-stats{display:grid;gap:14px;margin:22px 0}.adventure-stats>div{padding:14px;background:#f0f3e7;border-radius:12px}.adventure-stats>div:nth-child(2){background:#f7f0dc}.adventure-stats span{display:flex;align-items:center;gap:6px;font-size:11px;color:#677057}.adventure-stats svg{width:15px;height:15px}.adventure-stats strong{display:block;margin-top:9px;font-size:27px;color:#455d40;line-height:1}.adventure-stats small{font-size:14px;font-weight:400;color:#7d876f}.adventure-journey h3{font-size:12px}.adventure-journey .progress-track{height:6px;margin:12px 0 14px}.adventure-stations{display:flex;flex-wrap:wrap;gap:7px}.adventure-stations button{width:29px;height:29px;border:1px solid #dce2cf;border-radius:50%;background:#edf0e4;color:#7b876d;font-size:11px;display:grid;place-items:center;cursor:pointer;padding:0}.adventure-stations svg{width:12px;height:12px}.adventure-stations .current{background:#f6dfa0;border-color:#cda557;color:#6b5c34;box-shadow:0 0 0 3px #f6dfa033}.adventure-stations .done{background:#71916c;color:#fff;border-color:#71916c}.adventure-next-card{border-top:1px solid #e1e6d8;margin-top:22px;padding-top:22px}.adventure-next-card .eyebrow{font-size:8px;letter-spacing:1.4px;color:#8c916e}.adventure-next-card h3{font-size:21px;margin:8px 0}.adventure-next-card h3 span{color:#9ba18a;font-size:14px;font-weight:400}.adventure-next-card p{font-size:12px;line-height:1.65;color:#56694f;margin:0 0 18px}.adventure-next-card p span{color:#929781;font-size:11px}.adventure-next-card .button{width:100%;padding:12px 10px;font-size:12px;gap:6px;background:#526f4d}.adventure-next-card .button svg{width:15px;height:15px}.adventure-note{display:flex;gap:8px;margin-top:22px}.adventure-note>svg{width:17px;height:17px;flex-shrink:0;color:#9b946e;margin-top:2px}.adventure-note p{font-size:10px;line-height:1.7;margin:0;color:#8c927f}.adventure-note strong{display:block;color:#69765c;font-size:11px}.adventure-caption{font-size:11px;color:#8a957c;display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 0}.adventure-caption svg{width:14px;height:14px}
.adventure-welcome{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(355px,calc(100% - 32px));padding:26px 24px;text-align:center;border:1px solid #ffffffb8;border-radius:18px;background:#fffef0f5;box-shadow:0 18px 60px #364c3733;backdrop-filter:blur(8px)}.adventure-welcome-icon{display:grid;place-items:center;width:47px;height:47px;margin:0 auto 17px;border:1px solid #d5dec4;border-radius:13px;background:#edf2df;color:#76906a}.adventure-welcome-icon svg{width:25px;height:25px}.adventure-welcome .eyebrow{font-size:8px;letter-spacing:1.6px;color:#8a916e}.adventure-welcome h2{font-size:32px;line-height:1.13;margin:12px 0;color:#445d41;letter-spacing:-1px}.adventure-welcome p{font-size:12px;line-height:1.7;color:#82906f;margin:0 0 22px}.adventure-welcome .button{width:100%;background:#58764e;justify-content:center;font-size:12px}.adventure-welcome small{display:block;font-size:9px;line-height:1.5;color:#9b9f89;margin-top:14px}.adventure-pause{position:absolute;bottom:18px;left:16px;right:16px;display:flex;gap:10px;align-items:center;padding:14px;background:#fffef0f0;border:1px solid #fff;border-radius:14px;box-shadow:0 6px 24px #38513021}.adventure-pause>span{color:#7c9369}.adventure-pause strong{font-size:12px}.adventure-pause p{font-size:11px;color:#8a967b;margin:4px 0 0}.adventure-pause .button{margin-left:auto;padding:10px;font-size:11px;flex-shrink:0}
.adventure-question{position:absolute;inset:auto;margin:0;padding:0;border:1px solid #d8dfc9;border-radius:17px;background:#fffef5;color:#40533e;box-shadow:0 15px 45px #29412540;overflow:hidden;z-index:3;max-width:calc(100% - 24px)}.adventure-question[open]{display:flex;flex-direction:column}.adventure-dialog-header{display:flex;align-items:center;gap:11px;padding:15px 18px;background:#f2f5e5;border-bottom:1px solid #e0e5d3;flex-shrink:0}.adventure-dialog-header>svg{width:35px;height:35px;flex-shrink:0}.adventure-dialog-header>div{flex:1}.adventure-dialog-header .eyebrow{display:block;font-size:8px;letter-spacing:1.5px;color:#839271}.adventure-dialog-header strong{display:block;margin-top:4px;font-size:13px;font-weight:500}.adventure-dialog-header .icon-button{width:30px;height:30px;min-height:30px;color:#829070}.adventure-dialog-body{padding:19px 18px 15px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#c9d4bb transparent}.adventure-dialog-body h2{font-size:19px;line-height:1.45;font-weight:600;margin:0 0 17px;letter-spacing:-.3px;outline:none;overflow-wrap:anywhere}.adventure-answers{display:grid;gap:8px}.adventure-option{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border:1px solid #dce2d1;border-radius:10px;background:#fffef8;padding:11px 12px;color:#526149;font-size:13px;line-height:1.4;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.adventure-option>span:nth-child(2){flex:1;overflow-wrap:anywhere}.adventure-option:hover:not(:disabled){background:#f0f5e4;border-color:#94ab7b;transform:translateX(2px)}.adventure-option .option-key{width:26px;height:26px;border-radius:7px;flex-shrink:0;background:#f0f3e7;color:#839276;font-size:10px}.adventure-option>svg{width:16px;height:16px;flex-shrink:0}.adventure-option.correct{background:#e7f1dc;border-color:#91ad79;color:#476538}.adventure-option.correct .option-key{background:#799768;color:white}.adventure-option.wrong{background:#fff0e5;border-color:#d8b793;color:#976b47}.adventure-option:disabled{opacity:1;cursor:default}.adventure-option:disabled:not(.correct):not(.wrong){color:#929785;background:#f6f6ed}.adventure-feedback{display:flex;gap:10px;padding:13px;border-radius:10px;margin-top:14px;line-height:1.6}.adventure-feedback.correct{background:#eaf2e0;color:#4e713d}.adventure-feedback.wrong{background:#fbefdb;color:#99733f}.adventure-feedback>span svg{width:18px;height:18px}.adventure-feedback strong{display:block;font-size:12px}.adventure-feedback p{font-size:12px;margin:3px 0 0;overflow-wrap:anywhere}.adventure-hint{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.6;padding:11px;background:#f8f1da;color:#8e793e;border-radius:8px;margin:12px 0 0}.adventure-hint svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.adventure-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-top:1px solid #e6e9dc;background:#fffef5;flex-shrink:0}.adventure-dialog-footer .hint-button{font-size:11px}.adventure-dialog-footer .small{font-size:10px;line-height:1.5;display:flex;align-items:center;gap:4px}.adventure-dialog-footer .small svg{width:13px;height:13px}.adventure-dialog-footer .button{padding:11px 13px;font-size:12px;background:#56744c;white-space:nowrap}.adventure-dialog-footer .button svg{width:15px;height:15px}.adventure-mode{border-color:#c1d3b2;background:linear-gradient(115deg,#eff6e6,#fffbed)}.adventure-mode .badge-icon{background:#dfeccb;color:#6c8c51}.adventure-result-note{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0;color:#627958;font-size:12px}.adventure-result-note span{display:flex;align-items:center;gap:6px}.adventure-result-note svg{width:15px;height:15px}
body.adventure-focus-active{overflow:hidden}.adventure-shell.is-focused{position:fixed;inset:0;z-index:60;max-width:none;padding:24px 32px;background:#f5f7ed;overflow:auto;overscroll-behavior:contain}.is-focused .adventure-layout{max-width:1500px;margin:auto;grid-template-columns:minmax(0,1fr) 255px}.is-focused .adventure-heading{max-width:1500px;margin:0 auto 20px}.is-focused .adventure-world-wrap{height:calc(100dvh - 278px);min-height:430px;max-height:850px}.is-focused .adventure-caption{display:none}
@media(min-width:1600px){.adventure-world-wrap{height:650px}}
@media(max-width:1150px){.adventure-layout{grid-template-columns:minmax(0,1fr) 210px;gap:15px}.adventure-sidebar{padding:18px 14px}.adventure-map-footer p{max-width:230px}.adventure-heading h1{font-size:25px}.adventure-heading .page-subtitle{font-size:12px}}
@media(max-width:850px){.adventure-layout{grid-template-columns:minmax(0,1fr)}.adventure-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.adventure-companion{border:0;padding:0}.adventure-stats{grid-column:1/-1;grid-row:2;grid-template-columns:1fr 1fr;margin:0}.adventure-journey{grid-column:1;grid-row:3}.adventure-next-card{grid-column:2;grid-row:1/4;border:0;margin:0;padding:0;align-self:end}.adventure-stats{grid-column:1;grid-template-columns:1fr;gap:8px}.adventure-stats>div{display:flex;align-items:center;justify-content:space-between;padding:10px}.adventure-stats strong{font-size:20px;margin:0}.adventure-stats small{font-size:11px}.adventure-stats span{font-size:10px}.adventure-note{grid-column:1/-1;margin:0;padding-top:14px;border-top:1px solid #e1e6d8}.adventure-note p{font-size:11px}.adventure-note strong{display:inline;margin-right:5px}.adventure-heading{align-items:flex-start}.adventure-heading>.text-button{font-size:10px;margin-top:3px}.adventure-heading h1{font-size:25px}.adventure-heading .page-subtitle{max-width:300px}.adventure-world-wrap{height:550px}.is-focused .adventure-layout{display:block}.is-focused .adventure-sidebar{display:block;padding:0;border:0;background:none}.is-focused .adventure-sidebar>*:not(.adventure-next-card){display:none}.is-focused .adventure-next-card{padding:0;margin:12px 0 0;display:flex;align-items:center;gap:15px}.is-focused .adventure-next-card>.eyebrow,.is-focused .adventure-next-card>p{display:none}.is-focused .adventure-next-card h3{font-size:16px;flex-shrink:0}.is-focused .adventure-next-card .button{width:auto;margin-left:auto;min-width:190px}.is-focused .adventure-world-wrap{height:calc(100dvh - 238px);min-height:410px}.is-focused .adventure-heading .page-subtitle,.is-focused .adventure-map-footer>div:first-child{display:none}.is-focused .adventure-map-footer{min-height:0;justify-content:center;padding:8px}.is-focused .adventure-dpad{display:flex;gap:6px}.is-focused .adventure-dpad button{width:38px;height:32px}.adventure-shell.is-focused{padding:15px}.is-focused .adventure-heading{margin-bottom:14px}.is-focused .adventure-heading h1{font-size:21px;margin:5px 0 0}.is-focused .adventure-heading .greeting{font-size:9px}}
@media(max-width:480px){.adventure-heading{gap:8px;margin-bottom:18px}.adventure-heading .greeting{font-size:8px;letter-spacing:1px}.adventure-heading h1{font-size:22px}.adventure-heading>.text-button{max-width:85px;white-space:normal;line-height:1.5;text-align:left;gap:4px;flex-shrink:0}.adventure-heading>.text-button svg{width:13px;height:13px;flex-shrink:0}.adventure-map{border-radius:14px}.adventure-map-bar{padding:10px 12px}.adventure-map-bar>span{font-size:9px;letter-spacing:1px;gap:5px}.adventure-focus{font-size:9px;padding:6px}.adventure-world-wrap{height:540px}.adventure-location{font-size:8px;left:12px;top:12px}.adventure-map-footer{padding:12px;gap:8px}.adventure-map-footer strong{font-size:11px}.adventure-map-footer p{font-size:9px;max-width:175px}.adventure-dpad{grid-template-columns:repeat(3,28px);grid-template-rows:repeat(2,30px)}.adventure-dialog-header{padding:12px;gap:8px}.adventure-dialog-header>svg{width:30px;height:30px}.adventure-dialog-body{padding:15px 12px}.adventure-dialog-body h2{font-size:17px}.adventure-option{font-size:12px;padding:10px;gap:8px}.adventure-dialog-footer{padding:12px;gap:8px}.adventure-dialog-footer .small{font-size:9px}.adventure-dialog-footer .button{font-size:11px;padding:10px}.adventure-feedback p{font-size:11px}.adventure-caption{font-size:10px;text-align:center;line-height:1.5}.adventure-companion{gap:7px}.adventure-companion>svg{width:33px;height:33px}.adventure-companion h2{font-size:14px}.adventure-companion .eyebrow{font-size:6px;letter-spacing:1px}.adventure-sidebar{padding:17px 12px;gap:13px}.adventure-stats>div{display:block}.adventure-stats strong{margin-top:6px}.adventure-journey h3{font-size:10px}.adventure-stations{gap:6px}.adventure-stations button{width:24px;height:24px}.adventure-next-card h3{font-size:19px}.adventure-next-card .button{font-size:11px;gap:4px}.adventure-next-card .button>svg:first-child{display:none}.adventure-next-card .eyebrow{font-size:7px}.adventure-pause{left:12px;right:12px;padding:12px;gap:8px}.adventure-pause>span{display:none}.adventure-pause strong{font-size:11px}.adventure-pause p{font-size:10px}.adventure-pause .button{font-size:10px;padding:9px}.is-focused .adventure-world-wrap{min-height:360px}.adventure-shell.is-focused{padding:12px}.is-focused .adventure-heading h1{font-size:20px}.is-focused .adventure-heading>.text-button{max-width:68px}.is-focused .adventure-next-card .button{min-width:170px}}
@media(prefers-reduced-motion:reduce){.adventure-option{transition:none}.adventure-option:hover:not(:disabled){transform:none}}

/* The game has its own save/exit control; keep the touch pad unobstructed. */
body.adventure-playing .mobile-nav{display:none}
.adventure-bubble-tail{position:absolute;width:15px;height:22px;background:#fffef5;clip-path:polygon(100% 0,100% 100%,0 65%);z-index:4;pointer-events:none}.adventure-bubble-tail.right{clip-path:polygon(0 0,0 100%,100% 65%)}.adventure-bubble-tail[hidden]{display:none}

.adventure-dialog-body h2{white-space:pre-line}
