.usable-cockpit.v2-home { height:100dvh; min-height:0; padding:0; overflow:hidden; color:var(--light-text); background:var(--light-space); }
.v2-home .cockpit-main { position:absolute; inset:0; display:block; padding:0; margin:0; min-height:0; }
.usable-cockpit.v2-home.has-universe .cockpit-main { height:100dvh; }
.v2-home #lifeform-stage { position:absolute; inset:0; width:100%; height:100%; min-height:0; border:0; border-radius:0; }
.v2-home .cockpit-header { position:absolute; inset:0 0 auto; display:flex; gap:12px; height:80px; padding:16px 24px; background:none; border:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; pointer-events:none; }
.v2-home .cockpit-header > * { pointer-events:auto; }
.v2-home :is(.cockpit-frame,.cockpit-stars,.universe-header-settings) { display:none; }
.v2-home .cockpit-brand { min-width:0; margin:0; padding:0; gap:8px; color:var(--light-text); }
.v2-home .cockpit-brand b { font-size:19px; letter-spacing:2px; }
.v2-home .cockpit-brand { max-width:calc(50vw - 245px); }
.v2-brand-copy { display:grid; align-items:center; min-width:0; }
.v2-home .v2-brand-copy :is(b,.v2-brand-reserve) { grid-area:1/1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v2-brand-reserve { visibility:hidden; font-size:19px; font-weight:700; letter-spacing:2px; pointer-events:none; }
.v2-brand-copy b { transition:opacity .35s,filter .35s,transform .35s; }
.v2-brand-copy[data-phase="typing"] b::after { content:"▍"; color:#91f6ef; font-weight:400; animation:headline-caret .8s steps(2,end) infinite; }
.v2-brand-copy[data-phase="leaving"] b { opacity:0; filter:blur(3px); transform:translateY(-4px); }
@keyframes headline-caret { 50% { opacity:0; } }
@media(prefers-reduced-motion:reduce) { .v2-brand-copy b { transition:none; }.v2-brand-copy b::after { display:none; }.v2-brand-copy[data-phase="leaving"] b { opacity:1; filter:none; transform:none; } }
.v2-home .cockpit-brand > .v2-brand-eye { display:block; flex:0 0 36px; width:36px; height:36px; border:0; background:none; box-shadow:none; overflow:visible; }
.v2-brand-eye-canvas { display:block; width:100%; height:100%; pointer-events:none; filter:drop-shadow(0 0 5px #67e4d62a); }
.v2-home .v2-menu-button { width:44px; height:44px; border:0; background:transparent; color:var(--light-text); font-size:22px; }
.v2-home .v2-nav { position:absolute; left:50%; top:16px; transform:translateX(-50%); display:flex; gap:8px; padding:4px; border:0; background:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.v2-home .v2-nav :is(button,a) { min-height:44px; padding:0 20px; border:0; border-radius:12px; background:transparent; color:var(--light-muted); font-size:14px; white-space:nowrap; box-shadow:none; }
.v2-home .v2-nav [aria-pressed="true"] { color:var(--light-text); background:#67e4d618; }
.v2-home .v2-header-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.v2-home .v2-header-actions > :is(a,button), .v2-home .v2-create summary { display:grid; place-items:center; min-width:44px; min-height:44px; padding:8px; border:0; border-radius:12px; background:#081923a8; color:var(--light-text); font-size:14px; cursor:pointer; }
.v2-home .v2-header-actions svg { width:23px; height:23px; }
.v2-home .v2-header-actions .v2-action-canvas { display:block; width:28px; height:28px; pointer-events:none; }
.v2-home .v2-header-actions .v2-sculpted-action { width:44px; height:44px; padding:0; }
.v2-home .v2-header-actions .v2-flow { color:var(--light-flow); }
.v2-flow svg { animation:light-heart 1.8s ease-in-out infinite; }
.v2-home .v2-header-actions .v2-flash { color:#f2be72; }
.v2-flash svg { animation:light-bulb 3.6s ease-in-out infinite; transform-origin:center; }
.v2-home .v2-header-actions > .profile-meta { display:grid; grid-template:1fr / 1fr; place-items:center; gap:0; flex:0 0 44px; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; box-sizing:border-box; }
.v2-home .v2-header-actions > .profile-meta .profile-avatar-image { display:block; width:32px; height:32px; margin:0; object-fit:cover; }
.v2-home .flight-meta-copy { display:none; }
.v2-home .profile-meta .online-dot { width:22px; height:22px; border:1px solid #67e4d677; background:#67e4d622; box-shadow:none; }
.v2-create { position:relative; }
.v2-create summary { list-style:none; }
.v2-home .v2-create > summary { --v2-button-ink:var(--light-active); }
.v2-create summary::-webkit-details-marker { display:none; }
.v2-create-options { position:absolute; top:52px; right:0; width:180px; display:grid; padding:8px; gap:4px; background:var(--light-panel); border:1px solid #d2f5f022; border-radius:16px; }
.v2-create-options button { min-height:44px; background:transparent; color:var(--light-text); border:0; border-radius:12px; text-align:left; padding:10px; }
.v2-home .side-rail { top:88px; left:24px; bottom:100px; width:252px; padding:14px; border:1px solid #d2f5f019; border-radius:24px; background:#0c2530f5; box-shadow:0 16px 48px #0005; }
.v2-home .side-rail[hidden] { display:none; }
.v2-home .side-rail::before { display:none; }
.v2-home .side-rail a { min-height:48px; }
.v2-home .side-rail-copy b { font-size:14px; }
.v2-home .side-rail-copy small { display:none; }
.v2-home .side-rail-heading { font-size:12px; color:var(--light-muted); }
.v2-home .mission-panel { position:absolute; top:96px; right:24px; bottom:120px; width:350px; padding:18px; border-radius:24px; background:#0c2530f5; overflow:auto; z-index:12; }
.v2-home.universe-sidebar-hidden .mission-panel, .v2-home.universe-sidebar-hidden .cockpit-controls { display:none; }
.v2-home .cockpit-controls { position:absolute; right:24px; left:auto; bottom:84px; width:350px; z-index:13; }
.v2-home .cockpit-controls:not(.growth-history-controls) { display:none!important; }
/* The domain sidebar starts with reading and actions; statistics stay folded. */
.usable-cockpit.v2-home .mission-panel { box-sizing:border-box; width:360px; bottom:auto; max-height:calc(100dvh - 184px); margin:0; padding:20px; border:1px solid #d2f5f018; border-radius:22px; background:#0c2530f5; overscroll-behavior:contain; }
.v2-domain-reader { display:grid; gap:18px; color:var(--light-text); }
.v2-domain-reader :is(h2,h3,p,ul,dl) { margin:0; }
.v2-domain-reader h3 { color:var(--light-muted); font-size:13px; line-height:1.6; font-weight:500; }
.v2-domain-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.v2-domain-heading > div { min-width:0; }
.v2-domain-heading > div:first-child { flex:1; }
.v2-domain-heading .v2-domain-heading-actions { display:flex; align-items:center; flex:none; gap:2px; }
html[data-screen="home-usable"] #app .v2-domain-reader .v2-parent-switch { display:inline-flex; align-items:center; gap:7px; flex:none; min-height:44px; padding:0 4px; border:0!important; background:transparent!important; box-shadow:none!important; color:var(--light-muted)!important; white-space:nowrap; }
html[data-screen="home-usable"] #app .v2-domain-reader .v2-parent-switch[hidden] { display:none!important; }
.v2-home .v2-parent-switch::after { content:none!important; }
.v2-parent-switch-track { position:relative; display:block; width:32px; height:18px; border:1px solid #79949a80; border-radius:20px; background:#50616966; transition:background .22s,border-color .22s,box-shadow .22s; }
.v2-parent-switch-track i { position:absolute; top:2px; left:2px; width:12px; height:12px; border-radius:50%; background:#9caeb1; transition:transform .22s,background .22s; }
html[data-screen="home-usable"] #app .v2-domain-reader .v2-parent-switch[aria-checked="true"] { color:var(--light-active)!important; }
.v2-parent-switch[aria-checked="true"] .v2-parent-switch-track { border-color:#68eee5b3; background:#258b8a99; box-shadow:0 0 10px #5ff5df24; }
.v2-parent-switch[aria-checked="true"] .v2-parent-switch-track i { transform:translateX(14px); background:#affff4; }
@media(prefers-reduced-motion:reduce) { .v2-parent-switch-track,.v2-parent-switch-track i { transition:none; } }
.v2-domain-heading h2 { font-size:23px; line-height:1.4; font-weight:600; letter-spacing:0; overflow-wrap:anywhere; }
.v2-domain-heading p { margin-top:8px; color:var(--light-muted); font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
html[data-screen="home-usable"] #app .v2-domain-reader :is(button,a,summary) { font-size:14px!important; line-height:1.6; }
html[data-screen="home-usable"] #app .v2-domain-reader [data-close-domain-sidebar] { flex:0 0 44px; width:44px; min-height:44px; padding:0; border:0!important; background-color:transparent!important; font-size:24px!important; color:var(--light-muted)!important; }
.v2-domain-resume { display:grid; gap:6px; }
.v2-domain-reader .v2-domain-note { color:var(--light-muted); font-size:14px; line-height:1.75; }
html[data-screen="home-usable"] #app .v2-domain-reader .v2-domain-primary { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:48px; margin-top:4px; padding:12px 16px; border:1px solid #67e4d63d!important; border-radius:12px!important; color:var(--light-text)!important; background-color:#22585b8c!important; }
.v2-domain-knowledge > header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px; }
.v2-domain-knowledge > header > span { font-size:12px; color:var(--light-muted); }
.v2-domain-knowledge ul { padding:0; list-style:none; }
html[data-screen="home-usable"] #app .v2-domain-knowledge li a { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:46px; padding:8px 0; text-decoration:none; border:0!important; border-radius:0!important; background:transparent!important; color:var(--light-text); }
.v2-domain-knowledge li a > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v2-domain-knowledge li a small { flex:none; color:var(--light-muted); font-size:12px; }
.v2-domain-knowledge li + li { border-top:1px solid #d2f5f00a; }
.v2-domain-reader summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; list-style:none; cursor:pointer; color:var(--light-muted); }
.v2-domain-reader summary::-webkit-details-marker { display:none; }
.v2-domain-details { border-top:1px solid #d2f5f014; padding-top:8px; }
.v2-domain-details[open] > summary { color:var(--light-text); }
.v2-domain-details[open] > summary > span { transform:rotate(180deg); }
.v2-domain-detail-body { display:grid; gap:20px; padding:16px 0 0; }
.v2-domain-metrics { display:grid; gap:12px; }
.v2-domain-metrics > div { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:14px; }
.v2-domain-metrics dt { color:var(--light-muted); }
.v2-domain-metrics dd { margin:0; }
.v2-domain-growth { display:grid; gap:8px; font-size:14px; }
.v2-domain-reader .knowledge-graph-svg { width:100%; height:auto; margin-top:12px; }
.v2-knowledge-more .v2-more-close,.v2-knowledge-more[open] .v2-more-open { display:none; }
.v2-knowledge-more[open] .v2-more-close { display:inline; }
.v2-domain-footer { position:relative; }
.v2-domain-footer .v2-domain-details > summary { justify-content:flex-start; padding-right:130px; }
html[data-screen="home-usable"] #app .usable-cockpit.v2-home .mission-panel .v2-domain-ai { position:absolute!important; right:0; top:9px; }
html[data-screen="home-usable"] #app .v2-domain-reader .v2-domain-text-action { min-height:44px; padding:8px 0; border:0!important; background-color:transparent!important; color:var(--light-muted)!important; text-align:left; }
.v2-domain-reader :is(a,button,summary):focus-visible { outline:2px solid var(--light-active); outline-offset:4px; }
.usable-cockpit.v2-home.daylight-mode .mission-panel { --light-text:#153e43; --light-muted:#486566; background:#eff6f2f5; }
@media(max-width:700px) { .usable-cockpit.v2-home .mission-panel { top:138px; right:16px; left:16px; bottom:auto; width:auto; padding:20px; max-height:calc(100dvh - 284px); } }
.v2-universe :is(.universe-hud,.universe-coordinate,.universe-bottom-overlay,.universe-dock,.universe-clean-controls) { display:none!important; }
.v2-universe .universe-colonies,.v2-universe .universe-current { display:none; }
.v2-universe .universe-discoveries { margin:0!important; padding:0!important; border:0; display:block; }
.v2-universe .universe-discoveries > div { display:none; }
.v2-universe .universe-discoveries nav { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:8px!important; }
.v2-universe .v2-bottom { position:absolute; left:50%; bottom:max(28px,env(safe-area-inset-bottom)); transform:translateX(-50%); display:flex; gap:8px; z-index:16; }
.v2-explore-status { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:12px; width:max-content; max-width:min(620px,calc(100vw - 32px)); box-sizing:border-box; margin:0 0 12px; padding:8px 10px 8px 14px; border-radius:16px; color:var(--light-text); background:#071821d9; font-size:12px; line-height:1.7; text-align:left; pointer-events:auto; }
.v2-explore-status[hidden] { display:none; }
.v2-explore-status [data-explore-hint-text] { min-width:0; }
.v2-explore-hint-actions { display:flex; align-items:center; flex-shrink:0; gap:6px; }
#lifeform-stage.v2-universe .v2-explore-hint-actions button { padding:8px 10px; font-size:12px; }
#lifeform-stage.v2-universe [data-explore-hint-action="close"] { width:44px; padding:0; font-size:20px; }
.v2-universe .v2-bottom [data-explore-state="running"] { border-color:#67e4d655!important; background-color:#123c3dcc!important; }
.v2-universe:has(.v2-direction-finder:not([hidden]),.universe-arrival:not([hidden])) .v2-explore-status { visibility:hidden; }
.v2-universe.is-wonder-film .v2-bottom { display:none; }
.v2-universe { --v2-controls-bottom:max(28px,env(safe-area-inset-bottom)); }
.v2-universe .universe-film { top:auto; bottom:var(--v2-controls-bottom); left:50%; transform:translateX(-50%); z-index:80; width:max-content; max-width:calc(100% - 48px); box-sizing:border-box; display:flex; padding:0; border:0; border-radius:0; background:none; backdrop-filter:none; box-shadow:none; color:var(--light-text); }
.v2-universe .universe-film[hidden] { display:none; }
.v2-universe .universe-film-actions,.v2-universe [data-film-navigation] { display:flex; justify-content:center; align-items:center; gap:8px; }
.v2-universe .universe-film [aria-pressed="true"] { background-color:#67e4d62b!important; border-color:#67e4d677!important; color:var(--light-text); }
.v2-universe [data-film-navigation][hidden] { display:none; }
@media(max-width:900px) { .v2-universe .universe-film { bottom:calc(var(--v2-controls-bottom) + 60px); max-width:calc(100% - 24px); } }
/* Arrival invitations: one question, one story, one sentence, two equal actions. */
#lifeform-stage.v2-universe .universe-arrival { top:104px; right:24px; bottom:auto; width:420px; max-width:calc(100% - 48px); max-height:calc(100% - 212px); box-sizing:border-box; padding:24px; z-index:70; border:1px solid #d2f5f020; border-radius:24px; background:#0b202bf7; color:var(--light-text); box-shadow:0 16px 48px #0004; }
#lifeform-stage.v2-universe .universe-arrival[hidden] { display:none; }
#lifeform-stage.v2-universe .universe-arrival header { gap:12px; margin-bottom:20px; }
#lifeform-stage.v2-universe .universe-arrival h2 { margin:8px 0 0; font-size:22px; line-height:1.45; letter-spacing:0; font-weight:600; }
#lifeform-stage.v2-universe .arrival-signal { font-size:12px; line-height:1.6; font-family:inherit; letter-spacing:0; color:var(--light-muted); }
#lifeform-stage.v2-universe .universe-arrival :is(button,a) { box-sizing:border-box; min-height:44px; border:1px solid #d2f5f028!important; border-radius:12px!important; background:#102d38!important; color:var(--light-text)!important; font-size:14px; line-height:1.6; box-shadow:none!important; }
#lifeform-stage.v2-universe .universe-arrival header button { flex:0 0 44px; width:44px; padding:0; border:0!important; background:transparent!important; font-size:24px; }
#lifeform-stage.v2-universe .arrival-media { position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:16px; background:linear-gradient(145deg,#173c48,#102431); }
.arrival-media :is(video,.arrival-poster) { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.arrival-media video { z-index:1; }
.arrival-media:not([data-media-state="playing"]) video { visibility:hidden; }
.arrival-media-message { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:16px; text-align:center; color:var(--light-text); background:#081a2166; }
.arrival-media-message span { font-size:15px; line-height:1.7; }
.arrival-media-message small { color:var(--light-muted); font-size:12px; }
.arrival-media[data-media-state="playing"] .arrival-media-message { display:none; }
#lifeform-stage.v2-universe .arrival-hook { margin:16px 0 20px; font-size:16px; line-height:1.75; color:var(--light-text); }
#lifeform-stage.v2-universe .arrival-actions { gap:12px; margin-top:20px; }
#lifeform-stage.v2-universe .arrival-invitation-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
#lifeform-stage.v2-universe .arrival-invitation-actions button { width:100%; min-height:48px; padding:10px 12px; display:flex; align-items:center; justify-content:center; }
#lifeform-stage.v2-universe .arrival-actions .arrival-primary { background:#67e4d6!important; color:#092a2d!important; border-color:transparent!important; }
.arrival-actions svg { width:22px; height:22px; }
#lifeform-stage.v2-universe :is(.arrival-countdown,.arrival-status) { margin:12px 0 0; color:var(--light-muted); font-size:12px; line-height:1.7; }
.arrival-countdown:empty { display:none; }
#lifeform-stage.v2-universe .arrival-reading p,#lifeform-stage.v2-universe .arrival-question>p { font-size:16px; line-height:1.8; color:var(--light-text); }
#lifeform-stage.v2-universe .arrival-reading :is(.arrival-reading-kind,.arrival-source) { font-size:12px; color:var(--light-muted); }
#lifeform-stage.v2-universe .arrival-source a { border:0!important; background:none!important; color:var(--light-active)!important; font-size:12px; }
#lifeform-stage.v2-universe .arrival-question { border:0; padding-top:0; }
#lifeform-stage.v2-universe .universe-arrival h3 { font-size:18px; line-height:1.7; }
#lifeform-stage.v2-universe .arrival-question-step { font:12px/1.7 sans-serif; color:var(--light-muted); }
#lifeform-stage.v2-universe .arrival-options { display:grid; gap:10px; }
#lifeform-stage.v2-universe .arrival-options button { padding:12px; text-align:left; font-size:15px; }
#lifeform-stage.v2-universe .arrival-options button[aria-pressed="true"] { border-color:var(--light-active)!important; }
#lifeform-stage.v2-universe .arrival-feedback { font-size:15px; line-height:1.8; }
.v2-home.v2-clean:not([data-space="open"][data-flow="false"]) .universe-arrival { visibility:hidden!important; pointer-events:none!important; }
.v2-home.v2-clean-locked .universe-arrival { visibility:hidden!important; pointer-events:none!important; }
.v2-arrival-preference { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:14px; color:var(--light-text); }
.v2-arrival-preference small { display:block; margin-top:4px; font-size:12px; color:var(--light-muted); }
.v2-arrival-preference input { width:20px; height:20px; accent-color:var(--light-active); }
@media(max-width:700px) {
 #lifeform-stage.v2-universe .universe-arrival { top:auto; bottom:150px; left:16px; right:16px; width:auto; max-width:none; max-height:calc(100dvh - 292px); padding:16px; border-radius:20px; }
 #lifeform-stage.v2-universe .universe-arrival h2 { font-size:20px; }
}
@media(max-height:540px) and (min-width:701px) {
 #lifeform-stage.v2-universe .universe-arrival { top:86px; max-height:calc(100dvh - 178px); }
 #lifeform-stage.v2-universe .arrival-media { aspect-ratio:auto; height:110px; }
}
.v2-universe .v2-corners { position:absolute; bottom:var(--v2-controls-bottom); left:24px; right:24px; display:flex; justify-content:space-between; pointer-events:none; z-index:15; }
.v2-corners > div { display:flex; gap:8px; pointer-events:auto; }
.v2-universe :is(.v2-bottom,.v2-corners,.universe-film) button { min-height:44px!important; min-width:44px; padding:10px 16px; border-radius:12px!important; border-color:#d2f5f020!important; background-color:#071821b8!important; font-size:14px; line-height:1.5; white-space:nowrap; }
.v2-universe .universe-settings { position:absolute; top:auto; bottom:88px; left:24px; right:auto; width:min(380px,calc(100% - 48px)); max-height:calc(100% - 190px); overflow:auto; z-index:24; background:#0c2530fa; border-radius:24px; padding:20px; }
.v2-universe .universe-settings :is(button,select,input) { min-height:44px; }
.v2-universe :is(.v2-collection,.universe-dialog,.universe-wonder-picker) { border:1px solid #d2f5f022; border-radius:24px; background:#0c2530fa; color:var(--light-text); }
.v2-collection { width:min(580px,calc(100vw - 32px)); max-height:75dvh; padding:24px; }
.v2-collection header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.v2-collection h2 { font-size:21px; margin:0; }
.v2-collection header button { width:44px; height:44px; }
.v2-collection [data-collection-items] { display:grid; gap:8px; margin-top:20px; }
.v2-collection [data-collection-id] { display:grid; gap:8px; padding:16px; text-align:left; border-radius:12px!important; }
.v2-collection small,.v2-collection p { color:var(--light-muted); line-height:1.8; }
.v2-collection-row { display:grid; grid-template-columns:minmax(0,1fr) 76px; gap:8px; }
.v2-collection-row [data-parent-id] { min-height:44px; border-radius:12px!important; color:var(--light-active)!important; }
.v2-parent-label { position:absolute; z-index:12; transform:translate(-50%,-100%); color:#a9ccc9; }
.v2-floating-hint { display:flex; align-items:center; gap:10px; box-sizing:border-box; width:max-content; max-width:min(440px,calc(100% - 24px)); padding:6px 8px 6px 12px; border-radius:12px; background:#081a21d9; color:#a9ccc9; font-size:12px; line-height:1.7; text-align:left; pointer-events:auto; }
.v2-floating-hint[hidden] { display:none; }
.v2-floating-hint [data-floating-hint-text] { min-width:0; overflow-wrap:anywhere; }
.v2-floating-hint-actions { display:flex; flex-shrink:0; align-items:center; gap:6px; }
#lifeform-stage.v2-universe .v2-floating-hint button { min-width:44px; min-height:44px; padding:8px 10px; white-space:nowrap; font-size:12px; }
#lifeform-stage.v2-universe .v2-floating-hint [data-floating-hint-action="close"] { width:44px; padding:0; font-size:20px; }
.v2-universe .universe-flight-control .v2-floating-hint { max-width:calc(100vw - 120px); }
.v2-parent-panel { position:absolute; z-index:70; top:104px; right:24px; width:320px; max-width:calc(100% - 32px); max-height:calc(100% - 226px); overflow:auto; box-sizing:border-box; padding:22px; border:1px solid #d2f5f020; border-radius:22px; background:#0b202bf7; color:var(--light-text); }
.v2-parent-panel[hidden],.v2-parent-label[hidden] { display:none; }
.v2-parent-panel header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.v2-parent-panel h2 { margin:6px 0 14px; font-size:21px; }
.v2-parent-panel p { font-size:14px; line-height:1.8; }
.v2-parent-panel :is(small,.v2-parent-description,details,.v2-parent-status) { color:var(--light-muted); }
.v2-parent-panel button { min-height:44px; padding:9px 12px; border:1px solid #d2f5f028; border-radius:12px; color:var(--light-text); background:#102d38; }
.v2-parent-panel header button { min-width:44px; padding:0; font-size:22px; }
.v2-parent-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.v2-parent-actions button:first-child { border-color:transparent; color:#092a2d; background:var(--light-active); }
.v2-parent-panel details { margin-top:18px; font-size:12px; }
.v2-parent-panel summary { cursor:pointer; padding:8px 0; }
.v2-parent-panel details p { font-size:12px; overflow-wrap:anywhere; }
.v2-home.v2-clean :is(.v2-parent-label,.v2-parent-panel) { visibility:hidden!important; pointer-events:none!important; }
@media(max-width:700px) {
 .v2-parent-panel { top:auto; bottom:150px; left:16px; right:16px; width:auto; max-width:none; max-height:calc(100dvh - 292px); padding:16px; }
 .v2-universe .v2-bottom [data-home-action="parent"] { padding:10px 12px; }
}
.v2-home.v2-clean :is(.cockpit-header,.side-rail,.mission-panel,.cockpit-controls),.v2-universe.v2-clean :is(.v2-bottom,.v2-corners,.universe-dock,.universe-film,.universe-flight-control,.cosmic-recording,.cosmic-frame-guide,.universe-clean-controls) { visibility:hidden!important; opacity:0!important; pointer-events:none!important; }
.v2-home.daylight-mode .cockpit-header :is(button,a,summary) { color:#183b43; }
.v2-home.daylight-mode .v2-header-actions .v2-flow { color:#cb354b; }
@keyframes light-heart { 0%,40%,100% { transform:scale(1); } 12%,28% { transform:scale(1.09); } 20% { transform:scale(1); } }
@keyframes light-bulb { 0%,100% { opacity:.65; filter:drop-shadow(0 0 2px #ffd65c33); } 50% { opacity:1; filter:drop-shadow(0 0 8px #ffd65caa); } }
@media(max-width:900px) { .v2-home .cockpit-brand b { font-size:16px; } .v2-home .v2-nav :is(button,a) { padding:0 14px; } .v2-home .v2-header-actions { gap:4px; } .v2-home .cockpit-header { padding:16px; gap:4px; } }
@media(max-width:700px) {
  .v2-home .cockpit-header { height:132px; align-items:flex-start; padding:12px; }
  .v2-home .cockpit-brand { height:44px; }
  .v2-home .cockpit-brand { max-width:calc(100vw - 192px); }
  .v2-brand-reserve { font-size:16px; }
  .v2-home .v2-nav { top:66px; width:calc(100% - 32px); justify-content:center; }
  .v2-home .v2-nav :is(button,a) { flex:1; padding:0 10px; font-size:14px; text-align:center; justify-content:center; }
  .v2-home .v2-header-actions { margin-left:auto; gap:2px; }
  .v2-home .v2-header-actions > :is(a,button),.v2-home .v2-create summary { min-width:40px; padding:6px; }
  .v2-home .v2-header-actions .v2-sculpted-action { width:40px; padding:0; }
  .v2-home .profile-meta { display:none!important; }
  .v2-home .side-rail { top:126px; left:16px; bottom:150px; width:min(290px,calc(100% - 32px)); }
  .v2-universe .v2-bottom { bottom:84px; width:max-content; }
  .v2-universe { --v2-controls-bottom:max(20px,env(safe-area-inset-bottom)); }
  .v2-universe .v2-corners { left:12px; right:12px; }
  .v2-universe :is(.v2-corners,.universe-film) button { padding:8px 10px; font-size:13px; }
  .v2-universe .universe-settings { bottom:142px; left:16px; width:calc(100% - 32px); max-height:calc(100% - 280px); }
  .v2-universe .universe-discoveries nav { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .v2-home .mission-panel { left:16px; right:16px; top:138px; bottom:190px; width:auto; }
  .v2-home .cockpit-controls { left:16px; right:16px; bottom:138px; width:auto; }
}
@media(prefers-reduced-motion:reduce) { .v2-flow svg,.v2-flash svg { animation:none; } }
.v2-home.effect-reduced :is(.v2-flow,.v2-flash) svg { animation:none; }
html[data-screen="home-usable"] #app .usable-cockpit.v2-home .mission-panel .v2-domain-reader :is(button,a,summary) { font-size:14px!important; }
html[data-screen="home-usable"] #app .usable-cockpit.v2-home .mission-panel .v2-domain-reader .v2-domain-primary { background-color:#22585bba!important; border-color:#67e4d64d!important; border-radius:12px!important; }
html[data-screen="home-usable"] #app .usable-cockpit.v2-home .mission-panel .v2-domain-reader :is(.v2-domain-text-action,[data-close-domain-sidebar]) { border:0!important; background-color:transparent!important; }
html[data-screen="home-usable"] #app .usable-cockpit.v2-home .mission-panel .v2-domain-reader [data-close-domain-sidebar] { font-size:24px!important; }
#lifeform-stage.v2-universe :is(.v2-bottom,.v2-corners) button { border-radius:12px!important; }
.v12-admin-shell { --admin-accent:var(--light-active); }
.v12-admin-shell :is(button,input,select,textarea) { min-height:var(--light-control-size); border-radius:var(--light-control-radius); }
.v2-home .cockpit-brand b { display:block!important; }
.v12-admin-shell .v12-admin-brand b { width:auto; height:auto; min-width:0; border:0; border-radius:0; white-space:nowrap; font-size:18px; color:var(--light-text); }
.v12-admin-shell .v12-admin-brand { gap:12px; }
.v12-admin-shell .v12-admin-panel-copy { font-size:14px; line-height:1.8; }
.v12-admin-shell .v12-admin-panel-stats small { font-size:12px; }
/* Switchable panels leave the main entrances reachable. */
.v2-home .cockpit-header { z-index:80; }
.v2-universe :is(.v2-bottom,.v2-corners) { z-index:80; }
.v2-home dialog[open] { position:fixed; inset:96px auto auto 50%; transform:translateX(-50%); margin:0; max-height:calc(100dvh - 216px); max-width:calc(100vw - 48px); z-index:70; overflow:auto; }
.v2-universe .cosmic-camera { bottom:96px; max-height:calc(100% - 216px); }
#lifeform-stage.v2-universe .universe-settings { width:360px; padding:20px; border:1px solid #d2f5f020; box-shadow:0 16px 48px #0004; color:var(--light-text); }
#lifeform-stage.v2-universe .universe-settings header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 16px; }
#lifeform-stage.v2-universe .universe-settings header b { font-size:20px; font-weight:600; }
#lifeform-stage.v2-universe .universe-settings button,
#lifeform-stage.v2-universe .universe-settings select,
#lifeform-stage.v2-universe .universe-settings input:not([type="range"]) { box-sizing:border-box; min-height:44px; max-width:100%; padding:8px 12px; border:1px solid #d2f5f022!important; border-radius:12px!important; color:var(--light-text)!important; background:#071821!important; font:inherit; font-size:14px; line-height:1.4; box-shadow:none!important; }
#lifeform-stage.v2-universe .universe-settings header button { width:44px; padding:0; border:0!important; background:transparent!important; font-size:24px; }
#lifeform-stage.v2-universe .v2-settings-tabs { display:flex; gap:4px; padding:4px; margin-bottom:20px; border-radius:14px; background:#061b24; }
#lifeform-stage.v2-universe .v2-settings-tabs button { flex:1; border:0!important; background:transparent!important; color:var(--light-muted)!important; }
#lifeform-stage.v2-universe .v2-settings-tabs [aria-selected="true"] { background:#234047!important; color:var(--light-text)!important; }
#lifeform-stage.v2-universe [data-settings-group] { display:grid; gap:16px; }
#lifeform-stage.v2-universe .universe-settings [hidden] { display:none!important; }
#lifeform-stage.v2-universe [data-settings-group] h3 { display:none; }
#lifeform-stage.v2-universe .v2-setting-row,
#lifeform-stage.v2-universe .universe-settings :is(.universe-tempo,.universe-custom-speed,.universe-mode,.universe-quality) { position:static; display:grid; grid-template-columns:minmax(80px,1fr) minmax(0,170px); align-items:center; gap:12px; padding:0; margin:0; border:0; background:none; font-size:14px; line-height:1.6; color:var(--light-muted); }
#lifeform-stage.v2-universe .v2-setting-row > button { justify-self:stretch; }
#lifeform-stage.v2-universe .universe-settings :is(label,select,input) { min-width:0; }
#lifeform-stage.v2-universe .universe-settings :is(.universe-tempo,.universe-custom-speed,.universe-mode,.universe-quality) > span { display:block!important; }
#lifeform-stage.v2-universe .universe-settings :is(.universe-tempo,.universe-custom-speed,.universe-mode,.universe-quality) > :is(select,input) { grid-column:2; width:100%; max-width:none; }
#lifeform-stage.v2-universe .universe-settings .universe-quality small { grid-column:1 / -1; margin:0; font-size:12px; color:var(--light-muted); line-height:1.6; }
#lifeform-stage.v2-universe .universe-settings .universe-volume { display:grid; grid-template-columns:1fr auto; gap:12px; margin:0; padding:0; font-size:14px; color:var(--light-muted); }
#lifeform-stage.v2-universe .universe-volume output { position:static; grid-column:2; grid-row:1; color:var(--light-text); }
#lifeform-stage.v2-universe .universe-volume input { grid-column:1 / -1; grid-row:2; width:100%; min-height:44px; margin:0; padding:0; accent-color:var(--light-active); }
#lifeform-stage.v2-universe .v2-flight-actions { display:flex; flex-wrap:wrap; gap:8px; }
#lifeform-stage.v2-universe .v2-flight-actions button { flex:1 1 auto; }
#lifeform-stage.v2-universe .universe-settings p { margin:0; padding:0; font-size:12px; line-height:1.8; color:var(--light-muted); }
#lifeform-stage.v2-universe .v2-settings-help { margin-top:20px; padding-top:8px; border-top:1px solid #d2f5f012; }
#lifeform-stage.v2-universe .v2-settings-help summary { display:flex; align-items:center; min-height:44px; color:var(--light-muted); font-size:13px; cursor:pointer; }
#lifeform-stage.v2-universe .v2-settings-help > div { display:grid; gap:12px; }
#lifeform-stage.v2-universe .v2-direction-finder { position:absolute; left:50%; bottom:96px; transform:translateX(-50%); width:min(560px,calc(100% - 48px)); max-height:calc(100% - 200px); padding:24px; box-sizing:border-box; overflow:auto; z-index:70; border:1px solid #d2f5f020; border-radius:24px; color:var(--light-text); background:#0c2530fa; box-shadow:0 16px 48px #0004; }
.v2-direction-finder[hidden] { display:none; }
.v2-fullscreen-notice { position:absolute; z-index:90; left:50%; bottom:112px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 40px); display:flex; align-items:center; gap:12px; padding:12px 16px; border:1px solid #d2f5f030; border-radius:16px; background:#0c2530f5; color:#e8f2ee; }
.v2-fullscreen-notice[hidden] { display:none; }
.v2-fullscreen-notice p { margin:0; font-size:14px; line-height:1.6; }
.v2-fullscreen-notice button { min-height:44px; flex-shrink:0; cursor:pointer; }
@media(max-width:600px){.v2-fullscreen-notice{flex-wrap:wrap;width:calc(100% - 40px);box-sizing:border-box;}.v2-fullscreen-notice p{flex:1 1 100%;}}
.v2-direction-finder header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.v2-direction-finder h2 { margin:0; font-size:21px; font-weight:600; }
.v2-direction-finder header p { margin:8px 0 20px; color:var(--light-muted); font-size:14px; line-height:1.7; }
#lifeform-stage.v2-universe .v2-direction-finder :is(button,input,select) { min-height:44px; min-width:0; border:1px solid #d2f5f020!important; border-radius:12px!important; color:var(--light-text)!important; background:#071821!important; padding:10px 12px; font:inherit; font-size:14px; box-shadow:none!important; }
#lifeform-stage.v2-universe .v2-direction-finder header button { flex:0 0 44px; width:44px; border:0!important; background:transparent!important; font-size:24px; padding:0; }
.v2-search-field input { width:100%; box-sizing:border-box; }
.v2-search-field textarea { width:100%; box-sizing:border-box; resize:vertical; min-height:88px; max-height:180px; padding:14px; border:1px solid #d2f5f030; border-radius:12px; background:#071821; color:var(--light-text); font:inherit; font-size:16px; line-height:1.6; }
.v2-direction-finder [data-intent-form] { display:grid; gap:12px; }
.v2-direction-finder .v2-search-results { gap:8px; }
#lifeform-stage.v2-universe .v2-direction-finder .v2-intent-submit { background:#22585b!important; width:100%; }
.v2-direction-browse { margin-top:18px; border-top:1px solid #d2f5f020; padding-top:8px; }
.v2-direction-browse > summary { cursor:pointer; min-height:44px; display:flex; align-items:center; font-size:14px; color:var(--light-muted); }
.v2-intent-card { padding:12px 16px; border:1px solid #d2f5f020; border-radius:14px; }
.v2-intent-card h3 { margin:8px 0; font-size:20px; }
.v2-intent-card p { margin:8px 0 14px; }
.v2-intent-card > button { width:100%; }
.v2-direction-finder [data-browse-results] { display:grid; gap:8px; max-height:240px; overflow:auto; }
.v2-direction-finder [data-browse-results] > button { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; }
.v2-direction-finder [data-clarify-form],.v2-direction-finder [data-clarify-form] label { display:grid; gap:12px; font-size:15px; line-height:1.7; }
.v2-direction-finder [data-intent-retry],.v2-direction-finder [data-intent-alternatives] { justify-self:start; }
.v2-exploration-question { font-size:16px; line-height:1.7; overflow-wrap:anywhere; }
.v2-home.daylight-mode .v2-search-field textarea { background:#e1ede7; }
.v2-category-field { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; font-size:14px; color:var(--light-muted); }
.v2-search-count { margin:16px 0 8px; font-size:12px; color:var(--light-muted); }
.v2-search-results { display:grid; gap:8px; }
.v2-search-count:empty { display:none; }
.v2-search-results:not(:empty) { margin-top:16px; }
#lifeform-stage.v2-universe .v2-search-results button { display:grid; grid-template-columns:1fr auto; text-align:left; column-gap:12px; row-gap:6px; padding:14px 16px; border:0!important; }
.v2-search-results b { font-size:15px; font-weight:500; }
.v2-search-results small { grid-row:2; color:var(--light-muted); font-size:12px; line-height:1.6; }
.v2-search-results span { grid-column:2; grid-row:1 / 3; align-self:center; font-size:13px; color:var(--light-active); }
.v2-search-results p { font-size:14px; line-height:1.8; color:var(--light-muted); }
.v2-home.v2-clean .v2-direction-finder { visibility:hidden; }
.v2-home.daylight-mode .universe-settings,.v2-home.daylight-mode .v2-direction-finder { --light-text:#153e43; --light-muted:#486566; background:#eff6f2!important; }
.v2-home.daylight-mode #lifeform-stage :is(.universe-settings,.v2-direction-finder) :is(button,input,select),.v2-home.daylight-mode #lifeform-stage .v2-settings-tabs { background:#e1ede7!important; }
.v2-home.daylight-mode #lifeform-stage .v2-settings-tabs [aria-selected="true"] { background:#c9e0d7!important; }
@media(max-width:700px) {
  .v2-home dialog[open] { top:142px; max-height:calc(100dvh - 300px); max-width:calc(100vw - 32px); }
  #lifeform-stage.v2-universe :is(.universe-settings,.v2-direction-finder,.cosmic-camera) { bottom:150px; max-height:calc(100% - 292px); width:calc(100% - 32px); left:16px; padding:16px; }
  #lifeform-stage.v2-universe .v2-direction-finder { transform:none; }
  .v2-home .cockpit-brand b { font-size:14px; letter-spacing:1px; }
  .v2-home .side-rail { position:absolute; margin:0; max-height:none; height:auto; display:flex; flex-direction:column; align-items:stretch; overflow-y:auto; }
  .v2-home .side-rail[hidden] { display:none; }
  .v2-home .side-rail-group { display:grid; }
  .v2-home .side-rail-heading { display:block; }
}

/* Only controls carry glass; the full-width header and navigation gaps stay clear. */
.usable-cockpit.v2-home :is(.cockpit-header,.v2-nav) { background:none; border:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.usable-cockpit.v2-home {
  --glass-control:rgba(8,30,42,.36);
  --glass-control-hover:rgba(30,91,103,.52);
  --glass-control-sheen:none;
  --v2-glass-reflection:rgba(239,255,255,.24);
  --v2-glass-selected:rgba(43,116,119,.48);
  --v2-glass-ink:var(--light-text);
}
.usable-cockpit.v2-home.daylight-mode {
  --glass-control:rgba(239,249,245,.46);
  --glass-control-hover:rgba(217,239,235,.68);
  --v2-glass-reflection:rgba(255,255,255,.58);
  --v2-glass-selected:rgba(147,211,199,.56);
  --v2-glass-ink:#183b43;
}
/* The universe scope also covers controls whose inherited styles use the stage ID. */
:is(.usable-cockpit.v2-home,.v2-home #lifeform-stage.v2-universe)
:is(button,[role="button"],.v2-nav a,.v2-header-actions > a,.side-rail a,.arrival-actions a,.v2-create > summary):where(:not(.knowledge-marker):not(.map-node):not(.map-3d-label):not(.talent-icon-node):not(.spine-domain-label)) {
  box-sizing:border-box;
  position:var(--v2-control-position,relative);
  border:1px solid var(--v2-button-edge,var(--glass-border))!important;
  border-radius:var(--light-control-radius)!important;
  background:var(--v2-button-fill,var(--glass-control))!important;
  color:var(--v2-button-ink,var(--v2-glass-ink))!important;
  -webkit-backdrop-filter:var(--glass-blur-compact)!important;
  backdrop-filter:var(--glass-blur-compact)!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transform:var(--v2-control-transform,none)!important;
  filter:none!important;
  will-change:auto!important;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease!important;
}
/* A travelling reflection is painted inside the control; it never catches pointer events. */
:is(.usable-cockpit.v2-home,.v2-home #lifeform-stage.v2-universe)
:is(button,[role="button"],.v2-nav a,.v2-header-actions > a,.side-rail a,.arrival-actions a,.v2-create > summary):where(:not(.knowledge-marker):not(.map-node):not(.map-3d-label):not(.talent-icon-node):not(.spine-domain-label))::after {
  content:"";
  display:block!important;
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 43%,var(--v2-glass-reflection) 50%,transparent 57%) 100% 0 / 300% 100% no-repeat;
  animation:v2-glass-sweep 6.4s ease-in-out var(--v2-sweep-delay,0s) infinite;
}
@keyframes v2-glass-sweep {
  0%,5% { background-position:100% 0; }
  28%,100% { background-position:0% 0; }
}
.v2-home :is(button,a,summary):nth-child(3n+2) { --v2-sweep-delay:-2.1s; }
.v2-home :is(button,a,summary):nth-child(3n+3) { --v2-sweep-delay:-4.2s; }
.v2-home .cosmic-recording { --v2-control-position:absolute; --v2-control-transform:translateX(-50%); }
.v2-home .universe-tools-toggle { --v2-control-position:absolute; }
.v2-home .domain-start-action::before { display:none!important; }
.v2-home.v2-clean :is(button,a,summary,[role="button"])::after { animation-play-state:paused!important; }
.v2-home.effect-reduced :is(button,a,summary,[role="button"])::after,
.v2-home :is(button,[role="button"]):is(:disabled,[aria-disabled="true"])::after { content:none!important; animation:none!important; }
@media(prefers-reduced-motion:reduce) {
  .v2-home :is(button,a,summary,[role="button"])::after { content:none!important; animation:none!important; }
}
.v2-home :is(button,[role="button"],.v2-nav a,.v2-header-actions > a,.side-rail a,.arrival-actions a,.v2-create > summary):is([aria-pressed="true"],[aria-selected="true"],[aria-current="page"],[data-explore-state="running"],.is-active,.arrival-primary),
.v2-home .v2-create[open] > summary {
  --v2-button-fill:var(--v2-glass-selected);
  --v2-button-edge:var(--light-active);
}
.v2-home :is(button,[role="button"],.v2-nav a,.v2-header-actions > a,.side-rail a,.arrival-actions a,.v2-create > summary):where(:not(:disabled):not([aria-disabled="true"])):is(:hover,:focus-visible) {
  --v2-button-fill:var(--glass-control-hover);
  --v2-button-edge:var(--glass-border-strong);
}
.v2-home :is(button,[role="button"],.v2-nav a,.v2-header-actions > a,.side-rail a,.arrival-actions a,.v2-create > summary):where(:not(:disabled):not([aria-disabled="true"])):active {
  --v2-button-fill:var(--v2-glass-selected);
}
.v2-home .v2-flow { --v2-button-ink:var(--light-flow); }
.v2-home.daylight-mode .v2-flow { --v2-button-ink:#cb354b; }
.v2-home .v2-flash { --v2-button-ink:#ffd65c; }
.v2-home :is(button,[role="button"]):is(:disabled,[aria-disabled="true"]) {
  --v2-button-ink:var(--glass-button-text-muted);
  --v2-button-edge:transparent;
  opacity:.5;
}
.v2-home .cockpit-brand { text-shadow:0 1px 8px #02060b99; }
@media(prefers-reduced-transparency:reduce) {
  .usable-cockpit.v2-home { --glass-control:rgba(8,30,42,.94); --glass-blur-compact:none; }
  .usable-cockpit.v2-home.daylight-mode { --glass-control:rgba(239,249,245,.94); }
}
