@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;500;600;700;800;900&family=Sofia+Sans+Extra+Condensed:wght@800;900&display=swap');

:root {
  --contrast-white: #ffffff;
  --contrast-black: #000000;
  --contrast-cyan: #00ffe0;
  --contrast-purple: #8000ff;
  --text-main: #ffffff;
  --text-soft: rgba(255,255,255,.74);
  --text-muted: rgba(255,255,255,.46);
  --border-strong: rgba(255,255,255,.92);
  --border-soft: rgba(255,255,255,.22);
  --ease-soft: cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --visual-height: clamp(410px, 50vh, 560px);
  --font-main: 'Sofia Sans', Arial, Helvetica, sans-serif;
  --font-display: 'Sofia Sans Extra Condensed', 'Sofia Sans', Arial, Helvetica, sans-serif;
}


*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;min-height:100%;margin:0;padding:0;background:#000;color:#fff;font-family:Arial,Helvetica,sans-serif;overflow:hidden;cursor:none;touch-action:manipulation}
img,video{display:block;max-width:100%;height:auto}
button,a,input{font-family:inherit}
button{appearance:none;border-radius:0}
html,body,a,button,[role="button"],input,textarea,model-viewer{cursor:none!important}

#cursor-follow{position:fixed;top:0;left:0;width:50px;height:50px;pointer-events:none;transform:translate(-50%,-50%);z-index:99999;opacity:0;transition:opacity .2s ease;will-change:transform}
.cursor-dot{position:absolute;top:50%;left:50%;width:20px;height:20px;border-radius:50%;background:var(--contrast-cyan);transform:translate(-50%,-50%) scale(1);box-shadow:0 0 20px rgba(0,255,224,.42);transition:transform .35s var(--ease-soft)}
.cursor-dot.is-hover{transform:translate(-50%,-50%) scale(.55)}

.pipeline-app{position:relative;width:100vw;height:100dvh;min-height:720px;overflow:hidden;background:#000}
.pipeline-app::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:64px 64px;opacity:.28;pointer-events:none;mask-image:radial-gradient(circle at center,#000,transparent 82%);-webkit-mask-image:radial-gradient(circle at center,#000,transparent 82%)}

.pipeline-header{position:relative;z-index:20;width:100%;height:76px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:0 clamp(42px,5.2vw,82px)}
.pipeline-logo{display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;color:#fff;text-decoration:none;line-height:0;justify-self:start;flex-shrink:0}
.pipeline-logo-img{width:40px!important;height:40px!important;object-fit:contain;object-position:center;transition:transform .35s var(--ease-soft),opacity .25s ease}
.pipeline-logo:hover .pipeline-logo-img{transform:scale(.92) rotate(90deg);opacity:.85}
.pipeline-close{justify-self:end;border:0;background:transparent;color:var(--text-soft);font-size:11px;letter-spacing:.18em;font-weight:900;text-transform:uppercase;transition:color .25s ease,transform .25s ease}
.pipeline-close:hover{color:var(--contrast-cyan);transform:translateY(-1px)}

.pipeline-progress{position:relative;z-index:20;width:min(860px,calc(100vw - 48px));margin:0 auto}
.pipeline-progress-line{position:relative;width:100%;height:2px;background:rgba(255,255,255,.17);overflow:hidden}
.pipeline-progress-line span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--contrast-purple),var(--contrast-cyan));transition:width .5s var(--ease-out)}
.pipeline-progress-steps{display:flex;justify-content:space-between;gap:8px;padding-top:18px;overflow:hidden}
.progress-step{flex:0 0 34px;width:34px;height:34px;border:2px solid rgba(255,255,255,.18);border-radius:50%;background:#000;color:var(--text-muted);font-size:11px;font-weight:900;transition:border-color .25s ease,color .25s ease,background .25s ease,transform .25s ease,box-shadow .25s ease}
.progress-step:hover{border-color:var(--contrast-cyan);color:#fff;transform:translateY(-2px)}
.progress-step.is-active{border-color:var(--contrast-purple);background:rgba(128,0,255,.2);color:#fff;box-shadow:0 0 22px rgba(128,0,255,.34)}

.pipeline-stage{position:relative;z-index:10;width:min(1480px,calc(100vw - 112px));height:calc(100dvh - 330px);min-height:430px;margin:26px auto 0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,6vw,110px);align-items:center}
.pipeline-copy{align-self:center;padding-bottom:112px;transition:opacity .35s var(--ease-soft),transform .35s var(--ease-soft)}
.pipeline-kicker{margin:0 0 20px;color:var(--contrast-cyan);font-size:12px;letter-spacing:.28em;font-weight:900;text-transform:uppercase}
.pipeline-title{margin:0;max-width:780px;color:#fff;font-size:clamp(54px,5.65vw,96px);line-height:.9;letter-spacing:-.062em;font-weight:900;text-transform:uppercase}
.pipeline-body{max-width:600px;margin:28px 0 0;color:var(--text-soft);font-size:clamp(16px,1.18vw,20px);line-height:1.6;font-weight:400}
.pipeline-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.pipeline-meta span{position:relative;display:inline-flex;align-items:center;height:36px;padding:0 15px;border:2px solid rgba(255,255,255,.18);background:rgba(255,255,255,.025);color:rgba(255,255,255,.72);font-size:10px;letter-spacing:.12em;font-weight:900;text-transform:uppercase;overflow:hidden}
.pipeline-meta span::after{content:"CONTRAST";position:absolute;inset:0;display:flex;align-items:center;padding:0 15px;background:#fff;color:#000;transform:translateX(-105%);transition:transform .45s var(--ease-soft)}
.pipeline-meta span:hover::after{transform:translateX(0)}
.pipeline-visual{position:relative;align-self:center;min-height:var(--visual-height);overflow:visible;transition:opacity .35s var(--ease-soft),transform .35s var(--ease-soft)}
.is-transitioning .pipeline-copy,.is-transitioning .pipeline-visual{opacity:0;transform:translateY(16px)}

.visual-frame{position:relative;width:100%;height:var(--visual-height);min-height:410px;border:3px solid var(--border-strong);background:rgba(255,255,255,.015);overflow:hidden}
.visual-frame::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:56px 56px;pointer-events:none;z-index:1}
.media-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.media-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.12) 48%,rgba(0,0,0,.52));z-index:2;pointer-events:none}
.visual-label{position:absolute;left:24px;bottom:22px;z-index:4;margin:0;color:rgba(255,255,255,.58);font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase}

