/* GM Space v3: approved video and canonical copy remain untouched. */
.nav a{font-weight:700;color:#e4dccb}
.brand{min-width:0;max-width:100%;overflow-wrap:anywhere}
.brand>span:last-child{min-width:0;overflow-wrap:anywhere}
.hero-intro{font-size:14px;color:#e4dcd0;line-height:1.62;max-width:620px}
.hero-intro blockquote{font-size:14px;color:#f0e5d4}
.hero-copy{width:min(720px,65%);padding-block:22px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.ritual-divider,.final-motto .ritual-divider{display:block;height:1px;width:min(210px,55%);margin:16px 0;border:0;background:linear-gradient(90deg,transparent,rgba(230,204,148,.7),transparent);font-size:0}
.final-motto .ritual-divider{margin:12px auto}
.statement .eyebrow,.catalog .eyebrow,.trust .eyebrow{font-size:clamp(17px,2.15vw,25px);font-weight:700;letter-spacing:.14em;position:relative;isolation:isolate;display:inline-block}
.statement .eyebrow::before,.catalog .eyebrow::before,.trust .eyebrow::before{content:"";position:absolute;z-index:-1;left:-6%;right:-8%;height:9px;bottom:-2px;transform:rotate(-1.1deg);border-radius:30% 60% 40% 60%;background:linear-gradient(95deg,transparent,rgba(196,155,93,.46),rgba(223,181,108,.2),transparent)}
.gm-star{background:rgba(248,251,255,.96);box-shadow:0 0 8px rgba(240,246,255,.56)}
.gm-shooting-star{width:clamp(90px,12vw,190px);background:linear-gradient(90deg,transparent,rgba(247,250,255,.95))}
.gm-universe-image{opacity:.44}
.section-head>p{display:none}
.solar-core,.orbit-line{display:none!important}
.catalog.shell{padding-bottom:55px}
.catalog .section-head{padding-block:22px}
.gm-space-active .solar-system{padding:0!important;min-height:0!important;height:var(--space-scroll-height)!important;margin-top:12px;overflow:visible!important;isolation:isolate}
.gm-space-active .solar-system::before{display:none}
.space-viewport{height:calc(100svh - 68px);min-height:500px;position:sticky;top:68px;overflow:hidden;perspective:900px;perspective-origin:50% 52%;transform-style:preserve-3d;background:radial-gradient(ellipse at 50% 53%,rgba(17,22,39,.35),transparent 68%)}
.space-viewport::before,.space-viewport::after{content:"";position:absolute;inset:-15%;pointer-events:none;z-index:0}
.space-viewport::before{background:radial-gradient(circle at 23% 42%,rgba(170,190,232,.09),transparent 26%),radial-gradient(circle at 77% 68%,rgba(143,115,185,.11),transparent 27%),radial-gradient(circle at 45% 85%,rgba(232,199,128,.05),transparent 32%);filter:blur(15px);transform:translate3d(0,calc(var(--dust-depth,0px) * -.18),0)}
.space-viewport::after{opacity:.4;background-image:radial-gradient(circle,rgba(252,253,255,.9) .8px,transparent 1.3px),radial-gradient(circle,rgba(255,244,221,.65) .7px,transparent 1.1px);background-size:123px 111px,79px 89px;background-position:22px 15px,51px 44px;transform:translate3d(0,calc(var(--dust-depth,0px) * .55),0)}
.gm-space-active .cosmos-spiral{position:absolute!important;inset:0;margin:0;display:block;transform-style:preserve-3d;z-index:2;pointer-events:none}
.gm-space-active .opening-card.planet-opening{position:absolute!important;top:50%;left:50%;right:auto;bottom:auto;display:block!important;align-self:auto!important;width:360px!important;height:410px!important;min-height:0!important;margin:-205px 0 0 -180px!important;padding:0!important;opacity:var(--space-alpha,0)!important;filter:brightness(var(--space-glow,1))!important;transform:translate3d(var(--space-x,0px),var(--space-y,0px),var(--space-z,-2000px))!important;backface-visibility:hidden;transition:none!important;pointer-events:none}
.gm-space-active .opening-card.planet-opening[data-focus="true"]{pointer-events:auto}
.gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{position:absolute;top:24px;left:50%;right:auto;width:320px;height:320px;transform:translateX(-50%)!important;will-change:auto}
.gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{position:absolute;z-index:5;top:353px;left:-16px;right:-16px;width:auto;margin:0!important;text-align:center;font:500 26px/1.14 Georgia,serif;letter-spacing:-.018em;color:#fff0d8;text-wrap:balance;text-shadow:0 3px 22px #000,0 0 12px #030405}
.gm-space-active .planet-opening.heading-above h3{top:-22px}
.gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{position:absolute;z-index:5;top:133px;left:51px;right:51px;width:auto;margin:0!important;padding:4px 0!important;text-align:center;color:#fff6eb;font:500 14px/1.42 system-ui,sans-serif;text-shadow:0 2px 8px #000,0 1px 4px #000,0 0 15px #000;background:rgba(4,5,12,.16);border-radius:14px;backdrop-filter:none}
.planet-choose{position:absolute;z-index:9;bottom:0;left:50%;transform:translateX(-50%);border:1px solid rgba(235,218,182,.55);border-radius:999px;padding:9px 18px;font-size:13px;white-space:nowrap;color:#fff4dc;background:rgba(12,15,23,.93);cursor:pointer;box-shadow:0 2px 20px #0006}
.planet-choose:hover,.planet-choose:focus-visible{outline:2px solid #ffe5ad;outline-offset:3px;background:rgba(55,43,25,.96)}
.gm-space-active .planet-opening.heading-above .planet-choose{bottom:10px}
.gm-space-active .planet-opening:nth-child(5) .planet-orb::after,.gm-space-active .planet-opening:nth-child(9) .planet-orb::after{inset:-10% -20%;border:2px solid rgba(242,224,188,.52);border-radius:50%;transform:rotate(-22deg);opacity:.68}
.gm-space-active .master-galaxy{position:absolute!important;z-index:5;inset:0;min-height:0;margin:0;overflow:visible;border:0;display:grid;align-content:center;justify-items:center;opacity:var(--galaxy-alpha,0);transform:translate3d(0,var(--galaxy-lift,110px),0);pointer-events:auto}
.gm-space-active .master-galaxy[inert]{pointer-events:none}
.gm-space-active .galaxy-disc{width:min(960px,97vw);height:min(630px,78vh);background:radial-gradient(ellipse at center,rgba(255,244,206,.84) 0%,rgba(231,203,137,.5) 4%,rgba(135,157,216,.27) 14%,rgba(96,126,187,.15) 28%,transparent 69%),repeating-conic-gradient(from 14deg,rgba(240,234,205,.18) 0deg 3deg,transparent 3deg 17deg);filter:blur(.6px);box-shadow:0 0 130px rgba(150,176,221,.12);transform:rotate(-23deg) scale(1.07)}
.gm-space-active .galaxy-disc::after{content:"";position:absolute;inset:17% 4%;border-radius:50%;border:1px solid rgba(245,223,175,.3);transform:rotate(20deg)}
.gm-space-active .master-opening-card{position:relative!important;z-index:7!important;width:min(570px,85vw)!important;padding:48px 22px!important;border:0!important;background:radial-gradient(ellipse,rgba(4,8,16,.94),rgba(5,8,16,.38) 72%,transparent)!important;backdrop-filter:none!important;box-shadow:none!important}
.gm-space-active .master-opening-card h3{font-size:clamp(34px,5vw,58px)!important}
.gm-space-active .master-opening-card p{color:#efe5d3!important;line-height:1.55}
.gm-space-active .master-opening-card .galaxy-choose{position:relative;display:block;bottom:auto;left:auto;transform:none;margin:22px auto 0}
.gm-space-fallback .planet-opening .planet-choose{position:relative;display:block;bottom:auto;left:auto;transform:none;margin:14px 0 0 84px}
.gm-space-fallback .master-opening-card .galaxy-choose{position:relative;display:block;bottom:auto;left:auto;transform:none;margin:16px auto 0}
.gm-space-fallback .planet-opening .planet-orb{opacity:.9}
.hero .retro-panel[hidden]{display:none!important}
.hero .retro-panel{position:absolute;z-index:7;top:75px;right:18px;width:min(310px,31%);padding:14px 16px;border:1px solid rgba(232,203,146,.34);border-radius:16px;background:rgba(7,11,19,.78);backdrop-filter:blur(14px);box-shadow:0 12px 42px #0008;color:#f6efe3}
.retro-panel h2{font:600 16px/1.3 Georgia,serif;margin:0 0 10px;color:#f2dcae}
.retro-item{border-top:1px solid rgba(237,209,152,.18);padding:10px 0 2px;font-size:12px;line-height:1.5}
.retro-item strong{color:#fff0d0}
.retro-item time{font-variant-numeric:tabular-nums}
.retro-item p{margin:5px 0 0;color:#e1d8c9}
.retro-panel details{margin-top:8px}
.retro-panel summary{cursor:pointer;color:#f4e2bf;font-weight:600;font-size:12px}
.retro-panel .retro-extra{max-height:220px;overflow:auto}
.trust{padding-block:28px!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px}
.trust>p{margin:0;line-height:1.55;color:#e3d9cc}
.final-cta{padding-block:58px}
.final-brand{font-size:clamp(39px,7vw,110px);overflow-wrap:anywhere;hyphens:auto}
.final-motto blockquote{color:#f0e5d3;margin:12px 0}
.footer{padding-block:25px}
@media(max-width:980px){
 .hero-copy{width:66%}
 .hero .retro-panel{width:min(280px,33%);right:6px;top:62px}
}
@media(max-width:760px){
 .brand{font-size:12px;gap:6px}.brand-mark{flex-shrink:0}
 .topbar{padding-inline:12px}.nav{gap:9px}
 .hero{padding-block:64px 64px;min-height:0;display:block}
 .hero-copy{width:100%;max-width:none}
 .hero-intro{font-size:14px;max-width:100%}
 .hero .retro-panel{position:relative;inset:auto;width:100%;margin:18px 0 0;padding:12px 14px;backdrop-filter:blur(8px)}
 .retro-panel .retro-extra{max-height:180px}
 .hero-actions{gap:10px}
 .space-viewport{height:calc(100svh - 68px);min-height:420px}
 .gm-space-active .opening-card.planet-opening{width:302px!important;height:366px!important;margin:-183px 0 0 -151px!important}
 .gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{width:278px;height:278px;top:22px}
 .gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:312px;font-size:22px}
 .gm-space-active .planet-opening.heading-above h3{top:-10px}
 .gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:96px;left:30px;right:30px;font-size:13px;line-height:1.4}
 .gm-space-active .planet-opening .planet-choose{bottom:0}
 .gm-space-active .planet-opening.heading-above .planet-choose{bottom:3px}
 .gm-space-fallback .planet-opening .planet-choose{margin:18px auto 0}
 .trust{grid-template-columns:1fr;gap:6px;padding-block:22px!important}
 .final-cta{padding-block:42px}
 .final-brand{font-size:clamp(34px,8.4vw,61px)}
}
@media(prefers-reduced-motion:reduce){
 .gm-space-fallback .solar-system{height:auto!important}
 .space-viewport{perspective:none}
}

/* Technical sequence identifiers remain in data attributes, not in public UI. */

/* Only nearby orbs spin; hidden layers consume no animation budget. */
.gm-space-active .planet-orb::before{animation-play-state:paused}
.gm-space-active .planet-opening:not([inert]) .planet-orb::before{animation-play-state:running}

/* Contain wide perspective/comet paint at the root without making sticky scroll ancestors. */
html{overflow-x:clip;max-width:100%;}
body{overflow-x:clip;max-width:100%;}
.gm-space-active .solar-system{contain:layout style;}
@media(max-width:760px){
 .topbar{max-width:100vw;min-width:0;gap:8px}
 .topbar .brand{flex:0 1 auto;min-width:0;font-size:11px;letter-spacing:-.03em}
 .topbar .brand>span:last-child{max-width:116px;overflow-wrap:anywhere}
 .topbar .nav{min-width:0;flex:0 1 auto;gap:7px}
 .topbar .nav a{font-size:11px!important;white-space:nowrap}
}

/* Layered living orbital scene: all copy and interaction remain HTML. */
.gm-space-active .opening-card.planet-opening{width:430px!important;height:540px!important;margin:-270px 0 0 -215px!important}
.gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{top:62px;width:342px;height:342px}
.gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:409px;left:18px;right:18px;font-size:clamp(21px,2vw,26px);line-height:1.07;max-height:90px}
.gm-space-active .planet-opening.heading-above h3{top:9px}
.gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:201px;left:60px;right:60px;padding:14px 10px!important;font-size:15px;line-height:1.46;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.43),rgba(0,0,0,.72));box-shadow:0 0 24px #0005;border-radius:16px}
.gm-space-active .planet-opening .planet-choose,.gm-space-active .planet-opening.heading-above .planet-choose{bottom:8px}
.planet-choose{min-width:164px;padding:11px 22px;border:1px solid #f0cb8a;color:#fff1d5;background:radial-gradient(ellipse at 50% 10%,#5e3d1b,#090b16 75%);font:500 16px/1.15 Georgia,serif;box-shadow:inset 0 0 12px #d8a75938,0 0 18px #deac5760}
.planet-choose::before,.planet-choose::after{content:"";position:absolute;top:50%;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle,#ffe6a5,#a66d2c);box-shadow:0 0 11px #ffcf70;transform:translateY(-50%)}
.planet-choose::before{left:-18px}.planet-choose::after{right:-18px}
.gm-orbit-tag{position:absolute;z-index:3;top:117px;right:-12px;display:inline-block;padding:5px 14px;border:1px solid #c9a567aa;border-radius:999px;background:#100c16e0;color:#f7ddb0;font:11px Georgia,serif;box-shadow:0 0 10px #c5a05a66}
.gm-orbit-arc{position:absolute;z-index:1;top:124px;left:0;width:100%;height:210px;border:1px solid #d6b06d85;border-radius:50%;transform:rotate(-19deg);box-shadow:0 0 12px #dabb7736;pointer-events:none}
.gm-space-active .gm-orbit-tag{top:146px;right:-5px}.gm-space-active .gm-orbit-arc{top:152px}
.planet-opening[data-opening-id="mazen"] .planet-orb{--p-light:#b9b4d7;--p-mid:#474267;--p-dark:#0a0c1c}
.planet-opening[data-opening-id="bir-derdim-var"] .planet-orb{--p-light:#a3b9ce;--p-mid:#294164;--p-dark:#090f23}
.planet-opening[data-opening-id="aklindaki-kisi"] .planet-orb{--p-light:#e9b7dc;--p-mid:#995381;--p-dark:#291732}
.planet-opening[data-opening-id="synastry"] .planet-orb{--p-light:#ffd2bf;--p-mid:#b66b66;--p-dark:#381c29}
.planet-opening[data-opening-id="vedic"] .planet-orb{--p-light:#f3d7a6;--p-mid:#97724c;--p-dark:#292118}
.gm-space-dust,.gm-space-asteroids{position:absolute;inset:0;z-index:0;pointer-events:none}
.gm-space-dust{background-image:radial-gradient(circle,#fff9eabb 1px,transparent 1.6px),radial-gradient(circle,#bdd0ff77 1px,transparent 2px),radial-gradient(circle,#ecce9877 .7px,transparent 1.6px);background-size:87px 101px,173px 161px,59px 73px;opacity:.45;transform:translate3d(0,calc(var(--stars-shift,0px) * -.2),0)}
.gm-space-asteroids{opacity:var(--meteor-alpha,0);background:radial-gradient(ellipse at 23% 81%,#5c524b 0 3px,#191825 4px 9px,transparent 11px),radial-gradient(ellipse at 79% 18%,#908272 0 4px,#25252b 5px 11px,transparent 13px),linear-gradient(130deg,transparent 10%,#ffdeb57a 10.2%,transparent 10.9%);filter:drop-shadow(0 0 7px #d0aa7166);transform:translateY(calc(var(--stars-shift,0px) * .26))}
.gm-space-active .master-galaxy::before{content:"";position:absolute;inset:-10%;background:radial-gradient(ellipse at 50% 46%,#fde0a24f,transparent 20%),conic-gradient(from 32deg at 50% 50%,transparent,#728fd836,transparent,#e2ae753b,transparent,#a172c231,transparent);filter:blur(24px);pointer-events:none}
.gm-space-fallback .planet-opening .planet-choose{margin:16px auto 0}.gm-space-fallback .planet-opening .gm-orbit-tag{right:0}
@media(max-width:760px){
 .gm-space-active .opening-card.planet-opening{width:min(310px,88vw)!important;height:505px!important;margin:-252px 0 0 max(-155px,-44vw)!important}
 .gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{width:min(278px,78vw);height:min(278px,78vw);top:60px}
 .gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:346px;left:4px;right:4px;font-size:20px;line-height:1.08;max-height:90px}
 .gm-space-active .planet-opening.heading-above h3{top:6px}
 .gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:152px;left:32px;right:32px;padding:10px 7px!important;font-size:13px;line-height:1.38}
 .gm-space-active .planet-opening .planet-choose,.gm-space-active .planet-opening.heading-above .planet-choose{bottom:4px}
 .gm-space-active .gm-orbit-tag{top:128px;right:-4px;font-size:9px;padding:4px 8px}
 .gm-space-active .gm-orbit-arc{top:136px;height:145px}
}
@media(prefers-reduced-motion:reduce){.planet-orb::before,.galaxy-disc{animation:none!important}}

/* Keep distant planets as depth cues, never render unreadable distant text cards. */
.gm-space-active .planet-opening[data-focus="false"] h3,
.gm-space-active .planet-opening[data-focus="false"] p,
.gm-space-active .planet-opening[data-focus="false"] .planet-choose,
.gm-space-active .planet-opening[data-focus="false"] .gm-orbit-tag {
  visibility:hidden;
  pointer-events:none;
}
/* CSS perspective still paints the distant orb; only the focused opening is readable. */

/* 17 user-supplied reference illustrations drive rotating surface textures, never UI text. */
.planet-opening[data-opening-id="natal"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-01.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="mazen"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-02.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="bir-derdim-var"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-03.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="annual"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-04.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="horary-electional"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-05.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="synastry"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-06.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="aklindaki-kisi"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-07.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="quick-person"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-08.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="career"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-09.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="zodiacal"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-10.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="ancestry"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-11.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="vedic"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-12.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="zahir-batin"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-13.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="esoteric"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-14.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="blindspot"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-15.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.planet-opening[data-opening-id="prophecy"] .planet-orb::before{background-image:radial-gradient(circle at 38% 28%,#ffffff29,transparent 23%,#03060d66 85%),url("/assets/gm-orb-textures/planet-16.jpg");background-size:cover,cover;background-position:center;mix-blend-mode:normal;opacity:.88;filter:saturate(1.15)}
.gm-space-active .planet-opening[data-focus="false"] .planet-orb::before{opacity:.45;filter:saturate(.75) blur(1px)}
.gm-space-active .master-galaxy .galaxy-disc{background-image:radial-gradient(ellipse at center,#fff1c288,transparent 45%),url("/assets/gm-orb-textures/galaxy-17.jpg");background-size:cover;background-position:center;box-shadow:0 0 130px #d7b07955;opacity:.98;filter:saturate(1.12)}

/* Approved two-line greeting: a single responsive size map. */
.hero h1 .hero-greeting,.hero h1 .hero-name{display:block;font-family:Georgia,serif;font-weight:500;font-style:normal;line-height:1.08;letter-spacing:-.035em;white-space:nowrap;max-width:100%}
.hero h1 .hero-greeting{font-size:57px!important;color:#f5eedf}
.hero h1 .hero-name{font-size:60px!important;color:#f5eedf;letter-spacing:-.045em}
@media (min-width:761px) and (max-width:1199px){.hero h1 .hero-greeting{font-size:46px!important}.hero h1 .hero-name{font-size:49px!important}}
@media (min-width:380px) and (max-width:760px){.hero h1 .hero-greeting{font-size:30px!important}.hero h1 .hero-name{font-size:33px!important}}
@media (max-width:379px){.hero h1 .hero-greeting{font-size:28px!important}.hero h1 .hero-name{font-size:31px!important}}

/* WebGL sphere geometry supplements live UI without obscuring actual HTML text. */
.gm-space-webgl-layer{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;display:block}
.gm-space-webgl-fallback .planet-opening .planet-orb{opacity:1}
@media(prefers-reduced-motion:reduce){.gm-space-webgl-layer{display:none!important}}
/* Render distant planets, not tiny unreadable titles, body text, labels or controls. */
.gm-space-active .planet-opening[data-focus="false"] :is(.n,h3,p,.planet-choose,.gm-orbit-tag){opacity:0!important;pointer-events:none!important}
.gm-space-webgl .planet-opening .planet-orb{opacity:1!important;background:transparent!important;box-shadow:0 0 34px 7px var(--p-glow),0 0 88px 9px var(--p-atmo)!important}
.gm-space-webgl .planet-opening .planet-orb::before{display:none!important}
.gm-space-webgl .planet-opening .planet-orb::after{opacity:.3!important}

/* Approved Mahzen planet (2026-11-12): preserve the supplied complete scene.
   Do not sphere-map the doorway or alter the other 16 openings. */
html .planet-opening[data-opening-id="mazen"] .planet-orb{
  background:transparent!important;
  border-radius:0!important;
  overflow:visible!important;
  box-shadow:none!important;
}
html .planet-opening[data-opening-id="mazen"] .planet-orb::before,
html.gm-space-webgl .planet-opening[data-opening-id="mazen"] .planet-orb::before{
  content:"";
  display:block!important;
  position:absolute;
  inset:0;
  border-radius:0!important;
  background:url("/assets/gm-mahzen-planet-approved.png") center/contain no-repeat!important;
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 61%,transparent 76%);
  mask-image:radial-gradient(circle at 50% 50%,#000 61%,transparent 76%);
}
html .planet-opening[data-opening-id="mazen"] .planet-orb::after{display:none!important}
html .planet-opening .gm-orbit-tag,
html .planet-opening[data-opening-id="mazen"] .gm-orbit-tag{display:none!important}
html.gm-space-active .planet-opening[data-opening-id="mazen"][data-focus="false"] .planet-orb::before{opacity:.45!important;filter:saturate(.75) blur(1px)!important}

/* Keep Mahzen's approved doorway unobstructed by the existing description plane and prevent heading/description overlap. */
html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:8px!important}
html.gm-space-active .planet-opening[data-opening-id="mazen"] p{top:396px!important}
html.gm-space-active .planet-opening[data-opening-id="mazen"] .planet-choose{bottom:4px!important}
@media(max-width:760px){
  html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:6px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] p{top:344px!important}
}

/* Keep the Mahzen title clear of the doorway and the description on all viewports. */
html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:8px!important}

/* Stage 05: prevent Mahzen doorway text overlap in reduced-motion fallback mode. */
html.gm-space-fallback .planet-opening[data-opening-id="mazen"]{display:flex!important;flex-direction:column!important;align-items:center!important;gap:14px!important;min-height:0!important;padding-top:16px!important}
html.gm-space-fallback .planet-opening[data-opening-id="mazen"] .planet-orb{position:relative!important;inset:auto!important;transform:none!important;width:min(320px,84vw)!important;height:min(320px,84vw)!important;order:2!important}
html.gm-space-fallback .planet-opening[data-opening-id="mazen"] h3{position:relative!important;inset:auto!important;transform:none!important;width:min(540px,90vw)!important;margin:0!important;text-align:center!important;order:1!important}
html.gm-space-fallback .planet-opening[data-opening-id="mazen"] p{position:relative!important;inset:auto!important;transform:none!important;width:min(540px,90vw)!important;margin:0!important;text-align:center!important;order:3!important}
html.gm-space-fallback .planet-opening[data-opening-id="mazen"] .planet-choose{position:relative!important;inset:auto!important;transform:none!important;margin:4px auto 0!important;order:4!important}

/* Stage 05: keep focused opening card and CTA completely inside viewport on short laptop, narrow 320px, and landscape mobile screens without altering canonical 1440/390 sizing. */
@media(max-height:780px) and (min-width:761px){
  .gm-space-active .opening-card.planet-opening{height:472px!important;margin:-236px 0 0 -215px!important}
  .gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{top:46px;width:296px;height:296px}
  .gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:352px}
  .gm-space-active .planet-opening.heading-above h3{top:4px}
  .gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:162px}
  .gm-space-active .planet-opening .planet-choose,.gm-space-active .planet-opening.heading-above .planet-choose{bottom:2px}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] .planet-orb{width:264px!important;height:264px!important;top:42px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:4px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] p{top:314px!important;font-size:13.5px!important;line-height:1.35!important}
}
@media(max-width:379px){
  .gm-space-active .opening-card.planet-opening{width:292px!important;height:434px!important;margin:-217px 0 0 -146px!important}
  .gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{width:236px;height:236px;top:46px}
  .gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:292px;font-size:19px}
  .gm-space-active .planet-opening.heading-above h3{top:4px}
  .gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:120px;left:18px;right:18px;font-size:12.5px}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:4px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] p{top:286px!important;left:12px!important;right:12px!important}
}
@media(max-height:580px){
  .space-viewport{height:calc(100svh - 56px);min-height:280px;top:56px}
  .gm-space-active .opening-card.planet-opening{width:min(440px,90vw)!important;height:290px!important;margin:-145px 0 0 calc(-1 * min(220px,45vw))!important}
  .gm-space-active .planet-opening .planet-orb,.gm-space-active .planet-opening:nth-child(even) .planet-orb{width:176px!important;height:176px!important;top:30px!important}
  .gm-space-active .planet-opening h3,.gm-space-active .planet-opening:nth-child(even) h3{top:212px!important;font-size:18px!important;line-height:1.05}
  .gm-space-active .planet-opening.heading-above h3{top:2px!important}
  .gm-space-active .planet-opening p,.gm-space-active .planet-opening:nth-child(even) p{top:68px!important;left:18px!important;right:18px!important;font-size:12px!important;line-height:1.3;padding:7px 8px!important}
  .gm-space-active .planet-opening .planet-choose,.gm-space-active .planet-opening.heading-above .planet-choose{bottom:0!important;padding:7px 16px!important;font-size:13px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] h3{top:2px!important}
  html.gm-space-active .planet-opening[data-opening-id="mazen"] p{top:164px!important;font-size:11.5px!important}
}
