/* Four approved worlds. The ocean homepage and account pages are deliberately out of scope. */
html body #im-root[data-scene]:not([data-scene=""]){--world-ink:#f1e8d7;--world-gold:#dcc394;--world-serif:Georgia,'Times New Roman',serif;background:#020405!important;color:var(--world-ink)}
html body #im-root[data-scene]:not([data-scene=""]) .im-universe{display:none!important}
html body #im-root .iv-world-scene,html body #im-root .iv-world-departure{position:absolute;inset:0;z-index:0;pointer-events:none;background-color:#020405;background-size:cover;background-position:center;overflow:hidden}
html body #im-root .iv-world-departure{z-index:1000;animation:iv-world-depart .42s cubic-bezier(.2,.7,.2,1) both}
@keyframes iv-world-depart{to{opacity:0;transform:scale(1.035);filter:blur(5px)}}
html body #im-root[data-scene="i"] .iv-world-scene{animation:iv-star-breathe 9s ease-in-out infinite alternate}
@keyframes iv-star-breathe{from{filter:brightness(.93)}to{filter:brightness(1.08)}}
html body #im-root[data-scene]:not([data-scene=""]) :is(.im-gate,.im-chat,.im-space,.im-destination){background:transparent!important}
html body #im-root[data-scene]:not([data-scene=""]) #im-gate{background:transparent!important;position:absolute;inset:0;padding:0!important;display:block!important;overflow:auto;backdrop-filter:none}
html body #im-root[data-scene]:not([data-scene=""]) #im-gate[hidden]{display:none!important}
html body #im-root[data-scene]:not([data-scene=""]) #im-gate>.im-gate-brand{display:none!important}
html body #im-root .iv-world-welcome{position:absolute;inset:0;min-height:400px}
html body #im-root .iv-world-welcome[hidden],html body #im-root .im-entry-card[hidden]{display:none!important}
html body #im-root .iv-world-welcome>section{display:none}
html body #im-root[data-scene="i"] .iv-welcome-i,html body #im-root[data-scene="feed"] .iv-welcome-feed,html body #im-root[data-scene="studios"] .iv-welcome-studios,html body #im-root[data-scene="map"] .iv-welcome-map{display:block}
html body #im-root :is(.iv-world-welcome,.iv-studio-home,.iv-feed-scene-copy) h1,html body #im-root .iv-broker-scene-title{font:400 clamp(36px,4.4vw,76px)/1.08 var(--world-serif);letter-spacing:-.035em;text-shadow:0 2px 28px #0009;margin:0 0 32px;color:var(--world-ink)}
html body #im-root .iv-world-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:164px;padding:11px 27px;border:1px solid #dbc59bba!important;border-radius:30px;background:#0306079c!important;color:var(--world-ink);box-shadow:inset 0 1px 0 #fff1;font:400 18px/1.3 var(--world-serif);backdrop-filter:blur(12px);transition:background .2s,box-shadow .2s}
html body #im-root .iv-world-button:hover{background:#cda96717!important;box-shadow:0 0 26px #e6ba6e19}
html body #im-root .iv-world-button:active{transform:none}
html body #im-root .iv-world-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
html body #im-root :is(.iv-world-signin,.iv-world-auth-close,.iv-world-text-button){background:transparent;border:0;border-radius:0;color:#e4d4b8;font:15px/1.4 var(--world-serif);min-height:44px;padding:10px 16px}
html body #im-root .iv-world-signin{position:absolute;right:28px;top:16px;z-index:3}
html body #im-root[data-scene]:not([data-scene=""]) .im-entry-card{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 40px))!important;max-height:calc(100% - 40px);overflow:auto;padding:28px!important;background:#05090def!important;border:1px solid #dbc59b5e!important;border-radius:18px!important;box-shadow:0 20px 140px #000b!important;backdrop-filter:blur(28px)}
html body #im-root .iv-world-auth-close{display:block;margin:0 0 12px -12px}
html body #im-root:not([data-scene]),html body #im-root[data-scene=""]{--world-serif:Georgia,'Times New Roman',serif}
html body #im-root:not([data-scene]) .iv-world-auth-close,html body #im-root[data-scene=""] .iv-world-auth-close{display:none}
html body #im-root.iv-world-auth-open .iv-world-scene{filter:brightness(.55)}