.arrow-icon{display:inline-flex;align-items:center;justify-content:center;border:3px solid #fff;background:rgba(0,0,0,.72);color:#fff;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.arrow-icon::before{content:"";width:32px;height:32px;background:#fff;mask:url("../assets/img/Arrow-01.svg") center/contain no-repeat;-webkit-mask:url("../assets/img/Arrow-01.svg") center/contain no-repeat}
.arrow-icon:hover{border-color:var(--contrast-cyan);background:var(--contrast-cyan);transform:translateY(-2px)}
.arrow-icon:hover::before{background:#000}

.intro-sequence{position:relative;width:100%;height:var(--visual-height);min-height:410px;overflow:visible}
.intro-frame{position:relative;width:100%;height:100%;border:3px solid var(--border-strong);background:rgba(255,255,255,.012);overflow:hidden}
.intro-frame::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:56px 56px;pointer-events:none;z-index:1}
.intro-visual{position:absolute;inset:0;z-index:2;display:grid;place-items:center;overflow:hidden}
.intro-product-frame{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(20px,3vw,42px)}
.intro-product-frame img{width:auto;height:auto;max-width:86%;max-height:86%;object-fit:contain;object-position:center;transform:translateY(1%) scale(.96)}
.intro-grid-wrap{position:absolute;inset:0;display:grid;grid-template-rows:auto 1fr;gap:22px;padding:clamp(28px,4vw,52px);z-index:3}
.intro-meta-top{display:flex;flex-wrap:wrap;gap:12px;align-self:start}
.intro-meta-top span{height:34px;padding:0 14px;border:2px solid rgba(255,255,255,.22);display:inline-flex;align-items:center;color:rgba(255,255,255,.8);font-size:10px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;background:rgba(0,0,0,.32)}
.intro-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-self:center;max-width:72%;margin-left:auto}
.intro-media-grid.is-six{grid-template-columns:repeat(3,minmax(0,1fr));max-width:82%}
.intro-card{position:relative;min-height:122px;border:2px solid rgba(255,255,255,.38);background:rgba(255,255,255,.035);overflow:hidden;text-align:left;transition:transform .3s var(--ease-soft),border-color .3s ease,filter .3s ease}
.intro-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.92) brightness(.72);transition:transform .55s var(--ease-soft),filter .35s ease}
.intro-card span{position:absolute;left:18px;bottom:16px;z-index:2;color:#fff;font-size:13px;letter-spacing:.16em;font-weight:900;text-transform:uppercase;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.intro-card:hover{border-color:#fff;transform:translateY(-3px)}
.intro-card:hover img{transform:scale(1.08);filter:saturate(.2) brightness(.82)}
.intro-card::after{content:"CONTRAST";position:absolute;left:0;right:0;top:0;z-index:3;height:38px;display:flex;align-items:center;padding-left:18px;background:#fff;color:#000;font-size:11px;letter-spacing:.16em;font-weight:900;transform:translateX(-105%);transition:transform .45s var(--ease-soft)}
.intro-card:hover::after{transform:translateX(0)}
.intro-progress{position:absolute;left:clamp(46px,6vw,92px);bottom:clamp(34px,5vh,64px);z-index:6;display:flex;gap:12px;align-items:center}
.intro-dot{width:24px;height:4px;border:0;background:rgba(255,255,255,.28);padding:0;transition:width .25s ease,background .25s ease}
.intro-dot.is-active{width:56px;background:linear-gradient(90deg,var(--contrast-purple),var(--contrast-cyan))}
.intro-next{position:absolute;right:-78px;top:50%;z-index:8;width:64px;height:64px;transform:translateY(-50%)}
.intro-next:hover{transform:translateY(calc(-50% - 2px))}

.lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:rgba(0,0,0,.86);opacity:0;pointer-events:none;transition:opacity .25s ease}
.lightbox.is-open{opacity:1;pointer-events:auto;cursor:auto!important}
.lightbox-card{width:min(1120px,calc(100vw - 56px));min-height:min(600px,calc(100dvh - 56px));border:3px solid #fff;background:#000;display:grid;grid-template-columns:.42fr .58fr;position:relative}
.lightbox-copy{padding:clamp(28px,4vw,52px);display:flex;flex-direction:column;justify-content:center;gap:16px}
.lightbox-kicker{margin:0;color:var(--contrast-cyan);font-size:11px;letter-spacing:.24em;font-weight:900;text-transform:uppercase}
.lightbox-title{margin:0;font-size:clamp(34px,4vw,72px);line-height:.9;letter-spacing:-.06em;text-transform:uppercase}
.lightbox-text{margin:0;color:rgba(255,255,255,.72);font-size:16px;line-height:1.55}
.lightbox-media{position:relative;min-height:420px;overflow:hidden}
.lightbox-media img{width:100%;height:100%;object-fit:cover}
.lightbox-close{position:absolute;right:18px;top:18px;z-index:4;width:42px;height:42px;border:2px solid rgba(255,255,255,.6);background:#000;color:#fff;font-size:20px;font-weight:900}

.system-frame{position:relative;width:100%;height:var(--visual-height);min-height:410px;border:3px solid var(--border-strong);background:#000;overflow:hidden}
.system-frame::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:56px 56px;z-index:1;pointer-events:none}
.system-mount{position:absolute;inset:0;z-index:2}
.system-mount model-viewer{width:100%;height:100%;background:transparent!important;opacity:0;transition:opacity .35s ease}
.system-mount model-viewer.is-loaded{opacity:1}
.system-loader{position:absolute;inset:0;z-index:5;display:grid;place-items:center;color:#fff;font-size:11px;letter-spacing:.16em;font-weight:900;text-transform:uppercase;transition:opacity .25s ease;pointer-events:none}
.system-loader.is-hidden{opacity:0}
.system-actions{position:absolute;right:22px;bottom:22px;z-index:8;display:flex;gap:10px;align-items:center}
.system-button{height:38px;padding:0 14px;border:2px solid rgba(255,255,255,.3);background:rgba(0,0,0,.72);color:#fff;font-size:10px;letter-spacing:.13em;font-weight:900;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease}
.system-button:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000;transform:translateY(-2px)}
.system-hint{position:absolute;left:22px;top:22px;z-index:8;color:var(--contrast-cyan);font-size:10px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;pointer-events:none}

.game-launcher{position:relative;width:100%;height:var(--visual-height);min-height:410px;border:3px solid #fff;background:#000;overflow:hidden;display:grid;place-items:center}
.game-launcher__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.82;filter:saturate(1.05) contrast(1.05) brightness(.82);z-index:0}
.game-launcher::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.28) 50%,rgba(0,0,0,.78));z-index:1}
.game-launcher__inner{position:relative;z-index:2;width:min(520px,calc(100% - 70px));text-align:center;border:2px solid rgba(255,255,255,.36);background:rgba(0,0,0,.52);padding:42px 34px;backdrop-filter:blur(4px)}
.game-launcher__kicker{margin:0 0 14px;color:var(--contrast-cyan);font-size:11px;letter-spacing:.18em;font-weight:900;text-transform:uppercase}
.game-launcher__title{margin:0;color:#fff;font-size:clamp(34px,4vw,62px);line-height:.92;letter-spacing:-.06em;font-weight:900;text-transform:uppercase}
.game-launcher__copy{max-width:380px;margin:20px auto 0;color:rgba(255,255,255,.72);font-size:14px;line-height:1.5}
.game-launcher__button{margin-top:28px;height:54px;padding:0 32px;border:2px solid var(--contrast-purple);background:var(--contrast-purple);color:#fff;font-size:12px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease}
.game-launcher__button:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000;transform:translateY(-2px)}

.panorama-viewer{position:relative;width:100%;height:var(--visual-height);min-height:410px;border:3px solid #fff;background:#000;overflow:hidden;touch-action:none}
.panorama-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;background:#000}
.panorama-loader{position:absolute;inset:0;z-index:12;display:grid;place-items:center;color:rgba(255,255,255,.72);font-size:11px;letter-spacing:.16em;font-weight:900;text-transform:uppercase;background:rgba(0,0,0,.35);transition:opacity .25s ease;pointer-events:none}
.panorama-loader.is-hidden{opacity:0}
.panorama-actions{position:absolute;right:22px;bottom:22px;z-index:10;display:flex;gap:10px}
.panorama-label,.panorama-hint{position:absolute;z-index:8;margin:0;font-size:10px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;pointer-events:none}
.panorama-label{left:22px;bottom:22px;color:rgba(255,255,255,.68)}
.panorama-hint{left:22px;top:22px;color:var(--contrast-cyan)}

.outputs-grid{position:relative;width:100%;height:var(--visual-height);min-height:410px;display:grid;grid-template-columns:1fr 1.15fr 1fr;grid-template-rows:1fr 1fr 1fr;grid-template-areas:"a b c" "d b f" "d e f";gap:18px;overflow:visible}
.output-tile{position:relative;border:3px solid #fff;background:rgba(255,255,255,.04);overflow:hidden;transition:transform .45s var(--ease-soft),filter .35s ease,opacity .35s ease}
.output-tile:nth-child(1){grid-area:a}.output-tile:nth-child(2){grid-area:b}.output-tile:nth-child(3){grid-area:c}.output-tile:nth-child(4){grid-area:d}.output-tile:nth-child(5){grid-area:e}.output-tile:nth-child(6){grid-area:f}
.output-tile img,.output-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.72) brightness(.78);transition:filter .45s ease,transform .65s var(--ease-soft)}
.output-tile::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,255,224,.12),rgba(128,0,255,.18));z-index:1;pointer-events:none}
.output-tile span{position:absolute;left:20px;bottom:18px;z-index:2;color:#fff;font-size:15px;letter-spacing:.12em;font-weight:900;text-transform:uppercase;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.output-tile:hover{transform:translateY(-6px) scale(1.015);z-index:5}
.output-tile:hover img,.output-tile:hover video{filter:saturate(.08) brightness(.86);transform:scale(1.07)}
.output-tile:hover::after{content:"CONTRAST";position:absolute;left:0;top:0;height:42px;padding:0 20px;display:flex;align-items:center;background:#fff;color:#000;z-index:3;font-size:11px;letter-spacing:.16em;font-weight:900;animation:tileTextIn .45s var(--ease-soft) both}
@keyframes tileTextIn{from{transform:translateX(-105%)}to{transform:translateX(0)}}

.pipeline-controls{position:absolute;z-index:30;left:0;right:0;bottom:26px;width:min(1480px,calc(100vw - 112px));margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;pointer-events:none}
.pipeline-controls>*{pointer-events:auto}
.pipeline-nav-button{width:fit-content;min-width:146px;height:54px;border:2px solid rgba(255,255,255,.22);background:rgba(0,0,0,.74);color:#fff;font-size:12px;letter-spacing:.12em;font-weight:900;white-space:nowrap;transition:border-color .25s ease,background .25s ease,transform .25s ease,color .25s ease,opacity .25s ease,box-shadow .25s ease}
.pipeline-nav-button:hover:not(:disabled){border-color:var(--contrast-cyan);color:var(--contrast-cyan);transform:translateY(-2px)}
.pipeline-nav-button:disabled{visibility:hidden;pointer-events:none}
.pipeline-nav-button.is-primary{justify-self:end;min-width:180px;padding-left:34px;padding-right:34px;border-color:var(--contrast-purple);background:var(--contrast-purple)}
.pipeline-nav-button.is-primary:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000;transform:translateY(-3px) scale(1.04)}
.pipeline-counter{display:inline-flex;align-items:center;justify-content:center;height:54px;gap:10px;color:rgba(255,255,255,.66);font-size:13px;letter-spacing:.18em;font-weight:900;transform:translateY(-4px)}
.pipeline-counter span:first-child{color:#fff}

.game-fullscreen,.game-fullscreen *,.lightbox.is-open,.lightbox.is-open *{cursor:auto!important}
.game-fullscreen.is-playing,.game-fullscreen.is-playing *{cursor:none!important}

@media (max-width:1024px){
  html,body{overflow:auto;cursor:auto!important;touch-action:manipulation}html,body,a,button,[role="button"],input,textarea,model-viewer{cursor:auto!important}#cursor-follow{display:none!important}
  .pipeline-app{height:auto;min-height:100dvh;overflow:visible}.pipeline-header{height:64px;padding:0 22px}.pipeline-logo,.pipeline-logo-img{width:34px!important;height:34px!important}.pipeline-progress{width:calc(100vw - 40px)}.pipeline-progress-steps{overflow-x:auto;gap:4px;padding-bottom:6px;scrollbar-width:none}.pipeline-progress-steps::-webkit-scrollbar{display:none}.progress-step{flex:0 0 30px;width:30px;height:30px;font-size:10px}
  .pipeline-stage{width:calc(100vw - 40px);height:auto;min-height:auto;grid-template-columns:1fr;gap:28px;margin-top:28px;padding-bottom:170px}.pipeline-copy{padding-bottom:0}.pipeline-title{font-size:clamp(40px,13vw,72px)}.pipeline-body{font-size:15px}.pipeline-visual{min-height:auto}.pipeline-meta span::after,.intro-card::after,.output-tile:hover::after{display:none}
  .visual-frame,.intro-sequence,.intro-frame,.system-frame,.game-launcher,.panorama-viewer,.outputs-grid{height:auto;min-height:390px}.intro-sequence{height:62vh;min-height:430px}.intro-frame{height:100%}.intro-next{right:18px;top:auto;bottom:18px;width:56px;height:56px;transform:none}.intro-next:hover{transform:translateY(-2px)}.intro-progress{left:24px;bottom:28px}.intro-product-frame{padding:26px}.intro-product-frame img{max-width:88%;max-height:78%;transform:translateY(-2%) scale(.94)}.intro-grid-wrap{padding:24px;padding-bottom:96px}.intro-media-grid,.intro-media-grid.is-six{max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.intro-card{min-height:100px}.intro-card span{font-size:11px;left:14px;bottom:12px}.intro-meta-top{gap:8px}.intro-meta-top span{height:30px;font-size:9px;padding:0 10px}
  .system-actions{left:16px;right:auto;bottom:16px}.system-button{height:34px;padding:0 10px;font-size:9px}.ar-viewer .system-button[data-reset]{display:none}.panorama-actions{right:16px;bottom:16px}.panorama-label{left:16px;bottom:18px}.panorama-hint{left:16px;top:18px}.outputs-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(4,150px);grid-template-areas:"a b" "c c" "d e" "f f";gap:12px}.output-tile span{font-size:12px;left:14px;bottom:14px}
  .pipeline-controls{position:fixed;width:calc(100vw - 24px);bottom:12px;padding:8px 10px max(8px,env(safe-area-inset-bottom));background:rgba(0,0,0,.88);border:2px solid rgba(255,255,255,.16)}.pipeline-nav-button{min-width:88px;height:42px;font-size:10px}.pipeline-nav-button.is-primary{min-width:112px;padding-left:18px;padding-right:18px}.pipeline-counter{height:42px;font-size:11px;transform:none}
  .game-launcher__inner{width:min(520px,calc(100% - 40px));padding:30px 22px}.lightbox-card{grid-template-columns:1fr;width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.lightbox-media{min-height:260px;order:-1}.lightbox-copy{padding:24px}
}
@media (max-width:560px){.pipeline-stage{width:calc(100vw - 28px)}.visual-frame,.intro-sequence,.intro-frame,.system-frame,.game-launcher,.panorama-viewer{min-height:420px}.intro-sequence{height:68vh}.intro-media-grid,.intro-media-grid.is-six{gap:10px}.intro-card{min-height:88px}.intro-product-frame img{max-width:96%;max-height:78%;transform:translateY(-3%) scale(.94)}.outputs-grid{grid-template-rows:repeat(4,124px);gap:10px}.pipeline-close{font-size:10px}.system-actions{display:none}.game-launcher__title{font-size:38px}.game-launcher__copy{font-size:13px}}

.game-fullscreen{position:relative;width:100%;height:100%;background:#000;color:#fff;overflow:hidden;user-select:none;-webkit-user-select:none}
.game-fullscreen:fullscreen,.game-fullscreen:-webkit-full-screen{width:100vw;height:100vh}.game-fullscreen.is-windowed-game{position:fixed;inset:0;z-index:999999;width:100vw;height:100dvh}
.game-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;background:#000}
.game-hud{position:absolute;top:28px;left:34px;right:34px;z-index:20;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;pointer-events:none}.game-kicker{color:var(--contrast-cyan);font-size:11px;letter-spacing:.2em;font-weight:900;text-transform:uppercase}.game-hud h2{margin:8px 0 0;color:#fff;font-size:clamp(34px,4vw,68px);line-height:.9;letter-spacing:-.06em;text-transform:uppercase}.game-status{display:flex;align-items:center;gap:10px;pointer-events:auto}.game-status span,.game-status button{height:42px;min-width:112px;border:2px solid rgba(255,255,255,.18);background:rgba(0,0,0,.58);color:rgba(255,255,255,.82);display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:10px;letter-spacing:.12em;font-weight:900;text-transform:uppercase}.game-status button:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000}.game-status [data-special].is-ready{border-color:var(--contrast-cyan);color:var(--contrast-cyan);animation:specialPulse 1.2s ease-in-out infinite;box-shadow:0 0 28px rgba(0,255,224,.24)}@keyframes specialPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.game-selector,.game-briefing,.game-overlay{position:absolute;inset:0;z-index:40;display:grid;place-items:center;background:rgba(0,0,0,.78);opacity:0;pointer-events:none;transition:opacity .25s ease}.game-selector.is-visible,.game-briefing.is-visible,.game-overlay.is-visible{opacity:1;pointer-events:auto}.game-selector-card,.game-briefing-card,.game-overlay>div{width:min(760px,calc(100% - 70px));max-height:calc(100dvh - 70px);overflow:auto;border:3px solid rgba(255,255,255,.92);background:#000;padding:clamp(24px,4vw,42px);text-align:center}.game-selector-card p,.game-briefing-card p:first-child,.game-overlay p:first-child{margin:0 0 14px;color:var(--contrast-cyan);font-size:11px;letter-spacing:.18em;font-weight:900;text-transform:uppercase}.game-selector-card h3,.game-briefing-card h3,.game-overlay h3{margin:0;color:#fff;font-size:clamp(34px,5vw,72px);line-height:.9;letter-spacing:-.06em;text-transform:uppercase}.game-briefing-card [data-brief-text],.game-overlay [data-overlay-copy]{max-width:560px;margin:22px auto 0;color:rgba(255,255,255,.72);font-size:15px;line-height:1.6}.game-selector-card input{width:min(420px,100%);height:50px;margin:26px auto 0;border:2px solid rgba(255,255,255,.24);background:rgba(255,255,255,.03);color:#fff;text-align:center;font-size:15px;letter-spacing:.08em;font-weight:800;text-transform:uppercase;outline:none}.game-selector-card input:focus{border-color:var(--contrast-cyan);box-shadow:0 0 22px rgba(0,255,224,.13)}.game-ships{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}.game-ships button{min-height:174px;border:2px solid rgba(255,255,255,.22);background:rgba(255,255,255,.025);color:#fff;padding:18px;display:grid;place-items:center;gap:8px;transition:border-color .25s ease,background .25s ease,transform .25s ease}.game-ships button:hover,.game-ships button.is-selected{border-color:var(--contrast-cyan);background:rgba(0,255,224,.045);transform:translateY(-2px)}.game-ships img{width:78px;height:96px;object-fit:contain;filter:drop-shadow(0 14px 24px rgba(0,0,0,.42))}.game-ships strong{font-size:12px;letter-spacing:.16em;text-transform:uppercase}.game-ships small{color:rgba(255,255,255,.56);font-size:11px;line-height:1.45}.game-play,.game-briefing-card button,.game-overlay button{margin-top:26px;height:50px;padding:0 26px;border:2px solid var(--contrast-purple);background:var(--contrast-purple);color:#fff;font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase}.game-play:hover,.game-briefing-card button:hover,.game-overlay button:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000}.game-selector-card ol{margin:24px auto 0;padding:0;list-style:none;width:min(480px,100%);border:2px solid rgba(255,255,255,.14)}.game-selector-card li{display:grid;grid-template-columns:1fr auto;gap:16px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.72);font-size:11px;letter-spacing:.1em;font-weight:800;text-transform:uppercase}.game-selector-card li:last-child{border-bottom:0}.game-selector-card li strong{color:#fff}
@media(max-width:1024px){.game-hud{top:12px;left:12px;right:12px;gap:8px}.game-hud h2{font-size:clamp(20px,6vw,34px)}.game-kicker{font-size:8px;letter-spacing:.14em}.game-status{display:grid;grid-template-columns:repeat(2,auto);justify-content:end;gap:4px}.game-status span,.game-status button{height:23px;min-width:auto;padding:0 5px;font-size:clamp(6px,1.9vw,8px);letter-spacing:.065em;border-width:1px}.game-status [data-special]{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:60;height:54px;min-width:158px;padding:0 18px;border:2px solid rgba(255,255,255,.18);background:rgba(0,0,0,.78);font-size:11px;letter-spacing:.12em;opacity:.2;pointer-events:auto}.game-status [data-special].is-ready{opacity:1;background:var(--contrast-purple);color:#fff;border-color:var(--contrast-cyan);box-shadow:0 0 28px rgba(0,255,224,.22),0 0 44px rgba(128,0,255,.28)}.game-selector-card,.game-briefing-card,.game-overlay>div{width:min(720px,calc(100% - 22px));max-height:calc(100dvh - 24px);padding:clamp(14px,3vw,24px)}.game-ships{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-ships button{min-height:92px;padding:8px 6px}.game-ships img{width:42px;height:54px}.game-ships strong{font-size:8px}.game-ships small{font-size:7px}.game-selector-card h3,.game-briefing-card h3,.game-overlay h3{font-size:clamp(26px,7vw,44px)}}

/* =========================
   GAME 43 STRUCTURE FIXES
   Intro panels: stable cards + visible media
========================= */
.intro-sequence {height:var(--visual-height)!important;min-height:410px!important}
.intro-frame {height:100%!important}
.intro-grid-wrap{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:clamp(18px,2.4vw,28px)!important;padding:clamp(34px,4.5vw,58px)!important;z-index:3!important}
.intro-meta-top{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:12px!important;width:100%!important;margin:0 auto!important}
.intro-media-grid,.intro-media-grid.is-six{width:min(720px,92%)!important;max-width:none!important;margin:0 auto!important;display:grid!important;gap:16px!important;align-self:center!important}.intro-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.intro-media-grid.is-six{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:min(780px,94%)!important}.intro-card{min-height:clamp(118px,15vh,168px)!important;aspect-ratio:16/9!important;border:2px solid rgba(255,255,255,.44)!important}.intro-card img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;transform:scale(1.16)!important;filter:saturate(.98) brightness(.74)!important}.intro-card:hover img{transform:scale(1.26)!important;filter:saturate(.22) brightness(.84)!important}.intro-progress{z-index:9!important}.intro-next{z-index:12!important}

@media (max-width:1024px){.intro-sequence{height:62vh!important;min-height:430px!important}.intro-grid-wrap{padding:24px!important;padding-bottom:92px!important;justify-content:center!important}.intro-media-grid,.intro-media-grid.is-six{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.intro-card{min-height:104px!important;aspect-ratio:16/10!important}.intro-card img{transform:scale(1.18)!important}}
@media (max-width:560px){.intro-sequence{height:68vh!important;min-height:430px!important}.intro-grid-wrap{padding:18px!important;padding-bottom:92px!important;gap:14px!important}.intro-meta-top{justify-content:flex-start!important;gap:8px!important}.intro-meta-top span{height:28px!important;padding:0 9px!important;font-size:8px!important}.intro-card{min-height:92px!important}.intro-card span{font-size:10px!important;left:12px!important;bottom:10px!important}}

/* =========================
   GAME 43 RESTORED SCENT STRIKE UI
========================= */
.pipeline-game-fullscreen{position:relative;width:100%;height:100%;background:#000;color:#fff;overflow:hidden;user-select:none;-webkit-user-select:none}.pipeline-game-fullscreen:fullscreen,.pipeline-game-fullscreen:-webkit-full-screen,.pipeline-game-fullscreen:-moz-full-screen{width:100vw;height:100vh}.pipeline-game-fullscreen.is-windowed-game{position:fixed;inset:0;z-index:999999;width:100vw;height:100dvh}.pipeline-game-canvas{position:absolute;inset:0;width:100%;height:100%;background:#000;display:block;image-rendering:auto}.pipeline-game-hud{position:absolute;top:28px;left:34px;right:34px;z-index:20;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;pointer-events:none}.pipeline-game-title-block{display:flex;flex-direction:column;gap:8px}.pipeline-game-kicker{color:var(--contrast-cyan);font-size:11px;letter-spacing:.2em;font-weight:900;text-transform:uppercase}.pipeline-game-title{margin:0;color:#fff;font-size:clamp(34px,4vw,68px);line-height:.9;letter-spacing:-.06em;font-weight:900;text-transform:uppercase}.pipeline-game-status{display:flex;align-items:center;gap:10px;pointer-events:auto}.pipeline-game-pill,.pipeline-game-special{min-width:112px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:2px solid rgba(255,255,255,.18);background:rgba(0,0,0,.58);color:rgba(255,255,255,.82);font-size:10px;letter-spacing:.12em;font-weight:900;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}.pipeline-game-pill.is-unlocked,.pipeline-game-special.is-ready{border-color:var(--contrast-cyan);color:var(--contrast-cyan);box-shadow:0 0 28px rgba(0,255,224,.24)}.pipeline-game-special.is-ready{animation:pipelineSpecialPulse 1.2s ease-in-out infinite}.pipeline-game-special:hover,.pipeline-game-exit:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000;transform:translateY(-2px)}@keyframes pipelineSpecialPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}.pipeline-game-exit{height:42px;padding:0 18px;border:2px solid rgba(255,255,255,.18);background:rgba(0,0,0,.72);color:#fff;font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease}.pipeline-game-message{position:absolute;left:34px;right:34px;bottom:28px;z-index:20;display:flex;justify-content:space-between;gap:20px;color:rgba(255,255,255,.58);font-size:11px;line-height:1.4;letter-spacing:.1em;font-weight:800;text-transform:uppercase;pointer-events:none}
.pipeline-game-selector,.pipeline-game-overlay,.pipeline-game-briefing{position:absolute;inset:0;z-index:40;display:grid;place-items:center;background:rgba(0,0,0,.78);opacity:0;pointer-events:none;transition:opacity .28s ease}.pipeline-game-selector.is-visible,.pipeline-game-overlay.is-visible,.pipeline-game-briefing.is-visible{opacity:1;pointer-events:auto}.pipeline-game-selector__inner,.pipeline-game-overlay__inner,.pipeline-game-briefing__inner{width:min(760px,calc(100% - 70px));max-height:calc(100dvh - 70px);overflow:auto;border:3px solid rgba(255,255,255,.92);background:#000;padding:clamp(24px,4vw,42px);text-align:center}.pipeline-game-selector__kicker,.pipeline-game-overlay__kicker,.pipeline-game-briefing__kicker{margin:0 0 14px;color:var(--contrast-cyan);font-size:11px;letter-spacing:.18em;font-weight:900;text-transform:uppercase}.pipeline-game-selector__title,.pipeline-game-overlay__title{margin:0;color:#fff;font-size:clamp(34px,5vw,72px);line-height:.9;letter-spacing:-.06em;font-weight:900;text-transform:uppercase}.pipeline-game-briefing__text,.pipeline-game-overlay__copy{max-width:560px;margin:20px auto 0;color:rgba(255,255,255,.72);font-size:15px;line-height:1.6}.pipeline-game-briefing__text::after{content:"_";color:var(--contrast-cyan);animation:briefingCaret .8s steps(1) infinite}@keyframes briefingCaret{50%{opacity:0}}.pipeline-game-briefing__button{opacity:0;pointer-events:none;margin-top:26px;height:50px;padding:0 26px;border:2px solid var(--contrast-purple);background:var(--contrast-purple);color:#fff;font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;transition:opacity .25s ease,background .25s ease,border-color .25s ease,color .25s ease}.pipeline-game-briefing__button.is-visible{opacity:1;pointer-events:auto}.pipeline-game-briefing__button:hover,.pipeline-game-overlay__button:hover,.pipeline-game-start:hover{background:var(--contrast-cyan);border-color:var(--contrast-cyan);color:#000}.pipeline-game-name-label{display:block;margin:26px 0 9px;color:rgba(255,255,255,.54);font-size:10px;letter-spacing:.16em;font-weight:900;text-transform:uppercase}.pipeline-game-name-input{width:min(420px,100%);height:50px;border:2px solid rgba(255,255,255,.24);background:rgba(255,255,255,.03);color:#fff;text-align:center;font-size:15px;letter-spacing:.08em;font-weight:800;text-transform:uppercase;outline:none}.pipeline-game-name-input:focus{border-color:var(--contrast-cyan);box-shadow:0 0 22px rgba(0,255,224,.13)}.pipeline-game-name-input::placeholder{color:rgba(255,255,255,.28)}.pipeline-game-name-error{display:none;margin:10px 0 0;color:var(--contrast-cyan);font-size:10px;letter-spacing:.12em;font-weight:900;text-transform:uppercase}.pipeline-game-name-error.is-visible{display:block}.pipeline-game-selector__ships{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.pipeline-game-ship{min-height:174px;border:2px solid rgba(255,255,255,.22);background:rgba(255,255,255,.025);color:#fff;padding:18px;display:grid;place-items:center;gap:10px;transition:border-color .25s ease,background .25s ease,transform .25s ease}.pipeline-game-ship:hover,.pipeline-game-ship.is-selected{border-color:var(--contrast-cyan);background:rgba(0,255,224,.045);transform:translateY(-2px)}.pipeline-game-ship strong{font-size:12px;letter-spacing:.16em;text-transform:uppercase}.pipeline-game-ship small{max-width:150px;color:rgba(255,255,255,.56);font-size:11px;line-height:1.45}.ship-preview{position:relative;width:44px;height:70px;display:grid;place-items:center;overflow:visible}.ship-preview img{position:relative;z-index:2;width:170%;max-width:none;height:170%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 14px 24px rgba(0,0,0,.42))}.pipeline-game-start,.pipeline-game-overlay__button{margin-top:26px;height:50px;padding:0 28px;border:2px solid var(--contrast-purple);background:var(--contrast-purple);color:#fff;font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,color .25s ease}.pipeline-leaderboard{margin:28px auto 0;width:min(520px,100%);border:2px solid rgba(255,255,255,.14);background:rgba(255,255,255,.018);text-align:left}.pipeline-leaderboard--overlay{margin-top:24px}.pipeline-leaderboard__head,.pipeline-leaderboard__list li{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.pipeline-leaderboard__head{padding:12px 14px;border-bottom:2px solid rgba(255,255,255,.1);color:var(--contrast-cyan);font-size:10px;letter-spacing:.14em;font-weight:900;text-transform:uppercase}.pipeline-leaderboard__list{list-style:none;margin:0;padding:0}.pipeline-leaderboard__list li{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.06);color:rgba(255,255,255,.72);font-size:11px;letter-spacing:.1em;font-weight:800;text-transform:uppercase}.pipeline-leaderboard__list li:last-child{border-bottom:0}.pipeline-leaderboard__list strong{color:#fff;font-size:11px}.pipeline-game-fullscreen.is-selecting,.pipeline-game-fullscreen.is-selecting *,.pipeline-game-fullscreen.is-briefing,.pipeline-game-fullscreen.is-briefing *,.pipeline-game-selector.is-visible,.pipeline-game-selector.is-visible *,.pipeline-game-overlay.is-visible,.pipeline-game-overlay.is-visible *,.pipeline-game-briefing.is-visible,.pipeline-game-briefing.is-visible *{cursor:auto!important}.pipeline-game-fullscreen:not(.is-selecting):not(.is-briefing) .pipeline-game-canvas{cursor:none!important}.pipeline-game-fullscreen.is-selecting .pipeline-game-special,.pipeline-game-fullscreen.is-briefing .pipeline-game-special{display:none!important}.pipeline-game-fullscreen:not(.is-selecting) .pipeline-game-special,.pipeline-game-fullscreen:not(.is-selecting) .pipeline-game-exit{cursor:pointer!important}
@media(max-width:1024px){.pipeline-game-hud{top:12px;left:12px;right:12px;gap:8px}.pipeline-game-title-block{gap:4px;max-width:38vw}.pipeline-game-title{font-size:clamp(20px,6vw,34px)}.pipeline-game-kicker{font-size:8px;letter-spacing:.14em}.pipeline-game-status{max-width:58vw;display:grid;grid-template-columns:repeat(2,auto);justify-content:end;gap:4px}.pipeline-game-pill,.pipeline-game-exit{height:23px;min-width:auto;padding:0 5px;font-size:clamp(6px,1.9vw,8px);letter-spacing:.065em;border-width:1px}.pipeline-game-message{display:none}.pipeline-game-selector__inner,.pipeline-game-overlay__inner,.pipeline-game-briefing__inner{width:min(720px,calc(100% - 22px));max-height:calc(100dvh - 24px);padding:clamp(14px,3vw,24px);overflow-y:auto;overflow-x:hidden}.pipeline-game-selector__title,.pipeline-game-overlay__title{font-size:clamp(26px,7vw,44px)}.pipeline-game-name-label{margin-top:16px}.pipeline-game-name-input{height:40px;font-size:12px}.pipeline-game-selector__ships{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,1.6vw,10px);overflow:visible;padding:0;margin-top:16px}.pipeline-game-ship{min-width:0;min-height:clamp(92px,18vh,132px);padding:clamp(8px,2vw,12px) 6px;gap:6px}.ship-preview{width:clamp(20px,5vw,30px);height:clamp(32px,8vw,48px)}.ship-preview img{width:170%;height:170%}.pipeline-game-ship strong{font-size:clamp(7px,2.15vw,10px);letter-spacing:.1em}.pipeline-game-ship small{max-width:100%;font-size:clamp(7px,1.9vw,9px);line-height:1.25}.pipeline-leaderboard{margin-top:14px}.pipeline-leaderboard__head,.pipeline-leaderboard__list li{padding:8px 10px;font-size:8px}.pipeline-game-special{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:60;height:54px;min-width:158px;padding:0 18px;border:2px solid rgba(255,255,255,.18);background:rgba(0,0,0,.78);color:rgba(255,255,255,.38);font-size:11px;letter-spacing:.12em;opacity:.2;pointer-events:auto;transform:translateY(10px) scale(.96);transition:opacity .25s ease,transform .25s ease,background .25s ease,color .25s ease,box-shadow .25s ease}.pipeline-game-special.is-ready{opacity:1;pointer-events:auto;transform:translateY(0) scale(1);background:var(--contrast-purple);color:#fff;border-color:var(--contrast-cyan);box-shadow:0 0 28px rgba(0,255,224,.22),0 0 44px rgba(128,0,255,.28)}}
@media(max-width:480px){.pipeline-game-selector__inner,.pipeline-game-overlay__inner,.pipeline-game-briefing__inner{width:calc(100% - 14px);padding:12px 8px}.pipeline-game-selector__ships{gap:5px}.pipeline-game-ship{min-height:84px;padding:7px 4px}.ship-preview{width:18px;height:30px}.pipeline-game-status{max-width:64vw}.pipeline-game-pill,.pipeline-game-exit{height:21px;padding:0 4px;font-size:6px}.pipeline-game-special{min-width:142px;height:48px;font-size:10px}}


/* =========================
   GAME-44 CLEAN PATCH
   Intro grids + playable game launcher
========================= */

/* Game launcher: keep preview video behind content and allow Play click */
.game-launcher,
.game-launcher * {
  isolation: isolate;
}

.game-launcher__grid,
.game-launcher__video,
.game-launcher::after {
  pointer-events: none !important;
}

.game-launcher__video {
  z-index: 0 !important;
  opacity: 1 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.game-launcher::after {
  z-index: 1 !important;
  background:
    radial-gradient(circle at 76% 62%, rgba(0,255,224,.13), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.34) 50%, rgba(0,0,0,.76)) !important;
}

.game-launcher__inner {
  z-index: 3 !important;
  pointer-events: auto !important;
}

.game-launcher__content {
  position: relative !important;
  z-index: 4 !important;
  pointer-events: auto !important;
}

.game-launcher__button {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Intro section: stable frame and correctly sized grids */
.intro-frame {
  overflow: hidden !important;
}

.intro-visual {
  overflow: hidden !important;
}

.intro-product-frame {
  inset: 0 !important;
  padding: clamp(18px, 2.6vw, 38px) !important;
  display: grid !important;
  place-items: center !important;
}

.intro-product-frame img,
.intro-product-image {
  width: auto !important;
  height: auto !important;
  max-width: min(96%, 900px) !important;
  max-height: 90% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateY(1%) scale(.98) !important;
}

.intro-grid-wrap {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: clamp(18px, 2.2vw, 26px) !important;
  padding: clamp(34px, 4vw, 54px) clamp(42px, 5vw, 76px) clamp(88px, 8vh, 108px) !important;
  align-items: start !important;
  justify-items: center !important;
}

.intro-meta-top {
  width: min(100%, 760px) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-self: start !important;
  justify-self: center !important;
  gap: 12px !important;
}

.intro-media-grid,
.intro-media-grid.is-six {
  width: min(100%, 760px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  align-self: center !important;
  justify-self: center !important;
  display: grid !important;
  gap: clamp(14px, 1.5vw, 18px) !important;
}

.intro-media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.intro-media-grid.is-six {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.intro-card {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  border: 2px solid rgba(255,255,255,.42) !important;
}

.intro-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02) !important;
}

.intro-card:hover img {
  transform: scale(1.08) !important;
}

.intro-progress {
  left: clamp(46px, 6vw, 92px) !important;
  bottom: clamp(28px, 4.5vh, 54px) !important;
  z-index: 10 !important;
}

.intro-next {
  right: -80px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 12 !important;
}

.intro-next:hover {
  transform: translateY(calc(-50% - 2px)) !important;
}

@media (max-width: 1180px) {
  .intro-media-grid.is-six {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 640px) !important;
  }
}

@media (max-width: 1024px) {
  .intro-grid-wrap {
    padding: 28px 28px 94px !important;
  }

  .intro-meta-top {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-six {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .intro-card {
    aspect-ratio: 16 / 10 !important;
  }

  .intro-product-frame img,
  .intro-product-image {
    max-width: 98% !important;
    max-height: 86% !important;
    transform: translateY(0) scale(.96) !important;
  }

  .intro-next {
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
    transform: none !important;
  }

  .intro-next:hover {
    transform: translateY(-2px) !important;
  }

  .intro-progress {
    left: 24px !important;
    bottom: 30px !important;
  }
}

@media (max-width: 560px) {
  .intro-grid-wrap {
    padding: 18px 16px 92px !important;
    gap: 14px !important;
  }

  .intro-meta-top {
    gap: 8px !important;
  }

  .intro-meta-top span {
    height: 28px !important;
    padding: 0 9px !important;
    font-size: 8px !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-six {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .intro-card {
    aspect-ratio: 1 / .82 !important;
  }

  .intro-card span {
    font-size: 9px !important;
    left: 10px !important;
    bottom: 9px !important;
  }

  .intro-card::after {
    display: none !important;
  }
}

/* =========================
   CONTRAST PATCH 45
   Stable intro frame + responsive media grids
   This layer intentionally overrides older intro patch rules.
========================= */
.intro-sequence {
  position: relative !important;
  width: 100% !important;
  height: var(--visual-height) !important;
  min-height: 430px !important;
  overflow: visible !important;
}

.intro-frame {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  border: 3px solid var(--border-strong) !important;
  background: rgba(255,255,255,.012) !important;
  overflow: hidden !important;
}

.intro-visual {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: hidden !important;
}

/* Slide 01: product image is framed, not used as a background. */
.intro-product-frame {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(26px, 3.8vw, 54px) !important;
  overflow: hidden !important;
}

.intro-product-frame img,
.intro-product-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(88%, 820px) !important;
  max-height: 82% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateY(1%) scale(.96) !important;
}

/* Slides 02/03: one grid system that scales from the frame, not from image size. */
.intro-grid-wrap {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-rows: max-content minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: clamp(18px, 2.4vh, 28px) !important;
  padding: clamp(30px, 4.5vw, 56px) clamp(34px, 5vw, 76px) clamp(86px, 8.5vh, 112px) !important;
}

.intro-meta-top {
  width: min(100%, 880px) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 !important;
}

.intro-meta-top span {
  height: 34px !important;
  padding: 0 16px !important;
  border: 2px solid rgba(255,255,255,.26) !important;
  background: rgba(0,0,0,.28) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.intro-media-grid,
.intro-media-grid.is-six {
  align-self: center !important;
  justify-self: center !important;
  display: grid !important;
  width: min(86%, 900px) !important;
  max-width: none !important;
  height: min(100%, 330px) !important;
  margin: 0 !important;
  gap: clamp(12px, 1.5vw, 18px) !important;
}

.intro-media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.intro-media-grid.is-six {
  width: min(90%, 980px) !important;
  height: min(100%, 300px) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.intro-card {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: 2px solid rgba(255,255,255,.46) !important;
  background: rgba(255,255,255,.035) !important;
  overflow: hidden !important;
  display: block !important;
}

.intro-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02) !important;
  filter: saturate(.96) brightness(.76) !important;
  transition: transform .55s var(--ease-soft), filter .35s ease !important;
}

.intro-card span {
  position: absolute !important;
  left: clamp(12px, 1.4vw, 20px) !important;
  bottom: clamp(10px, 1.2vw, 18px) !important;
  z-index: 2 !important;
  color: #fff !important;
  font-size: clamp(10px, 1.05vw, 14px) !important;
  letter-spacing: .15em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.6) !important;
}

.intro-card:hover img {
  transform: scale(1.08) !important;
  filter: saturate(.22) brightness(.84) !important;
}

.intro-progress {
  position: absolute !important;
  left: clamp(46px, 6vw, 92px) !important;
  bottom: clamp(30px, 4.8vh, 58px) !important;
  z-index: 10 !important;
}

.intro-next {
  position: absolute !important;
  right: -82px !important;
  top: 50% !important;
  bottom: auto !important;
  width: 64px !important;
  height: 64px !important;
  transform: translateY(-50%) !important;
  z-index: 12 !important;
}

.intro-next:hover {
  transform: translateY(calc(-50% - 2px)) !important;
}

@media (max-width: 1180px) {
  .intro-media-grid.is-six {
    width: min(88%, 760px) !important;
    height: min(100%, 330px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .intro-sequence {
    height: clamp(430px, 64vh, 620px) !important;
    min-height: 430px !important;
  }

  .intro-grid-wrap {
    padding: 26px 24px 98px !important;
    gap: 16px !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-six {
    width: 100% !important;
    height: min(100%, 330px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .intro-product-frame {
    padding: 26px !important;
  }

  .intro-product-frame img,
  .intro-product-image {
    max-width: 92% !important;
    max-height: 80% !important;
    transform: translateY(0) scale(.95) !important;
  }

  .intro-next {
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
    transform: none !important;
  }

  .intro-next:hover {
    transform: translateY(-2px) !important;
  }

  .intro-progress {
    left: 24px !important;
    bottom: 30px !important;
  }
}

@media (max-width: 560px) {
  .intro-sequence {
    height: clamp(455px, 70vh, 640px) !important;
    min-height: 455px !important;
  }

  .intro-grid-wrap {
    padding: 18px 16px 92px !important;
    gap: 12px !important;
  }

  .intro-meta-top {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .intro-meta-top span {
    height: 28px !important;
    padding: 0 9px !important;
    font-size: 8px !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-six {
    height: min(100%, 300px) !important;
    gap: 10px !important;
  }

  .intro-card span {
    font-size: 9px !important;
    left: 10px !important;
    bottom: 9px !important;
  }

  .intro-card::after {
    display: none !important;
  }

  .intro-product-frame img,
  .intro-product-image {
    max-width: 98% !important;
    max-height: 78% !important;
    transform: translateY(-1%) scale(.94) !important;
  }
}


/* =========================
   CONTRAST PATCH 46
   Intro frame geometry + media fill + game preview opacity
   Purpose:
   - Product image fills the full intro frame instead of sitting inside a smaller box.
   - Direction / AI grids scale from the frame size, not from image natural dimensions.
   - Game preview video opacity set to 65%.
========================= */

.game-launcher__video {
  opacity: 0.65 !important;
}

.intro-sequence {
  position: relative !important;
  width: 100% !important;
  height: var(--visual-height) !important;
  min-height: 430px !important;
  overflow: visible !important;
}

.intro-frame {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  border: 3px solid var(--border-strong) !important;
  background: rgba(255,255,255,.012) !important;
  overflow: hidden !important;
}

.intro-visual {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  display: block !important;
  overflow: hidden !important;
}

/* Slide 01 — media behaves as a full-frame image layer. */
.intro-product-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
}

.intro-product-frame img,
.intro-product-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.006) !important;
  transform-origin: center center !important;
}

/* Slides 02/03 — fixed geometry inside the same frame. */
.intro-grid-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-items: center !important;
  gap: clamp(18px, 2.4vh, 28px) !important;
  padding: clamp(34px, 5vh, 58px) clamp(48px, 6vw, 86px) clamp(82px, 9vh, 108px) !important;
  overflow: hidden !important;
}

.intro-meta-top {
  width: 100% !important;
  max-width: 1040px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 auto !important;
}

.intro-meta-top span {
  height: 34px !important;
  padding: 0 16px !important;
  border: 2px solid rgba(255,255,255,.28) !important;
  background: rgba(0,0,0,.3) !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.intro-media-grid,
.intro-media-grid.is-four,
.intro-media-grid.is-six {
  width: min(100%, 1040px) !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
  align-self: stretch !important;
  justify-self: center !important;
  display: grid !important;
  gap: clamp(14px, 1.45vw, 20px) !important;
}

.intro-media-grid,
.intro-media-grid.is-four {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.intro-media-grid.is-six {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.intro-card {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 2px solid rgba(255,255,255,.48) !important;
  background: rgba(255,255,255,.035) !important;
  overflow: hidden !important;
  display: block !important;
}

.intro-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.015) !important;
  filter: saturate(.96) brightness(.76) !important;
  transition: transform .55s var(--ease-soft), filter .35s ease !important;
}

.intro-card:hover img {
  transform: scale(1.08) !important;
  filter: saturate(.22) brightness(.84) !important;
}

.intro-card span {
  position: absolute !important;
  left: clamp(12px, 1.4vw, 20px) !important;
  bottom: clamp(10px, 1.2vw, 18px) !important;
  z-index: 2 !important;
  color: #fff !important;
  font-size: clamp(10px, 1.05vw, 14px) !important;
  letter-spacing: .15em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.6) !important;
}

.intro-progress {
  position: absolute !important;
  left: clamp(46px, 6vw, 92px) !important;
  bottom: clamp(30px, 4.8vh, 58px) !important;
  z-index: 10 !important;
}

.intro-next {
  position: absolute !important;
  right: -82px !important;
  top: 50% !important;
  bottom: auto !important;
  width: 64px !important;
  height: 64px !important;
  transform: translateY(-50%) !important;
  z-index: 12 !important;
}

.intro-next:hover {
  transform: translateY(calc(-50% - 2px)) !important;
}

@media (max-width: 1024px) {
  .intro-sequence {
    height: clamp(430px, 64vh, 620px) !important;
    min-height: 430px !important;
  }

  .intro-grid-wrap {
    padding: 26px 24px 98px !important;
    gap: 16px !important;
  }

  .intro-meta-top {
    justify-content: flex-start !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-four,
  .intro-media-grid.is-six {
    width: 100% !important;
    height: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .intro-media-grid.is-six {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }

  .intro-product-frame img,
  .intro-product-image {
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.01) !important;
  }

  .intro-next {
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
    transform: none !important;
  }

  .intro-next:hover {
    transform: translateY(-2px) !important;
  }

  .intro-progress {
    left: 24px !important;
    bottom: 30px !important;
  }
}

@media (max-width: 560px) {
  .intro-sequence {
    height: clamp(455px, 70vh, 640px) !important;
    min-height: 455px !important;
  }

  .intro-grid-wrap {
    padding: 18px 16px 92px !important;
    gap: 12px !important;
  }

  .intro-meta-top {
    gap: 8px !important;
  }

  .intro-meta-top span {
    height: 28px !important;
    padding: 0 9px !important;
    font-size: 8px !important;
  }

  .intro-media-grid,
  .intro-media-grid.is-four,
  .intro-media-grid.is-six {
    gap: 10px !important;
  }

  .intro-card span {
    font-size: 9px !important;
    left: 10px !important;
    bottom: 9px !important;
  }

  .intro-card::after {
    display: none !important;
  }
}

/* =========================
   CONTRAST PATCH 47
   Mobile intro scale + hover text only on clickable elements
========================= */

/* Meta labels are informational, not clickable: remove CONTRAST hover overlay. */
.pipeline-meta span::after,
.pipeline-meta span:hover::after {
  display: none !important;
  content: none !important;
  transform: none !important;
}

/* Mobile: reduce the first intro product image by 20% while keeping the frame stable. */
@media (max-width: 768px) {
  .intro-product-frame img,
  .intro-product-image {
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(0.8) !important;
    transform-origin: center center !important;
  }
}

@media (max-width: 480px) {
  .intro-product-frame img,
  .intro-product-image {
    transform: scale(0.78) !important;
  }
}


/* =========================
   CONTRAST PATCH 48
   Dedicated mobile intro image
   - desktop uses realistic_Perfume_NOBG.png
   - mobile uses realistic_Perfume_Mobile_NOBG.png
   - no transform scaling hacks
========================= */
.intro-product-frame {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.intro-product-frame img,
.intro-product-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  transform-origin: center center !important;
}

@media (max-width: 768px) {
  .intro-product-frame img,
  .intro-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .intro-product-frame img,
  .intro-product-image {
    transform: none !important;
  }
}


/* =========================
   CONTRAST PATCH 49
   Geometric radial line system for Section 01 frames
   - white line animation only
   - no glow / no color gradients
========================= */
.intro-frame {
  isolation: isolate !important;
  background: #000000 !important;
}

.geo-radial {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000000;
}

.geo-radial-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.geo-radial-rings,
.geo-radial-rays,
.geo-radial-cross,
.geo-radial-square,
.geo-radial-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
}

.geo-radial-rings {
  width: min(92%, 680px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: geoRingsPulse 7s ease-in-out infinite;
  opacity: 0.58;
}

.geo-radial-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--ring) * 13.4%);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.geo-radial-rays {
  width: min(112%, 820px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: geoRotate 24s linear infinite;
  opacity: 0.36;
}

.geo-radial-rays span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 50%;
  background: rgba(255,255,255,0.18);
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(calc(var(--ray) * 20deg));
}

.geo-radial-cross {
  inset: 0;
  left: 0;
  top: 0;
  transform: none;
  opacity: 0.26;
}

.geo-radial-cross::before,
.geo-radial-cross::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.22);
}

.geo-radial-cross::before {
  left: 50%;
  top: 12%;
  width: 1px;
  height: 76%;
}

.geo-radial-cross::after {
  top: 50%;
  left: 12%;
  width: 76%;
  height: 1px;
}

.geo-radial-square {
  width: min(42%, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.22);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: geoSquareRotate 18s linear infinite;
  opacity: 0.72;
}

.geo-radial-square::before,
.geo-radial-square::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.14);
}

.geo-radial-square::before { inset: 15%; }
.geo-radial-square::after { inset: 31%; }

.geo-radial-orbit {
  width: min(56%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: geoRotateReverse 20s linear infinite;
  opacity: 0.82;
}

.geo-radial-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.geo-radial-node.n1 { top: -4px; left: 50%; transform: translateX(-50%); }
.geo-radial-node.n2 { top: 50%; right: -4px; transform: translateY(-50%); }
.geo-radial-node.n3 { bottom: -4px; left: 50%; transform: translateX(-50%); }
.geo-radial-node.n4 { top: 50%; left: -4px; transform: translateY(-50%); }

.intro-frame > .geo-radial { z-index: 0 !important; }
.intro-frame::before { z-index: 1 !important; opacity: 0.22 !important; }
.intro-visual { z-index: 3 !important; }
.intro-progress { z-index: 7 !important; }
.intro-next { z-index: 10 !important; }

@keyframes geoRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes geoRotateReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes geoSquareRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes geoRingsPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.46; }
  50% { transform: translate(-50%, -50%) scale(1.035); opacity: 0.68; }
}

@media (max-width: 768px) {
  .geo-radial-grid { opacity: 0.18; }
  .geo-radial-rings { width: 118%; opacity: 0.42; }
  .geo-radial-rays { width: 142%; opacity: 0.24; }
  .geo-radial-square { width: 58%; opacity: 0.56; }
  .geo-radial-orbit { width: 78%; opacity: 0.58; }
  .geo-radial-node { width: 6px; height: 6px; }
}


/* =========================
   GAME-50 LAUNCHER VIDEO BACKGROUND
   Single large frame: video fills the game container, no inner framed box.
========================= */
.game-launcher {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: #000000 !important;
}

.game-launcher__video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.65 !important;
  filter: saturate(1.05) contrast(1.05) brightness(0.82) !important;
  pointer-events: none !important;
}

.game-launcher__grid {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.game-launcher::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: rgba(0, 0, 0, 0.18) !important;
}

.game-launcher__inner {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(34px, 5vw, 64px) !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
}

.game-launcher__content {
  position: relative !important;
  z-index: 4 !important;
  width: min(560px, 92%) !important;
  margin: 0 auto !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.game-launcher__button {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .game-launcher__inner {
    padding: 28px 22px !important;
  }

  .game-launcher__content {
    width: min(460px, 94%) !important;
  }
}

/* =========================
   GAME 54 — PANORAMA SWITCH CLEAN BUTTON
========================= */
.panorama-viewer {
  isolation: isolate;
}

.panorama-canvas {
  image-rendering: auto !important;
  transform: translateZ(0);
}

.panorama-switch {
  position: absolute;
  z-index: 18;
  right: 22px;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.72);
  padding: 0;
  margin: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 0.25s var(--ease-soft),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.panorama-switch::before {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  background: #ffffff;
  mask: var(--panorama-arrow-url) center / contain no-repeat;
  -webkit-mask: var(--panorama-arrow-url) center / contain no-repeat;
  pointer-events: none;
}

.panorama-switch::after,
.panorama-switch img,
.panorama-switch-label {
  display: none !important;
  content: none !important;
}

.panorama-switch:hover {
  transform: translateY(-50%) translateX(4px);
  border-color: var(--contrast-cyan);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 22px rgba(0, 255, 224, 0.18);
}

.panorama-switch:hover::before {
  background: var(--contrast-cyan);
}

@media (max-width: 1024px) {
  .panorama-switch {
    right: 16px;
    top: auto;
    bottom: 68px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .panorama-switch:hover {
    transform: translateY(-2px);
  }

  .panorama-switch::before {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 560px) {
  .panorama-switch {
    right: 14px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }
}

/* =========================
   GAME 55 — 2D / 3D MODE SELECT
========================= */
.game-launcher__inner {
  isolation: isolate;
}

.game-launcher__content,
.game-mode-select {
  position: relative;
  z-index: 2;
}

.game-mode-select {
  display: none;
  width: 100%;
  text-align: center;
}

.game-launcher.is-choosing-mode .game-launcher__content {
  display: none;
}

.game-launcher.is-choosing-mode .game-mode-select {
  display: block;
}

.game-mode-select__kicker {
  margin: 0 0 14px;
  color: var(--contrast-cyan);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 900;
  text-transform: uppercase;
}

.game-mode-select__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.game-mode-select__copy {
  max-width: 430px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.game-mode-select__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.game-mode-select__button {
  position: relative;
  min-height: 108px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  padding: 18px;
  text-align: left;
  overflow: hidden;
  border-radius: 0;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.game-mode-select__button::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(0, 255, 224, 0.14) 48%, rgba(128, 0, 255, 0.12) 58%, transparent 70%);
  transform: translateX(-70%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.game-mode-select__button:hover {
  border-color: var(--contrast-cyan);
  background: rgba(0, 255, 224, 0.06);
  transform: translateY(-2px);
}

.game-mode-select__button:hover::before {
  transform: translateX(35%);
}

.game-mode-select__button strong,
.game-mode-select__button span {
  position: relative;
  z-index: 1;
  display: block;
}

.game-mode-select__button strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.game-mode-select__button span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 900;
  text-transform: uppercase;
}

.game-mode-select__button.is-3d {
  border-color: rgba(128, 0, 255, 0.68);
}

.game-mode-select__button.is-3d:hover {
  border-color: var(--contrast-purple);
}

.game-mode-select__back {
  margin-top: 16px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 0 18px;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 0;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.game-mode-select__back:hover {
  color: var(--contrast-cyan);
  border-color: var(--contrast-cyan);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .game-mode-select__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .game-mode-select__button {
    min-height: 84px;
    padding: 15px;
  }

  .game-mode-select__button strong {
    font-size: 24px;
  }
}

/* =========================
   GAME-56 MODE SELECT CLICK FIX
   The launcher frame disables pointer events globally so the video never blocks clicks.
   Re-enable pointer events explicitly for the 2D / 3D selector state.
========================= */
.game-launcher.is-choosing-mode .game-launcher__inner {
  pointer-events: auto !important;
}

.game-launcher.is-choosing-mode .game-mode-select {
  position: relative !important;
  z-index: 6 !important;
  display: block !important;
  pointer-events: auto !important;
}

.game-launcher.is-choosing-mode .game-mode-select,
.game-launcher.is-choosing-mode .game-mode-select * {
  cursor: pointer !important;
}

.game-launcher.is-choosing-mode .game-mode-select__copy,
.game-launcher.is-choosing-mode .game-mode-select__title,
.game-launcher.is-choosing-mode .game-mode-select__kicker,
.game-launcher.is-choosing-mode .game-mode-select__button span,
.game-launcher.is-choosing-mode .game-mode-select__button strong {
  cursor: inherit !important;
}

.game-mode-select__button,
.game-mode-select__back {
  position: relative !important;
  z-index: 7 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.game-mode-select__button::before {
  pointer-events: none !important;
}


/* =========================
   GAME 57 — selector cursor + GLB preview cards
========================= */
.pipeline-game-fullscreen.is-ui-cursor,
.pipeline-game-fullscreen.is-ui-cursor *,
.pipeline-game-fullscreen.is-selecting,
.pipeline-game-fullscreen.is-selecting *,
.pipeline-game-fullscreen.is-briefing,
.pipeline-game-fullscreen.is-briefing *,
.pipeline-game-selector.is-visible,
.pipeline-game-selector.is-visible *,
.pipeline-game-overlay.is-visible,
.pipeline-game-overlay.is-visible *,
.pipeline-game-briefing.is-visible,
.pipeline-game-briefing.is-visible * {
  cursor: auto !important;
}

.pipeline-game-fullscreen.is-playing,
.pipeline-game-fullscreen.is-playing .pipeline-game-canvas {
  cursor: none !important;
}

.pipeline-game-fullscreen.is-ui-cursor .pipeline-game-ship,
.pipeline-game-fullscreen.is-ui-cursor .pipeline-game-start,
.pipeline-game-fullscreen.is-ui-cursor .pipeline-game-exit,
.pipeline-game-fullscreen.is-ui-cursor .pipeline-game-briefing__button,
.pipeline-game-fullscreen.is-ui-cursor .pipeline-game-overlay__button {
  cursor: pointer !important;
}

.pipeline-game-ship {
  overflow: hidden;
}

.pipeline-game-ship .ship-preview {
  width: clamp(78px, 6.7vw, 118px) !important;
  height: clamp(74px, 6.4vw, 112px) !important;
  margin: 0 auto 4px;
}

.ship-preview-viewer {
  width: 100%;
  height: 100%;
  background: transparent !important;
  pointer-events: none !important;
  --poster-color: transparent;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.42));
}

.pipeline-game-ship[data-ship="classic"] .ship-preview-viewer {
  filter: drop-shadow(0 0 18px rgba(0,88,255,0.26));
}

.pipeline-game-ship[data-ship="crystal"] .ship-preview-viewer {
  filter: drop-shadow(0 0 18px rgba(0,255,224,0.28));
}

.pipeline-game-ship[data-ship="dark"] .ship-preview-viewer {
  filter: drop-shadow(0 0 20px rgba(128,0,255,0.32));
}

@media (max-width: 1024px) {
  .pipeline-game-ship .ship-preview {
    width: clamp(44px, 12vw, 76px) !important;
    height: clamp(42px, 11vw, 72px) !important;
  }
}

/* =========================
   GAME 57 — 3D loading screen
========================= */
.cg3d-loader {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow: hidden;
}

.cg3d-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cg3d-loader__vector {
  position: absolute;
  inset: -14%;
  opacity: 0.62;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12) 0 1px, transparent 1px 28px),
    repeating-conic-gradient(from 0deg, rgba(255,255,255,0.12) 0deg 1deg, transparent 1deg 20deg);
  animation: cg3dLoaderSpin 22s linear infinite;
  mask-image: radial-gradient(circle at center, black 0 62%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, black 0 62%, transparent 78%);
}

.cg3d-loader__box {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100% - 54px));
  border: 2px solid rgba(255,255,255,0.82);
  background: rgba(0,0,0,0.78);
  padding: 30px;
  text-align: center;
}

.cg3d-loader__kicker {
  margin: 0 0 12px;
  color: var(--contrast-cyan, #00ffe0);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 900;
  text-transform: uppercase;
}

.cg3d-loader__title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-transform: uppercase;
}

.cg3d-loader__bar {
  width: 100%;
  height: 2px;
  margin-top: 24px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}

.cg3d-loader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: #fff;
  animation: cg3dLoaderBar 1.2s ease-in-out infinite;
}

@keyframes cg3dLoaderSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes cg3dLoaderBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}


/* =========================
   GAME 58 — selector split + cursor/fullscreen fixes
========================= */
.pipeline-game-fullscreen.is-selecting,
.pipeline-game-fullscreen.is-selecting *,
.pipeline-game-fullscreen.is-briefing,
.pipeline-game-fullscreen.is-briefing *,
.pipeline-game-selector.is-visible,
.pipeline-game-selector.is-visible *,
.pipeline-game-overlay.is-visible,
.pipeline-game-overlay.is-visible * {
  cursor: auto !important;
}

.pipeline-game-fullscreen.is-playing,
.pipeline-game-fullscreen.is-playing .pipeline-game-canvas {
  cursor: none !important;
}

.pipeline-game-selector .ship-preview-viewer {
  display: none !important;
}

.pipeline-game-selector .ship-preview img {
  display: block !important;
  width: 170% !important;
  height: 170% !important;
  max-width: none !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

.cg3d-ship-preview model-viewer {
  pointer-events: none !important;
}

.cg3d-root,
.cg3d-root * {
  cursor: auto !important;
}

.cg3d-root[data-playing="true"],
.cg3d-root[data-playing="true"] canvas {
  cursor: none !important;
}

/* =========================
   GAME 59 — 2D selector restore + 3D performance polish
========================= */
.pipeline-game-selector__ships {
  align-items: stretch !important;
}

.pipeline-game-ship {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 230px !important;
  padding: 18px 14px 16px !important;
  gap: 9px !important;
  overflow: hidden !important;
  text-align: center !important;
}

.pipeline-game-ship .ship-preview {
  flex: 0 0 auto !important;
  width: 112px !important;
  height: 116px !important;
  margin: 0 auto 4px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

.pipeline-game-selector .ship-preview img,
.pipeline-game-ship .ship-preview img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  pointer-events: none !important;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.42)) !important;
}

.pipeline-game-ship strong,
.pipeline-game-ship small {
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  display: block !important;
}

.pipeline-game-ship small {
  max-width: 170px !important;
  margin: 0 auto !important;
}

.cg3d-root .cg3d-leaderboard {
  width: min(520px, 100%);
  margin: 22px auto 0;
  border: 2px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.018);
  text-align: left;
}

.cg3d-root .cg3d-leaderboard__head,
.cg3d-root .cg3d-leaderboard__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.cg3d-root .cg3d-leaderboard__head {
  padding: 10px 12px;
  border-bottom: 2px solid rgba(255,255,255,.1);
  color: var(--contrast-cyan, #00ffe0);
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 900;
  text-transform: uppercase;
}

.cg3d-root .cg3d-leaderboard__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cg3d-root .cg3d-leaderboard__list li {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 800;
  text-transform: uppercase;
}

.cg3d-root .cg3d-leaderboard__list li:last-child {
  border-bottom: 0;
}

.cg3d-root .cg3d-leaderboard__list strong {
  color: #fff;
}

@media (max-width: 1024px) {
  .pipeline-game-ship {
    min-height: clamp(126px, 22vh, 158px) !important;
    padding: 9px 6px 8px !important;
    gap: 5px !important;
  }

  .pipeline-game-ship .ship-preview {
    width: clamp(50px, 13vw, 76px) !important;
    height: clamp(58px, 14vw, 84px) !important;
    margin-bottom: 2px !important;
  }

  .pipeline-game-ship strong {
    font-size: clamp(7px, 2.15vw, 10px) !important;
    letter-spacing: .1em !important;
  }

  .pipeline-game-ship small {
    max-width: 100% !important;
    font-size: clamp(6px, 1.65vw, 8px) !important;
    line-height: 1.18 !important;
  }

  .cg3d-root .cg3d-leaderboard {
    margin-top: 14px;
  }

  .cg3d-root .cg3d-leaderboard__head,
  .cg3d-root .cg3d-leaderboard__list li {
    padding: 8px 10px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .pipeline-game-ship {
    min-height: 112px !important;
    padding: 7px 4px !important;
  }

  .pipeline-game-ship .ship-preview {
    width: 48px !important;
    height: 56px !important;
  }
}

/* =========================
   GAME SETTINGS / PAUSE PATCH
========================= */
.pipeline-game-settings-fab,
.cg3d-settings-fab {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.68);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.pipeline-game-settings-fab:hover,
.cg3d-settings-fab:hover {
  background: #00FFE0;
  border-color: #00FFE0;
  color: #000000;
  transform: translateY(-2px);
}

.pipeline-game-menu,
.cg3d-menu {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,0.72);
}

.pipeline-game-menu.is-visible,
.cg3d-menu.is-visible {
  display: grid;
}

.pipeline-game-menu__inner,
.cg3d-menu__inner {
  width: min(640px, calc(100% - 42px));
  border: 2px solid rgba(255,255,255,0.72);
  background: #000000;
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
}

.pipeline-game-menu__actions,
.cg3d-menu__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.pipeline-game-overlay__button.is-secondary,
.cg3d-button--secondary {
  background: transparent !important;
  border-color: rgba(255,255,255,0.26) !important;
  color: #ffffff !important;
}

.pipeline-game-overlay__button.is-secondary:hover,
.cg3d-button--secondary:hover {
  background: #00FFE0 !important;
  border-color: #00FFE0 !important;
  color: #000000 !important;
}

.pipeline-game-settings-panel,
.cg3d-settings-panel {
  display: none;
  margin-top: 24px;
  border-top: 2px solid rgba(255,255,255,0.14);
  padding-top: 22px;
}

.pipeline-game-settings-panel.is-visible,
.cg3d-settings-panel.is-visible {
  display: grid;
  gap: 14px;
}

.pipeline-game-settings-panel label,
.cg3d-settings-panel label {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 2px solid rgba(255,255,255,0.14);
  padding: 0 14px;
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-game-settings-panel input[type="range"],
.cg3d-settings-panel input[type="range"] {
  width: min(180px, 42vw);
  accent-color: #00FFE0;
}

.pipeline-game-settings-panel input[type="checkbox"],
.cg3d-settings-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00FFE0;
}

.pipeline-game-fullscreen.is-ui-cursor,
.pipeline-game-fullscreen.is-ui-cursor *,
.cg3d-root.is-ui-cursor,
.cg3d-root.is-ui-cursor * {
  cursor: auto !important;
}

.pipeline-game-fullscreen.is-playing:not(.is-ui-cursor),
.pipeline-game-fullscreen.is-playing:not(.is-ui-cursor) .pipeline-game-canvas,
.cg3d-root[data-playing="true"]:not(.is-ui-cursor),
.cg3d-root[data-playing="true"]:not(.is-ui-cursor) canvas {
  cursor: none !important;
}

@media (max-width: 760px) {
  .pipeline-game-settings-fab,
  .cg3d-settings-fab {
    right: 14px;
    bottom: 92px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .pipeline-game-menu,
  .cg3d-menu {
    padding: 14px;
  }

  .pipeline-game-menu__inner,
  .cg3d-menu__inner {
    width: calc(100% - 12px);
    padding: 22px 16px;
  }

  .pipeline-game-menu__actions,
  .cg3d-menu__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* =========================
   GAME 66 — FULLSCREEN OVERLAY + SETTINGS
========================= */
html.contrast-game-open,
html.contrast-game-open body {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
}

.pipeline-game-fullscreen.is-windowed-game,
.cg3d-root.is-windowed-game {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  z-index: 999999 !important;
  background: #000000 !important;
}

.pipeline-game-settings-panel .pipeline-game-menu__actions,
.cg3d-settings-panel .cg3d-menu__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.pipeline-game-settings-panel .pipeline-game-overlay__button,
.cg3d-settings-panel .cg3d-button {
  margin-top: 0;
}

@media (max-width: 760px) {
  .pipeline-game-settings-panel .pipeline-game-menu__actions,
  .cg3d-settings-panel .cg3d-menu__actions {
    grid-template-columns: 1fr;
  }
}

/* =========================
   GAME 67 — STABLE CSS FULLSCREEN + ESC GUARD
========================= */
html.contrast-game-open,
html.contrast-game-open body {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html.contrast-game-open .pipeline-app {
  pointer-events: none !important;
}

.pipeline-game-fullscreen.is-windowed-game,
.cg3d-root.is-windowed-game {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  z-index: 2147483000 !important;
  background: #000000 !important;
  pointer-events: auto !important;
}

.pipeline-game-fullscreen.is-windowed-game {
  display: block !important;
}

.cg3d-root.is-windowed-game {
  display: block !important;
}


/* =========================
   GAME 68 — FULLSCREEN OVERLAY + SETTINGS BUTTON FIX
========================= */
html.contrast-game-open,
html.contrast-game-open body {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  background: #000000 !important;
}

.pipeline-game-fullscreen.is-windowed-game,
.pipeline-game-fullscreen.is-overlay-fullscreen,
.cg3d-root.is-windowed-game,
.cg3d-root.is-overlay-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 2147483647 !important;
  background: #000000 !important;
  pointer-events: auto !important;
  display: block !important;
  isolation: isolate !important;
}

.pipeline-game-fullscreen.is-windowed-game .pipeline-game-canvas,
.pipeline-game-fullscreen.is-overlay-fullscreen .pipeline-game-canvas,
.cg3d-root.is-windowed-game canvas,
.cg3d-root.is-overlay-fullscreen canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
}

.pipeline-game-overlay.is-visible,
.pipeline-game-selector.is-visible,
.pipeline-game-briefing.is-visible,
.cg3d-menu.is-visible,
.cg3d-panel {
  pointer-events: auto !important;
}

.pipeline-game-settings-panel .pipeline-game-menu__actions button,
.cg3d-settings-panel .cg3d-menu__actions button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

@media (max-width: 760px) {
  .pipeline-game-fullscreen.is-windowed-game,
  .pipeline-game-fullscreen.is-overlay-fullscreen,
  .cg3d-root.is-windowed-game,
  .cg3d-root.is-overlay-fullscreen {
    width: 100vw !important;
    height: 100svh !important;
    min-height: 100svh !important;
  }
}

/* =========================
   GAME 69 — NATIVE FULLSCREEN SUPPORT
========================= */
.pipeline-game-fullscreen:fullscreen,
.pipeline-game-fullscreen:-webkit-full-screen,
.cg3d-root:fullscreen,
.cg3d-root:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  position: fixed !important;
  inset: 0 !important;
  background: #000000 !important;
  overflow: hidden !important;
}

.pipeline-game-fullscreen:fullscreen .pipeline-game-canvas,
.pipeline-game-fullscreen:-webkit-full-screen .pipeline-game-canvas,
.cg3d-root:fullscreen canvas,
.cg3d-root:-webkit-full-screen canvas {
  width: 100% !important;
  height: 100% !important;
}

.cg3d-pill.is-active,
.pipeline-game-pill.is-active {
  border-color: var(--contrast-cyan) !important;
  color: var(--contrast-cyan) !important;
  box-shadow: 0 0 24px rgba(0, 255, 224, 0.18) !important;
}

/* =========================
   GAME 70 — 3D mobile selector compact and stable
========================= */
@media (max-width: 760px) {
  .cg3d-panel {
    padding: 7px !important;
    align-items: start !important;
    overflow: hidden !important;
  }

  .cg3d-panel__inner {
    width: calc(100vw - 14px) !important;
    max-height: calc(100dvh - 14px) !important;
    padding: 12px 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .cg3d-panel__copy {
    display: none !important;
  }

  .cg3d-name {
    width: min(420px, 100%) !important;
    height: 40px !important;
    margin-top: 14px !important;
    font-size: 16px !important;
  }

  .cg3d-ships {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }

  .cg3d-ship {
    min-width: 0 !important;
    min-height: clamp(120px, 25vh, 154px) !important;
    padding: 7px 5px 8px !important;
    grid-template-rows: clamp(58px, 14vh, 78px) auto auto !important;
    gap: 5px !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: end !important;
  }

  .cg3d-ship-preview {
    height: clamp(58px, 14vh, 78px) !important;
    width: 100% !important;
  }

  .cg3d-ship-preview model-viewer {
    transform: scale(1.18) !important;
    transform-origin: center !important;
  }

  .cg3d-ship strong {
    font-size: clamp(8px, 2.45vw, 10px) !important;
    letter-spacing: .12em !important;
    text-align: center !important;
  }

  .cg3d-ship small {
    font-size: clamp(7px, 1.95vw, 9px) !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .cg3d-ship-meta {
    justify-content: center !important;
    gap: 4px !important;
  }

  .cg3d-ship-meta span {
    height: 18px !important;
    padding: 0 5px !important;
    font-size: 7px !important;
    letter-spacing: .08em !important;
  }

  .cg3d-panel__actions {
    margin-top: 12px !important;
  }

  .cg3d-button {
    min-width: 150px !important;
    height: 44px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .cg3d-panel__title {
    font-size: clamp(24px, 7vw, 36px) !important;
  }

  .cg3d-ships {
    margin-top: 10px !important;
  }

  .cg3d-ship {
    min-height: 106px !important;
    grid-template-rows: 52px auto auto !important;
  }

  .cg3d-ship-preview {
    height: 52px !important;
  }

  .cg3d-ship small {
    display: none !important;
  }

  .cg3d-leaderboard--bottom {
    display: none !important;
  }
}

/* =========================
   GAME 75 — 3D selector uses stable 2D selector behaviour
========================= */
.cg3d-panel.is-hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cg3d-ship-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  pointer-events: none !important;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.48));
}

.cg3d-ship-preview model-viewer {
  pointer-events: none !important;
}

.cg3d-panel,
.cg3d-panel * {
  pointer-events: auto;
}

.cg3d-name {
  -webkit-user-select: text !important;
  user-select: text !important;
  touch-action: manipulation !important;
  pointer-events: auto !important;
}

@media (max-width: 760px) {
  .cg3d-panel {
    position: absolute !important;
    inset: 0 !important;
    z-index: 40 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(0,0,0,.78) !important;
    touch-action: auto !important;
  }

  .cg3d-panel.is-hidden {
    display: none !important;
  }

  .cg3d-panel__inner {
    width: min(760px, calc(100% - 18px)) !important;
    max-height: calc(100dvh - 18px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    border: 3px solid rgba(255,255,255,.92) !important;
    background: #000 !important;
    padding: clamp(14px, 3vw, 22px) !important;
    text-align: center !important;
  }

  .cg3d-panel__kicker {
    margin: 0 0 12px !important;
    color: var(--contrast-cyan) !important;
    font-size: 11px !important;
    letter-spacing: .22em !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }

  .cg3d-panel__title {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(36px, 9vw, 58px) !important;
    line-height: .92 !important;
    letter-spacing: -.055em !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }

  .cg3d-panel__copy {
    display: none !important;
  }

  .cg3d-name {
    display: block !important;
    width: 100% !important;
    height: 56px !important;
    margin: 20px auto 0 !important;
    border: 3px solid rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.02) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 16px !important;
    letter-spacing: .14em !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    position: relative !important;
    z-index: 60 !important;
  }

  .cg3d-name:focus {
    border-color: var(--contrast-cyan) !important;
    box-shadow: 0 0 22px rgba(0,255,224,.16) !important;
    outline: none !important;
  }

  .cg3d-ships {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(6px, 1.5vw, 10px) !important;
    margin-top: 18px !important;
    width: 100% !important;
  }

  .cg3d-ship {
    min-width: 0 !important;
    min-height: clamp(124px, 21vh, 168px) !important;
    padding: clamp(8px, 1.8vw, 12px) 6px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: clamp(58px, 12vh, 86px) auto auto auto !important;
    gap: 6px !important;
    align-items: end !important;
    justify-items: center !important;
    text-align: center !important;
    border: 2px solid rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.025) !important;
    color: #fff !important;
    position: relative !important;
    z-index: 45 !important;
    touch-action: manipulation !important;
  }

  .cg3d-ship.is-selected {
    border-color: var(--contrast-cyan) !important;
    background: rgba(0,255,224,.045) !important;
  }

  .cg3d-ship-preview {
    width: 100% !important;
    height: clamp(58px, 12vh, 86px) !important;
    grid-row: auto !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  .cg3d-ship-preview img {
    width: 105% !important;
    height: 105% !important;
    object-fit: contain !important;
  }

  .cg3d-ship strong {
    font-size: clamp(8px, 2.2vw, 11px) !important;
    letter-spacing: .14em !important;
    text-align: center !important;
  }

  .cg3d-ship small {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(7px, 1.8vw, 9px) !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .cg3d-ship-meta {
    justify-content: center !important;
    gap: 4px !important;
  }

  .cg3d-ship-meta span {
    height: 18px !important;
    padding: 0 5px !important;
    font-size: 7px !important;
    letter-spacing: .08em !important;
  }

  .cg3d-panel__actions {
    position: static !important;
    padding: 0 !important;
    margin-top: 16px !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
  }

  .cg3d-button[data-cg3d-start] {
    width: min(220px, 62vw) !important;
    height: 58px !important;
    min-width: 0 !important;
    background: var(--contrast-purple) !important;
    border-color: var(--contrast-purple) !important;
    color: #fff !important;
    font-size: 13px !important;
    letter-spacing: .16em !important;
    position: relative !important;
    z-index: 65 !important;
    touch-action: manipulation !important;
  }

  .cg3d-leaderboard--bottom {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
  }

  .cg3d-leaderboard__head,
  .cg3d-leaderboard__list li {
    padding: 9px 12px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 420px) {
  .cg3d-panel__inner {
    width: calc(100% - 12px) !important;
    padding: 12px 8px !important;
  }

  .cg3d-panel__title {
    font-size: clamp(30px, 8vw, 44px) !important;
  }

  .cg3d-name {
    height: 50px !important;
    margin-top: 14px !important;
  }

  .cg3d-ships {
    gap: 5px !important;
    margin-top: 14px !important;
  }

  .cg3d-ship {
    min-height: 112px !important;
    grid-template-rows: 54px auto auto !important;
    padding: 7px 4px !important;
  }

  .cg3d-ship-preview {
    height: 54px !important;
  }

  .cg3d-ship small {
    display: none !important;
  }

  .cg3d-ship-meta span {
    font-size: 6px !important;
    padding: 0 4px !important;
  }

  .cg3d-button[data-cg3d-start] {
    height: 52px !important;
  }
}

/* GAME 76 — 3D desktop-only mode + close buttons */
.game-mode-select__button.is-disabled,
.game-mode-select__button[aria-disabled="true"] {
  opacity: 0.42 !important;
  filter: grayscale(1) !important;
  pointer-events: auto !important;
}

.game-close-x,
.cg3d-close-x {
  position: absolute !important;
  top: max(18px, env(safe-area-inset-top)) !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  z-index: 9999999 !important;
  width: 48px !important;
  height: 48px !important;
  border: 2px solid rgba(255,255,255,0.82) !important;
  background: rgba(0,0,0,0.72) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: none !important;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease !important;
}

.game-close-x:hover,
.cg3d-close-x:hover {
  border-color: #00FFE0 !important;
  color: #00FFE0 !important;
  transform: translateY(-2px) !important;
}

.cg3d-ship-preview model-viewer {
  width: 100% !important;
  height: 100% !important;
  min-height: 128px !important;
  background: transparent !important;
  pointer-events: none !important;
}

@media (max-width: 1024px), (pointer: coarse) {
  .game-close-x,
  .cg3d-close-x {
    cursor: auto !important;
  }

  .game-mode-select__button.is-3d {
    position: relative !important;
  }

  .game-mode-select__button.is-3d::after {
    content: "DESKTOP ONLY";
    position: absolute;
    right: 12px;
    top: 10px;
    color: #00FFE0;
    font-size: 9px;
    letter-spacing: 0.14em;
    font-weight: 900;
  }
}

/* GAME 77 — HUD layout cleanup for mobile/desktop */
.pipeline-game-hud,
.cg3d-hud {
  right: 148px !important;
}

.pipeline-game-status,
.cg3d-status {
  padding-right: 0 !important;
}

.pipeline-game-settings-fab,
.cg3d-settings-fab {
  top: max(18px, env(safe-area-inset-top)) !important;
  right: calc(max(18px, env(safe-area-inset-right)) + 60px) !important;
  bottom: auto !important;
  z-index: 9999998 !important;
}

.game-close-x,
.cg3d-close-x {
  top: max(18px, env(safe-area-inset-top)) !important;
  right: max(18px, env(safe-area-inset-right)) !important;
}

@media (max-width: 1024px), (pointer: coarse) {
  .pipeline-game-hud,
  .cg3d-hud {
    left: 12px !important;
    right: 12px !important;
    top: 14px !important;
    display: block !important;
    pointer-events: none !important;
  }

  .pipeline-game-title-block,
  .cg3d-brand {
    position: relative !important;
    z-index: 22 !important;
    max-width: 44vw !important;
    pointer-events: none !important;
  }

  .pipeline-game-title,
  .cg3d-brand strong {
    font-size: clamp(28px, 10vw, 48px) !important;
    line-height: 0.86 !important;
  }

  .pipeline-game-kicker,
  .cg3d-brand span {
    font-size: 9px !important;
    letter-spacing: 0.18em !important;
  }

  .pipeline-game-status,
  .cg3d-status {
    position: fixed !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    right: auto !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    z-index: 55 !important;
    width: min(220px, calc(100vw - 190px)) !important;
    max-width: 220px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    align-items: stretch !important;
    justify-content: start !important;
    pointer-events: auto !important;
  }

  .pipeline-game-pill,
  .cg3d-pill,
  .pipeline-game-exit,
  .cg3d-exit {
    width: 100% !important;
    min-width: 0 !important;
    height: 28px !important;
    padding: 0 6px !important;
    border-width: 1px !important;
    font-size: clamp(6px, 1.85vw, 8px) !important;
    letter-spacing: 0.055em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .pipeline-game-exit,
  .cg3d-exit {
    display: none !important;
  }

  .pipeline-game-settings-fab,
  .cg3d-settings-fab {
    top: max(16px, env(safe-area-inset-top)) !important;
    right: calc(max(14px, env(safe-area-inset-right)) + 56px) !important;
    bottom: auto !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 18px !important;
    z-index: 9999998 !important;
  }

  .game-close-x,
  .cg3d-close-x {
    top: max(16px, env(safe-area-inset-top)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 28px !important;
  }

  .pipeline-game-special,
  .cg3d-mobile-special {
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    min-width: min(170px, 42vw) !important;
    height: 52px !important;
    z-index: 56 !important;
  }
}

@media (max-width: 480px) {
  .pipeline-game-status,
  .cg3d-status {
    width: min(190px, calc(100vw - 172px)) !important;
    gap: 4px !important;
  }

  .pipeline-game-pill,
  .cg3d-pill {
    height: 25px !important;
    padding: 0 4px !important;
    font-size: 6px !important;
  }

  .pipeline-game-title-block,
  .cg3d-brand {
    max-width: 42vw !important;
  }

  .pipeline-game-special,
  .cg3d-mobile-special {
    min-width: min(154px, 40vw) !important;
    height: 48px !important;
    font-size: 9px !important;
  }
}


/* =========================
   GAME 79 — CONTRAST TYPOGRAPHY SYSTEM
   Only typography overrides. No gameplay / 3D / panorama logic touched.
========================= */

.pipeline-app,
.pipeline-app button,
.pipeline-app input,
.pipeline-app textarea,
.game-fullscreen,
.pipeline-game-fullscreen,
.cg3d-root,
.cg3d-root button,
.cg3d-root input,
.cg3d-root textarea {
  font-family: var(--font-main) !important;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: geometricPrecision;
}

.pipeline-title,
.game-launcher__title,
.game-mode-select__title,
.game-mode-select__button strong,
.pipeline-game-title,
.pipeline-game-selector__title,
.pipeline-game-overlay__title,
.pipeline-game-briefing__title,
.game-hud h2,
.lightbox-title,
.cg3d-brand h2,
.cg3d-loader__title,
.cg3d-panel__title,
.cg3d-menu__inner h3,
.cg3d-settings-panel h3 {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.042em !important;
  line-height: 0.86 !important;
}

.pipeline-title {
  font-size: clamp(62px, 6.4vw, 116px) !important;
  max-width: 820px !important;
}

.game-launcher__title,
.game-mode-select__title,
.pipeline-game-selector__title,
.pipeline-game-overlay__title,
.pipeline-game-briefing__title,
.cg3d-loader__title,
.cg3d-panel__title {
  font-size: clamp(46px, 5.9vw, 94px) !important;
}

.pipeline-game-title,
.game-hud h2,
.cg3d-brand h2 {
  font-size: clamp(50px, 5vw, 86px) !important;
}

.pipeline-body,
.game-launcher__copy,
.game-mode-select__copy,
.pipeline-game-overlay__copy,
.pipeline-game-briefing__text,
.cg3d-panel__copy,
.cg3d-ship small,
.pipeline-game-ship small {
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.48 !important;
}

.pipeline-kicker,
.game-launcher__kicker,
.game-mode-select__kicker,
.game-kicker,
.pipeline-game-kicker,
.pipeline-game-selector__kicker,
.pipeline-game-overlay__kicker,
.pipeline-game-briefing__kicker,
.cg3d-loader__kicker,
.cg3d-panel__kicker,
.visual-label,
.system-hint,
.panorama-label,
.panorama-hint,
.lightbox-kicker {
  font-family: var(--font-main) !important;
  font-weight: 900 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.pipeline-nav-button,
.pipeline-close,
.progress-step,
.pipeline-meta span,
.intro-meta-top span,
.intro-card span,
.output-tile span,
.game-mode-select__button span,
.game-mode-select__back,
.game-launcher__button,
.system-button,
.pipeline-game-pill,
.pipeline-game-exit,
.pipeline-game-special,
.pipeline-game-start,
.pipeline-game-overlay__button,
.pipeline-game-briefing__button,
.pipeline-game-name-label,
.pipeline-game-name-input,
.pipeline-game-ship strong,
.pipeline-leaderboard__head,
.pipeline-leaderboard__list li,
.cg3d-pill,
.cg3d-exit,
.cg3d-close-x,
.cg3d-button,
.cg3d-name,
.cg3d-ship strong,
.cg3d-ship-meta span,
.cg3d-leaderboard__head,
.cg3d-leaderboard__list li,
.cg3d-settings-fab {
  font-family: var(--font-main) !important;
  font-weight: 900 !important;
  letter-spacing: 0.135em !important;
  text-transform: uppercase !important;
}

.pipeline-counter,
.game-status span,
.game-status button,
.cg3d-status,
.cg3d-pill,
.pipeline-game-pill {
  font-family: var(--font-main) !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 1024px) {
  .pipeline-title {
    font-size: clamp(54px, 15vw, 88px) !important;
    letter-spacing: -0.038em !important;
  }

  .game-launcher__title,
  .game-mode-select__title,
  .pipeline-game-selector__title,
  .pipeline-game-overlay__title,
  .pipeline-game-briefing__title,
  .cg3d-panel__title {
    font-size: clamp(44px, 13.5vw, 78px) !important;
    letter-spacing: -0.038em !important;
  }

  .pipeline-game-title,
  .game-hud h2,
  .cg3d-brand h2 {
    font-size: clamp(34px, 9vw, 62px) !important;
  }
}

@media (max-width: 560px) {
  .pipeline-title {
    font-size: clamp(48px, 16vw, 76px) !important;
  }

  .game-launcher__title,
  .game-mode-select__title,
  .pipeline-game-selector__title,
  .pipeline-game-overlay__title,
  .pipeline-game-briefing__title,
  .cg3d-panel__title {
    font-size: clamp(38px, 12.8vw, 64px) !important;
  }

  .pipeline-kicker,
  .game-launcher__kicker,
  .game-mode-select__kicker,
  .pipeline-game-selector__kicker,
  .cg3d-panel__kicker {
    letter-spacing: 0.18em !important;
  }
}

/* =========================
   GAME 80 — KICKER LINE SYSTEM
   Adds the Contrast editorial line before small section labels.
   Visual-only change. No systems touched.
========================= */
.pipeline-kicker,
.game-launcher__kicker,
.game-mode-select__kicker,
.game-kicker,
.pipeline-game-kicker,
.pipeline-game-selector__kicker,
.pipeline-game-overlay__kicker,
.pipeline-game-briefing__kicker,
.cg3d-loader__kicker,
.cg3d-panel__kicker,
.lightbox-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
}

.pipeline-kicker::before,
.game-launcher__kicker::before,
.game-mode-select__kicker::before,
.game-kicker::before,
.pipeline-game-kicker::before,
.pipeline-game-selector__kicker::before,
.pipeline-game-overlay__kicker::before,
.pipeline-game-briefing__kicker::before,
.cg3d-loader__kicker::before,
.cg3d-panel__kicker::before,
.lightbox-kicker::before {
  content: "";
  display: inline-block;
  flex: 0 0 42px;
  width: 42px;
  height: 2px;
  background: #ffffff;
  opacity: 0.92;
}

.pipeline-game-title-block,
.game-title-block,
.cg3d-brand {
  align-items: flex-start !important;
}

.pipeline-game-selector__kicker,
.pipeline-game-overlay__kicker,
.pipeline-game-briefing__kicker,
.cg3d-panel__kicker,
.cg3d-loader__kicker,
.game-launcher__kicker,
.game-mode-select__kicker {
  justify-content: center !important;
}

@media (max-width: 560px) {
  .pipeline-kicker,
  .game-launcher__kicker,
  .game-mode-select__kicker,
  .game-kicker,
  .pipeline-game-kicker,
  .pipeline-game-selector__kicker,
  .pipeline-game-overlay__kicker,
  .pipeline-game-briefing__kicker,
  .cg3d-loader__kicker,
  .cg3d-panel__kicker,
  .lightbox-kicker {
    gap: 10px !important;
  }

  .pipeline-kicker::before,
  .game-launcher__kicker::before,
  .game-mode-select__kicker::before,
  .game-kicker::before,
  .pipeline-game-kicker::before,
  .pipeline-game-selector__kicker::before,
  .pipeline-game-overlay__kicker::before,
  .pipeline-game-briefing__kicker::before,
  .cg3d-loader__kicker::before,
  .cg3d-panel__kicker::before,
  .lightbox-kicker::before {
    flex-basis: 32px;
    width: 32px;
  }
}

/* =========================
   GAME 81 — INTRO GRID CLEANUP
   Removes internal dots/meta chips and the CONTRAST hover overlay.
   Keeps the lightbox click system intact.
========================= */

/* Remove the small internal progress bars from section 01. */
.intro-progress,
.intro-dot {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Remove small meta chips inside the right visual frame. Left column meta remains. */
.intro-meta-top {
  display: none !important;
}

/* Remove every CONTRAST hover strip from interactive cards/tiles/meta. */
.intro-card::after,
.intro-card:hover::after,
.output-tile::after,
.output-tile:hover::after,
.pipeline-meta span::after,
.pipeline-meta span:hover::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  transform: none !important;
}

/* Stable section 01 frame. */
.intro-frame.is-grid-step .intro-visual {
  display: block !important;
  place-items: initial !important;
}

.intro-frame.is-grid-step .intro-grid-wrap {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(34px, 4.2vw, 58px) !important;
}

.intro-frame.is-grid-step .intro-media-grid {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
  display: grid !important;
  gap: clamp(14px, 1.4vw, 22px) !important;
}

/* Subsection 02: two large images filling the whole frame. */
.intro-frame.is-grid-step .intro-media-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
}

/* Subsection 03: six images, clean 3x2 layout filling the whole frame. */
.intro-frame.is-grid-step .intro-media-grid.is-six {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.intro-frame.is-grid-step .intro-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: 2px solid rgba(255,255,255,.62) !important;
  background: rgba(0,0,0,.18) !important;
}

.intro-frame.is-grid-step .intro-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: saturate(.96) brightness(.78) !important;
}

.intro-frame.is-grid-step .intro-card:hover img {
  transform: scale(1.045) !important;
  filter: saturate(.55) brightness(.86) !important;
}

.intro-frame.is-grid-step .intro-card span {
  left: clamp(14px, 1.4vw, 22px) !important;
  bottom: clamp(12px, 1.2vw, 20px) !important;
  font-size: clamp(12px, .9vw, 15px) !important;
  line-height: 1 !important;
}

@media (max-width: 1024px) {
  .intro-frame.is-grid-step .intro-grid-wrap {
    padding: 24px !important;
    padding-bottom: 86px !important;
  }

  .intro-frame.is-grid-step .intro-media-grid.is-two {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  .intro-frame.is-grid-step .intro-media-grid.is-six {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .intro-frame.is-grid-step .intro-grid-wrap {
    padding: 18px !important;
    padding-bottom: 84px !important;
  }

  .intro-frame.is-grid-step .intro-media-grid {
    gap: 10px !important;
  }

  .intro-frame.is-grid-step .intro-card span {
    font-size: 10px !important;
    left: 12px !important;
    bottom: 10px !important;
  }
}

/* =========================
   GAME 83 — SECTION 01 BREADCRUMBS
   White slider-style breadcrumbs placed below the main visual frame.
========================= */
.intro-breadcrumbs {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 18px) !important;
  z-index: 14 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  pointer-events: auto !important;
}

.intro-crumb {
  appearance: none !important;
  width: 46px !important;
  height: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: rgba(255,255,255,.34) !important;
  cursor: none !important;
  transition: width .28s var(--ease-soft), background .28s ease, opacity .28s ease, transform .28s ease !important;
}

.intro-crumb.is-active {
  width: 76px !important;
  background: #ffffff !important;
  opacity: 1 !important;
}

.intro-crumb:hover {
  background: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Keep the old internal progress fully disabled. */
.intro-progress,
.intro-dot {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  .intro-breadcrumbs {
    top: calc(100% + 14px) !important;
    gap: 10px !important;
  }

  .intro-crumb {
    width: 34px !important;
    height: 4px !important;
    cursor: auto !important;
  }

  .intro-crumb.is-active {
    width: 56px !important;
  }
}

@media (max-width: 560px) {
  .intro-breadcrumbs {
    top: calc(100% + 12px) !important;
  }

  .intro-crumb {
    width: 28px !important;
  }

  .intro-crumb.is-active {
    width: 44px !important;
  }
}

/* =========================
   GAME 85 — BABYLON PRODUCT STUDIO CLEANUP
   External controls, white viewport, modular 3D objects, photo editor.
========================= */
.pipeline-visual {
  overflow: visible !important;
}

.babylon-studio-shell {
  position: relative;
  width: 100%;
  height: var(--visual-height);
  min-height: var(--visual-min-h);
  overflow: visible;
}

.babylon-studio-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: var(--visual-min-h);
  border: 3px solid var(--border-strong);
  background: #ffffff;
  overflow: hidden;
}

.babylon-studio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  background: #ffffff !important;
  touch-action: none;
}

.babylon-shot-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  background: #ffffff;
  overflow: hidden;
}

.is-shot-mode .babylon-shot-layer {
  display: block;
}

.babylon-shot-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.babylon-shot-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.bst-shot-item {
  position: absolute;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.bst-shot-item:active {
  cursor: grabbing;
}

.bst-shot-emoji {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
}

.bst-shot-text {
  padding: 9px 13px;
  border: 2px solid #000000;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-main);
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.babylon-studio-loader {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  gap: 14px;
  background: rgba(255,255,255,.92);
  color: #000000;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .35s ease, visibility .35s ease;
  pointer-events: none;
}

.babylon-studio-loader span {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0,0,0,.18);
  border-top-color: #000000;
  animation: bstLoaderSpin 1s linear infinite;
}

.babylon-studio-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bstLoaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.babylon-studio-panel {
  position: absolute;
  left: calc(100% + 22px);
  top: 0;
  width: clamp(190px, 15vw, 238px);
  max-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.45) transparent;
}

.babylon-studio-panel::-webkit-scrollbar { width: 4px; }
.babylon-studio-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.42); }

.bst-group {
  border: 2px solid rgba(255,255,255,.34);
  background: rgba(0,0,0,.72);
  padding: 12px;
  color: #ffffff;
}

.bst-group.is-shot-only {
  display: none;
}

.is-shot-mode .bst-group[data-live-group] {
  display: none;
}

.is-shot-mode .bst-group.is-shot-only {
  display: block;
}

.bst-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: rgba(255,255,255,.9);
  font-family: var(--font-main);
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 900;
  text-transform: uppercase;
}

.bst-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #ffffff;
  flex-shrink: 0;
}

.bst-color-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
}

.bst-color {
  width: 44px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.44);
  padding: 0;
  background: #000000;
}

.bst-grid-buttons,
.bst-emoji-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bst-emoji-grid .bst-button {
  font-size: 18px;
  letter-spacing: 0;
}

.bst-button,
.bst-text-input {
  width: 100%;
  min-height: 39px;
  border: 2px solid rgba(255,255,255,.32);
  background: rgba(0,0,0,.62);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 0 10px;
  transition: border-color .22s ease, background .22s ease, color .22s ease, transform .22s ease;
}

.bst-button + .bst-button,
.bst-text-input + .bst-button {
  margin-top: 8px;
}

.bst-button:hover,
.bst-button.is-active {
  border-color: var(--contrast-cyan);
  background: var(--contrast-cyan);
  color: #000000;
  transform: translateY(-1px);
}

.bst-button.is-primary {
  border-color: var(--contrast-purple);
  background: var(--contrast-purple);
  color: #ffffff;
}

.bst-button.is-primary:hover {
  border-color: var(--contrast-cyan);
  background: var(--contrast-cyan);
  color: #000000;
}

.bst-text-input {
  text-align: left;
  color: #ffffff;
}

.bst-text-input::placeholder {
  color: rgba(255,255,255,.48);
}

@media (max-width: 1480px) {
  .babylon-studio-panel {
    left: auto;
    right: 0;
    top: calc(100% + 14px);
    width: 100%;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .babylon-studio-shell {
    margin-bottom: 190px;
  }
}

@media (max-width: 1024px) {
  .babylon-studio-shell {
    height: auto;
    min-height: 0;
    margin-bottom: 0;
  }

  .babylon-studio-frame {
    height: 58vw;
    min-height: 360px;
    max-height: 520px;
  }

  .babylon-studio-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .babylon-studio-frame {
    min-height: 390px;
    height: 62vh;
  }

  .babylon-studio-panel {
    grid-template-columns: 1fr;
  }
}

/* =========================
   GAME 86 — BABYLON STUDIO UX REBUILD
   Launch state, centered workspace, external UI, native cursor.
========================= */
body.babylon-native-cursor #cursor-follow,
body.babylon-native-cursor .cursor-dot,
body.babylon-native-cursor .cursor-logo {
  display: none !important;
  opacity: 0 !important;
}

body.babylon-native-cursor .babylon-studio-shell,
body.babylon-native-cursor .babylon-studio-shell *,
body.babylon-native-cursor .babylon-studio-canvas {
  cursor: auto !important;
}

.babylon-studio-shell {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: var(--visual-min-h) !important;
  overflow: visible !important;
}

.bst-launch-screen {
  position: relative;
  width: 100%;
  min-height: var(--visual-min-h);
  border: 3px solid var(--border-strong);
  background: #000000;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 70px);
}

.bst-launch-screen::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(255,255,255,.12);
  pointer-events: none;
}

.bst-launch-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .32;
  pointer-events: none;
}

