
/* Browser windows, not a fixed canvas: short and narrow laptop windows retain every control. */
header>.wrap{padding-inline:clamp(16px,2.5vw,48px)}header .top{min-height:76px;gap:clamp(8px,1vw,18px)}header .top>*{min-width:0}header .brand{flex-shrink:0}header .brand b{font-size:clamp(25px,1.8vw,34px)}header .brand span{font-size:clamp(16px,1.1vw,21px)}.quest-trigger{margin-right:0}.public-links{gap:clamp(6px,1vw,20px)}.public-links button{white-space:nowrap}.status{gap:10px}.language-picker{margin-left:0}
#journey-screen,#welcome-screen,#wip-screen,#oasis-screen{height:calc(100dvh - var(--header-height,76px))}
#welcome-screen{grid-template-columns:minmax(350px,35%) minmax(0,1fr)}.welcome-copy{min-height:0;overflow-y:auto;padding:clamp(24px,3vw,60px);justify-content:safe center}.welcome-copy h1{font-size:clamp(40px,min(4.4vw,8vh),84px)}.threshold-mark{margin-bottom:clamp(18px,3vh,40px);gap:22px}.threshold-mark svg{width:48px;height:48px;flex-basis:48px}.threshold-mark span{font-size:clamp(17px,1.5vw,25px)}.welcome-lede{font-size:clamp(16px,1.4vw,22px);margin-top:20px}.welcome-entry{margin-top:clamp(18px,3vh,38px)}.welcome-entry input{height:50px}.welcome-entry>button{font-size:clamp(16px,1.4vw,22px);padding:13px}.signin-row{margin-top:20px;font-size:14px}.threshold-art{min-height:0}
.atlas-intro{width:28%;top:5%}.atlas-intro h1{font-size:clamp(25px,3.1vw,64px)}.atlas-intro p{font-size:clamp(13px,1.05vw,18px);margin-top:12px}.atlas-selection{width:28%;bottom:9%}.atlas-selection h2{font-size:clamp(23px,2.6vw,48px)}.atlas-selection>p:not(.eyebrow){font-size:clamp(12px,1vw,17px)}.atlas-selection .eyebrow{font-size:clamp(9px,.7vw,11px)}.atlas-explore{font-size:clamp(13px,1vw,17px);padding:10px 22px;margin-top:16px}.atlas-numbers{font-size:clamp(16px,1.5vw,26px)}
#app{width:100%;padding-inline:clamp(20px,3vw,40px)}.scroll-section>.phase-head{max-width:100%}.scroll-section .intro{max-width:100%}.module-hero{height:clamp(240px,30vw,580px)}.module-hero-title{top:clamp(24px,3vw,48px)}.module-hero-title h2{font-size:clamp(36px,4vw,76px)}
#inventory-dialog{padding:clamp(22px,3vw,44px);width:80vw;max-width:1600px;height:80dvh;max-height:80dvh}.inventory-layout{grid-template-columns:minmax(165px,22%) minmax(0,1fr);gap:clamp(16px,2vw,36px)}.inventory-grid{gap:16px}.inventory-card{min-width:0;min-height:220px;padding:20px}.inventory-card strong{font-size:clamp(20px,1.6vw,28px)}.inventory-card svg{width:110px;height:110px}.inventory-top h2{font-size:38px}#inventory-description{font-size:15px}.inventory-layout>section{min-width:0}#quest-log{width:clamp(340px,30vw,480px);min-width:0;max-width:95vw}.quest-key{flex-wrap:wrap}#oasis-info{max-width:calc(100vw - 32px);margin:auto auto auto 24px}
/* Oase: one uncluttered breathing instrument and one play/pause control. */
.oasis-heading,#breath-rhythm,#breath-reset,#breath-comfort{display:none!important}#breath-phase{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.oasis-practice{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;pointer-events:none}.breathing{position:relative;inset:auto;transform:none;width:min(560px,48vw,calc(100dvh - var(--header-height,76px) - 100px));height:auto;aspect-ratio:1;flex:none;pointer-events:auto}.breath-side{font-size:clamp(14px,1.3vw,20px);transition:scale .28s ease,color .28s ease,text-shadow .28s ease;scale:1}.breath-side.active{scale:1.07;color:#FFDC98;text-shadow:0 0 12px #FFC56599,0 0 24px #E8B45D44}.side-top{top:7.5%}.side-bottom{bottom:7.5%}.side-right{left:88.4%}.side-left{right:88.4%}#breath-count{font-size:clamp(56px,6vw,100px)}#breath-dot{filter:drop-shadow(0 0 5px #FFDA8EDD) drop-shadow(0 0 12px #E8B45D99)}
.oasis-controls{position:relative;inset:auto;transform:none;min-width:0;pointer-events:auto}.oasis-controls>#breath-toggle{display:grid;place-items:center;width:52px;height:52px;padding:0;margin:0;border-radius:50%;border:1px solid #D9B16F;background:#17252B99;color:#FFD78A;backdrop-filter:blur(4px)}#breath-toggle:hover{background:#26383DCC;box-shadow:0 0 18px #E8B45D33}#breath-toggle svg{width:23px;height:23px;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.oasis-help{left:clamp(16px,2.5vw,55px);top:50%;transform:translateY(-50%);width:clamp(145px,19vw,245px);max-width:none}.oasis-help button{font-size:clamp(11px,.8vw,13px);padding:11px 12px}.oasis-return{position:absolute;left:clamp(16px,2.5vw,55px);bottom:20px;color:#F7E4BD;font-size:12px}
#wip-screen{overflow:auto;padding:clamp(36px,8vh,110px) clamp(24px,8vw,150px)}#wip-screen h1{font-size:clamp(44px,6vw,80px)}
@media(max-width:1500px){header .top{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:8px 14px;padding-block:10px;min-height:0}header .top>.brand{grid-column:1/3;grid-row:1;margin:0}header .top>.public-links{grid-column:3;grid-row:1;justify-content:flex-end;margin:0}header .top>.language-picker{grid-column:4;grid-row:1}header .top>#journey-return{grid-column:1;grid-row:2;justify-self:start}header .top>#quest-trigger{grid-column:2;grid-row:2;justify-self:start}header .top>.status{grid-column:3/5;grid-row:2;justify-content:flex-end;margin:0}body.journey-mode header .top>#quest-trigger{grid-column:1/3}.public-mode header .top{grid-template-rows:auto}.status .saved{font-size:11px}.status .newbtn{font-size:11px}header .btn{padding:8px 12px;font-size:12px}.brand span{display:inline}#language-toggle{min-width:100px;padding:9px;font-size:11px}.public-links button{font-size:12px;padding:7px}}
@media(max-height:740px){.welcome-copy{padding-block:22px}.threshold-mark{margin-bottom:18px}.threshold-mark svg{width:38px;height:38px;flex-basis:38px}.welcome-copy h1{font-size:clamp(36px,6.8vh,52px)}.welcome-lede{margin-top:14px}.welcome-entry{margin-top:18px}.welcome-entry input{height:44px}.welcome-entry>button{margin-top:12px}.signin-row{margin-top:16px}.atlas-selection{bottom:6%}.atlas-explore{margin-top:10px}.atlas-selection h2{margin-bottom:6px}}
@media(max-width:1050px){header>.wrap{padding-inline:16px}.brand b{font-size:25px!important}.brand span{font-size:15px!important}.public-links{gap:3px}.public-links button{font-size:11px;padding:6px}.status .saved{max-width:130px}#app{padding-inline:20px}.scroll-section{padding-inline:10px}.phase-head{grid-template-columns:20px minmax(0,1fr);gap:12px}h1{font-size:48px}h2{font-size:38px}.inventory-layout{grid-template-columns:160px minmax(0,1fr)}.inventory-card{padding:14px}.oasis-help{top:auto;bottom:22px;transform:none;display:flex;width:auto;max-width:calc(100% - 32px);gap:8px}.oasis-return{top:16px;bottom:auto}.breathing{width:min(540px,62vw,calc(100dvh - var(--header-height,76px) - 145px))}.oasis-practice{padding-bottom:45px}.show-section-numbers .scroll-section:not(.fog-locked):before{left:0;top:8px;font-size:13px}}
@media(max-width:760px){header .top{grid-template-columns:1fr auto}.brand{grid-column:1!important}.public-links{grid-column:1!important;grid-row:2!important;justify-content:flex-start!important;flex-wrap:wrap}.language-picker{grid-column:2!important;grid-row:1!important}header .top>#journey-return{grid-column:1;grid-row:3}header .top>#quest-trigger{grid-column:2!important;grid-row:3}header .top>.status{grid-column:1/3;grid-row:4;flex-wrap:wrap}.status .saved{display:none}.brand span{display:none!important}#welcome-screen{grid-template-columns:minmax(280px,55%) minmax(0,1fr)}.welcome-copy{padding:22px}.threshold-mark span{font-size:16px}.threshold-mark{gap:12px}.inventory-layout{grid-template-columns:1fr}#inventory-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-grid{grid-template-columns:1fr}.atlas-intro p{display:none}.atlas-intro{width:31%}.atlas-intro h1{font-size:22px}.atlas-selection h2{font-size:20px}.atlas-selection{width:32%}.atlas-explore{padding:8px;font-size:12px}.atlas-selection>p:not(.eyebrow){display:none}.oasis-help button{font-size:11px}.module-hero-title{max-width:70%}}
@media(prefers-reduced-motion:reduce){.breath-side{transition:none}.breath-side.active{scale:1}}