/* I: the star, its question, and one quiet prompt. */
html body #im-root[data-scene="i"] .iv-welcome-i{position:absolute;inset:69% 0 auto;text-align:center}
html body #im-root[data-scene="i"] .iv-welcome-i h1,html body #im-root[data-scene="i"] .im-chat-intro h2{font:400 clamp(28px,2.9vw,48px)/1.2 var(--world-serif)!important;letter-spacing:-.025em;color:var(--world-ink)!important;margin:0!important;text-align:center}
html body #im-root .iv-world-prompt,html body #im-root[data-scene="i"] #im-chat-form{display:flex!important;align-items:center;gap:0;width:min(960px,57%);height:66px;min-height:56px;padding:0 12px 0 26px!important;border:1px solid #decba477!important;border-radius:13px!important;background:#0b0c0ca8!important;box-shadow:inset 0 1px 0 #fff06,0 8px 40px #0004!important;backdrop-filter:blur(16px);margin:30px auto 0!important}
html body #im-root .iv-world-prompt input,html body #im-root[data-scene="i"] #im-chat-input{flex:1;width:100%;min-width:0;height:60px!important;min-height:0!important;max-height:60px!important;padding:18px 0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#f2e9d7;font:400 19px/24px var(--world-serif)!important;resize:none;outline:none}
html body #im-root :is(.iv-world-prompt input,#im-chat-input)::placeholder{color:#bcb4a5!important;opacity:1}
html body #im-root :is(.iv-world-prompt,#im-chat-form):focus-within{border-color:#e5c792!important;box-shadow:0 0 0 2px #e5c79212!important}
html body #im-root .iv-world-prompt button,html body #im-root[data-scene="i"] #im-chat-form button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0!important;background:transparent!important;box-shadow:none!important;color:#e7d8bb;font-size:24px;line-height:1}
html body #im-root :is(.iv-world-prompt,#im-chat-form) svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4}
html body #im-root .iv-world-prompt .iv-welcome-send,html body #im-root[data-scene="i"] #im-chat-form:not(.iv-has-draft) #im-chat-submit:not(:disabled){display:none}
html body #im-root .iv-has-draft .iv-welcome-send{display:grid}
html body #im-root[data-scene="i"] .im-chat{position:relative;max-width:none!important;height:100%!important;width:100%;padding:0!important;display:block}
html body #im-root[data-scene="i"] .im-chat>.im-screen-bar{position:absolute;top:12px;right:24px;left:auto;width:auto!important;padding:0!important;margin:0!important;min-height:44px!important;z-index:6}
html body #im-root[data-scene="i"] .im-chat>.im-screen-bar>.im-back,html body #im-root[data-scene="i"] .iv-i-actions,html body #im-root[data-scene="i"] .iv-i-orb,html body #im-root[data-scene="i"] .iv-i-light small,html body #im-root[data-scene="i"] .im-chat-intro :is(img,p){display:none!important}
html body #im-root[data-scene="i"] .iv-i-light{position:absolute;left:24px;top:12px;width:auto;height:44px!important;z-index:5;display:block!important}
html body #im-root[data-scene="i"] #im-chat-log{position:absolute;inset:69% 0 auto;width:100%;max-width:none;padding:0!important;margin:0!important;overflow:visible;display:block;flex:none}
html body #im-root[data-scene="i"] .im-chat-intro{margin:0!important;padding:0!important}
html body #im-root[data-scene="i"] #im-chat-form{position:absolute;top:calc(69% + clamp(34px,3.5vw,58px));left:50%;transform:translateX(-50%);opacity:1!important;visibility:visible!important;pointer-events:auto!important}
html body #im-root[data-scene="i"] #im-chat-note{position:absolute;top:calc(69% + clamp(34px,3.5vw,58px) + 104px);left:50%;transform:translateX(-50%);width:min(960px,57%);max-width:none;padding:0 8px!important;color:#dfd0b6;font:12px/1.5 Arial,sans-serif;z-index:4}
html body #im-root[data-scene="i"].iv-has-conversation .iv-world-scene{opacity:.28;animation:none}
html body #im-root[data-scene="i"].iv-has-conversation #im-chat-log{inset:76px 0 140px;width:min(840px,calc(100% - 40px));max-width:840px;margin:0 auto!important;padding:8px 24px!important;overflow:auto;display:flex}
html body #im-root[data-scene="i"].iv-has-conversation #im-chat-form{top:auto;bottom:34px;width:min(840px,calc(100% - 40px))}
html body #im-root[data-scene="i"].iv-has-conversation #im-chat-note{top:auto;bottom:108px;width:min(840px,calc(100% - 40px))}
html body #im-root[data-scene="i"] .im-chat-message{font:16px/1.75 Arial,sans-serif!important;text-shadow:0 2px 8px #000}
html body #im-root[data-scene="i"] .iv-i-light.is-speaking{color:#ffe1a2}
html body #im-root[data-scene="i"]:has(.iv-i-light.is-speaking) .iv-world-scene{animation:iv-star-breathe 1.8s ease-in-out infinite alternate}