.bst-launch-copy,
.bst-launch-action {
  position: relative;
  z-index: 2;
}

.bst-launch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--contrast-cyan);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bst-launch-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #ffffff;
  flex-shrink: 0;
}

.bst-launch-copy h3 {
  margin: 0;
  max-width: 720px;
  color: #ffffff;
  font-family: var(--font-title);
  font-size: clamp(60px, 6.8vw, 112px);
  line-height: .84;
  letter-spacing: -.045em;
  font-weight: 800;
  text-transform: uppercase;
}

.bst-launch-copy p:not(.bst-launch-kicker) {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-family: var(--font-main);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
}

.bst-launch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.bst-launch-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 2px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.8);
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bst-launch-action {
  width: min(300px, 26vw);
  min-width: 250px;
}

.bst-start-button {
  width: 100%;
  min-height: 74px;
  border: 3px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .24s ease, color .24s ease, transform .24s ease, border-color .24s ease;
}

.bst-start-button:hover {
  background: var(--contrast-cyan);
  border-color: var(--contrast-cyan);
  color: #000000;
  transform: translateY(-3px);
}

.bst-launch-action p {
  margin: 16px 0 0;
  color: rgba(255,255,255,.5);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.bst-workspace {
  display: none;
}

.bst-is-active .bst-launch-screen {
  display: none;
}

.bst-is-active .bst-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 18vw, 320px);
  gap: clamp(18px, 2vw, 30px);
  align-items: stretch;
  width: min(1380px, calc(100vw - 120px));
  margin: 0 auto;
}

