:root{--bg:#0b141b;--panel:#111f29;--panel-2:#182935;--text:#eaf0f2;--muted:#a6b8c2;--line:#ffffff1a;--accent:#e5bd83;--accent-2:#81bebc;--user:#244452;--assistant-bubble:#1b303b;--game-serif:Georgia, "Times New Roman", serif;--scene-text:#edf1ee;--scene-gold:#e5bd83;--scene-line:#ffffff25;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root body{background:var(--bg);color:var(--text);font:16px/1.55 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root body :is(button,input,textarea,select){font-family:inherit}:root body button{touch-action:manipulation}:root body :is(button,a,summary,input,select,textarea):focus-visible{outline-offset:4px;outline:2px solid #8fd5d0}:root body :is(input,textarea,select){min-height:44px;color:var(--text);background:#0d1a23;border:1px solid #526470;border-radius:8px;padding:12px;font-size:16px}:root body input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--accent-2)}:root body label{font-size:14px}:root body .eyebrow,:root body .story-kicker,:root body .studio-kicker{color:var(--accent);letter-spacing:.14em;font-size:12px;font-weight:600}:root body .button{letter-spacing:0;text-transform:none;min-height:44px;box-shadow:none;border-radius:8px;padding:11px 16px;font-size:14px;font-weight:600}:root body .button.primary{background:var(--accent);color:#17232a;border:1px solid var(--accent)}:root body .button.secondary,:root body .button.ghost{color:var(--text);background:#ffffff06;border:1px solid #ffffff28}:root body .button.danger{color:#ffb1a5;border-color:#dd8c784d}:root body .button:hover:not(:disabled){filter:brightness(1.1);transform:none}:root body button:disabled{cursor:default;opacity:.45}:root body .shell{background:var(--bg);grid-template-columns:96px minmax(0,1fr);height:100dvh;min-height:100dvh}:root body .shell .sidebar{border-right:1px solid var(--line);z-index:25;background:#08121a;flex-direction:column;gap:25px;height:100dvh;padding:22px 12px 16px;display:flex;position:relative;overflow:visible}:root body .game-brand{color:var(--text);cursor:pointer;background:0 0;border:0;justify-items:center;gap:8px;padding:0;display:grid}:root body .game-brand-mark{width:48px;height:48px;color:var(--accent);font:28px var(--game-serif);box-shadow:none;background:0 0;border:1px solid #e5bd8355;border-radius:12px;justify-content:center;align-items:center;gap:1px;display:flex}:root body .game-brand-mark span{margin-top:12px;font:10px sans-serif}:root body .game-brand>strong{letter-spacing:.04em;font-size:11px}:root body .shell .nav{flex-direction:column;gap:9px;display:flex}:root body .nav-item,:root body .game-history-menu>summary{color:#9cabb5;cursor:pointer;text-align:center;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-height:66px;padding:8px 3px;font-size:12px;display:flex}:root body .nav-item.active{color:var(--accent);box-shadow:none;background:#e5bd8310;border-color:#e5bd832a}:root body .nav-item>span{display:block}:root body .nav-item.active:before{display:none}:root body .nav-item svg,:root body .game-history-menu summary svg{width:22px;height:22px}:root body .game-history-menu{position:relative}:root body .game-history-menu>summary{list-style:none}:root body .game-history-menu>summary::-webkit-details-marker{display:none}:root body .game-history-menu>div{background:#172832;border:1px solid #6a7d87;border-radius:12px;width:220px;padding:8px;position:absolute;top:0;left:86px;box-shadow:0 16px 60px #0008}:root body .game-history-menu button{width:100%;min-height:48px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:10px;font-size:14px;display:flex}:root body .game-history-menu button:hover,:root body .game-history-menu button[aria-current]{color:var(--accent);background:#ffffff0c}:root body .game-rail-time{color:var(--muted);justify-items:center;gap:6px;margin-top:auto;font-size:12px;display:grid}:root body .game-rail-time strong{color:var(--text);font-size:14px}:root body .game-rail-time button{border:1px solid var(--line);width:44px;height:44px;color:var(--accent);background:#16252e;border-radius:50%}:root body .shell>.content{background:var(--bg);flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}:root body .content>.panel-tab{flex:1;height:auto;min-height:0}:root body .game-context-bar{border-bottom:1px solid var(--line);background:#0d1922;flex:none;align-items:center;gap:24px;min-height:68px;padding:12px 32px;display:flex}:root body .game-return{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;min-height:44px;font-size:14px;display:flex}:root body .game-context-bar>div{border-left:1px solid var(--line);color:var(--muted);padding-left:24px;font-size:12px;display:grid}:root body .game-context-bar strong{color:var(--text);font-size:14px;font-weight:500}:root body .game-clock-label{white-space:nowrap;align-items:center;gap:10px;margin-left:auto;font-size:14px;display:flex}:root body .game-clock-label small{color:var(--muted);font-size:12px}:root body .topbar,:root body .studio-top{border-bottom:1px solid var(--line);background:0 0;gap:20px;min-height:auto;padding:30px 36px 24px}:root body .topbar h2,:root body .studio-top h2{font:38px/1.15 var(--game-serif);letter-spacing:-.035em;color:var(--text);margin:8px 0}:root body .topbar p,:root body .studio-top p{color:var(--muted);max-width:650px;font-size:14px;line-height:1.6}:root body .panel-body,:root body .panel-body.narrow{width:min(1200px,100% - 72px);padding:30px 0 60px}:root body .panel-body.narrow{width:min(1040px,100% - 72px)}:root body :is(.setting-card,.memory-card,.npc-list-card,.npc-editor-card,.news-card,.news-engine-card,.calendar-card,.time-machine-card){background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:12px}:root body :is(.setting-card,.npc-editor-card,.news-card){padding:24px}:root body :is(.setting-card,.news-card,.npc-editor-card) h3{color:var(--text);letter-spacing:-.02em;font-size:20px}:root body :is(.setting-card,.switch-row,.memory-card,.npc-section-title,.news-card,.npc-list-head) p,:root body .setting-card small{color:var(--muted);font-size:14px;line-height:1.65}:root body :is(.settings-grid,.npc-form-grid,.world-grid) label{color:#c7d6dd;gap:8px;font-size:14px}:root body .settings{gap:22px;scroll-padding-top:20px}:root body .options-nav{flex-wrap:wrap;gap:8px;display:flex}:root body .options-nav a{border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:10px 15px;font-size:14px;text-decoration:none}:root body .options-nav a:hover{color:var(--accent);border-color:var(--accent)}:root body .api-card{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}:root body .switch-row{background:var(--panel);border-radius:10px;padding:18px 22px}:root body .switch-row strong{font-size:16px}:root body .switch-row small{font-size:14px;line-height:1.5}:root body .usage-stats>div,:root body .startup-times>div{border:1px solid var(--line);background:#0d1922;border-radius:8px;padding:14px}:root body .usage-stats strong{color:var(--accent);font-size:22px}:root body .usage-stats span,:root body .session-slot-meta,:root body .session-manager-note{color:var(--muted);font-size:12px;line-height:1.6}:root body .session-slot{border:1px solid var(--line);background:#0d1922;border-radius:10px;gap:20px;padding:20px}:root body .session-slot.active{background:#81bebc08;border-color:#81bebc66}:root body .session-slot-title strong{font-size:18px}:root body .session-badge{color:#a7d5d3;background:#81bebc12;border-color:#81bebc44;font-size:12px}:root body .memory-list{gap:14px}:root body .memory-card{padding:22px}:root body .memory-kind{color:var(--accent);background:#e5bd830c;border-color:#e5bd8340;font-size:12px}:root body .memory-card p{font-size:16px}:root body .mini-actions button{background:#1e313d;min-width:44px;min-height:44px}:root body .npc-layout{grid-template-columns:310px minmax(0,1fr);gap:24px}:root body .npc-list-card{align-self:start}:root body .npc-list-head{padding:22px}:root body .npc-list-item{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;min-height:88px;padding:16px}:root body .npc-list-item.active{background:#81bebc12;box-shadow:inset 3px 0 #81bebc}:root body .npc-list-copy strong{color:var(--text);font-size:16px}:root body .npc-list-copy small,:root body .npc-list-copy em{color:var(--muted);font-size:12px}:root body .npc-avatar{width:52px;height:60px;box-shadow:none;background:#243a44;border-radius:10px}:root body .npc-avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%}:root body .npc-presence-bar,:root body .npc-section,:root body .news-source-row{border-color:var(--line);background:0 0}:root body .npc-section-title strong{font-size:18px}:root body .npc-section-title span,:root body .npc-presence-bar small,:root body .news-statusbar,:root body .bridge-count{color:var(--muted);font-size:12px}:root body .npc-editor-portrait{object-fit:cover;border-radius:10px;width:88px;height:100px}:root body .news-layout{gap:24px}:root body .news-card h3{font:25px/1.25 var(--game-serif)}:root body .news-card time,:root body .news-card small{color:var(--muted);font-size:12px}:root body .empty{padding:40px 20px;font-size:16px}:root body .shell.profile-fullscreen-mode{grid-template-columns:96px minmax(0,1fr)}:root body .shell.profile-fullscreen-mode .sidebar{display:flex}:root body .profile-studio{background:var(--bg);color:var(--text);--studio-bg:var(--bg);--studio-panel:var(--panel);--studio-text:var(--text);--studio-muted:var(--muted);--studio-gold:var(--accent);--studio-line:var(--line)}:root body .studio-layout{grid-template-columns:280px minmax(0,1fr);gap:32px;max-width:1400px;padding:32px 36px 70px}:root body .studio-identity{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}:root body .studio-portrait{border-radius:0;height:310px}:root body .studio-portrait img{object-fit:cover}:root body .studio-portrait-empty{color:#a4c0cb;background:linear-gradient(135deg,#234553,#102431)}:root body .studio-identity-copy{padding:20px}:root body .studio-identity-copy h3{font:28px var(--game-serif)}:root body .studio-identity-copy p,:root body .studio-note{color:var(--muted);font-size:14px;line-height:1.65}:root body .profile-studio button{min-height:44px;color:var(--text);background:#152832;border-color:#526470;border-radius:8px;font-size:14px}:root body .profile-studio button.studio-primary{background:var(--accent);color:#17232a;border-color:var(--accent)}:root body .studio-editor{border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:visible}:root body .studio-tabs{border-bottom:1px solid var(--line);background:#0e1b25;border-radius:12px 12px 0 0;gap:4px;padding:12px;overflow-x:auto}:root body .studio-tabs button{color:var(--muted);background:0 0;border:0;flex:none;padding:10px 12px;font-size:14px}:root body .studio-tabs button[aria-current]{color:var(--accent);background:#e5bd8312}:root body .studio-section{padding:26px}:root body .studio-section-heading span{color:var(--accent);font-size:12px}:root body .studio-section-heading h3{font:32px/1.2 var(--game-serif);color:var(--text)}:root body .studio-section-heading p{color:var(--muted);font-size:16px;line-height:1.65}:root body .studio-fields{gap:22px}:root body .studio-field label,:root body .studio-fields>label,:root body .capability-editor label{color:#c7d6dd;font-size:14px}:root body .studio-field>div{align-items:center}:root body .studio-field>div button{min-width:44px;min-height:44px;color:var(--accent);background:0 0;padding:8px 10px}:root body .studio-savebar{color:var(--muted);background:#0e1b25;border-top:1px solid #526470;border-radius:0 0 12px 12px;padding:16px 24px}:root body .studio-savebar span{font-size:14px}:root body .studio-image-tools>section,:root body .studio-gallery article,:root body .studio-suggestion,:root body .studio-privacy label{background:#0d1922;border-color:#526470;border-radius:10px}:root body .studio-subsection h4,:root body .studio-image-tools h4{color:var(--text);font-size:20px}:root body .studio-notice{color:#ecceaa;background:#e5bd8310;border-color:#e5bd8350;font-size:14px}:root body .studio-confirm{color:var(--text);background:#172a36;border-color:#6b808c;border-radius:16px;padding:28px}:root body .studio-confirm p{color:var(--muted);font-size:16px}:root body .studio-confirm h3{font:30px/1.2 var(--game-serif)}:root body .capability-editor fieldset{background:#0d1922;border:1px solid #526470;border-radius:10px;padding:18px}:root body .capability-editor legend{color:var(--accent);font-size:16px}:root body .phone-panel-tab{flex-direction:column;display:flex}:root body .phone-embed-wrap{background:radial-gradient(at 50% 20%,#27465370,#0000 65%);padding:28px}:root body .phone-device.phone-embedded{background:#08151e;border:7px solid #263640;border-radius:36px;width:min(480px,100%);height:min(820px,100dvh - 265px);min-height:540px;box-shadow:0 22px 70px #0006}:root body .phone-statusbar{color:#e9eff2;background:#0c1c27;min-height:55px;padding:20px 20px 8px}:root body .phone-status-time span{font-size:12px}:root body .phone-screen.phone-home-screen{background:linear-gradient(155deg,#224954,#0e2535 70%)}:root body .phone-hero-widget{box-shadow:none;background:0 0;border:0;padding:22px 18px}:root body .phone-hero-widget:after{display:none}:root body .phone-hero-copy h2{font:60px/1.1 var(--game-serif);color:#eaf0f2}:root body .phone-hero-copy p{color:#a6c4cc;font-size:14px}:root body .phone-player-placeholder{color:#adcbd0;background:#294954;border:1px solid #8bb1ba55;border-radius:24px;place-items:center;width:100px;height:100px;display:grid;position:absolute;top:20px;right:18px}:root body .phone-hero-state{background:#0b202b88;border:1px solid #ffffff26;border-radius:12px;padding:16px}:root body .phone-hero-state span,:root body .phone-hero-state small{color:#b7cbd1;font-size:12px}:root body .phone-hero-state strong{color:#eaf0f2;font-size:16px}:root body .phone-app-grid{gap:16px;padding:12px 18px}:root body .phone-app-icon{background:0 0;border:0;border-radius:12px;min-height:114px}:root body .phone-app-symbol{background:#294452;border-radius:16px;width:54px;height:54px;font-size:26px}:root body .phone-app-icon.realdate-icon .phone-app-symbol{color:#fff;background:#b94f69}:root body .phone-app-icon strong{color:#edf3f4;font-size:14px}:root body .phone-app-icon small{color:#bed0d7;font-size:12px}:root body .phone-app-nav{min-height:54px;color:var(--text);background:#0e202c}:root body .phone-app-nav :is(button,h2){color:var(--text);font-size:16px}:root body .phone-app-screen{background:#0d1b25}:root body .phone-app-screen .calendar-card,:root body .phone-app-screen .time-machine-card{background:#152a36}:root body .calendar-day{border-radius:8px}:root body .calendar-day>span,:root body .phone-gallery-card small{font-size:12px}:root body .realdate{--date-accent:#b54261;--date-soft:#f5e5eb;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#302932;background:#f6f4f5;font-size:16px}:root body .realdate .realdate-nav{background:#f6f4f5;gap:0;margin:0 -6px 20px;padding:8px 0}:root body .realdate .realdate-nav button{min-height:44px;padding:9px 10px;font-size:14px}:root body .realdate .realdate-header{padding:12px 2px 18px}:root body .realdate .realdate-brand{letter-spacing:-1px;color:#302932;font-size:30px}:root body .realdate .realdate-header p{color:#706570;font-size:14px}:root body .realdate .realdate-card{border-color:#ded6dc;border-radius:14px;padding:20px;box-shadow:0 10px 30px #48313d07}:root body .realdate .realdate-portrait{align-items:end}:root body .realdate .realdate-portrait>img{border-radius:8px;width:100px;height:130px}:root body .realdate h3{font:28px/1.2 var(--game-serif)}:root body .realdate :is(input,textarea,select){color:#302932;background:#fff;border-color:#a89ba5;font-size:16px}:root body .realdate :is(button,label){font-size:14px}:root body .realdate button{min-height:44px}:root body .realdate .realdate-chips>span,:root body .realdate small,:root body .realdate-footnote{font-size:12px}:root body .realdate .realdate-card-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}:root body .realdate .realdate-card-actions button{border-radius:8px;width:100%;margin:0}:root body .realdate .world-chat{color:#302932;background:0 0}:root body .realdate .world-chat h3{color:#302932}:root body .realdate .world-chat-message p{font-size:16px}:root body .access-screen,:root body .onboarding-screen{background:linear-gradient(90deg,#08131b33,#08131bbd),url(/ui/fjord-title.webp) 50%/cover;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:50px;min-height:100dvh;padding:48px max(30px,6vw);display:grid}:root body .access-story,:root body .onboarding-story{max-width:570px;color:var(--text)}:root body .access-story h2,:root body .onboarding-story h2{font:clamp(42px,5vw,76px)/1.08 var(--game-serif);letter-spacing:-.035em;text-shadow:0 4px 30px #0006;margin:28px 0}:root body .access-story em,:root body .onboarding-story em{color:#e5bd83;font-weight:400}:root body .access-story p,:root body .onboarding-story p{color:#c9d8de;max-width:380px;font-size:16px}:root body .access-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#10212bed;border:1px solid #ffffff26;border-radius:16px;width:min(480px,100%);padding:40px;box-shadow:0 30px 80px #0005}:root body .access-card h1{font:38px/1.15 var(--game-serif);margin:18px 0}:root body .access-card p{color:var(--muted);font-size:16px}:root body .access-card label{gap:8px;margin:24px 0 16px;display:grid}:root body .access-card .button{width:100%;margin-top:12px}:root body .onboarding-screen{grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);align-items:start}:root body .onboarding-story{padding-top:38px;position:sticky;top:48px}:root body .onboarding-story ol{gap:10px;margin-top:40px;padding:0;list-style:none;display:grid}:root body .onboarding-story li{color:#b1c1c9;align-items:center;gap:16px;font-size:16px;display:flex}:root body .onboarding-story li>span{border:1px solid #ffffff2b;border-radius:50%;place-items:center;width:40px;height:40px;font-size:12px;display:grid}:root body .onboarding-story li[aria-current]{color:var(--accent)}:root body .onboarding-story li[aria-current]>span{color:#132330;background:var(--accent);border-color:var(--accent)}:root body .onboarding-dialog{background:#10212bf2;border:1px solid #ffffff26;border-radius:16px;width:100%;max-width:800px;padding:30px;box-shadow:0 30px 80px #0005}:root body .onboarding-head{border-color:var(--line)}:root body .onboarding-head h1{font:34px/1.2 var(--game-serif);color:var(--text)}:root body .onboarding-head p,:root body .onboarding-step-title span,:root body .onboarding-api span{color:var(--muted);font-size:14px;line-height:1.6}:root body .onboarding-progress span{border-color:var(--line);color:var(--muted);background:#152b38}:root body .onboarding-progress span.active{color:var(--accent);background:#e5bd831c;border-color:#e5bd8366}:root body .onboarding-step-title strong{color:var(--text);font-size:18px}:root body .onboarding-choice,:root body .onboarding-summary-card,:root body .onboarding-api{background:#0d1b25;border-color:#526470;border-radius:10px;padding:18px}:root body .onboarding-choice strong{color:var(--text);font-size:16px}:root body .onboarding-choice span{color:var(--muted);font-size:14px}:root body .onboarding-footer{border-color:var(--line);padding-top:22px}:root body .startup-overlay{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#041018b8}:root body .startup-dialog{background:#10222eed;border:1px solid #65808c;border-radius:16px;gap:20px;width:min(620px,100%);max-height:calc(100dvh - 32px);padding:36px;overflow:auto}:root body .startup-dialog h2{font:44px/1.1 var(--game-serif);color:var(--text);letter-spacing:-.03em}:root body .startup-dialog>p{color:var(--muted);font-size:16px}:root body .startup-dialog>small,:root body .startup-times span{color:var(--muted);font-size:12px}:root body .startup-times strong{color:var(--text);font-size:16px}:root body .startup-actions{grid-template-columns:1fr;gap:12px}:root body .startup-choice{background:#162e3c;border:1px solid #59727e;border-radius:10px;min-height:94px;padding:18px 20px}:root body .startup-choice.primary{background:var(--accent);border-color:var(--accent)}:root body .startup-choice strong{color:var(--text);font-size:16px}:root body .startup-choice span{color:var(--muted);font-size:14px}:root body .startup-choice.primary strong,:root body .startup-choice.primary span{color:#15252e}:root body .startup-custom{display:block}:root body .startup-custom summary{cursor:pointer;min-height:44px;color:var(--accent);padding:12px 0;font-size:14px}:root body .startup-custom label{margin:8px 0;font-size:14px}:root body .story-world{background:var(--bg);max-width:1500px;height:100dvh;color:var(--text);margin:auto;padding:32px max(22px,4vw) 60px;overflow-y:auto}:root body .story-header{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:24px}:root body .story-header h2{font:40px/1.15 var(--game-serif);color:var(--text)}:root body .story-header p{color:var(--muted);font-size:14px}:root body .fjord-scene{border-color:var(--line);background:linear-gradient(90deg,#10212b,#1b3746);border-radius:12px;height:220px;margin:22px 0}:root body .fjord-ridge,:root body .fjord-water{display:none}:root body .fjord-caption{padding:24px}:root body .fjord-caption h3{font:30px var(--game-serif);color:var(--text)}:root body .fjord-caption p{color:var(--muted);font-size:16px}:root body .story-tabs{background:0 0;border:0;gap:8px;margin-bottom:24px;padding:0;display:flex;overflow-x:auto}:root body .story-tabs button{border:1px solid var(--line);min-height:46px;color:var(--muted);white-space:nowrap;background:#122631;border-radius:8px;padding:12px 18px;font-size:14px}:root body .story-tabs button.selected{color:var(--accent);background:#e5bd8314;border-color:#e5bd8380}:root body .story-card{background:var(--panel);border:1px solid var(--line);box-shadow:none;border-radius:12px;padding:24px}:root body .story-card h3{font:28px/1.2 var(--game-serif)}:root body .story-card p{font-size:16px;line-height:1.6}:root body .story-card small,:root body .story-muted{color:var(--muted);font-size:14px;line-height:1.6}:root body .story-places{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}:root body .story-places article{background:#0d1b25;border:1px solid #526470;border-radius:10px;padding:24px}:root body .story-places article.current{background:#81bebc0c;border-color:#81bebc}:root body .story-places h4{font:24px/1.2 var(--game-serif)}:root body .story-places article>span{color:var(--accent);font-size:12px}:root body .story-places button,:root body .story-actions button{min-height:44px;color:var(--text);background:#1b3744;border:1px solid #526470;border-radius:8px;padding:10px 14px;font-size:14px}:root body .story-profile-image{object-fit:cover;border-radius:8px;width:80px;height:98px}:root body .story-journal li{background:0 0;border-left:1px solid #81bebc66;padding:0 0 30px 24px}:root body .story-journal time{color:var(--accent);font-size:12px}:root body .story-journal strong{font:24px var(--game-serif);margin:12px 0;display:block}:root body .shell.world-fullscreen-mode{grid-template-columns:minmax(0,1fr)}:root body .shell.world-fullscreen-mode .sidebar{display:none}:root body .shell.world-fullscreen-mode>.content{width:100%;height:100dvh}:root body .story-scene-canvas{--scene-gold:var(--accent);--scene-text:var(--text);--scene-line:#ffffff25;height:var(--scene-viewport,100dvh);background:#0c1b24;width:100%;font-size:16px;overflow:hidden}:root body .scene-ambient{background:linear-gradient(160deg,#254754,#102431 65%,#0b1b24)}:root body .scene-ambient:not(.is-playing){background:linear-gradient(90deg,#07121a44,#07121a88),url(/ui/fjord-title.webp) 50%/cover}:root body .scene-ambient.is-indoor{background:radial-gradient(at 20% 40%,#76523940,#0000 70%),linear-gradient(150deg,#2b3941,#111f29)}:root body .scene-light-falloff{background:linear-gradient(#06121ad9 0%,#0000 45%,#06121ade 100%)}:root body .scene-hud-top{align-items:start;top:28px;left:34px;right:30px}:root body .scene-location h1{font:44px/1.1 var(--game-serif);letter-spacing:-.03em;margin:10px 0}:root body .scene-location .scene-eyebrow{color:var(--accent);letter-spacing:.13em;font-size:12px}:root body .scene-location p{color:#b7cbd2;font-size:14px}:root body .scene-tool{background:#122532bf;border:1px solid #738a9566;border-radius:8px;min-height:44px;padding:11px 14px;font-size:14px!important}:root body .scene-tool:hover:not(:disabled){background:#254452}:root body .scene-your-character{top:180px;left:34px}:root body .scene-player-badge{background:#10222dd9;border:1px solid #ffffff30;border-radius:10px;gap:12px;padding:10px 14px 10px 10px}:root body .scene-player-avatar{background:#264553;border-color:#81bebc88;border-radius:8px;width:48px;height:52px}:root body .scene-player-badge small{letter-spacing:.12em;color:#8fc8c5;font-size:10px}:root body .scene-player-badge strong{color:#f0f4f4;font-size:16px}:root body .scene-player-badge em{color:#b5c8d0;font-size:12px}:root body .scene-player-details{background:#132935fa;border-color:#6b8390;border-radius:12px;width:330px;padding:24px;top:95px}:root body .scene-player-details p{color:var(--muted);font-size:16px}:root body .scene-player-details small{color:var(--muted);font-size:14px}:root body .scene-player-details button{min-height:44px}:root body .scene-present-cast{align-items:center;gap:16px;max-width:calc(100% - 520px);inset:auto auto 160px 34px}:root body .scene-present-cast>.scene-eyebrow{color:#a6bfc9;font-size:12px}:root body .scene-cast-person{min-width:54px;min-height:72px;font-size:14px!important}:root body .scene-cast-avatar{background:#17323f;border-color:#a9c1c8;border-radius:50%;width:48px;height:48px}:root body .scene-image-caption{color:#bdcbd1;max-width:calc(100% - 510px);font-size:12px;bottom:112px;left:34px}:root body .scene-hud-bottom{background:#10222be8;border:1px solid #617986;border-radius:12px;max-width:calc(100% - 64px);padding:5px;bottom:28px;left:34px;transform:none}:root body .scene-hud-bottom button{border-radius:8px;min-height:46px;padding:10px 14px;font-size:14px}:root body .scene-hud-notice{background:#142f3eeb;border-color:#71929f;max-width:360px;font-size:14px;top:285px;left:34px}:root body .scene-entry-heading{max-width:45%;top:35%;left:7%}:root body .scene-entry-heading h2{color:#f1f4f2}:root body .scene-entry-heading p{color:#bdd0d5;font-size:16px}:root body .scene-story-drawer{z-index:2;width:430px;max-height:none;inset:100px 24px 24px auto;transform:none}:root body .scene-story-drawer .world-chat.is-immersive{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#10222bef;border:1px solid #68818b;border-radius:12px;flex:1;min-height:0;padding:22px;box-shadow:0 12px 60px #0004}:root body .scene-story-drawer .is-immersive .world-chat-heading{border-bottom:1px solid var(--line);min-height:74px;padding:0;display:flex}:root body .scene-story-drawer .is-immersive .world-chat-heading>div{gap:3px;display:grid}:root body .scene-story-drawer .is-immersive .world-chat-heading h3{font:28px/1.2 var(--game-serif);order:0;margin:2px 0}:root body .scene-story-drawer .is-immersive .world-chat-heading span{color:var(--accent);font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-heading small{color:var(--muted);font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-tools{flex-direction:row;justify-content:space-between;gap:8px;margin:12px 0;display:flex;position:static}:root body .scene-story-drawer .is-immersive .world-chat-tools button{border:1px solid var(--line);background:#ffffff06;border-radius:6px;min-height:36px;padding:5px 8px;font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-scene{border-left:2px solid #81bebc66;margin:14px 0 0;padding-left:14px}:root body .scene-story-drawer .is-immersive .world-chat-scene p{color:#b8cdd4;-webkit-line-clamp:3;font-size:16px;line-height:1.6}:root body .scene-story-drawer .is-immersive .world-chat-scene button{min-height:36px;padding:4px 0;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-log{flex:1 1 0;gap:16px;min-height:45px;max-height:none;margin:0 0 18px;overflow-y:auto}:root body .scene-story-drawer .is-immersive .world-chat-message{border-bottom:1px solid #ffffff0d;border-left:0;padding:12px 0}:root body .scene-story-drawer .is-immersive .world-chat-message strong{color:var(--accent);letter-spacing:0;font-size:14px;font-weight:600}:root body .scene-story-drawer .is-immersive .world-chat-message p{color:#edf2f2;font-size:16px;line-height:1.65}:root body .scene-story-drawer .is-immersive .world-chat-message.is-user p{color:#a6c3cc;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-message.is-narrator p{color:#c3d4da}:root body .scene-story-drawer .is-immersive .world-chat-empty{color:var(--muted);padding:12px 0;font-size:16px;line-height:1.6}:root body .scene-story-drawer .is-immersive .world-chat-compose{grid-template-columns:minmax(0,1fr) 46px;gap:8px}:root body .scene-story-drawer .is-immersive .world-chat-recipient{grid-column:1/-1;align-items:center;gap:12px;margin-bottom:8px;font-size:14px;display:flex}:root body .scene-story-drawer .is-immersive .world-chat-recipient select{flex:1;max-width:240px;min-height:40px;padding:8px;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-compose .world-chat-input-label{color:var(--muted);grid-column:1;font-size:12px}:root body .scene-story-drawer .is-immersive textarea{background:#081923;border-color:#687e88;min-height:46px;padding:12px;font-size:16px}:root body .scene-story-drawer .is-immersive .world-chat-send{background:var(--accent);color:#122330;border-radius:8px;width:46px;height:46px}:root body .scene-story-drawer .is-immersive .world-chat-action-row{padding-top:14px;display:block}:root body .scene-story-drawer .is-immersive .world-chat-actions{grid-template-columns:1fr;gap:7px;display:grid}:root body .scene-story-drawer .is-immersive .world-chat-actions button{background:#193442;border-color:#526a77;border-radius:8px;min-height:44px;padding:10px 12px;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-other-actions{margin-top:5px}:root body .scene-story-drawer .is-immersive .world-chat-other-actions summary{min-height:40px;color:var(--accent);padding:9px 0;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-other-actions[open]>.world-chat-actions{background:#132c3a;border-color:#6b8793;border-radius:10px;width:100%}:root body .scene-story-drawer .is-immersive :is(.world-chat-consent,.world-chat-notice){color:#edf3f3;background:#263e48;border-color:#8ba3aa;max-height:180px;font-size:14px}:root body .scene-story-drawer .player-arrival{background:#1d3542eb;border:1px solid #587583;border-radius:10px;flex-shrink:0;margin-bottom:12px;padding:16px}:root body .scene-story-drawer .player-arrival h3{font:23px var(--game-serif)}:root body .scene-story-drawer .player-arrival p{font-size:14px;line-height:1.5}:root body .scene-story-drawer .player-arrival button{border-radius:8px;min-height:44px;font-size:14px}:root body .is-entry .scene-story-drawer{background:#10222bed;border:1px solid #687d89;border-radius:12px;width:430px;padding:24px;top:155px;bottom:105px;right:5%}:root body .scene-story-drawer .story-player-panel{color:var(--text)}:root body .scene-story-drawer .story-player-panel :is(p,label){color:var(--muted);font-size:14px;line-height:1.6}:root body .scene-story-drawer .story-player-panel .story-game-toolbar strong{font:27px/1.2 var(--game-serif);color:var(--text)}:root body .scene-story-drawer .story-player-panel :is(input,select){background:#0d1b25;border-color:#687e88;font-size:16px}:root body .scene-story-drawer .story-player-panel button{background:var(--accent);border-radius:8px;min-height:44px;font-size:14px}:root body .scene-story-drawer .story-player-panel .story-game-toolbar button{min-height:44px;padding:10px;font-size:14px}:root body .scene-image-dialog{background:#132935fa;border-color:#748d98;border-radius:16px;padding:28px}:root body .scene-image-dialog p{color:var(--muted);font-size:16px}:root body .scene-image-dialog :is(dl,button){font-size:14px}:root body .scene-dialog-actions button{border-radius:8px;min-height:44px}:root body .scene-image-progress{background:#142e3c;border-radius:10px;font-size:16px}@media (min-width:1100px){:root body .scene-story-drawer{width:470px}:is(:root body .has-player-chat:has(.scene-story-drawer) .story-scene-picture,:root body .has-player-chat:has(.scene-story-drawer) .scene-image-atmosphere){object-fit:contain;width:calc(100% - 518px)}:root body .has-player-chat:has(.scene-story-drawer) .scene-hud-tools{margin-right:512px}:root body .scene-story-drawer .is-immersive .world-chat-scene p{-webkit-line-clamp:2}:root body .scene-story-drawer .is-immersive .world-chat-log{min-height:clamp(200px,30vh,340px);margin-bottom:12px}:root body .scene-story-drawer .is-immersive .world-chat-action-row{align-items:center;gap:8px;padding-top:8px;display:flex}:root body .scene-story-drawer .is-immersive .world-chat-action-row>.world-chat-actions{scrollbar-width:thin;flex-wrap:nowrap;flex:auto;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}:root body .scene-story-drawer .is-immersive .world-chat-action-row>.world-chat-actions>button{white-space:nowrap;flex:none;max-width:230px;min-height:40px}:root body .scene-story-drawer .is-immersive .world-chat-action-row>.world-chat-other-actions{margin-top:0}}@media (max-width:1099px){:root body .scene-story-drawer{width:min(780px,100% - 48px);max-height:calc(var(--scene-viewport,100dvh) - 280px);inset:auto auto 95px 50%;transform:translate(-50%)}:root body .scene-story-drawer .is-immersive .world-chat-log{flex:0 auto;max-height:130px}:root body .scene-story-drawer .is-immersive .world-chat-heading{min-height:0;padding-bottom:10px}:root body .scene-story-drawer .is-immersive .world-chat-heading h3{font-size:24px}:root body .scene-story-drawer .is-immersive .world-chat-tools{flex-direction:column;margin:0;position:absolute;top:20px;right:22px}:root body .scene-story-drawer .is-immersive .world-chat-tools button{background:0 0;border:0;min-height:28px}:root body .scene-story-drawer .is-immersive .world-chat-actions{scrollbar-width:thin;flex-wrap:nowrap;display:flex;overflow-x:auto}:root body .scene-story-drawer .is-immersive .world-chat-actions button{flex:none}:root body .scene-story-drawer .is-immersive .world-chat-action-row{gap:12px;display:flex}:root body .scene-story-drawer .is-immersive .world-chat-other-actions{margin:0}:root body .scene-present-cast{max-width:47%;inset:170px 24px auto auto}:root body .scene-image-caption{max-width:calc(100% - 56px);bottom:76px;left:28px}:root body .scene-hud-bottom{bottom:18px;left:50%;transform:translate(-50%)}:root body .studio-layout{grid-template-columns:230px minmax(0,1fr);gap:24px;padding:26px}:root body .npc-layout{grid-template-columns:250px minmax(0,1fr)}}@media (max-width:760px){:root body .shell,:root body .shell.profile-fullscreen-mode{flex-direction:column;height:100dvh;display:flex}:root body .shell .sidebar{height:auto;padding:7px 10px max(7px,env(safe-area-inset-bottom));z-index:30;background:#0b1923f5;border:0;border-top:1px solid #57717b;flex-direction:row;gap:0;position:fixed;bottom:0;left:0;right:0}:root body .shell .game-brand,:root body .shell .game-rail-time{display:none}:root body .shell .nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:100%;display:grid}:root body .nav-item,:root body .game-history-menu>summary{gap:4px;min-height:55px;padding:5px 0;font-size:12px}:root body .nav-item svg,:root body .game-history-menu summary svg{width:20px;height:20px}:root body .game-history-menu>div{width:210px;inset:auto 0 72px auto}:root body .shell>.content{height:calc(100dvh - 76px - env(safe-area-inset-bottom));width:100%}:root body .game-context-bar{gap:10px;min-height:58px;padding:7px 16px}:root body .game-context-bar>div{display:none}:root body .game-clock-label{gap:7px}:root body .game-clock-label small{display:none}:root body .topbar,:root body .studio-top{flex-wrap:wrap;padding:24px 18px 20px}:root body .studio-top{position:relative}:root body .studio-top-actions>button:last-child{white-space:nowrap;max-width:none}:root body .topbar h2,:root body .studio-top h2{font-size:32px}:root body .topbar p{font-size:14px;display:block}:root body .top-actions{justify-content:start;gap:8px;width:100%}:root body .panel-body,:root body .panel-body.narrow{width:calc(100% - 32px);padding:22px 0 40px}:root body .npc-layout,:root body .news-layout{grid-template-columns:1fr}:root body .npc-list{display:flex;overflow-x:auto}:root body .npc-list-head p{display:none}:root body .npc-list-item{border:0;flex:0 0 210px;min-height:80px}:root body .npc-presence-bar{flex-direction:column;align-items:stretch;gap:12px}:root body .npc-presence-bar>div{flex-wrap:wrap}:root body .api-card,:root body .settings-grid,:root body .key-row{grid-template-columns:1fr}:root body .setting-card{padding:20px}:root body .session-slot,:root body .session-manager-head{flex-direction:column;align-items:start}:root body .studio-layout{padding:20px 16px 60px;display:block}:root body .studio-identity{grid-template-columns:100px minmax(0,1fr);margin-bottom:20px;display:grid}:root body .studio-portrait{width:100%;height:180px}:root body .studio-portrait-label{display:none}:root body .studio-identity-copy{padding:14px}:root body .studio-identity-copy h3{margin:0;font-size:24px}:root body .studio-identity-copy>p.studio-note{display:none}:root body .studio-avatar-actions{gap:7px;margin-top:8px}:root body .studio-tabs{z-index:4;flex-wrap:nowrap;position:sticky;top:0}:root body .studio-section{padding:22px 16px}:root body .studio-section-heading h3{font-size:28px}:root body .studio-fields,:root body .studio-image-tools{grid-template-columns:1fr}:root body .studio-field-wide{grid-column:auto}:root body .studio-savebar{gap:12px;padding:12px}:root body .studio-savebar span{font-size:12px}:root body .studio-savebar button{flex-shrink:0}:root body .studio-gallery{grid-template-columns:1fr}:root body .phone-panel-tab>.topbar{display:none}:root body .phone-embed-wrap{min-height:0;padding:0;display:flex;overflow:hidden}:root body .phone-device.phone-embedded{border:0;border-radius:0;width:100%;height:100%;min-height:0}:root body .phone-device:before{display:none}:root body .phone-statusbar{min-height:44px;padding-top:10px}:root body .realdate .realdate-nav button{padding:9px 7px}:root body .onboarding-screen,:root body .access-screen{background-attachment:fixed;flex-direction:column;align-items:stretch;gap:24px;padding:26px 18px;display:flex}:root body .access-story h2,:root body .onboarding-story h2{margin:18px 0;font-size:42px}:root body .onboarding-story{padding-top:0;position:static}:root body .onboarding-story h2,:root body .onboarding-story p{display:none}:root body .onboarding-story ol{grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0 0;display:grid}:root body .onboarding-story li{text-align:center;justify-items:center;gap:7px;font-size:12px;display:grid}:root body .onboarding-dialog,:root body .access-card{width:100%;padding:24px 20px}:root body .onboarding-head h1{font-size:30px}:root body .onboarding-grid.two{grid-template-columns:1fr}:root body .onboarding-grid .wide{grid-column:auto}:root body .onboarding-footer{flex-wrap:wrap;gap:10px}:root body .onboarding-finish-actions{flex-wrap:wrap}:root body .startup-overlay{padding:16px}:root body .startup-dialog{gap:16px;padding:25px 20px}:root body .startup-dialog h2{font-size:38px}:root body .startup-times{gap:8px}:root body .startup-times strong{font-size:14px}:root body .story-world{padding:24px 16px 40px}:root body .story-header{flex-wrap:wrap}:root body .story-header h2{font-size:32px}:root body .story-header-actions{flex-wrap:wrap}:root body .story-places{grid-template-columns:1fr}:root body .story-card{padding:20px 16px}:root body .fjord-scene{height:auto;min-height:210px}:root body .fjord-caption{position:relative}:root body .scene-hud-top{gap:10px;top:17px;left:18px;right:16px}:root body .scene-location h1{margin:8px 0;font-size:32px}:root body .scene-location p{flex-wrap:wrap;max-width:220px;font-size:12px}:root body .scene-location .scene-eyebrow{font-size:10px}:root body .scene-hud-tools{gap:6px}:root body .scene-tool{min-width:44px;padding:10px;font-size:12px!important}:root body .scene-tool>span,:root body .scene-fullscreen-tool,:root body .scene-photo-tool{display:none}:root body .scene-your-character{top:124px;left:18px}:root body .scene-player-badge{gap:8px;max-width:205px;padding:7px}:root body .scene-player-avatar{width:36px;height:40px}:root body .scene-player-badge strong{font-size:14px}:root body .scene-player-badge em{max-width:125px;font-size:12px}:root body .scene-player-badge small{font-size:9px}:root body .scene-present-cast{gap:10px;max-width:calc(100% - 235px);top:128px;right:16px}:root body .scene-present-cast>.scene-eyebrow{display:none}:root body .scene-cast-person{min-width:42px;min-height:60px;font-size:12px!important}:root body .scene-cast-avatar{width:34px;height:34px}:root body .scene-story-drawer{bottom:calc(80px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-height:calc(var(--scene-viewport,100dvh) - 226px)}:root body .scene-story-drawer .world-chat.is-immersive{border-radius:12px;padding:14px}:root body .scene-story-drawer .is-immersive .world-chat-heading{min-height:52px;padding-right:110px}:root body .scene-story-drawer .is-immersive .world-chat-heading h3{font-size:23px}:root body .scene-story-drawer .is-immersive .world-chat-heading span,:root body .scene-story-drawer .is-immersive .world-chat-heading small{font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-tools{max-width:110px;top:14px;right:14px}:root body .scene-story-drawer .is-immersive .world-chat-tools button{padding:3px 0;font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-scene{margin-top:9px}:root body .scene-story-drawer .is-immersive .world-chat-scene p{-webkit-line-clamp:2;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-log{flex:auto;gap:8px;min-height:0;max-height:140px;margin:10px 0}:root body .scene-story-drawer .is-immersive .world-chat-message{padding:7px 0}:root body .scene-story-drawer .is-immersive .world-chat-message p{font-size:16px;line-height:1.5}:root body .scene-story-drawer .is-immersive .world-chat-recipient{margin-bottom:0;font-size:12px}:root body .scene-story-drawer .is-immersive .world-chat-recipient select{min-height:36px;padding:6px 8px;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-action-row{gap:10px;padding-top:9px}:root body .scene-story-drawer .is-immersive .world-chat-action-row>.world-chat-actions{flex:1;min-width:0}:root body .scene-story-drawer .is-immersive .world-chat-actions button{max-width:230px;min-height:44px;padding:9px 12px;font-size:14px}:root body .scene-story-drawer .is-immersive .world-chat-other-actions summary{white-space:nowrap;min-height:44px;font-size:12px}:root body .scene-story-drawer .player-arrival{max-height:125px;padding:10px 14px;overflow:auto}:root body .scene-story-drawer .player-arrival h3{font-size:20px}:root body .scene-story-drawer .player-arrival p{font-size:14px}:root body .scene-hud-bottom{width:calc(100% - 24px);max-width:none;bottom:max(12px,env(safe-area-inset-bottom));justify-content:space-between;padding:4px}:root body .scene-hud-bottom button{flex-direction:column;flex:1;gap:5px;min-height:48px;padding:8px;font-size:12px}:root body .scene-hud-bottom svg{width:18px;height:18px}:root body .scene-hud-bottom button:last-child span{font-size:10px}:root body .scene-image-caption{display:none}:root body .scene-hud-notice{z-index:6;max-width:calc(100% - 36px);font-size:14px;top:194px;left:18px}:root body .is-entry .scene-entry-heading{max-width:calc(100% - 48px);top:205px;left:24px}:root body .is-entry .scene-entry-heading h2{margin:12px 0;font-size:38px}:root body .is-entry .scene-entry-heading p{display:none}:root body .is-entry .scene-story-drawer{width:auto;max-height:none;padding:18px;inset:335px 12px 84px;transform:none}:root body .scene-player-details{width:min(330px,100vw - 36px);max-height:60vh}:root body .scene-image-dialog{max-height:calc(var(--scene-viewport,100dvh) - 28px);padding:24px 20px}:root body .scene-image-dialog h2{font-size:28px}:root body .scene-dialog-actions{grid-template-columns:1fr;display:grid}:root body .scene-story-drawer .is-immersive.is-history .world-chat-log{max-height:min(35vh,220px)}:root body .is-composing .scene-story-drawer .world-chat-heading small,:root body .is-composing .scene-story-drawer :is(.player-arrival,.world-chat-scene,.world-chat-action-row),:root body .has-open-keyboard .scene-your-character,:root body .has-open-keyboard .scene-present-cast,:root body .has-open-keyboard .scene-hud-bottom{display:none}:root body .has-open-keyboard .scene-hud-top{top:10px}:root body .has-open-keyboard .scene-location h1{margin:4px 0;font-size:23px}:root body .has-open-keyboard .scene-location p{display:none}:root body .has-open-keyboard .scene-story-drawer{max-height:calc(var(--scene-viewport,100dvh) - 90px);bottom:8px}:root body .has-open-keyboard .scene-story-drawer .world-chat-tools{display:none}:root body .has-open-keyboard .scene-story-drawer .world-chat-heading{min-height:30px;padding:0 0 4px}:root body .has-open-keyboard .scene-story-drawer .world-chat-heading span{display:none}:root body .has-open-keyboard .scene-story-drawer .world-chat-log{max-height:65px}}@media (max-height:700px) and (max-width:760px){:root body .scene-story-drawer{max-height:calc(var(--scene-viewport,100dvh) - 205px)}:root body .scene-story-drawer .is-immersive .world-chat-scene,:root body .scene-story-drawer .is-immersive .world-chat-heading small{display:none}:root body .scene-story-drawer .is-immersive .world-chat-log{max-height:90px}:root body .is-entry .scene-entry-heading{display:none}:root body .is-entry .scene-story-drawer{top:205px}}@media (max-height:550px) and (min-width:761px){:root body .scene-your-character{top:125px}:root body .scene-hud-top{top:16px}:root body .scene-location h1{font-size:30px}:root body .scene-story-drawer{width:52%;max-height:none;inset:95px 16px 14px auto;transform:none}:root body .scene-story-drawer .world-chat.is-immersive{padding:12px}:root body .scene-story-drawer .is-immersive .world-chat-heading{min-height:32px}:root body .scene-story-drawer .is-immersive .world-chat-heading :is(span,small),:root body .scene-story-drawer .is-immersive .world-chat-scene,:root body .scene-present-cast{display:none}:root body .scene-story-drawer .is-immersive .world-chat-log{max-height:55px;margin:8px 0}:root body .scene-story-drawer .is-immersive .world-chat-tools{top:10px;right:12px}:root body .scene-story-drawer .is-immersive .world-chat-action-row{display:none}:root body .scene-story-drawer .is-immersive .world-chat-recipient{margin:0}:root body .scene-hud-bottom{flex-direction:column;width:auto;bottom:16px;left:20px;transform:none}:root body .scene-hud-bottom button{min-height:40px;padding:6px 12px;font-size:12px}:root body .scene-image-caption{display:none}}@media (prefers-reduced-motion:reduce){:root body *,:root body :before,:root body :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root body .capability-editor{gap:24px;display:grid}:root body .capability-summary{gap:10px;display:grid}:root body .scene-story-drawer .story-player-panel input[type=checkbox]{width:20px;min-height:20px}@media (max-width:760px){:root body .has-open-keyboard.is-entry .scene-story-drawer{max-height:none;top:80px;bottom:8px}:root body .has-open-keyboard.is-entry .scene-entry-heading{display:none}}:root body .shell.profile-fullscreen-mode>.content{grid-area:1/2}:root body .scene-story-drawer .is-immersive .world-chat-recipient{text-align:left;flex-direction:row;justify-content:flex-start}:root body .scene-ambient.is-playing:not(.is-indoor){background:linear-gradient(#0a1c2930,#0a1c2970),url(/ui/fjord-title.webp) 50%/cover}:root body .encounter-card{color:var(--text);background:#10222e;border:1px solid #6b8390;border-radius:16px}:root body .encounter-card h2{font:36px/1.2 var(--game-serif)}:root body .encounter-card p{color:var(--muted);font-size:16px}:root body .encounter-location-list label,:root body .encounter-turn{background:#142e3b;border-color:#526d7b;border-radius:10px}:root body .encounter-location-list label.selected{border-color:var(--accent);background:#e5bd8310}:root body .encounter-header,:root body .encounter-compose{border-color:var(--line);background:#0e202b}:root body .encounter-header small,:root body .encounter-card small{font-size:12px}:root body .encounter-compose button{background:var(--accent);color:#10222e;min-height:44px}:root body .shell .nav{height:auto;overflow:visible}:root body .phone-gallery-app h3,:root body .phone-calendar-app h3{font:25px/1.2 var(--game-serif);color:var(--text)}:root body .phone-gallery-app p,:root body .phone-calendar-app p{color:var(--muted);font-size:16px}:root body .phone-gallery-head span,:root body .phone-gallery-focus>div small{font-size:12px}:root body .phone-gallery-focus>div strong{font-size:16px}:root body .phone-gallery-item span{border-radius:5px;font-size:12px}:root body .phone-gallery-focus{border-radius:12px}:root body .phone-status-icons>span:not(.phone-battery),:root body .online-dot,.scene-mobile-bar,.scene-mobile-menu{display:none}@media (max-width:760px),(max-height:500px) and (max-width:1099px){:root body .story-scene-canvas{--scene-mobile-top:calc(56px + env(safe-area-inset-top));--scene-chat-start:42%}:root body .story-scene-canvas :is(.scene-hud-top,.scene-your-character,.scene-present-cast,.scene-hud-bottom,.scene-entry-heading,.scene-image-caption){display:none}:root body .scene-mobile-bar{height:var(--scene-mobile-top);padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:8;background:#0d202beb;border-bottom:1px solid #ffffff1a;align-items:center;gap:10px;display:flex;position:absolute;inset:0 0 auto}:root body .scene-mobile-bar>strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:15px;font-weight:500;overflow:hidden}:root body .scene-mobile-status{white-space:nowrap;color:#b8d0d7;align-items:center;gap:5px;font-size:12px;display:flex}:root body .scene-mobile-status i{background:#89c8b2;border-radius:50%;width:5px;height:5px}:root body .scene-mobile-status.is-paused i{background:#dbba82}:root body .scene-mobile-bar>button{background:#ffffff09;border:1px solid #ffffff1b;border-radius:9px;flex-shrink:0;place-items:center;width:44px;height:44px;padding:10px;display:grid}:root body .scene-mobile-menu:not([hidden]){display:block}:root body .scene-mobile-menu{top:var(--scene-mobile-top);right:max(8px,env(safe-area-inset-right));width:min(360px,100% - 16px);max-height:calc(var(--scene-viewport,100dvh) - var(--scene-mobile-top) - 12px);overscroll-behavior:contain;z-index:9;background:#112936fa;border:1px solid #536d7a;border-radius:0 0 14px 14px;padding:14px;position:absolute;overflow-y:auto;box-shadow:0 16px 44px #0008}:root body .scene-mobile-menu :is(button,summary,select){min-height:44px;font-size:14px}:root body .scene-mobile-menu button{text-align:left;background:#ffffff06;border:1px solid #ffffff20;border-radius:8px;align-items:center;gap:9px;padding:10px;display:flex}:root body .scene-mobile-menu button svg{flex-shrink:0;width:18px;height:18px}:root body .scene-mobile-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}:root body .scene-mobile-facts{color:#bdd1d8;margin:0 0 12px;font-size:12px;line-height:1.5}:root body .scene-mobile-navigation+.scene-mobile-facts{margin:12px 0 0}:root body .scene-mobile-chat-menu{border-top:1px solid #ffffff20;margin-top:14px;padding-top:8px}:root body .scene-mobile-menu summary{cursor:pointer;color:var(--accent);padding:12px 0}:root body .scene-mobile-moment p{white-space:pre-wrap;margin:0 0 12px;font-size:14px;line-height:1.6}:root body .scene-mobile-recipient{color:#bdd1d8;flex-direction:column;gap:7px;margin:10px 0;font-size:12px;display:flex}:root body .scene-mobile-recipient select{width:100%;color:var(--text);background:#0a1c27;border:1px solid #6b8390;border-radius:8px;padding:10px}:root body .scene-mobile-chat-tools,:root body .scene-mobile-actions>div{gap:7px;display:grid}:root body .scene-mobile-menu .player-arrival{border-top:1px solid #ffffff20;padding-top:12px}:root body .scene-mobile-menu .player-arrival h3{font:20px var(--game-serif)}:root body .scene-mobile-menu .player-arrival p{font-size:14px;line-height:1.5}:root body .story-scene-canvas.has-player-chat:has(.scene-story-drawer) :is(.story-scene-picture,.scene-image-atmosphere){inset:var(--scene-mobile-top) 0 auto;height:calc(var(--scene-chat-start) - var(--scene-mobile-top));object-fit:contain;object-position:center;width:100%}:root body .story-scene-canvas.has-player-chat:has(.scene-story-drawer) .scene-ambient{height:var(--scene-chat-start);bottom:auto}:root body .story-scene-canvas.has-player-chat .scene-story-drawer{inset:var(--scene-chat-start) 0 0;width:100%;max-height:none;padding:0;overflow:hidden;transform:none}:root body .story-scene-canvas.has-player-chat .scene-story-drawer>.player-arrival{display:none}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .world-chat.is-immersive{height:100%;min-height:0;padding:12px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-shadow:none;background:#0e222eee;border:0;border-top:1px solid #ffffff20;border-radius:0;flex:1;gap:10px}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive :is(.world-chat-heading,.world-chat-scene,.world-chat-tools,.world-chat-action-row,.world-chat-recipient){display:none}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-log{overflow-anchor:none;flex:1 1 0;gap:12px;min-height:0;max-height:none;margin:0;padding:0 3px 4px 0;overflow-y:auto}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-message{background:#ffffff05;border:0;border-radius:10px;flex-shrink:0;max-width:96%;padding:7px 10px}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-message.is-user{background:#81bebc15}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-message p{margin-top:4px;font-size:15px;line-height:1.5}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-message small{color:#a0b9c3;margin-top:5px;font-size:10px;display:block}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-place-marker{flex-shrink:0;margin:2px 0}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-compose{border:0;flex-shrink:0;gap:8px;padding:0}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-input-label{gap:0;font-size:0;position:relative}:root body .story-scene-canvas.has-player-chat .scene-story-drawer .is-immersive .world-chat-input-label textarea{min-height:46px;font-size:16px}:root body .story-scene-canvas .scene-hud-notice{top:calc(var(--scene-mobile-top) + 8px);z-index:7;max-width:calc(100% - 24px);left:12px}:root body .story-scene-canvas.is-entry .scene-story-drawer{inset:var(--scene-chat-start) 0 0;width:100%;max-height:none;padding:18px;padding-bottom:max(18px,env(safe-area-inset-bottom));border-radius:0;transform:none}:root body .story-scene-canvas.has-open-keyboard{--scene-chat-start:var(--scene-mobile-top)}:root body .story-scene-canvas.has-open-keyboard .scene-story-drawer .is-immersive .world-chat-message p{font-size:14px}}@media (max-height:500px) and (min-width:761px) and (max-width:1099px){:root body .story-scene-canvas.has-player-chat:has(.scene-story-drawer) :is(.story-scene-picture,.scene-image-atmosphere){top:var(--scene-mobile-top);height:calc(100% - var(--scene-mobile-top));width:44%}:root body .story-scene-canvas.has-player-chat .scene-story-drawer{top:var(--scene-mobile-top);width:56%;left:44%}}.engine-job-status{bottom:max(12px, env(safe-area-inset-bottom));z-index:150;color:#f5f1e9;background:#142325f2;border:1px solid #ffffff24;border-radius:12px;width:max-content;max-width:min(92vw,600px);padding:10px 14px;font-size:.85rem;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 6px 25px #0004}.engine-job-status button{color:#d8bc87;cursor:pointer;background:0 0;border:0;margin-left:12px}
