:root{--paper:#f6fbff;--paper-2:#f0f7fb;--ink:#0b2b42;--muted:#3d5d72;--line:#d7e7f1;--panel:rgba(255,255,255,.94);--panel-solid:#fff;--focus:#0b63ce;--sel:#18c9e8;--sans:system-ui,-apple-system,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif}:root[data-theme=dark]{--paper:#10212e;--paper-2:#0b1721;--ink:#edf7ff;--muted:#acc8dc;--line:#324b5d;--panel:rgba(20,39,54,.95);--panel-solid:#142736;--focus:#18c9e8;--sel:#18c9e8}:root[data-theme=light]{--paper:#f6fbff;--paper-2:#f0f7fb;--ink:#0b2b42;--muted:#3d5d72;--line:#d7e7f1;--panel:rgba(255,255,255,.94);--panel-solid:#fff;--focus:#0b63ce;--sel:#18c9e8}header{gap:12px;background:var(--panel);border-bottom:1px solid var(--line)}.atlas-brand{display:flex;align-items:center;gap:10px;flex:none;color:var(--ink);text-decoration:none}.atlas-brand img{height:42px;width:auto;max-width:185px;object-fit:contain;background:white;border-radius:5px;padding:2px}.atlas-brand h1{font-family:var(--sans);font-style:normal;font-size:16px;font-weight:600;letter-spacing:-.03em}.atlas-review{font-size:11px;color:var(--muted);margin:7px 0;padding:6px 0;border-top:1px solid var(--line)}#sexNote:not(:empty){display:block;font-size:11px;line-height:1.45}.app button{min-height:44px}.theme{width:44px;height:44px}.card .gen{display:block!important}.card .name{font-family:var(--sans);font-weight:550}#loader .t{font-family:var(--sans);font-style:normal}#loader .loader-brand{height:56px;width:auto;max-width:240px;object-fit:contain;background:white;border-radius:7px;padding:3px;margin-bottom:16px}#lic .license-status{padding:10px;background:var(--paper-2);border:1px solid var(--line);border-radius:8px;font-size:12px}#tip{white-space:normal}@media(max-width:1050px){.atlas-brand h1{display:none}.atlas-brand img{max-width:145px;height:36px}header{gap:8px}}@media(max-width:760px){.atlas-brand img{max-width:118px;height:32px}.atlas-brand h1{display:none}.theme{display:grid;width:40px;min-height:40px!important;height:40px}header{gap:6px}.views{order:4;flex:1;justify-content:center}.views button{flex:1}.sexsw{margin-left:auto}.search{order:3}.sheetToggle{top:-45px}.app{height:100dvh}.card{max-height:37dvh}.credit#sexNote{display:block}#exReset{display:inline-block}aside.open{max-height:32dvh;overflow:auto}#panel:not(.open) .atlas-review{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}#cNb button{min-height:44px;white-space:normal;line-height:1.35;text-align:left}#cNb .nbl{width:100%;font-weight:600}#cNb .nb-empty{font-size:12px;color:var(--muted)}#cGen{font-size:11.5px;line-height:1.5;border-top:1px solid var(--line);padding-top:9px}.app{display:block}.app header{position:relative;z-index:3}#panel{grid-area:auto;align-self:auto;height:calc(100dvh - 180px)}:root[data-render-mode=text] .hint{display:none}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:not-allowed}a{color:var(--focus)}#stage{top:86px;bottom:250px;left:290px;right:400px}header{height:80px;padding:10px 20px}.search input{font-size:16px;min-height:44px}#panel{position:fixed;left:14px;top:90px;bottom:90px;margin:0;width:260px;max-height:none}#panel .systems label{min-height:44px}.card{position:fixed;right:16px;top:90px;bottom:90px;width:365px;margin:0;max-height:none;border-radius:20px;padding:16px;align-self:stretch}.card-tools{position:sticky;top:-16px;background:var(--panel-solid);display:flex;gap:6px;padding:8px 0;z-index:1}.card-tools button{border:1px solid var(--line);border-radius:8px;background:var(--panel-solid);padding:6px 10px}#cardSize,.panel-close,.mobile-tools{display:none}.explode{position:fixed;bottom:90px;left:calc(50% - 120px);margin:0;width:290px}.hint{position:fixed;top:95px;left:310px;right:410px;max-width:none;font-size:12px;text-align:center;pointer-events:none}.atlas-footer{position:fixed;bottom:0;left:0;right:0;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px max(8px,env(safe-area-inset-bottom));background:var(--panel-solid);border-top:1px solid var(--line);font-size:12px;z-index:8}.atlas-footer button,.atlas-footer summary{min-height:44px;padding:10px;cursor:pointer}.atlas-footer button{background:none;border:1px solid var(--line);border-radius:8px}.atlas-footer details[open]{max-width:600px;max-height:70dvh;overflow:auto}.atlas-footer a{display:inline-block;min-height:32px;padding:5px}#textNotice{position:fixed;top:28%;left:310px;right:410px;max-width:560px;padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:22px;line-height:1.6}#textNotice span{font-size:12px;letter-spacing:.15em;color:var(--focus)}#textNotice h2{font-size:30px;line-height:1.15}#textNotice button{min-height:44px;background:var(--focus);border:0;border-radius:10px;color:white;padding:10px 18px}#loader.done{display:none}.startup-links{font-size:14px}#loader.failed .bar{display:none}@media(max-width:1100px){#panel,#panel.open{height:auto}header{height:70px;padding:8px 12px;gap:8px;flex-wrap:nowrap}.atlas-brand img{height:42px;max-width:92px}.atlas-brand h1{display:none}.sexsw{order:0;margin-left:auto}.theme{order:0;min-width:44px;height:44px!important}.views{display:none}#stage{inset:76px 0 110px}.app{display:block;height:100dvh}.search{display:none;position:fixed;top:76px;left:12px;right:12px;max-width:none;z-index:10;background:var(--panel-solid);padding:10px;border:1px solid var(--line);border-radius:14px}.results{max-height:45dvh;top:100%;z-index:12}.panel-close{display:block!important;border:1px solid var(--line);background:var(--panel-solid);border-radius:8px;min-height:44px;margin:0 0 8px auto;padding:6px 10px}#panel,#panel.open{display:none;position:fixed;left:10px;right:10px;top:auto;bottom:112px;width:auto;max-height:50dvh;margin:0;overflow:auto;padding:14px;z-index:7}#panel h2,#panel .presets,#panel .credit,#panel .opt{display:block}#panel .opt{display:flex}#panel .systems{display:block;overflow:visible;margin:0;padding:0}#panel .systems label{white-space:normal;border-radius:0;border:0;border-top:1px solid var(--line)}#panel .systems .ct{display:block}.sheetToggle{display:none}.card{display:none!important;top:auto;bottom:112px;left:10px;right:10px;width:auto;max-width:none;max-height:46dvh;margin:0;padding:14px;z-index:7}.card.expanded{max-height:72dvh}.card-tools{top:-14px;align-items:center;flex-wrap:wrap}.card-tools button{font-size:12px}.card-tools .panel-close{margin:0 0 0 auto}#cardSize{display:block}.card .name{font-size:25px}.explode{display:block;bottom:calc(112px + env(safe-area-inset-bottom));left:10px;right:10px;width:auto;height:138px;box-sizing:border-box;z-index:8;padding:8px 12px}.views{position:fixed;left:12px;right:12px;top:76px;z-index:8;margin:0}.views button{min-height:44px;flex:1}.explode input[type=range]{height:36px;margin:0;touch-action:pan-y}.explode .ends{display:none}.explode>.row:nth-of-type(2){display:none}.explode .btns{margin-top:0!important}.explode .btns button{flex:1;min-height:44px}.explode .row{min-height:22px}#stage{bottom:calc(258px + env(safe-area-inset-bottom))}.card,#panel,#panel.open{bottom:calc(258px + env(safe-area-inset-bottom));max-height:min(46dvh,calc(100dvh - 338px - env(safe-area-inset-bottom)))}.card.expanded{max-height:calc(100dvh - 338px - env(safe-area-inset-bottom))}.mobile-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));z-index:8;border-top:1px solid var(--line);background:var(--panel-solid);padding:5px}.mobile-tools button{background:none;border:0;border-radius:8px;font-size:14px;min-height:44px;padding:4px}.mobile-tools button[aria-expanded=true]{color:var(--focus);background:var(--paper-2)}.atlas-footer{min-height:58px;padding:0 8px env(safe-area-inset-bottom);gap:4px}.atlas-footer button,.atlas-footer summary{font-size:12px;padding:8px}.atlas-footer details[open]{position:absolute;bottom:0;right:0;left:0;background:var(--panel-solid);padding:12px;border:1px solid var(--line);max-width:none}:root[data-panel=systems] #panel{display:block}:root[data-panel=search] .search{display:block}:root[data-panel=details] .card.on{display:block!important}:root[data-panel=view] .explode,:root[data-panel=view] .views{display:flex}:root[data-panel=view] .explode{display:block}#textNotice{top:90px;left:20px;right:20px;padding:20px;font-size:14px;max-width:560px;max-height:calc(100dvh - 358px - env(safe-area-inset-bottom));overflow:auto;margin:auto}#textNotice h2{font-size:26px}#textNotice p{margin:10px 0}.hint{display:none}}@media(max-width:1100px)and (orientation:landscape)and (max-height:600px){.card,#panel,#panel.open{left:auto;right:10px;width:min(48vw,430px);top:76px;bottom:calc(112px + env(safe-area-inset-bottom));max-height:none}.card.expanded{max-height:none}.explode{right:auto;width:46vw}#stage{left:48%;right:0;bottom:calc(112px + env(safe-area-inset-bottom))}#textNotice{left:50%;right:10px;width:auto;top:80px;font-size:12px;padding:12px;max-height:calc(100dvh - 202px)}#textNotice h2{font-size:20px;margin:4px 0}}#journeyHud{position:fixed;top:94px;left:310px;right:410px;z-index:4;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 8px 30px #0b2b4208}.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}#journeyTitle{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin:0 0 4px}#journeyStation{font-size:14px;display:block}#journeyHud button{border:1px solid var(--line);border-radius:9px;background:var(--panel-solid);padding:6px 10px;color:var(--ink);min-height:44px}#journeyStart,#journeyNext{background:var(--ink)!important;color:var(--paper)!important}#journeyControls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}#journeySteps,.journey-actions{display:flex;gap:4px}#journeySteps button{min-width:34px;padding:4px}#journeySteps button[aria-current]{border-color:var(--focus);color:var(--focus);background:var(--paper-2)}#journeyExit{font-size:11px}#visitedTrail{display:flex;gap:6px;overflow:auto;margin:0 0 10px;padding:4px}#visitedTrail button{max-width:160px;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);border-radius:20px;background:var(--paper-2);color:var(--ink);padding:6px 10px;font-size:11px}#visitedTrail button[aria-current]{border-color:var(--focus)}#stage{top:174px}:root[data-journey=active] #stage{top:225px}.hint{top:230px}:root[data-journey=active] .hint{display:none}@media(max-width:1100px){#journeyHud{left:10px;right:10px;top:76px;padding:8px 10px;border-radius:12px}.journey-heading{gap:6px}#journeyStation{font-size:12px}#journeyTitle{font-size:9px}#journeyHud button{font-size:12px;padding:4px 8px}#journeyControls{gap:4px;margin-top:4px}#journeySteps button{min-width:30px}#journeyExit{font-size:10px}#stage{top:150px}:root[data-journey=active] #stage{top:200px}.search,.views{top:200px}#textNotice{top:205px;max-height:calc(100dvh - 473px - env(safe-area-inset-bottom))}.card,#panel,#panel.open,.card.expanded{max-height:calc(100dvh - 466px - env(safe-area-inset-bottom))}}@media(max-width:1100px)and (orientation:landscape)and (max-height:600px){#journeyHud{right:auto;width:46vw}#journeyHud[data-active=true]{top:76px}#journeyHud .journey-heading{display:flex}#journeyHud[data-active=false] .journey-heading{display:flex}#journeyHud[data-active=false] #journeyStation{display:none}#journeyHud[data-active=false] #journeyTitle{max-width:100px}#journeyControls{margin:0}#journeySteps button{min-width:28px;padding:2px}#stage,:root[data-journey=active] #stage{top:76px}.search,.views{left:50%;top:76px}.card,#panel,#panel.open,.card.expanded{max-height:none}#textNotice{top:80px;max-height:calc(100dvh - 202px)}}@media(max-width:1100px)and (orientation:landscape)and (max-height:600px){.explode,:root[data-panel=view] .explode{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:0 8px;height:100px}.explode>.row:first-child{grid-column:1/-1}.explode .btns{grid-column:2;grid-row:2}.explode input[type=range]{grid-column:1;grid-row:2;align-self:center}.explode .btns button{padding:4px 7px;font-size:11px}.journey-heading>div{min-width:0}#journeyStation{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:1100px)and (orientation:landscape)and (max-height:380px){#journeyHud[data-active=true] .journey-heading{display:none}}@media(max-width:1100px)and (min-height:601px){.card:not(.expanded){max-height:min(30dvh,calc(100dvh - 466px - env(safe-area-inset-bottom)))}:root[data-panel=details] #stage{bottom:calc(270px + 30dvh + env(safe-area-inset-bottom))}}
