/* 1NFINIT3 PUBLIC WORLD V4 — Living Olive / Quantum White Clear Glass
   Presentation-only. Exact production wordmark remains brand authority.
*/
@property --nf3v4-rail{syntax:"<angle>";inherits:false;initial-value:0deg}
:root{
  --nf3v4-gold:#d7a127;--nf3v4-gold-hi:#fff0a8;--nf3v4-ink:#172016;--nf3v4-soft:#566052;
  --nf3v4-white:rgba(255,255,255,.78);--nf3v4-glass:rgba(255,255,255,.38);--nf3v4-line:rgba(255,255,255,.62);
  --nf3v4-night-ink:#f4f6f0;--nf3v4-night-soft:rgba(240,244,236,.66);
}
html[data-nf3-public-world="v4"]{background:#dfe8dc}
body{transition:color .8s ease,background-color .8s ease}
#liveWorld,.nf3-v4-world{position:fixed!important;inset:0!important;z-index:-8!important;overflow:hidden!important;pointer-events:none!important}
.landscape-layer{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none!important}
#starCanvas{display:none!important}
.world-vignette{position:absolute;inset:0;z-index:12;pointer-events:none;background:
  radial-gradient(74% 62% at 50% 36%,transparent 22%,rgba(13,20,12,.07) 66%,rgba(8,13,8,.22) 100%),
  linear-gradient(180deg,rgba(255,255,255,.07),transparent 35%,rgba(20,29,18,.10));}
html[data-v22-world="night"] .world-vignette{background:radial-gradient(72% 62% at 50% 34%,transparent 18%,rgba(0,4,8,.18) 66%,rgba(0,2,5,.56) 100%)}
html[data-v22-world="fullday"] .world-vignette{background:radial-gradient(72% 62% at 50% 34%,rgba(255,255,255,.12),transparent 56%,rgba(70,82,67,.10) 100%)}

/* NO TOP RAIL. Every control is independently floating. */
.float-control,.nf3-public-menu,.nf3-world-button,.nf3-public-login{
  border:0!important;background:rgba(255,255,255,.11)!important;color:rgba(247,248,243,.92)!important;
  box-shadow:none!important;backdrop-filter:blur(18px) saturate(145%)!important;-webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  transition:transform .26s cubic-bezier(.16,1,.3,1),background .3s ease,color .3s ease,filter .3s ease!important;
}
html[data-v22-world="fullday"] .float-control,html[data-v22-world="fullday"] .nf3-public-menu,html[data-v22-world="fullday"] .nf3-world-button,html[data-v22-world="fullday"] .nf3-public-login{
  color:rgba(27,34,24,.78)!important;background:rgba(255,255,255,.24)!important
}
.float-control:hover,.float-control:focus-visible,.nf3-public-menu:hover,.nf3-world-button:hover,.nf3-public-login:hover{
  transform:translateY(-2px) scale(1.055)!important;color:var(--nf3v4-gold-hi)!important;filter:drop-shadow(0 0 13px rgba(215,161,39,.28))
}
.auth-pill{width:40px!important;min-width:40px!important;padding:0!important;border-radius:50%!important}
.auth-pill .auth-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.auth-pill::after{content:"";width:18px;height:18px;display:block;margin:auto;background:
  radial-gradient(circle at 50% 30%,transparent 0 3.2px,currentColor 3.4px 4.6px,transparent 4.8px),
  radial-gradient(ellipse at 50% 86%,transparent 0 6px,currentColor 6.2px 7.5px,transparent 7.7px)}
.brand-anchor{filter:drop-shadow(0 9px 28px rgba(0,0,0,.12)) drop-shadow(0 0 12px rgba(215,161,39,.12))!important}
.brand-anchor img{transform:translateZ(0);transition:filter .45s ease,transform .45s cubic-bezier(.16,1,.3,1)}
.brand-anchor:hover img{transform:scale(1.025);filter:drop-shadow(0 0 10px rgba(255,229,142,.18))}

/* Entrance — calm, alive, not a slab. */
.entrance-state{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:14px;max-width:min(920px,92vw)!important;margin:auto!important;text-align:center}
#formationPrompt{font-size:clamp(42px,7.2vw,90px)!important;line-height:.96!important;letter-spacing:-.052em!important;font-weight:590!important;text-wrap:balance;color:#f5f7f0!important;text-shadow:0 12px 40px rgba(0,0,0,.18);margin:0!important}
html[data-v22-world="fullday"] #formationPrompt{color:#1b2319!important;text-shadow:0 14px 36px rgba(255,255,255,.38)}
.nf3-v4-intro{margin:0;max-width:620px;font-size:clamp(15px,1.7vw,19px);line-height:1.55;letter-spacing:-.01em;color:rgba(247,249,244,.72)}
html[data-v22-world="fullday"] .nf3-v4-intro{color:rgba(32,41,29,.64)}
.nf3-v4-pulse{display:flex;align-items:center;gap:9px;height:18px;margin-top:2px;opacity:.82}
.nf3-v4-pulse i{width:6px;height:6px;border-radius:50%;background:var(--nf3v4-gold-hi);box-shadow:0 0 12px rgba(239,202,102,.46);animation:nf3V4Heart 1.55s cubic-bezier(.4,0,.2,1) infinite}
.nf3-v4-pulse span{position:relative;display:block;width:74px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);overflow:hidden}
.nf3-v4-pulse span::after{content:"";position:absolute;top:-1px;left:-30%;width:25px;height:3px;background:linear-gradient(90deg,transparent,var(--nf3v4-gold-hi),transparent);filter:drop-shadow(0 0 5px rgba(233,193,89,.6));animation:nf3V4PulseTravel 2.2s cubic-bezier(.4,0,.2,1) infinite}

