/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{color:var(--ink);font-family:var(--font-geist-sans),Arial,sans-serif;background:#e9efe8}.app-shell{background:var(--paper);grid-template-rows:64px minmax(0,1fr) 206px 28px;height:100vh;display:grid}button{font:inherit;color:inherit}.topbar{border-bottom:1px solid var(--line);z-index:5;background:#fffffffa;justify-content:space-between;align-items:center;padding:0 20px;display:flex}.brand{align-items:center;gap:10px;min-width:210px;display:flex}.brand-mark{color:#fff;background:#2f6b51;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.brand div{flex-direction:column;line-height:1;display:flex}.brand b{letter-spacing:.13em;font-size:14px}.brand small{color:var(--muted);letter-spacing:.08em;margin-top:5px;font-size:9px}.world-status{color:var(--muted);align-items:center;gap:9px;font-size:11px;display:flex}.world-status b{color:var(--green);font-size:11px}.dot{background:#52b67b;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #e1f4e8}.dot.paused{background:#e4a44d;box-shadow:0 0 0 4px #fff0d8}.weather{border-left:1px solid var(--line);padding-left:10px}.header-actions{justify-content:flex-end;gap:7px;min-width:210px;display:flex}.icon-button,.primary{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;height:34px;display:flex}.icon-button{width:34px}.primary{background:var(--green);color:#fff;border-color:var(--green);padding:0 14px;font-size:12px}.workspace{grid-template-columns:minmax(0,1fr) 302px;min-height:0;display:grid}.world-panel{border-right:1px solid var(--line);min-width:0;position:relative;overflow:hidden}.scene-title{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8faf5e6;border:1px solid #fffc;border-radius:10px;flex-direction:column;gap:4px;padding:9px 12px;display:flex;position:absolute;top:16px;left:18px;box-shadow:0 5px 16px #26342f18}.scene-title span{font-size:13px;font-weight:700}.scene-title small{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.camera-tools,.speed-controls{border:1px solid var(--line);background:#fffffff0;border-radius:9px;padding:4px;display:flex;position:absolute;bottom:15px;box-shadow:0 4px 18px #26342f1c}.camera-tools{left:18px}.speed-controls{right:18px}.camera-tools button,.speed-controls button{cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;height:29px;padding:0 9px;font-size:10px;display:flex}.camera-tools button.active,.speed-controls button.active{color:var(--green);background:#e8f0e9;font-weight:700}.world-label{white-space:nowrap;color:#fff;background:#25372fe8;border:1px solid;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:650}.agent-bubble{pointer-events:none;background:#fffffff0;border:1px solid #e0e7df;border-radius:9px;grid-template-columns:1fr auto;gap:2px 8px;width:132px;padding:6px 7px;display:grid;box-shadow:0 3px 11px #19261f26}.agent-bubble strong{font-size:9px}.agent-bubble span{color:#59665f;grid-column:1/-1;font-size:8px;line-height:1.35}.agent-bubble i{color:#3f775d;background:#edf3eb;border-radius:4px;grid-area:1/2;padding:2px 4px;font-size:7px;font-style:normal}.toast{color:#fff;background:#25372f;border-radius:8px;padding:8px 13px;font-size:11px;position:absolute;top:16px;left:50%;transform:translate(-50%)}.inspector{background:#fff;padding:17px 18px;overflow:auto}.section-heading{justify-content:space-between;align-items:flex-end;display:flex}.section-heading small,.dock-title small{color:#89938d;text-transform:uppercase;letter-spacing:.07em;font-size:9px}.section-heading h1{margin:2px 0 0;font-size:22px}.role-chip{border-radius:999px;padding:5px 8px;font-size:9px;font-weight:700}.identity{grid-template-columns:48px 1fr;align-items:center;gap:11px;margin:12px 0;display:grid}.portrait,.mini-avatar{color:#fff;place-items:center;font-weight:800;display:grid}.portrait{border-radius:15px;width:48px;height:48px;font-size:18px;box-shadow:inset 0 0 0 3px #fff5}.identity p{color:#637068;margin:0 0 7px;font-size:10px}.skill-row{gap:5px;display:flex}.skill-row span{border:1px solid var(--line);border-radius:5px;padding:3px 6px;font-size:8px}.state-grid{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.state-grid>div{border:1px solid var(--line);border-radius:8px;grid-template-columns:1fr auto;gap:5px;padding:8px;display:grid}.state-grid span,.state-grid b{font-size:9px}.state-grid i,.project-line i,.relations i{background:#edf0ec;border-radius:3px;grid-column:1/-1;height:3px;overflow:hidden}.state-grid em,.project-line em,.relations em{background:#6cad87;border-radius:3px;height:100%;display:block}.info-card{background:#f4f0e5;border-radius:10px;margin:10px 0;padding:11px}.card-label{color:#7c693e;text-transform:uppercase;align-items:center;gap:6px;font-size:9px;font-weight:750;display:flex}.info-card p{color:#4f4939;margin:7px 0;font-family:Georgia,serif;font-size:12px;line-height:1.45}.info-card small{color:#8a8068;font-size:8px}.detail-section{border-top:1px solid #edf0ec;margin-top:10px;padding-top:10px}.detail-section h2{text-transform:uppercase;letter-spacing:.09em;color:#7d8981;margin:0 0 8px;font-size:9px}.goal-row{align-items:center;gap:8px;display:flex}.goal-icon{width:25px;height:25px;color:var(--green);background:#e6f0e7;border-radius:8px;place-items:center;display:grid}.goal-row div{flex-direction:column;display:flex}.goal-row b{font-size:10px}.goal-row small{color:var(--muted);margin-top:2px;font-size:8px}.memory{color:#69766e;grid-template-columns:18px 1fr auto;align-items:center;padding:6px 0;display:grid}.memory span{color:#46534c;font-size:9px}.memory small{font-size:8px}.relations button{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:26px 1fr 25px;align-items:center;gap:7px;width:100%;padding:5px 0;display:grid}.mini-avatar{border-radius:9px;width:25px;height:25px;font-size:9px}.relations button>span:nth-child(2){font-size:9px;display:grid}.relations i{width:100%;margin-top:3px}.relations b{color:#6b776f;font-size:9px}.follow-button{color:#fff;cursor:pointer;background:#263a31;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:100%;height:34px;margin-top:11px;font-size:10px;display:flex}.bottom-dock{border-top:1px solid var(--line);background:#fff;grid-template-columns:1.1fr .85fr 1fr;min-height:0;display:grid}.bottom-dock>div{border-right:1px solid var(--line);padding:13px 16px;overflow:hidden}.dock-title{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.dock-title>span{text-transform:uppercase;letter-spacing:.07em;align-items:center;gap:6px;font-size:10px;font-weight:750;display:flex}.people-list{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.people-list button{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fbfcfa;border-radius:8px;align-items:center;gap:7px;padding:7px;display:flex}.people-list button.selected{background:#eff6ef;border-color:#6aa57d}.people-list button>span:last-child{flex-direction:column;display:flex}.people-list b{font-size:9px}.people-list small{color:var(--muted);margin-top:2px;font-size:8px}.project-line{background:#f6f8f4;border-radius:9px;grid-template-columns:36px 1fr 35px;align-items:center;gap:8px;padding:8px;display:grid}.project-icon{background:#e6eedf;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.project-line>div:nth-child(2){display:grid}.project-line b{font-size:10px}.project-line small{color:var(--muted);margin:2px 0 5px;font-size:8px}.project-line strong{color:#4a735c;font-size:11px}.resources{gap:7px;margin-top:9px;display:flex}.resources span{color:var(--muted);background:#fafbf9;border:1px solid #edf0ec;border-radius:7px;flex:1;padding:7px;font-size:8px}.resources b{float:right;color:var(--ink)}.event-list{flex-direction:column;display:flex}.event-list>div{grid-template-columns:34px 8px 1fr;align-items:center;gap:6px;min-height:31px;display:grid}.event-list time{color:#929b95;font-size:8px}.event-dot{background:#7cad8f;border-radius:50%;width:6px;height:6px}.event-dot.talk{background:#8d76ca}.event-dot.world{background:#e1a44e}.event-dot.memory{background:#6c9ac8}.event-list p{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:9px;overflow:hidden}.event-list>div:not(:last-child) p{border-bottom:1px solid #edf0ec;padding-bottom:7px}footer{color:#aebdb5;letter-spacing:.05em;background:#25372f;justify-content:space-between;align-items:center;padding:0 18px;font-size:8px;display:flex}footer span{align-items:center;gap:6px;display:flex}footer .dot{width:5px;height:5px;box-shadow:none}@media (max-width:900px){.workspace{grid-template-columns:1fr 270px}.bottom-dock{grid-template-columns:1.2fr 1fr}.event-panel,.weather{display:none}.brand,.header-actions{min-width:auto}}@media (max-width:680px){html,body{overflow:auto}.app-shell{grid-template-rows:58px 670px auto 28px;height:auto;min-height:100vh}.brand small,.world-status>span:not(.dot),.icon-button{display:none}.workspace{grid-template-rows:420px 250px;grid-template-columns:1fr}.inspector{border-top:1px solid var(--line)}.bottom-dock{grid-template-columns:1fr}.bottom-dock>div{border-bottom:1px solid var(--line)}.camera-tools button{font-size:0}.people-list{grid-template-columns:repeat(3,1fr)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.state-grid .growth-stat{background:linear-gradient(90deg,#f7f0d9,#eef6e9);grid-column:1/-1}.metric-strip{padding:8px 14px}.metric-card{padding:8px 12px}.metric-card b{font-size:19px}.metric-card p{margin-top:3px}.world-panel{border-radius:14px;width:100%;height:100%;min-height:610px;position:relative;inset:auto}.world-panel:after{background:linear-gradient(#06100b20,#0000 25%,#02060420)}.town-ui-tools{z-index:8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0c1712d9;border:1px solid #405347;border-radius:10px;gap:6px;padding:5px;display:flex;position:absolute;top:12px;right:12px}.town-ui-tools button{color:#c6c7bb;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:10px;display:inline-flex}.town-drawer{z-index:7;opacity:0;visibility:hidden;pointer-events:none;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);width:min(320px,100% - 32px);max-height:calc(100% - 78px);margin:0;transition:transform .18s,opacity .18s,visibility .18s;top:58px;bottom:20px;position:absolute!important;overflow-y:auto!important}.town-drawer.open{opacity:1;visibility:visible;pointer-events:auto}.roster-drawer{left:26px;transform:translate(-18px)}.roster-drawer.open{transform:translate(0)}.inspector-drawer{right:26px;transform:translate(18px)}.inspector-drawer.open{transform:translate(0)}.town-events{z-index:30;max-height:180px;display:none;position:fixed;bottom:34px;left:18px;right:18px;overflow:auto}.world-label{white-space:nowrap;background:#0a120ea8;border-width:1px;padding:3px 6px;font-size:7px;box-shadow:0 2px 8px #0005}.agent-bubble{border-radius:7px;width:128px;padding:5px 7px}.agent-bubble span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (max-width:760px){.app-shell{grid-template-rows:auto}.metric-strip{padding:7px 10px}.workspace{min-height:68svh;padding:0 8px 8px;display:block}.world-panel{height:68svh;min-height:500px;max-height:none}.town-ui-tools{top:8px;right:8px}.town-ui-tools button{justify-content:center;width:34px;padding:0;font-size:0}.town-drawer{z-index:40;width:auto;max-height:62svh;inset:auto 8px 8px;transform:translateY(18px);position:fixed!important}.town-drawer.open{transform:translateY(0)}.town-events{max-height:45svh;bottom:8px;left:8px;right:8px}.agent-bubble{width:104px}}.app-shell{background:#11142b;grid-template-rows:58px 0 minmax(680px,1fr) 0 0;min-height:100svh}.workspace:not(:has(.town-drawer.open)){grid-template-columns:minmax(0,1fr)}.topbar{z-index:60;background:linear-gradient(#11142bf5,#171a35e8);border:0;margin:0;padding:0 20px}.brand-mark{background:radial-gradient(circle,#ffe7a82b,#0000 70%);border:1px solid #f4d88b80;border-radius:50%;position:relative}.brand-mark:after{content:"";border:1px solid #e7cf8d3d;border-radius:50%;position:absolute;inset:-5px}.brand small{opacity:.66;letter-spacing:.08em}.world-status{background:#ffffff0a;border:1px solid #eee1b924;border-radius:999px;padding:6px 12px}.header-actions .icon-button,.header-actions .primary{color:#fff5d6;background:#fff8df0b;border-color:#eed18b42}.metric-strip{display:none}.world-panel{min-height:680px;box-shadow:none;border:0;border-radius:0}.world-panel:before{z-index:4;content:"";pointer-events:none;background:radial-gradient(circle at 50% 44%,#0000 45%,#090b2036 82%),linear-gradient(#0f12334d 0,#0000 18% 74%,#0c0e27a8 100%);position:absolute;inset:0}.scene-title{box-shadow:none;color:#fff8df;background:0 0;border:0;top:24px;left:28px}.scene-title span{letter-spacing:.04em;font-family:Georgia,Times New Roman,serif;font-size:17px}.scene-title small{color:#e6d69c;letter-spacing:.12em;text-transform:uppercase}.chapter-mark{z-index:8;color:#fff8df;text-align:center;text-shadow:0 2px 14px #07081a;pointer-events:none;justify-items:center;display:grid;position:absolute;top:23px;left:50%;transform:translate(-50%)}.chapter-mark:before,.chapter-mark:after{content:"";background:linear-gradient(90deg,#0000,#f4d98c8f);width:72px;height:1px;position:absolute;top:17px}.chapter-mark:before{right:calc(100% + 14px)}.chapter-mark:after{left:calc(100% + 14px);transform:scaleX(-1)}.chapter-mark span{color:#f3d789;letter-spacing:.24em;font-size:9px}.chapter-mark b{margin:4px 0 2px;font:500 18px/1.1 Georgia,Times New Roman,serif}.chapter-mark small{opacity:.7;letter-spacing:.06em;font-size:9px}.guiding-quest{z-index:8;color:#f9f2df;-webkit-backdrop-filter:blur(14px)saturate(125%);backdrop-filter:blur(14px)saturate(125%);background:linear-gradient(145deg,#171a35db,#292747c7);border:1px solid #f3daa25c;border-radius:6px 18px 18px;width:232px;padding:15px 16px;position:absolute;top:94px;left:28px;box-shadow:0 16px 40px #090a1d4d}.quest-kicker{color:#edce78;letter-spacing:.18em;align-items:center;gap:6px;margin-bottom:8px;font-size:9px;display:flex}.guiding-quest strong{font:500 16px/1.25 Georgia,Times New Roman,serif;display:block}.guiding-quest p{color:#dfdccf;margin:7px 0 11px;font-size:10px;line-height:1.55}.quest-progress{background:#ffffff17;border-radius:4px;height:3px;overflow:hidden}.quest-progress i{border-radius:inherit;background:linear-gradient(90deg,#d89d5d,#ffe69b);height:100%;display:block;box-shadow:0 0 10px #ffd270}.guiding-quest>small{color:#c3bea9;margin-top:7px;font-size:9px;display:block}.agent-whisper{z-index:9;color:#fff8e4;text-align:left;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#171a35d6;border:1px solid #f0d58c4f;border-radius:24px 10px 10px 24px;align-items:center;gap:11px;width:min(330px,100% - 56px);padding:10px 13px;display:flex;position:absolute;bottom:78px;left:28px;box-shadow:0 12px 32px #07081b52}.whisper-portrait{border:1px solid #ffe5a989;border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font:600 15px Georgia,serif;display:grid;box-shadow:0 0 0 4px #ffffff0b}.agent-whisper>span:last-child{min-width:0;display:grid}.agent-whisper small{color:#e7ca79;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:4px;font-size:8px;display:flex}.agent-whisper b{margin:2px 0;font:500 14px Georgia,serif}.agent-whisper em{color:#d8d5c9;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-style:normal;overflow:hidden}.constellation-lines{z-index:5;opacity:.55;pointer-events:none;width:115px;height:82px;position:absolute;top:98px;right:38px}.constellation-lines:before,.constellation-lines:after{content:"";background:linear-gradient(90deg,#0000,#ffe6a4,#0000);width:88px;height:1px;position:absolute;transform:rotate(24deg)}.constellation-lines:after{top:44px;left:20px;transform:rotate(-34deg)}.constellation-lines i{background:#fff1b4;border-radius:50%;width:4px;height:4px;position:absolute;box-shadow:0 0 10px #ffe182}.constellation-lines i:first-child{top:2px;left:5px}.constellation-lines i:nth-child(2){top:28px;left:68px}.constellation-lines i:nth-child(3){top:62px;left:24px}.constellation-lines i:nth-child(4){bottom:4px;right:3px}.town-ui-tools{background:#151830b8;border-radius:999px;padding:4px;top:22px;right:24px}.camera-tools,.speed-controls{z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#171a35d6;border:1px solid #f0d58b4a;bottom:20px;box-shadow:0 12px 32px #07081b4d}.camera-tools{border-radius:999px 0 0 999px;left:50%;transform:translate(-100%)}.speed-controls{border-left:0;border-radius:0 999px 999px 0;right:50%;transform:translate(100%)}.camera-tools button,.speed-controls button{color:#eee8d7}.town-drawer{background:linear-gradient(145deg,#fffaf0ed,#eee8dfdf);border:1px solid #eed28b57;border-radius:8px 22px 22px;top:76px;bottom:82px;box-shadow:0 20px 52px #090a1e66}.inspector-drawer{border-radius:22px 8px 22px 22px}.town-events.open{background:#fffaf0ed;border:1px solid #eed28b57;border-radius:18px;bottom:78px}footer{display:none}@media (max-width:760px){.app-shell{grid-template-rows:52px 0 minmax(0,1fr)}.topbar{padding:0 10px}.brand small,.world-status b,.world-status .weather,.header-actions .icon-button{display:none}.world-status{padding:4px 8px;font-size:9px}.header-actions .primary{justify-content:center;width:34px;padding:0;font-size:0}.workspace,.world-panel{height:calc(100svh - 52px);min-height:calc(100svh - 52px)}.world-panel{border-radius:0}.scene-title{top:14px;left:12px}.scene-title span{font-size:13px}.scene-title small,.chapter-mark small,.guiding-quest,.constellation-lines{display:none}.chapter-mark{top:14px}.chapter-mark b{font-size:14px}.chapter-mark:before,.chapter-mark:after{display:none}.town-ui-tools{top:10px;right:8px}.agent-whisper{width:calc(100% - 20px);padding:8px 10px;bottom:70px;left:10px}.whisper-portrait{flex-basis:36px;width:36px;height:36px}.camera-tools{left:10px;transform:none}.speed-controls{border-left:1px solid #f0d58b4a;border-radius:999px;right:10px;transform:none}.town-drawer{border-radius:18px;max-height:72svh;bottom:10px}.town-events.open{bottom:10px}}:root{--story-ink:#191b35;--story-indigo:#27294d;--story-gold:#f0c978;--story-cream:#fff8e8;--story-mist:#dae8e4}body{color:var(--story-ink);background:radial-gradient(circle at 18% 12%,#ece3ff 0,#0000 31%),linear-gradient(145deg,#d7e9e8 0%,#f7efd9 52%,#dedcf1 100%)}.app-shell{background:linear-gradient(#f6f1e9e8,#dfece8e0)}.topbar{background:#171a35eb;border-bottom-color:#6f698b4d;box-shadow:0 8px 28px #1b18334d}.brand-mark,.brand b,.brand small{color:var(--story-cream)}.metric-card,.town-drawer,.town-events{background:#fffaf0dc;border-color:#7e779652;box-shadow:0 10px 34px #3c385625}.metric-card b,.panel-title,.person-copy strong,.agent-detail h2{color:#272844}.world-panel{background:#171a35;border:1px solid #f0c9788c;border-radius:22px;overflow:hidden;box-shadow:0 22px 52px #30324c45,inset 0 0 0 1px #fff8d924}.world-panel:after{pointer-events:none;background:radial-gradient(circle at 50% 15%,#0000 28%,#12152d17 68%),linear-gradient(#11142a12,#0000 50%,#0b0d2057)}.town-ui-tools{background:#171a35c9;border-color:#f1d28e70;border-radius:14px;box-shadow:0 10px 28px #0b0d1f42}.town-ui-tools button{color:#f6f0df;border-radius:10px}.town-ui-tools button:hover,.town-ui-tools button.active{color:#fff0b7;background:#5d4d78a6;border-color:#f3cf7c}.world-label{color:#fff5d3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1b1d3bc9;border-radius:999px;box-shadow:0 4px 16px #10112661;border:1px solid #f1d7969c!important}.agent-bubble{color:#24243e;background:#fff9eede;border-color:#f0d089;border-radius:14px;box-shadow:0 8px 22px #22233d35}.bottom-bar,footer{color:#504f68;background:#f7f1e6d9;border-color:#7c789443}.primary-button,.speed-button.active{color:#fff8df;background:linear-gradient(145deg,#5e527d,#343653);border-color:#d6af5b}@media (max-width:760px){.world-panel{border-radius:16px}.town-ui-tools{max-width:calc(100% - 16px);top:8px;right:8px;overflow-x:auto}}.growth-stat em{background:linear-gradient(90deg,#d5a749,#65a97e)}.app-shell{background:#f7f6f1;grid-template-rows:52px 92px minmax(0,1fr) 118px 26px}.topbar{background:#f7f6f1;border-bottom:0}.metric-strip{background:#f7f6f1;grid-template-columns:repeat(5,1fr);gap:10px;padding:0 14px 10px;display:grid}.metric-card{background:#fffefa;border:1px solid #e8e6df;border-radius:11px;padding:11px 13px 9px;position:relative;overflow:hidden;box-shadow:0 2px 10px #4b58440a}.metric-card>span{color:#7b827a;font-size:9px}.metric-card div{margin-top:3px;line-height:1}.metric-card b{color:#27332d;font:650 24px/1 Georgia,serif}.metric-card small{color:#9aa097;margin-left:4px;font-size:8px}.metric-card p{color:#9a9e96;margin:5px 0 0;font-size:7px}.metric-card i{background:#e8e9e2;width:43px;height:2px;position:absolute;top:34px;right:12px}.metric-card em{background:#82936d;height:100%;display:block}.workspace{background:#f7f6f1;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:10px;padding:0 14px 10px;overflow-y:auto}.left-rail,.world-panel,.inspector{border:1px solid #e4e6df;border-radius:12px;box-shadow:0 4px 18px #3343390c}.left-rail{background:#fffefa;grid-area:1/2;padding:15px 13px;overflow:visible}.rail-heading{justify-content:space-between;align-items:center;display:flex}.rail-heading span{font:700 13px Georgia,serif}.rail-heading small{color:#a0a59e;letter-spacing:.12em;font-size:7px}.rail-copy{color:#8b918a;margin:5px 0 15px;font-size:8px;line-height:1.5}.left-rail .people-panel{border-top:1px solid #edf0e9;padding-top:12px}.left-rail .people-list{grid-template-columns:1fr;gap:6px}.left-rail .people-list button{background:#f8f8f4;border-color:#ecece5;min-height:43px}.left-rail .people-list button.selected{background:#eef2e8;border-color:#aebd9e}.left-rail .project-panel{border-top:1px solid #edf0e9;margin-top:16px;padding-top:13px}.left-rail .project-line{grid-template-columns:30px 1fr 29px;padding:7px}.left-rail .project-icon{width:28px;height:28px}.left-rail .resources{flex-direction:column;gap:5px}.world-panel{background:#dce9df;border-right:1px solid #e4e6df;grid-area:1/1/span 2;align-self:stretch;height:100%;min-height:520px;position:sticky;top:0}.inspector{background:#fffefa;grid-area:2/2;padding:15px;overflow:visible}.bottom-dock{background:#fffefa;border:1px solid #e4e6df;border-radius:11px;margin:0 14px 8px;display:block;box-shadow:0 3px 14px #3343390b}.bottom-dock>div{border-right:0;padding:11px 15px}.event-list{grid-template-columns:repeat(4,1fr);gap:11px;display:grid}.event-list>div{grid-template-columns:31px 7px 1fr;min-width:0}.left-rail .people-list button,.left-rail .project-line,.inspector .identity,.inspector .state-grid>div,.inspector .info-card,.inspector .detail-section{box-shadow:0 3px 12px #34463a0a}.inspector .identity,.inspector .detail-section{background:#fbfcf8;border:1px solid #e8ebe4;border-radius:10px;padding:12px}.inspector .detail-section{margin-top:9px}.inspector .detail-section h2{margin-bottom:10px}@media (max-width:900px){.metric-strip{grid-template-columns:repeat(3,1fr)}.metric-card:nth-child(n+4){display:none}.workspace{grid-template-columns:minmax(0,1fr) 300px}}@media (max-width:680px){.app-shell{grid-template-rows:58px auto 520px auto 28px}.metric-strip{grid-template-columns:repeat(2,1fr);padding:8px}.metric-card:nth-child(3){display:none}.workspace{grid-template-rows:420px auto auto;grid-template-columns:1fr;padding:0 8px 8px;overflow:visible}.world-panel{grid-area:1/1;min-height:420px;position:relative}.left-rail{grid-area:2/1}.inspector{grid-area:3/1}.left-rail .people-list{grid-template-columns:repeat(2,1fr)}.bottom-dock{margin:0 8px 8px}.event-list{grid-template-columns:1fr 1fr}}:root{--ink:#efe7d4;--muted:#9f9b8b;--line:#34463b;--paper:#0b1511;--green:#d0a85a}body,.app-shell,.topbar,.metric-strip,.workspace{background:#08110d}.topbar{border-bottom:1px solid #27372e}.brand-mark,.primary{color:#14130d;background:linear-gradient(145deg,#d7ad59,#80652d);border-color:#d7ad59;box-shadow:0 0 20px #d7ad5930}.brand b{color:#f5ddb0;text-shadow:0 0 16px #e5b55d33}.brand small,.world-status,.metric-card>span,.metric-card p{color:#8f978e}.world-status b{color:#e7c77d}.dot{background:#dfbd68;box-shadow:0 0 0 4px #d8aa4d1c,0 0 12px #d8aa4d}.icon-button{color:#d9c79e;background:#111d17;border-color:#304238}.metric-card,.left-rail,.inspector,.bottom-dock{background:linear-gradient(160deg,#14221b,#0d1712);border-color:#2f4237;box-shadow:0 8px 28px #0008,inset 0 1px #ffffff05}.metric-card b,.rail-heading span,.section-heading h1,.dock-title>span{color:#f0e5cd}.metric-card i{background:#26372e}.metric-card em,.state-grid em,.project-line em,.relations em{background:linear-gradient(90deg,#8c7138,#e1bd6b)}.world-panel{background:#07110d;border-color:#384a3d;box-shadow:0 10px 40px #000c,0 0 0 1px #c69c4930}.world-panel:after{content:"";pointer-events:none;z-index:1;background:radial-gradient(circle at 52% 48%,#0000 42%,#02080570 100%),linear-gradient(#06100b30,#0000 35%,#02060455);position:absolute;inset:0}.world-panel>canvas{z-index:0;position:relative}.scene-title,.camera-tools,.speed-controls{z-index:2;color:#e8d7b5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#101b16e8;border-color:#425342}.camera-tools button.active,.speed-controls button.active{color:#17150e;background:#d4ad5b}.world-label{color:#f1ddb0;background:#0a120eea;box-shadow:0 0 14px #d2a64b35;border-color:#caa653!important}.agent-bubble{color:#f4e5c5;background:#101a16ef;border-color:#465647;box-shadow:0 5px 20px #0009}.agent-bubble span{color:#b7b3a5}.agent-bubble i{color:#f0d28e;background:#493d24}.left-rail .people-panel,.left-rail .project-panel,.detail-section{border-color:#2b3b32}.left-rail .people-list button,.left-rail .project-line,.inspector .identity,.inspector .detail-section{color:#ddd5c1;background:#111d17;border-color:#2c4034}.left-rail .people-list button.selected{background:#362f1e;border-color:#c8a351;box-shadow:0 0 18px #d1a54e22}.mini-avatar,.portrait{box-shadow:inset 0 0 0 2px #ffffff1a,0 0 16px #0008}.state-grid>div{background:#101b16;border-color:#2f4137}.state-grid i,.project-line i,.relations i{background:#26352d}.state-grid .growth-stat{background:linear-gradient(90deg,#2b2619,#17241a)}.info-card{color:#e7d8b4;background:#282316}.info-card p{color:#f0dfbd}.card-label{color:#ddb969}.goal-icon{color:#dfbd6b;background:#332c1b}.memory,.relations button{color:#b6b2a3}.follow-button{color:#15130d;background:linear-gradient(90deg,#92743b,#d1aa59)}.resources span{color:#8f998f;background:#101a15;border-color:#283930}.event-list p{color:#c7c2b3}.event-list>div:not(:last-child) p{border-color:#27372f}footer{color:#777f77;background:#050b08;border-top:1px solid #203027}@media (max-width:760px){html,body{height:auto;min-height:100%;overflow:hidden auto}.app-shell{flex-direction:column;width:100%;height:auto;min-height:100svh;display:flex}.topbar{z-index:20;flex:0 0 56px;gap:8px;padding:0 10px;position:sticky;top:0}.brand{flex:auto;min-width:0}.brand small,.weather,.world-status>span:not(.dot),.icon-button{display:none}.world-status{flex:none;gap:7px}.world-status b{white-space:nowrap;font-size:9px}.header-actions{flex:0 0 38px;min-width:38px}.header-actions .primary{width:38px;min-width:38px;padding:0;font-size:0}.header-actions .primary svg{display:block}.metric-strip{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;flex:none;gap:8px;padding:9px 10px;display:flex;overflow-x:auto}.metric-strip::-webkit-scrollbar{display:none}.metric-card,.metric-card:nth-child(n){scroll-snap-align:start;flex:0 0 148px;min-height:76px;display:block}.workspace{flex:none;grid-template-rows:minmax(430px,58svh) auto auto;grid-template-columns:minmax(0,1fr);gap:10px;padding:0 10px 10px;display:grid;overflow:visible}.world-panel{grid-area:1/1;width:100%;height:58svh;min-height:430px;max-height:620px;position:relative;top:auto}.left-rail{grid-area:2/1;width:100%}.inspector{grid-area:3/1;width:100%}.scene-title{max-width:calc(100% - 20px);top:10px;left:10px}.camera-tools{bottom:10px;left:10px}.speed-controls{bottom:10px;right:10px}.camera-tools button{width:34px;padding:0;font-size:0}.speed-controls button{min-width:31px;padding:0 7px}.agent-bubble{width:112px;padding:5px 6px}.left-rail .people-list{grid-template-columns:1fr 1fr}.left-rail .people-list button,.follow-button,.relations button{min-height:44px}.bottom-dock{flex:none;margin:0 10px 10px}.event-list{grid-template-columns:1fr}footer{min-height:30px;padding:0 10px}footer span:nth-child(2){display:none}}@media (max-width:390px){.brand b{font-size:12px}.world-status b{display:none}.left-rail .people-list{grid-template-columns:1fr}.world-panel{min-height:400px}}.app-shell{grid-template-rows:52px 72px minmax(620px,1fr) 0 26px}.workspace{min-height:620px;padding:0 14px 10px;display:block;position:relative;overflow:hidden}.world-panel{width:100%;height:100%;min-height:610px;position:relative;top:auto}.town-events{display:none}.world-label{background:#0a120ea8;padding:3px 6px;font-size:7px;box-shadow:0 2px 8px #0005}@media (max-width:760px){.workspace{min-height:68svh;padding:0 8px 8px;display:block}.world-panel{height:68svh;min-height:500px;max-height:none}.town-drawer{width:auto;max-height:62svh;inset:auto 8px 8px;position:fixed!important}.town-events{max-height:45svh;position:fixed;bottom:8px;left:8px;right:8px}}.app-shell{grid-template-rows:58px 0 minmax(680px,1fr) 0 0;min-height:100svh}.metric-strip,footer{display:none}.workspace{min-height:680px;padding:0}.world-panel{border-radius:0;height:100%;min-height:680px}@media (max-width:760px){.app-shell{grid-template-rows:52px 0 minmax(0,1fr)}.workspace,.world-panel{height:calc(100svh - 52px);min-height:calc(100svh - 52px);max-height:none}.workspace{padding:0}.world-panel{border-radius:0}.town-drawer{max-height:72svh;bottom:10px}.town-events{max-height:58svh;bottom:10px}}.topbar{height:58px;box-shadow:none;background:#15182fed;border-bottom:1px solid #ffffff14;padding:0 18px}.brand-mark:after,.chapter-mark,.constellation-lines{display:none}.brand b{letter-spacing:.16em}.brand small{opacity:.58}.world-status{background:#ffffff08;border-color:#ffffff14;gap:8px;padding:5px 10px}.header-actions{gap:6px}.header-actions button{box-shadow:none}.world-panel:before{background:linear-gradient(#0b0d201f 0,#0000 20% 78%,#0b0d2042 100%)}.world-panel:after{display:none}.scene-title{top:18px;left:18px}.scene-title span{letter-spacing:.02em;font:500 14px/1.2 system-ui,sans-serif}.scene-title small{letter-spacing:.1em;margin-top:3px;font-size:8px}.guiding-quest{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#171a35d9;border-color:#ffffff21;border-radius:12px;width:205px;padding:12px 13px;top:70px;left:18px;box-shadow:0 10px 26px #090a1d38}.quest-kicker{margin-bottom:6px;font-size:8px}.guiding-quest strong{font:600 13px/1.3 system-ui,sans-serif}.guiding-quest p{display:none}.quest-progress{margin-top:10px}.town-ui-tools{box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#171a35d9;border-color:#ffffff1c;border-radius:10px;gap:2px;padding:3px;top:18px;right:18px}.town-ui-tools button{border-radius:7px;height:30px;padding:0 9px}.agent-whisper{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#171a35dc;border-color:#ffffff1f;border-radius:12px;width:285px;padding:9px 11px;bottom:18px;left:auto;right:18px;box-shadow:0 10px 28px #08091b3d}.whisper-portrait{width:36px;height:36px;box-shadow:none;border:0;flex-basis:36px}.camera-tools,.speed-controls{box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#171a35df;border-color:#ffffff1f;bottom:18px}.camera-tools button,.speed-controls button{height:34px}.town-drawer{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-color:#d3ccb84d;border-radius:14px;width:min(330px,100% - 36px);top:64px;bottom:64px;box-shadow:0 14px 34px #090a1e45}.roster-drawer{left:18px}.inspector-drawer{right:18px}.town-events.open{border-radius:12px;max-height:160px;bottom:64px;left:18px;right:18px;box-shadow:0 12px 30px #090a1e3d}@media (max-width:760px){.topbar{height:52px;padding:0 9px}.brand small,.scene-title,.guiding-quest,.world-status b,.world-status .weather,.header-actions .icon-button{display:none}.world-status{padding:4px 7px}.town-ui-tools{top:9px;right:9px}.town-ui-tools button{width:32px;padding:0}.agent-whisper{width:auto;padding:7px 9px;bottom:62px;left:9px;right:9px}.agent-whisper em{max-width:72vw}.camera-tools,.speed-controls{bottom:10px}.camera-tools{left:9px;transform:none}.speed-controls{right:9px;transform:none}.town-drawer{border-radius:14px;width:auto;max-height:74svh;bottom:9px;left:9px;right:9px}.town-events.open{max-height:52svh;bottom:9px;left:9px;right:9px}}.observer-level{color:#f5d98b;white-space:nowrap;background:#efd17b1a;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:700}.project-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:10px;display:grid}.project-actions button,.quest-guide{color:#fff4d5;cursor:pointer;background:#292b49;border:1px solid #5f5b7440;border-radius:8px;min-height:32px;font-size:10px;font-weight:700}.project-actions button:disabled,.quest-guide:disabled{opacity:.38;cursor:not-allowed}.quest-guide{color:#f7dda0;background:#f0d37b17;border-color:#eed18738;width:100%;min-height:28px;margin-top:9px;font-size:9px}.quest-guide:not(:disabled):hover,.project-actions button:not(:disabled):hover{background:#494366;border-color:#e7c76a}@media (max-width:760px){.observer-level,.quest-guide{display:none}}.guiding-quest,.agent-whisper,.constellation-lines{display:none!important}.workspace{background:#11142b;grid-template-columns:minmax(0,1fr) 350px;align-items:stretch;height:auto;min-height:calc(100svh - 58px);display:grid;overflow:visible}.world-panel{grid-area:1/1;height:calc(100svh - 58px);min-height:640px}.town-drawer{opacity:1;visibility:visible;pointer-events:auto;width:350px;max-width:100%;height:calc(100svh - 58px);max-height:none;box-shadow:none;border-width:0 0 0 1px;border-radius:0;margin:0;display:none;position:static!important;inset:auto!important;overflow-y:auto!important;transform:none!important}.town-drawer.open{grid-area:1/2;display:block}.town-ui-tools{top:14px;right:14px}.agent-bubble{color:#fff4d0;text-align:center;pointer-events:none;background:#171a35e8;border:1px solid #f0d58a80;border-radius:999px;width:auto;min-width:82px;padding:4px 7px;box-shadow:0 5px 12px #08091a3d}.agent-bubble strong{white-space:nowrap;font-size:8px;display:block}.agent-bubble i{color:#dfc67e;font-size:7px;font-style:normal;display:block}.talk-indicator{color:#ffe19a;letter-spacing:2px;text-align:center;pointer-events:none;background:#171a35df;border:1px solid #f0d58a80;border-radius:999px;min-width:29px;padding:2px 7px 4px;font-size:10px;line-height:1;box-shadow:0 4px 10px #08091a3d}.town-events,.town-events.open{width:100%;max-height:none;box-shadow:none;border:0;border-top:1px solid #d3ccb84d;border-radius:0;margin:0;display:none;position:static}.town-events.open{display:block}@media (max-width:760px){body{overflow-y:auto}.app-shell{height:auto;min-height:100svh}.workspace{grid-template-rows:68svh auto;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;display:grid;overflow:visible}.world-panel{grid-area:1/1;height:68svh;min-height:470px}.town-drawer,.town-drawer.open{border-width:1px 0 0;border-radius:0;grid-area:2/1;width:100%;height:auto;max-height:none;position:static!important;overflow:visible!important}.town-ui-tools{top:9px;right:9px}.town-events.open{max-height:none;position:static}}