/* 29: a real feed framed by a lunar world. */
html body #im-root .iv-lunar-window{position:absolute;left:7%;top:13%;width:23%;height:70%;max-width:380px;border:1px solid #d8c397;border-radius:15px;background:#08111a url('/invictus/scenes/29-moons.webp') 68% center/auto 100%;box-shadow:0 18px 80px #0008;overflow:hidden}
html body #im-root .iv-lunar-window span{position:absolute;top:18px;left:20px;font:28px var(--world-serif)}
html body #im-root .iv-welcome-feed .iv-world-copy,html body #im-root .iv-feed-scene-copy{position:absolute;left:33%;top:36%;max-width:40%;pointer-events:none}
html body #im-root .iv-welcome-feed .iv-world-copy button{pointer-events:auto}
html body #im-root .iv-feed-scene-copy h1{font-size:clamp(40px,4vw,72px)}
html body #im-root .iv-feed-scene-copy p{max-width:230px;font:14px/1.6 Arial,sans-serif;color:#c7bba6}
html body #im-root[data-scene="feed"] .im-feed-mark{display:none!important}

/* Studios: tools open the existing verified editor within its own world. */
html body #im-root .iv-welcome-studios,html body #im-root .iv-studio-home>.iv-world-copy{position:absolute;left:7%;top:23%;max-width:59%}
html body #im-root .iv-studio-home{position:absolute;inset:0;z-index:2}
html body #im-root[data-scene="studios"] [data-screen="studios"]>iframe{visibility:hidden;pointer-events:none}
html body #im-root[data-scene="studios"] [data-screen="studios"].iv-editor-open>iframe{visibility:visible;pointer-events:auto;top:52px!important;height:calc(100% - 52px)!important;background:#030607}
html body #im-root [data-screen="studios"].iv-editor-open .iv-studio-home{display:none}
html body #im-root .iv-studio-back{display:none;position:absolute;left:18px;top:5px;height:42px;border:0;background:#030607;color:#e6d4b6;z-index:4}
html body #im-root .iv-editor-open .iv-studio-back{display:block}
html body #im-root .iv-studio-wave{position:absolute;left:0;top:67%;width:59%;height:110px;align-items:center;justify-content:space-between;display:none;opacity:.65;filter:drop-shadow(0 0 7px #e5b870)}
html body #im-root[data-scene="studios"] .iv-studio-wave{display:flex}
html body #im-root .iv-studio-wave i{display:block;width:2px;height:var(--wave-height);background:linear-gradient(transparent,#efd29d 38%,#fff0cc 50%,#c29144 65%,transparent);animation:iv-world-wave 5s ease-in-out var(--wave-delay) infinite alternate}
@keyframes iv-world-wave{to{transform:scaleY(.63);opacity:.65}}