/* Composer — quantum-white clear glass with a moving liquid-gold precision edge. */
.composer,.composer-dock,.quantum-panel,.side-drawer,.account-popover,.auth-panel{
  border-color:rgba(255,255,255,.54)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(244,248,241,.13))!important;
  backdrop-filter:blur(30px) saturate(152%)!important;-webkit-backdrop-filter:blur(30px) saturate(152%)!important;
  box-shadow:0 24px 80px rgba(18,28,17,.10),inset 0 1px 0 rgba(255,255,255,.58)!important;
}
html[data-v22-world="night"] .composer,html[data-v22-world="night"] .composer-dock,html[data-v22-world="night"] .quantum-panel,html[data-v22-world="night"] .side-drawer,html[data-v22-world="night"] .account-popover,html[data-v22-world="night"] .auth-panel{
  background:linear-gradient(145deg,rgba(242,246,239,.13),rgba(15,23,15,.13))!important;border-color:rgba(255,255,255,.18)!important
}
.composer{position:relative!important;isolation:isolate;overflow:visible!important}
.composer::before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;padding:1px;pointer-events:none;background:
  conic-gradient(from var(--nf3v4-rail),transparent 0 27%,rgba(255,255,255,.48) 31%,rgba(215,161,39,.78) 35%,rgba(255,244,186,.88) 38%,transparent 44% 82%,rgba(202,143,31,.30) 90%,transparent 96%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:nf3V4Rail 16s linear infinite
}
.composer textarea,.composer input{background:transparent!important}
.composer input::placeholder,.composer textarea::placeholder{color:rgba(246,248,242,.58)!important}
html[data-v22-world="fullday"] .composer input::placeholder,html[data-v22-world="fullday"] .composer textarea::placeholder{color:rgba(33,43,30,.48)!important}

/* Real observed Earth: NASA EPIC. Hidden completely if a fresh fetch is unavailable. */
.nf3-v4-earth{position:fixed;z-index:-2;right:clamp(-70px,2vw,38px);top:clamp(120px,18vh,210px);width:min(34vw,470px);aspect-ratio:1;border-radius:50%;pointer-events:none;opacity:.64;filter:drop-shadow(0 30px 80px rgba(4,12,8,.22));transition:opacity .9s ease,transform .9s ease}
.nf3-v4-earth[data-state="held"]{opacity:0}
.nf3-v4-earth::before{content:"";position:absolute;inset:-4%;border-radius:50%;border:1px solid rgba(173,221,244,.28);box-shadow:0 0 34px rgba(108,183,219,.13),inset 0 0 24px rgba(196,230,248,.10);z-index:4}
.nf3-v4-earth-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;opacity:0;transform:scale(1.005);transition:opacity 1.45s ease,transform 4.7s linear}
.nf3-v4-earth-frame.is-active{opacity:1;transform:scale(1.025)}
.nf3-v4-earth-shade{position:absolute;inset:0;border-radius:50%;z-index:3;background:radial-gradient(circle at 32% 25%,transparent 0 42%,rgba(0,3,3,.08) 58%,rgba(0,3,4,.48) 90%);mix-blend-mode:multiply}
.nf3-v4-earth-meta{position:absolute;left:50%;bottom:-27px;transform:translateX(-50%);white-space:nowrap;font-size:8px;line-height:1;letter-spacing:.15em;text-transform:uppercase;font-weight:760;color:rgba(245,248,241,.54)}
html[data-v22-world="fullday"] .nf3-v4-earth-meta{color:rgba(25,35,23,.48)}

/* Living public typography: words enter, align and reverse with scroll direction. */
.nf3-v4-type .nf3-v4-word{display:inline-block;opacity:0;filter:blur(4px);transform:translate3d(var(--nf3v4-x,0),20px,0);will-change:transform,opacity,filter;transition:opacity .58s ease,filter .58s ease,transform .78s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--nf3v4-i,0)*22ms)}
.nf3-v4-type.nf3-v4-in .nf3-v4-word{opacity:1;filter:blur(0);transform:translate3d(0,0,0)}
.nf3-v4-type[data-nf3v4-dir="up"] .nf3-v4-word{transform:translate3d(var(--nf3v4-x,0),-17px,0)}
.nf3-v4-type[data-nf3v4-dir="up"].nf3-v4-in .nf3-v4-word{transform:translate3d(0,0,0)}
.nf3-v4-card{opacity:0;filter:blur(4px);transform:translate3d(0,26px,0) scale(.992);transition:opacity .66s ease,filter .66s ease,transform .86s cubic-bezier(.16,1,.3,1)}
.nf3-v4-card.nf3-v4-in{opacity:1;filter:blur(0);transform:none}

/* Secondary public pages: no header rail; brand/menu/world/login float independently. */
body.nf3-public{background:transparent!important;color:var(--nf3v4-night-ink)!important}
body.nf3-public::before{opacity:.12!important;background:linear-gradient(180deg,rgba(8,14,9,.22),rgba(8,13,9,.08))!important;filter:none!important;transform:none!important}
body.nf3-public::after{background:radial-gradient(70% 58% at 50% 32%,transparent 18%,rgba(5,10,6,.24) 100%)!important}
html[data-v22-world="fullday"] body.nf3-public{color:var(--nf3v4-ink)!important}
html[data-v22-world="fullday"] body.nf3-public::after{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(242,246,239,.38))!important}
.nf3-public-header{display:contents!important;height:0!important;padding:0!important}
.nf3-public-menu{position:fixed!important;z-index:190;left:max(14px,var(--nf3-safe-left))!important;top:calc(var(--nf3-safe-top) + 14px)!important;width:42px!important;height:42px!important;border-radius:50%!important}
.nf3-world-button{position:fixed!important;z-index:190;left:calc(max(14px,var(--nf3-safe-left)) + 49px)!important;top:calc(var(--nf3-safe-top) + 14px)!important;width:42px!important;height:42px!important;border-radius:50%!important}
.nf3-public-brand{position:fixed!important;z-index:189;left:50%!important;top:calc(var(--nf3-safe-top) + 10px)!important;transform:translateX(-50%);width:clamp(176px,20vw,238px)!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}.nf3-public-brand__symbol{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center}.nf3-public-brand__symbol img{width:100%!important;height:100%!important;object-fit:contain!important}.nf3-public-brand__wordmark{flex:1 1 auto;width:auto!important;min-width:0;height:32px!important;object-fit:contain!important}
.nf3-public-login{position:fixed!important;z-index:190;right:max(14px,var(--nf3-safe-right))!important;top:calc(var(--nf3-safe-top) + 14px)!important;width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important;font-size:0!important}
.nf3-public-login::after{content:"";width:18px;height:18px;display:block;background:
  radial-gradient(circle at 50% 30%,transparent 0 3.2px,currentColor 3.4px 4.6px,transparent 4.8px),
  radial-gradient(ellipse at 50% 86%,transparent 0 6px,currentColor 6.2px 7.5px,transparent 7.7px)}
