html,body{height:100%;overflow:hidden}body{overscroll-behavior:none}body>main{max-width:none;margin:0;padding:0;height:100dvh}.app-shell{height:100%;display:flex;flex-direction:column;min-height:0}.app-shell>header{max-width:none;width:100%;padding:8px 18px;gap:16px;min-height:52px;flex-shrink:0;letter-spacing:normal}.app-shell header a{font-size:19px}.global-actor{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:12px}#focus-actor{max-width:260px}.app-shell button,.app-shell select,.app-shell input{padding:8px 10px;font-size:12px}.session-settings{position:relative;margin:0;padding:0;border:0;z-index:20;font-size:12px}.session-settings>summary{padding:10px}.session-settings>div{position:absolute;right:0;top:38px;display:grid;gap:10px;width:220px;padding:16px;background:#202a3c;border:1px solid #556078;border-radius:10px;box-shadow:0 16px 40px #0008}.session-settings label{display:flex;justify-content:space-between;align-items:center}.workspace-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 18px;background:#192131;border-bottom:1px solid #354056;flex-shrink:0}.workspace-tabs{display:flex;gap:4px;overflow-x:auto;min-width:0}.workspace-tabs button{white-space:nowrap;border-color:transparent;background:transparent;min-height:36px}.workspace-tabs button[aria-selected=true]{background:#3e3a35;border-color:#ae906a;color:#f5d1a0}.workspace-controls .toolbar{border:0;padding:0;margin:0;background:transparent;flex-wrap:nowrap;gap:5px;flex-shrink:0}.toolbar strong{font-size:12px;white-space:nowrap;margin:0 6px}.workspace-status{padding:0 18px;flex-shrink:0;max-height:70px;overflow:auto}.workspace-status p{font-size:11px;margin:4px 0!important}.workspace-status #error:empty{display:none}.workspace-stage{min-height:0;flex:1;overflow:hidden;padding:8px 12px 12px}.workspace-view{height:100%;min-height:0;overflow:hidden}.workspace-view[hidden]{display:none!important}.workspace-view details{margin:12px 0;padding-top:12px}.workspace-view h2{margin:8px 0 14px}.workspace-view p{line-height:1.55}.workspace-view .open-world{height:100%;margin:0;display:flex;flex-direction:column}.world-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 8px;flex-shrink:0}.world-bar label{font-size:12px;display:flex;gap:10px;align-items:center}.world-switcher{display:flex;gap:5px}.world-switcher button[aria-pressed=true]{border-color:#dcb587;background:#3d3832}.world-switcher [data-world-panel=map]{display:none}.world-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,38%);gap:12px;flex:1;min-height:0}.map-workspace{min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column}.world-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;padding:4px;min-height:0}#world-canvas{width:min(100%,calc((100dvh - 290px)*800/570));height:auto;aspect-ratio:800/570;flex-shrink:0}#world-description{width:100%;min-height:0;margin:5px 0;font-size:11px}.world-weather{flex-shrink:0;margin:5px 0!important;padding:7px 10px!important;border:1px solid #354056;border-radius:8px;max-height:180px;overflow:auto;font-size:12px}.world-sidebar{overflow:auto;min-height:0;border:1px solid #394052;border-radius:12px;background:#191f2c}.world-sidebar .location-inspector,.world-sidebar .interventions{margin:0;border:0;border-radius:0;padding:16px}.world-sidebar .inspector-grid{grid-template-columns:1fr}.world-sidebar .location-inspector h3{margin-top:0;font-size:20px}.world-sidebar .interventions{display:block}.world-sidebar .interventions[hidden],.world-sidebar .interventions{display:none}body[data-world-panel=intervene] .world-sidebar .interventions{display:block}body[data-world-panel=intervene] #location-inspector{display:none}.world-sidebar .resident{padding:12px}.world-sidebar .resident button{max-width:100%;white-space:normal}.world-sidebar .resident div{font-size:13px}.workspace-view .workbench{height:100%;margin:0;padding:12px 16px;display:flex;flex-direction:column;overflow:hidden}.workbench .bench-heading{margin:0;padding:0 0 8px;flex-shrink:0}.workbench .bench-heading h2{font-size:16px;margin:0}.workbench .apply-row{margin:0;padding:8px 0;flex-shrink:0;gap:8px}.workbench .apply-row p{margin:0;min-width:150px;font-size:11px}.workbench .apply-row button{font-size:11px}.workbench>.note{display:none}.workbench .editor-grid{padding:0;gap:18px;min-height:0;flex:1}.editor-grid>section{overflow:auto;min-height:0;padding:8px}.editor-grid svg{max-width:350px}.body-tabs{position:sticky;top:-8px;z-index:2;background:#192131;padding:4px 0}.editor-grid>section>label{position:sticky;top:-8px;z-index:2;background:#192131;padding:4px 0}.body-tabs button{min-height:32px}.body-tabs button span{font-size:9px}.workspace-view .layout{height:100%;gap:14px}.layout>section{overflow:auto;min-height:0;padding:12px;border:1px solid #354056;border-radius:12px}.layout article{padding:14px;margin:10px 0}.layout article h3{font-size:18px}#actors-heading h2{font-size:17px}.workspace-view .phase4-panel{height:100%;margin:0;padding:0;border:0}.scenario-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:100%;gap:14px}.scenario-controls,.scenario-results{min-height:0;overflow:auto;border:1px solid #354056;border-radius:12px;padding:16px}.scenario-controls>label{display:block;margin:12px 0}.scenario-controls>button{margin:4px 0}.scenario-controls .whisper-grid{grid-template-columns:1fr}.scenario-time{position:sticky;top:-16px;background:#192131;padding:10px 0;display:flex;gap:8px;z-index:2}.scenario-controls input[type=file]{width:100%;display:block;margin-top:8px}.workspace-view .relations{margin:0;max-width:1100px}#view-relations,#view-help{overflow:auto;padding:8px}.workspace-view .relation-pairs{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-view .intro{padding:0}.workspace-view .intro h1{font-size:36px}.workspace-view footer{margin-top:20px}.workspace-view :focus-visible{outline-offset:-2px}button[hidden]{display:none!important}@media(max-width:1000px){.workspace-controls{flex-wrap:wrap;gap:5px;padding:5px 10px}.workspace-tabs{flex:1 1 100%}.workspace-controls .toolbar{margin-left:auto}.world-workspace{grid-template-columns:minmax(0,1fr) minmax(290px,42%)}#world-canvas{width:min(100%,calc((100dvh - 325px)*800/570))}.global-actor #focus-actor{max-width:200px}}@media(max-width:700px){.app-shell>header{padding:6px 10px;gap:7px;min-height:45px}.app-shell header a{font-size:15px}.global-actor{gap:5px;font-size:0}.global-actor #focus-actor{max-width:180px;font-size:11px}.session-settings>summary{font-size:11px;padding:8px 3px}#fullscreen{display:none}.workspace-tabs button{padding:7px 9px;font-size:11px}.workspace-controls .toolbar{margin:0;width:100%;justify-content:space-between}.workspace-controls .toolbar button{padding:7px 12px}.workspace-status{padding:0 10px}.workspace-stage{padding:5px 7px 7px}.world-bar{gap:5px;flex-wrap:wrap}.world-bar label{font-size:0;gap:0}.world-bar select{font-size:12px;padding:7px;max-width:145px}.world-switcher [data-world-panel=map]{display:block}.world-workspace{display:block;position:relative}.map-workspace,.world-sidebar{height:100%}.map-workspace{display:none}.world-sidebar{display:block}body[data-world-panel=map] .map-workspace{display:flex}body[data-world-panel=map] .world-sidebar{display:none}#world-canvas{width:min(100%,calc((100dvh - 330px)*800/570))}.world-stage{padding:0}.workbench .bench-heading{gap:7px}.workbench .bench-heading label{display:none}.workbench .apply-row{display:grid;grid-template-columns:1fr 1fr;gap:5px}.workbench .apply-row p{grid-column:1/-1}.workbench .apply-row button{width:auto;padding:7px;font-size:10px}.workspace-view .workbench{padding:8px}.workbench .editor-grid{display:block;overflow:auto}.editor-grid>section{overflow:visible;padding:6px}.editor-grid svg{max-width:310px}.body-tabs,.editor-grid>section>label{position:static}.body-tabs button{flex:1 0 15%;padding:5px}.workspace-view .layout{display:block;overflow:auto}.layout>section{overflow:visible;margin-bottom:10px}.scenario-workspace{display:flex;flex-direction:column;overflow:auto;gap:10px}.scenario-controls,.scenario-results{overflow:visible;flex-shrink:0;padding:12px}.scenario-results{order:-1}.scenario-time{top:0}.workspace-view .relation-pairs{grid-template-columns:1fr}.session-settings>div{right:0}.world-sidebar .location-inspector{padding:12px}}.workspace-view #wheel svg,.workspace-view #radar svg{max-width:360px}.workspace-view #fit-summary{padding:10px;margin:7px 0}.workspace-view #fit-summary strong{display:inline-block;font-size:21px;margin-right:16px}.workspace-view #fit-summary>span{display:inline-block;font-size:12px}@media(max-width:700px){.workspace-view #wheel svg,.workspace-view #radar svg{max-width:310px}}.workbench .bench-heading{gap:12px;align-items:center;flex-wrap:wrap}.bench-heading label[hidden],.chart-column[hidden]{display:none!important}.chart-switcher{display:flex;gap:3px;background:#101820;padding:3px;border-radius:9px}.chart-switcher button{padding:6px 12px;font-size:12px;border-color:transparent;background:transparent}.chart-switcher button[aria-pressed=true]{background:#354148;border-color:#d5b467;color:#ffe2a0}.workspace-view .workbench .apply-row{padding:2px 0 8px}.workbench .editor-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.workbench .chart-column{padding:0 8px;scrollbar-gutter:stable}.chart-visual,.chart-explanation{min-width:0}.chart-visual{text-align:center}.chart-visual>label{text-align:left;display:flex;align-items:center;gap:10px;font-size:12px}.chart-visual>label select{flex:1;min-width:0}.chart-visual .body-tabs{position:static;justify-content:center;margin:0}.chart-visual .legend{margin:4px 0;font-size:11px}.workspace-view #wheel svg,.workspace-view #radar svg{max-width:440px}.chart-explanation .learning-card{margin:8px 0;padding:12px}.chart-explanation .situation-description{margin:8px 0;min-height:0}.chart-explanation details{margin:8px 0;padding:10px}.chart-explanation summary{font-size:12px}.chart-explanation .reason{font-size:12px}.chart-explanation #astro-reason{min-height:0;margin:8px 0}.workbench:not([data-chart-layout=both]) .editor-grid{display:block;overflow:hidden}.workbench:not([data-chart-layout=both]) .chart-column:not([hidden]){height:100%;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);gap:24px;overflow:hidden}.workbench:not([data-chart-layout=both]) .chart-visual,.workbench:not([data-chart-layout=both]) .chart-explanation{overflow:auto;min-height:0;scrollbar-gutter:stable}.workspace-view .workbench:not([data-chart-layout=both]) #wheel svg,.workspace-view .workbench:not([data-chart-layout=both]) #radar svg{max-width:min(100%,560px,calc(100dvh - 260px))}.random-chart-controls{display:flex;gap:6px;flex-wrap:wrap}@media(max-width:700px){.random-chart-controls{width:100%}.workbench .bench-heading h2{display:none}.workbench .bench-heading{justify-content:center;padding-bottom:4px}.chart-switcher{width:100%}.chart-switcher button{flex:1;padding:5px 8px}.workspace-view .workbench .apply-row{display:flex;flex-wrap:wrap;padding:2px 0 6px}.workbench .apply-row p{flex-basis:100%;font-size:10px}.workbench .apply-row button{width:auto;flex:1;padding:6px}.workbench .editor-grid,.workbench:not([data-chart-layout=both]) .editor-grid{display:block;overflow:auto}.workbench:not([data-chart-layout=both]) .chart-column:not([hidden]){display:block;height:auto;overflow:visible;padding:0}.workbench:not([data-chart-layout=both]) .chart-visual,.workbench:not([data-chart-layout=both]) .chart-explanation{overflow:visible}.workspace-view #wheel svg,.workspace-view #radar svg,.workspace-view .workbench:not([data-chart-layout=both]) #wheel svg,.workspace-view .workbench:not([data-chart-layout=both]) #radar svg{max-width:440px}}#view-laboratory{padding:clamp(16px,3vw,36px);overflow:auto}#view-laboratory h1{margin-top:0}.lab-toolbar,.lab-library{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}.lab-library h2{flex-basis:100%}.lab-config{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lab-config label,.lab-library label{display:grid;gap:8px}.lab-config input,.lab-config select{width:100%;box-sizing:border-box}.lab-roles,.lab-result-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.lab-roles article,.lab-result-list article{padding:16px;border:1px solid #667a704f;border-radius:12px;background:#20372d55}.lab-result-list p{overflow-wrap:anywhere}.lab-result-list details{max-width:100%}.lab-file input{max-width:230px}#lab-message{min-height:1.5em;color:#dfbd62}.plain-planets{margin:12px 0;padding:14px;border:1px solid #667a704f;border-radius:12px}.plain-planets p{margin:6px 0}@media(max-width:750px){.lab-config,.lab-roles,.lab-result-list{grid-template-columns:1fr}.lab-library>*{max-width:100%}}.character-preview{min-width:0;background:radial-gradient(ellipse at center,#43534870,transparent 75%);border-bottom:1px solid #73847640}.character-preview-stage{height:140px;position:relative;text-align:center;font-size:12px}.character-preview-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.character-preview-stage canvas:active{cursor:grabbing}.character-preview-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 8px 5px;font-size:11px}.character-preview-controls span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-preview-controls button{padding:2px 9px;min-height:26px}.game-layout #person-now>.character-preview{float:right;width:115px;margin:0 -5px 6px 8px;border:0}.game-layout #person-now>.character-preview .character-preview-controls span{display:none}.game-layout #person-now .person-needs{clear:both}@media(max-height:700px){.character-preview-stage{height:105px}}#story-book{box-sizing:border-box;width:min(800px,96vw);height:min(860px,94dvh);max-height:94dvh;border:1px solid #a78c60;border-radius:12px;padding:22px;background:#f0e7d3;color:#342b23;overflow:hidden}#story-book header,#story-book footer{position:static;min-height:0;margin:0;padding:0;border:0;flex-shrink:0;background:transparent;color:#342b23;width:100%}#story-book #book-page,#story-book .book-passage{background:transparent;border:0;border-radius:0;box-shadow:none;color:#342b23}#story-book #book-page p,#story-book h2,#story-book h3,#story-book footer span{color:#342b23}#story-book #book-page .book-motive{color:#665741}#story-book .book-passage{padding:0}#story-book #book-page{margin:0}#story-book summary{color:#665741}#story-book[open]{display:flex;flex-direction:column;gap:12px}#story-book::backdrop{background:#07101bd9}#story-book header,#story-book footer{display:flex;align-items:center;justify-content:space-between;gap:12px}#story-book h2{margin:0;font:600 23px Georgia,serif}#story-book h3{font:600 24px Georgia,serif}#story-book button,#story-book select{background:#e1d2b7;color:#342b23;border:1px solid #998669}#book-page{overflow:auto;min-height:0;flex:1;padding:0 16px 0 4px;line-height:1.7;font:18px/1.7 Georgia,serif}#story-book .book-note{font:12px/1.5 system-ui;color:#655744;margin:0}#story-book .book-motive{font-size:15px;color:#665741}#story-book details{font:12px/1.5 system-ui;border-bottom:1px solid #c6b797;padding-bottom:12px}#story-book details p{white-space:normal;overflow-wrap:anywhere}#story-book summary{cursor:pointer}#story-book .book-passage{margin-bottom:22px}#story-book select{max-width:100%}@media(max-width:600px){#story-book{padding:14px}#story-book h2{font-size:19px}#book-page{font-size:16px}#story-book header button{flex-shrink:0}}#story-book .book-story{font:inherit;border:0;margin:0 0 1.2em;padding:0}#story-book .book-story>summary{font:inherit;color:#342b23;line-height:1.8;list-style:none;border-radius:4px}#story-book .book-story>summary::-webkit-details-marker{display:none}#story-book .book-story>summary:hover{text-decoration:underline;text-decoration-color:#baa582;text-underline-offset:4px}#story-book .book-story>summary:focus-visible{outline:2px solid #806638;outline-offset:4px}#story-book .book-evidence{margin-top:12px;padding:12px;background:#e4d8c0;font:12px/1.5 system-ui}#story-book pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,monospace;max-height:320px;overflow:auto}.game-layout{--game-panel:#192923f5;--game-line:#405347;--game-gold:#cea648;--drawer-width:clamp(270px,21vw,360px)}.game-layout .app-shell>header{height:58px;min-height:58px;padding:6px 12px;gap:10px;background:#21352d;z-index:40;flex-wrap:nowrap;box-sizing:border-box}.game-layout #world-subtitle{font-size:11px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-layout .workspace-tabs{flex:1;min-width:200px}.game-layout .toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;border:0;margin:0;padding:3px;background:#13211c;border-radius:9px}.game-layout .toolbar label{font-size:0;margin:0}.game-layout .toolbar select{font-size:12px;max-width:100px}.game-layout #step{font-size:0}.game-layout #step:after{content:"›";font-size:20px}.game-layout .toolbar>details{position:relative;margin:0;padding:0;font-size:12px}.game-layout .toolbar>details>summary{padding:8px;cursor:pointer}.game-layout .time-panel{position:absolute;right:0;top:35px;width:min(380px,85vw);z-index:60;padding:16px;border:1px solid var(--game-line);border-radius:10px;background:var(--game-panel);box-shadow:0 12px 35px #0008}.game-layout .time-panel p{font-size:11px}.game-layout .time-actions{display:flex;flex-wrap:wrap;gap:6px}.game-layout .session-settings>div{max-height:80dvh;overflow:auto;width:290px;background:var(--game-panel)}.game-layout #open-guide,.game-layout #fullscreen{min-width:38px;display:block}.game-layout .workspace-status{position:absolute;z-index:45;top:60px;left:50%;transform:translate(-50%);pointer-events:none;max-width:70vw;background:#4b2525;border-radius:6px}.game-layout #mode{display:none}.game-layout .workspace-stage{padding:0}.game-layout .workspace-view:not(#view-world){padding:12px;box-sizing:border-box;background:#17231f}.game-layout #view-world .world-bar{display:none}.game-layout .world-workspace{display:block;position:relative;isolation:isolate}.game-layout .map-workspace{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;display:flex!important;overflow:hidden;background:#c5cba7}.game-layout .world-stage{position:absolute;top:0;right:0;bottom:0;left:0;padding:0;display:flex;align-items:center;justify-content:center}.game-layout #world-canvas{width:100%;height:100%;max-width:none;object-fit:contain;aspect-ratio:auto;flex:none}.game-layout #world3d{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;min-height:0;border-radius:0}.game-layout #world-description,.game-layout .scene-screen-bar,.game-layout .viewer-observation,.game-layout #character-bubble,.game-layout #toggle-character-bubble,.game-layout #viewer-person,.game-layout #viewer-playback{display:none!important}.game-layout .world-sidebar,.game-layout #person-drawer{position:absolute;z-index:20;top:0;bottom:0;width:var(--drawer-width);box-sizing:border-box;background:var(--game-panel);border:0;border-radius:0;box-shadow:0 4px 18px #0005;overflow:auto;transition:transform .18s ease}.game-layout .world-sidebar{right:0;border-left:1px solid var(--game-line);display:block!important}.game-layout #person-drawer{left:0;border-right:1px solid var(--game-line);display:flex;flex-direction:column;overflow:hidden}.game-layout:not([data-person-open=true]) #person-drawer{transform:translate(-105%);visibility:hidden}.game-layout:not([data-place-open=true]) .world-sidebar{transform:translate(105%);visibility:hidden}.game-layout .drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:12px;min-height:58px;background:transparent;border-bottom:1px solid var(--game-line);box-sizing:border-box;flex-shrink:0}.game-layout .drawer-heading .global-actor{font-size:0;margin:0;min-width:0}.game-layout #focus-actor{max-width:100%;width:240px;font-size:12px}.game-layout .drawer-heading button{flex-shrink:0}.game-layout #person-now{padding:12px 16px;flex-shrink:0}.game-layout #person-now p{font-size:13px;line-height:1.6;margin:0 0 8px}.game-layout #person-now details{margin:0 0 10px;padding:0;font-size:12px}.game-layout .person-needs{display:grid;gap:7px}.game-layout .person-needs label{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:12px}.game-layout .person-needs meter{width:65%;height:10px;accent-color:var(--game-gold)}.game-layout .person-wallet{margin-top:10px!important;opacity:.75}.game-layout .person-tabs,.game-layout .world-switcher{display:flex;gap:0;border-bottom:1px solid var(--game-line);padding:0 8px;flex-shrink:0}.game-layout .person-tabs button,.game-layout .world-switcher button{flex:1;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 4px}.game-layout .person-tabs [aria-pressed=true],.game-layout .world-switcher [aria-pressed=true]{border-bottom-color:var(--game-gold);color:#ffe3a0}.game-layout #person-pages{padding:12px 16px;overflow:auto;min-height:0;flex:1;font:14px/1.7 Georgia,serif}.game-layout #person-pages h3{font:14px system-ui;color:#d5bd82}.game-layout #person-pages details{margin:0 0 12px;padding:0;border:0}.game-layout #person-pages .book-story>summary{list-style:none;cursor:pointer}.game-layout #person-pages pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto;font:11px/1.5 monospace}.game-layout #person-pages .book-evidence{padding:10px;background:#0e1c17}.game-layout #person-drawer>footer{position:static;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:12px;border-top:1px solid var(--game-line);flex-shrink:0}.game-layout #enter-story{background:var(--game-gold);color:#18241e;flex:1}.game-layout .place-picker{display:block;padding:8px 12px;font-size:0}.game-layout .place-picker select{width:100%;font-size:12px}.game-layout .world-sidebar #location-inspector{display:block;height:auto;overflow:visible;padding:12px}.game-layout[data-world-panel=intervene] #location-inspector,.game-layout[data-world-panel=lens] #location-inspector,.game-layout[data-world-panel=story] #location-inspector{display:none}.game-layout #location-inspector>h3{display:none}.game-layout #location-inspector .resident{padding:10px;margin:8px 0}.game-layout #location-inspector .resident>div,.game-layout #location-inspector .resident .calling-card{display:none}.game-layout #location-inspector .place-rules{margin:12px 0;padding:12px;border:1px solid var(--game-line);border-radius:8px}.game-layout .drawer-handle{position:absolute;z-index:19;top:45%;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--game-panel);color:#f0e8ce;box-shadow:0 3px 10px #0004;padding:13px 10px}.game-layout #person-handle{left:0;border-radius:0 8px 8px 0}.game-layout #place-handle{right:0;border-radius:8px 0 0 8px}.game-layout[data-person-open=true] #person-handle,.game-layout[data-place-open=true] #place-handle{visibility:hidden}.game-layout #map-controls{position:absolute;right:12px;top:64px;z-index:12;display:flex;flex-direction:column;gap:6px;max-width:180px;transition:right .18s}.game-layout[data-place-open=true] #map-controls{right:calc(var(--drawer-width) + 12px)}.game-layout #map-controls button,.game-layout #map-labels{background:#20392eed;color:#f1e6c9;border:1px solid #66785d}.game-layout .viewer-tools{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:6px}.game-layout .viewer-tools[hidden]{display:none}.game-layout .viewer-switch{margin:0;justify-content:flex-end}.game-layout #view-3d{font-size:0}.game-layout #view-3d:after{content:"3D";font-size:12px}.game-layout .v3-camera-tools{top:auto;bottom:60px;right:12px}.game-layout[data-place-open=true] .v3-camera-tools{right:calc(var(--drawer-width) + 12px)}.game-layout .v3-threat-tools{display:none}.game-layout #threat-strip{position:absolute;z-index:11;top:12px;left:50%;transform:translate(-50%);border-radius:30px;background:#20392eea;color:#f2dc9a;border:1px solid #657656;max-width:calc(100% - 30px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-layout #world-ticker{position:absolute;z-index:10;bottom:12px;left:50%;transform:translate(-50%);width:min(600px,80%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#1b3028eb;color:#efdfbc;border:1px solid #73816a;text-align:left;display:none}.game-layout[data-map-labels=none] .v3-labels,.game-layout .scenario-time,.game-layout #reveal-toolbar{display:none}.game-layout .app-shell button:focus-visible,.game-layout .app-shell summary:focus-visible{outline:2px solid #f6cf6b;outline-offset:-2px}.game-layout.game-immersive[data-view=world] .app-shell>header{position:absolute;inset:0 0 auto;opacity:1;background:transparent;pointer-events:none}.game-immersive[data-view=world] .app-shell>header>:not(.toolbar){opacity:0;pointer-events:none}.game-immersive[data-view=world] .app-shell>header>.toolbar{position:absolute;top:10px;left:12px;pointer-events:auto}.game-immersive[data-view=world] .app-shell>header:hover,.game-immersive[data-view=world] .app-shell>header:focus-within,.game-immersive[data-view=world] .app-shell>header.revealed{background:#21352d;pointer-events:auto}.game-immersive[data-view=world] .app-shell>header:hover>*,.game-immersive[data-view=world] .app-shell>header:focus-within>*,.game-immersive[data-view=world] .app-shell>header.revealed>*{opacity:1;pointer-events:auto}.game-immersive[data-view=world] .app-shell>header:hover>.toolbar,.game-immersive[data-view=world] .app-shell>header:focus-within>.toolbar,.game-immersive[data-view=world] .app-shell>header.revealed>.toolbar{position:static}.game-layout.game-immersive #world-ticker{display:block}.game-layout.game-immersive #reveal-toolbar{display:block;position:fixed;right:12px;bottom:12px;z-index:50}.game-layout.game-immersive .world-sidebar,.game-layout.game-immersive #person-drawer{top:65px}@media(max-width:1500px){.game-layout #world-subtitle{max-width:125px}.game-layout .workspace-tabs button{padding:8px}.game-layout .app-shell>header{gap:5px}.game-layout #time-speed{max-width:74px}}@media(max-width:1100px){.game-layout #world-subtitle{display:none}.game-layout .app-shell>header{flex-wrap:wrap;height:auto;min-height:96px;gap:5px}.game-layout .workspace-tabs{order:10;flex-basis:100%;justify-content:center}.game-layout .toolbar{margin-left:auto}.game-layout #threat-strip{max-width:70%;font-size:11px}.game-layout{--drawer-width:min(360px,85vw)}.game-layout #map-controls{max-width:155px}.game-layout[data-place-open=true] #map-controls{visibility:hidden}.game-layout .workspace-status{top:100px}.game-layout .world-switcher [data-world-panel=map]{display:none}.game-layout .global-actor #focus-actor{max-width:100%}}@media(max-width:600px){.game-layout .app-shell>header{padding:5px;min-height:90px}.game-layout .app-shell>header>a{font-size:13px}.game-layout .app-shell>header .toolbar{gap:2px}.game-layout .toolbar>strong{margin:0;font-size:10px}.game-layout .app-shell button,.game-layout .app-shell select{min-height:36px;padding:6px;font-size:11px}.game-layout .toolbar>details>summary{font-size:0;padding:8px}.game-layout .toolbar>details>summary:after{content:"⋯";font-size:18px}.game-layout .toolbar #time-speed{max-width:55px}.game-layout #fullscreen,.game-layout #open-guide{min-width:30px}.game-layout .workspace-tabs{justify-content:flex-start;overflow-x:auto}.game-layout .workspace-tabs button{flex:1;padding:6px;min-width:max-content}.game-layout #map-controls{top:55px;max-width:130px}.game-layout #map-labels{max-width:130px;font-size:10px}.game-layout #person-now{padding:10px 14px}.game-layout .person-activity{max-height:75px;overflow:auto}.game-layout #person-drawer{max-width:90vw}.game-layout .time-panel{position:fixed;top:95px;left:10px;right:10px;width:auto}.game-layout .session-settings>div{position:fixed;top:95px;right:10px;width:min(290px,85vw)}.game-layout .workspace-view:not(#view-world){padding:6px}.game-layout .v3-camera-tools{bottom:65px}.game-layout #threat-strip{left:10px;transform:none;max-width:calc(100% - 20px)}.game-layout .drawer-handle{top:55%;max-width:44vw}.game-layout.game-immersive #threat-strip{top:62px}.game-layout.game-immersive #map-controls{top:105px}.game-layout.game-immersive .world-sidebar,.game-layout.game-immersive #person-drawer{top:100px}}@media(prefers-reduced-motion:reduce){.game-layout .world-sidebar,.game-layout #person-drawer{transition:none}}.game-layout #location-inspector .resident>:not(button):not(p){display:none}.game-layout .place-stock{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.game-layout .place-stock span{padding:10px;background:#304238;border-radius:8px;font-size:10px}.game-layout .place-stock b{display:block;font-size:20px;margin-top:4px}.game-layout .drawer-threats{padding:12px;border:1px solid #a78b4b;border-radius:8px;margin-bottom:12px}.game-layout .app-shell>header>.global-actor{font-size:0;margin:0;max-width:150px}.game-layout .app-shell>header>.global-actor select{max-width:150px;font-size:11px}.game-layout:not([data-view=world]) #world-subtitle{display:none}@media(max-width:600px){.game-layout:not([data-view=world]) .app-shell>header>.global-actor{order:9;max-width:none;width:100%}.game-layout:not([data-view=world]) .app-shell>header>.global-actor select{max-width:100%;width:100%}}@media(max-width:360px){.game-layout .app-shell>header>a{display:none}.game-layout .toolbar select{max-width:48px}}body.game-layout[data-world-panel=detail] #location-inspector{display:block!important}.game-layout .v3-threat-tools{display:none!important}.game-layout .offering-meter{padding:10px 0}.game-layout .offering-meter progress{width:100%;accent-color:#cea648}.game-layout .offering-meter small{display:block;font-size:11px;margin-top:8px}#world-editors{width:min(1120px,96vw);height:min(900px,92dvh);max-height:92dvh;box-sizing:border-box;border:1px solid #738d80;border-radius:12px;background:#17252b;color:#edf3ea;padding:18px;overflow:auto}#world-editors::backdrop{background:#091116bb}#world-editors header,#world-editors footer,#world-editors nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center;position:static}#world-editors header{justify-content:space-between}#world-editors h2{margin:0}#world-editors nav{margin:18px 0}#world-editors [aria-pressed=true]{background:#596f43}#world-editors footer{border-top:1px solid #51616a;padding-top:14px;margin-top:20px}#world-editors .editor-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:24px}#world-editors .editor-form>label{display:grid;gap:6px;margin:12px 0}#world-editors input:not([type=checkbox]),#world-editors select{width:100%;min-width:0;box-sizing:border-box}#world-editors .editor-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}#world-editors .editor-row label,#world-editors .editor-profile label{display:grid;gap:6px}#world-editors .editor-profile{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0}#world-editors .editor-effects{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;align-items:center}#world-editors .editor-roads{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}#world-editors .editor-roads label{display:flex;align-items:center;gap:5px}#world-editors .editor-import{max-width:220px}#world-editors svg{width:100%;max-height:480px}#world-editors svg g{cursor:pointer}#world-editors svg g:focus{outline:none}#world-editors svg g:focus rect{stroke:#ffdc8c;stroke-width:4}#editor-availability,#editors-status{font-size:.85rem;color:#bacbc1}#editors-error{color:#ffb2a6}#world-editors details{margin-top:16px}#world-editors p{line-height:1.5}@media(max-width:700px){#world-editors .editor-columns{grid-template-columns:1fr}#world-editors{padding:12px}#world-editors footer button{flex:1 1 45%}#world-editors .editor-roads{grid-template-columns:1fr 1fr}}#world-editors .editor-map,#world-editors .editor-form,#world-editors .editor-row label{min-width:0}#world-editors .editor-roads{grid-template-columns:repeat(2,minmax(0,1fr))}#world-editors .editor-roads label{white-space:normal}#world-editors .editor-roads input{flex-shrink:0}#world-editors .editor-effects{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}@media(max-width:700px){#world-editors .editor-columns{grid-template-columns:minmax(0,1fr)}}#world-editors input[type=checkbox]{width:auto;padding:0}#world-editors footer{padding-left:0;padding-right:0;letter-spacing:normal}#world-editors button{max-width:100%;white-space:normal}#world-editors .editor-roads label{overflow-wrap:anywhere}.family-panel{grid-column:1/-1;min-width:0;padding:16px;border:1px solid #60738c;border-radius:10px;margin-bottom:12px}.family-panel h3{margin:0 0 8px}.family-panel p{margin:7px 0}.family-panel label{display:flex;gap:8px;align-items:center}.family-panel select{max-width:75%;min-width:0}.family-synastry{display:grid;grid-template-columns:minmax(220px,350px) minmax(180px,1fr);gap:24px;align-items:center}.family-synastry svg{width:100%;max-width:350px;text-anchor:middle;dominant-baseline:middle;color:#e9ecf3;fill:currentColor}.family-synastry table{width:100%;border-collapse:collapse}.family-synastry th,.family-synastry td{text-align:left;padding:5px;border-bottom:1px solid #52657c}.family-first{color:#62c8ed}.family-second{color:#efa1bd}.family-panel details{margin:10px 0 0;padding-top:10px}.family-panel summary{cursor:pointer}@media(max-width:640px){.family-synastry{grid-template-columns:1fr;gap:8px}.family-synastry svg{max-width:280px;margin:auto}}.relationship-timeline details{margin:.7rem 0;padding:.55rem;border:1px solid #73847655;border-radius:6px}.relationship-timeline summary{cursor:pointer;font-weight:600}.relationship-timeline p{line-height:1.5}.relationship-timeline ol{padding-left:1.3rem}.relationship-timeline li{margin:.7rem 0;line-height:1.5}#time-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}#time-controls details{position:relative}#time-controls .time-panel{position:absolute;right:0;top:28px;z-index:30;width:min(360px,85vw);padding:14px;background:#172232;border:1px solid #72829a;border-radius:9px;box-shadow:0 8px 24px #0008}#world-time{width:100%}#time-controls .time-panel p{font-size:12px;line-height:1.5}#time-controls .time-actions{display:flex;gap:6px;flex-wrap:wrap}#time-position{display:block;margin:6px 0;color:#f0ce90}#time-controls summary{cursor:pointer}#time-controls select{padding:5px}body[data-time-past=true] #time-controls>details>summary{color:#f0ce90}.log-library{width:min(850px,90vw);max-height:85vh;overflow:auto;background:#17202d;color:#f1ede3;border:1px solid #8b795d;border-radius:12px;padding:24px}.log-library::backdrop{background:#0009}.log-library p{line-height:1.5}.log-library details{padding:12px 0;border-top:1px solid #667}.log-library summary{cursor:pointer}.log-library button{margin:8px 8px 0 0}.log-status{overflow-wrap:anywhere}#astro-portrait{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid #49586b;border-radius:9px;background:#192531;margin:8px 0;text-align:left}.portrait-figure svg{display:block;width:100%;max-height:180px}.portrait-key{font-size:11px;line-height:1.5;min-width:0}.portrait-key>b{font-size:13px}.portrait-key ul{list-style:none;padding:0;margin:5px 0}.portrait-key li{border-left:2px solid transparent;padding-left:5px}.portrait-key li.selected{border-color:#f1d58b;color:#ffe8af;background:#403b2e}.portrait-key small{color:#b2c4d1;display:block}.portrait-key details{padding:0!important;margin:6px 0 0!important}.portrait-key summary{font-size:11px!important;cursor:pointer}.portrait-key p{margin:5px 0}@media(max-width:700px){#astro-portrait{grid-template-columns:90px minmax(0,1fr);gap:6px}}#daytime{display:flex;align-items:center;gap:6px;font-size:12px;min-width:0}#daytime[hidden]{display:none}#daytime details{position:relative}#daytime summary{cursor:pointer;color:#f0ca8e}#daytime-info{position:absolute;z-index:50;top:28px;left:0;width:min(340px,80vw);padding:12px;background:#172335;border:1px solid #617188;border-radius:8px;color:#e5eaf2;line-height:1.5;box-shadow:0 5px 20px #0008}#until-morning{white-space:nowrap}.daily-hand{pointer-events:none}.daily-hand line{stroke:#ffdb79;stroke-width:3;stroke-dasharray:5 5}.daily-hand circle{fill:#ffe49a;stroke:#4e371c;stroke-width:2}.daily-hand text{fill:#ffdf8d;font-size:12px;text-anchor:middle}body[data-day-phase=night] .world-stage{background:#142137}body[data-day-phase=evening] .world-stage{background:#493143}@media(max-width:700px){#daytime{font-size:11px}#daytime-info{position:fixed;left:10px;top:130px;max-height:45vh;overflow:auto}}.calling-card{margin:9px 0!important;padding:9px!important;border:1px solid #4b5c64;border-radius:8px;background:#182933}.calling-card summary{font-size:12px}.calling-card p,.ambition-guide p{font-size:12px}.calling-card meter{width:100%;height:9px}.story-place{padding:12px;border-left:3px solid #c3a574;background:#1b2934;margin:12px 0;font-size:12px;line-height:1.6}.story-place h4{margin:0 0 10px!important}.story-place li{margin:9px 0}.story-place details{margin:10px 0;padding:8px}.story-links{display:flex;flex-wrap:wrap;gap:5px}.story-links button{font-size:11px}.provisions{font-size:11px;line-height:1.6;border-top:1px solid #415164;margin-top:8px;padding-top:7px;color:#d7c3a0}.economy-place{background:#26362f;border-left:3px solid #a3bc89;padding:10px;font-size:12px;line-height:1.6}.economy-history li,.threat-info li{font-size:12px;margin:7px 0}.economy-event{font-size:12px;color:#edc794;border-left:2px solid #b19767;padding-left:8px}.threat-info summary{color:#edc794}.needs-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:12px 0;font-size:11px}.needs-grid label{color:#b7c9d6}.needs-grid b{float:right}.needs-grid .urgent{color:#ffb98b}.life-place,.why-life{padding:10px;border-left:3px solid #c7aa7d;background:#232e3c;font-size:12px}.memory-panel li{margin:10px 0;font-size:13px}.memory-panel small{display:block;color:#afbdcf;font-size:11px}.local-history details{margin:4px 0!important;padding:4px 0!important}.local-history summary{font-size:12px;line-height:1.6}:root{font-family:system-ui,sans-serif;color:#e9ecf3;background:#111621;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1260px;margin:auto;padding:24px 36px}header,footer{display:flex;justify-content:space-between;align-items:center;color:#9ca8bf;font-size:12px;letter-spacing:.12em}header{border-bottom:1px solid #303849}header a{color:#eee;text-decoration:none;font-weight:800;font-size:22px}h1{font-size:clamp(38px,6vw,72px);line-height:1.07;letter-spacing:-.055em;margin:16px 0 24px;max-width:700px}h1 em{font-family:Georgia,serif;font-weight:400;color:#dcb587}p{line-height:1.65;color:#b8c3d6}.intro{padding:32px 0}.intro>p{max-width:740px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#dcb587}.note{font-size:12px}.toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:18px;background:#1b2231;border:1px solid #354056;border-radius:12px}.toolbar label{display:grid;gap:5px;font-size:11px}.toolbar strong{margin:auto 12px;font-variant-numeric:tabular-nums}input,select,button{font:inherit;border:1px solid #45516a;background:#222c3d;color:#edf1f7;border-radius:6px;padding:10px 14px}input{width:110px}button{cursor:pointer}button:hover{border-color:#dcb587}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #e7be86;outline-offset:3px}#play{background:#dcb587;color:#171923;border-color:#dcb587}#error{color:#ffadad}.map{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0 36px}.location{border:1px solid #39435a;border-top:2px solid #9db5b2;border-radius:8px;padding:18px;min-height:140px}.location h3{margin:0 0 8px;font-size:16px}.location p{font-size:12px;margin:8px 0}.badge{display:inline-block;border-radius:20px;padding:4px 10px;background:#334552;color:#d5e8e4;margin:4px 4px 0 0;font-size:12px}.layout{display:grid;grid-template-columns:1fr 1.15fr;gap:32px}h2{font-size:21px;font-weight:500}h2 span{font-size:12px;color:#9ca8bf}article,.decisions{min-width:0}article{padding:22px;background:#1b2231;border:1px solid #303c50;border-radius:10px;margin:14px 0}article h3{margin:0;font-size:23px}article h3 small{font-weight:400;font-size:12px;color:#a7b5c8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}.stats span{font-size:11px;color:#b7c2d4}.stats b{display:block;font-size:20px;color:#eee;font-weight:500}.profile{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.axis{font-size:11px;color:#c5cddc}.axis span{display:flex;justify-content:space-between}meter{width:100%;height:7px;display:block;margin:4px 0 2px}article p{font-size:12px;margin:10px 0}.decisions select{width:100%;margin:10px 0 15px}.decisions label{font-size:12px;color:#b8c3d6}.empty{padding:34px 24px;border:1px dashed #47536b;border-radius:10px}.candidate{padding:14px;border-bottom:1px solid #344055}.candidate.chosen{background:#253a3e;border-radius:8px}.candidate strong{font-size:14px;font-weight:500}.bar{height:5px;background:#364057;margin:10px 0}.bar i{display:block;height:100%;background:#dcb587}.candidate p{font-size:11px;line-height:1.6;margin:0}.result{padding:16px;background:#202a3c;border-radius:8px;font-size:13px}.reason{font-size:13px}details{margin:38px 0;border-top:1px solid #354056;padding-top:24px}summary{cursor:pointer;color:#dcb587}details p{max-width:850px;font-size:13px}footer{border-top:1px solid #303849}@media(max-width:760px){header,main,footer{padding:20px}.layout{grid-template-columns:1fr}.map{gap:6px}.location{padding:12px 8px}.location h3{font-size:13px}.toolbar{gap:7px;padding:12px}.toolbar button{padding:10px}.toolbar strong{margin:10px}header span{font-size:9px}h2{margin-top:12px}.intro{padding:20px 0}.profile{gap:8px 14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.workbench{background:#192131;border:1px solid #37435a;border-radius:16px;padding:26px;margin:0 0 28px}.bench-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #354056;padding-bottom:16px}.bench-heading h2{margin:0}.bench-heading label,.editor-grid>section>label{display:flex;align-items:center;gap:12px;font-size:12px;color:#c5cddc}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-top:22px}.editor-grid>section{min-width:0}.body-tabs{display:flex;gap:5px;flex-wrap:wrap}.body-tabs button{padding:8px;font-size:16px;min-height:40px}.body-tabs button span{font-size:10px}.body-tabs button[aria-pressed=true]{border-color:#dcb587;background:#4a3d32}.editor-grid svg{display:block;width:100%;max-width:460px;margin:auto}.sign-sector path{fill:#222d40;stroke:#46516a;stroke-width:1}.sign-sector{cursor:pointer;outline:none}.sign-sector.active path{fill:#5c4936;stroke:#dcb587;stroke-width:2}.sign-sector:hover path,.sign-sector:focus path{fill:#475165;stroke:#f3cea0;stroke-width:3}.zodiac,.sign-name,.wheel-center,.planet-mark{text-anchor:middle;pointer-events:none}.zodiac{font-size:24px;fill:#e2d4bf}.sign-name{font-size:10px;fill:#d4dbea}.planet-mark{font-size:14px;dominant-baseline:middle}.wheel-center{fill:#dcb587;font-size:16px}.radar-grid{fill:none;stroke:#3a465b;stroke-width:1}.radar-label{fill:#b9c5d7;text-anchor:middle;dominant-baseline:middle;font-size:11px}.hint{font-size:12px;margin:4px 0}.legend{display:flex;justify-content:center;gap:20px;font-size:12px;margin:0 0 18px}.legend span:first-child{color:#dcb587}.legend span:last-child{color:#73c4bf}#fit-summary{padding:16px;background:#111a29;border-radius:9px}#fit-summary strong{display:block;font-size:27px;color:#e3be91}#fit-summary small{font-size:12px;font-weight:400;color:#b7c4d8}#fit-summary>span{font-size:13px}#fit-summary p{margin:8px 0 0;font-size:12px}#astro-reason{min-height:65px;margin:14px 0;line-height:1.7;color:#c8d2e1}.warning{color:#f4bc91!important}.workbench details{margin:12px 0 0;padding-top:14px}.placements{display:grid;gap:12px;margin-top:18px}.placements>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.placements label{display:grid;gap:5px;font-size:12px}.placements select{width:100%;min-width:0;padding:9px}.angular-label{color:#a8b7ce}.apply-row{display:flex;justify-content:end;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #39465a}.apply-row p{flex:1;min-width:200px;font-size:12px}.primary{background:#dcb587;color:#1a202e;border-color:#dcb587}table{width:100%;border-collapse:collapse;font-size:12px}td,th{padding:7px;text-align:right;border-bottom:1px solid #354056}th:first-child{text-align:left}.selected-person{border-color:#a48867}.advisor-panel{padding:20px;border:1px solid #3b485e;border-radius:10px;margin:20px 0}.advisor-panel h2{margin-top:0}.advisor-panel h3,.stress-heading{font-size:15px;font-weight:500;margin:22px 0 8px}.advisor-panel p{font-size:12px}.goal-list{list-style:none;padding:0;display:grid;gap:15px}.goal-list li span{display:block;font-size:11px;color:#aebed4;margin:5px 0}.goal-list strong{font-size:13px}.goal-list progress{width:100%;height:6px;accent-color:#dcb587}.advice-situation{border-top:1px solid #384459;padding:12px 0 2px}.advice-situation strong{font-size:13px}.advice-situation p{margin:6px 0}#timeline{width:100%;padding:0;margin:5px 0 20px;accent-color:#dcb587}#stress svg{width:100%;display:block}.chart-small{fill:#a8b6cd;font-size:10px}#mode{margin-bottom:0}.map{margin-top:18px}@media(max-width:760px){.workbench{padding:16px}.editor-grid{grid-template-columns:1fr;gap:24px}.bench-heading{align-items:start}.bench-heading h2{font-size:17px}.bench-heading label{display:grid;gap:5px}.bench-heading select{padding:8px}.editor-grid>section>label{justify-content:space-between}.body-tabs button{flex:1 0 17%}.body-tabs button span{display:block}.apply-row button{width:100%}.apply-row p{margin:0}.advisor-panel{padding:16px}.editor-grid select{max-width:100%}.workbench .note{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}#start-guide{width:min(580px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid #728b72;border-radius:18px;background:#17251f;color:#f4f3e9;padding:24px;box-shadow:0 18px 80px #0009}#start-guide::backdrop{background:#07100caa;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#start-guide h2{font-size:1.65rem;margin:.4em 0}#start-guide p,#start-guide li{line-height:1.55}#start-guide li{margin:.65em 0}#start-guide label{display:grid;gap:8px}#start-guide select{width:100%}#start-guide .guide-kicker{color:#cfdfa9;margin:0;padding-right:28px}#start-guide .guide-close{position:absolute;right:12px;top:12px;font-size:20px}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}#start-guide details{border-top:1px solid #526357;padding-top:12px}#guide-seed{font-size:.8rem;color:#b8c9b9}#start-guide button:focus-visible,#start-guide select:focus-visible{outline:3px solid #e9c778;outline-offset:3px}@media(max-width:600px){#start-guide{padding:18px}#start-guide h2{font-size:1.3rem}.guide-actions button{width:100%}}.learning-card{padding:15px 17px;background:#101b2b;border:1px solid #3b4c65;border-radius:10px;margin:15px 0}.learning-card h3{font-size:16px;color:#e0bd92;margin:0 0 8px}.learning-card p{font-size:13px;margin:7px 0}.learning-card .note{font-size:11px;color:#aabbd2}.axis-values b{color:#e2c395}.angle-guide{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.angle-guide span{background:#253247;padding:8px;font-size:11px;border-radius:5px;color:#d6e1f0}.horoscope-axes line{stroke:#b4a58d;stroke-width:1;stroke-dasharray:5 4;opacity:.65}.horoscope-axes text{fill:#e8cba4;font-size:13px;font-weight:600}.planet-leader{stroke:#62738b;stroke-width:1;opacity:.45;pointer-events:none}.wheel-planet{cursor:pointer;outline:none}.wheel-planet circle{fill:#26374f;stroke:#a1b4ce;stroke-width:1.5}.wheel-planet text{fill:#e3eaf5;font-size:22px;text-anchor:middle;pointer-events:none}.wheel-planet.selected circle{fill:#684d30;stroke:#f5ca90;stroke-width:2}.wheel-planet:hover circle,.wheel-planet:focus circle{stroke:#fff5c7;stroke-width:3}.radar-axis{cursor:pointer;outline:none}.radar-axis .radar-label{pointer-events:none}.radar-axis.selected .radar-label{fill:#edc18c;font-weight:700}.radar-axis:hover .radar-label,.radar-axis:focus .radar-label{fill:#fff1d1;text-decoration:underline}.radar-axis:focus rect{stroke:#e2bd8c;stroke-width:1}.radar-shape{pointer-events:none}.radar-scale{fill:#899bb6;font-size:8px;pointer-events:none}.situation-description{font-size:12px;line-height:1.6;min-height:60px}.axis-buttons,.sign-buttons{display:flex;flex-wrap:wrap;gap:6px}.axis-buttons button,.sign-buttons button{font-size:11px;padding:9px 11px}.axis-buttons button[aria-pressed=true],.sign-buttons button[aria-pressed=true]{background:#4a3c30;border-color:#dcb587}.axis-legend h4{font-size:12px;font-weight:500;color:#bdcce0;margin:17px 0 10px}.editor-grid #wheel svg{max-width:510px}#focus-actor{max-width:190px}#actors-heading label{font-size:12px}.bench-heading select{max-width:230px}.editor-grid>section>label{flex-wrap:wrap}.editor-grid #situation{max-width:100%}@media(max-width:760px){.learning-card{padding:13px}.learning-card p{font-size:12px}#focus-actor{max-width:155px}.bench-heading{flex-wrap:wrap}.bench-heading label{display:flex}.bench-heading select{max-width:240px}.situation-description{min-height:0}.editor-grid{gap:25px}}.comparison-list{display:grid;gap:7px;margin-top:12px}.comparison-list button{display:flex;justify-content:space-between;gap:8px;text-align:left;font-size:12px}.comparison-list button[aria-pressed=true]{border-color:#dcb587}.comparison-list b{color:#dcb587;white-space:nowrap}.horoscope-axes .mc-axis{stroke:#79c5cb}.horoscope-axes .mc-label{fill:#a5d9df}.location-inspector,.knowledge-panel,.relationship-help{margin:1.2rem 0;padding:1.2rem;border:1px solid #394052;border-radius:12px;background:#191f2c}.location-inspector h3{font-size:1.5rem}.location-inspector h3 span{font-size:.85rem;color:#a9b4c6}.inspector-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:1.3rem}.resident{padding:1rem 0;border-bottom:1px solid #394052}.resident button{font-weight:600}.opportunity{margin:.5rem 0}.opportunity small{display:block;color:#a9b4c6}.place-link{padding:.3rem .6rem;margin:.15rem}.local-history{padding-left:1.3rem}.local-history li{margin:.4rem 0}.location-inspector p,.knowledge-panel p,.relationship-help p{line-height:1.65}.location-inspector details p{font-size:.9rem}@media(max-width:760px){.inspector-grid{grid-template-columns:1fr}.location-inspector{padding:.8rem}.resident{overflow-wrap:anywhere}}.phase4-panel{margin:2rem 0;padding:1.3rem;border:1px solid #394052;border-radius:12px}.whisper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}#aspect-controls{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}#scenario-progress li{margin:.6rem 0}.scenario-track{border-left:3px solid #7bbdb3;padding-left:1rem;margin:1rem 0}.phase4-panel>label{display:block;margin:1rem 0}.phase4-panel input[type=file]{max-width:100%}@media(max-width:760px){.whisper-grid,#aspect-controls{grid-template-columns:1fr}.phase4-panel{padding:.8rem}}.open-world{margin:28px 0}.open-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.open-heading h2{font-size:23px}.open-heading p{font-size:12px}.world-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(240px,1fr);gap:18px}.world-stage{min-width:0;background:#131e2a;border:1px solid #3b4d5a;border-radius:14px;padding:8px}#world-canvas{display:block;width:100%;aspect-ratio:800/570;cursor:pointer}#world-description{font-size:12px;padding:0 12px;min-height:40px}.interventions{background:#1b2535;padding:20px;border:1px solid #3b485e;border-radius:14px}.interventions h3{margin-top:0;font-size:18px}.interventions label{display:grid;gap:7px;margin:12px 0;font-size:12px}.interventions select{width:100%;min-width:0;padding:10px}.interventions button{width:100%;margin-top:8px}.interventions p{font-size:11px}.weather{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.weather span{background:#1c2b3a;padding:8px 10px;border:1px solid #3e5162;border-radius:20px;font-size:11px;color:#aebfd1}.weather span.active{border-color:#c4a77d;color:#edc994}.weather-summary{font-size:12px;color:#b7c9d6}#intervention-history{font-size:12px;color:#b7c4d7;line-height:1.7;padding-left:20px;max-height:160px;overflow:auto}.relations{margin:22px 0;background:#1a2433;border:1px solid #35465a;border-radius:12px;padding:20px}.relations h3{font-size:16px;margin:0 0 14px}.relation-pairs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.relation-pair{background:#202f3e;padding:10px;border-radius:7px;font-size:12px}.relation-pair.ally{border-left:3px solid #93cbb1}.relation-pair.enemy{border-left:3px solid #d59591}.relation-pair span{display:block;font-size:10px;color:#b8c3d6;margin-top:5px}#relation-count{font-size:12px;color:#b8c5d5}.workbench>summary{font-size:19px;padding:4px 0}.workbench .bench-heading{margin-top:20px}#map{display:none}#actors-heading{display:flex;align-items:center;justify-content:space-between}#focus-actor{max-width:145px;padding:8px}.transit-log{color:#d2b58e!important}@media(max-width:900px){.world-layout{grid-template-columns:1fr}.interventions{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.interventions h3,.interventions>p,.interventions>ol{grid-column:1/-1}.relation-pairs{grid-template-columns:1fr 1fr}.open-heading{display:block}}@media(max-width:480px){.world-stage{padding:0}#world-description{font-size:11px}.interventions{padding:14px;grid-template-columns:1fr}.interventions label{margin:8px 0}.relation-pairs{grid-template-columns:1fr}.weather{gap:5px}.weather span{font-size:10px;padding:6px 8px}.open-heading h2{font-size:21px}.relations{padding:15px}.workbench>summary{font-size:16px}}.interventions [hidden]{display:none}button:disabled{opacity:.5;cursor:not-allowed}#wheel .wheel-planet{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}#wheel .wheel-planet:active{cursor:grabbing}#wheel .wheel-planet:focus circle{stroke:#fff;stroke-width:3}#wheel .wheel-aspect line,#wheel .wheel-aspect circle{stroke:currentColor;stroke-width:1.8;fill:none;opacity:.8}#wheel .wheel-aspect:hover line{stroke-width:4}.aspect-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;font-size:.8rem}.measured-aspects{padding-left:1.2rem;font-size:.9rem}.measured-aspects small{opacity:.8}.chart-file-tools{display:flex;flex-wrap:wrap;gap:.5rem;margin:.7rem 0}.placements input[type=number]{width:6.5rem}.chart-import-dialog{width:min(850px,94vw);max-height:90dvh;overflow:auto;background:#182521;color:#eee3c8;border:1px solid #9b854c;border-radius:12px;padding:1.2rem}.chart-import-dialog::backdrop{background:#000a}.chart-import-dialog h2{margin-top:0}.chart-import-dialog label{display:flex;flex-direction:column;gap:.2rem}.chart-import-dialog input,.chart-import-dialog textarea,.chart-import-dialog select{min-width:0;width:100%;box-sizing:border-box}.chart-import-dialog textarea{min-height:80px}.chart-birth-fields{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.chart-position-fields{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1rem 0}.chart-position-row{display:grid;grid-template-columns:65px 1fr 65px 85px;align-items:center;gap:.3rem}.chart-import-dialog .chart-issues{color:#f1c580;white-space:pre-line}.chart-import-dialog footer{position:sticky;bottom:-1.2rem;background:#182521;padding:1rem 0;display:flex;flex-wrap:wrap;gap:.5rem}.chart-import-dialog .import-status{white-space:pre-line}.chart-form-note{font-size:.85rem;color:#c8bfab}.chart-import-dialog [hidden]{display:none!important}@media(max-width:700px){.chart-position-fields,.chart-birth-fields{grid-template-columns:1fr}.chart-import-dialog{padding:.7rem}.chart-position-row{grid-template-columns:60px minmax(80px,1fr) 60px 75px}.chart-import-dialog footer{bottom:-.7rem}}@media(max-width:380px){.chart-position-row{grid-template-columns:52px minmax(65px,1fr) 50px 60px;gap:3px}.chart-import-dialog{box-sizing:border-box;max-width:96vw}}@media(min-width:701px){.game-layout .workspace-view .workbench .editor-grid #wheel svg{max-width:min(100%,440px,max(260px,calc(100dvh - 370px)))}}.birth-chart-dialog{width:min(680px,calc(100vw - 28px));max-height:90dvh;box-sizing:border-box;overflow:auto;background:#192b25;color:#efe8d4;border:1px solid #a68c51;border-radius:12px;padding:20px}.birth-chart-dialog::backdrop{background:#07140dbb}.birth-chart-dialog h2{margin-top:0}.birth-chart-dialog p{line-height:1.5}.birth-chart-dialog .note{font-size:12px;opacity:.85}.birth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.birth-chart-dialog label{display:grid;gap:5px;font-size:13px;min-width:0}.birth-chart-dialog input,.birth-chart-dialog select{width:100%;box-sizing:border-box;min-height:38px}.birth-chart-dialog details{margin:12px 0}.birth-chart-dialog footer{display:flex;flex-wrap:wrap;gap:8px;position:static;margin-top:14px}.birth-chart-dialog [data-status]{color:#ffe1a1}.birth-chart-dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:5px}.birth-chart-dialog dd{margin:0}.birth-chart-dialog [data-result]{border-top:1px solid #6e7966;padding-top:10px}@media(max-width:520px){.birth-grid{grid-template-columns:1fr}.birth-chart-dialog{padding:14px}}.trial-page{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:24px;padding:22px;max-width:1400px;margin:auto;line-height:1.55}.trial-page h1{font-size:28px}.trial-page h2{font-size:21px}.trial-page p{max-width:80ch}.trial-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trial-form-grid label{display:flex;flex-direction:column;gap:5px}.trial-form-grid select{max-width:100%;min-width:0;width:100%}.trial-actions,.trial-budget{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.trial-budget b{background:#34453b;padding:8px 14px;border-radius:9px}.trial-predictions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.trial-prediction,.village-library article,#trial-premise{background:#20332c;border:1px solid #526052;padding:14px;border-radius:10px;margin:12px 0}.trial-prediction h4{margin:0}.trial-prediction p{font-size:13px}.trial-page progress{width:100%;height:12px}.trial-hours{padding-left:20px}.trial-hours li{padding:7px 0}.trial-hours span{display:block;font-size:13px}.trial-error{color:#ffb49f}.trial-reader{width:min(900px,94vw);max-height:90dvh;overflow:auto;background:#17271f;color:#eee1bc;border:1px solid #b99c53;border-radius:12px;padding:22px}.trial-reader header{display:flex;justify-content:space-between;gap:15px}.trial-reader pre{white-space:pre-wrap;overflow-wrap:anywhere}.trial-reader summary{cursor:pointer;line-height:1.6}.trial-reader details{margin:15px 0}.village-library button{margin:4px}#trial-badge{position:absolute;z-index:19;bottom:12px;left:50%;transform:translate(-50%);max-width:min(620px,90%);background:#172a22ee;color:#efdaa3;border:1px solid #9f8b50;border-radius:20px;padding:8px 16px;font-size:12px}.game-immersive #trial-badge{bottom:58px}@media(max-width:1000px){.trial-page,.trial-predictions{grid-template-columns:1fr}}@media(max-width:600px){.trial-page{padding:12px}.trial-form-grid{grid-template-columns:1fr}#trial-badge{bottom:10px;font-size:10px;padding:6px 10px;width:90%}.trial-reader{box-sizing:border-box;padding:12px}.trial-actions button{flex:1 1 130px}}#immersion-panel{display:none;padding:16px;font-size:13px}body[data-world-panel=story] #immersion-panel{display:block}body[data-world-panel=story] #viewer-person,body[data-world-panel=story] #location-inspector,body[data-world-panel=story] .interventions,body[data-world-panel=story] #world-lens{display:none!important}.story-controls,.story-camera,.story-peers,.story-questions{display:flex;gap:6px;flex-wrap:wrap}.story-controls{flex-shrink:0}.world-bar{flex-wrap:wrap}.story-where{font-size:12px;color:#c4b38e}.inner-voice{padding:12px;background:#263b3e;border-left:3px solid #d3b07a;border-radius:8px}.inner-voice>small{color:#e7c997}.inner-voice p{margin:8px 0}.inner-voice blockquote{margin:8px 0;padding:0 0 0 10px;border-left:2px solid #758c8c;font-size:12px}.story-evidence{font-size:11px}.story-evidence p{white-space:normal;overflow-wrap:anywhere}.story-reply{padding:12px;background:#2d3043;border-radius:8px}.story-day{border-top:1px solid #45475a;margin-top:12px}.story-peers [aria-pressed=true],.story-camera [aria-pressed=true]{border-color:#e0b67d;background:#4a4237}body[data-immersion=true] .viewer-tools,body[data-immersion=true] .viewer-observation,body[data-immersion=true] .v3-threat-tools,body[data-immersion=true] .v3-place,body[data-immersion=true] .v3-threat{display:none!important}body[data-immersion=true] .world-switcher [data-world-panel=detail]{display:none}#story-next[hidden],#story-tab[hidden]{display:none!important}@media(max-width:700px){#immersion-panel{padding:12px}.story-controls button{padding:6px!important;font-size:11px!important}.story-controls{margin-left:auto}.story-camera button{font-size:11px!important}.story-questions button{flex:1 1 auto}body[data-immersion=true] .world-bar>label{display:none}body[data-immersion=true] .world-switcher{order:3;width:100%}body[data-immersion=true] .viewer-switch{order:1}body[data-immersion=true] .story-controls{order:2}}#character-bubble{position:absolute;z-index:6;box-sizing:border-box;width:min(290px,calc(100% - 16px));max-height:min(360px,70%);overflow:auto;background:#fff2d9f5;color:#342c22;border:1px solid #bc9b62;border-radius:12px;padding:10px 12px;box-shadow:0 5px 18px #0005;font:12px/1.45 system-ui;margin:0}#character-bubble[hidden]{display:none}#character-bubble .bubble-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}#character-bubble strong{font-size:14px}#character-bubble button{background:#e7d5af;color:#382d20;border:1px solid #b29669;padding:3px 7px;font-size:11px}#character-bubble p{margin:6px 0;color:#342c22;font-size:12px}#character-bubble .bubble-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#character-bubble small,#character-bubble summary{color:#6d5637;font-size:11px}#character-bubble .bubble-needs{display:flex;flex-wrap:wrap;gap:3px 9px;font-size:11px}#character-bubble details{padding:4px 0;margin:0;border:0}#character-bubble summary{cursor:pointer}#world3d[data-bubble=true] .viewer-observation,.viewer-tools label[hidden]{display:none}.scene-screen-bar{display:flex;justify-content:flex-end;flex-shrink:0;padding:3px}.scene-screen-bar button{font-size:11px;padding:6px 10px}.map-workspace:fullscreen,.map-workspace.scene-expanded{display:flex!important;flex-direction:column;width:100vw!important;height:100dvh!important;box-sizing:border-box;background:#111b29;padding:10px;gap:6px;overflow:hidden}.map-workspace.scene-expanded{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000}.map-workspace:fullscreen .world-stage,.map-workspace.scene-expanded .world-stage{flex:1;min-height:0;width:100%}.map-workspace:fullscreen #world-canvas,.map-workspace.scene-expanded #world-canvas{width:auto;max-width:100%;height:100%;max-height:100%}.map-workspace:fullscreen #world3d,.map-workspace.scene-expanded #world3d{height:100%}.viewer-switch{display:flex;gap:4px;margin-left:auto}.viewer-switch button{padding:7px 10px}.viewer-switch button[aria-pressed=true]{background:#435b50;border-color:#d7b36b;color:#ffedbf}.viewer-observation{position:absolute;z-index:4;bottom:9px;left:9px;right:9px;max-width:560px;background:#172c2de8;border:1px solid #a2b298;border-radius:9px;padding:8px 10px;color:#f6eedb;pointer-events:none}.viewer-observation button{pointer-events:auto;background:none;border:0;color:#f8dfaa;padding:0;text-align:left;font-size:12px;font-weight:700}.viewer-observation p{font-size:11px;line-height:1.5;margin:3px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v3-person{z-index:2}.v3-place{z-index:1}.v3-threat{z-index:3;background:#743e45;color:#fff1cf;border:1px solid #e9bd86;border-radius:8px}.v3-threat-tools{position:absolute;z-index:5;top:8px;left:8px;right:8px;max-width:440px;pointer-events:none}.v3-threat-tools>div{display:flex;gap:5px}.v3-threat-tools button,.v3-threat-tools details{pointer-events:auto;background:#233532ee;color:#ffedc9;border:1px solid #b79a71;border-radius:7px;font-size:11px;padding:6px 9px}.v3-threat-tools button[aria-pressed=true]{background:#75494b}.v3-threat-tools details{margin-top:5px;max-height:130px;overflow:auto}.v3-threat-tools summary{cursor:pointer}.v3-threat-tools p{font-size:11px;line-height:1.5;margin:5px 0 0}.v3-labels .v3-person{overflow:visible}.v3-person:after{content:"";position:absolute;top:100%;left:50%;width:1px;height:var(--label-lift,0px);background:#3f594e80;pointer-events:none}body[data-renderer="3d"][data-viewer-subject=person] #location-inspector,body[data-renderer="3d"][data-viewer-subject=place] #viewer-person{display:none}.viewer-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:5px 0;font-size:11px}.viewer-tools label{display:flex;gap:5px;align-items:center}.viewer-tools select,.viewer-tools button{padding:6px 9px;font-size:11px}.viewer-tools details{position:relative;margin-left:auto}.viewer-tools details[open]{flex-basis:100%}.viewer-tools details p{margin:5px 0}.viewer-tools output{color:#c6d8c7}.viewer-tools [aria-pressed=true]{background:#426353}#world3d{position:relative;width:100%;height:100%;min-height:220px;overflow:hidden;border-radius:12px;touch-action:none;background:#c7d8d4}#world3d canvas{display:block;width:100%;height:100%;outline:none}.v3-labels{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.v3-labels button{position:absolute;left:0;top:0;pointer-events:auto;white-space:nowrap;box-shadow:0 2px 8px #17272133;padding:3px 7px;font-size:10px;line-height:1.3;max-width:145px;overflow:hidden;text-overflow:ellipsis}.v3-place{background:#edf0dce6;color:#31473f;border:1px solid #78927c;border-radius:4px}.v3-person{background:#273e3be8;color:#fff0d7;border:1px solid #e2c590;border-radius:12px}.v3-person[aria-pressed=true]{background:#6d4d2b;border-color:#fff3c0}body[data-renderer="3d"] #world-canvas,body[data-renderer="3d"] #world-description{display:none}body[data-renderer="3d"] .world-stage{flex:1;min-height:0;padding:0;display:block;position:relative}body[data-renderer="3d"] .world-weather{display:none}body[data-renderer="3d"] .map-workspace{gap:0}#viewer-person{padding:15px;border:1px solid #44524c;border-radius:12px;background:#1b2630;margin-bottom:10px}#viewer-person h3{margin:0 0 3px}.viewer-place{font-size:11px;color:#a9b9b3;margin:0 0 12px}.viewer-needs{display:flex;gap:9px;flex-wrap:wrap;font-size:11px}.viewer-needs span{display:flex;gap:4px}.viewer-history{margin-top:12px}.viewer-history ol{list-style:none;padding:0}.viewer-history li{border-left:2px solid #a78e64;padding:0 0 0 10px;margin:14px 0}.viewer-history small{display:block;color:#bfae87}.viewer-history b{font-size:12px}.viewer-history p{font-size:12px;line-height:1.6;margin:4px 0}body[data-renderer="3d"] .world-sidebar{overflow:auto}body[data-renderer="3d"] #location-inspector{overflow:visible;height:auto;flex:none}body[data-renderer="3d"][data-world-panel=intervene] #viewer-person{display:none}[hidden].viewer-tools,[hidden]#world3d,[hidden]#viewer-person,.v3-labels [hidden]{display:none!important}@media(max-width:700px){.viewer-switch{margin-left:0}.viewer-switch button{font-size:11px;padding:6px}.viewer-tools{padding:4px;gap:4px}.viewer-tools details{margin-left:0}.viewer-tools #viewer-playback{width:100%;font-size:10px}.viewer-tools select{max-width:133px}.v3-labels button{font-size:9px;max-width:100px;padding:3px 5px}body[data-renderer="3d"] .map-workspace{height:100%;display:none;flex-direction:column}body[data-renderer="3d"][data-world-panel=map] .map-workspace{display:flex}body[data-renderer="3d"] .world-stage{min-height:0;width:100%}#world3d{min-height:120px}#viewer-person{padding:12px}}.v3-camera-tools{position:absolute;right:9px;top:9px;z-index:6;display:flex;gap:5px}.v3-camera-tools button{width:36px;height:36px;font-size:22px;padding:0;background:#172c2de8;color:#ffe3a2;border:1px solid #ac976c}.v3-threat-tools{right:95px}.viewer-character{margin:12px 0;border:1px solid #4e6765;border-radius:8px;padding:9px}.viewer-character summary{cursor:pointer;color:#f2d5a6}.viewer-character p{font-size:12px;line-height:1.6}.character-comparison{overflow:auto}.character-comparison table{width:100%;font-size:11px;border-collapse:collapse}.character-comparison th,.character-comparison td{text-align:left;padding:5px;border-bottom:1px solid #465452}.character-comparison button{padding:4px;font-size:11px}.v3-person[aria-pressed=true]{max-width:215px;font-size:12px;font-weight:600}.v3-person[data-element=fire]{border-color:#ef9b72}.v3-person[data-element=earth]{border-color:#c2d077}.v3-person[data-element=air]{border-color:#8dd8f2}.v3-person[data-element=water]{border-color:#c1aff4}@media(max-width:700px){.v3-person[aria-pressed=true]{max-width:180px;font-size:11px}.viewer-tools{max-height:112px;overflow:auto}.v3-camera-tools button{width:38px;height:38px}}.viewer-tools{flex-shrink:0;max-height:42%;overflow:auto}.viewer-tools .v3-threat-tools{position:static;inset:auto;z-index:auto;max-width:none;width:100%;flex:0 0 100%;display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;pointer-events:auto}.viewer-tools .v3-threat-tools>div{flex-shrink:0}.viewer-tools .v3-threat-tools details{flex:1 1 240px;margin:0;max-height:110px;overflow:auto}.viewer-tools .v3-threat-tools details[open]{flex-basis:240px}.viewer-tools .v3-threat-tools p{font-size:12px}#world-lens{display:none;padding:14px;overflow:auto;min-height:0;font-size:12px}body[data-world-panel=lens] #world-lens{display:block}body[data-world-panel=lens] #location-inspector,body[data-world-panel=lens] #viewer-person,body[data-world-panel=lens] .interventions{display:none!important}#world-lens h3{margin:0 0 8px}#world-lens label{display:flex;gap:6px;flex-direction:column;margin:8px 0}#world-lens select,.lens-time input{width:100%}#lens-summary{background:#263b3e;border-radius:8px;padding:10px}#lens-summary strong{font-size:19px}#lens-summary p,#lens-axis-help{line-height:1.55;margin:6px 0}#lens-radar{max-width:390px;margin:auto}#lens-radar svg{width:100%;display:block}.lens-legend{font-size:11px}.lens-legend span:first-child{color:#dcb587}.lens-legend span:nth-child(2){color:#73c4bf}.lens-legend span:last-child{color:#aab5c7}.lens-planet{display:grid;grid-template-columns:1fr 1.4fr;gap:3px;padding:8px 0;border-bottom:1px solid #ffffff15}.lens-planet small{grid-column:1/-1;line-height:1.5;color:#aab6c6}.lens-planet.active b{color:#efc77f}#lens-forecast button{display:grid;grid-template-columns:60px 1fr 58px;gap:6px;align-items:center;width:100%;margin:4px 0}#lens-forecast meter{width:100%}#lens-table{overflow:auto}#lens-table table{font-size:11px;width:100%}#lens-table th,#lens-table td{padding:5px}#intervention-context{font-weight:700;line-height:1.5}.interventions>details{margin:8px 0 16px}.world-switcher{flex-wrap:wrap}@media(max-width:700px){#world-lens{height:100%}.world-switcher button{padding:6px 7px!important;font-size:11px!important}}.lens-jump{display:flex;gap:5px;margin:8px 0}.lens-jump [aria-pressed=true]{background:#435b50;border-color:#d7b36b}#world-lens[data-lens-view=fit] #lens-sky-section,#world-lens[data-lens-view=fit] #lens-forecast-section,#world-lens[data-lens-view=sky] #lens-radar,#world-lens[data-lens-view=sky] .lens-legend,#world-lens[data-lens-view=sky] #lens-axis-help,#world-lens[data-lens-view=sky] #lens-table-section{display:none}#lens-summary details{margin:5px 0 0;font-size:11px}#world-lens[data-lens-view=sky] #lens-prepare,#world-lens[data-lens-view=fit] .lens-time,#world-lens[data-lens-view=fit] .lens-forecast-note{display:none}.lens-planet{width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #ffffff15;border-radius:0!important}.lens-planet.active{background:#35483b55}@media(max-width:700px){#lens-radar{max-width:290px}#lens-person{font-size:11px}#world-lens h3{font-size:14px}}
