:root{--bg:#05060a;--panel:rgba(15,18,31,.62);--line:rgba(255,255,255,.10);--text:#f5f7fb;--muted:#a5adbd;--cyan:#69e4ff;--blue:#4f7bff;--violet:#9d6cff;--pink:#ff67d6;--radius:24px;--shadow:0 30px 100px rgba(0,0,0,.38)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% 10%,rgba(79,123,255,.11),transparent 28%),radial-gradient(circle at 20% 40%,rgba(157,108,255,.08),transparent 30%),var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,black,transparent 70%);z-index:-3}.noise{position:fixed;inset:0;opacity:.035;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");z-index:10}.shell{width:min(1180px,calc(100% - 40px));margin:0 auto}.nav-wrap{position:fixed;top:14px;left:0;right:0;z-index:20}.nav{height:70px;border:1px solid var(--line);background:rgba(8,10,16,.66);backdrop-filter:blur(20px);border-radius:22px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 18px;box-shadow:0 20px 50px rgba(0,0,0,.18)}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}.brand strong{font-family:"Space Grotesk";letter-spacing:.08em;font-size:.86rem;display:block}.brand small{display:block;color:#788194;font-size:.55rem;letter-spacing:.2em;margin-top:2px}.brand-mark{width:30px;height:30px;border-radius:10px;background:conic-gradient(from 30deg,var(--cyan),var(--violet),var(--pink),var(--cyan));display:grid;place-items:center;box-shadow:0 0 28px rgba(105,228,255,.28)}.brand-mark span{width:13px;height:13px;border-radius:50%;background:#080a10;box-shadow:inset 0 0 10px rgba(255,255,255,.18)}.nav-links{display:flex;gap:26px}.nav-links a,.mobile-menu a{color:#c1c7d4;text-decoration:none;font-size:.88rem}.nav-links a:hover,.mobile-menu a:hover{color:white}.btn{border:none;cursor:pointer;padding:13px 17px;border-radius:13px;font-weight:700;letter-spacing:.04em;font-size:.73rem;color:white;transition:.25s ease;display:inline-flex;gap:9px;align-items:center;justify-content:center;text-decoration:none}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(105deg,var(--blue),var(--violet));box-shadow:0 12px 30px rgba(91,105,255,.22)}.btn-secondary{background:rgba(255,255,255,.07);border:1px solid var(--line)}.btn-ghost{background:rgba(255,255,255,.03);border:1px solid var(--line)}.btn.grow{flex:1}.icon-btn{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid var(--line);color:white;cursor:pointer}.menu-btn{display:none}.mobile-menu{display:none}.hero{min-height:890px;display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:center;padding-top:90px;position:relative}.hero-copy{padding:70px 0}.eyebrow{color:#8290a8;letter-spacing:.18em;font-size:.62rem;font-weight:700}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#5ff0a8;box-shadow:0 0 16px #5ff0a8;margin-right:8px}.hero h1,.section-heading h2,.challenge-copy h2,.event-panel h2,.tech-panel h2{font-family:"Space Grotesk";font-size:clamp(3.5rem,7.2vw,7.1rem);line-height:.88;letter-spacing:-.065em;margin:18px 0}.hero h1 span,.section-heading span,.challenge-copy span,.event-panel span,.tech-panel span{background:linear-gradient(105deg,var(--cyan),#7f9cff,var(--violet),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy p{max-width:540px;color:var(--muted);line-height:1.75;font-size:1.02rem}.hero-actions{display:flex;gap:11px;margin:28px 0}.powered{color:#687287;font-size:.72rem}.hero-visual{height:650px;position:relative;display:grid;place-items:center;perspective:900px}.ai-core-wrap{position:relative;width:300px;height:300px;transform-style:preserve-3d;animation:float 5s ease-in-out infinite}.ai-core{position:absolute;inset:40px;border-radius:50%;background:radial-gradient(circle at 42% 35%,#d8fcff 0 3%,#68e4ff 8%,#526dff 25%,#5f3cdb 50%,#0a0d1e 73%);box-shadow:0 0 50px rgba(105,228,255,.25),0 0 120px rgba(157,108,255,.18),inset -20px -30px 55px rgba(0,0,0,.42);overflow:hidden}.core-glow{position:absolute;inset:-24px;border-radius:50%;background:conic-gradient(from 0deg,transparent 10%,rgba(105,228,255,.42),transparent 33%,rgba(255,103,214,.3),transparent 65%);filter:blur(12px);animation:spin 8s linear infinite}.core-ring{position:absolute;inset:-55px;border:1px solid rgba(105,228,255,.23);border-radius:50%;box-shadow:0 0 50px rgba(105,228,255,.08)}.core-dot{position:absolute;width:10px;height:10px;left:48%;top:46%;background:white;border-radius:50%;box-shadow:0 0 25px 10px rgba(255,255,255,.55)}.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%;transform:rotateX(64deg) rotateY(22deg)}.orbit-1{width:430px;height:190px;animation:spin 14s linear infinite}.orbit-2{width:520px;height:250px;transform:rotateX(72deg) rotateY(-34deg);animation:spinReverse 18s linear infinite}.orbit-3{width:610px;height:300px;transform:rotateX(66deg) rotateY(61deg);animation:spin 22s linear infinite}.float-card{position:absolute;border:1px solid var(--line);background:rgba(17,20,31,.72);backdrop-filter:blur(14px);padding:12px 15px;border-radius:14px;color:#d7dce7;font-size:.72rem;box-shadow:0 18px 45px rgba(0,0,0,.2)}.float-card span{color:var(--cyan);margin-right:5px}.card-a{left:6%;top:25%;animation:float 4.6s ease-in-out infinite}.card-b{right:2%;top:19%;animation:float 5.4s ease-in-out infinite reverse}.card-b span{display:block;color:#7e8aa0;font-size:.6rem;margin-top:3px}.card-c{right:7%;bottom:17%;animation:float 5.2s ease-in-out infinite}.mini-stat{position:absolute;left:8%;bottom:14%;padding:11px 14px;border-left:2px solid var(--cyan);background:linear-gradient(90deg,rgba(14,18,30,.9),transparent);display:flex;flex-direction:column}.mini-stat small{font-size:.55rem;color:#69758b;letter-spacing:.18em}.mini-stat strong{font-family:"Space Grotesk";font-size:1.5rem;letter-spacing:.05em}.live-mini{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}.live-mini .status-dot{width:6px;height:6px;margin:0}.live-mini span,.live-mini small{font-size:.5rem;color:#69758b;letter-spacing:.12em}.live-mini>strong{font-family:"Space Grotesk";font-size:.72rem;color:#dce3ef}.live-mini small:last-child{grid-column:2/-1;margin-top:-3px}.section{padding:115px 0;position:relative}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:38px}.section-heading h2{font-size:clamp(2.8rem,5vw,5rem);margin:10px 0 0}.section-heading p{max-width:420px;color:var(--muted);line-height:1.7}.centered{text-align:center;display:block}.centered p{margin:0 auto;max-width:560px}.experience-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.experience-card{position:relative;min-height:270px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012));color:white;text-align:left;border-radius:22px;padding:24px;overflow:hidden;cursor:pointer;transition:.35s ease}.experience-card:hover{transform:translateY(-6px);border-color:rgba(105,228,255,.24);box-shadow:var(--shadow)}.experience-card:before{content:"";position:absolute;width:170px;height:170px;right:-70px;top:-80px;background:radial-gradient(circle,rgba(105,228,255,.16),transparent 68%);filter:blur(8px)}.card-number{font-size:.6rem;letter-spacing:.17em;color:#59657a}.exp-icon{font-size:3rem;margin:34px 0 18px;color:#c9d4ff;text-shadow:0 0 28px rgba(127,156,255,.35)}.experience-card h3{font-family:"Space Grotesk";font-size:1.18rem;letter-spacing:.05em;margin:0 0 10px}.experience-card p{color:#8f99ab;line-height:1.6;font-size:.82rem;max-width:210px}.card-arrow{position:absolute;right:18px;bottom:18px;font-size:1rem;color:#7d8ba1}.create-section{padding-top:75px}.creator{display:grid;grid-template-columns:.9fr 1.1fr;gap:14px}.creator-controls,.creator-result{border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.048),rgba(255,255,255,.012));border-radius:24px}.creator-controls{padding:25px}.control-top{display:flex;justify-content:space-between;align-items:center}.text-btn{border:none;background:none;color:var(--cyan);font-size:.65rem;font-weight:700;letter-spacing:.08em;cursor:pointer}.creator textarea{width:100%;margin-top:16px;min-height:190px;resize:vertical;background:#080b13;color:white;border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:17px;font:inherit;line-height:1.65;outline:none}.creator textarea:focus{border-color:rgba(105,228,255,.3);box-shadow:0 0 0 4px rgba(105,228,255,.05)}.prompt-meta{text-align:right;color:#68758a;font-size:.6rem;margin-top:6px}.control-block{margin-top:21px}.control-label{font-size:.62rem;color:#7c879a;letter-spacing:.14em;font-weight:700;margin-bottom:10px}.chip-grid{display:flex;flex-wrap:wrap;gap:7px}.chip,.ratio{border:1px solid var(--line);background:rgba(255,255,255,.025);color:#9fa8b8;border-radius:12px;padding:10px 11px;font-size:.68rem;cursor:pointer;transition:.2s}.chip.active,.ratio.active{color:white;border-color:rgba(105,228,255,.34);background:rgba(105,228,255,.06);box-shadow:0 0 20px rgba(105,228,255,.05)}.ratio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.control-row{display:flex;gap:8px;margin-top:24px}.privacy-note{margin-top:12px;color:#5f6a7c;font-size:.62rem;line-height:1.5}.creator-result{min-height:600px;position:relative;overflow:hidden;display:flex;flex-direction:column}.result-empty,.result-loading{flex:1;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.result-empty h3{font-family:"Space Grotesk";font-size:1.1rem;margin:18px 0 8px}.result-empty p,.result-loading span{color:#788396;font-size:.78rem;max-width:290px;line-height:1.6}.empty-orb{width:115px;height:115px;border:1px solid rgba(105,228,255,.2);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,rgba(105,228,255,.12),transparent 68%);box-shadow:0 0 70px rgba(105,228,255,.09);animation:pulse 3s infinite}.empty-orb span{font-size:2rem;color:var(--cyan)}.result-loading strong{font-family:"Space Grotesk";font-size:1.1rem;letter-spacing:.12em;margin-top:20px}.loading-core{width:105px;height:105px;border-radius:50%;border:1px solid rgba(105,228,255,.25);border-top-color:var(--cyan);animation:spin 1.5s linear infinite;box-shadow:0 0 40px rgba(105,228,255,.15)}.result-image-wrap{position:relative;flex:1;min-height:500px;background:#03050a}.result-image-wrap img{width:100%;height:100%;object-fit:contain;background:#03050a;display:block}.image-overlay{position:absolute;left:16px;right:16px;bottom:16px;display:flex;justify-content:space-between;align-items:flex-end}.image-overlay>div{display:flex;flex-direction:column;gap:5px}.image-tag{font-size:.55rem;letter-spacing:.12em;color:#70f0cc}.image-overlay strong{font-family:"Space Grotesk"}.result-actions{padding:12px;display:grid;grid-template-columns:repeat(2,1fr) 1.5fr;gap:8px}.challenge-section{background:radial-gradient(circle at 72% 45%,rgba(130,96,255,.13),transparent 28%),linear-gradient(180deg,transparent,rgba(94,76,255,.04),transparent);overflow:hidden}.challenge-glow{position:absolute;width:500px;height:500px;right:-180px;top:5%;background:radial-gradient(circle,rgba(105,228,255,.14),transparent 67%);filter:blur(30px)}.challenge-grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:60px}.challenge-copy h2{font-size:clamp(3rem,5vw,5.4rem)}.challenge-copy p{max-width:480px;color:var(--muted);line-height:1.7}.challenge-card{min-height:390px;border:1px solid rgba(255,255,255,.12);border-radius:32px;padding:35px;background:linear-gradient(145deg,rgba(105,228,255,.06),rgba(157,108,255,.07),rgba(255,255,255,.02));box-shadow:var(--shadow);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.challenge-card:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-60px;top:-60px;background:radial-gradient(circle,rgba(255,103,214,.18),transparent 70%);filter:blur(16px)}.challenge-label{color:#6f7e95;letter-spacing:.18em;font-size:.6rem;font-weight:700}.challenge-word{font-family:"Space Grotesk";font-size:clamp(2.4rem,5.2vw,5rem);line-height:.94;max-width:600px;margin:20px 0;letter-spacing:-.06em}.challenge-tip{color:#7f8b9e;font-size:.78rem}.challenge-count{position:absolute;right:25px;bottom:25px;display:flex;gap:10px;align-items:end;flex-direction:column}.challenge-count span{font-size:.52rem;color:#6b7689;letter-spacing:.18em}.challenge-count strong{font-family:"Space Grotesk";font-size:2rem}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.filter{border:1px solid var(--line);background:rgba(255,255,255,.025);color:#8792a7;padding:10px 12px;border-radius:999px;font-size:.63rem;font-weight:700;letter-spacing:.06em;cursor:pointer}.filter.active{color:white;border-color:rgba(105,228,255,.3);background:rgba(105,228,255,.06)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#080b11;position:relative;aspect-ratio:1/1.07}.gallery-card img{width:100%;height:100%;object-fit:cover;display:block;transition:.5s}.gallery-card:hover img{transform:scale(1.04)}.gallery-info{position:absolute;left:0;right:0;bottom:0;padding:45px 14px 14px;background:linear-gradient(transparent,rgba(3,4,8,.96));display:flex;justify-content:space-between;align-items:end}.gallery-info strong{font-size:.76rem}.gallery-info small{display:block;color:#8893a7;font-size:.58rem;margin-top:4px}.gallery-actions{display:flex;gap:6px}.gallery-actions button{width:32px;height:32px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.32);color:white;cursor:pointer}.gallery-empty{text-align:center;padding:90px 20px;color:#8792a7}.gallery-empty h3{color:white;font-family:"Space Grotesk"}.empty-orb.small{width:90px;height:90px;margin:0 auto}.how-section{padding-top:70px}.steps{display:flex;align-items:stretch;gap:12px}.step{flex:1;padding:25px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025)}.step>span{color:#58657b;font-size:.65rem;letter-spacing:.18em}.step h3{font-family:"Space Grotesk";letter-spacing:.05em;margin:38px 0 10px}.step p{color:#7f899b;font-size:.78rem;line-height:1.6}.step-line{flex:0 0 20px;align-self:center;height:1px;background:linear-gradient(90deg,transparent,#536179,transparent)}.tech-panel,.event-panel{border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.016));padding:45px;display:grid;grid-template-columns:1fr .7fr;gap:30px;align-items:center;overflow:hidden;position:relative}.tech-panel h2,.event-panel h2{font-size:clamp(2.8rem,5vw,5rem)}.tech-panel p,.event-panel p{max-width:520px;color:var(--muted);line-height:1.7}.tech-orb{width:260px;height:260px;border-radius:50%;margin-left:auto;display:grid;place-items:center;position:relative;background:radial-gradient(circle at 35% 30%,#b7fbff,#5273ff 22%,#5432ba 48%,#0c0d1d 70%);box-shadow:0 0 100px rgba(105,228,255,.15)}.tech-orb span{font-family:"Space Grotesk";font-size:4rem;font-weight:700;letter-spacing:-.08em}.tech-ring{position:absolute;inset:-24px;border:1px solid rgba(105,228,255,.2);border-radius:50%;transform:rotateX(68deg);animation:spin 9s linear infinite}.tech-ring.r2{inset:-55px;transform:rotateY(65deg) rotateX(50deg);animation:spinReverse 13s linear infinite}.event-panel{grid-template-columns:1fr 1fr}.event-meta{display:grid;grid-template-columns:1fr;gap:15px}.event-meta>div{border-left:2px solid #5667ff;padding:11px 14px;background:rgba(255,255,255,.025)}.event-meta small{color:#657187;font-size:.54rem;letter-spacing:.18em;display:block;margin-bottom:6px}.event-meta strong{font-size:.8rem}.footer{padding:45px 0 65px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#667287;font-size:.65rem}.footer p{margin:0}.reveal{opacity:1;visibility:visible;transform:none;transition:opacity .75s ease,transform .75s ease}.reveal.visible{opacity:1;visibility:visible;transform:none}.hero-visual{transform:perspective(900px) rotateY(var(--mx,0deg)) rotateX(var(--my,0deg));transition:transform .2s ease-out}.hidden{display:none!important}.modal,.lightbox{position:fixed;inset:0;background:rgba(2,3,7,.8);backdrop-filter:blur(16px);display:grid;place-items:center;z-index:50;padding:20px}.modal-card{width:min(560px,100%);border:1px solid var(--line);border-radius:28px;background:#0b0e16;padding:30px;position:relative;box-shadow:var(--shadow)}.modal-card h2{font-family:"Space Grotesk";font-size:2.5rem;line-height:.98;margin:12px 0}.modal-card h2 span{background:linear-gradient(105deg,var(--cyan),var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}.modal-card p{color:#7f899c;font-size:.8rem;line-height:1.6}.modal-close{position:absolute;top:16px;right:16px;border:none;background:rgba(255,255,255,.06);color:white;width:34px;height:34px;border-radius:10px;font-size:1.25rem;cursor:pointer}.modal-card form{display:grid;gap:12px;margin-top:22px}.modal-card label{font-size:.68rem;color:#8994a7;display:grid;gap:6px}.modal-card input,.modal-card textarea{width:100%;background:#070910;border:1px solid var(--line);border-radius:13px;padding:12px;color:white;font:inherit}.modal-card textarea{min-height:100px;resize:vertical}.check{display:flex!important;grid-template-columns:auto 1fr;grid-template-columns:16px 1fr;align-items:start;gap:8px!important;line-height:1.4}.check input{margin-top:2px}.submit-success{text-align:center;padding:40px 20px}.success-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:rgba(95,240,168,.12);color:#6cf1b3;font-size:1.7rem}.submit-success h3{font-family:"Space Grotesk";font-size:2rem;margin:5px 0}.lightbox img{max-width:min(1100px,90vw);max-height:86vh;object-fit:contain;border-radius:18px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,18px);padding:12px 15px;border:1px solid var(--line);background:rgba(9,11,18,.9);backdrop-filter:blur(14px);border-radius:12px;color:white;font-size:.72rem;opacity:0;pointer-events:none;transition:.25s;z-index:60}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes spinReverse{to{transform:rotate(-360deg)}}@keyframes float{50%{transform:translateY(-14px) rotateZ(.4deg)}}@keyframes pulse{50%{transform:scale(1.05);box-shadow:0 0 90px rgba(105,228,255,.16)}}
@media(max-width:980px){.nav-links{display:none}.menu-btn{display:block}.hero{grid-template-columns:1fr;min-height:auto;padding-top:145px}.hero-copy{text-align:center;padding:20px 0}.hero-copy p{margin-left:auto;margin-right:auto}.hero-actions{justify-content:center}.hero-visual{height:520px}.experience-grid{grid-template-columns:repeat(2,1fr)}.creator,.challenge-grid,.event-panel,.tech-panel{grid-template-columns:1fr}.challenge-grid{gap:30px}.tech-orb{margin:0 auto}.gallery-grid{grid-template-columns:repeat(2,1fr)}.steps{display:grid;grid-template-columns:1fr 1fr}.step-line{display:none}.footer{flex-wrap:wrap}}
@media(max-width:640px){.shell{width:min(100% - 24px,1180px)}.nav{height:62px;border-radius:18px}.nav-cta{display:none}.hero h1{font-size:clamp(3.1rem,17vw,5rem)}.hero-visual{height:430px;transform:scale(.88)}.card-a{left:0}.card-b{right:0}.card-c{right:0;bottom:8%}.mini-stat{left:0;bottom:8%}.section{padding:78px 0}.section-heading{display:block}.section-heading p{margin-top:20px}.experience-grid{grid-template-columns:1fr}.creator-controls{padding:17px}.result-actions{grid-template-columns:1fr 1fr}.result-actions button:last-child{grid-column:1/-1}.creator-result{min-height:510px}.result-image-wrap{min-height:420px}.challenge-copy h2{font-size:clamp(2.9rem,15vw,4.5rem)}.challenge-card{min-height:330px;padding:24px}.challenge-word{font-size:2.5rem}.gallery-grid{grid-template-columns:1fr 1fr;gap:8px}.gallery-card{border-radius:14px}.tech-panel,.event-panel{padding:28px}.tech-orb{width:190px;height:190px}.tech-orb span{font-size:3rem}.steps{grid-template-columns:1fr}.footer{align-items:flex-start;flex-direction:column}.mobile-menu{margin:8px auto 0;width:min(100% - 24px,1180px);padding:10px;border:1px solid var(--line);border-radius:18px;background:rgba(8,10,16,.92);backdrop-filter:blur(20px)}.mobile-menu.open{display:grid}.mobile-menu a{padding:12px 10px}.modal-card{padding:22px}.control-row{flex-direction:column}.btn.grow{flex:auto}}

/* AI Corner v6 fun + aspect-ratio enhancements */
.fun-actions{display:flex;gap:14px;align-items:center}
.vibe-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.vibe{border:1px solid var(--line);background:rgba(255,255,255,.025);color:#9fa8b8;border-radius:12px;padding:9px 8px;font-size:.62rem;font-weight:700;letter-spacing:.06em;cursor:pointer;transition:.2s}
.vibe.active{color:white;border-color:rgba(255,103,214,.32);background:rgba(255,103,214,.06);box-shadow:0 0 20px rgba(255,103,214,.05)}
.ratio-grid{grid-template-columns:repeat(3,1fr)}
.ratio{display:flex;gap:9px;align-items:center;justify-content:flex-start;text-align:left;min-height:58px}
.ratio>span:last-child{display:flex;flex-direction:column;gap:3px}
.ratio strong{font-size:.62rem;letter-spacing:.06em;color:inherit}
.ratio small{font-size:.52rem;color:#6e798c;white-space:nowrap}
.ratio-shape{display:block;border:1px solid currentColor;border-radius:4px;opacity:.8;box-shadow:inset 0 0 8px rgba(105,228,255,.08);flex:0 0 auto}
.ratio-1-1{width:27px;height:27px}.ratio-4-5{width:24px;height:30px}.ratio-16-9{width:32px;height:19px}
.ratio-help{margin-top:8px;font-size:.57rem;color:#667287;line-height:1.5}
.fun-bar{margin-top:14px;display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.02)}
.fun-bar span{font-size:.56rem;color:#68758a}
.fun-bar-btn{border:1px solid rgba(105,228,255,.23);background:rgba(105,228,255,.05);color:#bfefff;padding:8px 10px;border-radius:999px;font-size:.58rem;font-weight:800;letter-spacing:.05em;cursor:pointer}.fun-bar-btn.secondary{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#aab4c5}
.challenge-timer{position:absolute;top:25px;right:25px;font-family:"Space Grotesk";font-size:2rem;letter-spacing:.04em;color:#d8e2ff;text-shadow:0 0 20px rgba(105,228,255,.18)}
.challenge-timer.urgent{color:#ff9acb;animation:pulse .8s infinite}
.hidden-file{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.result-image-wrap[data-ratio="4:5"]{aspect-ratio:4/5;min-height:0}
.result-image-wrap[data-ratio="16:9"]{aspect-ratio:16/9;min-height:0}
.result-image-wrap[data-ratio="1:1"]{aspect-ratio:1/1;min-height:0}
@media(max-width:980px){.vibe-grid{grid-template-columns:repeat(3,1fr)}.fun-actions{gap:8px}}
@media(max-width:640px){.vibe-grid{grid-template-columns:repeat(3,1fr)}.ratio-grid{grid-template-columns:1fr}.ratio{min-height:54px}.fun-bar{align-items:flex-start;flex-direction:column}.challenge-timer{top:18px;right:18px;font-size:1.5rem}}

.selfie-consent{margin-top:12px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(105,228,255,.03);display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.selfie-consent>div{display:flex;flex-direction:column;gap:4px}.selfie-consent strong{font-size:.58rem;letter-spacing:.12em;color:#bff6ff}.selfie-consent small{font-size:.56rem;color:#6f7b8f;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.check-inline{display:flex;gap:7px;align-items:flex-start;color:#8793a6;font-size:.57rem;line-height:1.5}.check-inline input{margin-top:2px}.selfie-consent.hidden{display:none!important}
@media(max-width:640px){.selfie-consent{grid-template-columns:1fr}.check-inline{max-width:100%}}

/* AI Selfie Booth */
.camera-modal{position:fixed;inset:0;background:rgba(2,3,7,.84);backdrop-filter:blur(18px);display:grid;place-items:center;z-index:70;padding:18px}
.camera-card{width:min(720px,100%);border:1px solid var(--line);border-radius:30px;background:linear-gradient(150deg,#0d111b,#080a11);padding:26px;position:relative;box-shadow:0 30px 100px rgba(0,0,0,.45);overflow:hidden}
.camera-card h2{font-family:"Space Grotesk";font-size:clamp(2rem,5vw,3.4rem);line-height:.98;margin:10px 0}.camera-card h2 span{background:linear-gradient(105deg,var(--cyan),var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}.camera-card p{color:#808b9e;line-height:1.6;font-size:.75rem;max-width:560px}
.camera-stage{position:relative;margin-top:18px;aspect-ratio:4/3;border:1px solid rgba(255,255,255,.08);border-radius:24px;overflow:hidden;background:#03050a;display:grid;place-items:center}.camera-stage video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);filter:saturate(1.06) contrast(1.02)}
.camera-guide{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.camera-guide span{width:min(54%,280px);aspect-ratio:3/4;border:1px solid rgba(191,246,255,.62);border-radius:46% 46% 42% 42% / 40% 40% 60% 60%;box-shadow:0 0 45px rgba(105,228,255,.08);position:relative}.camera-guide span:before,.camera-guide span:after{content:"";position:absolute;width:26px;height:26px}.camera-guide span:before{left:-1px;top:-1px;border-left:2px solid var(--cyan);border-top:2px solid var(--cyan);border-radius:10px 0 0 0}.camera-guide span:after{right:-1px;bottom:-1px;border-right:2px solid #8c7cff;border-bottom:2px solid #8c7cff;border-radius:0 0 10px 0}
.camera-status{position:absolute;left:14px;bottom:14px;padding:8px 10px;border-radius:999px;background:rgba(5,7,12,.72);border:1px solid rgba(255,255,255,.08);font-size:.56rem;letter-spacing:.08em;color:#c9d2e1;backdrop-filter:blur(12px)}
.camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.camera-actions .btn{width:100%}
.selfie-ideas{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;color:#626f83;font-size:.56rem;letter-spacing:.1em}.selfie-preset{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:#9aa6b9;border-radius:999px;padding:8px 10px;font-size:.55rem;font-weight:800;cursor:pointer}.selfie-preset:hover{color:white;border-color:rgba(105,228,255,.25)}
.selfie-preview-mini{width:56px;height:56px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#03050a}.selfie-preview-mini img{width:100%;height:100%;object-fit:cover}.selfie-consent{grid-template-columns:auto auto 1fr auto auto}
@media(max-width:640px){.camera-card{padding:18px;border-radius:24px}.camera-actions{grid-template-columns:1fr}.selfie-consent{grid-template-columns:1fr 1fr}.selfie-preview-mini{width:64px;height:64px}.selfie-consent .check-inline{grid-column:1/-1}.selfie-consent .fun-bar-btn{width:100%}.camera-stage{aspect-ratio:3/4}.camera-guide span{width:64%;}}

/* High-fidelity selfie guidance */
.face-lock-badge{position:absolute;top:18px;right:18px;display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid rgba(105,228,255,.25);background:rgba(5,10,18,.72);backdrop-filter:blur(12px);border-radius:999px;color:#c9f6ff;box-shadow:0 0 24px rgba(105,228,255,.08)}
.face-lock-badge strong{font-size:.53rem;letter-spacing:.09em}.face-lock-badge small{font-size:.48rem;color:#77879b}.face-lock-dot{width:7px;height:7px;border-radius:50%;background:#74f3c4;box-shadow:0 0 12px #74f3c4;animation:pulse 1.6s infinite}
.selfie-tips{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px;color:#708095;font-size:.53rem;letter-spacing:.06em}.selfie-tips span:first-child{color:#bff6ff;font-weight:800;letter-spacing:.1em}
@media(max-width:640px){.face-lock-badge{left:14px;right:auto;top:14px}.face-lock-badge small{display:none}.selfie-tips{line-height:1.6}}

/* Security honeypot: invisible to real visitors, visible to naive bots. */
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Dedicated live gallery + mobile refinement */
.active-link{color:#fff!important}
.gallery-preview-copy{display:flex;flex-direction:column;gap:16px;align-items:flex-start;max-width:470px}
.gallery-preview-card{border:1px solid var(--line);border-radius:28px;padding:18px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));overflow:hidden}
.preview-live{display:flex;align-items:center;gap:9px;padding:9px 10px 15px;border-bottom:1px solid rgba(255,255,255,.06)}
.preview-live strong{font-size:.58rem;letter-spacing:.13em}.preview-live small{color:#657185;font-size:.56rem;margin-left:auto}
.preview-grid{display:grid;grid-template-columns:1.35fr .8fr .8fr;gap:10px;min-height:310px;padding-top:12px}
.preview-tile{border-radius:18px;min-height:140px;border:1px solid rgba(255,255,255,.08);position:relative;overflow:hidden;background:radial-gradient(circle at 35% 20%,rgba(105,228,255,.22),transparent 22%),radial-gradient(circle at 70% 60%,rgba(157,108,255,.24),transparent 28%),linear-gradient(145deg,#11172a,#070912 75%)}
.preview-tile:before{content:"";position:absolute;inset:15% 12%;border-radius:45% 55% 52% 48%;border:1px solid rgba(105,228,255,.25);box-shadow:0 0 60px rgba(105,228,255,.11),inset 0 0 35px rgba(255,255,255,.04);transform:rotate(-8deg)}
.preview-tile:after{content:"";position:absolute;left:10%;right:10%;bottom:10%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent)}
.preview-tile span{position:absolute;left:13px;bottom:12px;font-size:.5rem;letter-spacing:.15em;color:#a7b3c6;z-index:2}
.tile-1{grid-row:span 2}.tile-2{background:radial-gradient(circle at 65% 30%,rgba(255,103,214,.2),transparent 25%),linear-gradient(145deg,#171126,#080910 75%)}.tile-3{background:radial-gradient(circle at 35% 40%,rgba(76,171,255,.2),transparent 25%),linear-gradient(145deg,#0e1821,#070910 75%)}
.gallery-page{min-height:100vh}
.gallery-bg-orb{position:fixed;width:480px;height:480px;border-radius:50%;filter:blur(10px);pointer-events:none;z-index:-2;opacity:.65}.orb-left{left:-250px;top:35%;background:radial-gradient(circle,rgba(105,228,255,.08),transparent 64%)}.orb-right{right:-240px;top:8%;background:radial-gradient(circle,rgba(157,108,255,.09),transparent 64%)}
.gallery-hero{min-height:740px;padding-top:160px;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
.gallery-hero-copy h1{font-family:"Space Grotesk";font-size:clamp(3.6rem,7.5vw,7rem);line-height:.86;letter-spacing:-.065em;margin:18px 0}.gallery-hero-copy h1 span,.gallery-wall-head h2 span,.gallery-how-card h2 span{background:linear-gradient(105deg,var(--cyan),#7f9cff,var(--violet),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}.gallery-hero-copy p{max-width:650px;color:var(--muted);line-height:1.75;font-size:1rem}.gallery-hero-actions{display:flex;gap:10px;margin-top:28px}
.gallery-live-card{border:1px solid var(--line);border-radius:28px;padding:26px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015));box-shadow:0 35px 100px rgba(0,0,0,.28);position:relative;overflow:hidden}.gallery-live-card:before{content:"";position:absolute;width:260px;height:260px;right:-120px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(105,228,255,.18),transparent 68%)}
.live-card-top{display:flex;align-items:center;gap:8px;font-size:.58rem;letter-spacing:.13em}.live-card-top small{color:#687589;margin-left:auto;font-size:.49rem}.live-pulse{width:8px;height:8px;border-radius:50%;background:#66f0b4;box-shadow:0 0 18px #66f0b4;animation:pulse 1.6s infinite}
.live-metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:42px}.live-metric-grid>div{padding:16px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07)}.live-metric-grid small{display:block;color:#69768b;font-size:.49rem;letter-spacing:.14em}.live-metric-grid strong{display:block;margin-top:8px;font:700 2rem "Space Grotesk"}.live-card-foot{margin-top:28px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;color:#6e7a8e;font-size:.52rem;letter-spacing:.08em}
.gallery-wall-section{padding-top:55px}.gallery-wall-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}.gallery-wall-head h2{font:700 clamp(2.7rem,5vw,5rem)/.9 "Space Grotesk";letter-spacing:-.06em;margin:10px 0 0}.gallery-wall-head p{max-width:420px;color:var(--muted);line-height:1.7}.gallery-filters-live{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;scrollbar-width:none}.gallery-filters-live::-webkit-scrollbar{display:none}
.live-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px;margin-top:22px;align-items:start;justify-content:center}.live-gallery-card{border:1px solid var(--line);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.01));border-radius:20px;overflow:hidden;animation:galleryCardIn .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--delay);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.live-gallery-card:hover{transform:translateY(-5px);border-color:rgba(105,228,255,.24);box-shadow:0 24px 70px rgba(0,0,0,.22)}.live-gallery-card.is-featured{box-shadow:0 0 0 1px rgba(255,103,214,.12)}
.live-gallery-media{position:relative;aspect-ratio:1/1;background:radial-gradient(circle at 50% 30%,rgba(105,228,255,.05),transparent 50%),#070a11;overflow:hidden;display:grid;place-items:center}.live-gallery-card[data-ratio="4:5"] .live-gallery-media{aspect-ratio:4/5}.live-gallery-card[data-ratio="16:9"] .live-gallery-media{aspect-ratio:16/9}.live-gallery-media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .5s ease;image-rendering:auto}.live-gallery-card:hover .live-gallery-media img{transform:scale(1.035)}
.live-gallery-badges{position:absolute;left:10px;right:10px;top:10px;display:flex;gap:6px;justify-content:space-between}.gallery-tag{padding:6px 8px;border:1px solid rgba(255,255,255,.13);background:rgba(4,6,11,.66);backdrop-filter:blur(10px);border-radius:999px;font-size:.45rem;color:#d0d9e8;letter-spacing:.08em}.gallery-tag.featured{color:#ffb9e8;border-color:rgba(255,103,214,.22)}
.live-gallery-body{padding:14px 14px 15px}.live-gallery-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.live-gallery-title strong{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-gallery-title span{color:#6b7890;font-size:.5rem;letter-spacing:.09em;white-space:nowrap}.live-gallery-meta{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:#69768a;font-size:.56rem;line-height:1.5}.live-gallery-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-gallery-actions{display:flex;gap:6px;margin-top:11px}.live-gallery-actions button{flex:1;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);color:#a8b3c3;border-radius:9px;padding:8px 9px;font-size:.5rem;font-weight:800;letter-spacing:.07em;cursor:pointer}.live-gallery-actions button:hover{color:#fff;border-color:rgba(105,228,255,.22)}
.gallery-how-section{padding-top:55px}.gallery-how-card{border:1px solid var(--line);border-radius:28px;padding:30px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.01));display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:30px}.gallery-how-card h2{font:700 clamp(2.5rem,4.4vw,4.4rem)/.92 "Space Grotesk";letter-spacing:-.055em;margin:12px 0 0}.gallery-flow{display:grid;grid-template-columns:auto auto auto auto auto auto auto;align-items:center;gap:12px;color:#9aa7ba;font-size:.64rem}.gallery-flow span{color:#d8e2ef;font:700 1rem "Space Grotesk"}.gallery-flow strong{font-size:.61rem;letter-spacing:.07em;color:#b7c0cf;white-space:nowrap}.gallery-flow em{color:#536278;font-style:normal}
.gallery-lightbox{z-index:90}.gallery-lightbox-inner{max-width:min(1180px,94vw);max-height:92vh;display:grid;place-items:center;position:relative}.gallery-lightbox-inner img{max-width:100%;max-height:82vh;width:auto;height:auto;border-radius:18px;box-shadow:0 35px 120px rgba(0,0,0,.5);object-fit:contain}.gallery-lightbox-caption{position:absolute;left:16px;bottom:16px;padding:10px 12px;border-radius:12px;background:rgba(5,7,12,.74);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(12px);display:flex;gap:10px;align-items:center}.gallery-lightbox-caption strong{font:700 .78rem "Space Grotesk"}.gallery-lightbox-caption span{color:#9aa6b8;font-size:.58rem}
.modal-open{overflow:hidden}
@keyframes galleryCardIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

@media(max-width:1100px){
  .live-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gallery-hero{grid-template-columns:1fr .8fr;gap:35px}
  .gallery-how-card{grid-template-columns:1fr}
}
@media(max-width:800px){
  .gallery-hero{min-height:auto;padding-top:130px;padding-bottom:60px;grid-template-columns:1fr}.gallery-live-card{max-width:680px}
  .gallery-wall-head{display:block}.gallery-wall-head p{margin-top:16px}.live-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .preview-grid{grid-template-columns:1fr 1fr;min-height:0}.tile-1{grid-row:span 2}.gallery-preview-copy{max-width:none}
  .gallery-flow{grid-template-columns:auto 1fr auto 1fr;row-gap:16px}.gallery-flow em:nth-of-type(n+3){display:none}.gallery-flow span:nth-of-type(n+3),.gallery-flow strong:nth-of-type(n+3){display:none}
}
@media(max-width:640px){
  .shell{width:min(100% - 20px,1180px)}
  .nav-wrap{top:8px}.nav{padding:0 8px 0 12px;height:58px}.brand-mark{width:28px;height:28px}.brand strong{font-size:.78rem}.brand small{font-size:.49rem}.menu-btn{width:40px;height:40px}
  .hero{padding-top:120px}.hero-copy{padding:12px 0}.hero h1{font-size:clamp(3rem,18vw,4.8rem);line-height:.89}.hero-copy p{font-size:.9rem;line-height:1.65}.hero-actions{display:grid;grid-template-columns:1fr;gap:8px}.hero-actions .btn{width:100%}.hero-visual{height:350px;transform:scale(.77);margin-top:-22px}
  .section{padding:65px 0}.section-heading h2{font-size:clamp(2.5rem,14vw,4rem)}.section-heading{margin-bottom:26px}
  .experience-card{min-height:220px;padding:19px;border-radius:18px}.exp-icon{font-size:2.35rem;margin:26px 0 13px}.experience-card p{font-size:.75rem}.experience-grid{gap:9px}
  .creator{grid-template-columns:1fr}.creator-controls{padding:14px;border-radius:18px}.creator-result{min-height:430px;border-radius:18px}.creator textarea{min-height:145px;padding:14px}.control-row{margin-top:18px}.control-top{align-items:flex-start;gap:10px}.fun-actions{flex-wrap:wrap}.text-btn{font-size:.57rem}.chip-grid{gap:6px}.chip{padding:9px 9px}.vibe-grid{gap:6px}.vibe{padding:8px 6px}.ratio-grid{gap:6px}.ratio{padding:9px 10px}.ratio small{font-size:.5rem}
  .result-image-wrap{min-height:320px}.result-empty{padding:26px 16px}.result-actions{grid-template-columns:1fr}.result-actions button:last-child{grid-column:auto}.result-actions .btn{width:100%}
  .challenge-card{padding:20px;min-height:290px}.challenge-word{font-size:2.1rem}.challenge-timer{font-size:1.35rem;top:16px;right:16px}
  .selfie-consent{grid-template-columns:1fr}.selfie-consent .check-inline{grid-column:auto}.selfie-consent .fun-bar-btn{width:100%}.camera-card{max-height:calc(100dvh - 20px);overflow:auto;padding:15px}.camera-stage{border-radius:18px}.camera-card p{font-size:.69rem}
  .gallery-preview-card{padding:12px;border-radius:20px}.preview-grid{grid-template-columns:1fr 1fr;gap:7px}.preview-tile{border-radius:13px;min-height:100px}.preview-live{align-items:flex-start;flex-wrap:wrap}.preview-live small{width:100%;margin-left:17px}.gallery-preview-copy .btn{width:100%}
  .gallery-hero-copy h1{font-size:clamp(3rem,17vw,5rem)}.gallery-hero-copy p{font-size:.9rem;line-height:1.65}.gallery-hero-actions{display:grid;grid-template-columns:1fr}.gallery-hero-actions .btn{width:100%}.gallery-live-card{padding:18px;border-radius:20px}.live-metric-grid{margin-top:26px;gap:7px}.live-metric-grid>div{padding:12px;border-radius:12px}.live-metric-grid strong{font-size:1.5rem}.live-card-foot{display:block;line-height:1.9}.gallery-wall-section{padding-top:35px}.live-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.live-gallery-card{border-radius:16px}.live-gallery-body{padding:11px}.live-gallery-title strong{font-size:.66rem}.live-gallery-meta{font-size:.5rem}.live-gallery-actions button{padding:9px 6px;font-size:.46rem}.gallery-filters-live{margin-right:-10px;padding-right:10px}.gallery-how-card{padding:21px;border-radius:20px}.gallery-how-card h2{font-size:2.5rem}.gallery-flow{grid-template-columns:auto 1fr;gap:10px 12px}.gallery-flow em{display:none}.gallery-lightbox-inner{max-width:96vw}.gallery-lightbox-inner img{max-height:76vh;border-radius:12px}.gallery-lightbox-caption{left:9px;bottom:9px}
}
@media(max-width:380px){.live-gallery-grid{grid-template-columns:1fr}.gallery-hero-copy h1{font-size:2.85rem}.vibe-grid{grid-template-columns:repeat(2,1fr)}.ratio-grid{grid-template-columns:1fr}.preview-grid{grid-template-columns:1fr}.tile-1{grid-row:auto}.preview-tile{min-height:140px}}


/* Mobile navigation + touch refinements v11 */
@media (max-width: 980px) {
  .nav { gap: 10px; }
  .nav-links, .nav-cta { display: none !important; }
  .menu-btn {
    display: grid !important;
    place-items: center;
    position: relative;
    flex: 0 0 42px;
  }
  .menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #e9f0ff;
    border-radius: 99px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .menu-btn span + span { margin-top: -5px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-menu {
    display: grid !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px) scale(.985);
    transform-origin: top center;
    max-height: 0;
    overflow: hidden;
    margin: 8px auto 0;
    width: min(calc(100% - 20px), 1180px);
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(8,10,16,.94);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
    transition: opacity .2s ease, transform .2s ease, max-height .25s ease, padding .25s ease, border-color .2s ease;
  }
  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    max-height: 420px;
    padding: 8px 10px;
    border-color: var(--line);
  }
  .mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    font-size: .82rem;
  }
  .mobile-menu a:hover, .mobile-menu a:focus-visible {
    background: rgba(255,255,255,.055);
    outline: none;
  }
}
@media (max-width: 640px) {
  body.mobile-nav-open { overflow: hidden; }
  .nav-wrap { top: max(8px, env(safe-area-inset-top)); }
  .nav {
    height: 60px;
    padding-left: 10px;
    padding-right: 8px;
    border-radius: 18px;
  }
  .brand { min-width: 0; }
  .brand > span:last-child { min-width: 0; }
  .brand strong, .brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .shell { width: min(calc(100% - 20px), 1180px); }
  .btn { min-height: 48px; }
  .ratio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .ratio { min-height: 58px; padding: 8px 6px; }
  .ratio > span:last-child { min-width: 0; }
  .ratio strong, .ratio small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .creator-controls, .creator-result { min-width: 0; }
  .creator textarea { font-size: .88rem; }
  .gallery-hero { padding-top: 116px; }
  .gallery-filters-live { overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  .gallery-filters-live .filter { scroll-snap-align: start; flex: 0 0 auto; min-height: 42px; padding: 10px 12px; }
  .gallery-wall-head p { max-width: none; }
  .live-gallery-grid { align-items: start; }
  .live-gallery-card { min-width: 0; }
  .live-gallery-meta { gap: 6px; }
  .live-gallery-actions button { min-height: 40px; }
  .gallery-live-card, .gallery-how-card { min-width: 0; }
}
@media (max-width: 380px) {
  .shell { width: min(calc(100% - 16px), 1180px); }
  .nav { height: 56px; }
  .brand strong { font-size: .72rem; }
  .brand small { font-size: .45rem; }
  .menu-btn { flex-basis: 40px; width: 40px; height: 40px; }
  .mobile-menu { width: min(calc(100% - 16px), 1180px); }
  .ratio { min-height: 54px; }
  .live-gallery-actions { flex-direction: column; }
  .live-gallery-actions button { width: 100%; }
}


/* Final live gallery refinements */
.live-gallery-grid:has(.live-gallery-card:nth-child(1):last-child),
.live-gallery-grid:has(.live-gallery-card:nth-child(2):last-child){justify-content:center}
.live-gallery-card{min-width:0}
.live-gallery-media{isolation:isolate}
.live-gallery-media::after{content:"";position:absolute;inset:auto 0 0;height:28%;background:linear-gradient(to top,rgba(4,6,11,.28),transparent);pointer-events:none;z-index:1}
.live-gallery-badges{z-index:2}
.live-gallery-media img{position:relative;z-index:0}
@media (min-width: 1181px){.live-gallery-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));}}
@media (max-width: 820px){.live-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-wall-head{display:block}.gallery-wall-head p{margin-top:14px}}
@media (max-width: 560px){.live-gallery-grid{grid-template-columns:1fr;gap:12px}.live-gallery-card[data-ratio="4:5"] .live-gallery-media{max-height:none}.live-gallery-title strong{font-size:.74rem}.live-gallery-title span{font-size:.48rem}.live-gallery-meta{font-size:.54rem}.live-gallery-actions{gap:8px}.live-gallery-actions button{min-height:44px}}
.gallery-image-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#8490a3;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;background:radial-gradient(circle at 50% 35%,rgba(105,228,255,.07),transparent 45%),#080b12}