/* Broker: authentic loan positions and confirmations remain untouched. */
html body #im-root .iv-welcome-map h1,html body #im-root .iv-broker-scene-title{position:absolute;top:11%;left:7%;font-size:clamp(36px,4.1vw,70px);max-width:45%;pointer-events:none;z-index:3}
html body #im-root .iv-welcome-map>.iv-world-button{position:absolute;right:6%;bottom:9%}
html body #im-root .iv-broker-welcome-note{position:absolute;left:7%;bottom:9%;font:16px/1.5 var(--world-serif);color:#e7dcc8}
html body #im-root[data-scene="map"] .im-space{background:transparent!important}
html body #im-root[data-scene="map"] .im-space::before,html body #im-root[data-scene="map"] .im-map-name{display:none!important}
html body #im-root[data-scene="map"] .im-top{top:18px!important;right:24px!important;left:auto!important;width:auto}
html body #im-root[data-scene="map"] .im-search{left:auto!important;right:5%!important;top:22px!important;transform:none!important;width:260px!important}
html body #im-root[data-scene="map"] .im-search input{background:#00101bc4!important;border-color:#bcd3d33d}
html body #im-root[data-scene="map"] .im-map-filter{bottom:32px!important;left:6%!important;font:17px var(--world-serif)!important;color:#f2e3c9}
html body #im-root[data-scene="map"] #im-new-request{bottom:32px!important;right:6%!important;border-color:#dbc59bb3!important;background:#03121bc9!important;font:17px var(--world-serif)!important}
html body #im-root[data-scene="map"] #im-map-status{bottom:92px!important}
html body #im-root[data-scene="map"] .im-star text{paint-order:stroke;stroke:#00101ccc;stroke-width:3px;stroke-linejoin:round;fill:#fff3d6}
@media(min-width:961px){
 html body #im-root[data-scene="feed"] #im-native-feed{position:absolute!important;inset:8% auto 10% 7%!important;width:28%!important;max-width:430px;height:82%!important;border:1px solid #ddc79a8c;border-radius:16px;overflow:hidden;box-shadow:0 20px 80px #0009;--web-feed-left:18px;--web-feed-right:18px}
 html body #im-root[data-scene="feed"] #im-native-feed :is(.is-feed-post,.is-feed-media){width:100%;height:100%}
 html body #im-root[data-scene="feed"] #im-native-feed .is-feed-copy{left:18px!important;right:62px!important;bottom:70px!important}
 html body #im-root[data-scene="feed"] #im-native-feed .is-feed-actions{right:12px!important;bottom:76px!important}
 html body #im-root[data-scene="feed"] #im-native-feed .is-home-tools{left:14px!important;right:14px!important;bottom:12px!important}
 html body #im-root[data-scene="feed"] .iv-feed-scene-copy{left:40%;top:33%}
}
@media(max-width:960px){
 html body #im-root .iv-feed-scene-copy{display:none}
 html body #im-root .iv-world-prompt,html body #im-root[data-scene="i"] #im-chat-form{width:76%;height:60px}
 html body #im-root[data-scene="i"] #im-chat-note{width:76%}
 html body #im-root .iv-welcome-feed .iv-world-copy{left:37%}
 html body #im-root .iv-world-actions{gap:12px}
 html body #im-root .iv-world-button{font-size:16px;min-width:140px;padding-inline:22px}
}
@media(max-width:600px){
 html body #im-root .iv-world-scene{background-position:center}
 html body #im-root[data-scene="feed"] .iv-world-scene{background-position:67% center}
 html body #im-root[data-scene="studios"] .iv-world-scene{background-position:62% center}
 html body #im-root[data-scene="i"] .iv-welcome-i{top:67%}
 html body #im-root .iv-world-prompt,html body #im-root[data-scene="i"] #im-chat-form{width:calc(100% - 40px);padding-left:18px!important;margin-top:24px!important}
 html body #im-root[data-scene="i"] #im-chat-log{top:67%}
 html body #im-root[data-scene="i"] #im-chat-form{top:calc(67% + 34px)}
 html body #im-root[data-scene="i"] #im-chat-note{top:calc(67% + 124px);width:calc(100% - 40px)}
 html body #im-root .iv-world-prompt input,html body #im-root[data-scene="i"] #im-chat-input{font-size:17px!important}
 html body #im-root .iv-world-signin{right:12px;top:8px}
 html body #im-root .iv-lunar-window{display:none}
 html body #im-root .iv-welcome-feed .iv-world-copy{left:8%;top:25%;max-width:76%}
 html body #im-root .iv-welcome-feed h1{font-size:56px;text-shadow:0 3px 26px #000}
 html body #im-root .iv-welcome-studios,html body #im-root .iv-studio-home>.iv-world-copy{top:16%;left:7%;max-width:90%}
 html body #im-root :is(.iv-welcome-studios,.iv-studio-home) h1{font-size:38px;text-shadow:0 3px 18px #000}
 html body #im-root .iv-world-actions{max-width:320px}
 html body #im-root .iv-studio-wave{width:90%;top:68%;opacity:.45}
 html body #im-root .iv-welcome-map h1,html body #im-root .iv-broker-scene-title{font-size:39px;max-width:90%;top:14%}
 html body #im-root .iv-broker-welcome-note{bottom:22%;right:7%;font-size:15px}
 html body #im-root .iv-welcome-map>.iv-world-button{bottom:10%;right:auto;left:7%}
 html body #im-root[data-scene="map"] .im-search{left:7%!important;right:auto!important;top:16px!important;width:calc(100% - 120px)!important}
 html body #im-root[data-scene="map"] .im-top{right:12px!important;top:16px!important}
}
@media(max-height:540px){
 html body #im-root .iv-world-welcome{min-height:0}
 html body #im-root[data-scene="i"] .iv-welcome-i,html body #im-root[data-scene="i"] #im-chat-log{top:62%}
 html body #im-root[data-scene="i"] .iv-welcome-i h1,html body #im-root[data-scene="i"] .im-chat-intro h2{font-size:26px!important}
 html body #im-root .iv-world-prompt{margin-top:16px!important;height:52px;min-height:48px}
 html body #im-root[data-scene="i"] #im-chat-form{top:calc(62% + 32px);height:52px;margin-top:16px!important}
 html body #im-root[data-scene="i"] #im-chat-note{top:calc(62% + 106px)}
 html body #im-root[data-scene="i"].iv-has-conversation #im-chat-log{top:50px;bottom:110px}
 html body #im-root[data-scene="i"].iv-has-conversation #im-chat-form{top:auto;bottom:18px}
 html body #im-root[data-scene="i"].iv-has-conversation #im-chat-note{top:auto;bottom:80px}
 html body #im-root :is(.iv-welcome-studios,.iv-studio-home) h1{font-size:32px;margin-bottom:20px}
}
html body #im-root.iv-world-paused .iv-world-scene,html body #im-root.iv-world-paused .iv-studio-wave i{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){html body #im-root .iv-world-scene,html body #im-root .iv-world-departure,html body #im-root .iv-studio-wave i{animation:none!important;transition:none!important}html body #im-root .iv-world-departure{display:none}}

