:root{font-family:'DM Sans',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#15233a;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#14233b;--blue:#315eaa;--blue-bright:#3971d2;--muted:#738095;--line:#e4eaf2;--paper:#fff;--gold:#d4a758}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 10% 0%,#fff 0,#f5f8fc 46%,#eef3f9 100%)}button{font:inherit}.shell{max-width:1190px;margin:auto;padding:0 42px 24px}.topbar{height:78px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #e8edf4;font-size:10px;letter-spacing:.19em;font-weight:700;color:#728097}.brand-mark{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:var(--navy);color:white;font-family:Georgia,serif;font-size:12px;letter-spacing:-.06em}.chapter{margin-left:auto;color:#9aa5b5;font-size:9px;letter-spacing:.16em}.chapter i{font-style:normal;color:#c4ccd7;padding:0 5px}.intro{padding:54px 0 29px}.eyebrow{display:block;color:#6d83a4;font-size:9px;letter-spacing:.18em;font-weight:700}.intro h1{margin:13px 0 12px;font:700 48px/.99 'Playfair Display',Georgia,serif;letter-spacing:-.04em;color:var(--navy)}.intro h1 em{color:#5377ad}.lede{margin:0;max-width:460px;color:#6e7a8d;font-size:13px;line-height:1.75}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:174px;padding:20px 21px 17px;border:1px solid #e3e9f1;border-radius:12px;background:rgba(255,255,255,.78);color:var(--navy);text-align:left;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}.form-card:hover{transform:translateY(-2px);border-color:#a8bfdf;box-shadow:0 10px 25px #294c7910}.form-card.selected{border-color:#577db5;box-shadow:0 0 0 2px #dce7f7,0 12px 24px #294c7910;background:#fff}.form-icon{font-size:31px;line-height:1;margin-bottom:12px}.form-name{font:700 20px 'Playfair Display',Georgia,serif}.traits{display:flex;width:100%;gap:8px;margin-top:13px}.traits span{display:flex;flex:1;flex-direction:column;gap:4px;padding:7px 8px;border-radius:6px;background:#f4f7fb;color:#8490a1;font-size:8px;letter-spacing:.04em}.traits b{color:#394960;font-size:9px;font-weight:600}.start-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.source-note{font-size:10px;color:#929db0}.button{border:0;border-radius:7px;padding:12px 15px;display:inline-flex;align-items:center;justify-content:center;gap:14px;cursor:pointer;font-weight:600;font-size:11px;transition:filter .15s,transform .15s}.button:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.42}.button.primary{background:#2f5fa9;color:white;box-shadow:0 5px 12px #315eaa22}.prototype-note{margin:36px 0 0;text-align:center;color:#a0aabb;font-size:9px;letter-spacing:.1em;text-transform:uppercase}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;padding:25px 0 17px}.play-column{min-width:0}.scene-art{height:370px;position:relative;overflow:hidden;border-radius:13px;color:white;background:#8caeca}.frost-scene{background:linear-gradient(180deg,#7398ba 0%,#b7d0dc 60%,#dce9e8 100%)}.moon{position:absolute;right:12%;top:13%;width:54px;height:54px;border-radius:50%;background:#f4edda;box-shadow:0 5px 18px #fff7d688}.ridge{position:absolute;inset:auto -4% 0;height:58%;clip-path:polygon(0 100%,0 76%,17% 28%,25% 57%,46% 0,61% 56%,74% 20%,100% 80%,100% 100%)}.ridge-back{background:#90afc1;opacity:.75;transform:translateY(-17px) scale(1.06)}.ridge-front{background:linear-gradient(170deg,#e4f0ef 0,#b5d2dc 76%)}.hero-token{position:absolute;z-index:2;left:46%;top:47%;font-size:39px;filter:drop-shadow(0 5px 3px #31476140);animation:float 2.5s ease-in-out infinite}.hero-token.transformed{font-size:36px}.scene-caption{position:absolute;z-index:3;left:25px;bottom:22px;max-width:390px;text-shadow:0 1px 8px #24384a55}.scene-caption>span{font-size:8px;letter-spacing:.18em;font-weight:700;color:#f1f7fb}.scene-caption h2{margin:7px 0 5px;font:700 26px 'Playfair Display',Georgia,serif}.scene-caption p{margin:0;max-width:340px;font-size:10px;line-height:1.6;color:#f4f7f9}.objective{min-height:91px;display:flex;align-items:center;gap:14px;padding:14px 3px;border-bottom:1px solid var(--line)}.step-number{width:31px;height:31px;border:1px solid #dbe4f0;border-radius:50%;display:grid;place-items:center;color:#5577a5;font:600 12px 'Playfair Display',Georgia,serif;flex:none}.objective>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.objective .eyebrow{font-size:8px}.objective strong{font:600 14px 'Playfair Display',Georgia,serif;color:#23334c}.objective small{font-size:9px;color:#8994a5}.objective .button{white-space:nowrap}.unlocked{border-color:#d6e7df}.unlock-tag{margin-left:7px;vertical-align:2px;color:#438268;font:700 8px 'DM Sans',sans-serif;letter-spacing:.1em}.area-icon{font-size:23px;padding:0 14px}.control-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px}.current-form{display:flex;align-items:center;gap:10px}.form-badge{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e8eef7;font-size:20px}.current-form div{display:flex;flex-direction:column;gap:3px}.current-form small{font-size:8px;color:#8190a4;letter-spacing:.12em;font-weight:700}.current-form strong{font-size:11px;color:#23334c}.button.transform{border:1px solid #cfdbeb;background:white;color:#385c91;padding:10px 13px;box-shadow:0 2px 6px #294c7908}.button.transform span{font-size:16px}.completed-label{color:#49836c;font-size:9px;letter-spacing:.15em;font-weight:700}.guide-note{display:flex;gap:10px;padding:12px 14px;border-radius:8px;border:1px solid #dbe5f1;background:#f8fbff;color:#536178;font-size:11px;line-height:1.5}.guide-note b{color:#315c98;white-space:nowrap}.dragon-scene{background:linear-gradient(180deg,#203b60,#507a9f 62%,#a4c7d3)}.aurora{position:absolute;inset:0;background:radial-gradient(ellipse at 18% 22%,#9ed7d099 0,transparent 35%),radial-gradient(ellipse at 87% 18%,#80a9d488 0,transparent 40%)}.ice-crags{position:absolute;inset:25% -5% 0;background:linear-gradient(135deg,transparent 22%,#b7dae0 22.2%,#e4f0ee 38%,transparent 38.4%),linear-gradient(40deg,transparent 45%,#d2e7e7 45.2%,#edf5f0 64%,transparent 64.4%);opacity:.72}.dragon-token{position:absolute;z-index:2;right:22%;top:29%;font-size:68px;filter:drop-shadow(0 7px 7px #0b1c3280);transform:scaleX(-1)}.dragon-scene .hero-token{left:20%;top:57%}.complete-scene{background:linear-gradient(180deg,#87b1c3 0%,#d3ddd0 60%,#ebdec1 100%)}.sun-disc{position:absolute;right:17%;top:14%;width:72px;height:72px;background:#ffe6a3;border-radius:50%;box-shadow:0 0 48px #ffe6a377}.complete-scene .ridge-back{background:#8ba9aa}.complete-scene .ridge-front{background:linear-gradient(170deg,#d6e5d5 0,#e7d7b8 75%)}.complete-scene .scene-caption{text-shadow:0 1px 8px #4f655055}.complete-scene .scene-caption h2,.complete-scene .scene-caption p{color:#fff}.defeated{opacity:.42;top:37%;right:23%;font-size:44px}.side-column{display:flex;flex-direction:column;gap:12px}.quest-card,.guides-card,.area-card{background:#fff;border:1px solid #e7ecf3;border-radius:11px;padding:16px 16px 13px;box-shadow:0 3px 12px #23375205}.quest-card h2{margin:8px 0 15px;font:700 21px/1.05 'Playfair Display',Georgia,serif;color:#273953}.quest-line{position:relative;display:flex;align-items:center;gap:9px;min-height:34px;color:#68768b;font-size:10px}.quest-line:not(:last-child):after{content:"";position:absolute;left:5px;top:22px;width:1px;height:19px;background:#e2e8ef}.quest-line b{margin-left:auto;color:#6c8a74;font-size:7px;letter-spacing:.1em}.quest-dot{position:relative;z-index:1;width:11px;height:11px;border:1px solid #d7dfe9;border-radius:50%;background:#fff}.quest-dot.done{border-color:#7ba18b;background:#7ba18b;box-shadow:inset 0 0 0 3px white}.quest-dot.active{border:3px solid #577cb6;box-shadow:0 0 0 3px #e6edf7}.guides-card{padding-bottom:7px}.guides-card>.eyebrow,.area-card>.eyebrow{margin-bottom:8px}.guide-button{width:100%;display:flex;align-items:center;gap:10px;padding:9px 1px;border:0;border-top:1px solid #eef1f5;background:transparent;text-align:left;cursor:pointer;color:#34455e}.guide-button:hover .guide-arrow{color:#315eaa;transform:translate(2px,-2px)}.guide-avatar{position:relative;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f1f3f8;font-size:19px;flex:none}.jimmy-avatar{background:#fbf4e7}.jimmy-avatar i{position:absolute;right:1px;top:-3px;color:#d8aa58;font-size:12px}.guide-button>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.guide-button b{font-size:10px}.guide-button small{color:#8994a5;font-size:8px}.sunglasses{font:700 7px sans-serif;color:#fff;background:#3d4d60;border-radius:3px;letter-spacing:-.2em;padding:1px 4px;margin-left:4px;vertical-align:1px}.guide-arrow{color:#a7b1bf;font-size:14px;transition:transform .15s}.area-card{padding-bottom:14px}.map-area{display:flex;align-items:center;gap:8px;min-height:42px}.map-area>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #e2e9f1;border-radius:8px;background:#f8fafc;color:#6c89b6;font-size:13px}.map-area>div{display:flex;flex:1;flex-direction:column;gap:3px}.map-area b{font-size:9px;color:#45566e}.map-area small{font-size:8px;color:#99a3b2}.map-area>i{font-style:normal;color:#8997aa;font-size:7px;font-weight:700;letter-spacing:.08em}.map-area.current-area>span{border-color:#ccdaed;background:#edf3fb}.map-area.current-area>i{color:#4e789f}.map-area.locked-area{opacity:.68}.map-connector{height:11px;margin-left:13px;border-left:1px dashed #cdd6e2}.footer-note{display:flex;justify-content:space-between;padding:15px 1px 0;border-top:1px solid #e6ebf2;color:#9aa5b4;font-size:8px;letter-spacing:.07em}.loading{color:#53647a;padding-top:50px}@keyframes float{0%,100%{translate:0 0}50%{translate:0 -5px}}button:focus-visible{outline:3px solid #94b7e6;outline-offset:3px}@media(max-width:850px){.shell{padding:0 22px 18px}.game-layout{grid-template-columns:minmax(0,1fr) 255px;gap:15px}.scene-art{height:330px}.intro{padding-top:42px}}@media(max-width:680px){.shell{padding:0 16px 17px}.topbar{height:62px;font-size:8px;letter-spacing:.13em}.chapter{font-size:7px}.intro{padding:34px 0 22px}.intro h1{font-size:40px}.choice-grid{gap:8px}.form-card{min-height:152px;padding:14px 11px}.form-icon{font-size:25px}.form-name{font-size:17px}.traits{flex-direction:column;gap:4px;margin-top:9px}.traits span{flex-direction:row;justify-content:space-between;padding:6px}.start-row{align-items:flex-start;flex-direction:column}.start-row .button{width:100%}.game-layout{display:flex;flex-direction:column;padding-top:17px}.scene-art{height:320px}.side-column{display:grid;grid-template-columns:1fr 1fr}.quest-card{grid-row:span 2}.footer-note{font-size:7px}.objective{gap:9px}.objective .button{font-size:9px;padding:10px}.objective strong{font-size:12px}.objective small{font-size:8px}}@media(max-width:400px){.choice-grid{grid-template-columns:1fr}.form-card{min-height:90px;display:grid;grid-template-columns:35px 1fr;padding:13px;align-items:center}.form-icon{grid-row:span 2;margin:0;font-size:25px}.form-name{font-size:16px}.traits{grid-column:2;flex-direction:row;margin-top:6px}.traits span{font-size:7px}.traits b{font-size:8px}.side-column{display:flex}.scene-art{height:290px}.chapter{letter-spacing:.05em}.objective .button{white-space:normal;max-width:115px}}
/* Approved Blender assets; preserve the current private-preview shell. */
.form-portrait{height:135px;width:100%;object-fit:contain;margin-bottom:8px}.form-card{align-items:center}.form-name{align-self:flex-start}.guide-portrait{width:48px;height:58px;object-fit:contain;flex:none}.model-stage{position:relative;height:340px;min-width:0;isolation:isolate;background:#eaf0f6;border-radius:12px;overflow:hidden}.model-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}.model-fallback{position:absolute;inset:10px 0 40px;display:grid;place-items:center}.model-fallback img{width:100%;height:100%;object-fit:contain}.model-ready .model-fallback{display:none}.model-loading{position:absolute;top:13px;left:16px;right:16px;pointer-events:none;color:#344c6d;font-size:12px;line-height:1.4}.model-controls{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:8px}.model-controls button{min-height:36px;padding:5px 11px;background:#fffffff2;color:#233b5e;border:1px solid #c4d2e3;border-radius:6px;cursor:pointer;font-size:12px}.model-controls button:hover{background:#e6effa}.selection-stage{margin:0 0 20px;height:280px}.story-stage{position:absolute;inset:0 0 64px;height:auto;border-radius:0;background:transparent;z-index:2}.story-stage .model-loading{color:#172d50;background:#ffffffb8;width:fit-content;padding:3px 7px;border-radius:4px;max-width:calc(100% - 32px)}.story-stage .model-controls{bottom:2px}.scene-caption{pointer-events:none}.scene-caption p{font-size:11px}.dragon-token{right:7%;top:24%;font-size:45px}.cast-library{margin:28px 0;background:#fff;border:1px solid var(--line);border-radius:12px}.cast-library>summary{padding:18px;cursor:pointer;font-size:17px;font-weight:600;color:var(--navy)}.cast-library>summary span{font-size:12px;font-weight:400;margin-left:10px;color:#5c6d85}.cast-content{padding:0 18px 18px}.cast-select{display:grid;grid-template-columns:auto minmax(150px,250px);gap:8px 20px;align-items:center}.cast-select label{font-size:13px;font-weight:600}.cast-select select{min-height:42px;border:1px solid #9cacc4;border-radius:6px;padding:8px;font:inherit;background:white;color:#263d5c}.cast-select p{grid-column:1/-1;font-size:12px;color:#536580;margin:0 0 14px}.cast-note{font-size:12px;color:#536580;max-width:75ch;line-height:1.6;margin-bottom:0}.cast-library .model-stage{height:380px}select:focus-visible,summary:focus-visible{outline:3px solid #94b7e6;outline-offset:3px}::selection{background:#cbdcf4;color:#14233b}@media(max-width:680px){.form-portrait{height:105px}.cast-select{grid-template-columns:1fr}.cast-select p{grid-column:auto}.cast-library>summary span{display:block;margin:7px 0 0}.cast-library .model-stage{height:330px}.model-controls button{min-height:40px;padding:5px 10px;font-size:11px}.selection-stage{height:250px}}@media(max-width:400px){.form-portrait{height:100px;grid-row:span 2}.form-card{grid-template-columns:100px 1fr}.form-name{align-self:end}.traits{align-self:start}.story-stage{bottom:80px}.model-loading{font-size:10px}.model-controls{gap:4px}.cast-content{padding:0 10px 14px}}@media(prefers-reduced-motion:reduce){.hero-token{animation:none}.form-card,.button{transition:none}}

/* Reserve separate space for model controls and the story caption. */
.scene-art{height:430px}.story-stage{bottom:125px}.scene-caption{max-width:calc(100% - 50px)}@media(max-width:680px){.scene-art{height:410px}.story-stage{bottom:130px}}@media(max-width:400px){.scene-art{height:390px}.story-stage{bottom:135px}}

/* Immersive 3D game viewport and focused HUD. */
#app.immersive{max-width:none;min-height:100svh;padding:0;}
.world-game{position:relative;isolation:isolate;min-height:100svh;height:100dvh;overflow:hidden;background:#132338;color:#f4f6f7;padding:0;}
.world-stage{position:absolute;inset:0;overflow:hidden;background:linear-gradient(165deg,#8baabd,#c7d6d0 62%,#304956);}
.world-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;}
.world-fallback{position:absolute;inset:0;display:none;place-items:center;background:linear-gradient(160deg,#9eb7c1,#d1d7c7 62%,#647b67);}
.world-fallback.visible{display:grid;}
.world-fallback-portrait{width:min(34vh,280px);height:min(50vh,380px);object-fit:contain;filter:drop-shadow(0 22px 26px #12253866);}
.world-ready .world-loading{display:none;}
.world-loading{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);padding:10px 14px;border-radius:4px;background:#112235d9;color:#f5f4ed;font-size:13px;}
.world-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0b172cba 0%,transparent 24%,transparent 66%,#0b172cc4 100%),linear-gradient(90deg,#10203348,transparent 34%,transparent 70%,#10203338);}
.world-header,.world-quest,.world-bottom-left,.world-bottom-right,.world-assumption{position:absolute;z-index:2;}
.world-header{top:0;left:0;right:0;min-height:68px;padding:env(safe-area-inset-top) 26px 0;display:flex;align-items:center;gap:22px;background:linear-gradient(180deg,#0b172cdf,#0b172c82 76%,transparent);}
.world-brand{display:flex;align-items:center;gap:11px;color:#f7f5ee;text-decoration:none;font-size:10px;letter-spacing:.16em;font-weight:700;}
.world-brand .brand-mark{background:#f1eadc;color:#14233b;}
.level-picker{display:flex;align-items:center;gap:10px;margin-left:auto;}
.level-picker>span,.world-private{font-size:8px;letter-spacing:.17em;font-weight:700;color:#d0d7dc;}
.level-picker select{min-height:44px;min-width:182px;padding:8px 36px 8px 12px;border:1px solid #d2dfdf8c;border-radius:4px;background:#14263ce8;color:#f9f7ed;font:600 12px 'DM Sans',sans-serif;}
.level-picker option{background:#fff;color:#18283a;}
.world-private{padding-left:3px;}
.world-quest{top:105px;left:28px;width:min(340px,31vw);padding:18px 18px 15px;background:#102138e8;border:1px solid #dce4e050;border-radius:7px;box-shadow:0 12px 35px #09162738;}
.quest-state{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:.15em;font-weight:700;color:#c3d3d7;}
.state-dot{width:7px;height:7px;border-radius:50%;background:#c7dcaa;box-shadow:0 0 0 3px #c7dcaa24;}
.world-quest h1{margin:12px 0 7px;font:600 clamp(23px,2.2vw,31px)/1.04 'Playfair Display',Georgia,serif;letter-spacing:-.025em;color:#fff7e7;}
.world-quest>p{margin:0;color:#d4dde0;font-size:12px;line-height:1.5;max-width:34ch;}
.world-guides{display:flex;gap:8px;margin-top:14px;}
.world-guides button{min-height:40px;padding:0 11px;border:1px solid #dce5e14c;border-radius:4px;background:#ffffff0b;color:#f1e7cf;font-size:10px;font-weight:600;cursor:pointer;}
.world-guides button:hover{background:#ffffff1e;border-color:#eee3c4a8;}
.guide-note{margin-top:12px!important;padding:9px 10px;border-radius:4px;background:#f2ebdc;color:#293b4d!important;font-size:11px!important;}
.guide-note b{margin-right:4px;color:#203754;}
.quest-steps{display:flex;flex-direction:column;gap:7px;margin-top:15px;padding-top:12px;border-top:1px solid #e4edf027;color:#abb9c1;font-size:9px;}
.quest-steps span{display:flex;align-items:center;gap:8px;}
.quest-steps span::before{content:"";width:6px;height:6px;border:1px solid #aebbc0;border-radius:50%;}
.quest-steps .done{color:#e2e8da;}
.quest-steps .done::before{background:#b8cda2;border-color:#b8cda2;}
.world-bottom-left{left:27px;bottom:max(23px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:16px;}
.movement-hint{display:flex;flex-direction:column;gap:5px;max-width:225px;padding:10px 12px;background:#102138df;border-radius:5px;color:#f0ead9;box-shadow:0 7px 24px #09162736;}
.movement-hint [data-movement-status]{font-size:11px;font-weight:600;}
.movement-hint small{color:#c1ccd0;font-size:9px;line-height:1.4;}
.move-pad{display:grid;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(2,46px);gap:4px;touch-action:none;}
.move-pad button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #e6e5d380;border-radius:5px;background:#112238d9;color:white;touch-action:none;cursor:pointer;}
.move-pad button:nth-child(1){grid-column:2;grid-row:1;}
.move-pad button:nth-child(2){grid-column:1;grid-row:2;}
.move-pad button:nth-child(3){grid-column:2;grid-row:2;}
.move-pad button:nth-child(4){grid-column:3;grid-row:2;}
.move-pad button:active{background:#b6c6a7;color:#14233b;}
.pad-arrow{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:10px solid currentColor;}
.pad-arrow.west{transform:rotate(-90deg);}.pad-arrow.south{transform:rotate(180deg);}.pad-arrow.east{transform:rotate(90deg);}
.world-bottom-right{right:27px;bottom:max(23px,env(safe-area-inset-bottom));width:min(390px,38vw);display:flex;flex-direction:column;gap:8px;}
.world-form{display:flex;align-items:center;gap:11px;min-height:65px;padding:7px 10px;background:#102138e8;border-radius:5px;box-shadow:0 7px 24px #09162736;}
.world-form-portrait{width:42px;height:50px;object-fit:contain;flex:none;}
.world-form>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;}
.world-form small{color:#c0cbd0;font-size:8px;letter-spacing:.12em;font-weight:700;}
.world-form b{font-size:11px;color:#fff7e7;}
.world-form .button.transform{min-height:40px;padding:8px 10px;border-color:#e0d5be5e;background:#f4eee0;color:#1b2e43;font-size:10px;white-space:nowrap;}
.world-objective{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:64px;padding:9px 11px;background:#ede6d6;border-radius:5px;color:#20334a;box-shadow:0 8px 25px #09162734;}
.world-objective>span{max-width:20ch;font-size:9px;line-height:1.35;letter-spacing:.08em;font-weight:700;color:#526477;}
.world-objective .button.primary{min-height:43px;padding:10px 13px;background:#244b69;color:#fffdf5;border-radius:4px;font-size:11px;white-space:nowrap;}
.world-objective .button:disabled{opacity:.5;}
.world-assumption{right:29px;bottom:7px;margin:0;color:#e3e9e7c9;font-size:8px;text-align:right;}
.world-game+.cast-library,.world-game+.cast-library+footer{max-width:1120px;margin-left:auto;margin-right:auto;}
@media(max-width:900px){
 .world-header{padding-left:18px;padding-right:18px;gap:13px;}
 .world-private{display:none;}
 .world-quest{left:18px;top:90px;width:min(310px,38vw);}
 .world-bottom-left{left:18px;bottom:max(24px,env(safe-area-inset-bottom));flex-direction:column-reverse;align-items:flex-start;gap:8px;}
 .world-bottom-right{right:18px;width:min(365px,47vw);bottom:max(24px,env(safe-area-inset-bottom));}
 .movement-hint{padding:8px 10px;}
 .world-assumption{right:18px;bottom:7px;}
}
@media(max-width:650px){
 .world-game{min-height:100svh;height:100svh;}
 .world-header{min-height:60px;padding-left:12px;padding-right:12px;gap:8px;}
 .world-brand{font-size:0;gap:0;}.world-brand .brand-mark{font-size:12px;}
 .level-picker{gap:6px;}.level-picker>span{display:none;}
 .level-picker select{min-height:44px;min-width:160px;max-width:56vw;font-size:11px;}
 .world-quest{top:74px;left:12px;width:min(300px,calc(100vw - 24px));padding:11px 12px 10px;}
 .quest-state{font-size:7px;}
 .world-quest h1{margin:7px 0 4px;font-size:21px;}
 .world-quest>p{font-size:10px;line-height:1.38;max-width:48ch;}
 .world-guides{margin-top:8px;gap:6px;}.world-guides button{min-height:44px;padding:0 9px;font-size:9px;}
 .quest-steps{display:none;}
 .guide-note{margin-top:7px!important;padding:7px 8px;font-size:10px!important;}
 .world-bottom-left{left:12px;bottom:max(22px,env(safe-area-inset-bottom));gap:6px;}
 .move-pad{grid-template-columns:repeat(3,43px);grid-template-rows:repeat(2,43px);gap:3px;}
 .move-pad button{min-width:44px;min-height:44px;}
 .movement-hint{max-width:156px;padding:7px 8px;}.movement-hint [data-movement-status]{font-size:9px;}.movement-hint small{font-size:8px;}
 .world-bottom-right{right:12px;bottom:max(22px,env(safe-area-inset-bottom));width:calc(100vw - 172px);max-width:270px;gap:6px;}
 .world-form{gap:7px;min-height:55px;padding:5px 7px;}.world-form-portrait{width:31px;height:42px;}.world-form small{font-size:7px;}.world-form b{font-size:9px;}
 .world-form .button.transform{min-height:44px;padding:6px 7px;font-size:8px;}
 .world-objective{min-height:53px;padding:7px 8px;gap:5px;}.world-objective>span{font-size:7px;max-width:13ch;}.world-objective .button.primary{min-height:44px;padding:8px 9px;font-size:9px;}
 .world-assumption{right:11px;bottom:3px;max-width:calc(100vw - 24px);font-size:7px;}
}
@media(max-width:380px){
 .world-quest{top:69px;padding:9px 10px;}
 .world-quest h1{font-size:19px;}
 .world-quest>p{font-size:9px;}
 .world-bottom-right{width:calc(100vw - 158px);right:9px;}
 .world-bottom-left{left:9px;}
 .move-pad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:2px;}
 .move-pad button{min-width:44px;min-height:44px;}
 .world-objective .button.primary{min-height:44px;padding:7px;font-size:8px;}
 .world-form .button.transform{min-height:44px;padding:5px;font-size:7px;}
}
@media(max-height:620px) and (min-width:651px){
 .world-quest{top:78px;padding:12px;width:290px;}.world-quest h1{font-size:22px;margin:7px 0 5px;}.world-guides{margin-top:8px;}.quest-steps{margin-top:8px;padding-top:7px;gap:5px;}
 .world-bottom-left,.world-bottom-right{bottom:17px;}.move-pad{grid-template-columns:repeat(3,40px);grid-template-rows:repeat(2,40px);}
 .world-form{min-height:55px;}.world-objective{min-height:52px;}
}


.world-fullscreen{min-height:40px;padding:8px 11px;border:1px solid #d2dfdf8c;border-radius:4px;background:#14263ce8;color:#f9f7ed;font-size:10px;font-weight:600;cursor:pointer;}
.world-fullscreen:hover{background:#263e57;}
@media(max-width:650px){.world-fullscreen{min-height:44px;padding:7px 8px;font-size:9px;}}
@media(max-width:650px){.movement-hint{max-width:136px;}}
@media(max-width:380px){
 .movement-hint{max-width:126px;}
 .world-form{flex-wrap:wrap;}
 .world-form .button.transform{width:100%;flex-basis:100%;}
 .world-objective{align-items:stretch;flex-direction:column;gap:4px;}
 .world-objective>span{max-width:none;}
 .world-objective .button.primary{width:100%;justify-content:space-between;}
}
