: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 0 40px #fff7d6aa}.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:#6d7c92;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}}