body.babylon-studio-active .pipeline-stage {
  width: min(1480px, calc(100vw - 92px));
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: center;
}

body.babylon-studio-active .pipeline-copy {
  display: none !important;
}

body.babylon-studio-active .pipeline-visual {
  width: 100% !important;
  min-height: 0 !important;
  transform: none !important;
}

.babylon-studio-frame {
  position: relative !important;
  width: 100% !important;
  height: min(62vh, 650px) !important;
  min-height: 480px !important;
  border: 3px solid var(--border-strong) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.babylon-studio-frame::before {
  content: none !important;
}

.babylon-studio-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: #ffffff !important;
  cursor: auto !important;
  touch-action: none !important;
}

.babylon-studio-panel {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  height: min(62vh, 650px) !important;
  max-height: none !important;
  overflow: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-right: 2px;
  z-index: 20 !important;
}

.bst-panel-head {
  border: 2px solid rgba(255,255,255,.42);
  padding: 14px;
  background: rgba(0,0,0,.78);
}

.bst-panel-head p {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bst-panel-head span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.52);
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bst-group {
  border: 2px solid rgba(255,255,255,.34) !important;
  background: rgba(0,0,0,.72) !important;
  padding: 13px !important;
  color: #ffffff !important;
}

.bst-select {
  width: 100%;
  min-height: 42px;
  border: 2px solid rgba(255,255,255,.32);
  background: #000000;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 10px;
}

