:root{--mox-paper:#f3e8da;--mox-ink:#261e25;--mox-red:#8d293f;--mox-white:#fff4e3;--mox-dark:#27202c;--mox-muted:#d4c0ae;--mox-ease:cubic-bezier(.16,1,.3,1)}
.mox-world{background:var(--mox-paper);color:var(--mox-ink);font-family:var(--font-body-family,Arial,sans-serif);line-height:1.45}.mox-world *{box-sizing:border-box}.mox-world [hidden]{display:none!important}.mox-world button,.mox-world input{font:inherit}.mox-world button{cursor:pointer;border:1px solid #bdaea4;background:#f7ecdc;color:var(--mox-ink);border-radius:9px;padding:10px 15px;font-weight:700;min-height:44px;transition:transform .13s var(--mox-ease),background .13s var(--mox-ease);touch-action:manipulation}.mox-world button:active{transform:scale(.96)}.mox-world button:disabled{opacity:.55;cursor:default}.mox-world button:focus-visible,.mox-world input:focus-visible,.mox-world canvas:focus-visible{outline:3px solid #efb449;outline-offset:3px}.mox-primary{background:var(--mox-red)!important;border-color:var(--mox-red)!important;color:var(--mox-white)!important}.mox-banner{background:var(--mox-red);color:var(--mox-white);text-align:center;letter-spacing:.12em;font-weight:700;text-transform:uppercase;padding:8px 12px;font-size:11px}.mox-wrap{max-width:1080px;margin:auto;padding:26px clamp(12px,3.2vw,34px) 20px}.mox-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:end;margin:0 0 19px}.mox-heading h1,.mox-heading h2,.mox-bottom h2{font-family:var(--font-heading-family,Georgia,serif);color:var(--mox-ink);margin:0;line-height:1.04;letter-spacing:-.045em}.mox-heading h1{font-size:clamp(33px,5.1vw,66px);font-weight:800}.mox-heading h2{font-size:clamp(23px,2.65vw,32px)}.mox-heading p{margin:7px 0 0;max-width:380px;font-size:14px}.mox-heading .mox-kicker{font-size:10px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:var(--mox-red);margin:0 0 6px}.mox-game{border:1px solid #463b45;background:var(--mox-dark);border-radius:14px;overflow:hidden;box-shadow:0 10px 24px rgba(42,30,38,.12);color:var(--mox-white)}.mox-hud{display:flex;align-items:center;gap:clamp(10px,3vw,35px);padding:10px 16px;background:#352b35}.mox-hud>div{display:flex;flex-direction:column;line-height:1.1;gap:3px}.mox-hud-location{margin-right:auto}.mox-hud span{font-size:10px;text-transform:uppercase;color:#e5d4c8;letter-spacing:.035em}.mox-hud b{font-size:16px;font-variant-numeric:tabular-nums}.mox-hud [data-hearts]{font-size:18px;letter-spacing:2px;color:#ff92a0;white-space:nowrap}.mox-hud button{min-height:36px;min-width:36px;padding:4px;background:#4d3d48;color:#fff4e3;border-color:#715e68}.mox-stage{position:relative;overflow:hidden;touch-action:none;background:#edb49a}.mox-stage canvas{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:fill}.mox-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:8px;background:rgba(34,25,36,.54);overflow:auto;touch-action:pan-y}.mox-title-card{display:flex;flex-direction:column;align-items:center;gap:8px;background:rgba(36,27,39,.90);border:1px solid #a99494;max-width:460px;width:min(100%,460px);padding:clamp(12px,2.5vw,28px);border-radius:12px;text-align:center;color:var(--mox-white);box-shadow:0 4px 32px #2e1b2e55}.mox-title-card>span{color:#f4d1a9;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:700}.mox-title-card>strong{font-family:var(--font-heading-family,Georgia,serif);font-size:clamp(26px,4vw,48px);line-height:1.03;letter-spacing:-.045em;display:block;color:var(--mox-white)}.mox-title-card>p{font-size:14px;max-width:33ch;margin:0;color:#f2ddc8;line-height:1.35}.mox-title-card>small,.mox-title-card small{font-size:12px;color:#e5d1bd}.mox-title-card .mox-primary{width:100%;max-width:310px}.mox-results .mox-title-card{gap:6px;padding:10px 16px;width:min(100%,420px)}.mox-results .mox-title-card>strong{font-size:clamp(27px,5vw,52px);font-variant-numeric:tabular-nums}.mox-result-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.mox-results [data-save-panel]{width:100%}.mox-results form label{display:block;text-align:left;font-size:12px;margin-bottom:4px}.mox-formline{display:flex;gap:8px;align-items:stretch}.mox-formline input{border:1px solid #b5a69c;border-radius:7px;min-width:0;flex:1;padding:10px 12px;background:#fff9f0;color:var(--mox-ink);font-size:16px}.mox-formline button{white-space:nowrap;flex:0 0 auto}.mox-title-card .mox-link{background:none;border:0;color:#f8dbc0;text-decoration:underline;padding:4px;min-height:28px;font-size:12px}.mox-controls{display:grid;grid-template-columns:minmax(95px,1fr) 1.4fr minmax(95px,1fr);gap:12px;align-items:center;padding:11px 14px;background:#352b35;touch-action:none;user-select:none}.mox-controls>button{min-height:61px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px;border:1px solid #8c756f;touch-action:none}.mox-controls>button span{font-size:25px;line-height:1}.mox-jump{background:#eee0c9!important;color:#342530!important}.mox-fire{background:#a83443!important;color:#fff5e7!important;border-color:#d77862!important}.mox-tools{text-align:center;min-width:0}.mox-tools>div{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.mox-tools button{min-height:33px;padding:5px 7px;background:#4b3b48;color:#fff4e3;border-color:#806d78;font-size:12px}.mox-tools small{display:block;margin-top:5px;font-size:10px;color:#f0decb}.mox-status{padding:7px 12px;background:#26202c;color:#e6d6c6;font-size:11px;min-height:30px;text-align:center}.mox-bottom{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:27px}.mox-bottom h2{font-size:clamp(23px,3vw,32px)}.mox-section-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.mox-section-top span{font-size:10px;line-height:1.2;color:#6d4450;font-weight:700;text-transform:uppercase}.mox-board{margin-top:10px;border-block:1px solid #c0a899}.mox-board p{padding:10px 0;margin:0;font-size:14px}.mox-rank{display:grid;grid-template-columns:32px 1fr auto;gap:7px;padding:8px 0;border-bottom:1px solid #d6c3b3}.mox-rank:last-child{border-bottom:0}.mox-rank span:first-child{font-weight:800;color:var(--mox-red)}.mox-rank strong{font-variant-numeric:tabular-nums}.mox-small,.mox-news small{font-size:11px;color:#5d4b4e}.mox-news p{font-size:14px;margin:8px 0 12px}.mox-news label{font-size:12px;display:block;margin-bottom:5px;font-weight:700}.mox-news small{display:block;margin-top:7px}.mox-signature{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #c8b3a3;margin-top:24px;padding-top:14px;font-size:12px;color:#59424a}.mox-products{margin-top:22px;border-block:1px solid #c8b3a3;padding:10px 0}.mox-products summary{cursor:pointer;font-weight:700}.mox-product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:12px 0}.mox-product-grid img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f8f0e5}.mox-product-grid h3{font-size:16px}.mox-lock-scroll{overflow:hidden}.mox-game.is-expanded{position:fixed;inset:0;z-index:1000;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));overflow:auto}.mox-game.is-expanded .mox-stage{max-height:calc(100dvh - 150px);width:100%;flex:1;min-height:160px;display:flex;align-items:center;background:#241d29}.mox-game.is-expanded canvas{max-height:100%;width:100%;height:100%;object-fit:contain}.mox-game.is-expanded .mox-controls{flex:none}.mox-world .mox-news .mox-primary{font-size:13px}.password-header{padding:8px 18px!important;min-height:0!important;display:flex!important;justify-content:space-between!important;align-items:center!important;flex-direction:row!important;gap:10px!important}.password-header .password-logo{width:48px!important;max-width:48px!important;height:auto!important}.password-header .password-link{font-size:11px!important;margin:0!important}.password__footer{padding:12px 10px!important}.password__footer .password__footer-text{margin:4px!important}.password__footer .list-social{margin:0!important}
@media(max-width:619px){.mox-wrap{padding-top:16px}.mox-heading{display:block;margin-bottom:12px}.mox-heading h1{font-size:36px}.mox-heading h2{font-size:23px;margin-top:7px}.mox-heading p{font-size:13px;margin-top:4px}.mox-hud{padding:8px 8px;gap:10px}.mox-hud-location{min-width:54px;font-size:12px}.mox-hud span{font-size:9px}.mox-hud b{font-size:14px}.mox-hud [data-hearts]{font-size:16px;letter-spacing:0}.mox-stage canvas{aspect-ratio:570/380}.mox-controls{padding:8px;grid-template-columns:1fr 1fr 1fr;gap:6px}.mox-controls>button{font-size:14px;min-height:66px;gap:4px;flex-direction:column;padding:5px}.mox-controls>button span{font-size:22px}.mox-tools button{min-height:30px;font-size:10px;padding:3px 5px}.mox-title-card{gap:5px;padding:10px;max-width:95%}.mox-title-card>strong{font-size:27px}.mox-title-card>p{font-size:12px}.mox-title-card>small{font-size:10px}.mox-title-card button{min-height:37px;padding:5px 10px;font-size:13px}.mox-results .mox-title-card{max-height:100%;overflow:auto;padding:7px 10px;gap:5px}.mox-results .mox-title-card strong{font-size:29px}.mox-result-actions button{min-height:37px;font-size:12px;padding:5px}.mox-title-card .mox-formline input{padding:5px;font-size:16px}.mox-title-card small{font-size:10px}.mox-bottom{grid-template-columns:1fr;gap:20px;margin-top:20px}.mox-news p{margin:6px 0 9px}.mox-signature{font-size:10px}.mox-game.is-expanded .mox-stage{max-height:none;flex:1}.mox-game.is-expanded .mox-title-card{max-height:95%}}@media(prefers-reduced-motion:reduce){.mox-world button{transition:none}.mox-world button:active{transform:none}}
.mox-results:has(form:not([hidden])) [data-share]{display:none}.mox-results:has(form:not([hidden])) [data-save-open]{display:none}.mox-results:has(form:not([hidden])) .mox-result-actions{grid-template-columns:1fr}.mox-results:has(form:not([hidden])) [data-final-detail]{display:none}.mox-results:has(form:not([hidden])) .mox-title-card{gap:4px}.mox-results:has(form:not([hidden])) .mox-title-card>strong{font-size:26px}
.mox-bottom>*{min-width:0}.mox-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mox-section-top h2{min-width:0}.mox-news .mox-formline{width:100%}.mox-news .mox-formline input{width:0}.mox-news .mox-formline button{max-width:48%}.mox-world{overflow-wrap:break-word}@media(max-width:619px){.mox-bottom{grid-template-columns:minmax(0,1fr)}.mox-news .mox-formline button{font-size:12px;padding:8px 10px}.mox-tools button{min-height:36px}.mox-title-card>p{max-width:36ch}}
.password__footer .password__footer-caption{display:none!important}.password__footer{gap:6px!important;min-height:0!important}.mox-world .mox-title-card [data-restore]{font-size:11px;min-height:28px;padding:3px 8px;background:transparent;color:var(--mox-white);border-color:#bba4a5}
.mox-stage canvas{aspect-ratio:2/1;image-rendering:pixelated}.mox-status{padding:5px 12px;min-height:25px;font-size:12px;letter-spacing:.015em}.mox-status:empty{padding:0;min-height:0}.mox-hud button,.mox-tools button{min-height:44px;min-width:44px}.mox-passport{margin-top:14px;border:1px solid #c7afa2;border-radius:10px;background:#f8eee1;color:#3b2a32}.mox-passport summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:13px 14px;font-weight:800;min-height:44px;list-style:none}.mox-passport summary::after{content:'+';font-size:18px;color:#8d293f}.mox-passport[open] summary::after{content:'−'}.mox-passport summary b{color:#8d293f;margin-left:6px}.mox-passport summary small{font-size:11px;font-weight:600;color:#674a54;margin-left:auto;text-align:right}.mox-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 12px 12px}.mox-stamp{font-size:12px;border:1px dashed #bdac9d;padding:7px 5px;text-align:center;color:#71645e;border-radius:6px}.mox-stamp.is-found{color:#7e2941;border-color:#9f4354;background:#eddac9;font-weight:800}.mox-periods{display:flex;gap:6px;margin:9px 0 0}.mox-periods button{font-size:11px;padding:5px 10px;min-height:37px;flex:1}.mox-periods button[aria-pressed=true]{background:#8d293f;color:#fff4e3;border-color:#8d293f}.mox-intro .mox-title-card{background:rgba(32,25,37,.91)}.mox-controls .mox-jump,.mox-controls .mox-fire{min-height:68px}.mox-game.is-expanded{height:100dvh}.mox-game.is-expanded .mox-stage{overflow:hidden;min-height:0}.mox-game.is-expanded .mox-stage canvas{aspect-ratio:2/1;object-fit:contain;max-height:100%;height:100%;width:100%}.mox-game.is-expanded .mox-controls{padding:7px 12px}.mox-game.is-expanded .mox-hud{padding:6px 12px}.mox-game.is-expanded .mox-status{flex:none}.mox-game.is-expanded .mox-title-card{max-height:100%;overflow:auto}.mox-stage .mox-overlay{touch-action:pan-y}.mox-results .mox-title-card{overflow:auto}.mox-world .mox-results .mox-title-card button{min-height:42px}@media(max-width:619px){.mox-stage canvas{aspect-ratio:2/1}.mox-hud{gap:6px}.mox-hud-location{min-width:50px}.mox-hud [data-hearts]{font-size:15px}.mox-hud button{min-width:36px;min-height:44px}.mox-controls{grid-template-columns:1.05fr .9fr 1.05fr;gap:6px}.mox-tools button{min-height:36px;min-width:0}.mox-title-card>strong{font-size:24px}.mox-intro .mox-title-card{gap:6px;padding:9px}.mox-intro .mox-title-card>p{font-size:12px;max-width:34ch}.mox-title-card>small{font-size:10px}.mox-passport summary{font-size:13px;padding:10px}.mox-passport summary small{font-size:10px}.mox-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}.mox-results .mox-title-card{padding:6px 9px}.mox-results .mox-title-card>strong{font-size:26px}.mox-world .mox-results .mox-title-card button{min-height:37px}.mox-results .mox-title-card>small{font-size:10px}}@media(max-height:470px) and (orientation:landscape){.mox-game.is-expanded .mox-controls{grid-template-columns:1fr 1fr 1fr;gap:10px}.mox-game.is-expanded .mox-controls>button{min-height:48px;flex-direction:row}.mox-game.is-expanded .mox-tools small{display:none}.mox-game.is-expanded .mox-status{display:none}.mox-game.is-expanded .mox-stage{max-height:calc(100dvh - 112px)}}
.mox-stage canvas,.mox-game.is-expanded .mox-stage canvas{aspect-ratio:680/380}@media(max-width:619px){.mox-stage canvas{aspect-ratio:680/380}}
.mox-cinematic{position:absolute;inset:0;display:flex;justify-content:flex-end;align-items:flex-end;gap:6px;padding:10px;pointer-events:none;z-index:5}.mox-world .mox-cinematic button{pointer-events:auto;background:#27202cdd;color:#fff4e3;border:1px solid #d8c0ab;border-radius:6px;padding:7px 11px;font-size:12px;min-height:44px;min-width:44px;transition:transform .12s cubic-bezier(.16,1,.3,1)}.mox-cinematic button:active,.mox-watch button:active{transform:scale(.96)}.mox-watch{display:flex;justify-content:center;padding:0 10px 6px}.mox-world .mox-watch button{color:#f3e8da;background:transparent;border:0;min-height:40px;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.mox-game.is-cinematic .mox-controls [data-jump],.mox-game.is-cinematic .mox-controls [data-fire]{opacity:.4;pointer-events:none}@media(prefers-reduced-motion:reduce){.mox-cinematic button,.mox-watch button{transition:none!important}}

/* V1.2: fixed-height notices and HUD keep touch targets stable throughout a run. */
.mox-status,.mox-status:empty{box-sizing:border-box;display:block;flex:0 0 40px;height:40px;min-height:40px;max-height:40px;padding:5px 12px;line-height:15px;overflow:hidden;overflow-wrap:anywhere}
.mox-hud{flex:none;min-width:0}.mox-hud>div{min-width:0;white-space:nowrap}.mox-hud-location{flex:1 1 0;min-width:0;margin-right:0}.mox-hud-location [data-location]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mox-hud [data-power]{display:block;min-height:11px;height:11px;line-height:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mox-hud>div:has([data-power]){flex:0 0 65px;width:65px}.mox-hud>button{flex:none}.mox-game.is-expanded .mox-stage{min-height:0;flex:1 1 0}.mox-game.is-expanded .mox-status{flex:0 0 40px}.mox-game.is-expanded .mox-hud{flex:none}
@media(max-width:619px){.mox-hud>div:has([data-power]){flex-basis:54px;width:54px}.mox-hud-location{min-width:0}}
@media(max-height:470px) and (orientation:landscape){.mox-game.is-expanded .mox-status{display:none}}