.nf3-public-main{padding-top:clamp(118px,15vh,160px)!important}
.nf3-public-main>h1{font-size:clamp(48px,7vw,88px)!important;line-height:.98!important;letter-spacing:-.05em!important;text-wrap:balance}
.nf3-kicker{letter-spacing:.16em!important}
.nf3-lede{font-size:clamp(17px,1.7vw,21px)!important;line-height:1.62!important;max-width:760px!important}
.nf3-grid{gap:14px!important}
.nf3-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(255,255,255,.52)!important;background:linear-gradient(145deg,rgba(255,255,255,.34),rgba(248,250,245,.13))!important;backdrop-filter:blur(28px) saturate(150%)!important;-webkit-backdrop-filter:blur(28px) saturate(150%)!important;box-shadow:0 24px 80px rgba(12,20,12,.10),inset 0 1px 0 rgba(255,255,255,.58)!important}
html[data-v22-world="night"] .nf3-card{background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(17,25,17,.10))!important;border-color:rgba(255,255,255,.16)!important}
.nf3-card::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;background:conic-gradient(from var(--nf3v4-rail),transparent 0 32%,rgba(255,255,255,.36) 35%,rgba(215,161,39,.55) 39%,transparent 45% 88%,rgba(244,216,132,.22) 93%,transparent 98%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:nf3V4Rail 24s linear infinite}
.nf3-button{border:1px solid rgba(255,255,255,.44)!important;background:rgba(255,255,255,.16)!important;backdrop-filter:blur(18px) saturate(145%)!important;-webkit-backdrop-filter:blur(18px) saturate(145%)!important}
.nf3-button.primary{background:rgba(255,255,255,.84)!important;color:#1c2419!important;border-color:rgba(255,255,255,.88)!important}
.nf3-plan-price{font-size:clamp(52px,8vw,92px);line-height:.9;letter-spacing:-.055em;margin:.2em 0 .12em;font-weight:620}
.nf3-plan-price small{font-size:.18em;letter-spacing:.02em;font-weight:720;color:var(--nf3-muted);margin-left:7px}
.nf3-plan-proof{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 0;padding:0;list-style:none}
.nf3-plan-proof li{font-size:12px;font-weight:720;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.24)}

/* Consent chip should feel like a quiet, trustworthy choice — never a banner. */
.landscape-consent-chip{position:fixed!important;left:50%!important;bottom:max(18px,env(safe-area-inset-bottom))!important;transform:translateX(-50%);z-index:210!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:999px!important;background:rgba(255,255,255,.17)!important;backdrop-filter:blur(22px) saturate(150%)!important;-webkit-backdrop-filter:blur(22px) saturate(150%)!important;padding:5px!important;box-shadow:0 18px 50px rgba(11,18,10,.12)!important}
.landscape-consent-chip button{border:0!important;background:transparent!important;color:inherit!important;padding:8px 12px!important;font:inherit;font-size:11px!important;font-weight:750!important;cursor:pointer}

/* Existing drawer becomes a floating clear-glass sheet, not a rail. */
.nf3-public-drawer{border:1px solid rgba(255,255,255,.34)!important;background:linear-gradient(145deg,rgba(255,255,255,.33),rgba(238,244,234,.14))!important;backdrop-filter:blur(32px) saturate(150%)!important;-webkit-backdrop-filter:blur(32px) saturate(150%)!important;box-shadow:0 28px 90px rgba(10,18,10,.18),inset 0 1px 0 rgba(255,255,255,.52)!important}

/* 404/public copy stays readable over the living world. */
.nf3-copy,.nf3-status{backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}

@keyframes nf3V4Rail{to{--nf3v4-rail:360deg}}
@keyframes nf3V4Heart{0%,100%{transform:scale(.78);opacity:.62}17%{transform:scale(1.28);opacity:1}31%{transform:scale(.9)}44%{transform:scale(1.12)}58%{transform:scale(.98);opacity:.88}}
@keyframes nf3V4PulseTravel{0%{left:-30%;opacity:0}12%{opacity:1}78%{opacity:1}100%{left:112%;opacity:0}}

