.glossary-word{cursor:pointer;white-space:normal;text-decoration:none;font:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;color:inherit!important;min-width:0!important;min-height:0!important;box-shadow:none!important;vertical-align:baseline!important;text-align:inherit!important;background:#f9e3a9!important;border:0!important;border-bottom:1px dotted #86632f!important;border-radius:3px!important;margin:0!important;padding:0 .05em!important;display:inline!important}.glossary-word:hover{background:#f4cf77!important}.glossary-word:focus-visible{outline-offset:3px;background:#ffe8af!important;outline:3px solid #634782!important}.scene-canvas{background:#f4eedf;border:1px solid #d6cbbb;border-radius:18px;overflow:hidden}.scene-window{isolation:isolate;background:#e7e0cd;position:relative;overflow:hidden}.story-art .scene-canvas .scene-art{aspect-ratio:16/9;object-fit:contain;object-position:center;border:0;border-radius:0;width:100%;height:auto;display:block}.scene-canvas .story-vignette{border:0;border-radius:0}.battle-art .scene-canvas .scene-art{aspect-ratio:auto;object-fit:cover;height:155px}.scene-atmosphere{pointer-events:none;z-index:1;background:radial-gradient(at 20% 3%,#ffeab529,#0000 55%);position:absolute;inset:0;overflow:hidden}.scene-atmosphere i{opacity:.45;background:#fff4bb;border-radius:50%;width:5px;height:5px;position:absolute;top:55%;left:22%;box-shadow:0 0 9px 3px #ffe7a574}.scene-atmosphere i:nth-child(2){width:3px;height:3px;top:32%;left:45%;animation-delay:-3s!important}.scene-atmosphere i:nth-child(3){top:58%;left:70%;animation-delay:-7s!important}.scene-atmosphere i:nth-child(4){width:3px;height:3px;top:27%;left:84%;animation-delay:-5s!important}.scene-atmosphere i:nth-child(5){top:75%;left:9%;animation-delay:-9s!important}.scene-canvas[data-motion=full] .scene-atmosphere i{animation:12s ease-in-out infinite alternate scene-drift}@keyframes scene-drift{0%{opacity:.15;transform:translate(-5px,8px)}50%{opacity:.7}to{opacity:.3;transform:translate(15px,-25px)}}.scene-hotspot{z-index:2;width:44px;min-width:44px;height:44px;min-height:44px;font-size:1rem;font-weight:800;position:absolute;transform:translate(-50%,-50%);color:#fff8de!important;background:#342b4bea!important;border:2px solid #fff6d8!important;border-radius:50%!important;padding:0!important;box-shadow:0 0 0 4px #342b4b50!important}.scene-hotspot[aria-pressed=true]{color:#302840!important;background:#ffe19f!important;border-color:#342b4b!important;box-shadow:0 0 0 7px #ffe5a266!important}.scene-hotspot:focus-visible{outline-offset:6px;outline:3px solid #fff!important}.scene-tools{background:#faf5ea;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;padding:5px 9px;display:flex}.scene-tools button{color:#544463;min-height:44px;box-shadow:none;background:0 0;border:0;padding:8px 10px;font-size:.8rem;font-weight:650}.scene-tools button:first-child span{margin-left:10px}.scene-tools .ambience-toggle{color:#635a49;font-size:.7rem}.scene-observation{background:#fffaf0;border-top:1px solid #ded2ba;padding:0 18px 14px}.observation-hint{margin:14px 0 10px;font-size:.82rem}.observation-options{flex-wrap:wrap;gap:8px;display:flex}.observation-options button{color:#544163;background:#fffdf6;border:1px solid #c5b99d;border-radius:12px;min-height:44px;padding:8px 12px;font-size:.78rem}.observation-options button[aria-pressed=true]{color:#fff6e3;background:#342b4b;border-color:#342b4b}.observation-description{min-height:80px;padding:14px 1px 0;font-size:.9rem;line-height:1.65}.observation-description p{margin:5px 0}.observation-description strong{font-family:Georgia,serif;font-size:1.1rem}@media (prefers-reduced-motion:reduce){.scene-canvas .scene-atmosphere i{animation:none!important}.scene-tools .ambience-toggle{display:none}}@media (width<=600px){.scene-tools{padding:3px 5px}.scene-tools button{font-size:.73rem}.scene-tools .ambience-toggle{font-size:.65rem}.scene-observation{padding:0 12px 12px}.scene-hotspot{width:44px;height:44px}}.game-icon{flex:none;width:1.6rem;height:1.6rem;display:block}.toolbar.game-menu{background:#f6f0e6;border:1px solid #d9d0c3;border-radius:22px;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:20px;padding:10px;display:grid;box-shadow:0 8px 28px #302a4908}.toolbar.game-menu .nav-button{text-align:center;overflow-wrap:normal;color:#40374f;background:0 0;border:1px solid #0000;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-width:0;min-height:108px;padding:15px 7px;line-height:1.3;display:flex}.nav-symbol{color:#574270;background:#e6dfef;border:1px solid #d9cfe5;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.nav-inventory .nav-symbol{color:#795324;background:#f6e2c2;border-color:#eed3a6}.nav-upgrades .nav-symbol{color:#245f59;background:#d9ebe5;border-color:#bcd8ce}.nav-journal .nav-symbol{color:#654279;background:#eadff0}.nav-map .nav-symbol{color:#355c72;background:#dde9ee}.nav-dictionary .nav-symbol{color:#875630;background:#f4e3d6}.nav-settings .nav-symbol{color:#4d526c;background:#e3e3ed}.toolbar.game-menu .nav-button:hover:not(:disabled){background:#fffaf0;border-color:#c8bbd5}.toolbar.game-menu .nav-button.current{color:#fffaf0;background:#302a49;box-shadow:0 5px 16px #302a4926}.toolbar.game-menu .nav-button.current .nav-symbol{color:#302a49;background:#f1bf66;border-color:#f1bf66}.panel-title{align-items:center;gap:16px;display:flex}.panel-title .game-icon{color:#7e5d37;width:2.25rem;height:2.25rem}.story-art{min-width:0;margin:22px 0 14px}.scene-frame-0 .scene-art{object-position:50% 48%}.scene-frame-1 .scene-art{object-position:40% 65%}.scene-frame-2 .scene-art{object-position:60% 35%}.story-art .scene-art,.reader-welcome>.scene-art{object-fit:cover;background:#ede5d6;border:1px solid #d6cbbb;border-radius:18px;width:100%;height:clamp(155px,24vw,280px);display:block}.story-vignette{isolation:isolate;background:radial-gradient(at 90% 0,#fff4d6,#0000 65%),linear-gradient(120deg,#eee2ca,#e5e7ec);border:1px solid #d9c6a5;border-radius:18px;align-items:center;gap:22px;min-height:144px;padding:24px 28px;display:flex;position:relative;overflow:hidden}.story-vignette:before{content:"";z-index:-1;border:1px solid #87729924;border-radius:50%;width:230px;height:230px;position:absolute;top:-70px;right:7%}.story-vignette:after{content:"";z-index:-1;border:1px solid #87729924;border-radius:50%;width:260px;height:260px;position:absolute;bottom:-115px;right:4%}.vignette-symbol{color:#725638;background:#fffaf0bb;border:1px solid #c7b38c;border-radius:22px;flex:none;place-items:center;width:76px;height:76px;display:grid;transform:rotate(-5deg)}.vignette-symbol .game-icon{width:44px;height:44px}.story-vignette small{letter-spacing:.13em;color:#665370;max-width:28ch;font-size:.65rem;font-weight:750;line-height:1.7;display:block}.story-vignette strong{color:#3b3049;margin-top:7px;font:600 clamp(1.1rem,2.4vw,1.55rem) Georgia,serif;display:block}.vignette-orbit{color:#9d8152;margin-left:auto}.vignette-orbit .game-icon{width:32px;height:32px}.motif-sound{background:linear-gradient(120deg,#dfe8e6,#eee4cf)}.motif-photo,.motif-journal{background:linear-gradient(120deg,#e3deed,#f5e6ca)}.motif-crystal{background:linear-gradient(120deg,#d7e9e4,#e8e0ef)}.scene-cast,.welcome-cast{flex-wrap:wrap;justify-content:flex-start;gap:12px;margin-top:12px;display:flex}.cast-card{background:#fffdf8;border:1px solid #d6c9bb;border-radius:16px;align-items:center;gap:10px;min-width:0;max-width:100%;margin:0;padding:9px 15px 9px 9px;display:flex;box-shadow:0 4px 12px #302a4908}.cast-card figcaption{overflow-wrap:anywhere;font-size:.86rem;font-weight:750}.character-portrait{object-fit:contain;object-position:center;pointer-events:none;width:100%;height:clamp(85px,13vw,145px);display:block}.character-emblem{color:#5e4d70;background:linear-gradient(135deg,#f4e5c5,#e6deec);border:1px solid #c7bca4;border-radius:50%;place-items:center;width:66px;height:66px;margin:3px auto;display:grid}.character-emblem .game-icon{width:36px;height:36px}.emblem-ren{color:#584b80;background:linear-gradient(135deg,#e4ddf1,#f4dfb7)}.emblem-iori{color:#6f4288;background:linear-gradient(135deg,#e9d9ef,#deebed)}.emblem-aya{color:#266269;background:linear-gradient(135deg,#d9eae1,#f6ddd0)}.cast-card .character-portrait{width:68px;height:76px}.cast-card .character-emblem{flex:none;width:44px;height:44px;margin:0}.cast-card .character-emblem .game-icon{width:25px;height:25px}.cast-ren{border-bottom:3px solid #8a7eae}.cast-iori{border-bottom:3px solid #ab80b2}.cast-aya{border-bottom:3px solid #6a9b90}.reader-welcome{margin:20px 0}.welcome-cast{justify-content:center}.welcome-emblem{color:#695334;background:linear-gradient(110deg,#e3dfec,#f7e7c5,#dfe9e5);border:1px solid #d8caaf;border-radius:20px;justify-content:center;align-items:center;gap:28px;padding:26px;display:flex}.welcome-emblem>.game-icon{width:40px;height:40px}.welcome-emblem>.game-icon:nth-child(2){color:#725a92;width:64px;height:64px}.item-illustration{object-fit:contain;width:100%;height:110px;display:block}.item-emblem{color:#735a37;background:#ede1cd;border-radius:14px;place-items:center;width:50px;height:50px;display:grid}.item-emblem .game-icon{width:30px;height:30px}.reading .prose{min-height:100px}.reading .prose p{margin:22px 0 28px}.reading .page-controls{border-top:1px solid #e4dbcf;padding-top:18px}.page-glossary{background:#f3f1f4;border:1px solid #d5d4d6;border-radius:14px;margin:24px 0 0;padding:2px 10px}.page-glossary p{padding:0 10px 5px;line-height:1.7}.page-glossary small{color:#554e63;font-weight:400}.page-glossary summary{color:#40324f}.page-glossary .game-icon{vertical-align:middle;width:20px;height:20px;margin-right:7px;display:inline-block}.battle-art .scene-art{height:155px}.battle-art .story-vignette{min-height:100px;padding:14px 22px}.battle-art .vignette-symbol{width:54px;height:54px}.battle-art .vignette-symbol .game-icon{width:32px;height:32px}@media (width<=850px){.toolbar.game-menu{grid-template-columns:repeat(4,minmax(0,1fr))}.toolbar.game-menu .nav-button{min-height:94px}.story-vignette{gap:16px;padding:20px}}@media (width<=600px){.toolbar.game-menu{border-radius:17px;gap:6px;padding:7px}.toolbar.game-menu .nav-button{gap:8px;min-width:0;min-height:91px;padding:11px 4px;font-size:.74rem}.nav-symbol{border-radius:11px;width:36px;height:36px}.nav-symbol .game-icon{width:22px;height:22px}.story-vignette{gap:13px;min-height:124px;padding:16px}.vignette-symbol{border-radius:16px;width:56px;height:56px}.vignette-symbol .game-icon{width:32px;height:32px}.vignette-orbit{display:none}.story-vignette small{letter-spacing:.08em;font-size:.56rem}.character-emblem{width:50px;height:50px}.character-emblem .game-icon{width:28px;height:28px}.scene-cast{gap:7px}.cast-card{gap:7px;padding:7px 10px 7px 7px}.cast-card .character-portrait{width:48px;height:60px}.cast-card figcaption{font-size:.8rem}.reading .prose{min-height:105px}.panel-title{gap:10px}.panel-title .game-icon{flex:none;width:1.65rem;height:1.65rem}}@media (width<=360px){.toolbar.game-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar.game-menu .nav-button{font-size:.73rem}.welcome-cast{gap:6px}.welcome-cast .cast-card{flex-direction:column;padding:8px 12px}.page-controls{gap:7px;font-size:.78rem}.page-controls button{padding:10px;font-size:.8rem}}.world-atlas{padding:clamp(14px,3vw,30px)}.atlas-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.atlas-heading h1{margin:6px 0 10px}.atlas-count{color:#365244;background:#e5eee5;border:1px solid #b8c6b9;border-radius:30px;flex:none;padding:9px 14px;font-size:.85rem;font-weight:700}.atlas-tools{flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0 12px;display:flex}.atlas-tools button{min-width:44px;min-height:44px;padding:8px 13px}.atlas-tools output{text-align:center;color:#484154;min-width:56px;font-size:.85rem}.atlas-place-select{align-items:center;gap:8px;min-width:0;margin-left:auto;font-size:.85rem;display:flex}.atlas-place-select select{min-width:0;max-width:250px;min-height:44px}.atlas-scroll{overscroll-behavior-x:contain;scrollbar-color:#83795f #e7ddc3;background:#e8f0e9;border:1px solid #b6bba7;border-radius:20px;overflow:auto}.atlas-surface{aspect-ratio:1000/740;position:relative}.atlas-drawing{width:100%;height:100%;display:block;position:absolute;inset:0}.atlas-pin{color:#40374f;width:44px;min-width:44px;height:44px;min-height:44px;position:absolute;overflow:visible;transform:translate(-50%,-50%);box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.atlas-marker{color:#61492f;background:#fffaf0;border:2px solid #846543;border-radius:50%;place-items:center;width:44px;height:44px;font-weight:800;display:grid;box-shadow:0 3px #a79069,0 5px 8px #55492b28}.atlas-marker svg{width:23px;height:23px}.atlas-pin[aria-pressed=true] .atlas-marker{color:#fff4da;background:#342b4b;border-color:#342b4b}.atlas-pin.here .atlas-marker{outline-offset:3px;outline:4px solid #ddab45}.atlas-pin.undiscovered .atlas-marker{color:#706652;box-shadow:none;background:#e9e5d9;border:2px dashed #8b8270}.atlas-pin-label{color:#3c3443;text-align:center;white-space:normal;pointer-events:none;background:#fffaf0f2;border:1px solid #cebe9e;border-radius:7px;width:max-content;max-width:137px;padding:4px 7px;font-size:12px;font-weight:700;line-height:1.3;position:absolute;top:50px;left:50%;transform:translate(-50%)}.atlas-here{white-space:nowrap;color:#fff4da;background:#342b4b;border-radius:6px;padding:4px 8px;font-size:11px;position:absolute;bottom:54px;left:50%;transform:translate(-50%)}.atlas-pin:hover .atlas-marker{border-color:#2e253e;box-shadow:0 0 0 4px #d9c8a2}.atlas-pin:focus-visible{outline-offset:8px;border-radius:50%;outline:3px solid #302443}.atlas-legend{color:#5e594d;flex-wrap:wrap;gap:10px 22px;padding:15px 3px;font-size:.78rem;display:flex}.atlas-detail{background:#fffaf1;border:1px solid #d8cdb6;border-radius:16px;grid-template-columns:minmax(160px,30%) 1fr;align-items:center;gap:22px;min-height:180px;padding:18px;display:grid}.atlas-detail:not(:has(img)){grid-template-columns:1fr}.atlas-preview{aspect-ratio:16/9;object-fit:cover;border-radius:10px;width:100%;height:auto}.atlas-detail h2{margin:5px 0 10px;font-size:1.25rem}.atlas-detail p{margin:8px 0}.atlas-detail small{color:#64596b;font-size:.8rem;line-height:1.6;display:block}.atlas-detail .eyebrow{color:#796139;font-size:.64rem}@media (width<=600px){.atlas-scroll{max-height:400px}.atlas-tools{column-gap:5px}.atlas-tools button{padding:8px 10px}.atlas-tools output{min-width:45px;font-size:.75rem}.atlas-tools button:first-child{width:100%}.atlas-heading{align-items:flex-start}.atlas-heading h1{font-size:1.35rem}.atlas-count{padding:7px 10px;font-size:.7rem}.atlas-place-select{width:100%;margin-top:6px;margin-left:0}.atlas-place-select select{flex:1;width:100px;max-width:none}.atlas-detail{grid-template-columns:1fr;gap:14px;padding:14px}.atlas-preview{max-height:180px}.atlas-legend{gap:8px 15px;font-size:.7rem}}.music-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem 1rem;max-width:1160px;margin:auto;padding:.6rem 1rem;display:flex}.music-controls button{white-space:normal;min-height:44px;margin:0}.music-controls .music-volume{align-items:center;gap:.5rem;margin:0;font-size:.85rem;display:flex}.music-controls .music-volume input{width:100px;min-height:44px;margin:0}.music-controls output{text-align:right;min-width:3.5em}.music-controls .music-status{font-size:.85rem;line-height:1.5}.music-controls .music-status:empty{display:none}.music-controls :focus-visible{outline-offset:3px;outline:3px solid}@media (width<=600px){.music-controls{justify-content:flex-start}.music-controls .music-status{flex-basis:100%}}:root{color:#28233e;font-synthesis:none;background:#ebe4d8;font-family:system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{color:#28233e;cursor:pointer;background:#fffaf0;border:1px solid #bcb4c5;border-radius:10px;max-width:100%;min-height:48px;padding:12px 18px;font-weight:650;text-decoration:none}.button{vertical-align:middle;text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;display:inline-flex}button:hover:not(:disabled),.button:hover{background:#eee4cb;border-color:#504060}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #147b82}.primary{border-color:#302a49;color:#fff8e8!important;background:#302a49!important}.primary:hover{background:#4c3e67!important}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;font-family:Georgia,serif;font-size:clamp(2rem,5vw,3.7rem);line-height:1.13}h2{font-size:1.5rem}h3{font-size:1.1rem}h1,h2,h3{overflow-wrap:anywhere}header{color:#f6eedd;background:#28233e;justify-content:space-between;align-items:center;gap:16px;padding:24px max(5vw,16px);display:flex}header button{color:#f6eedd;background:0 0;border-color:#756784}.header-actions{align-items:center;gap:10px;display:flex}.header-save-button{place-items:center;width:48px;min-width:48px;padding:10px;display:inline-grid}.header-save-button .game-icon{width:24px;height:24px}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.brand{color:inherit;letter-spacing:.16em;font-family:Georgia,serif;font-size:1.75rem;text-decoration:none}.brand span{letter-spacing:.08em;margin-top:6px;font:400 .75rem system-ui;display:block}.shell{min-height:100vh}main{max-width:1180px;margin:auto;padding:30px 24px 70px}.eyebrow{letter-spacing:.16em;color:#69533e;text-transform:uppercase;font-size:.8rem;font-weight:750}.start{max-width:920px;margin:20px auto}.start h1{max-width:900px;font-size:clamp(2.6rem,7vw,5.6rem)}.lead{max-width:650px;font-size:1.2rem;line-height:1.8}.team-tags{flex-wrap:wrap;gap:16px;margin:28px 0 40px;display:flex}.team-tags span{border-bottom:3px solid #b97942;padding:8px 0;font-size:.85rem;font-weight:750}.team-tags span:nth-child(2){border-color:#71618c}.team-tags span:nth-child(3){border-color:#277980}.start-box,.panel,.reading{background:#fffaf0;border:1px solid #d2c7b5;border-radius:18px;padding:clamp(20px,4vw,48px);box-shadow:0 12px 35px #28233e08}.start-box{max-width:780px}.start-box>button{margin:10px 8px 12px 0}.google-login{justify-items:start;gap:16px;margin-bottom:24px;display:grid}.google-login>*{min-width:0;max-width:100%;margin:0}.google-login>h2:not(:first-child){border-top:1px solid #d2c7b5;width:100%;margin-top:8px;padding-top:24px}.small{color:#625c6e;font-size:.88rem;line-height:1.6}.slots{gap:12px;display:grid}.slots article{border-top:1px solid #d3cbbb;padding:20px 0}.slots button{margin:5px}.toolbar,.tabs{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.toolbar button{font-size:.88rem}.game-menu{max-width:430px;margin:0 0 12px}.game-menu-control{background:#fffaf0;border:1px solid #cfc3b5;border-radius:14px;margin:0;padding:14px 16px;box-shadow:0 7px 20px #28233e08}.game-menu-label{color:#62556c;align-items:center;gap:9px;font-size:.82rem;display:flex}.game-menu-label .game-icon{width:21px;height:21px}.game-menu-control select{background:#fff;margin-top:8px;font-weight:700}.savebar{color:#564c61;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;font-size:.88rem;display:flex}.savebar button{font-size:.85rem}.reading{max-width:900px;margin:auto}.reading h1{font-size:clamp(1.9rem,4vw,2.8rem)}.prose{min-height:180px}.prose p,.journal-prose{font-family:Georgia,serif;font-size:calc(19px * var(--text-scale,1));white-space:pre-line;max-width:65ch;margin:32px 0;line-height:1.75}.page-controls{justify-content:space-between;align-items:center;gap:12px;margin-top:26px;font-size:.9rem;display:flex}.choices{gap:12px;margin-top:24px;display:grid}.notice,.intent,.target{background:#eee8f2;border-left:4px solid #796690;border-radius:8px;margin:20px 0;padding:20px}.intent{font-size:.9rem}.intent p{margin:10px 0 0}.party,.enemies{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;display:grid}.hero,.enemy{text-align:left;background:#faf5ec;border:1px solid #c9bfd0;border-radius:12px;flex-direction:column;align-items:stretch;gap:8px;padding:18px;font-size:.85rem;display:flex}.hero.selected{box-shadow:0 0 0 3px #625174}.hero strong{font-size:1.15rem}.initial{color:#735432;font-family:Georgia,serif;font-size:1.7rem}.iori .initial{color:#6d4586}.aya .initial{color:#116d76}meter{accent-color:#397a6d;width:100%;height:14px}.enemy{background:#ece7ee}.battle-title{justify-content:space-between;gap:12px;display:flex}.tabs button{padding:10px;font-size:.86rem}.tabs .active{background:#e9b95c}.actions,.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px;display:grid}.actions button,.cards article{text-align:left;background:#f9f2e7;border:1px solid #d1c3af;border-radius:12px;flex-direction:column;gap:10px;padding:22px;display:flex}.actions span,.cards p{font-size:.95rem;font-weight:400;line-height:1.55}.actions small{font-size:.8rem;font-weight:500}.cards article button{margin-top:5px}.combat-log{border-top:1px solid #ddd;padding-top:12px;font-size:.9rem;line-height:1.6}label{margin:18px 0;font-weight:600;display:block}select,input:not([type=checkbox]){color:#28233e;background:#fff;border:1px solid #a99aaf;border-radius:8px;width:100%;min-height:48px;margin-top:8px;padding:10px;display:block}input[type=checkbox]{vertical-align:middle;width:22px;height:22px}details{margin:24px 0;line-height:1.7}summary{cursor:pointer;min-height:48px;padding:10px;font-weight:600}.map{gap:16px;padding:0;list-style:none;display:grid}.map li{color:#756e7a;border-left:3px solid #bdb5c2;align-items:flex-start;gap:20px;padding:20px;display:flex}.map .known{color:#28233e;border-color:#b97942}.map li>span{font:2rem Georgia}.map h2{font-size:1.1rem}.error{color:#7b251d;background:#fce2de;justify-content:center;align-items:center;gap:20px;padding:18px;display:flex}.modal{z-index:10;background:#171122bd;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal section{background:#fffaf0;border-radius:15px;max-width:600px;max-height:90vh;padding:30px;overflow:auto}.modal button,.target button{margin:6px}.word-modal{z-index:30}.word-modal section{border:2px solid #8b7398;width:min(620px,100%);box-shadow:0 24px 70px #120d1c66}.word-popup-heading{align-items:flex-start;gap:14px;display:flex}.word-popup-heading .eyebrow{margin-bottom:5px}.word-popup-heading h2{margin-bottom:10px}.word-popup-icon{color:#5a436c;background:#eee5f2;border-radius:14px;flex:0 0 52px;place-items:center;width:52px;height:52px;display:grid}.word-popup-icon .game-icon{width:30px;height:30px}.word-popup-list{gap:12px;margin:18px 0 22px;display:grid}.word-popup-list article{background:#fbf6ed;border:1px solid #d8cbdc;border-radius:12px;padding:16px}.word-popup-list h3{color:#4e395d;margin-bottom:6px;font-family:Georgia,serif;font-size:1.3rem}.word-popup-list p{margin:4px 0;line-height:1.55}.word-popup-form,.word-popup-example{color:#64586a;font-size:.9rem}.word-modal .primary{min-width:130px}.ending{text-align:center;padding:30px 0}footer{text-align:center;color:#72677a;padding:24px;font-size:.8rem}.arrive{animation:.45s ease-out arrive}@keyframes arrive{0%{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}@media (width<=600px){main{padding:20px 12px}.brand{font-size:1.25rem}.brand span{font-size:.65rem}header{padding:16px}header button{padding:8px;font-size:.8rem}.header-actions{gap:6px}.header-save-button{width:42px;min-width:42px;min-height:42px}.party,.enemies{gap:6px}.hero,.enemy{padding:10px;font-size:.75rem}.hero strong{font-size:.95rem}.savebar{flex-direction:column;align-items:stretch}.page-controls{flex-wrap:wrap}.reading,.panel{padding:22px 16px}.toolbar{gap:6px}.toolbar button{flex:1;padding:8px;font-size:.78rem}.prose{min-height:220px}.start h1{font-size:2.65rem}}.hero,.enemy,.reading{overflow-wrap:anywhere;min-width:0;position:relative}.scene-art{object-fit:cover;border-radius:12px;width:100%;max-height:360px}.presentation-asset{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}button{overflow-wrap:anywhere}[hidden]{display:none!important}.enemies{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}@media (width<=600px){.toolbar button{overflow-wrap:normal;flex:115px;min-width:100px}.hero{overflow-wrap:normal}.hero span{overflow-wrap:break-word}.enemy{font-size:.85rem}}footer{color:#564c61}.turn-order{flex-wrap:wrap;gap:.6rem;padding:0;list-style:none;display:flex}.turn-order li{color:#f6f8ff;background:#17273d;border:2px solid #6688b4;border-radius:12px;flex:110px;gap:.25rem;padding:.65rem;display:grid}.turn-order .enemy-turn{background:#3a2330;border-color:#da8793}.turn-order [aria-current=step]{outline-offset:2px;outline:3px solid #f5ce79}.turn-order .played{border-style:dashed}.turn-order small{font-weight:700}.battle-notice{color:#fff;background:#152f49;border:3px solid #79b4ef;border-radius:18px;margin:1.2rem 0;padding:clamp(1rem,3vw,1.6rem);scroll-margin:1rem;box-shadow:0 12px 32px #0005}.battle-notice.hostile-notice{background:#481f31;border-color:#ff9bad}.battle-notice-heading{align-items:center;gap:1rem;display:flex}.battle-notice-heading h3{color:inherit;margin:.4rem 0;font-size:clamp(1.15rem,3vw,1.65rem)}.battle-notice .character-portrait,.battle-notice .character-emblem{object-fit:contain;flex-shrink:0;width:70px;height:70px}.battle-notice .impact-result{background:#0004;border-radius:10px;padding:.6rem .8rem;font-size:1.15em}.battle-notice button{width:100%;min-height:48px;margin-top:.5rem}.enemy.attacking{outline-offset:3px;outline:3px solid #ff9bad}@media (width<=420px){.battle-notice-heading{align-items:flex-start;gap:.5rem}.battle-notice-heading .character-emblem,.battle-notice-heading .character-portrait{width:44px;height:44px}}.parent-page{color:#292840;max-width:1060px;margin:0 auto;padding:20px 4px 48px}.parent-page *{box-sizing:border-box}.parent-page h1{margin:0 0 10px;font-size:clamp(1.9rem,4vw,3rem)}.parent-page h2{align-items:center;gap:10px;margin:0;font-size:1.4rem;display:flex}.parent-page h3{margin:0 0 9px;font-size:1.12rem}.parent-page p{margin:8px 0 14px;line-height:1.65}.parent-intro{padding:8px 4px 18px}.parent-kicker{color:#635599;text-transform:uppercase;letter-spacing:.13em;font-size:.74rem;font-weight:800}.parent-section{background:#fffdf8;border:1px solid #ded8e8;border-radius:24px;margin-bottom:22px;padding:24px;box-shadow:0 6px 24px #27223806}.parent-account{background:linear-gradient(125deg,#f1edf9,#fffdf8)}.parent-account .parent-email{overflow-wrap:anywhere;font-weight:700}.parent-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.parent-icon{color:#655599;flex:0 0 24px;width:24px;height:24px}.parent-page button,.parent-page .button,.parent-page summary{min-height:48px;font:inherit;border-radius:12px;margin:0}.parent-page button,.parent-page .button{color:#343045;cursor:pointer;background:#fff;border:1px solid #c9c0d7;padding:12px 16px}.parent-page button.primary{color:#fff;background:#5c4889;border-color:#5c4889;font-weight:700}.parent-page button:disabled{opacity:.56;cursor:not-allowed}.parent-page button:focus-visible,.parent-page summary:focus-visible,.parent-page input:focus-visible,.parent-page a:focus-visible{outline-offset:3px;outline:3px solid #8061b5}.parent-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.parent-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;display:grid}.parent-profile,.parent-save{background:#fff;border:1px solid #ddd5e5;border-radius:18px;min-width:0;padding:19px}.parent-profile.is-selected{background:#faf7ff;border:2px solid #75609e;padding:18px}.parent-profile-head{align-items:center;gap:12px;display:flex}.parent-profile-head>div{overflow-wrap:anywhere;min-width:0}.parent-profile-avatar{color:#534077;background:#e8e1f4;border-radius:15px;flex:0 0 48px;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.parent-meta{color:#635e70;font-size:.88rem}.parent-badge{color:#554176;background:#e8e0f4;border-radius:30px;margin-left:6px;padding:4px 8px;font-size:.72rem;display:inline-block}.parent-empty{background:#faf8fd;border:1px dashed #cdc3de;border-radius:15px;padding:22px}.parent-page details{margin-top:12px}.parent-page summary{cursor:pointer;color:#584c6d;padding:12px 4px}.parent-form{background:#f8f4ff;border:1px solid #cfc1e3;border-radius:16px;margin:18px 0;padding:18px}.parent-form label{margin:0 0 8px;font-weight:650;display:block}.parent-form input{color:#292840;width:100%;max-width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #a79ab9;border-radius:10px;padding:12px}.parent-page .parent-danger{color:#9c303d;background:#fff9f9;border-color:#ddb5ba}.parent-sensitive{background:#fff9f8;border-color:#e8caca}.parent-sensitive .parent-icon{color:#9c303d}.parent-error{overflow-wrap:anywhere;background:#fff0f1;border:1px solid #ca858c;border-radius:16px;margin-bottom:18px;padding:16px 20px}.parent-error pre{white-space:pre-wrap;font-size:.8rem}.parent-status{color:#315b45;background:#edf7ef;border-radius:12px;margin-bottom:16px;padding:12px 16px}.parent-history{border-top:1px solid #e4dde9;margin-top:14px;padding-top:12px}.parent-history article{background:#f7f4fa;border-radius:12px;margin:10px 0;padding:12px}@media (width<=680px){.parent-page{padding:12px 0 32px}.parent-section{border-radius:18px;margin-bottom:16px;padding:18px 14px}.parent-grid{grid-template-columns:1fr}.parent-heading,.parent-actions{flex-direction:column;align-items:stretch}.parent-actions>*,.parent-heading>button{width:100%}.parent-profile,.parent-save{padding:16px}.parent-profile.is-selected{padding:15px}.parent-page h2{font-size:1.25rem}}.parent-admin{background:linear-gradient(135deg,#f8f5ff,#fffdf8)}.parent-table-wrap{border:1px solid #e2dbea;border-radius:14px;margin:12px 0 22px;overflow-x:auto}.parent-table{border-collapse:collapse;background:#fff;width:100%;min-width:720px}.parent-table th,.parent-table td{text-align:left;vertical-align:top;border-bottom:1px solid #eee8f2;padding:10px 12px;font-size:.86rem}.parent-table th{color:#514664;background:#f4f0f8;position:sticky;top:0}.parent-table tr:last-child td{border-bottom:0}.combat-menu{background:linear-gradient(140deg,#fffdf6,#f0ebf7);border:1px solid #cfc3dc;border-radius:24px;margin:24px 0;padding:22px;box-shadow:0 12px 30px #3323430c}.command-heading{align-items:center;gap:16px;display:flex}.command-heading>.character-portrait{width:72px;height:82px}.command-heading>.character-emblem{flex:none;margin:0}.command-heading h3{margin:3px 0 9px;font-size:1.25rem}.command-heading small,.confirm-heading small{letter-spacing:.13em;color:#655174;font-size:.64rem;font-weight:800}.energy-display{flex-wrap:wrap;align-items:center;gap:12px;font-size:.85rem;font-weight:650;display:flex}.energy-pips{gap:5px;display:flex}.energy-pips i{background:#fff;border:1px solid #6a597c;border-radius:4px;width:13px;height:17px;display:block;transform:skew(-12deg)}.energy-pips i.filled{background:#e2ad47;border-color:#87621a}.combat-steps{gap:8px;margin:20px 0 16px;padding:0;font-size:.76rem;font-weight:700;list-style:none;display:flex}.combat-steps li{color:#62596b;border-bottom:3px solid #dbd2e2;flex:1;padding:8px}.combat-steps li[aria-current]{color:#443050;border-color:#856196}.combat-families{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:18px;display:grid}.combat-families button{text-align:left;background:#fffdf8;border-radius:15px;align-items:center;gap:10px;min-height:76px;padding:12px;display:flex}.combat-families small{color:#655c6c;margin-top:4px;font-size:.7rem;font-weight:450;display:block}.combat-families button[aria-pressed=true]{color:#fff9ed;background:#39304f;border-color:#39304f;box-shadow:0 4px 12px #35244220}.combat-families button[aria-pressed=true] small{color:#f0e6f6}.combat-families button[aria-pressed=true] .game-icon{color:#f4c66d}.technique-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.technique-cards>button{text-align:left;background:#fffdf8;border-radius:16px;flex-direction:column;align-items:stretch;gap:12px;min-width:0;padding:16px;display:flex}.technique-cards>button>span:not(.technique-top){font-size:.85rem;font-weight:450;line-height:1.5}.technique-top{align-items:center;gap:9px;display:flex}.technique-top strong{font-size:1rem;line-height:1.3}.technique-top .game-icon{color:#74502d;width:23px;height:23px}.technique-cards>button[aria-pressed=true]{background:#faf4ff;border:2px solid #78528e;padding:15px;box-shadow:0 0 0 2px #78528e16}.energy-cost{color:#5b4729;background:#efe8d9;border-radius:8px;margin-top:auto;padding:7px 9px;font-size:.75rem;font-weight:700;display:block}.technique-cards>button:disabled{opacity:1;color:#756d7a;background:#ece9ee;border-style:dashed}.technique-cards>button:disabled .energy-cost{color:#65586b;background:#e2dbe7}.action-confirmation{background:#fffdf8;border:1px solid #9c84ad;border-radius:18px;margin-top:18px;padding:18px}.confirm-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.confirm-heading h3{margin:4px 0 10px}.confirm-heading h3:focus{outline:none}.confirm-heading>button{font-size:.8rem}.target-picks{border:0;min-width:0;margin:14px 0;padding:0}.target-picks legend{margin-bottom:9px;font-size:.9rem;font-weight:700}.target-picks>div{flex-wrap:wrap;gap:9px;display:flex}.target-picks button{text-align:left;border-radius:14px;flex:1;align-items:center;gap:9px;min-width:160px;padding:9px;display:flex;position:relative}.target-picks button .character-portrait{width:48px;height:60px}.target-picks button .character-emblem{flex:none;width:40px;height:40px;margin:0}.target-picks button .character-emblem .game-icon{width:24px;height:24px}.target-picks small{margin-top:4px;font-size:.75rem;font-weight:450;display:block}.target-picks button[aria-pressed=true]{background:#e8f0e9;border:2px solid #487761;padding:8px}.target-check{color:#2e6048;margin-left:auto}.action-summary{color:#594968;margin:15px 0;font-size:.9rem}.launch-action{border-radius:13px;width:100%;min-height:54px}.empty-potions{border:1px dashed #b7a6c3;border-radius:12px;padding:15px}.potion-actions article{background:#fffdf8;border-radius:16px;padding:16px}.potion-actions button{margin:4px}.battle-title{gap:12px}.turn-order{scrollbar-width:thin}.battle-notice{position:relative;overflow:hidden}.battle-notice .battle-notice-heading,.battle-notice>p,.battle-notice>button{z-index:1;position:relative}.enemy,.hero{position:relative;overflow:hidden}.presentation-asset{pointer-events:none;object-fit:contain;z-index:3;position:absolute;top:15%;left:calc(50% - 62px);width:125px!important;height:125px!important}@media (width<=650px){.combat-menu{border-radius:18px;padding:14px}.combat-families{grid-template-columns:repeat(2,minmax(0,1fr))}.combat-families button{gap:8px;min-height:70px;padding:10px}.combat-families .game-icon{width:23px;height:23px}.technique-cards{grid-template-columns:1fr}.technique-cards>button{gap:7px;padding:13px}.technique-cards>button[aria-pressed=true]{padding:12px}.energy-cost{align-self:flex-start}.command-heading h3{font-size:1.06rem}.command-heading{gap:10px}.command-heading>.character-portrait{width:54px;height:68px}.combat-steps{gap:3px;font-size:.65rem}.combat-steps li{padding:7px 2px}.target-picks button{min-width:130px}.action-confirmation{padding:12px}.confirm-heading{align-items:flex-start}.confirm-heading h3{font-size:1.05rem}}@media (prefers-reduced-motion:reduce){.combat-menu *{scroll-behavior:auto}}.spell-role{color:#4b435d;align-items:center;gap:7px;margin:0 0 8px;font-size:.85rem;display:flex}.spell-role .game-icon{flex:none;width:20px;height:20px}.spell-type{color:#554064;font-size:.8rem;font-weight:700}.presentation-asset[data-tone=fire]{filter:sepia(.6)saturate(2)hue-rotate(335deg)}.presentation-asset[data-tone=wind]{filter:hue-rotate(330deg)saturate(.8)}.presentation-asset[data-tone=heal]{filter:hue-rotate(310deg)saturate(1.4)}.potion-actions button small{margin-top:5px;font-size:.75rem;font-weight:400;display:block}.presentation-asset[data-tone=energy]{filter:hue-rotate(175deg)saturate(1.3)}
