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