@media(max-width:760px){
  #formationPrompt{font-size:clamp(42px,12.6vw,68px)!important}
  .nf3-v4-intro{max-width:86vw;font-size:15px}
  .nf3-v4-earth{width:64vw;right:-34vw;top:19vh;opacity:.34}
  .nf3-v4-earth-meta{display:none}
  .nf3-public-main{padding-top:110px!important}
  .nf3-public-main>h1{font-size:clamp(44px,12vw,64px)!important}
}
@media(max-width:440px){
  .nf3-world-button{left:calc(max(10px,var(--nf3-safe-left)) + 44px)!important}
  .nf3-public-menu{left:max(10px,var(--nf3-safe-left))!important}
  .nf3-public-login{right:max(10px,var(--nf3-safe-right))!important}
  .nf3-public-brand{width:104px!important}
  .nf3-v4-earth{width:74vw;right:-46vw;top:21vh;opacity:.28}
}
@media(prefers-reduced-motion:reduce){
  .composer::before,.nf3-card::before,.nf3-v4-pulse i,.nf3-v4-pulse span::after{animation:none!important}
  .nf3-v4-word,.nf3-v4-card{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
  .nf3-v4-earth-frame{transition:none!important}
}


/* PUBLIC STORY V4.1 — ARRIVAL → POSSIBILITY → WORK → PEOPLE → INVITATION */
html[data-public-story="active"] .v31-world-button{display:grid!important}
html[data-public-story="active"] #entranceState,
html[data-public-story="active"] #conversationState{visibility:hidden!important}
html[data-public-story="active"] #composerDock{opacity:0!important;pointer-events:none!important;transform:translateY(24px)!important}
html[data-public-story="formation"] #composerDock{opacity:1!important;pointer-events:auto!important}
.nf3-v4-story{position:absolute;inset:0;z-index:38;overflow:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.nf3-v4-story::-webkit-scrollbar{display:none}
.nf3-v4-act{min-height:var(--app-height,100dvh);box-sizing:border-box;display:grid;align-items:center;position:relative;padding:clamp(102px,14vh,160px) max(28px,7vw) clamp(94px,12vh,140px);scroll-snap-align:start;isolation:isolate}
.nf3-v4-act::before{content:"";position:absolute;z-index:-1;inset:9% max(18px,4vw);border:1px solid rgba(255,255,255,.10);border-radius:clamp(34px,5vw,66px);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.01));box-shadow:inset 0 1px 0 rgba(255,255,255,.08);opacity:.56;transition:opacity .6s ease,border-color .6s ease}
.nf3-v4-act.nf3-v4-current::before{opacity:1;border-color:rgba(255,255,255,.18)}
.nf3-v4-story-copy{width:min(1000px,100%);margin:0 auto}
.nf3-v4-kicker{margin:0 0 16px;font-size:10px;letter-spacing:.23em;text-transform:uppercase;font-weight:780;color:rgba(247,249,244,.61)}
.nf3-v4-act h1,.nf3-v4-act h2{margin:0;max-width:11ch;font-size:clamp(54px,9.8vw,128px);line-height:.89;letter-spacing:-.067em;font-weight:610;text-wrap:balance;color:#f6f8f2;text-shadow:0 18px 50px rgba(0,0,0,.14)}
.nf3-v4-act h2{font-size:clamp(50px,8.8vw,112px)}
.nf3-v4-lede{max-width:650px;margin:22px 0 0;font-size:clamp(15px,1.55vw,20px);line-height:1.58;color:rgba(247,249,244,.70)}
.nf3-v4-gold{color:var(--nf3v4-gold-hi)}
.nf3-v4-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.nf3-v4-story-button,.nf3-v4-story-link{min-height:46px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);color:#f6f8f2;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:740;backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);cursor:pointer}
.nf3-v4-story-button.primary{border-color:rgba(255,225,142,.37);background:linear-gradient(135deg,rgba(215,161,39,.24),rgba(255,255,255,.08))}
.nf3-v4-story-link{border-color:transparent;background:transparent;color:rgba(247,249,244,.70);padding-inline:8px}
.nf3-v4-story-form{width:min(760px,100%);box-sizing:border-box;margin-top:30px;padding:8px 8px 8px 18px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;border:1px solid rgba(255,255,255,.22);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));backdrop-filter:blur(30px) saturate(150%);-webkit-backdrop-filter:blur(30px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 24px 70px rgba(0,0,0,.12)}
.nf3-v4-story-form textarea{width:100%;min-height:54px;max-height:160px;box-sizing:border-box;resize:vertical;border:0;outline:0;background:transparent;color:#f6f8f2;font:520 16px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;padding:10px 4px}
.nf3-v4-story-form textarea::placeholder{color:rgba(247,249,244,.46)}
.nf3-v4-story-form button{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,225,142,.40);background:linear-gradient(145deg,rgba(215,161,39,.34),rgba(255,255,255,.11));color:#fff;display:grid;place-items:center;cursor:pointer}
.nf3-v4-story-form button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.nf3-v4-plan-note{margin:14px 0 0;font-size:12px;color:rgba(247,249,244,.60)}
.nf3-v4-plan-note a{color:inherit;text-underline-offset:3px}
.nf3-v4-progress{position:fixed;z-index:74;left:max(8px,env(safe-area-inset-left));top:50%;width:2px;height:min(180px,26vh);transform:translateY(-50%);border-radius:999px;background:rgba(255,255,255,.12);overflow:visible;pointer-events:none}
.nf3-v4-progress i{display:block;width:100%;height:var(--nf3v4-progress,0%);border-radius:inherit;background:linear-gradient(180deg,var(--nf3v4-gold-hi),var(--nf3v4-gold));box-shadow:0 0 18px rgba(215,161,39,.32)}
.nf3-v4-progress::after{content:"";position:absolute;left:50%;top:var(--nf3v4-progress,0%);width:7px;height:7px;border-radius:50%;transform:translate(-50%,-50%);background:var(--nf3v4-gold-hi);box-shadow:0 0 16px rgba(215,161,39,.52);animation:nf3V4Heart 2.8s ease-in-out infinite}
.nf3-v4-search,.nf3-v4-language{position:absolute!important;top:max(16px,var(--safe-top))!important;z-index:96!important}
.nf3-v4-search{right:112px!important}.nf3-v4-language{right:64px!important}
.nf3-v4-search svg,.nf3-v4-language svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.nf3-v4-language b{font-size:9px;letter-spacing:.02em}
.nf3-v4-popover{position:absolute;z-index:112;top:64px;right:16px;width:min(340px,calc(100vw - 32px));padding:12px;border:1px solid rgba(255,255,255,.20);border-radius:24px;background:rgba(14,18,13,.34);color:#f6f8f2;backdrop-filter:blur(34px) saturate(150%);-webkit-backdrop-filter:blur(34px) saturate(150%);box-shadow:0 28px 80px rgba(0,0,0,.20)}
.nf3-v4-popover[hidden]{display:none}
.nf3-v4-popover label{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.54);margin:4px 6px 8px}
.nf3-v4-popover input{width:100%;height:44px;box-sizing:border-box;border:1px solid rgba(255,255,255,.17);border-radius:15px;background:rgba(255,255,255,.08);color:#fff;padding:0 13px;outline:0}
.nf3-v4-popover nav{display:grid;gap:3px;margin-top:8px}
.nf3-v4-popover a,.nf3-v4-popover button{min-height:42px;border:0;border-radius:14px;background:transparent;color:inherit;text-decoration:none;padding:0 12px;display:flex;align-items:center;justify-content:space-between;text-align:left;font:650 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.nf3-v4-popover a:hover,.nf3-v4-popover button:hover{background:rgba(255,255,255,.08)}
.nf3-v4-popover small{display:block;color:rgba(255,255,255,.50);line-height:1.45;padding:8px 10px 2px}
html[data-v22-world="fullday"] .nf3-v4-act h1,html[data-v22-world="fullday"] .nf3-v4-act h2{color:#172016;text-shadow:none}
html[data-v22-world="fullday"] .nf3-v4-kicker,html[data-v22-world="fullday"] .nf3-v4-lede,html[data-v22-world="fullday"] .nf3-v4-plan-note{color:rgba(23,32,22,.62)}
html[data-v22-world="fullday"] .nf3-v4-gold{color:#825d12}
html[data-v22-world="fullday"] .nf3-v4-story-form{border-color:rgba(31,40,28,.16);background:rgba(255,255,255,.52)}
html[data-v22-world="fullday"] .nf3-v4-story-form textarea{color:#172016}
html[data-v22-world="fullday"] .nf3-v4-story-form textarea::placeholder{color:rgba(23,32,22,.42)}
html[data-v22-world="fullday"] .nf3-v4-story-button{color:#172016;border-color:rgba(31,40,28,.16);background:rgba(255,255,255,.42)}
html[data-v22-world="fullday"] .nf3-v4-story-link{color:rgba(23,32,22,.62);background:transparent;border-color:transparent}
@media(max-width:719px){.nf3-v4-act{padding:92px 24px}.nf3-v4-act::before{inset:8% 12px;border-radius:34px}.nf3-v4-act h1,.nf3-v4-act h2{max-width:9.6ch;letter-spacing:-.06em}.nf3-v4-search{right:104px!important}.nf3-v4-language{right:60px!important}.nf3-v4-progress{left:6px;height:22vh}}
@media(prefers-reduced-motion:reduce){.nf3-v4-progress::after{animation:none!important}.nf3-v4-story{scroll-behavior:auto!important}}


/* 1NFINIT3 PUBLIC WORLD V4.2 — OWNER-LOCKED THREE-WORLD RESTORATION
   One selector beside the centered wordmark. Night + Olive live. White is static focused luxury.
*/
.v31-world-selector{
  display:block!important;
  position:fixed!important;
  z-index:198!important;
  top:calc(max(14px,var(--safe-top)) + 1px)!important;
  left:calc(50% - clamp(78px,10vw,116px))!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:40px!important;
  height:40px!important;
  pointer-events:auto!important;
}
.v31-world-button{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:none!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
.v31-world-pie{
  width:25px!important;
  height:25px!important;
  border-radius:50%!important;
  background:conic-gradient(from -90deg,#050509 0 33.333%,#7d8658 33.333% 66.666%,#fbfaf6 66.666% 100%)!important;
  border:1px solid rgba(255,255,255,.52)!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.09),0 0 0 1px rgba(215,161,39,.10)!important;
}
html[data-v22-world="fullday"] .v31-world-button{
  background:rgba(255,255,255,.72)!important;
  box-shadow:0 8px 28px rgba(42,35,21,.05)!important;
}
html[data-v22-world="fullday"] .v31-world-pie{
  border-color:rgba(91,72,31,.18)!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 0 14px rgba(215,161,39,.08)!important;
}

.nf3-v4-scene-canvas{
  position:absolute;
  inset:0;
  z-index:7;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:1;
  transition:opacity .8s ease;
}
html[data-v22-world="fullday"] .nf3-v4-scene-canvas{opacity:0!important}

.nf3-v4-white-engraving{
  display:none;
  position:fixed;
  z-index:-1;
  left:50%;
  top:50%;
  width:min(58vw,620px);
  aspect-ratio:3873.719/1160;
  transform:translate(-50%,-50%);
  pointer-events:none;
  opacity:.12;
  -webkit-mask:url('/assets/brand/1nfinit3/1nfinit3-wordmark.svg') center/contain no-repeat;
  mask:url('/assets/brand/1nfinit3/1nfinit3-wordmark.svg') center/contain no-repeat;
  background:
    linear-gradient(180deg,rgba(110,94,58,.34) 0%,rgba(255,255,255,.96) 34%,rgba(116,96,51,.17) 48%,rgba(218,174,70,.42) 64%,rgba(255,248,218,.82) 82%,rgba(118,92,37,.22) 100%);
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.92)) drop-shadow(0 2px 1px rgba(78,65,37,.12));
}
html[data-v22-world="fullday"] .nf3-v4-white-engraving{display:block!important}

/* White / Full Day is intentionally NOT a landscape: pure focused workspace. */
html[data-v22-world="fullday"] body,
html[data-v22-world="fullday"] .app-shell,
html[data-v22-world="fullday"] #liveWorld{
  background:#fff!important;
}
html[data-v22-world="fullday"] #liveWorld::before{
  background:#fff!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
html[data-v22-world="fullday"] #liveWorld::after,
html[data-v22-world="fullday"] .world-vignette,
html[data-v22-world="fullday"] .landscape-layer,
html[data-v22-world="fullday"] .v22-clouds,
html[data-v22-world="fullday"] .v31-cloud-actions,
html[data-v22-world="fullday"] .nf3-v4-earth{
  opacity:0!important;
  visibility:hidden!important;
}
html[data-v22-world="fullday"] .nf3-v4-act::before{
  background:rgba(255,255,255,.34)!important;
  border-color:rgba(125,104,56,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
}
html[data-v22-world="fullday"] .nf3-v4-story-form,
html[data-v22-world="fullday"] .composer{
  background:rgba(255,255,255,.74)!important;
  border-color:rgba(121,98,48,.14)!important;
  box-shadow:0 26px 90px rgba(78,61,25,.055),inset 0 1px 0 #fff!important;
}
html[data-v22-world="fullday"] .composer::before{
  background:conic-gradient(from var(--nf3v4-rail),transparent 0 31%,rgba(255,255,255,.9) 34%,rgba(215,161,39,.66) 38%,rgba(255,239,173,.92) 41%,transparent 46% 86%,rgba(181,127,25,.24) 91%,transparent 97%)!important;
}

@media(max-width:719px){
  .v31-world-selector{
    left:calc(50% - 76px)!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
    width:38px!important;
    height:38px!important;
  }
  .v31-world-button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  .v31-world-pie{width:23px!important;height:23px!important}
  .nf3-v4-white-engraving{width:min(76vw,430px)}
}
@media(prefers-reduced-motion:reduce){
  .nf3-v4-scene-canvas{transition:none!important}
}


/* COMPLETE-DOMAIN SELECTOR PARITY — public subpages use the same logo-adjacent world control. */
body.nf3-public .nf3-world-button{left:calc(50% - clamp(78px,10vw,116px))!important;top:calc(var(--nf3-safe-top) + 14px)!important}
body.nf3-public .nf3-world-menu{left:50%!important;top:calc(var(--nf3-safe-top) + 62px)!important;transform:translateX(calc(-50% - clamp(18px,2vw,34px)))!important}
@media(max-width:719px){
  body.nf3-public .nf3-world-button{left:calc(50% - 76px)!important;top:calc(var(--nf3-safe-top) + 12px)!important}
  body.nf3-public .nf3-world-menu{transform:translateX(calc(-50% - 18px))!important}
}


/* 1NFINIT3 V4.4 — MOBILE BREATHING ROOM / ENTERPRISE RHYTHM
   Owner screenshot correction: preserve one immersive world, separate the identity,
   prompt, composer, helper, legal and secondary actions, and keep all top controls
   independent with no shared rail.
*/
:root{
  --nf3v4-mobile-gutter:clamp(18px,5vw,26px);
  --nf3v4-mobile-control:38px;
  --nf3v4-mobile-control-gap:7px;
}

/* Full Day is the quiet luxury workspace: exact engraved wordmark, no competing symbol. */
html[data-v22-world="fullday"] .entrance-state::before{display:none!important}
.nf3-v4-white-engraving{
  z-index:2!important;
  top:34dvh!important;
  width:min(52vw,520px)!important;
  opacity:.085!important;
}
.app-shell[data-shell-mode="conversation"] .nf3-v4-white-engraving{opacity:0!important}

/* Give the complete public domain a calmer enterprise spacing scale. */
body.nf3-public .nf3-public-main{
  width:min(1040px,calc(100% - clamp(36px,7vw,88px)))!important;
  padding-bottom:calc(var(--nf3-safe-bottom) + clamp(96px,12vh,150px))!important;
}
body.nf3-public .nf3-grid{gap:clamp(18px,2.2vw,28px)!important;margin-top:clamp(34px,4.5vw,56px)!important}
body.nf3-public .nf3-card{padding:clamp(22px,3vw,34px)!important}
body.nf3-public .nf3-actions{gap:12px!important;margin-top:clamp(26px,3vw,38px)!important}

/* Entrance hierarchy: work prompt and composer are primary; everything else yields. */
.app-shell[data-shell-mode="entrance"] .entrance-state h1{
  max-width:13ch!important;
  line-height:1.01!important;
  letter-spacing:-.056em!important;
}
.app-shell[data-shell-mode="entrance"] .composer-dock{
  gap:12px!important;
}
.app-shell[data-shell-mode="entrance"] .v22-helper{
  max-width:640px!important;
  margin:10px auto 0!important;
  line-height:1.48!important;
}
.app-shell[data-shell-mode="entrance"] .legal-line{
  margin:4px auto 0!important;
  line-height:1.4!important;
}
.v31-quick-rail{
  gap:10px!important;
  padding:7px 10px!important;
  scroll-padding-inline:18px!important;
}
.v31-quick-action{
  min-height:44px!important;
  padding:10px 16px!important;
  letter-spacing:-.005em!important;
}
html[data-v22-world="fullday"] .v31-quick-rail{opacity:.48!important}
html[data-v22-world="fullday"] .v31-quick-action{
  background:rgba(255,255,255,.44)!important;
  border-color:rgba(116,92,44,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
  color:#2b281f!important;
}

/* Story sections get deliberate breathing room instead of compressed mobile stacks. */
@media(max-width:719px){
  .nf3-v4-act{
    padding:
      calc(max(106px,var(--safe-top) + 84px))
      var(--nf3v4-mobile-gutter)
      calc(max(118px,var(--safe-bottom) + 92px))!important;
  }
  .nf3-v4-act h1,.nf3-v4-act h2{
    max-width:10.8ch!important;
    font-size:clamp(44px,12vw,64px)!important;
    line-height:.94!important;
  }
  .nf3-v4-lede{margin-top:26px!important;line-height:1.64!important}
  .nf3-v4-actions{margin-top:34px!important;gap:12px!important}
  .nf3-v4-story-form{margin-top:34px!important;border-radius:32px!important}
}

/* iPhone-class formation workspace: no collisions, no blank/overcrowded header,
   and enough vertical rhythm for browser chrome + safe areas. */
@media(max-width:720px){
  .brand-anchor{
    width:108px!important;
    height:34px!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
  }
  .float-control,.auth-pill{
    width:var(--nf3v4-mobile-control)!important;
    min-width:var(--nf3v4-mobile-control)!important;
    height:var(--nf3v4-mobile-control)!important;
  }
  .float-left{
    left:max(10px,var(--safe-left))!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
  }
  .v31-world-selector{
    left:calc(50% - 54px - var(--nf3v4-mobile-control) - 8px)!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
    width:var(--nf3v4-mobile-control)!important;
    height:var(--nf3v4-mobile-control)!important;
  }
  .v31-world-button{
    width:var(--nf3v4-mobile-control)!important;
    min-width:var(--nf3v4-mobile-control)!important;
    height:var(--nf3v4-mobile-control)!important;
    min-height:var(--nf3v4-mobile-control)!important;
  }
  .v31-world-pie{width:23px!important;height:23px!important}

  .nf3-v4-search{
    left:calc(50% + 54px + 8px)!important;
    right:auto!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
  }
  .nf3-v4-language{
    left:calc(50% + 54px + 8px + var(--nf3v4-mobile-control) + var(--nf3v4-mobile-control-gap))!important;
    right:auto!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
  }
  .float-right{
    right:max(10px,var(--safe-right))!important;
    top:calc(max(12px,var(--safe-top)) + 1px)!important;
  }
  .auth-pill::after{width:17px!important;height:17px!important}
  html[data-v22-world="fullday"] .auth-pill::after{opacity:.88!important;color:#28251d!important}

  .app-shell[data-shell-mode="entrance"] .entrance-state h1{
    top:46dvh!important;
    width:min(12.5ch,calc(100vw - 44px))!important;
    max-width:none!important;
    font-size:clamp(38px,10.4vw,48px)!important;
    line-height:1.01!important;
    letter-spacing:-.052em!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-dock{
    top:64.5dvh!important;
    left:50%!important;
    right:auto!important;
    width:calc(100vw - 36px)!important;
    max-width:680px!important;
    transform:translate(-50%,-50%)!important;
    gap:12px!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer{
    min-height:64px!important;
    padding:7px 8px!important;
    border-radius:32px!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-row{
    min-height:50px!important;
    gap:4px!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-icon{
    flex-basis:44px!important;
    width:44px!important;
    height:44px!important;
  }
  .app-shell[data-shell-mode="entrance"] .send-button{
    flex-basis:48px!important;
    width:48px!important;
    height:48px!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer textarea{
    min-height:46px!important;
    height:46px;
    padding:12px 8px 10px!important;
    font-size:16px!important;
    line-height:1.4!important;
  }
  .app-shell[data-shell-mode="entrance"] .v22-helper{
    max-width:min(350px,calc(100vw - 50px))!important;
    margin:12px auto 0!important;
    font-size:11.5px!important;
    line-height:1.45!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .app-shell[data-shell-mode="entrance"] .legal-line{
    display:flex!important;
    justify-content:center!important;
    gap:14px!important;
    margin:5px auto 0!important;
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  .v31-quick-rail{
    left:50%!important;
    bottom:max(calc(var(--safe-bottom) + 18px),18px)!important;
    width:100vw!important;
    max-width:100vw!important;
    justify-content:flex-start!important;
    padding:8px 18px 5px!important;
    gap:10px!important;
    scroll-padding-inline:18px!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
  }
  .v31-quick-action{
    min-height:44px!important;
    padding:10px 15px!important;
    font-size:11px!important;
  }

  .nf3-v4-white-engraving{
    top:31.5dvh!important;
    width:min(70vw,300px)!important;
    opacity:.095!important;
  }

  body.nf3-public .nf3-public-main{
    width:calc(100% - 36px)!important;
    padding-top:calc(var(--nf3-safe-top) + 118px)!important;
    padding-bottom:calc(var(--nf3-safe-bottom) + 110px)!important;
  }
  body.nf3-public .nf3-public-main>h1{
    font-size:clamp(42px,11vw,58px)!important;
    line-height:.98!important;
  }
  body.nf3-public .nf3-lede{margin-top:22px!important;line-height:1.64!important}
  body.nf3-public .nf3-grid{margin-top:38px!important;gap:20px!important}
  body.nf3-public .nf3-card{padding:24px!important;border-radius:30px!important}
}

/* Compact phone heights keep the hierarchy intact instead of compressing everything together. */
@media(max-width:720px) and (max-height:700px){
  .app-shell[data-shell-mode="entrance"] .entrance-state h1{
    top:40dvh!important;
    font-size:clamp(32px,9.2vw,41px)!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-dock{top:62dvh!important}
  .app-shell[data-shell-mode="entrance"] .v22-helper{font-size:10.5px!important}
  .nf3-v4-white-engraving{top:27dvh!important;width:min(62vw,250px)!important}
  .v31-quick-rail{bottom:max(calc(var(--safe-bottom) + 8px),8px)!important}
}
@media(max-height:520px) and (orientation:landscape){
  .app-shell[data-shell-mode="entrance"] .entrance-state h1{
    top:34dvh!important;
    width:min(14ch,calc(100vw - 240px))!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-dock{
    top:62dvh!important;
    width:min(660px,calc(100vw - 190px))!important;
  }
  .nf3-v4-white-engraving{display:none!important}
}

/* Conversation mode gets its own density; the landing-page spacing never leaks into work. */
.app-shell[data-shell-mode="conversation"] .v31-quick-rail{opacity:0!important;pointer-events:none!important}


/* 1NFINIT3 V4.5 — MOBILE CONSTELLATION + SPATIAL QUIET
   Keep Menu / Palette / Logo / Profile as the primary line. Search and Language
   remain independent controls but move to their own secondary orbit on phones.
*/
@media(max-width:720px){
  .float-left{
    left:max(12px,var(--safe-left))!important;
    top:calc(max(12px,var(--safe-top)) + 2px)!important;
  }
  .v31-world-selector{
    left:calc(50% - 54px - var(--nf3v4-mobile-control) - 10px)!important;
    top:calc(max(12px,var(--safe-top)) + 2px)!important;
  }
  .brand-anchor{
    top:calc(max(12px,var(--safe-top)) + 2px)!important;
    width:108px!important;
    height:36px!important;
  }
  .float-right{
    right:max(12px,var(--safe-right))!important;
    top:calc(max(12px,var(--safe-top)) + 2px)!important;
  }

  /* Search + Language are still floating and independent, but no longer jammed
     into the brand/profile row. */
  .nf3-v4-search{
    left:max(12px,var(--safe-left))!important;
    right:auto!important;
    top:calc(max(12px,var(--safe-top)) + 52px)!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
  }
  .nf3-v4-language{
    left:auto!important;
    right:max(12px,var(--safe-right))!important;
    top:calc(max(12px,var(--safe-top)) + 52px)!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
  }

  .app-shell[data-shell-mode="entrance"] .entrance-state h1{
    top:45.5dvh!important;
    width:min(12.5ch,calc(100vw - 52px))!important;
    font-size:clamp(38px,10.2vw,47px)!important;
    line-height:1.015!important;
  }
  .app-shell[data-shell-mode="entrance"] .composer-dock{
    top:65.5dvh!important;
    width:calc(100vw - 40px)!important;
    gap:14px!important;
  }
  .app-shell[data-shell-mode="entrance"] .v22-helper{
    margin:14px auto 0!important;
    max-width:min(340px,calc(100vw - 56px))!important;
    line-height:1.52!important;
  }
  .app-shell[data-shell-mode="entrance"] .legal-line{
    margin:7px auto 0!important;
    gap:16px!important;
  }

  .v31-quick-rail{
    bottom:max(calc(var(--safe-bottom) + 28px),28px)!important;
    padding:9px 20px 7px!important;
    gap:12px!important;
    scroll-padding-inline:20px!important;
  }
  .v31-quick-action{
    min-height:46px!important;
    padding:11px 17px!important;
    font-size:11.5px!important;
  }

  .nf3-v4-white-engraving{
    top:29dvh!important;
    width:min(64vw,280px)!important;
    opacity:.082!important;
  }

  body.nf3-public .nf3-public-main{
    width:calc(100% - 40px)!important;
    padding-top:calc(var(--nf3-safe-top) + 132px)!important;
    padding-bottom:calc(var(--nf3-safe-bottom) + 124px)!important;
  }
  body.nf3-public .nf3-grid{
    gap:22px!important;
    margin-top:42px!important;
  }
  body.nf3-public .nf3-card{
    padding:26px!important;
    border-radius:32px!important;
  }
}
@media(max-width:390px){
  .brand-anchor{width:102px!important}
  .v31-world-selector{left:calc(50% - 51px - var(--nf3v4-mobile-control) - 8px)!important}
  .app-shell[data-shell-mode="entrance"] .composer-dock{width:calc(100vw - 32px)!important}
  .v31-quick-rail{padding-inline:16px!important;scroll-padding-inline:16px!important}
}
@media(max-width:720px) and (max-height:700px){
  .nf3-v4-search,.nf3-v4-language{top:calc(max(10px,var(--safe-top)) + 48px)!important}
  .app-shell[data-shell-mode="entrance"] .entrance-state h1{top:39.5dvh!important}
  .app-shell[data-shell-mode="entrance"] .composer-dock{top:61.5dvh!important}
  .nf3-v4-white-engraving{top:25.5dvh!important}
  .v31-quick-rail{bottom:max(calc(var(--safe-bottom) + 14px),14px)!important}
}


/* V4.6 MOBILE CONTROL NON-OVERLAP LOCK
   Menu + world + wordmark + profile own the primary orbit.
   Search + language stay independent on a second orbit. */
@media(max-width:720px){
  html[data-nf3-public-world="v4"] #appShell #searchButton{
    position:fixed!important;
    left:max(12px,var(--safe-left))!important;
    right:auto!important;
    top:calc(max(12px,var(--safe-top)) + 58px)!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
  }
  html[data-nf3-public-world="v4"] #appShell #languageButton{
    position:fixed!important;
    left:auto!important;
    right:max(12px,var(--safe-right))!important;
    top:calc(max(12px,var(--safe-top)) + 58px)!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
  }
}
@media(max-width:720px) and (max-height:700px){
  html[data-nf3-public-world="v4"] #appShell #searchButton,
  html[data-nf3-public-world="v4"] #appShell #languageButton{
    top:calc(max(10px,var(--safe-top)) + 54px)!important;
  }
}


/* V4.7 DESKTOP FULL-VIEWPORT LOCK
   Desktop must fill the layout viewport even when visualViewport/dvh reports a reduced height.
   Mobile retains keyboard-aware dynamic viewport behavior. */
@media(min-width:721px){
  html[data-nf3-public-world="v4"] #appShell{
    top:0!important;
    bottom:0!important;
    height:auto!important;
    min-height:100vh!important;
  }
}

@media(max-width:720px){.nf3-public-brand{width:clamp(154px,44vw,198px)!important;gap:6px!important}.nf3-public-brand__symbol{flex-basis:30px;width:30px;height:30px}.nf3-public-brand__wordmark{height:28px!important}}


/* V4.8 CANONICAL SYMBOL VISIBILITY LOCK
   Exact protected 1NFINIT3 symbol, exposed through the public-safe vector alias. */
.app-shell[data-shell-mode="entrance"] .entrance-brand-symbol{
  position:fixed;
  left:50%;
  top:29dvh;
  width:clamp(72px,8.5vw,118px);
  height:auto;
  transform:translateX(-50%);
  z-index:12;
  opacity:.96;
  filter:drop-shadow(0 14px 34px rgba(0,0,0,.16)) drop-shadow(0 0 24px rgba(220,174,62,.12));
  pointer-events:none;
  user-select:none;
}
html[data-v22-world="fullday"] .app-shell[data-shell-mode="entrance"] .entrance-brand-symbol{
  filter:drop-shadow(0 12px 30px rgba(84,76,45,.14));
}
.app-shell[data-shell-mode="conversation"] .entrance-brand-symbol{display:none!important}
@media(max-width:720px){
  .app-shell[data-shell-mode="entrance"] .entrance-brand-symbol{
    top:28.5dvh;
    width:clamp(68px,21vw,92px);
  }
}
@media(max-width:720px) and (max-height:700px){
  .app-shell[data-shell-mode="entrance"] .entrance-brand-symbol{
    top:21.5dvh;
    width:64px;
  }
}

/* OWNER MOBILE LAYOUT RECEIPT 20261014: world selector cannot cover the brand. */
@media(max-width:680px){body.nf3-public .nf3-world-button{left:16px!important;top:calc(var(--nf3-safe-top) + 72px)!important;}}
