@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#030914;--panel:rgba(8,19,34,.62);--line:rgba(255,255,255,.14);--text:#f7fbff;--muted:#a9b8ca;--cyan:#55d7ff;--blue:#287bff;--violet:#9d72ff;--safe:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);font-family:Inter,system-ui,sans-serif;color:var(--text)}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}.glass{background:rgba(5,14,26,.52);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);box-shadow:0 14px 50px rgba(0,0,0,.22)}.topbar{position:fixed;z-index:20;left:20px;right:20px;top:18px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px 8px 18px}.brand{display:flex;align-items:center;gap:15px}.brand img{height:42px;width:auto;max-width:105px;object-fit:contain}.brand span{font-size:11px;letter-spacing:.16em;color:#c4d3e5}.top-actions{display:flex;gap:8px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.05);font-size:21px}.icon-btn:hover{background:rgba(255,255,255,.12)}#feed{height:100%;width:100%;overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-width:none}#feed::-webkit-scrollbar{display:none}.reel{position:relative;min-height:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 20%,#102846 0,#061322 42%,#020710 100%)}.reel:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),transparent 22%,transparent 62%,rgba(0,0,0,.65));pointer-events:none}.reel-content{position:relative;z-index:5;max-width:980px;padding:110px 7vw 150px}.reel-content.center{text-align:center;max-width:1000px}.reel-content.bottom{position:absolute;left:5vw;bottom:4vh;padding:0;max-width:760px;text-align:left}.eyebrow{font-size:11px;letter-spacing:.24em;font-weight:800;color:var(--cyan);margin-bottom:18px}.reel h1,.reel h2{margin:0;font-weight:900;letter-spacing:-.055em;line-height:.92}.reel h1{font-size:clamp(48px,7.4vw,112px)}.reel h1 em{font-style:normal;background:linear-gradient(90deg,#fff,var(--cyan),#a68cff);-webkit-background-clip:text;background-clip:text;color:transparent}.reel h2{font-size:clamp(42px,6vw,92px)}.reel p{font-size:clamp(16px,1.5vw,21px);line-height:1.55;color:var(--muted);max-width:720px}.hero-content p{margin:25px 0 30px}.hero-cta{display:flex;gap:12px;flex-wrap:wrap}.primary,.ghost{padding:14px 20px;border-radius:999px;font-weight:800;font-size:14px;transition:.25s}.primary{background:linear-gradient(100deg,var(--cyan),#718dff);color:#03101b;box-shadow:0 8px 35px rgba(85,215,255,.25)}.ghost{border:1px solid var(--line);background:rgba(255,255,255,.05)}.primary:hover,.ghost:hover{transform:translateY(-2px);filter:brightness(1.08)}.side-meta{position:absolute;right:28px;bottom:125px;z-index:7;display:flex;flex-direction:column;gap:8px;text-align:right;font-size:10px;letter-spacing:.16em;color:#9db1c8}.side-meta span:first-child{color:#fff}.grid{position:absolute;inset:0;background-image:linear-gradient(rgba(85,215,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(85,215,255,.06) 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(to bottom,transparent,black 25%,black 75%,transparent)}.orb{position:absolute;border-radius:50%;filter:blur(3px);mix-blend-mode:screen}.orb-a{width:55vw;height:55vw;right:-14vw;top:8vh;background:radial-gradient(circle,rgba(40,123,255,.3),rgba(157,114,255,.12) 40%,transparent 68%);animation:float 9s ease-in-out infinite}.orb-b{width:35vw;height:35vw;left:-10vw;bottom:-5vh;background:radial-gradient(circle,rgba(85,215,255,.2),transparent 65%);animation:float 12s ease-in-out infinite reverse}@keyframes float{50%{transform:translate3d(0,-24px,0) scale(1.04)}}.video-reel{background:#01050c}.video-bg{position:absolute;inset:-8%;background:radial-gradient(circle at 50% 45%,rgba(44,122,255,.36),transparent 28%),linear-gradient(130deg,#031123,#0c1a35 48%,#02060e);filter:blur(2px);animation:videoPulse 8s ease-in-out infinite}.video-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),transparent 55%),linear-gradient(0deg,rgba(0,0,0,.72),transparent 60%)}.yt{position:absolute;z-index:2;width:min(72vw,960px);aspect-ratio:16/9;right:5vw;top:50%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.2);border-radius:26px;box-shadow:0 30px 100px rgba(0,0,0,.55);opacity:.92}.video-frame{position:absolute;z-index:4;left:7vw;top:27%;max-width:360px}.play-ring{margin:18px 0;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);font-size:22px}.video-note{color:#b8c7d8;line-height:1.5}.ambient,.future-lines,.map-orbit,.constellation,.expo-horizon,.lab-lines,.network-cards,.final-glow{position:absolute;inset:0}.ambient.a1{background:radial-gradient(circle at 25% 25%,rgba(85,215,255,.28),transparent 25%)}.ambient.a2{background:radial-gradient(circle at 75% 70%,rgba(157,114,255,.3),transparent 25%)}.chips,.pill-line{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:32px}.chips span,.pill-line span{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.05);font-size:11px;letter-spacing:.12em}.split{justify-content:space-between;padding:0 10vw;background:linear-gradient(115deg,#030b15,#0a1d34 60%,#06101f)}.split-copy{position:relative;z-index:5;width:55%;max-width:720px}.split-copy h2{font-size:clamp(40px,5vw,78px)}.visual{position:relative;width:30vw;height:30vw;min-width:280px;min-height:280px;border-radius:50%;display:grid;place-items:center;font-size:110px;background:radial-gradient(circle,rgba(85,215,255,.3),rgba(40,123,255,.05) 48%,transparent 70%);box-shadow:inset 0 0 80px rgba(85,215,255,.15),0 0 100px rgba(40,123,255,.16);animation:float 7s infinite}.stat-row{display:flex;gap:28px;margin-top:34px}.stat-row div{display:flex;flex-direction:column}.stat-row b{font-size:30px;color:#fff}.stat-row small{color:#8ea2b9;margin-top:4px}.lab-lines{background:repeating-linear-gradient(120deg,transparent 0 80px,rgba(85,215,255,.07) 81px 82px);transform:skewY(-8deg) scale(1.2)}.big-card{display:inline-flex;flex-direction:column;gap:5px;text-align:left;padding:18px 22px;margin:28px 8px 0;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.06);min-width:210px}.big-card span{font-size:10px;color:var(--cyan);letter-spacing:.16em}.big-card strong{font-size:18px}.schedule{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:10px;margin-top:30px;text-align:left}.schedule div{padding:16px;border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:15px;display:flex;flex-direction:column;gap:6px}.schedule b{color:var(--cyan);font-size:11px;letter-spacing:.15em}.schedule span{color:#d8e3ef}.constellation{background-image:radial-gradient(circle at 20% 30%,#55d7ff 0 1px,transparent 2px),radial-gradient(circle at 70% 20%,#9d72ff 0 1px,transparent 2px),radial-gradient(circle at 80% 75%,#55d7ff 0 1px,transparent 2px);background-size:180px 180px,230px 230px,310px 310px;opacity:.55}.space-grid{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:10px;margin-top:34px}.space-grid button{padding:16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04);text-align:left;font-size:12px;letter-spacing:.08em}.space-grid button:hover{background:rgba(85,215,255,.09);border-color:rgba(85,215,255,.4)}.expo-horizon{background:linear-gradient(180deg,transparent 0 50%,rgba(85,215,255,.08) 50.2%,transparent 50.5%),repeating-linear-gradient(90deg,transparent 0 100px,rgba(255,255,255,.04) 101px 102px);transform:perspective(500px) rotateX(60deg) scale(2);transform-origin:center bottom}.network-cards:before,.network-cards:after{content:"";position:absolute;width:260px;height:360px;border-radius:26px;border:1px solid rgba(255,255,255,.13);background:linear-gradient(145deg,rgba(85,215,255,.14),rgba(157,114,255,.06));transform:rotate(-12deg);left:16%;top:20%;box-shadow:0 30px 80px rgba(0,0,0,.2)}.network-cards:after{left:auto;right:16%;top:28%;transform:rotate(12deg)}.network-cards i{position:absolute;width:160px;height:220px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);top:16%;left:42%;transform:rotate(2deg);z-index:2}.memory{background:#07111e}.memory-photo{position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(85,215,255,.2),transparent 28%),linear-gradient(120deg,#07192c,#0a2941 45%,#080d17)}.memory-photo:after{content:"COI 2026";position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(80px,16vw,220px);font-weight:900;letter-spacing:-.08em;color:rgba(255,255,255,.035)}.future-lines{background:repeating-linear-gradient(0deg,transparent 0 58px,rgba(85,215,255,.06) 59px 60px),repeating-linear-gradient(90deg,transparent 0 58px,rgba(157,114,255,.06) 59px 60px);transform:perspective(600px) rotateX(50deg) scale(1.4);transform-origin:center bottom}.countdown{display:flex;align-items:baseline;justify-content:center;gap:9px;margin-top:34px;flex-wrap:wrap}.countdown b{font-size:40px}.countdown span{font-size:10px;color:#8498af;letter-spacing:.1em;margin-right:15px}.map-orbit{background:radial-gradient(circle at 50% 50%,transparent 0 15%,rgba(85,215,255,.08) 15.2% 15.5%,transparent 15.7% 25%,rgba(157,114,255,.07) 25.2% 25.5%,transparent 25.7%);animation:spin 24s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.aorp-mark{font-size:clamp(70px,12vw,170px);font-weight:900;letter-spacing:-.08em;color:transparent;-webkit-text-stroke:1px rgba(85,215,255,.45);margin-top:28px}.final{background:radial-gradient(circle at 50% 45%,#153d62 0,#061422 42%,#02060d 100%)}.final-glow{background:radial-gradient(circle,rgba(85,215,255,.25),transparent 20%),radial-gradient(circle at 70% 70%,rgba(157,114,255,.2),transparent 20%);animation:float 10s infinite}.final-logo{width:min(340px,60vw);max-height:150px;object-fit:contain;margin-bottom:30px}.bottom-nav{position:fixed;z-index:30;bottom:calc(16px + var(--safe));left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 28px));height:72px;border-radius:26px;padding:7px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:20px;color:#8396aa;transition:.2s}.nav-item span{font-size:20px;line-height:1}.nav-item small{font-size:9px}.nav-item.active,.nav-item:hover{color:#fff;background:rgba(255,255,255,.09)}.nav-item.active span{color:var(--cyan)}.progress{position:fixed;z-index:31;right:9px;top:50%;transform:translateY(-50%);height:150px;width:3px;border-radius:3px;background:rgba(255,255,255,.1)}.progress span{display:block;width:100%;height:7%;border-radius:3px;background:linear-gradient(var(--cyan),var(--violet));transition:height .25s}.toast{position:fixed;z-index:40;left:50%;bottom:105px;transform:translate(-50%,15px);padding:11px 16px;border-radius:999px;background:rgba(0,0,0,.78);border:1px solid var(--line);opacity:0;pointer-events:none;transition:.25s;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){.topbar{left:10px;right:10px;top:10px;height:55px;border-radius:18px}.brand img{height:34px}.brand span{font-size:9px}.top-actions{display:none}.reel-content{padding:100px 24px 140px}.reel-content.bottom{left:24px;right:24px;bottom:112px}.reel h1{font-size:clamp(44px,14vw,76px)}.reel h2{font-size:clamp(38px,12vw,62px)}.yt{width:calc(100% - 30px);right:15px;top:44%;transform:translateY(-50%);border-radius:18px}.video-frame{left:24px;top:17%;z-index:5}.video-frame .play-ring,.video-note{display:none}.video-reel .reel-content.bottom{bottom:105px}.split{padding:0 24px;align-items:flex-start}.split-copy{width:100%;padding-top:90px}.visual{position:absolute;right:-80px;bottom:150px;width:260px;height:260px;min-width:260px;min-height:260px;opacity:.5}.stat-row{gap:15px}.schedule{grid-template-columns:1fr}.space-grid{grid-template-columns:1fr}.big-card{display:flex;margin:8px 0 0}.side-meta{right:13px;bottom:100px}.progress{right:4px;height:110px}.bottom-nav{height:68px;bottom:calc(8px + var(--safe));width:calc(100% - 18px);border-radius:23px}.nav-item span{font-size:18px}.nav-item small{font-size:8px}.memory .reel-content.bottom{bottom:110px}.hero-cta{gap:8px}.primary,.ghost{padding:12px 16px}.eyebrow{font-size:9px}.reel p{font-size:15px}.countdown b{font-size:31px}.countdown span{margin-right:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* COI Profile / Instagram-style opening */
.profile-reel{background:radial-gradient(circle at 50% 18%,rgba(39,196,255,.18),transparent 30%),linear-gradient(145deg,#030914,#07172a 55%,#030914);overflow:hidden}
.profile-bg{position:absolute;inset:0;background:radial-gradient(circle at 20% 80%,rgba(124,74,255,.16),transparent 32%),radial-gradient(circle at 80% 35%,rgba(0,213,255,.12),transparent 28%);pointer-events:none}
.profile-shell{width:min(960px,92vw);height:calc(100% - 96px);margin:0 auto;padding:clamp(20px,4vw,48px) 0 100px;position:relative;z-index:2;overflow:auto;scrollbar-width:none}.profile-shell::-webkit-scrollbar{display:none}
.profile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.profile-handle{font-weight:800;letter-spacing:.02em}.profile-back{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:50%;width:42px;height:42px;font-size:28px;cursor:pointer}
.profile-head{display:flex;align-items:center;gap:clamp(24px,5vw,64px)}.profile-avatar{width:132px;height:132px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#071a2c,#0d2840);border:1px solid rgba(255,255,255,.25);box-shadow:0 0 0 5px rgba(40,190,255,.07),0 18px 50px rgba(0,0,0,.35)}.profile-avatar img{width:82px;height:82px;object-fit:contain}.profile-stats{display:flex;gap:clamp(24px,5vw,60px)}.profile-stats div{text-align:center}.profile-stats b{display:block;font-size:clamp(20px,2.5vw,32px)}.profile-stats small{display:block;opacity:.62;margin-top:4px}
.profile-bio{margin:26px 0 18px}.profile-bio h1{font-size:24px;margin:0 0 5px}.profile-bio p{margin:5px 0;opacity:.78;line-height:1.5}.profile-link{color:#62d8ff!important}.profile-actions{display:flex;gap:10px;margin-bottom:24px}.profile-actions .primary,.profile-action{flex:1;max-width:260px}.profile-action{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:14px;padding:12px 18px;font-weight:700;cursor:pointer;backdrop-filter:blur(16px)}
.highlights{display:flex;gap:clamp(12px,2vw,24px);overflow:auto;padding:6px 0 24px;scrollbar-width:none}.highlights::-webkit-scrollbar{display:none}.highlights button{background:none;border:0;color:#fff;min-width:76px;cursor:pointer}.highlights span{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;margin:auto;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.07);font-size:24px}.highlights small{display:block;margin-top:8px;opacity:.75}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.profile-grid button{aspect-ratio:1;background:linear-gradient(145deg,rgba(25,64,94,.9),rgba(8,18,31,.95));border:0;color:#fff;font-size:32px;cursor:pointer;position:relative;overflow:hidden}.profile-grid button:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(65,215,255,.24),transparent 40%)}.profile-scroll-hint{position:absolute;bottom:88px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:.22em;opacity:.55;z-index:4}.profile-scroll-hint span{display:inline-block;margin-left:7px;font-size:16px;animation:bounce 1.4s infinite}@keyframes bounce{50%{transform:translateY(5px)}}
.video-reel .yt{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;z-index:1}.video-reel .video-overlay{z-index:2;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.08) 45%,rgba(0,0,0,.72))}.video-reel .video-frame{z-index:3;pointer-events:none}.video-reel .reel-content{z-index:4}.video-reel .yt{transform:scale(1.18)}
@media(max-width:700px){.profile-shell{width:92vw;height:calc(100% - 74px);padding-top:18px}.profile-head{gap:20px}.profile-avatar{width:94px;height:94px}.profile-avatar img{width:60px;height:60px}.profile-stats{gap:18px}.profile-stats b{font-size:20px}.profile-stats small{font-size:11px}.profile-bio{font-size:13px}.profile-actions .primary,.profile-action{max-width:none}.profile-scroll-hint{bottom:76px}.video-reel .yt{transform:scale(1.55)}}

.feature-list,.journey{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0}.feature-list span,.journey span{padding:10px 14px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px)}.journey b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(70,210,255,.15);border:1px solid rgba(70,210,255,.3)}.faq-list{width:min(720px,90vw);display:grid;gap:8px;margin-top:20px}.faq-list div{display:flex;justify-content:space-between;gap:20px;padding:15px 18px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);text-align:left}.faq-list span{opacity:.68}.science-orbit{position:absolute;width:60vw;height:60vw;border:1px solid rgba(83,210,255,.14);border-radius:50%;box-shadow:0 0 100px rgba(70,150,255,.08)}
/* COI 2027 — visual gallery + cinematic video upgrades */
.gallery-reel{background:radial-gradient(circle at 80% 20%,rgba(85,215,255,.14),transparent 28%),linear-gradient(135deg,#020711,#071a2c 58%,#030914)}
.gallery-content{width:min(1180px,92vw);padding:92px 0 125px;z-index:5}.gallery-content h2{font-size:clamp(40px,5vw,76px)}
.gallery-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:26px 4px 10px;overscroll-behavior-x:contain}.gallery-carousel::-webkit-scrollbar{display:none}
.gallery-carousel figure{margin:0;flex:0 0 min(72vw,520px);scroll-snap-align:center;position:relative;aspect-ratio:4/3;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.16);background:#02060d;box-shadow:0 24px 80px rgba(0,0,0,.38)}
.gallery-carousel img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .5s ease}.gallery-carousel figure:hover img{transform:scale(1.035)}
.gallery-carousel figcaption{position:absolute;left:14px;right:14px;bottom:14px;padding:11px 14px;border-radius:14px;background:rgba(2,7,16,.62);backdrop-filter:blur(14px);font-size:12px;color:#fff}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px}.gallery-controls button{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);font-size:28px}.gallery-dots{display:flex;gap:6px}.gallery-dots button{width:7px;height:7px;min-width:7px;min-height:7px;padding:0;border:0;background:rgba(255,255,255,.25)}.gallery-dots button.active{background:var(--cyan);transform:scale(1.35)}
.gallery-modal{position:fixed;inset:0;z-index:100;background:rgba(0,3,9,.94);backdrop-filter:blur(22px);display:none;align-items:center;justify-content:center}.gallery-modal.open{display:flex}.gallery-close{position:absolute;z-index:5;right:24px;top:20px;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);font-size:32px}.gallery-modal-track{width:100%;height:100%;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.gallery-modal-track::-webkit-scrollbar{display:none}.gallery-modal-track figure{margin:0;flex:0 0 100%;height:100%;scroll-snap-align:center;display:grid;place-items:center;padding:80px 5vw 110px}.gallery-modal-track img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.55)}.gallery-modal-caption{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);padding:10px 16px;border-radius:999px;background:rgba(0,0,0,.55);font-size:12px;color:#fff;white-space:nowrap}
.video-reel .yt{transform:scale(1.38);transform-origin:center}.video-reel .video-overlay{background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.05) 45%,rgba(0,0,0,.76))}.video-bg-2025{background:radial-gradient(circle at 50% 45%,rgba(157,114,255,.28),transparent 30%),linear-gradient(135deg,#02060d,#101a35 48%,#030710)}
@media(max-width:700px){.gallery-content{width:92vw;padding:84px 0 108px}.gallery-carousel figure{flex-basis:86vw;border-radius:20px}.gallery-modal-track figure{padding:70px 14px 90px}.gallery-modal-caption{bottom:18px;max-width:85vw;overflow:hidden;text-overflow:ellipsis}.video-reel .yt{transform:scale(1.62)}.video-reel .reel-content.bottom{bottom:108px}}


/* ===== COI 2027 — STABILITY PATCH ===== */
html,body,#app{height:100%;min-height:100%;overflow:hidden}
#feed{height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden}
.reel{height:100dvh;min-height:100dvh;max-height:100dvh;width:100%;min-width:0;overflow:hidden;contain:layout paint}
.reel-content{width:min(980px,88vw);max-height:calc(100dvh - 170px);overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
.reel-content::-webkit-scrollbar{display:none}
.reel-content.center{width:min(1000px,88vw)}
.reel-content.bottom{width:min(760px,80vw);max-height:calc(100dvh - 190px);overflow:auto}
.split{height:100dvh;min-height:100dvh;overflow:hidden}
.profile-shell{height:calc(100dvh - 96px);max-height:calc(100dvh - 96px);overflow:auto}
.profile-grid{width:100%;min-width:0}
.profile-grid button{min-width:0}
.gallery-content{max-height:calc(100dvh - 110px);overflow:auto}
.gallery-carousel{max-width:100%;min-width:0}
.gallery-carousel figure{min-width:0}
.schedule,.space-grid,.faq-list,.feature-list,.journey,.pill-line,.chips{max-width:100%}
.schedule>div,.space-grid>button,.faq-list>div,.big-card{min-width:0;overflow:hidden}
.schedule span,.faq-list span{min-width:0;overflow-wrap:anywhere}
.video-reel .reel-content.bottom{pointer-events:none}
.side-meta{max-width:20vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bottom-nav{z-index:80;pointer-events:auto}
.progress{z-index:81}
.gallery-modal{z-index:200}
.gallery-modal-track{min-width:0;min-height:0}
.gallery-modal-track figure{min-width:100%;min-height:0;overflow:hidden}
.gallery-modal-track img{max-width:min(92vw,1400px);max-height:calc(100dvh - 150px)}

/* Prevent decorative layers from creating accidental horizontal overflow */
.reel:before,.reel:after,.grid,.orb,.orb-a,.orb-b,.video-bg,.video-overlay,.profile-bg,.science-orbit,.constellation,.expo-horizon,.network-cards,.future-lines,.map-orbit,.final-glow{max-width:100%;overflow:hidden}

/* Typography that stays inside the viewport */
.reel h1,.reel h2,.reel p{overflow-wrap:anywhere}
.reel h1,.reel h2{max-width:100%}
.hero-cta{max-width:100%}

/* Final credit */
.site-credit{margin-top:26px;font-size:11px!important;line-height:1.5!important;color:rgba(247,251,255,.62)!important;max-width:none!important}
.site-credit a{color:var(--cyan);text-decoration:none;font-weight:800}
.site-credit a:hover{text-decoration:underline}

@media (max-width:900px){
  .reel-content{width:calc(100vw - 40px);max-height:calc(100dvh - 150px);padding-left:0;padding-right:0}
  .reel-content.bottom{width:calc(100vw - 40px);max-height:calc(100dvh - 180px)}
  .reel-content.center{width:calc(100vw - 40px)}
  .side-meta{right:8px;max-width:24px;writing-mode:vertical-rl;white-space:normal;text-align:center;font-size:8px}
  .profile-shell{width:calc(100vw - 28px);height:calc(100dvh - 80px);max-height:calc(100dvh - 80px);padding-bottom:92px}
  .gallery-content{width:calc(100vw - 28px);max-height:calc(100dvh - 105px)}
  .gallery-carousel figure{flex-basis:calc(100vw - 36px);max-width:calc(100vw - 36px)}
  .schedule{grid-template-columns:1fr}
  .space-grid{grid-template-columns:1fr}
  .faq-list{width:100%}
  .faq-list>div{align-items:flex-start;flex-direction:column;gap:5px}
  .feature-list,.journey,.pill-line,.chips{justify-content:flex-start}
  .site-credit{font-size:9px!important;margin-top:18px}
}
@media (max-width:480px){
  .reel h1{font-size:clamp(38px,12.5vw,58px)}
  .reel h2{font-size:clamp(34px,10.5vw,52px)}
  .reel p{font-size:14px;line-height:1.45}
  .eyebrow{margin-bottom:12px}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .primary,.hero-cta .ghost{width:100%}
  .profile-head{align-items:flex-start}
  .profile-stats{gap:12px}
  .profile-stats small{font-size:9px}
  .profile-actions{flex-direction:column}
  .profile-actions .primary,.profile-action{max-width:none;width:100%}
  .profile-grid{gap:2px}
  .profile-grid button{font-size:24px}
  .bottom-nav{bottom:calc(7px + var(--safe));height:62px;width:calc(100vw - 14px)}
  .nav-item span{font-size:17px}
  .nav-item small{font-size:7px}
}

/* ===== COI 2027 · MARKET PEOPLE / INSTAGRAM EXPERIENCE ===== */
.topbar{transition:opacity .25s,transform .25s}
#app.profile-mode .topbar{opacity:0;transform:translateY(-20px);pointer-events:none}
.profile-top{height:44px}.profile-handle{font-size:18px}.verified{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#159fe8;color:#fff;font-style:normal;font-size:11px;margin-left:3px;vertical-align:2px}.profile-more{font-size:20px;letter-spacing:2px;opacity:.8;padding:8px}
.profile-avatar{background:linear-gradient(145deg,#f8fbff,#dfeaf5);border:3px solid rgba(255,255,255,.9);box-shadow:0 0 0 2px #32c8ff,0 16px 45px rgba(0,0,0,.35)}.profile-avatar img{filter:brightness(.55) saturate(1.25);}
.profile-actions{margin-bottom:18px}.profile-actions .primary,.profile-action{border-radius:12px;min-height:44px}.profile-actions .primary{color:#fff;background:linear-gradient(100deg,#1677ff,#12c5ef);box-shadow:0 8px 24px rgba(18,160,255,.22)}
.profile-grid button{background:linear-gradient(145deg,rgba(18,52,81,.92),rgba(4,12,24,.96));transition:transform .2s,filter .2s}.profile-grid button:hover{filter:brightness(1.18);transform:scale(.985)}
.profile-grid button span{position:relative;z-index:1}.profile-grid button:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 35%,rgba(85,215,255,.13));}
.bottom-nav{width:min(700px,calc(100% - 24px));grid-template-columns:repeat(7,1fr);height:74px;padding:6px;border-radius:27px;background:rgba(4,10,22,.78)}.nav-item{gap:5px}.nav-item span{width:28px;height:25px;display:grid;place-items:center}.nav-item span svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9}.nav-item small{font-size:9px;white-space:nowrap}.nav-item.active,.nav-item:hover{background:rgba(255,255,255,.08)}.nav-item.active span{color:#35d2ff}.whatsapp-mini{color:#27d366}
.reel-social{position:absolute;z-index:18;right:28px;bottom:145px;width:58px;display:flex;flex-direction:column;align-items:center;gap:16px}.social-action{display:flex;flex-direction:column;align-items:center;gap:5px}.social-btn{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(10,18,32,.55);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:.2s}.social-btn:hover{transform:scale(1.06);background:rgba(255,255,255,.12)}.social-btn svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.8}.social-action.liked .social-btn{color:#ff477e;background:rgba(255,55,105,.12)}.social-action.saved .social-btn{color:#55d7ff}.social-count{font-size:11px;font-weight:700;text-shadow:0 2px 10px #000}.social-avatar{width:54px;height:54px;border-radius:50%;background:#fff;border:3px solid #fff;overflow:hidden;box-shadow:0 0 0 2px #42d5ff}.social-avatar img{width:100%;height:100%;object-fit:contain;background:#071527}
.comment-modal{position:fixed;inset:0;z-index:260;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.45);backdrop-filter:blur(5px)}.comment-modal.open{display:flex}.comment-sheet{width:min(680px,100%);max-height:72dvh;background:rgba(8,15,28,.96);border:1px solid rgba(255,255,255,.14);border-radius:24px 24px 0 0;padding:18px 18px calc(18px + var(--safe));box-shadow:0 -20px 80px rgba(0,0,0,.45)}.comment-head{display:flex;align-items:center;justify-content:space-between}.comment-head b{font-size:15px}.comment-close{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);font-size:20px}.comment-list{display:grid;gap:12px;margin:18px 0;max-height:40dvh;overflow:auto}.comment-row{display:flex;gap:10px;align-items:flex-start}.comment-row img{width:34px;height:34px;border-radius:50%;background:#fff;object-fit:contain}.comment-row div{padding:9px 12px;border-radius:15px;background:rgba(255,255,255,.06);font-size:12px;line-height:1.45}.comment-form{display:flex;gap:8px}.comment-form input{min-width:0;flex:1;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;border-radius:14px;padding:12px 14px;outline:none}.comment-form button{padding:0 16px;border-radius:14px;background:#159fe8;font-weight:800}
@media(max-width:700px){.reel-social{right:10px;bottom:125px;gap:10px;width:48px}.social-btn,.social-avatar{width:46px;height:46px}.social-btn svg{width:24px;height:24px}.social-count{font-size:9px}.profile-shell{padding-top:8px}.profile-head{gap:18px}.profile-avatar{width:96px;height:96px}.profile-stats{gap:14px}.profile-stats b{font-size:19px}.profile-bio h1{font-size:22px}.profile-actions{flex-direction:row}.profile-actions .primary,.profile-action{font-size:12px;padding:10px 7px}.bottom-nav{height:70px;width:calc(100vw - 10px);bottom:calc(5px + var(--safe));border-radius:23px}.nav-item span{height:23px}.nav-item small{font-size:7px}.profile-scroll-hint{bottom:83px}}
@media(max-width:390px){.nav-item small{font-size:6.5px}.nav-item span svg{width:20px;height:20px}.profile-stats{gap:9px}.profile-stats small{font-size:8px}.profile-actions{gap:5px}}

/* ===== V6 — Instagram / Market People parity ===== */
.topbar{left:28px;right:28px;top:18px;height:62px;padding:6px 10px 6px 12px;border-radius:32px;background:rgba(4,10,22,.58)}
.brand{display:flex;align-items:center;gap:12px;padding:5px 16px 5px 8px;border:1px solid rgba(255,255,255,.12);border-radius:28px;background:rgba(2,8,18,.44);min-width:210px;justify-content:flex-start}
.brand img{height:38px;max-width:105px}.brand span{font-size:14px;letter-spacing:.04em;font-weight:700;color:#fff}
.top-whatsapp{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 28px rgba(0,0,0,.25)}
.top-whatsapp span{width:34px;height:34px;display:grid;place-items:center;color:#27d366}.top-whatsapp svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:1.7}
.profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);margin-top:8px}
.profile-tabs button{height:52px;color:rgba(255,255,255,.62);font-size:25px;border-bottom:2px solid transparent}.profile-tabs button.active{color:var(--cyan);border-bottom-color:var(--cyan)}
.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.profile-grid button{aspect-ratio:1;min-height:0}
.profile-grid button span{font-weight:800}
.reel-social{bottom:152px}
.reel-social .social-avatar{cursor:pointer}
.social-btn:active,.social-avatar:active,.nav-item:active,.top-whatsapp:active{transform:scale(.93)}
.info-modal{position:fixed;inset:0;z-index:280;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.58);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.info-modal.open{display:flex}.info-card{width:min(520px,92vw);border:1px solid rgba(255,255,255,.16);background:rgba(7,16,29,.96);border-radius:26px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.55);position:relative}.info-card h3{font-size:28px;margin:0 0 10px}.info-card p{font-size:15px;line-height:1.55;color:var(--muted);margin:0 0 22px}.info-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);font-size:22px}.info-ok{width:100%}
.site-credit a{cursor:pointer}
@media(max-width:900px){.topbar{left:14px;right:14px;top:10px;height:56px}.brand{min-width:180px}.brand img{height:34px}.brand span{font-size:12px}.top-whatsapp{width:44px;height:44px}.reel-social{right:12px;bottom:118px}.reel-content.bottom{left:20px;bottom:104px;width:calc(100vw - 105px);max-width:720px}.reel-content.bottom p{max-width:100%}.profile-shell{padding-top:4px}}
@media(max-width:480px){.profile-actions{flex-direction:row;gap:6px}.profile-actions .primary,.profile-action{min-width:0;padding:10px 5px;font-size:11px}.profile-head{gap:14px}.profile-avatar{width:88px;height:88px}.profile-stats{gap:10px}.profile-stats b{font-size:18px}.profile-stats small{font-size:8px}.profile-bio{margin:16px 0 12px}.profile-bio h1{font-size:21px}.profile-bio p{font-size:12px}.highlights button{min-width:70px}.highlights span{width:58px;height:58px}.profile-tabs button{height:44px;font-size:21px}.bottom-nav{height:68px;width:calc(100vw - 8px);bottom:calc(4px + var(--safe));border-radius:23px}.nav-item small{font-size:6.7px}.nav-item span svg{width:21px;height:21px}.reel-social{right:7px;bottom:105px;gap:8px}.social-btn,.social-avatar{width:44px;height:44px}.social-count{font-size:8px}.reel-content.bottom{bottom:94px;width:calc(100vw - 96px);padding:0}.reel-content.bottom h2{font-size:34px}.reel-content.bottom p{font-size:13px}.side-meta{display:none}}
/* COI Instagram-like profile: reference Market People only for interaction language, never its menu. */
.profile-reel{background:radial-gradient(circle at 50% 22%,rgba(32,151,222,.20),transparent 30%),linear-gradient(145deg,#020711 0%,#061529 58%,#02060d 100%)}
.profile-shell{width:min(720px,94vw);padding-top:24px;padding-bottom:120px}
.profile-top{margin-bottom:22px}
.profile-handle{font-size:19px;font-weight:800}
.profile-head{gap:28px}
.profile-avatar{width:108px;height:108px;flex:0 0 108px;border-radius:50%;background:#061425;border:3px solid #fff;box-shadow:0 0 0 2px #45d5ff,0 12px 35px rgba(0,0,0,.45)}
.profile-avatar img{width:78px;height:78px;filter:none}
.profile-stats{flex:1;justify-content:space-around;gap:12px}
.profile-stats div{text-align:center}.profile-stats b{font-size:23px}.profile-stats small{font-size:10px;letter-spacing:.04em}
.profile-bio{margin:20px 0 14px}.profile-bio h1{font-size:21px}.profile-bio p{font-size:13px}
.profile-actions{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:7px;margin-bottom:18px}
.profile-actions .primary,.profile-action{max-width:none;width:100%;min-height:40px;padding:9px 8px;border-radius:9px;font-size:12px}
.highlights{gap:14px;padding:4px 0 18px}.highlights button{min-width:64px}.highlights span{width:60px;height:60px;border:2px solid rgba(255,255,255,.35);font-size:21px}.highlights small{font-size:10px}
.profile-tabs{margin-top:0}.profile-tabs button{height:48px}
.profile-grid button{background:linear-gradient(145deg,rgba(10,53,82,.95),rgba(2,10,20,.98))}
.bottom-nav{width:min(560px,calc(100% - 18px));grid-template-columns:repeat(5,1fr);height:68px;padding:5px;border-radius:24px;bottom:calc(10px + var(--safe));}
.nav-item small{font-size:9px}.nav-item span{height:24px}.nav-item span svg{width:22px;height:22px}
.reel-social{right:22px;bottom:142px;gap:14px}.social-btn,.social-avatar{width:52px;height:52px}.social-btn svg{width:27px;height:27px}.social-count{font-size:10px}
.topbar{z-index:19}.topbar .brand span{font-weight:700;color:#e7f4ff}
@media(max-width:700px){.profile-shell{width:calc(100vw - 26px);height:calc(100dvh - 72px);max-height:calc(100dvh - 72px);padding-top:8px;padding-bottom:105px}.profile-avatar{width:92px;height:92px;flex-basis:92px}.profile-avatar img{width:66px;height:66px}.profile-head{gap:18px}.profile-stats b{font-size:19px}.profile-stats small{font-size:8px}.profile-bio{margin:15px 0 11px}.profile-bio h1{font-size:20px}.profile-bio p{font-size:12px}.profile-actions{grid-template-columns:1.25fr 1fr 1fr}.profile-actions .primary,.profile-action{font-size:11px;padding:9px 4px}.highlights{gap:9px}.highlights button{min-width:62px}.highlights span{width:54px;height:54px}.profile-tabs button{height:42px;font-size:20px}.bottom-nav{height:65px;width:calc(100vw - 12px);bottom:calc(5px + var(--safe));border-radius:22px}.nav-item small{font-size:8px}.nav-item span svg{width:21px;height:21px}.reel-social{right:8px;bottom:102px;gap:8px}.social-btn,.social-avatar{width:44px;height:44px}.social-btn svg{width:23px;height:23px}.social-count{font-size:8px}}
@media(max-width:390px){.profile-avatar{width:82px;height:82px;flex-basis:82px}.profile-avatar img{width:58px;height:58px}.profile-stats{gap:6px}.profile-stats b{font-size:17px}.profile-stats small{font-size:7px}.profile-bio h1{font-size:18px}.profile-bio p{font-size:11px}.profile-actions .primary,.profile-action{font-size:10px}.nav-item small{font-size:7px}}

/* V8 stability + Instagram-safe-zone corrections */
.profile-avatar{background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden;display:grid;place-items:center}
.profile-avatar img{width:100%!important;height:100%!important;object-fit:contain!important;display:block}
.social-avatar{background:transparent!important;border:0!important;box-shadow:none!important;padding:0;display:grid;place-items:center}
.social-avatar img{width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important;display:block}
.profile-bio h1{max-width:100%;text-wrap:balance}
.profile-tabs button span[data-icon="network"]{display:grid;place-items:center;width:100%;height:100%}
.profile-tabs button span[data-icon="network"] svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8}
.video-reel .yt{pointer-events:auto!important;z-index:6!important}
.video-reel .video-overlay{pointer-events:none!important;z-index:2!important}
.video-reel .video-bg{pointer-events:none!important}
.video-reel .video-frame{pointer-events:none!important}
.reel-social{right:clamp(12px,3vw,28px);z-index:18}

@media (max-width:900px){
  .reel-content.center{width:100%;max-width:100%;padding-left:24px;padding-right:88px}
  .reel-content:not(.center){max-width:100%;}
  .split-copy{padding-right:88px}
  .schedule,.space-grid{width:100%}
  .reel-content.bottom{left:20px;right:auto;width:calc(100vw - 122px);max-width:calc(100vw - 122px);padding-right:0}
  .reel-social{right:8px;bottom:calc(105px + var(--safe));width:48px;gap:7px}
  .social-btn,.social-avatar{width:44px;height:44px}
  .social-count{font-size:8px}
  .video-reel .yt{width:100%!important;height:100%!important;right:0!important;top:0!important;transform:none!important;border-radius:0!important;opacity:1!important}
  .video-reel .reel-content.bottom{bottom:calc(92px + var(--safe));width:calc(100vw - 122px);max-width:calc(100vw - 122px)}
  .video-reel .video-frame{left:24px;top:calc(72px + var(--safe));z-index:7}
}

@media (max-width:480px){
  .profile-bio h1{font-size:18px;line-height:1.08;max-width:310px}
  .profile-bio p{line-height:1.4}
  .highlights{overflow-x:auto;justify-content:flex-start;padding-bottom:4px;scrollbar-width:none}
  .highlights::-webkit-scrollbar{display:none}
  .highlights button{flex:0 0 auto}
  .reel-content.center{padding-right:82px}
  .reel-content.bottom{width:calc(100vw - 112px);max-width:calc(100vw - 112px)}
  .reel-social{right:6px;bottom:calc(96px + var(--safe))}
  .social-btn,.social-avatar{width:42px;height:42px}
  .social-btn svg{width:22px;height:22px}
  .video-reel .reel-content.bottom{width:calc(100vw - 112px);max-width:calc(100vw - 112px);bottom:calc(88px + var(--safe))}
}
@media(max-width:900px){.video-frame .play-ring{display:grid!important;pointer-events:auto!important;width:58px;height:58px;margin:14px 0;font-size:18px}.video-frame .video-note{display:none!important}}
