@layer base,components,theme,interface;@layer interface{.events-section{max-width:1560px;margin:56px auto 0;padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);scroll-margin-top:24px}.event-section-heading{display:flex;justify-content:space-between;align-items:center;gap:32px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--line)}.event-section-heading h2{margin:0;font:400 40px/1.2 var(--font-display);text-transform:uppercase;color:var(--text)}.event-section-heading p{margin:10px 0 0;color:var(--secondary);font-size:14px;line-height:1.6}.event-budget{width:290px;flex:none}.event-budget-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:12px;color:var(--secondary)}.event-budget-heading>b{font-size:20px;color:var(--text);font-variant-numeric:tabular-nums}.event-budget-heading>b>span{font-size:12px;font-weight:500;color:var(--secondary)}.event-budget-meter{display:flex;gap:6px;margin:10px 0}.event-budget-meter>span{flex:1;height:5px;border-radius:2px;background:var(--line)}.event-budget-meter>.ready{background:var(--accent)}.event-budget>small{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.event-picker{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;color:var(--text)}.event-picker ::selection{background:var(--selected);color:var(--selected-ink)}.event-picker :is(button,input):focus-visible{outline:2px solid var(--focus);outline-offset:3px}.event-tone-index{align-self:start;display:flex;flex-direction:column;gap:5px;position:sticky;top:24px}.event-tone-choice{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:6px;padding:14px 12px;background:transparent;color:var(--secondary);touch-action:manipulation;transition:background-color .16s ease-out}.event-tone-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700}.event-tone-label>span{margin-left:auto;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}.event-tone-label>i{width:6px;height:6px;flex:none;border-radius:50%;background:var(--good)}.event-tone-choice.mixed i{background:var(--warning)}.event-tone-choice.disruptive i{background:var(--danger)}.event-tone-choice>small{display:block;margin-top:6px;font-size:11px;line-height:1.5}.event-tone-choice[aria-pressed=true]{background:var(--selected);color:var(--selected-ink);border-color:var(--line)}.event-index-note{margin:28px 12px 0;color:var(--muted);font-size:12px;line-height:1.8}.event-menu{min-width:0}.event-menu-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.event-menu-label{display:flex;align-items:baseline;gap:12px}.event-menu-label h3{margin:0;font:750 18px/1.4 var(--font-body)}.event-menu-label>span{color:var(--muted);white-space:nowrap;font-size:11px}.event-search{display:flex;align-items:center;gap:9px;padding:0 12px;min-height:44px;width:270px;border:1px solid var(--control-border);border-radius:6px;color:var(--muted)}.event-search>svg{flex:none}.event-search input{width:100%;min-width:0;border:0;padding:10px 0;border-radius:0;background:transparent;color:var(--text);font:400 12px/1.5 var(--font-body);caret-color:var(--accent)}.event-search input::placeholder{color:var(--muted);opacity:1}.event-search input::-webkit-search-cancel-button{display:none}.event-search>button{display:grid;place-items:center;border:0;width:32px;min-height:40px;margin-right:-8px;background:transparent;color:var(--secondary);flex:none}.event-dispatch-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:var(--surface-soft);border-radius:6px;font-size:11px;color:var(--secondary);font-variant-numeric:tabular-nums}.event-dispatch-status>span:first-child{display:flex;align-items:center;gap:8px}.event-ready-dot{width:6px;height:6px;border-radius:50%;background:var(--good);flex:none}.event-dispatch-feedback{display:flex;align-items:flex-start;gap:8px;color:var(--good);font-size:12px;line-height:1.65}.event-dispatch-feedback:not(:empty){margin:16px 0}.event-dispatch-feedback>svg{flex:none;margin-top:2px}.event-dispatch-feedback.is-error{color:var(--danger)}.event-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.event-option{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:12px;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);padding:24px 0;touch-action:manipulation;transition:background-color .16s ease-out}.event-option-icon{margin-top:2px;color:var(--secondary)}.event-option-copy{min-width:0}.event-option-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px}.event-option-heading>b{font:750 15px/1.45 var(--font-body);overflow-wrap:anywhere}.event-option-error{display:block;margin-top:8px;color:var(--danger)}.event-option-tone{color:var(--good);font-size:10px;line-height:1.4}.event-option.mixed .event-option-tone{color:var(--warning)}.event-option.disruptive .event-option-tone{color:var(--danger)}.event-option-description{display:block;margin-top:9px;color:var(--secondary);font-size:12px;line-height:1.7;max-width:65ch}.event-option-effects{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:12px;font-size:11px;line-height:1.6}.event-option-effects>span{color:var(--secondary);white-space:nowrap}.event-option-effects strong{font-weight:700;font-variant-numeric:tabular-nums}.event-option-effects .good strong{color:var(--good)}.event-option-effects .bad strong{color:var(--danger)}.event-send{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:5px;background:var(--action);color:var(--action-ink);min-height:32px;padding:6px 9px;font-size:11px;font-weight:750;white-space:nowrap}.event-option:disabled{cursor:default;opacity:1}.event-option:disabled .event-send{background:var(--surface-soft);color:var(--muted)}.event-option.is-sent .event-send{background:var(--good-soft);color:var(--good)}.event-option:focus-visible{position:relative;border-radius:4px}.event-effects-note{margin:20px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.event-empty{padding:56px 20px;text-align:center;color:var(--muted)}.event-empty>svg{margin-bottom:12px}.event-empty h4{margin:0;font-size:16px;color:var(--text)}.event-empty p{margin:8px 0 20px;font-size:13px}.event-empty button{display:inline-flex;align-items:center;gap:10px;min-height:44px;background:var(--action);color:var(--action-ink);border:0;border-radius:6px;padding:10px 16px;font-weight:700}@media(hover:hover)and (pointer:fine){.event-option:hover:not(:disabled){background:var(--surface-soft)}.event-option:hover:not(:disabled) .event-send{background:var(--action-hover)}.event-tone-choice:hover:not([aria-pressed=true]){background:var(--surface-soft)}}.event-option:active:not(:disabled){background:var(--selected)}@media(max-width:1200px){.events-section{padding:24px}.event-picker{grid-template-columns:160px minmax(0,1fr);gap:24px}.event-options{grid-template-columns:1fr}.event-option-heading{flex-direction:row;align-items:baseline;gap:12px}.event-option{padding:20px 0}}@media(max-width:760px){.events-section{padding:20px;margin-top:32px}.event-section-heading{align-items:flex-start;flex-direction:column;gap:24px;padding-bottom:24px;margin-bottom:20px}.event-section-heading h2{font-size:32px}.event-section-heading p{font-size:13px;max-width:36ch}.event-budget{width:100%;max-width:400px}.event-picker{grid-template-columns:1fr;gap:20px}.event-tone-index{position:static;flex-direction:row;gap:4px;border-bottom:1px solid var(--line)}.event-tone-choice{width:auto;flex:1;padding:12px 6px;border-radius:5px 5px 0 0;border:0;min-height:44px}.event-tone-label{justify-content:center;gap:5px;font-size:12px}.event-tone-label>span{margin:0;font-size:10px}.event-tone-label>i,.event-tone-choice>small,.event-index-note{display:none}.event-menu-tools{flex-direction:column;align-items:stretch;gap:14px}.event-menu-label{justify-content:space-between}.event-menu-label h3{font-size:16px}.event-search{width:100%}.event-search input{font-size:16px}.event-dispatch-status{align-items:flex-start;flex-direction:column;gap:4px}.event-dispatch-status>span:last-child{padding-left:23px;font-size:10px}.event-option{grid-template-columns:22px minmax(0,1fr) auto;gap:9px}.event-option-copy{display:contents}.event-option-icon{grid-column:1;grid-row:1}.event-option-heading{grid-column:2;grid-row:1}.event-option-description,.event-option-effects{grid-column:1 / -1;margin-top:0}.event-option-heading{flex-direction:column;gap:4px}.event-option-heading>b{font-size:15px}.event-option-description{font-size:13px}.event-option-effects{font-size:11px}.event-send{grid-column:3;grid-row:1;align-self:start;min-height:32px;margin-top:0;padding-inline:8px}}@media(max-width:360px){.events-section{padding:16px 12px}.event-tone-label{gap:3px;font-size:11px}.event-tone-choice{padding-inline:4px}}@media(prefers-reduced-motion:reduce){.event-option,.event-tone-choice{transition:none}}}@layer base,components,theme,interface;@layer components{.resident-name-editor{margin:0 0 16px;min-width:0}.resident-name-editor>[hidden]{display:none}.resident-name-editor>button{min-height:32px}.resident-name-editor form{max-width:360px}.resident-name-editor label{font-size:12px}.resident-name-editor input{width:100%;min-width:0;margin-top:5px}.resident-name-editor .muted{font-size:11px;line-height:1.5;margin:8px 0}.resident-name-actions{display:flex;gap:8px;flex-wrap:wrap}.resident-name-actions button{min-height:36px}.character-heading>div{min-width:0}.character-heading h2{overflow-wrap:anywhere}}@layer base,components,theme,interface;@layer components{.admin-page{max-width:var(--page-max);margin:48px auto 80px;padding:0 var(--page-gutter)}.admin-page>p{max-width:720px;line-height:1.7}.admin-page h1{margin-bottom:20px}.admin-page h2{font-size:1.2rem;margin:0 0 10px}.admin-page code{overflow-wrap:anywhere}.admin-login,.admin-confirm{display:grid;gap:14px;margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:12px}.admin-login{max-width:460px}.admin-page input{width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:inherit}.admin-page button{padding:10px 16px;border:1px solid var(--line);border-radius:6px}.admin-actions{display:flex;flex-wrap:wrap;gap:12px}.admin-confirm{border:2px solid #a33c31}.admin-delete{background:#a33c31;color:#fff}.admin-page button:disabled{opacity:.5;cursor:not-allowed}.admin-houses{list-style:none;padding:0;margin:28px 0}.admin-houses li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid var(--line)}.admin-houses p{margin:8px 0}.admin-houses button{flex-shrink:0}@media(max-width:560px){.admin-houses li{align-items:flex-start;flex-direction:column}.admin-confirm,.admin-login{padding:18px}}.admin-deleted{opacity:.75}.admin-page section{margin-top:36px}}@layer base,components,theme,interface;@layer components{.metric-summary{position:relative}.metric-trigger{text-align:left;min-width:0}.metric-summary .metric-trigger:nth-child(3){border-right:0}.metric-trigger:hover>div:first-child>span,.metric-trigger[aria-expanded=true]>div:first-child>span{text-decoration:underline;text-underline-offset:3px}.metric-details{position:fixed;z-index:30;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:18px;border:1px solid var(--control-border,var(--line));border-radius:9px;background:var(--surface,#fffef8);color:var(--text,#414c3f);box-shadow:0 8px 30px #25302130;font-size:12px;line-height:1.65}.metric-details-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}.metric-details h3{font-size:19px}.metric-details h4{margin:16px 0 4px;font-size:12px}.metric-details p{margin:9px 0}.metric-details .metric-note{color:var(--muted);font-size:11px}.metric-details ul{padding-left:18px;margin:8px 0}.metric-details li{margin:7px 0}.metric-details .metric-changes{padding:0;list-style:none}.metric-changes li{display:grid;grid-template-columns:1fr auto;column-gap:12px;border-top:1px solid var(--line);padding-top:7px}.metric-changes b.good{color:var(--change-good)}.metric-changes b.bad{color:var(--change-bad)}.metric-changes small{grid-column:1 / -1;color:var(--muted)}.metric-details .metric-headline b{font-weight:600}.metric-more{margin-top:10px;border-top:1px solid var(--line);padding-top:6px}.metric-more>summary{cursor:pointer;padding:4px 0;color:var(--muted);font-size:11px}.metric-more>summary:hover,.metric-more[open]>summary{color:inherit}.metric-more>summary:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:3px}.metric-details .icon-button{min-width:32px;min-height:32px}:root[data-theme=dark] .metric-details{box-shadow:0 8px 30px #0005}}@layer base,components,theme,interface;@layer components{@media(max-width:600px){.resident-name-tag{transform:translate(var(--name-tag-shift),-12px) scale(max(1,calc(3 / var(--scene-zoom, 1))))}}}@layer base,components,theme,interface;@layer components{.expandable-text{display:block;max-width:100%;min-width:0;margin:0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}button.expandable-text{cursor:pointer}button.expandable-text[aria-expanded=true]{cursor:text}.speech-box{pointer-events:none;overflow:visible;color:var(--scene-text,#58624d);font-size:9px}.speech-content{pointer-events:auto;max-height:396px;overflow:auto;padding:6px 8px;border:1px solid var(--scene-outline,#dddcca);border-radius:8px;background:var(--scene-bubble,#fffdf4);line-height:1.4}.speech-box .expandable-text{width:100%;padding:0;border:0;background:transparent;line-height:inherit}.speech-box.expanded .expandable-text{max-height:300px;overflow:auto;font-size:12px}.speech-box .expandable-text:focus-visible{outline:3px solid var(--scene-selection,#566f4d);outline-offset:2px}.speech-speaker{display:block;margin-bottom:6px;font-size:12px;overflow-wrap:anywhere}.speech-conversation{display:block;width:100%;margin-top:8px;padding:6px;border:1px solid currentColor;border-radius:4px;color:inherit;background:transparent;font-size:12px;cursor:pointer}.speech-unlinked{display:block;margin-top:8px;font-size:11px}.speech-conversation:focus-visible{outline:3px solid var(--scene-selection,#566f4d);outline-offset:2px}.speech-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.speech-heading .speech-speaker{flex:1;min-width:0;padding-top:4px}.speech-dismiss{flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}.speech-dismiss:hover{background:var(--scene-outline,#dddcca)}.speech-dismiss:focus-visible{outline:3px solid var(--scene-selection,#566f4d);outline-offset:1px}.speech-lifetime{height:3px;margin-top:8px;overflow:hidden;border-radius:2px;background:var(--scene-outline,#dddcca)}.speech-lifetime span{display:block;height:100%;background:var(--scene-selection,#566f4d);background:color-mix(in srgb,var(--scene-selection,#566f4d) 65%,var(--scene-outline,#dddcca))}.speech-box.expanded .speech-content{display:flex;flex-direction:column;overflow:hidden}.speech-box.expanded .expandable-text{flex:0 1 auto;min-height:0}.speech-heading,.speech-conversation,.speech-unlinked,.speech-lifetime{flex-shrink:0}.building:has(.speech-box.expanded,.speech-anchor) .speech-box:not(.expanded){visibility:hidden}.speech-box .expandable-text{touch-action:manipulation}.speech-sheet{position:fixed;z-index:40;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));pointer-events:auto;font-size:16px;animation:speech-sheet-in .14s ease-out}.speech-sheet .speech-content{max-height:min(70vh,70dvh);padding:12px 14px 14px;border-radius:12px;box-shadow:0 8px 30px #25302133;line-height:1.5}.speech-box.speech-sheet .expandable-text{max-height:none;overflow:auto;overscroll-behavior:contain;font-size:16px}.speech-sheet .speech-heading{align-items:center;margin-bottom:6px}.speech-sheet .speech-speaker{margin:0;padding:0;font-size:16px}.speech-sheet .speech-dismiss{width:44px;height:44px;margin:-8px -8px -8px 0}.speech-sheet .speech-conversation{min-height:44px;margin-top:12px;font-size:15px}.speech-sheet .speech-unlinked{margin-top:12px;font-size:13px}.speech-sheet .speech-lifetime{margin-top:12px}@keyframes speech-sheet-in{0%{opacity:0;transform:translateY(12px)}}@media(prefers-reduced-motion:reduce){.speech-sheet{animation:none}}}@layer base,components,theme,interface;@layer components{.relationship-story{--chart-green:#72865f;--chart-blue:#718e98;--chart-clay:#b47761;--chart-neutral:#b7b8a8;--bond-color:var(--chart-neutral);min-width:0}:root[data-theme=dark] .relationship-story{--chart-green:#abc28c;--chart-blue:#94bbc5;--chart-clay:#daa78e;--chart-neutral:#718274}.relationship-story h5{font-size:12px;margin:22px 0 10px;letter-spacing:.02em}.bond-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:4px 36px 0 0}.bond-close,.bond-warm{--bond-color:var(--chart-green)}.bond-trusted,.bond-forming{--bond-color:var(--chart-blue)}.bond-repairing,.bond-easing,.bond-strained{--bond-color:var(--chart-clay)}.bond-portrait{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px;border-radius:12px;min-width:0;max-width:110px}.bond-portrait:hover{background:var(--surface-hover)}.bond-portrait-figure{display:block;width:72px;height:78px;border-radius:50%;padding:10px 10px 0;overflow:hidden}.bond-portrait-figure svg{width:100%;height:100%}.bond-portrait b{font-size:13px;font-weight:500;overflow-wrap:anywhere;text-align:center}.bond-portrait small{font-size:10px;color:var(--muted);text-transform:capitalize}.bond-link{position:relative;align-self:start;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding-top:26px}.bond-line{position:absolute;left:-8px;right:-8px;top:43px;transform:translateY(-50%);border-top:calc(2px + var(--bond-strength,0) * 4px) solid var(--bond-color);border-radius:4px}.bond-forming .bond-line,.bond-repairing .bond-line,.bond-easing .bond-line{border-top-style:dashed}.bond-unmet .bond-line{border-top-style:dotted}.bond-badge{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--surface,#fffef8);border:1.5px solid var(--bond-color);font-size:12px;font-weight:500;text-align:center;max-width:100%}.bond-badge svg{color:var(--bond-color)}.bond-close .bond-badge svg{fill:var(--bond-color)}.bond-link small{font-size:10px;color:var(--muted);text-align:center}.bond-meters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 20px;margin:18px 0 0;padding:14px 16px;border-radius:10px;background:var(--surface-soft,#eef2e7)}.bond-meter-row{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:11px}.bond-meter-row>span{color:var(--muted)}.bond-meter-row>b{font-weight:500;font-variant-numeric:tabular-nums}.bond-gauge{grid-column:1/-1;position:relative;height:8px;border-radius:4px;background:var(--line);overflow:hidden}.bond-gauge i{position:absolute;top:0;bottom:0;background:var(--chart-blue);border-radius:4px}.bond-meter-row.diverging .bond-gauge i{background:var(--chart-green)}.bond-meter-row.diverging.negative .bond-gauge i{background:var(--chart-clay)}.bond-meter-row.diverging .bond-gauge:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--muted);opacity:.5}.goodwill-pips{grid-column:1/-1;display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.goodwill-pips i{height:8px;border-radius:2px;background:var(--line)}.goodwill-pips i.on{background:var(--chart-green)}.bond-flags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bond-flag{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:5px 10px;border-radius:999px;background:var(--surface-soft,#eef2e7);overflow-wrap:anywhere}.bond-flag svg{color:var(--chart-green)}.bond-flag.tense svg{color:var(--chart-clay)}.relationship-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:0 20px}.relationship-points ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.relationship-points li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;font-size:12px;line-height:1.4}.thread-label{display:flex;align-items:center;gap:6px;min-width:0}.thread-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-label svg{color:var(--muted)}.relationship-points .relationship-mended{color:var(--accent)}.relationship-points small{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;grid-row:1;grid-column:2}.thread-bar{grid-column:1/-1;height:6px;border-radius:3px;background:var(--line);overflow:hidden}.thread-bar i{display:block;height:100%;border-radius:3px;background:var(--chart-green)}.relationship-points.apart .thread-bar i{background:var(--chart-clay)}.relationship-views{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.insights-pair .relationship-views article{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:12px;margin:0;background:var(--surface);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.view-avatar{flex-shrink:0;width:40px;height:44px;border-radius:50%;padding:6px 6px 0;overflow:hidden}.view-avatar svg{width:100%;height:100%}.relationship-views article>div{min-width:0}.relationship-views article small{font-size:10px;color:var(--muted)}.view-impression{font-family:var(--serif);font-size:15px;line-height:1.4;margin:2px 0 0}.relationship-views blockquote{position:relative;margin:10px 0 0;padding:8px 11px;border-radius:10px 10px 10px 2px;background:var(--surface-soft,#eef2e7);font-style:italic}.relationship-views blockquote p{margin:0}.relationship-views blockquote small{display:block;font-style:normal;margin-top:4px}.bond-moments{list-style:none;margin:0;padding:0 0 0 11px}.bond-moments li{position:relative;display:flex;gap:12px;border-left:1px solid var(--line);padding:0 0 14px 18px;font-size:12px;line-height:1.6}.bond-moments li:last-child{padding-bottom:0;border-left-color:transparent}.moment-icon{position:absolute;left:-11px;top:0;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--surface-soft,#eef2e7);color:var(--muted)}.bond-moments .kind-friendship .moment-icon,.bond-moments .kind-event .moment-icon{color:var(--chart-green)}.bond-moments .kind-conflict .moment-icon{color:var(--chart-clay)}.bond-moments small{font-size:10px;color:var(--muted)}.bond-moments p{margin:0;overflow-wrap:anywhere}.bond-full-story{margin-top:22px;border-top:1px solid var(--line);padding-top:14px}.bond-full-story summary{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:12px;font-weight:500;color:var(--accent);list-style:none}.bond-full-story summary::-webkit-details-marker{display:none}.bond-full-story[open] summary{margin-bottom:12px}.relationship-prose{overflow-wrap:anywhere}.relationship-prose p{font-size:13px;line-height:1.75;margin:0 0 8px}.view-feeling{font-size:12px;line-height:1.7;margin:10px 0 0}.relationship-story .insights-note{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 0}@media(max-width:540px){.bond-hero{padding-right:28px;gap:2px}.bond-portrait-figure{width:58px;height:64px;padding:8px 8px 0}.bond-link{padding-top:21px}.bond-line{top:37px}.bond-badge{font-size:11px;padding:6px 9px}}}@layer base,components,theme,interface;@layer components{.conversation-modal{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}.conversation-modal .modal-content{min-width:0}.conversation-modal h2,.conversation-modal .conversation-thread{overflow-wrap:anywhere}.conversation-modal .conversation-thread{margin:20px 0}.conversation-modal .conversation-thread ol{max-height:none;overflow:visible}.conversation-modal .modal-close{position:sticky;top:0;float:right;z-index:1;background:var(--surface,#fffdf7)}.relationship-modal .insights-pair{border:0;background:none;padding:0}.relationship-modal .relationship-story>.eyebrow{margin-top:0}.modal.relationship-modal{width:min(760px,calc(100vw - 24px))}}@layer base,components,theme,interface;@layer components{.modal:has(.guide-copy){width:min(580px,calc(100% - 32px))}.modal:has(.guide-copy) .modal-content{padding:38px 40px 42px}.modal:has(.guide-copy) h2{margin:10px 0 14px}.guide-copy{display:flex;flex-direction:column;gap:22px}.guide-copy p.guide-lead{margin:0;font-size:14px;line-height:1.75;color:var(--secondary)}.guide-list{display:flex;flex-direction:column;gap:12px}.guide-item{border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .15s ease,background .15s ease}.guide-item[open]{border-color:var(--control-border)}.guide-item>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;cursor:pointer;font-family:var(--serif);font-size:17px;line-height:1.35;color:var(--text);border-radius:11px;-webkit-user-select:none;user-select:none;transition:background .15s ease}.guide-item>summary::-webkit-details-marker{display:none}.guide-item>summary:hover{background:var(--surface-soft)}.guide-item>summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.guide-item[open]>summary{background:var(--surface-soft);border-bottom:1px solid var(--line);border-radius:11px 11px 0 0}.guide-chevron{color:var(--muted);transition:transform .2s ease,color .15s ease}.guide-item[open] .guide-chevron{transform:rotate(180deg);color:var(--accent)}.guide-item-body{padding:16px 20px 18px;display:flex;flex-direction:column;gap:12px}.guide-copy .guide-item-body p{margin:0;font-size:13.5px;line-height:1.75;color:var(--secondary)}@media(max-width:760px){.modal:has(.guide-copy) .modal-content{padding:30px 24px 32px}}@media(max-width:450px){.modal:has(.guide-copy) .modal-content{padding:24px 18px 26px}.guide-item>summary{padding:14px 16px;font-size:16px}.guide-item-body{padding:14px 16px 16px}}}@layer base,components,theme,interface;@layer components{.appearance-editor{gap:0}.appearance-preview{width:96px;height:104px;margin:0 auto 18px;border-radius:14px;padding:9px 8px 0;overflow:hidden}.appearance-preview svg{width:100%;height:100%;display:block}.appearance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}.appearance-row>span{font-size:12px;color:var(--secondary);white-space:nowrap}.appearance-options{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.appearance-swatch{width:26px;height:26px;border-radius:50%;border:2px solid var(--surface);box-shadow:0 0 0 1px var(--line)}.appearance-style{width:38px;height:38px;padding:3px;border-radius:8px;border:1px solid var(--line);background:var(--surface-soft)}.appearance-style svg{width:100%;height:100%;display:block}.appearance-swatch[aria-pressed=true],.appearance-style[aria-pressed=true]{box-shadow:0 0 0 2px var(--accent)}.appearance-style[aria-pressed=true]{border-color:var(--accent)}.appearance-swatch:hover:not(:disabled),.appearance-style:hover:not(:disabled){box-shadow:0 0 0 2px var(--control-border)}.appearance-swatch[aria-pressed=true]:hover:not(:disabled),.appearance-style[aria-pressed=true]:hover:not(:disabled){box-shadow:0 0 0 2px var(--accent)}.appearance-editor .muted{font-size:11px;line-height:1.6;margin:12px 0}.appearance-editor .error-box{margin-bottom:12px}.appearance-actions{display:flex;gap:8px;flex-wrap:wrap}.appearance-actions button{min-height:36px}.resident-edit-actions{display:flex;flex-wrap:wrap;gap:4px 18px}.resident-edit-actions>[hidden]{display:none}.resident-edit-actions>button{min-height:32px}}@layer base,components,theme,interface;@layer components{.update-banner{position:fixed;z-index:100;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 24px);display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--control-border);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 4px 24px #0003;font-size:14px}.update-banner button{min-height:44px;flex-shrink:0;padding:8px 14px;border:1px solid var(--control-border);border-radius:8px;background:var(--surface-soft);color:var(--text);font:inherit;font-weight:600;cursor:pointer}.update-banner button:hover{background:var(--surface-hover)}.update-banner button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media(max-width:480px){.update-banner{flex-direction:column;align-items:stretch;gap:8px;text-align:center}}}@layer base,components,theme,interface;@layer components{.resident-state{margin:18px 0 24px;color:var(--secondary);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.resident-state h4{color:var(--text);margin-bottom:10px}.resident-state dl{margin:0}.resident-state dl>div{margin:10px 0}.resident-state dt{color:var(--text);font-weight:600}.resident-state dd{margin:2px 0 0}.resident-state details{border-top:1px solid var(--line);padding:9px 0}.resident-state summary{color:var(--text);cursor:pointer}.resident-state summary:focus-visible{outline:2px solid var(--text);outline-offset:3px}.resident-state ul{padding-left:18px}.resident-state-events li{margin-bottom:12px}.resident-state-events strong,.resident-state-events small,.resident-state-events span{display:block}.resident-state h5{margin:10px 0 2px;color:var(--text);font-size:12px}.delta-groups section small{display:block;color:var(--muted)}.delta-row{display:grid;grid-template-columns:minmax(70px,28%) 1fr 4.2em;align-items:center;gap:8px}.delta-strong .delta-label,.delta-strong .delta-value{color:var(--text);font-weight:600}.delta-track{position:relative;height:8px;border-radius:4px;background:var(--surface-soft)}.delta-track:before{content:"";position:absolute;left:50%;top:-2px;bottom:-2px;width:1px;background:var(--control-border)}.delta-track i{position:absolute;top:0;bottom:0;width:var(--size);border-radius:4px;background:var(--muted)}.delta-row[data-tone=good] .delta-track i{left:50%;background:var(--change-good)}.delta-row[data-tone=bad] .delta-track i{right:50%;background:var(--change-bad)}.delta-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:500}.delta-row[data-tone=good] .delta-value,.delta-chip[data-tone=good] b{color:var(--change-good)}.delta-row[data-tone=bad] .delta-value,.delta-chip[data-tone=bad] b{color:var(--change-bad)}.delta-row[data-tone=flat] .delta-value,.delta-chip[data-tone=flat]{color:var(--muted)}.delta-chips{display:flex;flex-wrap:wrap;gap:6px;margin:3px 0}.delta-chip{padding:1px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);font-variant-numeric:tabular-nums}.delta-chip[data-tone=good]{border-color:var(--change-good)}.delta-chip[data-tone=bad]{border-color:var(--change-bad)}.resident-state-events .delta-chips{display:flex}}@layer base,components,theme,interface;@layer components{.house-details{border-bottom:1px solid var(--control-border,#dce3d4);margin-bottom:22px;padding-bottom:8px}.house-details fieldset{border:0;margin:0;padding:0;min-width:0}.house-details legend{font-weight:600;margin-bottom:12px}.house-details small{display:block;line-height:1.5}.house-details-actions{display:flex;flex-wrap:wrap;gap:10px}.house-details-status{min-height:1.5em;font-size:13px}.house-details input,.house-details textarea{width:100%;box-sizing:border-box}.world-heading h1,.world-heading p,.card-title h3,.card-body>p{overflow-wrap:anywhere}.house-details label{display:block;margin:16px 0 8px;font-size:12px}.house-details small{margin-top:6px;color:var(--muted)}.house-details .muted{line-height:1.6;margin:14px 0}.house-details fieldset:disabled{opacity:.75}}@layer base,components,theme,interface;@layer components{.conversation-thread{margin-top:8px}.conversation-thread summary{cursor:pointer;line-height:1.5;padding:4px 0}.conversation-thread summary strong{font-size:13px}.conversation-thread summary span,.conversation-thread summary small{display:block;margin-left:15px}.conversation-thread summary small,.conversation-speaker time,.conversation-progress{opacity:.7;font-size:10px}.conversation-thread ol{list-style:none;padding:0 0 0 12px;margin:12px 0;border-left:2px solid currentColor}.conversation-thread li{padding:7px 0}.conversation-speaker{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:11px}.conversation-thread li p{margin:5px 0;overflow-wrap:anywhere}.conversation-thread summary strong{overflow-wrap:anywhere}.journal-conversation{margin-top:0}.journal-conversation>summary{position:relative;display:block;list-style:none;padding:0 0 5px 15px;border-radius:3px}.journal-conversation>summary::-webkit-details-marker{display:none}.journal-conversation>summary:before{content:"▸";position:absolute;left:0;top:22px;font-size:12px}.journal-conversation[open]>summary:before{content:"▾"}.journal-conversation>summary:focus-visible{outline:2px solid var(--focus,#566f4d);outline-offset:4px}.journal-conversation>summary span,.journal-conversation>summary small{margin-left:0}.journal-conversation>summary .entry-meta{display:flex;gap:8px}.journal-conversation>summary .journal-conversation-title{display:block;margin:3px 0;line-height:1.5}.journal-conversation-description{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.journal-conversation>summary small{margin-top:4px}.conversation-participants{display:flex;flex-wrap:wrap;gap:5px 12px;margin:8px 0;font-size:12px}.journal-open-conversation{display:flex;align-items:center;gap:4px;margin:7px 0 0 15px;padding:4px 0;background:transparent;border:0;color:var(--secondary,#566f4d);font-size:11px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.journal-open-conversation:focus-visible{outline:2px solid var(--focus,#566f4d);outline-offset:4px}}@layer base,components,theme,interface;@layer components{.away-confirmation{background:var(--paper);color:inherit;border-color:var(--line)}.away-consequences{display:grid;gap:12px;line-height:1.7;margin-bottom:24px}.away-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:24px}}@layer base,components,theme,interface;@layer components{.personal-history{margin-bottom:24px}.history-note{font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:12px}.history-list{list-style:none;padding:0;margin:0;border-left:1px solid var(--line)}.history-list li{padding:0 0 17px 13px}.history-list p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.history-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:10px;color:var(--muted);margin-bottom:5px}.history-meta span:last-child{text-transform:capitalize}.history-toggle{margin:0 0 8px;text-decoration:underline}.background-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:18px 0 6px}.history-story,.history-highlights p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.history-highlights{list-style:none;margin:0;padding:0}.history-highlights>li{margin-bottom:12px}.personal-history summary{cursor:pointer;font-size:11px;line-height:1.7;padding:5px 0;overflow-wrap:anywhere}.personal-history summary:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:3px}.history-sources{margin:4px 0 10px;color:inherit}.history-source{padding:8px 0 8px 10px;border-left:1px solid var(--line)}.history-original{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.history-retained{margin-top:20px;border-top:1px solid var(--line);padding-top:10px}.history-retained>summary{font-weight:600;margin-bottom:10px}.history-source .history-meta{margin:0}}@layer base,components,theme,interface;@layer components{.world-view-nav{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);margin:24px 0 20px;padding-bottom:12px;flex-wrap:wrap}.world-view-nav a{display:flex;align-items:center;gap:8px;padding:11px 16px;border-radius:8px;font-size:13px;color:var(--secondary);border:1px solid transparent}.world-view-nav a[aria-current=page]{background:var(--surface-soft);border-color:var(--line);color:var(--accent);font-weight:600}.world-view-nav a:hover{background:var(--surface-hover)}.world-view-nav>span{margin-left:auto;font-size:12px;color:var(--muted)}.insights-return{display:inline-flex;margin:4px 0 18px}@media(max-width:540px){.world-view-nav a{padding:11px 10px}.world-view-nav>span{width:100%;margin:6px 10px 0}}}@layer interface{.world-page:has(.community-insights){max-width:1480px;padding-inline:32px}.world-page:has(.community-insights) .insights-return{margin:8px 0 0}.world-page:has(.community-insights) .world-view-nav>span{display:none}.community-insights{--chart-green:#72865f;--chart-blue:#718e98;--chart-clay:#b47761;--chart-neutral:#b7b8a8;max-width:1280px;margin:0 auto 64px;color:var(--text);font-size:14px;line-height:1.7;font-variant-numeric:tabular-nums}:root[data-theme=dark] .community-insights{--chart-green:#abc28c;--chart-blue:#94bbc5;--chart-clay:#daa78e;--chart-neutral:#718274}.community-insights h2,.community-insights h3,.community-insights p{margin:0}.community-insights h3{font-size:20px;font-weight:750;line-height:1.4;letter-spacing:-.025em;text-wrap:balance}.community-insights .insights-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:28px 0 20px}.community-insights .insights-heading h2{font-size:36px;font-weight:750;line-height:1.2;letter-spacing:-.035em;text-wrap:balance}.community-insights .insights-heading p{margin-top:10px;color:var(--secondary);font-size:14px}.community-insights label{display:grid;gap:8px;margin:0;color:var(--secondary);font-size:12px}.community-insights select{width:100%;max-width:100%;min-height:44px;padding:10px 12px;background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius-control);font:500 13px/1.5 var(--font-body)}.community-insights .insights-scope{width:230px;flex-shrink:0}.community-insights .insights-context{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line);color:var(--secondary);font-size:12px}.insights-context span+span{color:var(--muted)}.community-insights .insights-note{color:var(--muted);font-size:12px;line-height:1.75;margin:10px 0 0;max-width:75ch}.insights-overview{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:start}.insights-story,.insights-people{min-width:0}.community-insights .house-narrative{display:block;margin:0;padding:28px 32px 20px;border:0;border-radius:var(--radius-panel);background:var(--surface-soft)}.house-narrative-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.house-narrative-heading>span{color:var(--muted);font-size:11px}.community-insights .house-atmosphere{font-size:20px;font-weight:600;line-height:1.65;letter-spacing:-.02em;margin:20px 0;text-wrap:pretty;max-width:54ch}.house-moments{list-style:none;padding:0;margin:0}.house-moments li{border-top:1px solid var(--line);padding:16px 0}.house-moments small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.house-moments p,.house-narrative-empty{font-size:14px;line-height:1.8;max-width:70ch;text-wrap:pretty;overflow-wrap:anywhere}.house-narrative-copy{min-width:0}.house-narrative-copy details{font-size:12px;color:var(--secondary);line-height:1.8}.house-narrative-copy details p{margin:8px 0 12px;max-width:70ch}.house-narrative summary,.insights-explainer summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--accent)}.house-narrative summary{margin-top:4px}.community-insights .insights-snapshot{margin-top:24px}.insights-section-heading>p{color:var(--muted);font-size:12px;line-height:1.75;margin-top:6px;max-width:70ch}.community-insights .insights-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0;border:0;margin:16px 0 0}.community-insights .insights-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:baseline;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;min-width:0;padding:14px 0}.community-insights .insights-summary span{color:var(--secondary);font-size:12px;line-height:1.5}.community-insights .insights-summary strong{color:var(--text);font-size:18px;font-weight:750;line-height:1.5;letter-spacing:-.02em;margin:0;white-space:nowrap}.community-insights .insights-summary small{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.6}.community-insights .insights-summary strong small{font-size:12px;font-weight:500}.community-insights .insights-people{padding-top:4px}.community-insights .insights-resident-list{max-height:610px;overflow:auto;overscroll-behavior:contain;margin:20px 0 0;padding:3px;scrollbar-color:var(--control-border) transparent;scrollbar-width:thin}.community-insights .insights-resident{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(110px,auto) 15px;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;color:var(--text)}.insights-portrait{display:block;flex-shrink:0;width:48px;height:60px;border-radius:var(--radius-control);overflow:hidden}.insights-portrait svg{display:block;width:100%;height:100%}.insights-resident-name,.insights-bond-name{min-width:0;overflow-wrap:anywhere}.insights-resident-name>b,.insights-bond-name>b{display:block;font-size:14px;line-height:1.5;font-weight:750}.community-insights .insights-resident small,.community-insights .insights-bond small{display:block;font-size:11px;line-height:1.6;color:var(--muted)}.community-insights .insights-resident-name small{margin-top:5px}.insights-resident-scores,.insights-bond-scores{text-align:right;font-size:11px}.insights-resident-scores b{font-weight:750}.community-insights .insight-meter{display:block;position:relative;height:4px;border-radius:2px;overflow:hidden;background:var(--line);margin:7px 0}.insight-meter i{position:absolute;inset:0 auto 0 0;background:var(--chart-green);border-radius:2px}.insight-meter.affinity-meter:after{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:1px solid var(--text)}.insights-resident>svg,.insights-bond>svg{color:var(--muted)}.community-insights .insights-panel{min-width:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:28px 0}.community-insights .insights-distribution{margin:32px 0 0}.community-insights .connection-stack{display:flex;height:12px;gap:3px;overflow:hidden;border-radius:3px;margin:24px 0 16px;background:var(--line)}.connection-stack>span{flex-shrink:1}.community-insights .connection-key{display:flex;flex-wrap:wrap;gap:8px}.community-insights .connection-key button{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-control);color:var(--secondary);text-align:left;font-size:12px}.community-insights .connection-key button[aria-pressed=true]{background:var(--selected);border-color:var(--control-border);color:var(--selected-ink)}.connection-key i,.insights-bond-name small i{display:inline-block;height:7px;width:7px;border-radius:50%;flex-shrink:0}.community-insights .connection-key b{margin-left:8px;color:var(--text);font-size:13px;font-weight:750}.bond-tone-close{background:var(--chart-green)}.bond-tone-forming{background:var(--chart-blue)}.bond-tone-strained{background:var(--chart-clay)}.bond-tone-unmet{background:var(--chart-neutral)}.bond-tone-warm{background:#b4aa73}.bond-tone-trusted{background:#769d98}.bond-tone-familiar{background:#aaa49a}.bond-tone-repairing{background:#af91aa}.bond-tone-easing{background:#a7a07f}.insights-connections-heading{display:flex;align-items:start;justify-content:space-between;gap:32px}.community-insights .insights-filter{width:250px;flex-shrink:0}.community-insights .insights-explainer{font-size:12px;color:var(--secondary);margin:8px 0 12px}.insights-explainer p{max-width:75ch}.community-insights .insights-bond-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:0;padding:3px}.insights-connections-more{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}.insights-connections-more>span{font-size:12px;color:var(--muted)}.insights-connections-more button{padding:10px 16px}.community-insights .insights-bond{display:grid;grid-template-columns:66px minmax(0,1fr) 100px 16px;gap:16px;align-items:center;width:100%;min-height:108px;padding:16px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left}.insights-pair-portraits{display:flex;align-items:center}.insights-pair-portraits .insights-portrait{width:34px;height:48px}.insights-pair-portraits .insights-portrait+.insights-portrait{margin-left:-4px;transform:translateY(8px)}.community-insights .insights-bond-name small{margin-top:6px}.insights-bond-name small i{margin-right:6px}.community-insights .insights-empty{color:var(--secondary);font-size:13px;line-height:1.8;padding:24px 0;max-width:65ch}.insights-bond-list>.insights-empty{grid-column:1/-1}.community-insights .insights-activity{margin-top:12px}.insights-activity>.insights-note{max-width:90ch}.community-insights .activity-chart{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.community-insights .activity-window{padding:0 24px 0 0;border:0;border-right:1px solid var(--line);border-radius:0}.community-insights .activity-window:last-child{padding:0;border:0}.activity-window>b{display:block;font-size:13px;font-weight:750;margin-bottom:12px}.activity-window>small{display:block;color:var(--muted);font-size:11px}.activity-series{display:grid;grid-template-columns:1fr 24px;align-items:center;gap:6px;font-size:12px;margin:14px 0}.activity-series>span{grid-column:1/-1;color:var(--secondary);text-transform:capitalize}.activity-series>div{height:6px;background:var(--surface-soft);border-radius:2px;overflow:hidden}.activity-series i{display:block;height:100%;background:var(--chart-blue)}.activity-series.conflicts i{background:var(--chart-clay)}.activity-series>b{text-align:right;font-weight:600}.community-insights button:hover{background:var(--surface-hover)}.community-insights button:active{background:var(--selected)}.community-insights :is(button,select,a,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:2px}@media(prefers-reduced-motion:no-preference){.insights-resident,.insights-bond,.connection-key button{transition:background-color .16s ease-out}}@media(max-width:1100px){.world-page:has(.community-insights){padding-inline:24px}.insights-overview{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.community-insights .house-narrative{padding:24px}.community-insights .insights-summary{gap:0 16px}.community-insights .insights-summary>div{grid-template-columns:1fr}.community-insights .insights-resident{grid-template-columns:40px minmax(0,1fr) 104px;gap:10px}.insights-resident .insights-portrait{width:40px;height:52px}.insights-resident>svg{display:none}.community-insights .insights-bond{grid-template-columns:58px minmax(0,1fr) 88px;gap:12px}.insights-bond>svg{display:none}.insights-pair-portraits .insights-portrait{width:30px}.community-insights .insights-bond-list{gap:0 24px}}@media(max-width:850px){.insights-overview{grid-template-columns:1fr;gap:32px}.insights-story{display:contents}.community-insights .house-narrative{grid-row:1}.community-insights .insights-people{grid-row:2}.community-insights .insights-snapshot{grid-row:3;margin-top:0}.community-insights .insights-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.community-insights .insights-resident-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-height:400px}.community-insights .insights-bond-list{grid-template-columns:1fr}.community-insights .insights-bond{grid-template-columns:66px minmax(0,1fr) 100px 16px;gap:16px}.insights-bond>svg{display:block}.insights-pair-portraits .insights-portrait{width:34px}.community-insights .insights-heading{gap:24px}.community-insights .insights-heading h2{font-size:30px}}@media(max-width:600px){.world-page:has(.community-insights){padding-inline:18px}.world-page:has(.community-insights) .world-view-controls{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px}.world-page:has(.community-insights) .world-view-nav{flex-wrap:nowrap;gap:8px}.world-page:has(.community-insights) .world-view-nav a{padding-inline:0;white-space:nowrap;font-size:11px}.community-insights{margin-bottom:32px}.community-insights .insights-heading{display:block;padding:24px 0 16px}.community-insights .insights-heading h2{font-size:28px}.community-insights .insights-heading p{font-size:13px}.community-insights .insights-scope{width:100%;margin-top:20px}.community-insights .insights-context{gap:4px 20px;margin-bottom:20px;padding-bottom:16px;font-size:11px}.community-insights .house-narrative{padding:22px 20px 12px}.community-insights h3{font-size:19px}.house-narrative-heading{gap:4px}.community-insights .house-atmosphere{font-size:18px;margin:18px 0}.house-moments p{font-size:13px}.community-insights .insights-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.community-insights .insights-summary>div{padding:14px 0}.community-insights .insights-resident-list{display:block;max-height:570px;margin-top:12px}.community-insights .insights-resident{grid-template-columns:40px minmax(0,1fr) 112px 15px}.insights-resident>svg{display:block}.community-insights .insights-distribution{margin-top:28px}.community-insights .insights-panel{padding:24px 0}.community-insights .connection-key{gap:6px}.community-insights .connection-key button{padding:8px 10px;font-size:11px}.insights-connections-heading{display:block}.community-insights .insights-filter{width:100%;margin-top:16px}.community-insights .insights-bond{grid-template-columns:54px minmax(0,1fr) 80px;gap:10px;padding-block:16px}.insights-pair-portraits .insights-portrait{width:28px;height:42px}.community-insights .insights-bond-name>b{font-size:13px}.community-insights .insights-bond small{font-size:10px}.insights-bond>svg{display:none}.community-insights .activity-chart{grid-template-columns:1fr;gap:20px}.community-insights .activity-window,.community-insights .activity-window:last-child{border:0;border-bottom:1px solid var(--line);padding:0 0 12px}}@media(max-width:370px){.world-page:has(.community-insights){padding-inline:14px}.community-insights .house-narrative{padding-inline:16px}.community-insights .insights-resident{grid-template-columns:36px minmax(0,1fr) 100px;gap:8px}.insights-resident .insights-portrait{width:36px}.insights-resident>svg{display:none}.community-insights .insights-resident-name>b{font-size:13px}.community-insights .insights-resident-name small{font-size:10px}.community-insights .insights-bond{grid-template-columns:44px minmax(0,1fr) 72px;gap:8px}.insights-pair-portraits .insights-portrait{width:24px;height:38px}}}@font-face{font-family:Anton;src:url(/fonts/Anton-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/Manrope-Latin.woff2) format("woff2");font-style:normal;font-weight:400 800;font-display:swap}:root{--stage: #17284d;--stage-ink: #f6f7fa;--stage-muted: #c6d3e8;--stage-line: #536582;--saffron: #f4c455;--font-body: Manrope, sans-serif;--font-display: Anton, sans-serif;--page: #f6f7fa;--surface: #ffffff;--surface-soft: #e8edf5;--surface-hover: #dce5f2;--text: #17284d;--secondary: #41516e;--muted: #4b5c78;--line: #cbd4e2;--control-border: #6b7b96;--accent: #284e80;--focus: #284e80;--action: #f4c455;--action-hover: #e5ab33;--action-ink: #17284d;--selected: #dce7f7;--selected-ink: #203f70;--hero: #f6f7fa;--hero-ink: #17284d;--hero-muted: #41516e;--footer: #17284d;--footer-ink: #f6f7fa;--warm: #f4c455;--danger: #943f2c;--danger-soft: #f5e8df;--warning: #75601f;--warning-soft: #f1ead4;--good: #38633d;--good-soft: #e4eddc;--overlay: #101d38b3;--shadow: 0 16px 48px #14284b26;--radius-control: 6px;--radius-panel: 12px}:root[data-theme=dark]{--page: #101a2d;--surface: #192740;--surface-soft: #21324e;--surface-hover: #2a3e5c;--text: #f3f5fa;--secondary: #c9d6eb;--muted: #b7c8e2;--line: #40526e;--control-border: #8a9cba;--accent: #c0d5f4;--focus: #f4c455;--action: #f4c455;--action-hover: #ffda80;--action-ink: #17284d;--selected: #304a6c;--selected-ink: #e2edff;--hero: #101a2d;--hero-ink: #f3f5fa;--hero-muted: #c9d6eb;--footer: #0b1425;--footer-ink: #e2edff;--warm: #f4c455;--danger: #f0b69a;--danger-soft: #46342b;--warning: #decd8d;--warning-soft: #3c3928;--good: #b6d49f;--good-soft: #30402d;--overlay: #070f20cc;--shadow: 0 16px 48px #0005}@layer base,components,theme,interface;@layer base{:root{font-family:var(--font-body);color:#414c3f;background:#f8f8f2;font-synthesis:none;font-size:14px;--green:#52684a;--muted:#8b9182;--line:#e2e5d9;--paper:#fffef8;--serif:var(--font-body);--page-max:1560px;--page-gutter:48px }*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #92a781;outline-offset:4px}button{border:0;background:none}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{letter-spacing:-1.9px}h2{letter-spacing:-.7px}small{font-size:11px}.site-header{height:88px;max-width:var(--page-max);margin:auto;padding:0 var(--page-gutter);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-family:var(--serif);font-size:27px;letter-spacing:-1px}.brand-mark{width:28px;height:28px;display:grid;grid-template-columns:1fr 1fr;gap:3px;transform:rotate(-6deg)}.brand-mark i{background:#6c835e;border-radius:7px 7px 3px}.brand-mark i:nth-child(2){background:#aab893;transform:rotate(90deg)}.brand-mark i:nth-child(3){background:#adbba2;transform:rotate(-90deg)}.brand-mark i:nth-child(4){background:#8e9f7a;transform:rotate(180deg)}.alpha{font:10px var(--font-body);letter-spacing:.15px;color:#939889;margin:5px 0 0 9px}.site-header nav{display:flex;align-items:center;gap:34px;font-size:12px}.site-header nav a{height:88px;display:flex;align-items:center;position:relative}.site-header nav a.active:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:#6c835e}.text-button,.quiet-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;padding:0}.text-button:hover,.quiet-link:hover{color:#81976e}.header-note{display:flex;gap:7px;align-items:center;color:#8c9585;font-size:10px}.status-dot{width:6px;height:6px;border-radius:100%;background:#849b6e;display:inline-block;flex-shrink:0}.directory{max-width:var(--page-max);margin:auto;padding:0 var(--page-gutter)}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:600;color:#8d947e;display:flex;align-items:center;gap:8px}.tiny-star{color:#869774}.primary{background:#536a49;color:#fffef2;border:1px solid #536a49;border-radius:6px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;transition:background .2s}.primary:hover:not(:disabled){background:#405638}.building{display:block;width:100%;height:auto;overflow:visible}.building.miniature{border-radius:12px}footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:62px;padding:26px 0 31px;color:#9ba38d;font-size:10px}footer .brand{font-size:18px;gap:7px;color:#809172}footer .brand-mark{width:20px;height:20px;gap:2px}footer .alpha{display:none}footer>span:last-child{display:flex;align-items:center;gap:8px}.modal{border:1px solid #dbe1d0;border-radius:16px;width:min(540px,calc(100% - 32px));padding:0;background:#fbfcf5;color:#485340;max-height:90vh;box-shadow:0 30px 100px #25302130}.modal::backdrop{background:#27302155;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{padding:33px;position:relative}.modal h2{font-size:29px;line-height:1.3;margin:12px 0 23px}.modal-close{position:absolute;right:15px;top:15px}.icon-button{display:inline-grid;place-items:center;padding:6px;color:#89947d;border-radius:5px}.icon-button:hover{background:#e8ecdf}form{display:flex;flex-direction:column;gap:16px}form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#67735e}input:not([type=range]):not([type=checkbox]),textarea,select{color:#45513e;background:#fffffb;border:1px solid #dce1d2;border-radius:5px;padding:11px 12px;min-width:0;width:100%}input::placeholder,textarea::placeholder{color:#a6ad9b}textarea{resize:vertical;min-height:76px;font-size:12px;line-height:1.6}input[type=range]{accent-color:#718b5e;width:100%;cursor:pointer}.input-prefix{display:flex;align-items:center;background:#eff2e7;border:1px solid #dce1d2;border-radius:5px}.input-prefix span{padding:0 11px;color:#98a18b}.input-prefix input{border:0!important;border-left:1px solid var(--control-border)!important;border-radius:0 5px 5px 0!important}form label small{font-size:10px;color:#8d967f;line-height:1.6}.template-note{display:flex;align-items:center;gap:13px;background:#eef2e7;border:1px solid #e0e6d5;padding:13px;border-radius:6px;color:#8c9a7e}.template-note b{font-size:12px;font-weight:500;color:#6b795e}.template-note small{display:block;font-size:10px;margin-top:4px;color:#98a18a}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #dce3d2;border-radius:7px;padding:14px;color:#98a289;text-align:left}.mode b{font-size:12px;font-weight:500;color:#6a795d}.mode small{font-size:10px;line-height:1.6}.mode.selected{background:#edf3e4;border-color:#91a67e}.mode-check{position:absolute;right:10px;top:11px;color:#6f865c}.range-label{position:relative}.range-label b{position:absolute;right:0;top:0;color:#627951}.checkbox-label{flex-direction:row!important;align-items:center;gap:8px!important}.checkbox-label input{accent-color:#6f845f;width:14px;height:14px;margin:0}.full{width:100%}.form-foot{text-align:center;font-size:10px;color:#9ba38f;line-height:1.6}.muted{font-size:12px;color:#929c85;line-height:1.8}.error-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faeee7;border:1px solid #ebd1c2;color:#9b6248;padding:11px 13px;border-radius:6px;font-size:12px;line-height:1.6}.error-box button{text-decoration:underline;white-space:nowrap}.loading,.empty-page{padding:80px 20px;text-align:center;color:#8b997d}.empty-page h1{font-size:35px;margin-bottom:20px}.empty-page a{color:#61764e;text-decoration:underline}.guide-copy p{font-size:13px;color:#7d8972;line-height:1.9;margin:12px 0 20px}.guide-copy h3{font-size:18px}.guide-copy b{font-weight:500;color:#697a5c}.world-page{max-width:var(--page-max);margin:auto;padding:27px var(--page-gutter) 20px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#8c997f;padding:0}.world-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.world-heading h1{font-size:36px;margin:13px 0 9px;display:flex;gap:15px;align-items:center;flex-wrap:wrap;letter-spacing:-1px}.world-heading p{font-size:11px;color:#949d88}.live-chip{font:9px var(--font-body);letter-spacing:0;display:inline-flex;align-items:center;gap:5px;border:1px solid #dce4d1;border-radius:4px;padding:5px 7px;color:#7a9364;background:#f0f5e9}.live-chip.offline{color:#a89064;background:#f6f0df}.offline .status-dot{background:#baa575}.world-heading-actions{display:flex;align-items:center;gap:22px;padding-top:15px}.outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d8dfcb;border-radius:5px;padding:10px 13px;font-size:11px;background:#fbfcf5;color:#7a8c69}.outline:hover:not(:disabled){background:#eef2e6}.presence-group{display:flex;align-items:center;padding:0}.presence-group>span{height:25px;width:25px;border-radius:50%;border:2px solid #f8f8f2;margin-left:-5px;display:grid;place-items:center;font-size:9px;color:#fffbe8}.presence-group small{display:flex;gap:5px;align-items:center;margin-left:7px;font-size:10px;color:#929d84}.world-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:23px;align-items:stretch}.world-stage{min-width:0;background:#fffef8;border:1px solid #dfe4d5;border-radius:9px;overflow:hidden}.stage-toolbar{height:45px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ebdd;font-size:10px;color:#919c83}.stage-toolbar>span{display:flex;gap:7px;align-items:center}.world-stage .building{border-radius:0}.world-stage .building>rect:first-of-type{rx:0}.resident-sprite{cursor:pointer}.resident-sprite:focus{outline:none}.resident-sprite:focus-visible>ellipse,.resident-sprite:hover>ellipse{stroke:#70875f;stroke-width:2}.resident-sprite:hover text{fill:#3a5630;font-weight:600}.resident-sprite .speech{pointer-events:none}.stage-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 21px;gap:10px;border-top:1px solid #e8ebdd}.stage-footer>span{display:flex;gap:6px;align-items:center;font-size:10px;color:#919c83}.stage-footer i{font-style:normal;margin:0 4px;color:#bec7af}.stage-footer button{font-size:10px;color:#70875e}.community-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e7ebdb;background:#fafbf4;padding:21px 0}.stat{padding:0 21px;border-right:1px solid #e6eadb}.stat:last-child{border:0}.stat>div:first-child{display:flex;align-items:center;gap:7px;color:#8d9c7e;font-size:10px}.stat b{margin-left:auto;color:#778769;font-weight:500;white-space:nowrap}.stat b small{font-size:8px;color:#a8b19b;margin-left:2px}.stat-track{height:4px;background:#e6ebdb;border-radius:5px;margin-top:10px;overflow:hidden}.stat-track>span{display:block;height:100%;background:#94a77c;border-radius:5px;transition:width 1s}.stat p{font-size:9px;color:#9aa78b;margin-top:8px}.world-sidebar{display:flex;flex-direction:column;background:#fffef8;border:1px solid #dfe4d5;border-radius:9px;overflow:hidden;max-height:770px;min-height:570px}.sidebar-tabs{display:flex;border-bottom:1px solid #e6eadc;height:45px;flex-shrink:0;padding:0 10px}.sidebar-tabs button{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;font-size:10px;color:#a1aa95;position:relative;padding:0 5px}.sidebar-tabs button.active{color:#71875c}.sidebar-tabs button.active:after{content:"";position:absolute;height:2px;background:#849a6d;bottom:-1px;left:8px;right:8px}.sidebar-intro{padding:24px 22px 13px;flex-shrink:0}.sidebar-intro .eyebrow{font-size:8px;letter-spacing:1.3px}.sidebar-intro h3{font-size:20px;margin-top:10px}.sidebar-intro>p:not(.eyebrow){font-size:10px;color:#a0a892;line-height:1.8;margin-top:7px}.journal-filters{display:flex;gap:5px;margin-top:17px}.journal-filters button{font-size:9px;padding:5px 7px;border-radius:4px;color:#9ba88e;white-space:nowrap}.journal-filters .selected{color:#7f9569;background:#eef3e5}.journal-scroll{overflow:auto;padding:4px 22px 15px;scrollbar-width:thin;scrollbar-color:#dce3cf transparent}.timeline{padding-left:13px}.journal-entry{position:relative;border-left:1px solid #e4e8d9;padding:1px 0 22px 21px}.timeline-icon{display:grid;place-items:center;position:absolute;left:-11px;top:0;width:21px;height:21px;background:#f3f5e9;color:#9da990;border:3px solid #fffef8;border-radius:50%}.kind-conflict .timeline-icon{color:#b38e69;background:#f9eee0}.kind-event .timeline-icon{color:#9b9571;background:#f6f1de}.kind-friendship .timeline-icon{color:#a58689;background:#f5eae8}.entry-meta{display:flex;justify-content:space-between;gap:5px;font-size:8px;color:#acb39f;line-height:18px}.entry-meta span:last-child{text-transform:capitalize;font-size:7px;letter-spacing:.2px}.journal-entry p{font-size:11px;line-height:1.85;color:#7c8870;margin-top:3px}.ai-label{display:inline-block;font-size:8px;color:#a1ac94;margin-top:6px}.journal-end{font-size:9px;display:flex;align-items:center;justify-content:center;gap:6px;color:#aab59b;padding:14px 0 4px}.load-more{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;padding:12px;color:#889b74}.events-section{margin-top:30px}.events-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.events-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.events-heading h2{font-size:25px;margin-top:9px}.events-heading>span{font-size:10px;color:#a3ac95}.event-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.event-card{text-align:left;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 14px;background:#fffef8;border:1px solid #e0e5d6;border-radius:7px;transition:transform .2s,background .2s;touch-action:manipulation}.event-card:active:not(:disabled){background:#f0f5e7;border-color:#bdcdae}.event-icon{display:grid;place-items:center;color:#95a480;background:#f0f3e7;border-radius:7px;width:34px;height:34px;margin-bottom:1px}.event-card b{font-size:11px;font-weight:500;color:#718060}.event-card small{font-size:9px;line-height:1.65;color:#a0a990}.event-card.disruptive .event-icon{color:#b39b7b;background:#f4eee1}.event-card.mixed .event-icon{color:#9eaa7d;background:#f2f1e1}.event-arrow{position:absolute;right:12px;top:18px;color:#bac3ac}.world-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#a7b09b;margin:24px 0 2px}.world-footnote>span{margin-left:auto}.resident-list,.bonds-list{padding:3px 20px 20px;overflow:auto;scrollbar-width:thin}.resident-row{width:100%;display:flex;align-items:center;gap:11px;border-bottom:1px solid #eef0e5;padding:12px 0;text-align:left}.avatar{width:42px;height:45px;display:block;flex-shrink:0;border-radius:9px;padding:5px 4px 0;overflow:hidden}.avatar svg{width:100%;height:100%}.resident-row>span:nth-child(2){flex:1;min-width:0}.resident-row b{font-size:12px;font-weight:500;display:block}.resident-row small{display:block;color:#a0aa92;font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resident-row>svg{color:#adb79f}.mood-indicator{width:6px;height:6px;border-radius:50%}.add-resident{display:flex;gap:7px;align-items:center;justify-content:center;padding:17px 0;width:100%;color:#90a37b;font-size:10px}.empty-note{font-size:11px;line-height:1.8;text-align:center;color:#a3ad96;padding:20px 8px}.character-detail{padding:21px;overflow:auto;scrollbar-width:thin}.character-heading{display:flex;align-items:center;gap:14px;margin:22px 0 16px}.character-heading .avatar{height:60px;width:55px}.character-heading h2{font-size:27px}.trait{display:block;font-size:9px;margin-top:5px;color:#99a689;text-transform:capitalize}.backstory{font-size:11px;color:#8c9a7d;line-height:1.85}.current-activity{display:flex;align-items:center;gap:6px;font-size:9px;color:#a1af90;margin-top:13px}.character-needs{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.character-needs>div{font-size:9px;color:#9aa88a}.character-needs b{float:right;font-weight:500;color:#7d926b}.character-detail h4,.modal h4{font-size:11px;font-weight:500;color:#7d8e6c;margin:22px 0 12px}.small-bond{display:flex;justify-content:space-between;font-size:10px;padding:8px 0;border-bottom:1px solid #eef1e5;color:#889b76}.small-bond small{font-size:9px;color:#a5b295}.memories p{padding:0 0 0 11px;border-left:2px solid #e5ead8;font-size:10px;line-height:1.8;color:#99a78a;margin-bottom:15px}.memories small{display:block;font-size:8px;color:#b1bca3;margin-top:4px}.character-detail>.outline{margin-top:10px;font-size:10px}.character-detail>.form-foot{margin-top:11px}.bond-card{border:1px solid #e7ecdc;border-radius:6px;padding:13px;width:100%;margin:8px 0;text-align:left}.bond-card>div:first-child{display:flex;align-items:center;justify-content:space-between}.bond-card b{font-size:11px;font-weight:500;color:#859773}.bond-card b span{color:#b5bea9;margin:0 3px}.bond-card svg{color:#a3b28e}.bond-card>small{font-size:8px;color:#a4b294;display:block;margin-top:8px}.bond-meter{height:4px;background:#edf0e4;position:relative;margin:13px 0 7px}.bond-meter:after{content:"";position:absolute;left:50%;top:-2px;height:8px;width:1px;background:#c3cdb4}.bond-meter span{position:absolute;height:4px;border-radius:3px}.bond-labels{display:flex;justify-content:space-between;font-size:7px;color:#b1bda1}.locked-world{max-width:490px;margin:75px auto;text-align:center;padding:0 25px}.large-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#eaf0df;margin:0 auto 25px;color:#8ca474}.locked-world .eyebrow{justify-content:center}.locked-world h1{font-size:35px;letter-spacing:-1px;margin:15px 0}.locked-world>p:not(.eyebrow){color:#98a48c;font-size:12px}.locked-world form{margin:30px 0}.locked-world .quiet-link{font-size:11px;color:#95a685}.presence-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e7ecde;font-size:12px;color:#7d8e6d}.presence-row>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px}.presence-row small{margin-left:auto;color:#a9b49a;font-size:10px}@media(min-width:1440px){.world-sidebar{max-height:830px}}@media(max-width:1200px){:root{--page-gutter:32px }}@media(max-width:760px){:root{--page-gutter:18px }}@media(max-width:1200px){.alpha{display:none}.world-page{padding-top:25px;padding-bottom:25px}.world-layout{grid-template-columns:minmax(0,1fr) 305px;gap:17px}.stat{padding:0 13px}.stat>div:first-child{gap:5px;font-size:9px}.stat svg{width:14px}.stat b small{display:none}.event-card{padding:13px 11px}.event-card b{font-size:10px}.world-heading h1{font-size:31px}.world-sidebar{max-height:690px}}@media(max-width:980px){.header-note{display:none}.world-layout{grid-template-columns:minmax(0,1fr) 290px;gap:14px}.stage-toolbar{padding:0 13px;font-size:9px}.stage-footer{padding:13px 12px;flex-wrap:wrap;gap:12px}.community-stats{padding:17px 0}.stat>div:first-child{flex-wrap:wrap}.stat b{margin-left:0}.stat p{font-size:8px;line-height:1.5;min-height:24px}.event-grid{grid-template-columns:repeat(3,1fr)}.world-heading-actions{gap:13px;flex-direction:column;align-items:flex-end}.world-sidebar{max-height:650px;min-height:0}.world-heading h1{font-size:28px}.world-heading p{font-size:10px;max-width:400px;line-height:1.8}.world-stage{align-self:start}.sidebar-intro{padding:19px 18px 11px}.journal-scroll{padding:5px 18px 14px}.journal-filters{gap:1px}.journal-filters button{font-size:8px}.sidebar-intro h3{font-size:18px}.world-heading .live-chip{font-size:8px}.world-heading h1{gap:9px}}@media(max-width:760px){.site-header{height:72px}.site-header nav{gap:19px;font-size:11px}.site-header nav a{height:72px}.site-header .brand{font-size:24px}.site-header .text-button{font-size:11px}footer{margin-top:35px;flex-wrap:wrap;gap:18px}footer>span:last-child{width:100%;font-size:9px}.world-page{padding-top:23px;padding-bottom:23px}.world-heading{align-items:flex-start;gap:10px}.world-heading-actions{padding-top:4px}.world-heading-actions .outline{font-size:0;padding:9px;gap:0}.world-heading-actions .outline svg{width:17px;height:17px}.world-heading h1{font-size:30px;display:block;line-height:1.4}.world-heading h1 .live-chip{margin-left:10px;vertical-align:middle}.world-heading p{font-size:10px;max-width:90%}.world-heading .back-link{font-size:10px}.world-layout{grid-template-columns:1fr}.world-sidebar{height:520px;max-height:none}.world-stage .building{min-height:260px}.community-stats{padding:20px 0}.stat>div:first-child{flex-wrap:nowrap;font-size:9px}.stat b{margin-left:auto}.stat p{font-size:9px;min-height:0}.stage-footer{padding:15px}.stage-toolbar{padding:0 15px}.sidebar-intro{padding:22px 22px 13px}.sidebar-intro h3{font-size:22px}.sidebar-intro>p:not(.eyebrow){font-size:11px}.journal-filters{gap:10px}.journal-filters button{font-size:10px}.sidebar-tabs button{font-size:11px}.journal-scroll{padding:6px 23px 20px}.journal-entry p{font-size:12px}.entry-meta{font-size:9px}.entry-meta span:last-child{font-size:8px}.events-heading{align-items:flex-start;gap:14px;flex-direction:column}.events-heading h2{font-size:25px}.events-heading>span{font-size:10px}.event-grid{gap:9px}.event-card{padding:14px 11px}.event-card b{font-size:10px}.event-card small{font-size:9px}.world-footnote{font-size:8px;flex-wrap:wrap}.world-footnote>span{font-size:8px}.resident-row{padding:13px 0}.character-detail{padding:23px}.character-detail .backstory{font-size:12px}.character-needs{max-width:340px}.bond-card{padding:16px}.bond-card b{font-size:12px}.bond-card>small{font-size:10px}.bond-labels{font-size:9px}.bond-meter{margin-top:18px}.resident-row b{font-size:13px}.resident-row small,.character-detail .memories p{font-size:11px}.modal-content{padding:29px 24px}.modal h2{font-size:26px}}@media(max-width:450px){.brand-mark{width:24px;height:24px}.site-header nav{gap:15px}.site-header .text-button svg{display:none}.world-heading h1{font-size:27px;max-width:250px}.world-heading .live-chip{margin-left:0!important;display:flex!important;width:max-content;margin-top:7px}.stage-footer>span{font-size:9px}.stage-footer button{font-size:9px}.stat{padding:0 10px}.stat>div:first-child{font-size:8px;gap:4px;flex-wrap:wrap}.stat svg{width:12px}.stat b{margin-left:0}.stat p{font-size:8px}.event-grid{grid-template-columns:repeat(2,1fr)}.event-card b{font-size:11px}.event-card small{font-size:10px}.world-footnote>span{margin-left:0;width:100%;padding-top:4px}.modal-content{padding:27px 21px}.modal h2{font-size:24px}.mode small{font-size:9px}.mode{padding:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.journal-entry p{color:#64705b}.event-card small{color:#7f8a73}.stage-toolbar{color:#78866d}.guide-copy p{color:#6f7b64}@media(max-width:900px){.world-layout{grid-template-columns:1fr}.world-sidebar{height:520px;max-height:none}.world-stage{width:100%}.world-stage .building{max-height:570px}.stat>div:first-child{font-size:11px}.stat p{font-size:10px;min-height:0}.stat b{margin-left:auto}.journal-entry p{font-size:12px}}@media(max-width:450px){.stat>div:first-child{font-size:8px}.stat p{font-size:8px}.stat b{margin-left:0}}.event-allowance{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px 19px;margin-bottom:15px;border:1px solid #dce4d1;border-radius:7px;background:#eff3e7}.allowance-summary{min-width:220px}.allowance-title{display:flex;align-items:center;gap:22px;font-size:11px;color:#697d59}.allowance-title b{margin-left:auto;font-weight:500;color:#536c43;font-variant-numeric:tabular-nums}.allowance-meter{display:flex;gap:6px;margin:10px 0 7px}.allowance-meter>span{height:5px;flex:1;background:#dce5cf;border-radius:4px;overflow:hidden}.allowance-meter i{display:block;height:100%;background:#bccba9;transition:width 1s linear}.allowance-meter .ready i{background:#829b6a}.allowance-summary>small{font-size:9px;color:#839474}.allowance-timers{text-align:right;color:#728463;font-variant-numeric:tabular-nums}.allowance-timers>span{display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:11px}.allowance-timers b{font-weight:500;color:#576f46}.allowance-timers small{display:block;font-size:10px;margin-top:7px;color:#8a997e}.event-allowance.exhausted{background:#f4f0e5;border-color:#e3dbc5}.exhausted .allowance-title b{color:#a08758}@media(max-width:550px){.event-allowance{align-items:stretch;flex-direction:column;gap:13px;padding:15px}.allowance-summary{min-width:0}.allowance-timers{text-align:left}.allowance-timers>span{justify-content:flex-start}.allowance-timers small{font-size:9px}}.stage-footer .introduce-resident,.resident-list .introduce-resident{min-height:44px;padding:12px 18px;font-size:13px;font-weight:700;color:#fffef2;box-shadow:0 2px 4px #354c3020}.resident-list .introduce-resident{margin-top:16px}.introduce-resident svg{flex-shrink:0}.introduce-resident:disabled{box-shadow:none}@media(max-width:550px){.stage-footer .introduce-resident{width:100%}}.time-mode-status{position:relative;cursor:help;flex-shrink:0;outline-offset:4px}.time-mode-status strong{font-weight:500;color:#65765b}.time-mode-status:focus-visible{outline:2px solid #92a781;border-radius:2px}.time-mode-status .time-mode-tooltip{position:absolute;top:calc(100% + 10px);right:0;z-index:5;display:block;width:270px;max-width:calc(100vw - 64px);padding:13px 15px;border:1px solid #d9e1cf;border-radius:7px;background:#fffef8;box-shadow:0 5px 18px #354c3024;color:#52634a;font-size:12px;line-height:1.6;font-weight:400;cursor:default}.time-mode-status .time-mode-tooltip[hidden]{display:none}.time-mode-tooltip>span{display:block;margin-top:8px;color:#7b8970;font-size:11px}.time-mode-tooltip:before{content:"";position:absolute;left:0;right:0;top:-11px;height:11px}.journal-panel{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.journal-panel[hidden]{display:none}.character-name{display:inline;padding:0;font:inherit;font-weight:600;color:#4e6844;text-decoration:underline;text-decoration-color:#a1b194;text-underline-offset:2px;border-radius:2px;text-align:inherit}.character-name:hover{color:#314c28;background:#edf2e5;text-decoration-color:currentColor}.character-name:focus-visible{outline-offset:2px}.character-name-choices{display:block;margin:8px 0;padding:10px;background:#f2f5eb;border:1px solid #dce5d2;border-radius:6px}.character-name-choices>span{display:block;font-size:10px;color:#7b8b6e}.character-name-choices button{display:block;width:100%;text-align:left;padding:8px 0;color:#52694a;font-size:11px;border-bottom:1px solid #dce5d2}.character-name-choices button:last-child{border-bottom:0}.character-name-choices strong,.character-name-choices button>span{display:block}.character-name-choices button>span{font-size:10px;font-weight:400;color:#7a876f;line-height:1.5}.stage-toolbar-actions{display:flex;align-items:center;gap:16px}.fullscreen-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 8px;border:1px solid #d8dfcb;border-radius:5px;color:#65765b;font-size:10px;white-space:nowrap}.fullscreen-toggle:hover:not(:disabled){background:#eef2e6}.world-page.world-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;width:100%;height:100dvh;max-width:none;margin:0;padding:20px var(--page-gutter);overflow:auto;background:#f8f8f2}.world-fullscreen .world-heading{margin-bottom:18px}.world-fullscreen .world-layout{min-height:500px;height:calc(100dvh - 155px)}.world-fullscreen .world-stage{display:flex;flex-direction:column;align-self:stretch;min-height:0}.world-fullscreen .stage-toolbar,.world-fullscreen .stage-footer,.world-fullscreen .community-stats{flex-shrink:0}.world-fullscreen .world-stage .building{flex:1;min-height:0;height:0;max-height:none}.world-fullscreen .world-sidebar{height:auto;min-height:0;max-height:none}@media(max-width:900px){.world-page.world-fullscreen{padding:18px var(--page-gutter)}.world-fullscreen .world-layout{height:auto;min-height:0}.world-fullscreen .world-stage .building{flex:none;height:auto;min-height:0;max-height:calc(100dvh - 260px)}.world-fullscreen .world-sidebar{height:520px}}@media(max-width:450px){.stage-toolbar-actions{gap:9px}.fullscreen-toggle span{display:none}.fullscreen-toggle{min-width:36px}.world-fullscreen .world-stage .building{max-height:none}}.template-preview{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:14px;margin:12px 0 22px}.template-preview .building{height:170px;max-width:290px;margin:0 auto 10px}.template-preview p{font-size:11px;line-height:1.8;color:#75806b}.template-preview ol{list-style:none;padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:8px 14px}.template-preview li{display:flex;align-items:center;gap:6px;font-size:10px}.template-preview li span{width:10px;height:10px;border:1px solid #00000012;border-radius:50%;flex-shrink:0}.template-preview>small{color:var(--muted);font-size:10px}.world-page:not(.world-fullscreen) .world-stage{align-self:start}.world-page:not(.world-fullscreen) .world-stage .building{min-height:0;max-height:var(--world-canvas-height,none)}.model-selection select{display:block;width:100%;min-height:44px;margin-top:8px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px}.model-selection select:focus-visible{outline:3px solid var(--green);outline-offset:2px}.model-selection p{font-size:12px;line-height:1.6}@media(hover:hover)and (pointer:fine){.event-card:hover:not(:disabled){transform:translateY(-3px);background:#f0f5e7;border-color:#bdcdae}}}@layer base,components,theme,interface;@layer theme{:root{color-scheme:light;--paper: var(--surface);--green: var(--accent);color:var(--text);background:var(--page);--sky-day: #dce7f4;--sky-night: #b7c8e0;--sky-harbor: #d2e6ee;--sky-makers: #e8dce0;--sky-horizon: #eef1f7;--house-frame: #e8e7e4;--window-day: #f5f6f8;--window-night: #c6d7e7;--scene-caption: #4b5c78;--scene-label: #4b5469;--change-good: var(--good);--change-bad: var(--danger)}:root[data-theme=dark]{color-scheme:dark;--sky-day: #263d60;--sky-night: #182b49;--sky-harbor: #294855;--sky-makers: #493c4b;--sky-horizon: #1d304c;--house-frame: #68758b;--window-day: #adc6dc;--window-night: #7895b7;--scene-label: #e0e9f6;--scene-caption: #c5d6ef;--scene-bubble: #192740;--scene-text: #f3f5fa;--scene-outline: #8a9cba;--scene-selection: #f4c455;--resident-leg-outline: #c5cfba;color:var(--text);background:var(--page)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.theme-control{display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border-radius:50%;color:var(--secondary)}.theme-control:hover{background:var(--surface-hover)}.fullscreen-site-header{display:flex;align-items:center;justify-content:space-between;height:56px;margin-bottom:12px;border-bottom:1px solid var(--line)}.fullscreen-site-header .brand{font-size:24px}:root :where(button,a,input,textarea,select,[role=button]):focus-visible{outline-color:var(--focus)}:root .alpha,:root .header-note,:root .eyebrow,:root footer,:root .form-foot,:root .muted,:root .loading,:root .empty-page,:root .world-heading p,:root .presence-group small,:root .stage-toolbar,:root .stage-footer>span,:root .stat>div:first-child,:root .stat b small,:root .stat p,:root .sidebar-intro>p:not(.eyebrow),:root .entry-meta,:root .ai-label,:root .journal-end,:root .events-heading>span,:root .event-card small,:root .world-footnote,:root .resident-row small,:root .empty-note,:root .trait,:root .backstory,:root .current-activity,:root .character-needs>div,:root .small-bond small,:root .memories p,:root .memories small,:root .bond-card>small,:root .bond-labels,:root .locked-world>p:not(.eyebrow),:root .presence-row small,:root .allowance-summary>small,:root .allowance-timers small{color:var(--muted)}:root .journal-filters button,:root .sidebar-tabs button,:root .icon-button,:root .outline,:root .back-link,:root .stage-footer button,:root .load-more,:root .add-resident,:root .small-bond,:root .bond-card b,:root .character-needs b,:root .character-detail h4,:root .modal h4,:root .allowance-title,:root .allowance-timers,:root .guide-copy p,:root form label,:root form label small,:root .mode,:root .mode b,:root .template-note,:root .template-note b,:root .template-note small,:root .input-prefix span,:root .event-card b,:root .journal-entry p,:root .stat b,:root .locked-world .quiet-link,:root footer .brand,:root .presence-row{color:var(--secondary)}:root input::placeholder,:root textarea::placeholder{color:var(--muted);opacity:1}:root[data-theme=dark] :where(.intro h1,.card-title h3,.modal,.guide-copy b,.allowance-title b,.allowance-timers b){color:var(--text)}:root[data-theme=dark] :where(.intro h1 em,.text-button:hover,.quiet-link:hover,.tiny-star,.range-label b,.mode-check,.empty-page a,.section-top h2 span){color:var(--accent)}:root :where(.world-card,.world-stage,.world-sidebar,.event-card,.modal,.outline,.search,.bond-card){background:var(--surface);border-color:var(--line)}:root :where(input:not([type=range]):not([type=checkbox]),textarea,select){color:var(--text);background:var(--page);border-color:var(--control-border)}:root :where(.input-prefix,.template-note,.mode,.live-chip,.event-allowance,.new-world-card){background:var(--surface-soft);border-color:var(--control-border)}:root :where(.pills button.selected,.journal-filters .selected,.mode.selected,.sidebar-tabs button.active,.live-chip,.card-badge){color:var(--accent);background:var(--surface-soft);border-color:var(--control-border)}:root :where(.community-stats,.timeline-icon,.event-icon,.new-world-icon,.large-icon){background:var(--surface-soft);color:var(--accent);border-color:var(--line)}:root :where(.new-world-card:hover,.icon-button:hover,.outline:hover:not(:disabled),.event-card:active:not(:disabled),.bond-card:hover,.resident-row:hover){background:var(--surface-hover)}:root :where(.card-meta,.stage-toolbar,.stage-footer,.community-stats,.stat,.sidebar-tabs,.journal-entry,.resident-row,.small-bond,.bond-card,.presence-row,.memories p,.section-top h2 span){border-color:var(--line)}:root .input-prefix input{border-left-color:var(--control-border)!important}:root .timeline-icon{border-color:var(--surface)}:root[data-theme=dark] :where(.stat-track,.bond-meter,.allowance-meter>span){background:#34402e}:root[data-theme=dark] .stat-track>span{background:#a6bf87}:root[data-theme=dark] .allowance-meter .ready i{background:#b8d197}:root[data-theme=dark] .allowance-meter i{background:#849775}:root[data-theme=dark] .bond-meter:after{background:#a7b79a}:root[data-theme=dark] .bond-card b span{color:var(--muted)}:root[data-theme=dark] :where(.event-card.disruptive .event-icon,.kind-conflict .timeline-icon,.live-chip.offline,.event-allowance.exhausted){background:#40382b;color:#e1c398;border-color:#8e7b5e}:root[data-theme=dark] .exhausted .allowance-title b{color:#e1c398}:root[data-theme=dark] :where(.event-card.mixed .event-icon,.kind-event .timeline-icon){background:#393c29;color:#d3d0a2}:root[data-theme=dark] .kind-friendship .timeline-icon{background:var(--good-soft);color:var(--good)}:root[data-theme=dark] .error-box{background:#402e29;border-color:#b0846a;color:#f0c8b0}:root[data-theme=dark] :where(.card-art,.art-2){background:#2c3c32}:root[data-theme=dark] .presence-group>span{border-color:var(--page)}:root[data-theme=dark] :where(.presence-group>span,.presence-row>span){color:#0b140d}:root[data-theme=dark] :where(.journal-scroll,.resident-list,.bonds-list,.character-detail){scrollbar-color:#677a5b transparent}:root[data-theme=dark] :where(.card-title svg,.event-arrow,.resident-row>svg,.bond-card svg,.stage-footer i){color:var(--muted)}:root[data-theme=dark] .building-room{fill:color-mix(in srgb,var(--room-color) 27%,#22314a)}:root[data-theme=dark] .resident-sprite:hover text{fill:var(--scene-text)}:root[data-theme=dark] :where(.resident-sprite:focus-visible>ellipse,.resident-sprite:hover>ellipse){stroke:var(--scene-selection)}@media(max-width:1100px){.header-note{display:none}}@media(max-width:600px){.site-header{height:auto;min-height:96px;flex-wrap:wrap;justify-content:center;gap:0 20px;padding-top:12px}.site-header nav{width:100%;justify-content:center;gap:20px}.site-header nav a{height:48px}}:root[data-theme=dark] .world-page.world-fullscreen{background:var(--page)}:root :where(.time-mode-status strong,.fullscreen-toggle,.character-name,.character-name-choices button){color:var(--accent)}:root :where(.time-mode-tooltip,.character-name-choices){background:var(--surface);color:var(--text);border-color:var(--control-border);box-shadow:0 5px 18px #0004}:root :where(.time-mode-tooltip>span,.character-name-choices>span,.character-name-choices button>span){color:var(--muted)}:root :where(.fullscreen-toggle,.character-name-choices button){border-color:var(--control-border)}:root :where(.fullscreen-toggle:hover:not(:disabled),.character-name:hover){background:var(--surface-hover);color:var(--text)}:root[data-theme=dark] .character-name{text-decoration-color:var(--control-border)}:root .time-mode-status:focus-visible{outline-color:var(--focus)}:root[data-theme=light] :where(.live-chip,.card-badge,.section-top h2 span,.tiny-star,.stage-footer i){color:var(--secondary)}:root[data-theme=light] :where(.presence-group>span,.presence-row>span){color:#0b140d}:root[data-theme=light] :where(.fullscreen-toggle,.bond-card b span,.guide-copy b){color:var(--secondary)}:root .template-preview p{color:var(--secondary)}@media(hover:hover)and (pointer:fine){:root[data-theme=dark] .event-card:hover:not(:disabled){background:var(--surface-hover)}}@media(max-width:760px),(hover:none)and (pointer:coarse){.world-page:not(.world-fullscreen) .fullscreen-toggle{display:none}}}@layer base,components,theme,interface;@layer interface{:root .festival{max-width:none;margin:0;padding:0;color:var(--text);background:var(--page)}.festival-opening{max-width:1480px;margin:auto;padding:48px 32px 0}.festival-title-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.7fr);gap:50px;align-items:end;margin-bottom:32px}.festival h1{font:400 clamp(50px,6vw,88px)/1.04 var(--font-display);letter-spacing:0;text-transform:uppercase}.festival h1 span{color:var(--accent)}.festival-invitation{padding-bottom:4px}.festival-invitation p{color:var(--secondary);font-size:14px;line-height:1.8;max-width:39ch}.festival-browse{display:inline-flex;align-items:center;gap:18px;min-height:44px;margin-top:16px;font-weight:750;font-size:13px;text-decoration:underline;text-underline-offset:6px}.house-stage{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);align-items:center;background:var(--stage);color:var(--stage-ink);border-radius:12px;overflow:hidden;position:relative}.house-stage-note{display:none}.featured-scene{min-width:0;padding:20px 0 0 20px}.featured-scene .building{border-radius:6px;max-height:530px}.house-stage-invitation{padding:30px 36px}.house-stage-invitation h2{font:400 clamp(28px,3.2vw,48px)/1.14 var(--font-display);text-transform:uppercase;letter-spacing:0;margin-bottom:18px;overflow-wrap:anywhere}.house-access{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--stage-muted);margin-bottom:18px}.house-stage-invitation p{font-size:13px;line-height:1.8;max-width:30ch;color:var(--stage-muted)}:root .festival-action{display:inline-flex;justify-content:space-between;align-items:center;gap:24px;min-height:48px;padding:14px 18px;border-radius:6px;background:var(--action);color:var(--action-ink);font-size:13px;font-weight:750}:root .festival-action:hover{background:var(--action-hover)}.house-stage-invitation .festival-action{margin-top:26px}.scene-footnote{grid-column:1;text-align:center;padding:12px 20px 16px;font-size:10px;color:var(--stage-muted)}.festival-understage{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0 32px;color:var(--secondary);font-size:12px}.featured-picker{display:flex;align-items:center;gap:16px}:root[data-theme] .festival .featured-picker select{width:250px;background:var(--surface);border:1px solid var(--control-border);padding:10px;font-size:12px}.festival-understage>button{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;font-size:12px;font-weight:750}.festival-understage>button:hover{text-decoration:underline;text-underline-offset:5px}.neighborhood{max-width:1480px;margin:auto;padding:48px 32px;border-top:1px solid var(--line);scroll-margin-top:20px}.neighborhood-heading{display:flex;align-items:center;justify-content:space-between;gap:32px}.neighborhood h2{display:flex;align-items:center;gap:18px;font:400 clamp(32px,3.5vw,48px)/1.2 var(--font-display);text-transform:uppercase;letter-spacing:0}.neighborhood h2>span{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:6px;border-radius:6px;background:var(--selected);color:var(--selected-ink);font:700 14px var(--font-body)}.neighborhood-heading p{margin-top:10px;font-size:13px;color:var(--secondary);line-height:1.7}.neighborhood-search{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--text);width:290px}:root[data-theme] .festival .neighborhood-search input{background:transparent;border:0;padding:12px 0;font-size:13px}.neighborhood-search:focus-within{outline:3px solid var(--focus);outline-offset:4px}.neighborhood-search input:focus-visible{outline:none}.neighborhood-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding-bottom:16px;border-bottom:1px solid var(--line)}.neighborhood-filters{display:flex;gap:6px;flex-wrap:wrap}.neighborhood-filters button{min-height:44px;padding:10px 16px;font-size:12px;font-weight:700;border-radius:6px;color:var(--secondary)}.neighborhood-filters button[aria-pressed=true]{background:var(--stage);color:var(--stage-ink)}.neighborhood-filters button:hover{box-shadow:inset 0 0 0 1px var(--control-border)}.neighborhood-tools>span{font-size:12px;color:var(--muted)}.house-listing{display:grid;grid-template-columns:230px minmax(0,1fr) 170px 115px;align-items:center;gap:28px;padding:26px 0;border-bottom:1px solid var(--line)}.house-listing:hover{background:var(--surface-soft)}.listing-preview{min-width:0}.listing-preview .building{border-radius:8px}.listing-copy{min-width:0}.listing-copy h3{font:400 30px/1.2 var(--font-display);text-transform:uppercase;letter-spacing:0;overflow-wrap:anywhere;margin-bottom:10px}.listing-access{display:flex;gap:7px;align-items:center;color:var(--secondary);font-size:11px}.listing-copy p{color:var(--secondary);font-size:13px;line-height:1.7;margin-top:12px;max-width:58ch;overflow-wrap:anywhere}.listing-details{display:flex;flex-direction:column;gap:14px;font-size:12px;color:var(--secondary)}.listing-details>span{display:flex;align-items:center;gap:8px}.listing-enter{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.neighborhood-message{padding:40px 0;max-width:65ch}.neighborhood-message h3{font-size:24px}.neighborhood-message p{font-size:14px;line-height:1.8;color:var(--secondary);margin:12px 0 20px}.neighborhood-create{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:40px;padding:30px;background:var(--surface-soft);border-radius:10px}.neighborhood-create h3{font:400 32px/1.2 var(--font-display);text-transform:uppercase;letter-spacing:0}.neighborhood-create p{margin-top:10px;font-size:13px;line-height:1.7;color:var(--secondary)}:root .festival footer.festival-footer{background:var(--stage);color:var(--stage-muted);margin:24px 0 0;padding:32px max(32px,calc((100vw - 1416px)/2));border:0;font-size:11px;gap:24px}:root .festival-footer .brand{color:var(--stage-ink);font-size:24px;font-weight:800}.festival-footer>span{display:flex;gap:12px;align-items:center}@media(max-width:1100px){.festival-title-row{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.house-stage{grid-template-columns:minmax(0,1fr) 290px}.house-stage-invitation{padding:24px}.house-listing{grid-template-columns:170px minmax(0,1fr) 150px 24px;gap:20px}.listing-enter>span{display:none}.listing-copy h3{font-size:26px}}@media(max-width:760px){.festival-opening{padding:30px 18px 0}.festival-title-row{grid-template-columns:1fr;gap:20px;margin-bottom:24px}.festival h1{font-size:clamp(38px,9.6vw,64px)}.festival-invitation p{font-size:13px;max-width:48ch}.festival-browse{margin-top:10px}.house-stage{grid-template-columns:1fr}.featured-scene{padding:12px 12px 0}.house-stage-invitation{grid-row:3;padding:20px}.house-stage-invitation h2{font-size:34px;margin-bottom:12px}.house-stage-invitation p{max-width:none}.house-stage-invitation .festival-action{display:flex;margin-top:20px}.scene-footnote{grid-row:2;padding:10px;font-size:9px}.festival-understage{flex-direction:column;align-items:stretch;gap:12px;padding-bottom:24px}.featured-picker{justify-content:space-between;gap:12px;font-size:11px}:root[data-theme] .festival .featured-picker select{width:60%}.festival-understage>button{border-top:1px solid var(--line);padding-top:16px}.neighborhood{padding:30px 18px}.neighborhood-heading{align-items:stretch;flex-direction:column;gap:20px}.neighborhood h2{font-size:34px;gap:12px}.neighborhood-search{width:100%}.neighborhood-tools{flex-wrap:wrap;gap:10px;margin-top:18px}.neighborhood-filters button{padding:10px 12px}.house-listing{grid-template-columns:105px minmax(0,1fr) 20px;gap:12px;padding:22px 0}.listing-copy h3{font-size:24px}.listing-copy p{font-size:12px}.listing-preview{align-self:start;padding-top:6px}.listing-details{grid-column:1/3;grid-row:2;flex-direction:row;flex-wrap:wrap;gap:14px;font-size:11px}.listing-enter{grid-column:3;grid-row:1/3}.listing-enter svg{width:20px}.neighborhood-create{flex-direction:column;align-items:stretch;padding:24px 20px;gap:20px}.neighborhood-create h3{font-size:30px}:root .festival footer.festival-footer{padding:28px 18px;flex-wrap:wrap;gap:18px}.festival-footer>span{width:100%}}@media(max-width:360px){.house-listing{grid-template-columns:80px minmax(0,1fr) 18px}.neighborhood h2{font-size:29px}.listing-copy h3{font-size:22px}}}@layer base,components,theme,interface;@layer components{.introduce-control{position:relative;display:inline-flex;flex-shrink:0;border-radius:7px}.introduce-control:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.introduce-control button:disabled{pointer-events:none}.resident-list .introduce-control{display:flex;margin-top:16px}.resident-list .introduce-control .introduce-resident{margin-top:0}.population-tooltip{position:absolute;bottom:calc(100% + 10px);right:0;z-index:5;width:270px;max-width:calc(100vw - 64px);padding:13px 15px;border:1px solid var(--control-border);border-radius:7px;background:var(--surface);color:var(--text);box-shadow:0 5px 18px #354c3024;font-size:12px;line-height:1.6;font-weight:400;cursor:default}.population-tooltip[hidden]{display:none}.population-tooltip:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:11px}:root[data-theme=dark] .population-tooltip{box-shadow:0 5px 18px #0004}@media(max-width:550px){.stage-footer .introduce-control{width:100%}}}@layer base,components,theme,interface;@layer components{.journal-panel-controls{display:flex;justify-content:flex-end;margin-bottom:12px}.journal-panel-toggle{min-height:44px}.world-layout.journal-collapsed{grid-template-columns:minmax(0,1fr)}.world-sidebar[hidden]{display:none}.journal-highlight{display:inline-block;margin-bottom:4px;padding:2px 7px;border-radius:4px;font-size:9px;letter-spacing:.2px;color:var(--accent, #6c835e);background:var(--surface-soft, #eef3e5)}.journal-entry.highlighted .timeline-icon{color:var(--accent, #6c835e)}.journal-arc{margin-top:6px;font-size:11px;line-height:1.7;font-style:italic;color:var(--secondary, #7c8870)}.journal-arc-earlier{margin-top:4px;font-size:10px;color:var(--muted, #8b9182)}.journal-arc-earlier summary{cursor:pointer}.journal-arc-earlier ul{margin:6px 0 0;padding-left:14px}.journal-arc-earlier li{margin-bottom:6px;line-height:1.7}}@layer interface{@media(min-width:901px){.world-layout:not(.journal-collapsed){grid-template-columns:minmax(0,1fr) clamp(320px,28vw,400px)}}.world-sidebar{min-width:0}.world-sidebar .sidebar-tabs{height:auto;padding:0}.world-sidebar .sidebar-tabs button{min-height:48px;font-weight:700}.world-sidebar .sidebar-tabs button.active:after{background:var(--accent);left:16px;right:16px}.world-sidebar .sidebar-tabs button:hover:not(.active){background:var(--surface-soft)}.journal-panel .journal-intro{padding:18px 20px 14px;border-bottom:1px solid var(--line)}.journal-panel .journal-intro h3{margin:0;font-size:18px;line-height:1.4}.journal-panel .journal-intro>p{margin-top:4px;font-size:12px;line-height:1.5}.journal-panel .journal-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:14px}.journal-panel .journal-filters button{padding:8px 10px;min-height:44px;font-size:12px;font-weight:650;border:1px solid transparent}.journal-panel .journal-filters button.selected{border-color:var(--control-border)}.journal-panel .journal-filters button:hover:not(.selected){background:var(--surface-soft);color:var(--text)}.journal-panel .journal-scroll{min-height:0;padding:16px 20px 20px;scrollbar-gutter:stable;scrollbar-color:var(--control-border) transparent;scroll-padding-block:16px}.journal-panel .journal-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}.journal-reading-order{display:flex;align-items:center;gap:6px;margin-bottom:20px;color:var(--muted);font-size:11px}.journal-panel .timeline{padding-left:12px}.journal-panel .journal-entry{padding:0 0 24px 24px;overflow-wrap:anywhere}.journal-panel .journal-entry:last-child{padding-bottom:8px;border-left-color:transparent}.journal-panel .timeline-icon{width:26px;height:26px;left:-14px;top:-3px}.journal-panel .entry-meta{flex-wrap:wrap;gap:2px 8px;font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums}.journal-panel .entry-meta span:last-child{font-size:10px;letter-spacing:0}.journal-panel .journal-entry p,.journal-panel .journal-conversation-description{font-size:13px;line-height:1.75}.journal-panel .journal-entry>p{margin-top:7px}.journal-panel .journal-highlight{margin-bottom:8px;padding:3px 7px;font-size:11px;font-weight:650}.journal-panel .journal-conversation>summary{padding:0;border-radius:var(--radius-control)}.journal-panel .journal-conversation>summary:before{content:none}.journal-panel .journal-conversation>summary .journal-conversation-title{font-size:14px;line-height:1.5;margin:7px 0 5px;color:var(--text)}.journal-panel .journal-conversation>summary small{font-size:11px;opacity:1;color:var(--muted);margin-top:8px}.journal-panel .journal-conversation>summary .journal-disclosure{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--accent);font-size:12px;font-weight:700}.journal-panel .journal-conversation>summary .journal-hide-label{display:none}.journal-panel .journal-conversation[open]>summary .journal-read-label{display:none}.journal-panel .journal-conversation[open]>summary .journal-hide-label{display:inline}.journal-panel .journal-conversation[open] .journal-disclosure svg{transform:rotate(180deg)}.journal-panel .journal-conversation>summary:hover .journal-disclosure{text-decoration:underline;text-underline-offset:3px}.journal-panel .conversation-participants{gap:4px 12px;margin:0 0 8px}.journal-panel .conversation-participants button{min-height:44px}.journal-panel .journal-conversation ol{margin:0;padding:0;border-left:0}.journal-panel .journal-conversation li{padding:12px 0;border-top:1px solid var(--line)}.journal-panel .conversation-speaker{font-size:12px;align-items:baseline}.journal-panel .conversation-speaker time,.journal-panel .conversation-progress{font-size:11px;color:var(--muted);opacity:1}.journal-panel .journal-open-conversation{margin:2px 0 0;min-height:44px;padding:8px 0;font-size:12px;gap:8px}.journal-panel .journal-open-conversation:hover{color:var(--text)}.journal-panel .journal-arc{margin-top:8px;font-style:normal}.journal-panel .journal-arc-earlier{font-size:12px}.journal-panel .load-more{min-height:44px;margin-top:16px;border:1px solid var(--control-border);border-radius:var(--radius-control);font-size:12px}.journal-panel .load-more:hover:not(:disabled){background:var(--surface-soft)}.journal-panel .load-more:disabled{cursor:wait;opacity:.65}.journal-panel .journal-end{font-size:11px;padding-top:20px}.journal-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:20px 0;color:var(--muted)}.journal-empty p{margin:0;font-size:13px;line-height:1.7}@media(max-width:900px){.world-layout:not(.journal-collapsed) .world-sidebar{height:clamp(480px,75dvh,600px);min-height:0;max-height:none}}@media(orientation:landscape)and (max-height:500px)and (hover:none)and (pointer:coarse){.world-layout:not(.journal-collapsed){grid-template-columns:minmax(0,1fr)}.world-layout:not(.journal-collapsed) .world-sidebar{height:480px;min-height:0;max-height:none}}@media(max-width:380px){.journal-panel .journal-intro,.journal-panel .journal-scroll{padding-inline:14px}}}@layer base,components,theme,interface;@layer components{.world-fullscreen .world-layout{height:auto;min-height:0;align-items:start}.world-fullscreen .world-stage .building{flex:none;height:var(--fullscreen-canvas-height);min-height:0;max-height:none}.world-fullscreen .world-sidebar{height:var(--fullscreen-stage-height);max-height:none}}@layer base,components,theme,interface;@layer components{.world-stage .building{touch-action:pan-x pan-y}.world-stage.scene-zoomed .building{touch-action:none;cursor:grab}.world-stage.scene-panning .building{cursor:grabbing}.scene-zoom-controls{display:flex;align-items:center;border:1px solid #d8dfcb;border-radius:5px;overflow:hidden}.scene-zoom-controls button{display:grid;place-items:center;width:34px;height:34px;color:#65765b;touch-action:manipulation}.scene-zoom-controls button+button{border-left:1px solid #d8dfcb}.scene-zoom-controls button:hover:not(:disabled){background:#eef2e6}.scene-zoom-controls button:focus-visible{outline-offset:-3px}:root[data-theme=dark] .scene-zoom-controls,:root[data-theme=dark] .scene-zoom-controls button+button{border-color:var(--control-border)}:root[data-theme=dark] .scene-zoom-controls button{color:var(--accent)}:root[data-theme=dark] .scene-zoom-controls button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}@media(max-width:450px){.scene-zoom-controls button:not(.scene-zoom-reset){display:none}.scene-zoom-controls:not(:has(.scene-zoom-reset)){display:none}}}@layer base,components,theme,interface;@layer components{.site-header.world-site-header{height:56px;min-height:56px}.world-site-header .brand{font-size:24px}.world-site-header nav{gap:24px}.world-site-header nav a{height:56px}.world-site-header .text-button{min-height:44px}.world-page:not(.world-fullscreen){padding-top:12px;padding-bottom:20px}.world-page:not(.world-fullscreen) .world-heading{margin-bottom:8px;gap:16px}.world-page:not(.world-fullscreen) .world-heading h1{font-size:28px;line-height:1.2;margin:4px 0;gap:10px}.world-page:not(.world-fullscreen) .world-heading p{line-height:1.5}.world-page:not(.world-fullscreen) .world-heading-actions{padding-top:0;flex-direction:row;align-items:center;gap:16px}.world-page .world-heading-actions .outline,.world-page .presence-group{min-height:44px}.world-view-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--line)}.world-view-controls .world-view-nav{flex:1 1 auto;margin:0;padding:0;border:0}.world-view-controls .world-view-nav a{min-height:44px;padding:10px 12px}.world-view-controls .journal-panel-controls{margin:0 0 0 auto}@media(max-width:760px){.world-page:not(.world-fullscreen){padding-top:10px;padding-bottom:20px}.world-page:not(.world-fullscreen) .world-heading{gap:10px;align-items:flex-start}.world-page:not(.world-fullscreen) .world-heading h1{font-size:25px;max-width:none}.world-page:not(.world-fullscreen) .world-heading-actions{gap:4px;flex-direction:column}.world-page:not(.world-fullscreen) .world-heading p{max-width:none}.world-page .back-link{min-height:32px}.world-view-controls{gap:6px 8px}.world-view-controls .world-view-nav{gap:4px}.world-view-controls .world-view-nav a{padding:10px 8px;font-size:12px}}@media(max-width:600px){.site-header.world-site-header{height:auto;min-height:80px;padding-top:4px}.world-site-header .brand{font-size:22px}.world-site-header nav{gap:20px}.world-site-header nav a{height:44px}}.world-page:not(.world-fullscreen) .world-heading>div:first-child{min-width:0}.world-page:not(.world-fullscreen) .world-heading h1{overflow-wrap:anywhere}.world-page:not(.world-fullscreen) .world-heading-actions{flex-shrink:0}@media(max-width:760px){.world-page .world-heading-actions .outline{min-width:44px}}}@layer base,components,theme,interface;@layer components{.world-stage .building{overflow:hidden}.world-stage .stage-footer{padding:8px 16px}.world-summary{margin-top:12px;border:1px solid var(--line);border-radius:9px}@media(min-width:901px){.world-page:not(.world-fullscreen) .world-sidebar{height:var(--world-stage-height);max-height:var(--world-stage-height);min-height:0}}}@layer base,components,theme,interface;@layer components{@media(orientation:landscape)and (max-height:500px)and (hover:none)and (pointer:coarse){:root{--page-gutter:12px}.world-layout{grid-template-columns:1fr;gap:14px}.world-stage{width:100%}.world-page:not(.world-fullscreen) .world-stage .building{max-height:none}.world-page:not(.world-fullscreen) .world-sidebar{height:min(520px,calc(100dvh - 24px));max-height:none}.stage-toolbar{padding:0 12px}.world-stage .stage-footer{padding:8px 12px}}}@layer base,components,theme,interface;@layer components{.detail-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:28px}.detail-toolbar .expand-resident{margin:-6px -6px 0 auto}.modal.resident-modal{width:min(1040px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto}.resident-modal .modal-content{padding:28px 36px 32px}.resident-modal .modal-close{position:sticky;top:0;float:right;z-index:1}.resident-modal>.modal-content>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}.resident-modal .character-detail{padding:0;overflow:visible}.resident-modal .character-heading{margin-top:0}.resident-modal .detail-columns>div{min-width:0}.resident-modal .detail-columns .outline{margin-top:10px;width:100%}.resident-modal .detail-columns .form-foot{margin-top:11px}.resident-modal .resident-state{margin-top:0}@media(min-width:860px){.resident-modal .detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:48px;align-items:start}}.resident-modal .detail-columns>div>.model-selection{margin-top:22px}.resident-modal .model-selection label{display:block;font-size:11px;color:var(--secondary,#7d8e6c)}.resident-modal .model-selection select{min-height:36px;margin-top:6px;padding:6px 10px;font-size:12px}.resident-modal .model-selection p{font-size:10px;line-height:1.6;margin-top:6px}.resident-modal .resident-state{margin-bottom:0}}@layer base,components,theme,interface;@layer interface{body{background:var(--page);color:var(--text);font-family:var(--font-body)}body:has(dialog[open]){overflow:hidden}::selection{background:var(--selected);color:var(--selected-ink)}h1,h2,h3,h4{font-family:var(--font-body);font-weight:750;letter-spacing:-.025em}button,input,textarea,select{font:inherit}a,button{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.site-header,.fullscreen-site-header{background:var(--stage);color:var(--stage-ink);border-bottom:0}.site-header{padding:0 28px;max-width:none;height:58px;min-height:58px;gap:28px}.brand{font-family:var(--font-body);font-size:32px;font-weight:800;letter-spacing:-.035em;color:inherit}.brand-mark{display:none}.alpha{font-family:var(--font-body);color:inherit;font-size:11px;letter-spacing:0;font-weight:500;opacity:.8}.site-header nav{flex:1;gap:28px}.site-header nav a,.site-header .text-button{color:var(--stage-ink);font-size:16px;font-weight:650;gap:10px}.header-note{color:var(--stage-muted);font-size:12px}.site-header .text-button svg{width:20px;height:20px}.site-header nav a{height:58px}#world-header-tools,.header-note{margin-left:auto}#world-header-tools:empty{display:none}.site-header nav a.active{color:var(--stage-ink);border-color:var(--saffron)}.site-header nav a.active:after{background:var(--saffron)}.site-header .text-button{min-height:44px}.site-header .theme-control,.fullscreen-site-header .theme-control{background:transparent;color:var(--stage-ink);border:1px solid var(--stage-line);border-radius:6px}.primary{background:var(--action);color:var(--action-ink);border:1px solid transparent;border-radius:var(--radius-control);min-height:44px;font-size:13px;font-weight:700;box-shadow:none}.primary:hover:not(:disabled){background:var(--action-hover);color:var(--action-ink)}.outline{background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius-control);min-height:44px;font-size:12px;font-weight:650}.outline:hover:not(:disabled){background:var(--surface-hover);color:var(--text);border-color:var(--accent)}.icon-button{width:44px;height:44px;color:var(--secondary);border-radius:var(--radius-control)}.icon-button:hover{background:var(--surface-hover);color:var(--text)}input,textarea,select{background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius-control);min-height:44px;font-size:14px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:focus,textarea:focus,select:focus{border-color:var(--focus)}label{color:var(--text);font-size:13px;line-height:1.6}label small,.form-foot{color:var(--muted);font-size:12px;line-height:1.65}.eyebrow{color:var(--secondary);font-size:11px;font-weight:700;letter-spacing:.08em}.error-box{background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}.modal{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overscroll-behavior:contain}.modal::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-content{padding:32px}.modal h2{font-family:var(--font-display);text-transform:uppercase;font-weight:400;letter-spacing:0;font-size:32px;line-height:1.25;padding-right:35px;margin-bottom:24px}.modal-close{top:12px;right:12px}.modal h3{font-size:19px}.modal .template-preview,.mode-picker button{border-color:var(--line);background:var(--surface-soft)}.mode-picker button.selected{background:var(--selected);color:var(--selected-ink);border-color:var(--accent)}.mode-picker button strong{font-size:14px}.metric-details h3{font-size:20px}.metric-more>summary,.resident-state summary,.journal-arc-earlier summary{min-height:44px;padding-block:12px}.appearance-swatch{min-width:44px;min-height:44px}.resident-actions button{min-height:44px}.world-page{--page-gutter:16px;max-width:1800px;padding-inline:16px}.world-page:not(.world-fullscreen){padding-top:8px}.world-page:not(.world-fullscreen) .world-heading{margin:0;min-height:60px;gap:24px}.world-heading>div:first-child{display:flex;align-items:center;gap:24px;flex:1}.world-heading .back-link{display:none}.world-page:not(.world-fullscreen) .world-heading h1{margin:0;font:400 clamp(32px,3.2vw,48px)/1.16 var(--font-display);letter-spacing:0;text-transform:uppercase;gap:22px;flex-shrink:1;max-width:65%}.world-heading h1 .live-chip{font:650 11px/1.4 var(--font-body);text-transform:none;letter-spacing:0;white-space:nowrap;background:var(--selected);color:var(--selected-ink);padding:9px 11px;border-radius:5px}.world-heading p{color:var(--secondary);font-size:16px;overflow-wrap:anywhere;line-height:1.65;max-width:62ch}.world-heading-actions{display:flex;align-items:center;gap:16px;padding-top:0}.site-header .world-heading-actions{flex-direction:row;padding:0;align-items:center}.site-header .world-heading-actions .outline{color:var(--stage-ink);background:transparent;border-color:var(--stage-line);min-height:38px;font-size:12px}.site-header .presence-group small{color:var(--stage-muted)}.site-header .presence-group>span{border-color:var(--stage)}.site-header .world-heading-actions .outline:hover{background:#294167}.mobile-world-settings{display:none}.world-view-controls{border:0;margin:0 0 8px;padding:0;gap:8px}.world-view-controls .world-view-nav{gap:18px}.world-view-controls .world-view-nav a{min-height:26px;padding:2px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:11px;font-weight:650;color:var(--secondary)}.world-view-controls .world-view-nav a[aria-current=page]{border-color:var(--text);color:var(--text)}.world-view-controls .journal-panel-toggle{min-height:32px;padding:4px;background:transparent;border:0;font-size:11px}.world-layout,.world-layout:not(.journal-collapsed){display:grid;grid-template-columns:minmax(168px,15fr) minmax(0,58fr) minmax(300px,25fr);grid-template-rows:auto auto;gap:16px;align-items:stretch}.world-layout.journal-collapsed{grid-template-columns:minmax(168px,15fr) minmax(0,83fr)}.cast-rail{grid-column:1;grid-row:1 / 3;min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);overflow:hidden;max-height:calc(var(--world-stage-height,650px) + 196px)}.cast-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 16px}.cast-heading h2,.story-heading,.scene-events h2{font:400 36px/1.2 var(--font-display);text-transform:uppercase;letter-spacing:0}.cast-heading>span{font-size:12px;color:var(--muted)}.cast-list{overflow:auto;min-height:0;padding:0 8px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.cast-person{display:flex;align-items:center;gap:12px;width:100%;min-height:88px;text-align:left;border-radius:6px;padding:10px 8px;color:var(--text)}.cast-person:hover,.cast-person[aria-pressed=true]{background:var(--selected)}.cast-person .avatar{width:48px;height:60px;background:transparent!important;border-radius:0;padding:0}.cast-person>span:not(.avatar){min-width:0}.cast-person b{display:block;font-size:18px;overflow-wrap:anywhere}.cast-person small{display:block;margin-top:5px;font-size:10px;line-height:1.5;color:var(--muted)}.cast-person>svg{margin-left:auto;width:12px;color:var(--muted)}.cast-away{margin:auto 12px 12px;padding:16px 4px 4px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:10px;text-align:left;color:var(--secondary)}.world-stage{grid-column:2;grid-row:1;min-width:0;background:var(--stage);border:1px solid var(--stage);border-radius:var(--radius-panel);box-shadow:none;overflow:hidden}.stage-toolbar{height:auto;min-height:52px;flex-wrap:wrap;gap:6px 12px;padding:6px 12px;background:var(--stage);border:0;font-size:13px}:root .stage-toolbar,:root .stage-toolbar button,:root .stage-toolbar .time-mode-status strong{color:var(--stage-ink)}.stage-toolbar-actions{flex:1 1 300px;min-width:0;flex-wrap:wrap;justify-content:flex-end}.stage-toolbar .scene-zoom-controls,.stage-toolbar .fullscreen-toggle,.stage-toolbar .scene-zoom-controls button{flex-shrink:0}.stage-toolbar .time-mode-status{font-size:14px}.stage-toolbar button{font-size:14px;min-width:40px;min-height:40px;border-radius:5px}.stage-toolbar button:hover:not(:disabled){background:#2b4166;color:#fff}:root .stage-toolbar .fullscreen-toggle{border-color:var(--stage-line)}.stage-toolbar .status-dot{background:var(--saffron)}.world-stage .building{width:100%;background:var(--stage);--sky-day:#17284d;--sky-night:#17284d;--sky-harbor:#17284d;--sky-makers:#17284d;--sky-horizon:#17284d;--scene-caption:#c6d3e8}.world-stage .stage-footer{background:var(--stage);border:0;padding:14px 16px;gap:10px}:root .stage-footer>span,:root .stage-footer i{color:var(--stage-muted);font-size:13px}:root .stage-footer .introduce-resident{background:var(--saffron);color:var(--stage);min-height:48px;padding-inline:22px;border:0;font-weight:750;font-size:16px}.stage-footer .house-events-link{display:none}.world-layout .world-sidebar{grid-column:3;grid-row:1 / 3;min-width:0;height:calc(var(--world-stage-height,650px) + 196px);max-height:calc(var(--world-stage-height,650px) + 196px);min-height:0;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface)}.world-sidebar[hidden]{display:none}.story-heading{padding:22px 20px 12px}.sidebar-tabs{background:var(--surface);border-color:var(--line)}.world-sidebar .sidebar-tabs button{font-size:13px;min-height:42px}.world-sidebar .sidebar-tabs button.active{background:var(--selected);color:var(--selected-ink)}.journal-panel .journal-intro{padding:12px 20px}.journal-intro h3,.journal-intro .eyebrow,.journal-intro>p{display:none}.journal-panel .journal-filters{display:flex;flex-wrap:wrap;margin:0;gap:4px}.journal-panel .journal-filters button{min-height:32px;font-size:10px;padding:5px 7px;border-radius:4px}.journal-filters button.selected{background:var(--selected);color:var(--selected-ink)}.journal-panel .journal-scroll{padding:0 20px 20px}.journal-panel .journal-entry{padding-block:20px;border-color:var(--line)}.journal-panel .journal-entry p{font-size:14px;line-height:1.75}.journal-panel .journal-conversation>summary .journal-conversation-title{font-size:18px;line-height:1.4}.journal-panel .journal-conversation-description{font-size:14px}.journal-conversation:not([open]) .journal-conversation-description,.journal-record-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.journal-record summary{list-style:none;cursor:pointer}.journal-record summary::-webkit-details-marker{display:none}.journal-record-preview{font-size:14px;line-height:1.75;margin-top:7px}.journal-record-more,.journal-record-less{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;font-weight:700;color:var(--accent)}.journal-record-less,.journal-record[open] .journal-record-more,.journal-record[open] .journal-record-preview{display:none}.journal-record[open] .journal-record-less{display:flex}.journal-panel .journal-open-conversation{text-decoration:none;font-size:14px;background:var(--saffron);color:var(--stage);border-radius:5px;padding:10px 12px;font-weight:700}.journal-panel .journal-open-conversation:hover{background:#e5ab33;color:var(--stage)}.mobile-journal-control{display:none}.scene-events{grid-column:2;grid-row:2;background:var(--stage);color:var(--stage-ink);padding:18px 16px;border-radius:var(--radius-panel);min-width:0}.scene-events-heading{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:14px}.scene-events h2{font-size:34px}.scene-events-heading>span{display:flex;align-items:center;gap:5px;color:var(--stage-muted);font-size:12px}.scene-events-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.scene-events-actions>a,.scene-events-actions>button{border:1px solid var(--stage-muted);border-radius:6px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;min-height:44px;white-space:nowrap;color:var(--stage-ink)}.scene-events-actions>button:hover:not(:disabled){background:var(--stage-ink);color:var(--stage)}.scene-events a:hover{text-decoration:underline;text-underline-offset:4px}.scene-event-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scene-event-options button{display:flex;gap:12px;align-items:center;min-height:80px;padding:12px;background:#dce5f5;color:var(--stage);border-radius:6px;text-align:left}.scene-event-options button:first-child{background:var(--saffron)}.scene-event-options button:hover:not(:disabled){background:#f6d58a}.scene-event-options button:disabled{opacity:.65}.scene-event-options b{display:block;font-size:16px;line-height:1.4}.scene-event-options small{display:none}.scene-event-options button>svg:last-child{margin-left:auto;width:13px}.scene-events :focus-visible,.stage-toolbar :focus-visible,.site-header :focus-visible{outline-color:var(--saffron)}.community-stats.world-summary{border:0;border-block:1px solid var(--line);border-radius:0;background:transparent;padding:20px 0;margin:32px 0 40px}.world-summary .stat{padding:4px 24px;border-color:var(--line)}.world-summary .stat b{color:var(--text);font:400 30px/1.2 var(--font-display)}.world-summary .stat p{font-size:12px;color:var(--muted);line-height:1.6}.events-section{scroll-margin-top:20px}.events-heading{align-items:baseline;gap:16px;margin-bottom:18px}.events-heading h2{font:400 34px/1.2 var(--font-display);text-transform:uppercase;letter-spacing:0}.events-heading>span,.world-footnote{color:var(--muted);font-size:12px}.event-allowance{background:var(--surface-soft);border:1px solid var(--line);padding:16px;border-radius:8px;margin:12px 0 20px}.event-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.event-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:none}.event-card:hover:not(:disabled){background:var(--selected);border-color:var(--control-border);transform:none}.event-card b{font:750 15px var(--font-body)}.event-card small{font-size:12px;line-height:1.65}.event-icon{background:var(--surface-soft);color:var(--accent);border-radius:0}.world-footnote{line-height:1.6;padding-block:24px}.event-picker{--tone-kind:var(--accent);--tone-kind-soft:var(--selected);--tone-mixed:var(--warning);--tone-mixed-soft:var(--warning-soft);--tone-disruptive:var(--danger);--tone-disruptive-soft:var(--danger-soft)}.deck-card{border-radius:8px;box-shadow:none}.deck-card.active{border-color:var(--control-border);box-shadow:none}.deck-icon{background:transparent;border-radius:0;width:30px;height:30px}.deck-card b{font-family:var(--font-body);font-weight:750}:root[data-theme=light] .building-room{fill:color-mix(in srgb,var(--room-color) 30%,#e0e6ef)}:root[data-theme=light] .world-stage .building{--house-frame:#c8ccba;--window-day:#bdc9b8;--window-night:#a6b7b2;--scene-label:#f0f1e6}:root[data-theme=light] .world-stage .building-room{fill:color-mix(in srgb,var(--room-color) 8%,#354741)}.building-floor{fill:transparent}:root[data-theme=light] .world-stage .building-floor{fill:#b2b8a5}:root[data-theme=light] .world-stage .building-shell,:root[data-theme=light] .world-stage .building-roof,:root[data-theme=light] .world-stage .building-plinth{fill:#929f86}:root[data-theme=light] .world-stage .building-floor-edge{fill:#c4c7ad}:root[data-theme=light] .world-stage .building-window{stroke:#d2d0ad}:root[data-theme=light] .world-stage .building-window-cross{stroke:#d2d0ad}:root[data-theme=light] .world-stage .building-elevator-shaft{fill:#bdc2ad}:root[data-theme=light] .world-stage .building-elevator-rail{stroke:#939d8a}.world-fullscreen .cast-rail,.world-fullscreen .scene-events,.world-fullscreen .mobile-world-settings{display:none}.world-fullscreen .world-layout,.world-fullscreen .world-layout:not(.journal-collapsed){grid-template-columns:minmax(0,1fr) 330px;grid-template-rows:1fr}.world-fullscreen .world-stage{grid-column:1}.world-fullscreen .world-sidebar{grid-column:2;grid-row:1;height:auto;max-height:none}.world-fullscreen .world-layout.journal-collapsed{grid-template-columns:1fr}.world-fullscreen .world-heading h1{font:400 30px var(--font-display);text-transform:uppercase}.world-fullscreen .world-heading p,.heading-time{display:none}@media(min-width:1251px){.world-site-header{padding-inline:36px}.world-site-header .brand{font-size:34px;padding-right:56px;border-right:1px solid var(--stage-line)}.world-site-header nav>a,.world-site-header .text-button{font-size:18px;font-weight:750}.world-site-header nav>a>svg,.world-site-header .text-button>svg{width:26px;height:26px}.world-site-header .theme-control svg{width:26px;height:26px}.world-site-header .alpha{display:none}.world-site-header .world-heading-actions .outline{font-size:15px;padding-inline:16px}.world-site-header .theme-control{border:0;border-left:1px solid var(--stage-line);border-radius:0}.world-page:not(.world-fullscreen){padding-inline:10px}.world-page:not(.world-fullscreen) .world-heading{padding-inline:20px}.world-page:not(.world-fullscreen) .world-heading>div:first-child{gap:40px}.world-page:not(.world-fullscreen) .world-heading h1{font-size:50px;flex-shrink:0;max-width:60%;gap:22px}.world-heading h1 .live-chip{min-width:124px;justify-content:center;font-size:14px;border:0;border-radius:10px;padding:8px 12px}.world-page:not(.world-fullscreen) .heading-time{display:block;flex-shrink:0;font-size:16px;font-weight:650}.world-page:not(.world-fullscreen) .world-heading p{font-size:16px;line-height:1.5}.world-view-controls{margin-bottom:4px;padding-inline:20px}.world-view-controls .world-view-nav a,.world-view-controls .journal-panel-toggle{min-height:24px;padding-block:0}.world-layout,.world-layout:not(.journal-collapsed){grid-template-columns:minmax(168px,15fr) minmax(0,59.6fr) minmax(300px,25.2fr);column-gap:14px}.cast-heading{padding:16px 19px 28px}.cast-heading h2,.story-heading{font-size:40px}.cast-list{padding-inline:16px}.cast-person{min-height:91px;padding:10px;border-top:1px solid var(--line);border-radius:0;gap:22px}.cast-person b{font-size:20px}.cast-person small{font-size:11px}.cast-person>svg{display:none}.world-page:not(.world-fullscreen) .stage-toolbar>span{display:none}.stage-toolbar{min-height:50px;padding:3px 16px}.stage-toolbar-actions{gap:18px}.stage-toolbar .time-mode-status>span:first-child{font-size:0}.stage-toolbar .time-mode-status strong{font-size:18px}.stage-toolbar .scene-zoom-controls{border:0;border-left:1px solid var(--stage-line);border-radius:0;padding-left:16px;gap:6px}.stage-toolbar .scene-zoom-controls button{border:0;width:40px;height:42px}.stage-toolbar .scene-zoom-controls svg{width:22px;height:22px}:root .stage-toolbar .fullscreen-toggle{border:0;border-left:1px solid var(--stage-line);border-radius:0;padding-left:18px;font-size:17px}.stage-toolbar .fullscreen-toggle svg{width:22px;height:22px}.world-stage .stage-footer{padding:8px 18px}:root .stage-footer>span,:root .stage-footer i{font-size:16px}:root .stage-footer .introduce-resident{min-height:50px;min-width:268px;font-size:20px;border-radius:9px}.story-heading{padding:14px 18px 8px}.world-sidebar .sidebar-tabs{padding-inline:12px}.world-sidebar .sidebar-tabs button{font-size:15px;min-height:50px}.world-sidebar .sidebar-tabs button.active{background:transparent;color:var(--text)}.world-sidebar .sidebar-tabs button.active:after{background:var(--saffron);height:4px;left:8px;right:8px}.journal-panel .journal-intro{padding:0 18px;border:0}.journal-panel .journal-filters{gap:3px}.journal-panel .journal-filters button{border:0;background:transparent;padding-inline:5px;min-height:32px}.journal-panel .journal-filters button.selected{color:var(--text);text-decoration:underline;text-underline-offset:4px}.journal-panel .journal-scroll{padding:0 26px 20px}.journal-panel .journal-reading-order{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.journal-panel .timeline{padding:0}.journal-panel .journal-entry{padding:16px 0 20px;border-left:0;border-bottom:1px solid var(--line)}:root .journal-panel .timeline-icon{left:0;top:15px;background:transparent;border:0;color:var(--text)}.journal-panel .timeline-icon svg{width:22px;height:22px}.journal-panel .entry-meta{padding-left:32px;font-size:14px}.journal-panel .journal-conversation>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.journal-panel .journal-conversation>summary>.entry-meta,.journal-panel .journal-conversation-title,.journal-panel .journal-conversation-description{grid-column:1/-1}.journal-panel .journal-conversation>summary .journal-conversation-title{font-size:20px;line-height:1.35;margin:6px 0 4px}.journal-panel .journal-conversation-description{font-size:16px;line-height:1.5;-webkit-line-clamp:2}.journal-panel .journal-conversation>summary small{margin:0;font-size:10px}.journal-panel .journal-conversation>summary .journal-disclosure{min-height:30px;font-size:10px;justify-content:flex-end}.journal-panel .journal-open-conversation{min-height:40px;margin-top:4px;padding:7px 16px;border-radius:9px;font-size:16px}.scene-events{padding:16px 18px 20px}.scene-events-heading{gap:24px;margin-bottom:20px}.scene-events h2{font-size:36px}.scene-events-heading>span{border-left:1px solid var(--stage-line);padding-left:24px;font-size:14px}.scene-events-actions>a,.scene-events-actions>button{font-size:16px;border-radius:9px}.scene-events-actions>a{min-width:141px}.scene-event-options{gap:8px}.scene-event-options button{min-height:77px;padding:16px;border-radius:7px;gap:18px}.scene-event-options b{font-size:18px}.scene-event-options button>svg:first-child{flex-shrink:0;width:26px;height:26px}.scene-event-options button>svg:last-child{display:none}}@media(max-width:1250px){.alpha{display:none}.site-header nav a,.site-header .text-button{font-size:13px}.site-header{padding-inline:20px}.site-header nav{gap:18px}.world-layout,.world-layout:not(.journal-collapsed){grid-template-columns:150px minmax(0,1fr) 300px;gap:12px}.world-layout.journal-collapsed{grid-template-columns:150px minmax(0,1fr)}.cast-heading{padding-inline:12px}.cast-person{gap:6px}.cast-person .avatar{width:38px;height:50px}.cast-person>svg{display:none}.scene-events-heading{flex-wrap:wrap;gap:4px 12px}.scene-events h2{font-size:23px}.scene-events-heading>span{order:3;width:100%}.scene-event-options button{padding:12px 8px;gap:7px;flex-direction:column;align-items:flex-start}.scene-event-options button>svg:last-child{display:none}}@media(max-width:1100px){.world-heading>div:first-child{flex-wrap:wrap;gap:6px}.world-page:not(.world-fullscreen) .world-heading{padding-block:12px}.world-page:not(.world-fullscreen) .world-heading h1{max-width:100%;font-size:40px;width:100%}.world-layout,.world-layout:not(.journal-collapsed){grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:auto auto auto}.world-layout.journal-collapsed{grid-template-columns:minmax(0,1fr)}.cast-rail{grid-column:1/-1;grid-row:1;flex-direction:row;align-items:center;max-height:none;border:0;border-block:1px solid var(--line);border-radius:0;background:transparent}.cast-heading{padding:12px 14px 12px 0;flex-direction:column;gap:5px}.cast-heading h2{font-size:20px}.cast-list{display:flex;padding:8px 0;flex:1;overflow-x:auto}.cast-person{flex:none;width:100px;padding:6px;min-height:64px;gap:8px}.cast-person .avatar{width:30px;height:43px}.cast-person b{font-size:11px}.cast-person small,.cast-away{display:none}.world-stage{grid-column:1;grid-row:2}.scene-events{grid-column:1;grid-row:3}.world-layout .world-sidebar{grid-column:2;grid-row:2/4;height:720px;max-height:720px}.stage-footer{flex-wrap:wrap}.stage-footer>span{width:100%}.stage-footer .introduce-control{margin-left:auto}.event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:761px)and (max-width:1100px){.world-sidebar .story-heading{font-size:27px;padding:16px 16px 10px}.world-sidebar .sidebar-tabs button{min-height:40px;font-size:11px}.journal-panel .journal-intro{padding:8px 14px}.journal-panel .journal-scroll{padding-inline:14px}.journal-panel .journal-entry{padding-block:14px}.journal-panel .journal-conversation>summary .journal-conversation-title{font-size:16px;line-height:1.35;margin:4px 0}.journal-panel .journal-conversation-description,.journal-panel .journal-record-preview{font-size:12px;line-height:1.6;-webkit-line-clamp:2}.journal-panel .journal-conversation>summary .journal-disclosure{min-height:28px;font-size:11px}.journal-panel .journal-open-conversation{min-height:40px;padding:8px 10px;font-size:12px}.journal-panel .journal-reading-order{padding-block:5px}}@media(max-width:760px){.site-header,.site-header.world-site-header{min-height:58px;height:58px;padding:0 16px;gap:12px;flex-wrap:nowrap;flex-direction:row}.site-header .brand{font-size:22px}.site-header nav{width:auto;flex:1;justify-content:flex-end;gap:12px}.site-header nav>a,.site-header .header-note,.site-header .alpha{display:none}.site-header .text-button{font-size:0;gap:0;width:36px;justify-content:center}.site-header .text-button svg{display:block;width:18px;height:18px}.site-header .theme-control{width:36px;height:36px}#world-header-tools{margin:0}.site-header .world-heading-actions{display:flex;gap:0}.site-header .world-heading-actions .outline,.site-header .presence-group small,.site-header .presence-group>span:not(:first-child){display:none}.site-header .presence-group{display:flex;min-width:32px;min-height:44px;padding:0}.world-page{--page-gutter:14px;padding-inline:14px}.world-page:not(.world-fullscreen) .world-heading{padding-block:10px;min-height:0}.world-page:not(.world-fullscreen) .world-heading h1{font-size:34px;gap:10px;flex-wrap:wrap}.world-heading h1 .live-chip{font-size:10px;padding:6px 8px}.world-heading p{font-size:12px}.world-view-controls .world-view-nav{gap:16px}.world-view-controls .journal-panel-controls{display:none}.mobile-world-settings{display:inline-grid}.world-layout,.world-layout:not(.journal-collapsed),.world-layout.journal-collapsed{grid-template-columns:minmax(0,1fr);gap:12px}.cast-heading{padding-right:10px}.cast-heading h2{font-size:18px}.cast-person{width:95px}.world-stage{grid-column:1;grid-row:2}.stage-toolbar{padding:8px;flex-wrap:wrap;gap:4px}.stage-toolbar>span{width:100%}.stage-toolbar .stage-toolbar-actions{width:100%;justify-content:flex-end}.stage-toolbar .time-mode-status{margin-right:auto;font-size:11px}.stage-toolbar .scene-zoom-controls{display:flex}.stage-toolbar .scene-zoom-controls button:not(.scene-zoom-reset){display:grid}.stage-toolbar button{min-height:44px;min-width:36px}.world-page:not(.world-fullscreen) .fullscreen-toggle{display:inline-flex}.fullscreen-toggle span{display:none}.stage-toolbar-actions{gap:5px}.stage-toolbar button{min-height:36px}.stage-footer .introduce-control{width:auto}.stage-footer>span{width:auto}.world-stage .stage-footer{padding:12px;flex-wrap:wrap}.scene-events{grid-column:1;grid-row:3;padding:16px 12px}.scene-events-heading{margin-bottom:12px}.scene-events h2{font-size:24px}.scene-events-actions>a,.scene-events-actions>button{font-size:12px;padding:7px 9px}.scene-event-options{gap:8px}.scene-event-options button{min-height:104px;padding:12px 8px;gap:10px}.scene-event-options b{font-size:11px}.mobile-journal-control{display:flex;grid-column:1;grid-row:4;align-items:center;justify-content:space-between}.mobile-journal-control>span{font-weight:700;font-size:13px}.mobile-journal-control .outline{border:0;background:transparent;font-size:11px}.world-layout .world-sidebar,.world-layout:not(.journal-collapsed) .world-sidebar{grid-column:1;grid-row:5;height:560px;max-height:none}.community-stats.world-summary{grid-template-columns:1fr;padding:0;margin:28px 0}.world-summary .stat{padding:16px 0;border-right:0;border-bottom:1px solid var(--line)}.events-heading{flex-direction:column;align-items:flex-start;gap:10px}.events-heading h2{font-size:30px}.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-content{padding:24px 20px}.modal h2{font-size:30px}.activity-window,.activity-window:first-child{padding:16px 0;border:0;border-top:1px solid var(--line)}.world-footnote{flex-wrap:wrap;gap:8px}.world-fullscreen .world-layout,.world-fullscreen .world-layout:not(.journal-collapsed){grid-template-columns:1fr;height:auto}.world-fullscreen .world-stage{grid-column:1;grid-row:1}.world-fullscreen .world-sidebar{grid-column:1;grid-row:3}}@media(max-width:420px){.world-page:not(.world-fullscreen) .world-heading h1{font-size:29px}.stage-toolbar .time-mode-status,.stage-toolbar{font-size:10px}.stage-footer .introduce-control,.stage-footer .introduce-resident{width:100%}.event-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){.cast-person{transition:background .16s cubic-bezier(.16,1,.3,1)}.resident-modal[open]{animation:meet-resident .22s cubic-bezier(.16,1,.3,1)}@keyframes meet-resident{0%{transform:translateY(8px);box-shadow:0 6px 20px #14284b18}to{transform:translateY(0);box-shadow:var(--shadow)}}}}@layer base,components,theme,interface;@layer interface{:root{--dialog-inset: 40px;--field-gap: 24px;--section-gap: 32px;--label-gap: 8px}.modal{width:min(620px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:24px}.modal .modal-content{display:flow-root;min-width:0;padding:var(--dialog-inset)}.modal .modal-close{position:sticky;float:right;top:16px;z-index:3;margin:-16px -16px 0 16px;background:var(--surface);width:44px;height:44px}.modal .modal-content>h2{margin:0 0 var(--section-gap);padding-right:32px;line-height:1.25;overflow-wrap:anywhere}.modal form{gap:var(--field-gap);min-width:0}.modal form label{gap:var(--label-gap);font-size:14px}.modal input:not([type=range]):not([type=checkbox]),.modal select{min-height:48px}.modal textarea{min-height:112px;padding:12px;line-height:1.65}.modal .muted,.modal .form-foot{font-size:13px;line-height:1.7}.modal form>.muted{margin:0}.modal .primary,.modal .outline{min-height:48px;font-size:14px;padding:12px 18px}.modal .form-foot{margin:12px 0 0}.modal .error-box{overflow-wrap:anywhere}.modal.guide-modal{width:min(800px,calc(100vw - 48px))}.modal.settings-modal{width:min(1040px,calc(100vw - 48px))}.settings-sections{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}.settings-sections>.house-details{border:0;padding:0;margin:0}.settings-sections>.world-settings-form{padding-left:40px;border-left:1px solid var(--line)}.settings-sections legend,.settings-sections h3{font:750 18px/1.4 var(--font-body);color:var(--text);margin:0 0 8px;letter-spacing:0}.settings-sections .house-details label{margin:24px 0 8px}.settings-sections .house-details small{font-size:12px;line-height:1.65;margin-top:8px}.settings-sections .house-details .muted{margin:20px 0 24px}.settings-sections .house-details-status:empty{display:none}.settings-field{display:grid;gap:12px}.settings-field .muted{margin:0}.settings-save{margin-top:8px}.settings-modal .mode-options{gap:12px}.settings-modal .mode{padding:16px}.settings-modal .template-note{padding:16px;gap:12px}.modal.resident-modal{width:min(1120px,calc(100vw - 48px))}.resident-modal .character-detail{padding:0;overflow:visible}.character-detail{padding:24px;font-size:14px;line-height:1.7}.resident-identity{padding-bottom:24px;margin-bottom:var(--section-gap);border-bottom:1px solid var(--line)}.character-detail .character-heading{margin:0 0 16px;gap:20px;align-items:center}.character-detail .character-heading>div{min-width:0}.character-detail .character-heading h2{margin:0;padding:0;font:750 28px/1.25 var(--font-body);text-transform:none;overflow-wrap:anywhere}.character-detail .character-heading .trait{margin-top:8px;font-size:12px}.character-detail .detail-toolbar{margin-bottom:16px}.character-detail .resident-edit-actions{gap:8px 20px}.character-detail .resident-edit-actions>button{min-height:44px}.character-detail .detail-columns{display:grid;gap:var(--section-gap)}.resident-overview{display:grid;gap:var(--section-gap);align-content:start;min-width:0}.resident-section{min-width:0}.resident-modal .detail-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px}.character-detail h4,.resident-controls h3{margin:0 0 16px;color:var(--text);font:750 16px/1.4 var(--font-body);letter-spacing:0}.character-detail .background-label{margin:0 0 8px;font-size:11px}.character-detail .backstory{margin:0;font-size:14px;line-height:1.8}.character-detail .current-activity{margin:20px 0;font-size:12px}.character-detail .character-needs{margin:24px 0 0;gap:16px}.character-detail .character-needs span,.character-detail .character-needs b{font-size:12px}.character-detail .resident-state{margin:0;font-size:14px;line-height:1.75}.resident-state dl>div{margin:20px 0}.resident-state dd{margin-top:6px}.resident-state details{padding:12px 0}.resident-state summary{min-height:44px}.character-detail .small-bond{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px 16px;padding:14px 0;font-size:14px}.character-detail .small-bond span{overflow-wrap:anywhere}.character-detail .small-bond small{font-size:12px;text-align:right}.character-detail .personal-history{margin:0}.character-detail .personal-history h4:not(:first-child){margin-top:var(--section-gap)}.character-detail .history-story,.character-detail .history-highlights p,.character-detail .history-list p{font-size:14px;line-height:1.8}.character-detail .history-note{font-size:12px;line-height:1.75;margin-bottom:16px}.character-detail .history-highlights>li{margin-bottom:24px}.character-detail .personal-history summary{padding:12px 0;min-height:44px;font-size:12px}.character-detail .history-meta{font-size:11px;gap:8px 12px;margin-bottom:8px}.character-detail .history-list li{padding-bottom:24px}.resident-controls{margin-top:var(--section-gap);padding-top:var(--section-gap);border-top:1px solid var(--line)}.resident-controls-grid{display:grid;gap:16px}.resident-controls .model-selection{margin:0}.resident-controls .model-selection label{font-size:13px}.resident-controls .model-selection select{margin-top:8px;min-height:48px;font-size:14px}.resident-controls .model-selection p{margin:8px 0 0;font-size:12px;line-height:1.7}.resident-controls .form-foot{margin:0;font-size:12px}.resident-modal .resident-controls-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 48px;align-items:start}.resident-modal .resident-controls .model-selection{grid-row:1/3}.resident-modal .resident-controls .form-foot{grid-column:2}.modal.appearance-modal{width:min(800px,calc(100vw - 48px))}.appearance-modal .appearance-editor{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px 32px;align-items:start}.appearance-modal .appearance-preview{width:160px;height:176px;padding:16px 12px 0;margin:0;grid-column:1;grid-row:1/4;position:sticky;top:24px}.appearance-choices{display:grid;gap:24px;min-width:0}.appearance-modal .appearance-row{display:grid;gap:12px;padding:0;justify-content:stretch}.appearance-row>span{white-space:normal;font-size:14px;font-weight:650;color:var(--text)}.appearance-options{justify-content:flex-start;gap:12px}.appearance-swatch,.appearance-style{width:44px;height:44px;flex-shrink:0}.appearance-modal .appearance-editor>.muted,.appearance-modal .appearance-editor>.error-box,.appearance-modal .appearance-actions{grid-column:2;margin:0}.appearance-actions{gap:12px;border-top:1px solid var(--line);padding-top:24px}.appearance-actions button{min-width:112px}.modal.conversation-modal{width:min(800px,calc(100vw - 48px))}.modal.relationship-modal{width:min(960px,calc(100vw - 48px))}.conversation-modal .conversation-thread{margin:0 0 32px}.conversation-modal .conversation-thread>summary{padding:0 0 24px;line-height:1.7}.conversation-modal .conversation-thread>summary strong{font-size:16px}.conversation-modal .conversation-thread>summary span{font-size:14px;margin-top:4px}.conversation-modal .conversation-thread>summary small{font-size:12px;margin-top:8px;opacity:1;color:var(--muted)}.conversation-modal .conversation-thread ol{border:0;padding:0;margin:0;max-height:none;overflow:visible}.conversation-modal .conversation-thread li{padding:24px 0;border-top:1px solid var(--line)}.conversation-modal .conversation-speaker{font-size:14px;gap:8px 20px;align-items:baseline}.conversation-modal .conversation-speaker time{font-size:12px;opacity:1;color:var(--muted)}.conversation-modal .conversation-thread li p{font-size:16px;line-height:1.8;margin:12px 0 0}.conversation-modal .conversation-progress{display:block;margin-top:16px;font-size:13px}.relationship-modal .bond-hero{padding-right:24px;gap:24px;margin-bottom:32px}.relationship-modal .bond-portrait{max-width:160px;gap:8px}.relationship-modal .bond-portrait b{font-size:16px}.relationship-modal .bond-meters{padding:24px;gap:20px 24px;margin:0}.relationship-modal .bond-meter-row{font-size:13px;gap:10px}.relationship-modal .relationship-story h5{font-size:16px;margin:32px 0 16px}.relationship-modal .relationship-columns,.relationship-modal .relationship-views{gap:24px 32px}.relationship-modal .relationship-points ul{gap:20px}.relationship-modal .relationship-points li{font-size:14px;line-height:1.6;gap:8px 12px}.relationship-modal .thread-label>span{white-space:normal;overflow-wrap:anywhere}.relationship-modal .relationship-views article{padding:20px 0;font-size:14px;line-height:1.7}.relationship-modal .bond-moments li{padding-bottom:24px;font-size:14px;line-height:1.75}.relationship-modal .bond-full-story{margin-top:32px;padding-top:20px}.relationship-modal .bond-full-story summary{min-height:44px;font-size:14px}.relationship-modal .relationship-prose p{font-size:14px;line-height:1.8;margin-bottom:16px}.identity-modal .presence-heading{margin:32px 0 12px;padding-top:32px;border-top:1px solid var(--line);font-size:18px}.identity-modal .presence-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;padding:16px 0;font-size:14px;overflow-wrap:anywhere}.identity-modal .presence-row small{font-size:12px}.metric-details{width:min(460px,calc(100vw - 24px));padding:28px;border-radius:12px;font-size:14px;line-height:1.75;overflow-wrap:anywhere}.metric-details-heading{gap:16px}.metric-details h3{font:750 20px/1.4 var(--font-body)}.metric-details h4{font-size:14px;margin:24px 0 12px}.metric-details p{margin:16px 0}.metric-details .metric-note{font-size:12px}.metric-changes li{grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;padding:16px 0;margin:0}.metric-more{padding-top:12px;margin-top:16px}.metric-more>summary{min-height:44px;font-size:13px;line-height:1.6}.metric-details .icon-button{flex-shrink:0;width:44px;height:44px;margin:-8px -8px 0 0}.world-sidebar .resident-list,.world-sidebar .bonds-list{padding:20px}.world-sidebar .resident-row{padding:16px 0;gap:16px}.world-sidebar .resident-row b{font-size:14px;overflow-wrap:anywhere}.world-sidebar .resident-row small{font-size:12px;line-height:1.6;white-space:normal}.world-sidebar .bonds-intro{padding:24px 20px 16px}.world-sidebar .bonds-intro h3{margin:0;font-size:20px;font-weight:750;line-height:1.35;letter-spacing:-.025em}.world-sidebar .bonds-intro>p{margin-top:8px;font-size:12px;line-height:1.7}:root .world-sidebar .bonds-list{display:flex;flex-direction:column;gap:12px;padding:4px 20px 20px;scrollbar-color:var(--control-border) transparent;scroll-padding-block:8px}:root .world-sidebar .bond-card{display:block;flex-shrink:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left}:root .world-sidebar .bond-card:hover{background:var(--surface-hover);border-color:var(--control-border)}:root .world-sidebar .bond-card:active{background:var(--selected)}:root .world-sidebar .bond-card:focus-visible,.world-sidebar .bonds-list:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.bond-card-heading{display:flex;align-items:center;gap:12px}.bond-pair{display:flex;flex-shrink:0;align-items:center;width:54px}.bond-pair-portrait{display:block;width:32px;height:40px;padding:3px 1px 0;overflow:hidden;border-radius:8px;background:var(--surface-soft)}.bond-pair-portrait+span{margin-left:-10px;transform:translateY(5px);border:2px solid var(--surface)}.bond-pair-portrait svg{display:block;width:100%;height:100%}.bond-card-identity{display:block;flex:1;min-width:0}:root .world-sidebar .bond-card-identity b{display:block;font-size:14px;font-weight:750;line-height:1.5;color:var(--text);overflow-wrap:anywhere}:root .world-sidebar .bond-card-identity b span{margin:0 2px;color:var(--muted);font-weight:400}.bond-card-identity small{display:block;margin-top:4px;color:var(--secondary);font-size:11px;line-height:1.65;overflow-wrap:anywhere}:root .world-sidebar .bond-card-identity small svg{display:inline;vertical-align:-2px;margin-right:5px;color:var(--accent)}:root .world-sidebar .bond-card[data-kind=close] small svg{color:var(--good);fill:var(--good)}:root .world-sidebar .bond-card[data-kind=strained] small svg{color:var(--danger)}:root .world-sidebar .bond-card[data-kind=repairing] small svg,:root .world-sidebar .bond-card[data-kind=easing] small svg{color:var(--warning)}:root .world-sidebar .bond-card-chevron{color:var(--muted)}.bond-card-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.bond-card-score{display:block;min-width:0}.bond-card-score-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;color:var(--secondary);font-size:11px;line-height:1.5}.bond-card-score-label strong{color:var(--text);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}.bond-card-gauge{display:block;position:relative;height:5px;margin-top:8px;border-radius:3px;background:var(--line)}.bond-card-gauge>span{display:block;position:absolute;height:100%;border-radius:3px;background:var(--accent)}.bond-card-gauge.diverging>span{background:var(--good)}.negative .bond-card-gauge.diverging>span{background:var(--danger)}.bond-card-gauge.diverging:after{content:"";position:absolute;left:50%;top:-2px;height:9px;width:1px;background:var(--muted)}.bonds-list .empty-note{padding:24px 0;color:var(--secondary);font-size:13px;line-height:1.7}@media(prefers-reduced-motion:no-preference){.world-sidebar .bond-card{transition:background-color .16s ease-out,border-color .16s ease-out}}.away-confirmation .away-consequences{gap:20px;font-size:15px;line-height:1.8}.away-confirmation .away-actions{gap:12px;margin-top:32px}@media(max-width:900px){.settings-sections{grid-template-columns:1fr;gap:32px}.settings-sections>.world-settings-form{border-left:0;border-top:1px solid var(--line);padding:32px 0 0}.modal.settings-modal{width:min(680px,calc(100vw - 48px))}.resident-modal .detail-columns{grid-template-columns:1fr;gap:32px}.resident-modal .resident-history{padding-top:32px;border-top:1px solid var(--line)}.resident-modal .resident-controls-grid{grid-template-columns:1fr;gap:16px}.resident-modal .resident-controls .model-selection{grid-row:auto}.resident-modal .resident-controls .form-foot{grid-column:auto}}@media(max-width:600px){:root{--dialog-inset:24px}.modal,.modal.resident-modal,.modal.conversation-modal,.modal.relationship-modal,.modal.settings-modal,.modal.appearance-modal,.modal.guide-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.modal .modal-content{padding-top:32px}.modal .modal-close{margin:-16px -12px 0 8px;top:12px}.modal .modal-content>h2{font-size:28px;padding-right:20px}.appearance-modal .appearance-editor{grid-template-columns:1fr;gap:24px}.appearance-modal .appearance-preview{position:static;grid-column:1;grid-row:auto;width:120px;height:132px;margin-inline:auto}.appearance-modal .appearance-editor>.muted,.appearance-modal .appearance-editor>.error-box,.appearance-modal .appearance-actions{grid-column:1}.appearance-options{gap:12px}.appearance-actions button{flex:1}.character-detail{padding:20px}.resident-modal .character-detail{padding:0}.character-detail .small-bond{grid-template-columns:minmax(0,1fr);gap:4px}.character-detail .small-bond small{text-align:left}.relationship-modal .bond-hero{padding-right:0;gap:8px}.relationship-modal .bond-portrait b{font-size:14px}.relationship-modal .bond-meters{padding:20px}.identity-modal .presence-row{grid-template-columns:32px minmax(0,1fr)}.identity-modal .presence-row small{grid-column:2;margin:0}.metric-details{padding:24px}}}@layer interface{.resident-modal .resident-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 24px;padding-bottom:28px;margin-bottom:32px}.resident-modal .detail-toolbar{grid-column:1/-1;margin:0}.resident-modal .character-heading{margin:0;gap:20px}.resident-modal .character-heading .avatar{width:80px;height:92px;padding:10px 8px 0;border-radius:12px}.resident-modal .character-heading h2{font-size:32px;letter-spacing:-.025em}.resident-modal .character-heading .trait{display:block;margin-top:4px;font-size:14px;color:var(--secondary);text-transform:capitalize}.resident-modal .character-heading .current-activity{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:12px;color:var(--secondary)}.resident-modal .current-activity .status-dot{margin:0;flex-shrink:0;background:var(--good)}.resident-modal .resident-name-editor{margin:0;max-width:360px}.resident-modal .resident-edit-actions{display:flex;flex-wrap:wrap;gap:8px}.resident-modal .resident-edit-actions[hidden]{display:none}.resident-modal .resident-edit-actions>button{padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-control);font-size:12px;color:var(--secondary)}.resident-modal .resident-edit-actions>button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.resident-modal .detail-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr);gap:40px}.resident-modal .resident-overview{gap:0;padding:24px;background:var(--surface-soft);border-radius:var(--radius-panel)}.resident-modal .resident-section-title{margin:0 0 12px;font:750 18px/1.4 var(--font-body);color:var(--text);letter-spacing:0}.resident-modal .backstory{font-size:14px;line-height:1.8;color:var(--secondary)}.resident-modal .wellbeing-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-top:28px}.resident-modal .wellbeing-title>span{font-size:11px;font-weight:500;color:var(--muted)}.resident-modal .character-needs{display:grid;grid-template-columns:1fr;max-width:none;gap:18px;margin:16px 0 24px}.resident-modal .character-needs>div{display:grid;grid-template-columns:80px minmax(0,1fr) 28px;align-items:center;gap:12px}.resident-modal .character-needs>div>span{color:var(--secondary);font-size:12px}.resident-modal .character-needs b{grid-column:3;grid-row:1;float:none;color:var(--text);font-size:14px;font-weight:750;text-align:right;font-variant-numeric:tabular-nums}.resident-modal .stat-track{grid-column:2;grid-row:1;height:6px;margin:0;background:var(--line)}.resident-modal .stat-track>span{background:var(--accent)}.resident-modal [data-level=low] .stat-track>span{background:var(--danger)}.resident-modal [data-level=mid] .stat-track>span{background:var(--warning)}.resident-modal [data-level=high] .stat-track>span{background:var(--good)}.resident-modal .resident-influences{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.resident-modal .resident-influences>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 0;color:var(--secondary);cursor:pointer;font-size:12px;font-weight:650;list-style:none}.resident-modal .resident-influences>summary::-webkit-details-marker{display:none}.resident-modal .resident-influences>summary svg{flex-shrink:0;transition:transform .16s ease-out}.resident-modal .resident-influences[open]>summary svg{transform:rotate(180deg)}.resident-modal .resident-influences .resident-state{font-size:12px}.resident-modal .resident-influences .resident-state>h4{display:none}.resident-modal .resident-state dl>div{margin:16px 0}.resident-modal .resident-state details{padding:0}.resident-modal .resident-connections{margin-top:24px}.resident-modal .resident-connections h4{font-size:16px;margin-bottom:8px}.resident-modal .small-bond{padding:12px 0}.resident-modal .small-bond:last-child{border-bottom:0}.resident-modal .personal-history>h4:first-child{font-size:24px;letter-spacing:-.02em;margin-bottom:4px}.resident-modal .personal-history>.history-note{margin-bottom:0}.history-freshness{margin:4px 0 16px;color:var(--muted)}.character-detail .history-freshness>summary{font-size:11px;padding:8px 0}.history-pending{display:inline-block;margin-left:8px;font-size:10px;color:var(--warning)}.resident-modal .history-story{margin:0;font-size:16px;line-height:1.85;color:var(--text)}.resident-modal .personal-history h4:not(:first-child){font-size:16px;margin-top:28px;margin-bottom:16px}.resident-modal .history-sources{color:var(--muted);margin:4px 0 0}.resident-modal .history-highlights{border-left:1px solid var(--line);margin-left:4px}.resident-modal .history-highlights>li{position:relative;padding:0 0 20px 20px;margin:0}.resident-modal .history-highlights>li:before{content:"";position:absolute;top:9px;left:-4px;width:7px;height:7px;border-radius:50%;background:var(--accent)}.resident-modal .history-highlights>li:last-child{padding-bottom:0}.resident-modal .history-highlights p{margin:0}.resident-modal .history-retained{margin-top:24px;padding-top:4px}.resident-modal .history-retained>summary{font-size:13px;margin:0}.resident-modal .resident-controls{margin-top:32px;padding-top:24px}.resident-modal .resident-controls h3{font-size:16px}.resident-modal .resident-controls-grid{gap:12px 40px}.resident-modal .resident-controls .model-selection{grid-row:auto}.resident-modal .resident-away-control{min-width:0}.resident-modal .resident-away-control:only-child{grid-column:1/-1;max-width:460px}.resident-modal .resident-away-control .form-foot{margin-top:8px}.resident-modal summary:hover{color:var(--text)}.resident-modal summary:focus-visible,.resident-modal button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.resident-modal{scrollbar-color:var(--control-border) var(--surface)}.resident-modal ::selection{background:var(--selected);color:var(--selected-ink)}.resident-modal input{caret-color:var(--accent)}@media(max-width:900px){.resident-modal .resident-identity{grid-template-columns:1fr;gap:20px}.resident-modal .detail-columns{grid-template-columns:1fr;gap:32px}.resident-modal .resident-history{border-top:0;padding-top:0}.resident-modal .resident-edit-actions>button{font-size:13px}}@media(max-width:600px){.resident-modal .modal-content{padding:24px 20px}.resident-modal .resident-identity{padding-bottom:24px;margin-bottom:24px}.resident-modal .character-heading{gap:16px;padding-right:24px}.resident-modal .character-heading .avatar{width:64px;height:78px;padding:8px 6px 0}.resident-modal .character-heading h2{font-size:28px}.resident-modal .character-heading .trait{font-size:12px}.resident-modal .resident-overview{padding:20px}.resident-modal .character-needs>div{grid-template-columns:72px minmax(0,1fr) 26px;gap:8px}.resident-modal .resident-controls-grid{gap:16px}}@media(prefers-reduced-motion:reduce){.resident-modal .resident-influences>summary svg,.resident-modal .stat-track>span{transition:none}}}