.bst-object-color-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.bst-object-color {
  width: 44px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.44);
  padding: 0;
  background: #000000;
}

.bst-grid-buttons,
.bst-emoji-grid,
.bst-transform-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.bst-button,
.bst-text-input,
.bst-select,
.bst-color,
.bst-object-color,
.bst-start-button {
  cursor: auto !important;
}

.bst-button,
.bst-text-input {
  min-height: 40px !important;
}

.bst-group.is-shot-only {
  display: none !important;
}

.is-shot-mode .bst-group[data-live-group] {
  display: none !important;
}

.is-shot-mode .bst-group.is-shot-only {
  display: block !important;
}

.babylon-shot-layer {
  background: #ffffff !important;
}

@media (max-width: 1400px) {
  .bst-is-active .bst-workspace {
    width: min(1320px, calc(100vw - 74px));
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 1024px) {
  .bst-launch-screen {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .bst-launch-action {
    width: 100%;
    min-width: 0;
  }

  body.babylon-studio-active .pipeline-stage {
    width: calc(100vw - 40px) !important;
  }

  .bst-is-active .bst-workspace {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .babylon-studio-frame {
    height: 56vw !important;
    min-height: 360px !important;
    max-height: 540px !important;
  }

  .babylon-studio-panel {
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bst-panel-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .bst-launch-copy h3 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .babylon-studio-frame {
    height: 62vh !important;
    min-height: 390px !important;
  }

  .babylon-studio-panel {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   GAME 87 — BABYLON STUDIO LAYOUT / SCENE TOOLS FIX
   Intro text stays in the normal left column. The right visual only launches the studio.
========================= */

.babylon-studio-shell.bst-is-launch {
  min-height: 0 !important;
}

.bst-is-launch .bst-launch-screen {
  min-height: clamp(260px, 34vh, 390px) !important;
  height: clamp(260px, 34vh, 390px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(26px, 4vw, 54px) !important;
  border: 3px solid var(--border-strong) !important;
}

.bst-is-launch .bst-launch-screen::before {
  inset: 18px !important;
}

.bst-is-launch .bst-launch-action {
  width: min(460px, 82%) !important;
  min-width: 0 !important;
  text-align: left !important;
}

.bst-is-launch .bst-start-button {
  min-height: 82px !important;
  font-size: 14px !important;
}

.bst-is-launch .bst-launch-action p {
  max-width: 420px !important;
}

body.babylon-studio-active .pipeline-stage {
  width: min(1560px, calc(100vw - 72px)) !important;
  max-width: none !important;
}

body.babylon-studio-active .pipeline-visual {
  display: block !important;
}

.bst-is-active .bst-workspace {
  grid-template-columns: minmax(0, 1fr) clamp(310px, 21vw, 380px) !important;
  width: min(1500px, calc(100vw - 72px)) !important;
  gap: 30px !important;
  align-items: stretch !important;
}

.babylon-studio-frame {
  height: min(68vh, 720px) !important;
  min-height: 520px !important;
  background: #0b0b0d !important;
}

.babylon-studio-canvas {
  background: #0b0b0d !important;
}

.babylon-studio-panel {
  height: min(68vh, 720px) !important;
  max-height: min(68vh, 720px) !important;
  padding-right: 8px !important;
}

.bst-panel-head {
  border-color: rgba(255,255,255,.58) !important;
}

.bst-panel-head p::before,
.bst-label::before {
  background: #ffffff !important;
}

.bst-group[data-live-group]:has(.bst-object-color-row),
.bst-group[data-live-group]:has(.bst-transform-grid) {
  border-color: rgba(0,255,224,.64) !important;
}

.bst-group[data-live-group]:has(.bst-object-color-row) .bst-label::after {
  content: " — click product or module";
  color: rgba(255,255,255,.42);
  font-weight: 800;
  letter-spacing: .08em;
}

.bst-material-presets {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

.bst-material-presets .bst-button {
  min-height: 34px !important;
  padding: 0 7px !important;
  font-size: 9px !important;
}

.bst-object-color-row {
  grid-template-columns: 48px 1fr !important;
}

.bst-product-selected .bst-group[data-live-group]:has(.bst-object-color-row) .bst-object-color-row,
.bst-product-selected .bst-group[data-live-group]:has(.bst-object-color-row) .bst-material-presets,
.bst-product-selected .bst-group[data-live-group]:has(.bst-object-color-row) [data-action="delete-selected"] {
  opacity: .38 !important;
  pointer-events: none !important;
}

.bst-product-selected .bst-group[data-live-group]:has(.bst-object-color-row)::after {
  content: "PRODUCT SELECTED: use Move / Scale / Rotate. Bottle color is controlled in the Bottle Color panel.";
  display: block;
  margin-top: 10px;
  color: rgba(0,255,224,.86);
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .bst-is-active .bst-workspace {
    width: min(1320px, calc(100vw - 44px)) !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 22px !important;
  }
}

@media (max-width: 1024px) {
  .bst-is-launch .bst-launch-screen {
    height: auto !important;
    min-height: 260px !important;
  }

  .bst-is-active .bst-workspace {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .babylon-studio-panel {
    height: auto !important;
    max-height: none !important;
  }
}

/* =========================
   GAME 88 — BABYLON PRODUCT STUDIO FINAL LAYOUT / TOOLS
========================= */

/* Launch card must have the same visual weight/height as the active studio frame */
.babylon-studio-shell.bst-is-launch {
  min-height: min(68vh, 720px) !important;
}

.bst-is-launch .bst-launch-screen {
  height: min(68vh, 720px) !important;
  min-height: 520px !important;
  max-height: 720px !important;
  padding: clamp(42px, 5vw, 78px) !important;
}

.bst-is-launch .bst-launch-action {
  width: min(560px, 76%) !important;
}

.bst-is-launch .bst-start-button {
  min-height: 96px !important;
  border-width: 3px !important;
}

/* Keep the studio viewport clean and give the scene room */
.bst-is-active .bst-workspace {
  grid-template-columns: minmax(0, 1fr) clamp(320px, 22vw, 390px) !important;
  width: min(1540px, calc(100vw - 72px)) !important;
}

.babylon-studio-frame {
  height: min(68vh, 720px) !important;
  min-height: 520px !important;
  background: #050507 !important;
}

.babylon-studio-canvas {
  background: transparent !important;
}

/* Draw layer appears only after Take a shot */
.babylon-draw-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 3;
  pointer-events: none;
  touch-action: none;
}

.is-shot-mode .babylon-draw-canvas {
  display: block;
}

.is-shot-mode.bst-pen-enabled .babylon-draw-canvas {
  pointer-events: auto;
  cursor: crosshair !important;
}

.is-shot-mode.bst-pen-enabled .babylon-shot-overlay {
  pointer-events: none;
}

/* UI refinements */
.babylon-studio-panel {
  gap: 14px !important;
}

.bst-group {
  padding: 15px !important;
}

.bst-add-row,
.bst-pen-row,
.bst-emoji-custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: stretch;
}

.bst-pen-row {
  grid-template-columns: 48px minmax(0, 1fr);
}

.bst-pen-color {
  width: 48px;
  min-height: 42px;
  border: 2px solid rgba(255,255,255,.44);
  background: #000;
  padding: 0;
  cursor: auto !important;
}

.bst-pen-size {
  width: 100%;
  margin: 12px 0 10px;
  accent-color: var(--contrast-cyan);
  cursor: auto !important;
}

.bst-emoji-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-bottom: 8px;
}

.bst-emoji-grid .bst-button {
  font-size: 18px !important;
  line-height: 1 !important;
}

/* Selection lines/gizmos should feel premium, not chunky */
.babylon-studio-shell .bst-button.is-active,
.babylon-studio-shell .bst-button:hover,
.babylon-studio-shell .bst-start-button:hover {
  box-shadow: 0 0 18px rgba(0,255,224,.16);
}

/* Make selected-object tools read as the main control block */
.bst-group[data-live-group]:has(.bst-object-color-row) {
  box-shadow: inset 0 0 0 1px rgba(0,255,224,.16), 0 0 24px rgba(0,255,224,.08) !important;
}

.bst-group[data-live-group]:has(.bst-object-color-row) .bst-label {
  color: var(--contrast-cyan) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch,
  .bst-is-launch .bst-launch-screen {
    height: auto !important;
    min-height: 360px !important;
  }

  .bst-is-active .bst-workspace {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .babylon-studio-frame {
    height: 60vh !important;
    min-height: 410px !important;
  }

  .babylon-studio-panel {
    max-height: none !important;
  }
}

/* =========================
   GAME 89 — BABYLON STUDIO SIZE / BG MODEL / GLOW CONTROLS
========================= */

/* Match the launch card to the normal pipeline frame size instead of a tall empty block. */
.babylon-studio-shell.bst-is-launch {
  width: 100% !important;
  min-height: clamp(430px, 52vh, 560px) !important;
}

.bst-is-launch .bst-launch-screen {
  width: 100% !important;
  height: clamp(430px, 52vh, 560px) !important;
  min-height: clamp(430px, 52vh, 560px) !important;
  max-height: 560px !important;
  padding: clamp(34px, 4vw, 58px) !important;
  border: 3px solid var(--border-strong) !important;
}

.bst-is-launch .bst-launch-screen::before {
  inset: 20px !important;
}

.bst-is-launch .bst-launch-action {
  width: min(520px, 72%) !important;
  margin-inline: auto !important;
}

.bst-is-launch .bst-start-button {
  min-height: 74px !important;
  border-width: 3px !important;
}

/* Keep the active studio inside the same visual margins as the rest of the pipeline. */
body.babylon-studio-active .pipeline-stage {
  width: min(1380px, calc(100vw - 96px)) !important;
  max-width: none !important;
}

body.babylon-studio-active .pipeline-visual {
  width: 100% !important;
  max-width: none !important;
}

.bst-is-active .bst-workspace {
  width: 100% !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 900px) clamp(300px, 20vw, 350px) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 26px !important;
}

.babylon-studio-frame {
  height: clamp(450px, 56vh, 620px) !important;
  min-height: 450px !important;
  max-height: 620px !important;
  border: 3px solid var(--border-strong) !important;
  background: #050507 !important;
  box-shadow: 0 0 36px rgba(0, 255, 224, 0.055), 0 0 64px rgba(128, 0, 255, 0.045) !important;
}

.babylon-studio-panel {
  height: clamp(450px, 56vh, 620px) !important;
  max-height: clamp(450px, 56vh, 620px) !important;
}

/* New object emission control. */
.bst-emission-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}

.bst-emission-row span {
  color: rgba(255, 255, 255, .68);
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bst-emission {
  width: 100%;
  accent-color: var(--contrast-cyan);
  cursor: auto !important;
}

/* Keep Babylon tools usable with the native cursor. */
.babylon-studio-shell,
.babylon-studio-shell *,
.babylon-studio-canvas {
  cursor: auto !important;
}

@media (max-width: 1200px) {
  body.babylon-studio-active .pipeline-stage {
    width: min(1240px, calc(100vw - 56px)) !important;
  }

  .bst-is-active .bst-workspace {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 20px !important;
  }
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch,
  .bst-is-launch .bst-launch-screen {
    height: auto !important;
    min-height: 360px !important;
    max-height: none !important;
  }

  body.babylon-studio-active .pipeline-stage {
    width: calc(100vw - 32px) !important;
  }

  .bst-is-active .bst-workspace {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .babylon-studio-frame {
    height: 56vh !important;
    min-height: 390px !important;
  }

  .babylon-studio-panel {
    height: auto !important;
    max-height: none !important;
  }
}

/* =========================
   GAME 90 — BABYLON STUDIO OBJECT GROUPS / PHOTO EDITOR POLISH
========================= */

/* The launch frame must match the visual frame size used by the rest of the pipeline. */
.babylon-studio-shell.bst-is-launch {
  height: var(--visual-height) !important;
  min-height: 410px !important;
}

.bst-is-launch .bst-launch-screen {
  width: 100% !important;
  height: var(--visual-height) !important;
  min-height: 410px !important;
  max-height: none !important;
  border: 3px solid var(--border-strong) !important;
  padding: clamp(42px, 5vw, 76px) !important;
}

.bst-is-launch .bst-launch-action {
  width: min(560px, 80%) !important;
}

/* Active studio keeps the same visual margins as other large pipeline frames. */
body.babylon-studio-active .pipeline-stage {
  width: min(1480px, calc(100vw - 112px)) !important;
}

.bst-is-active .bst-workspace {
  width: min(1320px, calc(100vw - 132px)) !important;
  max-width: 1320px !important;
  grid-template-columns: minmax(0, 880px) clamp(300px, 20vw, 360px) !important;
  gap: 28px !important;
}

.babylon-studio-frame {
  height: clamp(430px, 52vh, 600px) !important;
  min-height: 430px !important;
  max-height: 600px !important;
}

.babylon-studio-panel {
  height: clamp(430px, 52vh, 600px) !important;
  max-height: clamp(430px, 52vh, 600px) !important;
}

/* Make the right tools clearer and more compact. */
.bst-group {
  padding: 12px !important;
}

.bst-counter,
.bst-selected-name {
  margin: 8px 0 0;
  color: rgba(255,255,255,.58);
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bst-selected-name {
  margin: 0 0 10px;
  color: var(--contrast-cyan);
}

.bst-editor-row,
.bst-pen-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  margin: 8px 0;
}

.bst-shot-color,
.bst-pen-color {
  width: 44px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.42);
  padding: 0;
  background: #000;
  cursor: auto !important;
}

.bst-shot-size,
.bst-pen-size {
  width: 100%;
  accent-color: var(--contrast-cyan);
  cursor: auto !important;
}

.bst-shot-item.is-selected {
  outline: 2px solid var(--contrast-cyan);
  outline-offset: 6px;
}

.bst-shot-text {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

/* Paint mode: make the drawing canvas clearly interactive only when enabled. */
.babylon-draw-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bst-pen-enabled .babylon-draw-canvas {
  pointer-events: auto;
  cursor: crosshair !important;
}

.babylon-shot-overlay {
  z-index: 4;
}

/* Stronger glow feel on the frame without turning the UI into a gradient. */
.babylon-studio-frame {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 38px rgba(0,255,224,.085),
    0 0 82px rgba(128,0,255,.07) !important;
}

@media (max-width: 1280px) {
  .bst-is-active .bst-workspace {
    width: min(1240px, calc(100vw - 72px)) !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
  }
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch,
  .bst-is-launch .bst-launch-screen {
    height: auto !important;
    min-height: 420px !important;
  }

  .bst-is-active .bst-workspace {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .babylon-studio-frame {
    height: 56vh !important;
    min-height: 390px !important;
  }
}

/* =========================
   GAME 91 — PRODUCT SCENE SIMULATOR CLEANUP
========================= */

.babylon-studio-shell .bst-material-field {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 10px 0;
  color: #fff;
  font-family: "Sofia Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.babylon-studio-shell .bst-material-field span {
  opacity: .78;
}

.babylon-studio-shell .bst-material-field input[type="range"] {
  width: 100%;
  accent-color: #00FFE0;
}

.babylon-studio-shell .bst-material-field input[type="color"] {
  width: 100%;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(255,255,255,.72);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

.babylon-studio-shell [data-shot-group],
.babylon-shot-layer {
  display: none !important;
}

.babylon-studio-shell .bst-panel-head p {
  font-family: "Sofia Sans Extra Condensed", "Sofia Sans", Arial, sans-serif;
  font-weight: 800;
}

/* =========================
   GAME 92 — BABYLON SCENE SIMULATOR FIXES
   Selection visibility, HDRI intensity, mobile viewport/tools layout.
========================= */

/* Selection should read on every selected object, not only the product. */
.babylon-studio-shell.bst-background-selected .bst-selected-tools {
  border-color: rgba(0,255,224,.72) !important;
}

.babylon-studio-shell.bst-background-selected .bst-selected-tools::after {
  content: "BACKGROUND SELECTED: material controls are enabled. Transform controls are locked.";
  display: block;
  margin-top: 10px;
  color: rgba(0,255,224,.86);
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.babylon-studio-shell.bst-background-selected [data-transform],
.babylon-studio-shell.bst-background-selected [data-action="delete-selected"] {
  opacity: .35 !important;
  pointer-events: none !important;
}

/* HDRI intensity slider should be compact and readable. */
.babylon-studio-shell .bst-hdri-field {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

.babylon-studio-shell .bst-hdri-field input[type="range"] {
  accent-color: var(--contrast-cyan);
}

/* Keep the viewport present on mobile; tools scroll below it instead of pushing it away. */
@media (max-width: 1024px) {
  body.babylon-studio-active .pipeline-stage {
    width: calc(100vw - 24px) !important;
  }

  .bst-is-active .bst-workspace {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .babylon-studio-frame {
    position: sticky !important;
    top: 12px !important;
    z-index: 30 !important;
    height: clamp(300px, 48vh, 470px) !important;
    min-height: 300px !important;
    max-height: 470px !important;
  }

  .babylon-studio-panel {
    height: auto !important;
    max-height: 42vh !important;
    overflow: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-right: 4px !important;
    -webkit-overflow-scrolling: touch;
  }

  .bst-panel-head {
    display: none !important;
  }

  .bst-group {
    padding: 9px !important;
  }

  .bst-label {
    margin-bottom: 7px !important;
    font-size: 8px !important;
    letter-spacing: .13em !important;
    gap: 7px !important;
  }

  .bst-label::before {
    width: 16px !important;
    height: 2px !important;
  }

  .bst-select,
  .bst-button,
  .bst-text-input {
    min-height: 34px !important;
    font-size: 8px !important;
    letter-spacing: .1em !important;
    padding: 0 8px !important;
  }

  .babylon-studio-shell .bst-material-field {
    grid-template-columns: 68px 1fr !important;
    gap: 8px !important;
    min-height: 28px !important;
    margin: 6px 0 !important;
    font-size: 8px !important;
    letter-spacing: .1em !important;
  }

  .babylon-studio-shell .bst-material-field input[type="color"] {
    height: 28px !important;
  }

  .bst-add-row {
    grid-template-columns: 1fr !important;
  }

  .bst-grid-buttons,
  .bst-transform-grid {
    gap: 6px !important;
  }

  .bst-counter,
  .bst-selected-name {
    font-size: 8px !important;
    letter-spacing: .09em !important;
  }
}

@media (max-width: 620px) {
  .babylon-studio-frame {
    height: clamp(280px, 46vh, 420px) !important;
    min-height: 280px !important;
  }

  .babylon-studio-panel {
    max-height: 43vh !important;
    grid-template-columns: 1fr !important;
  }

  .bst-group {
    padding: 8px !important;
  }
}

/* =========================
   GAME 93 — BABYLON SIMULATOR MOBILE / EXPORT / UI FIXES
========================= */

.bst-export-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.babylon-studio-shell .bst-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.babylon-studio-shell .bst-select:focus,
.babylon-studio-shell .bst-button:focus,
.babylon-studio-shell input:focus {
  outline: 2px solid #00FFE0;
  outline-offset: 2px;
}

.babylon-studio-frame {
  image-rendering: auto !important;
}

.babylon-studio-canvas {
  image-rendering: auto !important;
  touch-action: none;
}

@media (max-width: 768px) {
  body.babylon-studio-active .pipeline-stage {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  body.babylon-studio-active .pipeline-visual {
    height: 100% !important;
    min-height: 0 !important;
  }

  .bst-is-active .bst-workspace {
    height: calc(100dvh - 104px) !important;
    display: grid !important;
    grid-template-rows: minmax(300px, 48dvh) minmax(0, 1fr) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: hidden !important;
  }

  .bst-is-active .babylon-studio-frame {
    position: sticky !important;
    top: 0 !important;
    height: 48dvh !important;
    min-height: 300px !important;
    max-height: 48dvh !important;
    width: 100% !important;
  }

  .bst-is-active .babylon-studio-panel {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 0 2px 18px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .bst-panel-head {
    display: none !important;
  }

  .bst-group {
    padding: 9px !important;
    border-width: 2px !important;
  }

  .bst-label {
    font-size: 9px !important;
    margin-bottom: 8px !important;
  }

  .bst-select,
  .bst-button,
  .bst-text-input {
    min-height: 36px !important;
    font-size: 9px !important;
    letter-spacing: .1em !important;
  }

  .bst-material-field {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 7px 0 !important;
  }

  .bst-material-field span,
  .bst-counter,
  .bst-selected-name {
    font-size: 9px !important;
    letter-spacing: .08em !important;
  }

  .bst-add-row,
  .bst-export-row,
  .bst-transform-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .bst-transform-grid .bst-button,
  .bst-export-row .bst-button {
    min-height: 34px !important;
  }

  .bst-object-color {
    width: 38px !important;
    height: 34px !important;
  }
}

/* =========================
   GAME 94 — Babylon studio UX polish
========================= */
.babylon-studio-shell.bst-is-launch {
  width: min(1180px, calc(100vw - 96px)) !important;
  max-width: 1180px !important;
  aspect-ratio: 16 / 7.75 !important;
  min-height: 0 !important;
  margin-inline: auto !important;
}

.bst-is-launch .bst-launch-screen {
  width: 100% !important;
  height: 100% !important;
  border: 2px solid #fff !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(28px, 4vw, 64px) !important;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #000 !important;
  background-size: 64px 64px !important;
}

.bst-launch-card {
  width: min(760px, 86%) !important;
  border: 2px solid rgba(255,255,255,.92) !important;
  padding: clamp(30px, 4vw, 56px) !important;
  text-align: center !important;
  background: rgba(0,0,0,.72) !important;
}

.bst-launch-kicker,
.bst-active-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
  color: #00FFE0 !important;
  font-family: "Sofia Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.bst-launch-kicker span,
.bst-active-kicker span {
  display: block !important;
  width: 42px !important;
  height: 2px !important;
  background: #fff !important;
}

.bst-launch-card h3 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Sofia Sans Extra Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: clamp(54px, 6vw, 104px) !important;
  font-weight: 800 !important;
  line-height: .86 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase !important;
}

.bst-launch-copy {
  max-width: 520px !important;
  margin: 20px auto 30px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.bst-start-button {
  min-width: min(460px, 100%) !important;
  min-height: 66px !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  letter-spacing: .16em !important;
}

.bst-start-button:hover {
  background: #00FFE0 !important;
  border-color: #fff !important;
  color: #000 !important;
}

.bst-is-active .bst-workspace {
  position: relative !important;
  width: min(1180px, calc(100vw - 96px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 28px !important;
  align-items: start !important;
}

.bst-active-kicker {
  position: absolute !important;
  left: 0 !important;
  top: -34px !important;
  z-index: 4 !important;
}

.bst-is-active .babylon-studio-frame {
  width: 100% !important;
  aspect-ratio: 16 / 8.5 !important;
  min-height: 0 !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 32px rgba(0,255,224,.10) !important;
}

.bst-is-active .babylon-studio-panel {
  width: 100% !important;
  max-height: min(72vh, 640px) !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,255,255,.55) transparent !important;
}

.bst-file-drop {
  display: grid !important;
  place-items: center !important;
  min-height: 50px !important;
  border: 2px solid rgba(255,255,255,.32) !important;
  color: #fff !important;
  cursor: pointer !important;
  font-family: "Sofia Sans", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bst-file-drop:hover {
  background: #00FFE0 !important;
  border-color: #fff !important;
  color: #000 !important;
}

.bst-file-drop input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bst-object-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.bst-object-card {
  min-height: 86px !important;
  border: 2px solid rgba(255,255,255,.28) !important;
  background: transparent !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  gap: 6px !important;
  padding: 10px 8px !important;
  cursor: pointer !important;
  font-family: "Sofia Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.bst-object-card:hover {
  background: #00FFE0 !important;
  color: #000 !important;
  border-color: #fff !important;
  transform: translateY(-1px) !important;
}

.bst-object-preview {
  width: 36px !important;
  height: 30px !important;
  display: block !important;
  position: relative !important;
}

.bst-prev-cube { background: linear-gradient(135deg, #b7b7b7 0 52%, #777 52% 100%) !important; transform: skewY(-8deg) rotate(0deg); }
.bst-prev-cylinder { border-radius: 50% / 20% !important; background: linear-gradient(#d6d6d6, #8d8d8d) !important; }
.bst-prev-torus { border: 6px solid #aaa !important; border-radius: 50% !important; }
.bst-prev-prism { clip-path: polygon(50% 0, 100% 100%, 0 100%) !important; background: linear-gradient(135deg, #d9d9d9, #777) !important; }
.bst-prev-bar { width: 10px !important; height: 38px !important; background: #d0d0d0 !important; }
.bst-prev-arch { border: 5px solid #aaa !important; border-bottom: 0 !important; border-radius: 999px 999px 0 0 !important; }
.bst-prev-table::before { content:""; position:absolute; left:3px; right:3px; top:4px; height:8px; background:#aaa; }
.bst-prev-table::after { content:""; position:absolute; left:8px; right:8px; top:14px; bottom:0; border-left:5px solid #999; border-right:5px solid #999; }

.bst-gizmo-toolbar {
  display: grid !important;
  grid-template-columns: repeat(4, 42px) !important;
  gap: 8px !important;
  align-items: center !important;
  margin: 14px 0 !important;
}

.bst-icon-tool {
  width: 42px !important;
  height: 42px !important;
  border: 2px solid rgba(255,255,255,.34) !important;
  background: transparent !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bst-icon-tool.is-active,
.bst-icon-tool:hover {
  background: #00FFE0 !important;
  border-color: #fff !important;
  color: #000 !important;
}

@media (min-width: 1025px) {
  body.babylon-studio-active .scene-kicker,
  body.babylon-studio-active #sceneKicker {
    position: relative !important;
    z-index: 20 !important;
  }
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch {
    width: calc(100vw - 32px) !important;
    aspect-ratio: auto !important;
    min-height: min(62vh, 520px) !important;
  }

  .bst-is-launch .bst-launch-screen {
    min-height: inherit !important;
    padding: 22px !important;
  }

  .bst-launch-card {
    width: 100% !important;
    padding: 26px 18px !important;
  }

  .bst-is-active .bst-workspace {
    width: calc(100vw - 28px) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .bst-active-kicker {
    top: -30px !important;
    left: 0 !important;
  }

  .bst-is-active .babylon-studio-frame {
    position: sticky !important;
    top: 54px !important;
    z-index: 8 !important;
    aspect-ratio: 16 / 10 !important;
  }

  .bst-is-active .babylon-studio-panel {
    max-height: 42vh !important;
    overflow-y: auto !important;
    padding-bottom: 24px !important;
  }

  .bst-object-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .bst-object-card {
    min-height: 72px !important;
    font-size: 9px !important;
    padding: 8px 4px !important;
  }

  .bst-object-preview {
    width: 28px !important;
    height: 24px !important;
  }

  .bst-gizmo-toolbar {
    grid-template-columns: repeat(4, 48px) !important;
  }

  .bst-icon-tool {
    width: 48px !important;
    height: 48px !important;
    font-size: 22px !important;
  }
}

/* =========================
   GAME 95 — Babylon launch overflow + runtime fix
   Keep the intro card inside the normal visual column and prevent the studio from breaking on shadows.
========================= */
.babylon-studio-shell.bst-is-launch {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 8.5 !important;
  min-height: 0 !important;
  margin-inline: 0 !important;
}

.bst-is-launch .bst-launch-screen {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: clamp(22px, 3vw, 46px) !important;
  overflow: hidden !important;
}

.bst-launch-card {
  width: min(620px, 86%) !important;
  max-width: 620px !important;
  padding: clamp(26px, 3.4vw, 46px) !important;
}

.bst-launch-card h3 {
  font-size: clamp(46px, 4.9vw, 82px) !important;
  max-width: 560px !important;
  margin-inline: auto !important;
}

.bst-start-button {
  min-width: min(380px, 100%) !important;
  min-height: 62px !important;
}

.bst-launch-copy {
  max-width: 460px !important;
  margin: 18px auto 26px !important;
}

/* Active studio stays aligned with the pipeline and does not overflow horizontally. */
.bst-is-active .bst-workspace {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  overflow: visible !important;
}

body.babylon-studio-active .pipeline-visual {
  overflow: visible !important;
}

/* Clearer loading state if external Babylon CDN takes a moment. */
.babylon-studio-loader strong {
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
  }

  .bst-launch-card {
    width: 92% !important;
    padding: 24px 18px !important;
  }

  .bst-launch-card h3 {
    font-size: clamp(42px, 12vw, 68px) !important;
  }
}


/* =========================
   GAME 96 — Babylon launch card cleanup + import transform preservation polish
   Removes the two inner boxes from the launch card and lets the content breathe inside the main outer frame.
========================= */
.babylon-studio-shell.bst-is-launch {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 8.5 !important;
}

.bst-is-launch .bst-launch-screen {
  border: 2px solid #ffffff !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(34px, 5vw, 74px) !important;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #000 !important;
  background-size: 64px 64px !important;
}

.bst-launch-card {
  width: min(760px, 92%) !important;
  max-width: 760px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center !important;
}

.bst-launch-card::before,
.bst-launch-card::after,
.bst-is-launch .bst-launch-screen::before,
.bst-is-launch .bst-launch-screen::after {
  display: none !important;
  content: none !important;
}

.bst-launch-card h3 {
  max-width: 700px !important;
  margin-inline: auto !important;
  font-size: clamp(58px, 6.2vw, 104px) !important;
  line-height: .84 !important;
}

.bst-launch-copy {
  max-width: 560px !important;
  margin: 22px auto 30px !important;
}

.bst-start-button {
  width: min(460px, 100%) !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch {
    aspect-ratio: auto !important;
    min-height: min(62vh, 560px) !important;
  }

  .bst-is-launch .bst-launch-screen {
    min-height: inherit !important;
    padding: 28px 18px !important;
  }

  .bst-launch-card {
    width: 100% !important;
  }

  .bst-launch-card h3 {
    font-size: clamp(48px, 14vw, 78px) !important;
  }
}


/* =========================
   GAME 97 — Babylon launch responsive start fix
   Keeps the launch content fully visible inside the right frame on any viewport.
========================= */
.babylon-studio-shell.bst-is-launch {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 8.5 !important;
  min-height: 0 !important;
}

.bst-is-launch .bst-launch-screen {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(22px, 3.8vw, 52px) !important;
  overflow: hidden !important;
}

.bst-launch-card {
  width: min(650px, 92%) !important;
  max-width: 650px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
  padding: 0 !important;
}

.bst-launch-kicker {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.bst-launch-card h3 {
  margin: 0 !important;
  max-width: 580px !important;
  font-size: clamp(56px, 5.35vw, 88px) !important;
  line-height: .84 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

.bst-launch-copy {
  max-width: 520px !important;
  margin: 0 !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  line-height: 1.42 !important;
}

.bst-start-button {
  display: inline-grid !important;
  place-items: center !important;
  width: min(360px, 100%) !important;
  min-width: 0 !important;
  min-height: clamp(52px, 6vh, 64px) !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1280px) {
  .bst-launch-card h3 {
    font-size: clamp(50px, 5vw, 78px) !important;
  }
}

@media (max-width: 1024px) {
  .babylon-studio-shell.bst-is-launch {
    aspect-ratio: auto !important;
    min-height: 440px !important;
  }

  .bst-is-launch .bst-launch-screen {
    min-height: 440px !important;
    padding: 24px 18px !important;
  }

  .bst-launch-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .bst-launch-card h3 {
    font-size: clamp(48px, 14vw, 74px) !important;
  }

  .bst-start-button {
    min-height: 56px !important;
  }
}

@media (max-height: 720px) and (min-width: 1025px) {
  .bst-launch-card {
    gap: 10px !important;
  }

  .bst-launch-card h3 {
    font-size: clamp(46px, 4.7vw, 72px) !important;
  }

  .bst-launch-copy {
    font-size: 13px !important;
  }

  .bst-start-button {
    min-height: 52px !important;
  }
}

/* =========================
   GAME 98 — Babylon launch left alignment fix
   Single kicker line + left aligned launch content inside the outer frame.
========================= */
.bst-is-launch .bst-launch-screen {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(34px, 5vw, 72px) !important;
}

.bst-launch-card {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  margin: 0 !important;
}

.bst-launch-kicker {
  justify-content: flex-start !important;
  text-align: left !important;
  margin: 0 !important;
}

.bst-launch-kicker::before {
  display: none !important;
  content: none !important;
}

.bst-launch-kicker span {
  display: block !important;
  width: 42px !important;
  height: 2px !important;
  background: #fff !important;
  flex: 0 0 auto !important;
}

.bst-launch-card h3 {
  max-width: 560px !important;
  margin: 0 !important;
  text-align: left !important;
  text-wrap: balance;
}

.bst-launch-copy {
  max-width: 520px !important;
  margin: 0 !important;
  text-align: left !important;
}

.bst-start-button {
  width: min(360px, 100%) !important;
  margin: 0 !important;
  justify-self: flex-start !important;
}

@media (max-width: 1024px) {
  .bst-is-launch .bst-launch-screen {
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 22px !important;
  }

  .bst-launch-card {
    width: 100% !important;
    max-width: 560px !important;
  }
}

@media (max-width: 640px) {
  .bst-launch-card h3,
  .bst-launch-copy,
  .bst-launch-kicker {
    text-align: left !important;
  }

  .bst-start-button {
    width: 100% !important;
  }
}


/* =========================
   GAME 99 — CLEAN PIPELINE TAGS + BUILDER LAUNCH POLISH
========================= */

/* Remove decorative meta chips that were adding noise across scenes. */
.pipeline-meta {
  display: none !important;
}

/* Remove internal kicker labels requested for cleaner launch cards. */
.bst-launch-kicker,
.game-launcher__kicker {
  display: none !important;
}

/* Center the Prototype Builder launch card inside its frame. */
.babylon-studio-shell.bst-is-launch .bst-launch-screen {
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(28px, 4vw, 56px) !important;
}

.babylon-studio-shell.bst-is-launch .bst-launch-card {
  width: min(620px, 86%) !important;
  max-width: 620px !important;
  min-height: auto !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: clamp(16px, 2.2vw, 26px) !important;
  padding: 0 !important;
}

.babylon-studio-shell.bst-is-launch .bst-launch-card h3 {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  font-size: clamp(58px, 6.6vw, 104px) !important;
  line-height: .82 !important;
  letter-spacing: -.045em !important;
}

.babylon-studio-shell.bst-is-launch .bst-launch-copy {
  width: min(520px, 100%) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.babylon-studio-shell.bst-is-launch .bst-start-button {
  width: min(280px, 100%) !important;
  min-height: 64px !important;
  border: 2px solid #8000FF !important;
  background: #8000FF !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 34px !important;
  font-size: 12px !important;
  letter-spacing: .16em !important;
}

.babylon-studio-shell.bst-is-launch .bst-start-button:hover {
  background: #00FFE0 !important;
  border-color: #00FFE0 !important;
  color: #000000 !important;
}

/* Game launcher button should follow the same purple CTA scale. */
.game-launcher__button {
  min-height: 64px !important;
  min-width: min(280px, 86vw) !important;
  background: #8000FF !important;
  border-color: #8000FF !important;
  color: #FFFFFF !important;
}

.game-launcher__button:hover {
  background: #00FFE0 !important;
  border-color: #00FFE0 !important;
  color: #000000 !important;
}

@media (max-width: 900px) {
  .babylon-studio-shell.bst-is-launch .bst-launch-screen {
    padding: 24px !important;
  }

  .babylon-studio-shell.bst-is-launch .bst-launch-card {
    width: min(560px, 92%) !important;
  }

  .babylon-studio-shell.bst-is-launch .bst-launch-card h3 {
    font-size: clamp(48px, 14vw, 78px) !important;
  }
}

@media (max-height: 680px) and (min-width: 901px) {
  .babylon-studio-shell.bst-is-launch .bst-launch-card h3 {
    font-size: clamp(48px, 5vw, 76px) !important;
  }
  .babylon-studio-shell.bst-is-launch .bst-start-button {
    min-height: 56px !important;
  }
}


.bst-prev-plant {
  position: relative !important;
  width: 34px !important;
  height: 42px !important;
  border: 0 !important;
  background: transparent !important;
}
.bst-prev-plant::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 2px;
  width: 10px;
  height: 15px;
  border: 2px solid #aaa;
  background: rgba(170,170,170,0.22);
}
.bst-prev-plant::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 26px;
  height: 28px;
  background: linear-gradient(135deg, #cfcfcf, #777);
  clip-path: polygon(50% 0, 62% 28%, 100% 20%, 75% 52%, 95% 86%, 58% 70%, 50% 100%, 42% 70%, 5% 86%, 25% 52%, 0 20%, 38% 28%);
}