/* Editing stays above mobile keyboards; the form itself provides the focus ring. */
html body #im-root[data-scene="i"] #im-chat-input:focus-visible,html body #im-root .iv-world-prompt input:focus-visible{outline:none!important}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] .iv-world-scene{opacity:.25;animation:none}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] .iv-welcome-i{top:auto;bottom:16px}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] .iv-welcome-i h1{display:none}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] #im-chat-form{top:auto;bottom:12px}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] #im-chat-log{inset:50px 0 112px;overflow:auto}
html body[data-web-keyboard="true"] #im-root[data-scene="i"] #im-chat-note{top:auto;bottom:82px}
@media(min-width:961px){html body #im-root[data-scene="feed"] [data-screen="feed"]>.is-home-tools{left:8%!important;right:auto!important;bottom:11%!important;width:26%!important;max-width:390px;gap:6px}html body #im-root[data-scene="feed"] #im-swipe-hint{display:none}}

html body #im-root .iv-world-copy,html body #im-root .iv-feed-scene-copy,html body #im-root .iv-welcome-map{text-align:left}
/* Unpack the older Broker toolbar without replacing any of its working controls. */
html body #im-root[data-scene="map"] .im-broker-toolbar{display:contents!important}
html body #im-root[data-scene="map"] .im-broker-toolbar .im-search{position:absolute!important;inset:22px 5% auto auto!important;transform:none!important;flex:none!important;width:260px!important;max-width:260px!important;z-index:5}
html body #im-root[data-scene="map"] .im-broker-toolbar .im-map-filter{position:absolute!important;inset:auto auto 108px 6%!important;max-width:none!important;padding:9px 14px!important;z-index:6}
html body #im-root[data-scene="map"] #im-new-request{display:flex!important;left:auto!important;right:6%!important;width:auto!important;min-width:180px!important;transform:none!important;color:#f1dfbf!important;border:1px solid #dbc59bb3!important;border-radius:30px!important;z-index:8}
html body #im-root[data-scene="map"] .iv-map-controls{top:82px!important;right:5%!important;bottom:auto!important}
html body #im-root[data-scene="map"] .web-broker-rail{top:auto!important;bottom:28px!important;left:6%!important;right:auto!important;width:auto!important;display:flex!important;align-items:center;gap:22px;padding:0;border:0;background:#03121b99;border-radius:12px}
html body #im-root[data-scene="map"] .web-broker-rail>button{width:auto;padding:0 10px;font:17px var(--world-serif);gap:14px}
html body #im-root[data-scene="map"] .web-broker-rail>button:first-child{display:none}
html body #im-root[data-scene="map"] .web-broker-balance{padding:6px 16px;gap:4px}
html body #im-root[data-scene="map"] #im-space{inset:0!important}
html body #im-root .iv-welcome-studios h1,html body #im-root .iv-welcome-feed h1,html body #im-root .iv-welcome-map h1{text-align:left!important}
@media(max-width:600px){
 html body #im-root[data-scene="map"] .im-broker-toolbar .im-search{inset:16px auto auto 7%!important;width:calc(100% - 120px)!important;max-width:none!important}
 html body #im-root[data-scene="map"] .iv-map-controls{top:75px!important;right:12px!important}
 html body #im-root[data-scene="map"] #im-new-request{bottom:92px!important;min-width:154px!important}
 html body #im-root[data-scene="map"] .im-broker-toolbar .im-map-filter{bottom:148px!important;left:6%!important}
 html body #im-root[data-scene="map"] .web-broker-rail{bottom:24px!important;left:6%!important;right:6%!important;gap:12px;justify-content:space-between}
 html body #im-root[data-scene="map"] #im-map-status{bottom:204px!important}
}
/* Account feedback needs a calm, opaque surface over the luminous star. */
html body #im-root[data-scene]:not([data-scene=""]) #im-gate .im-entry-card{padding:28px!important;background:#05090df2!important;border:1px solid #dbc59b5e!important;border-radius:18px!important;box-shadow:0 20px 140px #000b!important;animation:none!important;transform:translate(-50%,-50%)!important}
html body #im-root[data-scene].iv-world-auth-open .iv-world-scene{animation:none!important;filter:brightness(.4)!important}
/* Public scene controls are outside the account form and keep their own visual language. */
html body #im-root[data-scene] #im-gate .iv-world-welcome button{letter-spacing:normal;box-shadow:none!important;transform:none}
html body #im-root[data-scene] #im-gate .iv-world-signin{border:0!important;background:transparent!important;min-height:44px;padding:10px 16px;font:15px/1.4 var(--world-serif);color:#e4d4b8}
html body #im-root[data-scene] #im-gate .iv-world-button{display:inline-flex;min-height:50px;min-width:164px;padding:11px 27px;border:1px solid #dbc59bba!important;border-radius:30px;background:#0306079c!important;color:var(--world-ink);font:18px/1.3 var(--world-serif)}
html body #im-root[data-scene] #im-gate .iv-world-prompt button{display:grid!important;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0!important;background:transparent!important;box-shadow:none!important;color:#e7d8bb;font:24px/1 var(--world-serif)}
html body #im-root[data-scene] #im-gate .iv-world-prompt svg{flex:0 0 23px;min-width:23px;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4}
html body #im-root[data-scene] #im-gate .iv-world-prompt .iv-welcome-send{display:none!important}
html body #im-root[data-scene] #im-gate .iv-has-draft .iv-welcome-send{display:grid!important}
@media(max-width:960px){html body #im-root[data-scene] #im-gate .iv-world-button{font-size:16px;min-width:140px;padding-inline:22px}}

/* Living light: decorative layers breathe without shifting the approved composition. */
html body #im-root .iv-world-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;contain:paint}
html body #im-root .iv-world-aura,html body #im-root .iv-world-rays,html body #im-root .iv-world-lightfield{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
html body #im-root .iv-world-aura{opacity:.34;animation:iv-aura-breathe 8s ease-in-out infinite alternate}
html body #im-root .iv-world-lightfield{overflow:hidden}
html body #im-root .iv-world-lightfield>g{display:none}
html body #im-root[data-scene="i"] .iv-world-aura{background:radial-gradient(ellipse at 51.3% 31%,#ffe5a529 0,transparent 34%)}
html body #im-root[data-scene="i"] .iv-life-filaments{display:block;opacity:.62}
html body #im-root .iv-life-filaments path{stroke-width:.9;stroke-dasharray:2 210 38 660;animation:iv-filament-flow 34s linear infinite;vector-effect:non-scaling-stroke}
html body #im-root .iv-life-filaments path:nth-child(2n){animation-direction:reverse;animation-duration:43s;stroke-dasharray:1 370 19 520;opacity:.65}
html body #im-root .iv-life-filaments path:nth-child(3n){animation-delay:-18s}
html body #im-root[data-scene="i"]:has(.iv-i-light.is-speaking) .iv-life-filaments path{animation-duration:12s;stroke-width:1.2}
html body #im-root[data-scene="feed"] .iv-world-aura{background:radial-gradient(ellipse at 79% 28%,#a1ceff35,transparent 48%);animation:iv-lunar-light 13s ease-in-out infinite alternate}
html body #im-root[data-scene="feed"] .iv-life-orbits{display:block;opacity:.8}
html body #im-root .iv-life-orbits path{stroke-width:1.2;stroke-dasharray:1 73 2 149 1 263 4 470;animation:iv-orbital-flow 45s linear infinite;vector-effect:non-scaling-stroke}
html body #im-root .iv-life-orbits path:nth-child(2){opacity:.6;animation-delay:-22s;animation-duration:58s}
html body #im-root .iv-life-orbits path:nth-child(3){opacity:.42;animation-delay:-11s;animation-duration:39s}
html body #im-root[data-scene="studios"] .iv-world-aura{inset:-8%;width:116%;height:116%;background:radial-gradient(ellipse at 71% 24%,#b57cff25,transparent 47%),radial-gradient(ellipse at 93% 48%,#e8b46720,transparent 40%);animation:iv-nebula-drift 22s ease-in-out infinite alternate}
html body #im-root[data-scene="map"] .iv-world-aura{background:radial-gradient(ellipse at 58% 1%,#d8f7ff3d,transparent 62%);animation-duration:11s}
html body #im-root[data-scene="map"] .iv-world-rays{inset:-12% -14%;width:128%;height:124%;opacity:.22;transform-origin:60% 0;background:linear-gradient(109deg,transparent 39%,#c4eaff20 42%,transparent 46%),linear-gradient(104deg,transparent 48%,#d8f5ff2b 49%,transparent 53%),linear-gradient(117deg,transparent 57%,#d8f5ff25 59%,transparent 62%);animation:iv-ocean-rays 14s ease-in-out infinite alternate}
html body #im-root[data-scene="map"] .iv-life-caustics{display:block;opacity:.19;transform-origin:center;animation:iv-caustic-drift 16s ease-in-out infinite alternate}
html body #im-root .iv-life-caustics path{stroke-width:1.3;stroke-dasharray:170 130 23 260;animation:iv-filament-flow 48s linear infinite;vector-effect:non-scaling-stroke}
html body #im-root .iv-world-mote{position:absolute;left:var(--mote-x);top:var(--mote-y);width:var(--mote-size);height:var(--mote-size);border-radius:50%;background:#ffe0a1;box-shadow:0 0 7px #e7be7d8c;opacity:0;animation:iv-mote-drift var(--mote-time) linear var(--mote-delay) infinite}
html body #im-root[data-scene="i"] .iv-world-mote{top:calc(var(--mote-y) * .67)}
html body #im-root[data-scene="feed"] .iv-world-mote:nth-of-type(3n),html body #im-root[data-scene="studios"] .iv-world-mote:nth-of-type(2n){background:#cddfff;box-shadow:0 0 8px #bbceff70}
html body #im-root[data-scene="map"] .iv-world-mote{background:#d6f3ff;box-shadow:0 0 5px #c8edff68;animation-name:iv-water-mote}
@keyframes iv-aura-breathe{from{opacity:.22;transform:scale(.99)}to{opacity:.63;transform:scale(1.035)}}
@keyframes iv-filament-flow{to{stroke-dashoffset:-1820}}
@keyframes iv-orbital-flow{to{stroke-dashoffset:-1918}}
@keyframes iv-lunar-light{from{opacity:.2;transform:translate3d(-.5%,.5%,0)}to{opacity:.65;transform:translate3d(.6%,-.5%,0)}}
@keyframes iv-nebula-drift{from{opacity:.3;transform:translate3d(-1%,-.5%,0) scale(1)}to{opacity:.8;transform:translate3d(1.4%,1%,0) scale(1.04)}}
@keyframes iv-ocean-rays{from{opacity:.22;transform:translate3d(-1%,0,0) rotate(-1.3deg)}to{opacity:.64;transform:translate3d(1.2%,0,0) rotate(1.5deg)}}
@keyframes iv-caustic-drift{from{transform:translate3d(-1%,-.4%,0) scaleX(1.03);opacity:.12}to{transform:translate3d(1%,.5%,0) scaleX(.99);opacity:.28}}
@keyframes iv-mote-drift{0%{opacity:0;transform:translate3d(0,16px,0)}18%{opacity:.65}76%{opacity:.35}100%{opacity:0;transform:translate3d(var(--mote-drift),-58px,0)}}
@keyframes iv-water-mote{0%{opacity:0;transform:translate3d(0,45px,0)}25%{opacity:.36}75%{opacity:.24}100%{opacity:0;transform:translate3d(var(--mote-drift),-82px,0)}}
/* Hidden browser tabs use no ongoing animation work; reduced motion keeps the art. */
html body #im-root.iv-world-paused .iv-world-scene,html body #im-root.iv-world-paused .iv-world-scene *,html body #im-root.iv-world-paused .iv-world-departure{animation-play-state:paused!important}
html body #im-root.iv-world-auth-open .iv-world-atmosphere{opacity:.35}
@media(max-width:600px){html body #im-root .iv-world-mote:nth-of-type(n+13){display:none}html body #im-root .iv-world-lightfield{opacity:.75}}
@media(prefers-reduced-motion:reduce){html body #im-root .iv-world-scene *,html body #im-root .iv-world-scene::before,html body #im-root .iv-world-scene::after{animation:none!important;transition:none!important}html body #im-root .iv-world-mote{display:none}html body #im-root .iv-world-aura{opacity:.25}html body #im-root .iv-world-rays{opacity:.22}}
