/* LiLy Live home — below-the-fold sections (loaded after first paint). */
/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    background: var(--card); padding: 28px; display: flex; flex-direction: column;
    box-shadow: 0 1px 0 rgba(31, 26, 22, .04);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tile h3 { font-size: var(--text-h3); }
.tile p { color: var(--ink-3); font-size: 15px; margin-top: 8px; max-width: 34ch; }
.tile .kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
.t-multi { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, #FFF4EA 0%, #FFE3CF 100%); }
.t-stat { grid-column: span 2; justify-content: center; align-items: flex-start; }
.t-game { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; padding-bottom: 0; }
.t-game p { color: rgba(255, 255, 255, .72); }
.t-game .kicker { color: var(--sun); }
.t-frames { grid-column: span 4; grid-row: span 2; background: #2A211B; color: #fff; }
.t-frames p { color: rgba(255, 255, 255, .72); }
.t-frames .kicker { color: var(--sun); }
.t-chat { grid-column: span 4; }
.t-sched { grid-column: span 4; }

.tile .stat { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 4rem + 2vw, 88px); letter-spacing: -.05em; line-height: .9; }
.tile .stat.grad { background: linear-gradient(135deg, var(--orange) 10%, var(--pink) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile .stat-label { font-weight: 600; margin-top: 10px; color: var(--ink); font-size: 16px; }
.tile .stat-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Multistream mock */
.dest-list { margin-top: auto; display: grid; gap: 10px; max-width: 460px; padding-top: 28px; }
.dest-row {
    display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-md);
    padding: 12px 14px; box-shadow: var(--shadow-soft);
}
.dest-row .logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-display); }
.dest-row .who { flex: 1; min-width: 0; }
.dest-row .who b { display: block; font-size: 15px; }
.dest-row .who small { color: var(--muted); font-size: 13px; }
.switch { width: 40px; height: 24px; border-radius: 12px; background: var(--orange); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.switch.off { background: var(--cream-2); }
.switch.off::after { right: auto; left: 3px; }
.go-live {
    margin-top: 6px; text-align: center; font-weight: 700; color: #fff; background: var(--orange);
    border-radius: var(--r-pill); padding: 12px; letter-spacing: .04em; font-size: 14px;
}

.t-game img { margin: 24px auto 0; width: 82%; border-radius: 20px 20px 0 0; }

/* Live frames mock */
.frames-stage { flex: 1; margin-top: 24px; min-height: 260px; display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.frame-shot {
    position: relative; min-height: 110px; border-radius: 14px; overflow: hidden;
    background:
        radial-gradient(60% 80% at 30% 30%, rgba(255, 176, 32, .55), transparent 60%),
        radial-gradient(60% 80% at 80% 70%, rgba(255, 59, 107, .45), transparent 60%),
        linear-gradient(135deg, #5B4636, #2A211B);
}
.frame-shot .f { position: absolute; font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; font-size: 12px; }
.frame-shot:first-child { grid-row: span 2; }
.frame-shot:first-child .f { font-size: 15px; }
.frame-shot:first-child .f-breaking .b { font-size: 14px; padding: 6px 10px; }
.f-breaking { left: 12px; bottom: 14px; right: 12px; }
.f-breaking .t { display: inline-block; background: var(--live); color: #fff; padding: 2px 8px; border-radius: 4px 4px 0 0; }
.f-breaking .b { background: #fff; color: var(--ink); padding: 4px 8px; font-weight: 600; font-family: var(--font-body); font-size: 11px; letter-spacing: 0; border-radius: 0 4px 4px 4px; }
.f-onair { top: 10px; left: 10px; background: var(--live); color: #fff; padding: 4px 10px; border-radius: 6px; box-shadow: 0 0 18px rgba(255, 59, 48, .7); }
.f-sub { right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 4px 4px 10px; border-radius: 8px; font-size: 11px; }
.f-sub span { background: #fff; color: var(--ink); padding: 3px 8px; border-radius: 5px; }
.f-sale { top: 12px; right: 10px; background: var(--sun); color: var(--ink); padding: 4px 8px; border-radius: 6px; transform: rotate(-4deg); }

/* Chat mock */
.chat-list { margin-top: 20px; display: grid; gap: 8px; }
.bubble { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.bubble .av { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative; }
.bubble .av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: var(--c); }
.bubble div { background: var(--cream); border-radius: 4px 14px 14px 14px; padding: 7px 12px; }
.bubble b { font-weight: 600; margin-right: 6px; }

/* Schedule mock */
.sched-card { margin-top: 20px; display: flex; gap: 14px; align-items: center; background: var(--cream); border-radius: var(--r-md); padding: 14px; }
.sched-date { width: 58px; text-align: center; background: #fff; border-radius: 12px; padding: 6px 0; box-shadow: var(--shadow-soft); }
.sched-date small { display: block; font-size: 11px; font-weight: 700; color: var(--live); letter-spacing: .08em; }
.sched-date b { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.sched-info b { display: block; }
.sched-info small { color: var(--muted); }

@media (max-width: 991px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .t-multi, .t-frames { grid-column: span 2; }
    .t-stat { grid-column: span 1; }
    .t-game { grid-column: span 2; grid-row: span 1; }
    .t-game img { width: 56%; max-width: 280px; }
    .t-chat, .t-sched { grid-column: span 2; }
}
@media (max-width: 560px) {
    .tile { padding: 22px; }
    .frames-stage { grid-template-columns: 1fr; grid-template-rows: none; }
    .frame-shot:first-child { grid-row: auto; min-height: 190px; }
    .frames-stage .frame-shot:nth-child(3) { display: none; }
}

/* ---------- Shorts spotlight ---------- */
.shorts { background: var(--ink); color: #fff; border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.5vw, 24px); overflow: hidden; position: relative; isolation: isolate; }
.shorts::before {
    content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -200px;
    background: radial-gradient(closest-side, rgba(255, 102, 0, .45), transparent);
}
.shorts .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.shorts .badge { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .08em; padding: 5px 12px; border-radius: var(--r-pill); }
.shorts h2 { font-size: var(--text-h2); margin: 20px 0; }
.shorts h2 em { font-style: normal; color: var(--orange-2); }
.shorts p.lede { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 480px; }
.shorts .ticks { margin-top: 28px; display: grid; gap: 14px; }
.shorts .ticks li { display: flex; gap: 12px; align-items: flex-start; }
.shorts .ticks svg { width: 22px; height: 22px; flex: none; color: var(--orange-2); margin-top: 1px; }

.clip-stage { display: flex; justify-content: center; gap: 20px; align-items: center; }
.clip {
    width: 230px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; position: relative;
    background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); border: 6px solid #111;
}
.clip .vid { width: 100%; height: 100%; object-fit: cover; }
.clip .cap {
    position: absolute; left: 12px; right: 12px; bottom: 64px; text-align: center;
    font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.1;
    color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.clip .cap mark { background: var(--sun); color: var(--ink); padding: 0 6px; border-radius: 4px; }
.timeline {
    position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 4px;
    background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 8px;
}
.track { height: 8px; border-radius: 4px; display: flex; gap: 3px; }
.track i { border-radius: 3px; flex: var(--w, 1); }
.track.v i { background: rgba(255, 255, 255, .85); }
.track.m i { background: var(--orange-2); }
.track.vo i { background: var(--pink); }
.track i.gap { background: transparent; }
.clip-side { display: grid; gap: 12px; }
.chip-tool { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-md); padding: 10px 14px; font-size: 14px; font-weight: 500; }
.chip-tool i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

@media (max-width: 991px) {
    .shorts .container { grid-template-columns: 1fr; }
    .clip-stage { justify-content: flex-start; }
}
@media (max-width: 480px) { .clip { width: 190px; } .clip-side { display: none; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A16' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform 200ms var(--ease-out), background-color 200ms;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq summary:hover::after { background-color: #FFD9BF; }
.faq details p { color: var(--ink-3); padding: 0 4px 22px; max-width: 680px; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
    border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.5vw, 24px); padding: clamp(64px, 9vw, 120px) var(--gutter);
    background: linear-gradient(120deg, var(--orange) 0%, #FF4D2E 55%, var(--pink) 100%);
}
.cta::before {
    content: ""; position: absolute; z-index: -1; inset: 0; opacity: .25; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta h2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 800; letter-spacing: -.045em; }
.cta p { font-size: 18px; opacity: .9; margin: 16px auto 36px; max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .foot-h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-grid li + li { margin-top: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { color: var(--ink-3); margin-top: 14px; max-width: 300px; font-size: 15px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }


/* ---------- Shared: tabs/chips ---------- */
.seg { display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; }
.seg button { white-space: nowrap; flex: none; }
.seg button, .chip {
    font: 600 14px var(--font-body); color: var(--ink-2); background: transparent; border: 0; cursor: pointer;
    padding: 9px 16px; border-radius: var(--r-pill); transition: background-color 150ms, color 150ms;
}
.seg button:hover, .chip:hover { background: var(--cream-2); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border: 1px solid var(--line); font-weight: 500; padding: 8px 14px; }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.dark .chip:hover { background: rgba(255, 255, 255, .12); }
.dark .chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }

.phone {
    position: relative; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 40px; overflow: hidden; flex: none;
    background: #111; border: 8px solid #111; box-shadow: var(--shadow-lift);
}
.phone .screen { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; }
.pill-live { position: absolute; top: 14px; left: 14px; z-index: 5; display: flex; gap: 6px; align-items: center; }
.pill-live b { background: #D92D20; color: #fff; font: 700 11px var(--font-display); letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; }
.pill-live span { background: rgba(0, 0, 0, .5); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }

/* ---------- Effects lab ---------- */
.fx { background: var(--ink); color: #fff; border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.5vw, 24px); }
.fx .section-head h2 { color: #fff; }
.fx .section-head p { color: rgba(255, 255, 255, .72); }
.fx-wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.fx-controls { display: grid; gap: 22px; }
.fx-group h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; }
.fx-group p { color: rgba(255, 255, 255, .6); font-size: 14px; margin-top: 8px; }
.fx-more { color: rgba(255, 255, 255, .72); font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }

.fx-stage { --aura: transparent; }
.fx-layer { position: absolute; inset: 0; }
.fx-bg { background: url("../images/fx/room.webp") center bottom / cover; filter: blur(9px) brightness(.75); transform: scale(1.12); transition: filter 300ms; }
.fx-stage[data-bg="blur"] .fx-bg { filter: blur(20px) brightness(.85); transform: scale(1.18); }
.fx-stage[data-bg="aurora"] .fx-bg { filter: none; transform: none; background: linear-gradient(120deg, #00c9a7, #845ec2, #ff6f91, #ffc75f, #00c9a7); background-size: 300% 300%; animation: aurora 8s ease infinite; }
.fx-stage[data-bg="space"] .fx-bg { filter: none; transform: none; background:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 40% 70%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 85%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 45%, #fff 50%, transparent 51%),
    radial-gradient(60% 50% at 70% 30%, rgba(132, 94, 194, .6), transparent 70%), #0b0b23;
    background-size: 120px 120px, 90px 90px, 150px 150px, 110px 110px, 130px 130px, 70px 70px, 100% 100%, 100% 100%;
    animation: drift 30s linear infinite; }
.fx-stage[data-bg="beach"] .fx-bg { filter: none; transform: none; background: linear-gradient(180deg, #7fd3ff 0%, #bfeaff 45%, #ffe2a8 46%, #ffd28a 100%); }
@keyframes aurora { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes drift { to { background-position: 120px 0, -90px 0, 150px 0, -110px 0, 130px 0, 70px 0, 0 0, 0 0; } }

.fx-person { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2 / 3; }
.fx-person img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter 300ms; }
.fx-stage[data-aura="neon"] .fx-person img { filter: drop-shadow(0 0 6px #3df5ff) drop-shadow(0 0 18px #3df5ff); animation: auraPulse 1.6s ease-in-out infinite; }
.fx-stage[data-aura="fire"] .fx-person img { filter: drop-shadow(0 0 6px #ffb020) drop-shadow(0 0 20px #ff4d00); animation: auraPulse 1s ease-in-out infinite; }
.fx-stage[data-aura="magic"] .fx-person img { filter: drop-shadow(0 0 6px #ff7bf2) drop-shadow(0 0 20px #8a5cff); animation: auraPulse 2s ease-in-out infinite; }
.fx-stage[data-aura="gold"] .fx-person img { filter: drop-shadow(0 0 6px #ffe08a) drop-shadow(0 0 18px #ffb020); animation: auraPulse 2.4s ease-in-out infinite; }
@keyframes auraPulse { 50% { opacity: .88; } }
.fx-stage[data-personfx="hologram"] .fx-person img { filter: sepia(1) hue-rotate(140deg) saturate(4) brightness(1.1) drop-shadow(0 0 10px #3df5ff); opacity: .85; animation: flicker 2.2s infinite; }
.fx-stage[data-personfx="hologram"] .fx-scan { background: repeating-linear-gradient(0deg, rgba(61, 245, 255, .12) 0 2px, transparent 2px 5px); animation: scan 3s linear infinite; }
.fx-stage[data-personfx="hologram"] .fx-bg { filter: grayscale(1) brightness(.5); }
@keyframes flicker { 0%, 100% { opacity: .85; } 47% { opacity: .85; } 48% { opacity: .5; } 50% { opacity: .9; } }
@keyframes scan { to { background-position: 0 40px; } }

.fx-sticker { display: none; position: absolute; left: 50%; transform: translate(-50%, -50%); font-size: 64px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.fx-stage[data-sticker="shades"] .s-shades,
.fx-stage[data-sticker="crown"] .s-crown,
.fx-stage[data-sticker="ears"] .s-ears,
.fx-stage[data-sticker="halo"] .s-halo { display: block; }
.s-shades { top: 33%; font-size: 92px; }
.s-crown { top: 7%; font-size: 84px; }
.s-ears { top: 4%; font-size: 110px; }
.s-halo { top: 3%; font-size: 92px; }

.fx-particles span { position: absolute; top: -10%; font-size: 22px; opacity: 0; }
.fx-stage[data-particles] .fx-particles span { animation: fall linear infinite; }
.fx-stage[data-particles="hearts"] .fx-particles span { animation-name: rise; top: auto; bottom: -10%; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(640px) rotate(240deg); opacity: .9; } }
@keyframes rise { 0% { transform: translateY(0) scale(.8); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-640px) scale(1.1); opacity: 0; } }

.fx-stage[data-filter="warm"] .screen { filter: sepia(.35) saturate(1.3) contrast(1.05); }
.fx-stage[data-filter="cool"] .screen { filter: hue-rotate(-12deg) saturate(1.2) brightness(1.05); }
.fx-stage[data-filter="mono"] .screen { filter: grayscale(1) contrast(1.15); }
.fx-stage[data-filter="vivid"] .screen { filter: saturate(1.8) contrast(1.1); }
@media (max-width: 860px) { .fx-wrap { grid-template-columns: 1fr; } .fx-wrap .phone { margin: 0 auto; } }
@media (max-width: 380px) { .phone { width: 260px; } }

/* ---------- Frames wall ---------- */
.frames-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fw { margin: 0; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; color: #fff;
    background:
        radial-gradient(50% 70% at 30% 35%, rgba(255, 190, 140, .55), transparent 65%),
        radial-gradient(50% 70% at 75% 70%, rgba(120, 140, 255, .35), transparent 65%),
        linear-gradient(135deg, #6a5444, #2e2520); }
.fw { aspect-ratio: 3 / 4 !important; isolation: isolate; }
.fw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: blur(1.5px) brightness(.85) saturate(1.1); transform: scale(1.04); transition: transform 600ms var(--ease-out), filter 400ms; }
.fw:hover .fw-img { filter: none; transform: scale(1.08); }
.fw::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .35), transparent 22%, transparent 70%, rgba(0, 0, 0, .25)); }
.fw figcaption { position: absolute; top: 10px; right: 10px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(0, 0, 0, .45); padding: 3px 8px; border-radius: 6px; }
.fw .ticker { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; background: #fff; color: var(--ink); height: 26px; font-size: 12px; font-weight: 600; overflow: hidden; }
.fw .ticker b { background: var(--live); color: #fff; height: 100%; display: grid; place-items: center; padding: 0 10px; font-family: var(--font-display); letter-spacing: .06em; flex: none; z-index: 1; }
.fw .ticker span { white-space: nowrap; padding-left: 100%; animation: tick 9s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
.fw .breaking { position: absolute; left: 10px; right: 10px; bottom: 34px; }
.fw .breaking b { background: var(--live); padding: 3px 8px; font: 800 12px var(--font-display); letter-spacing: .06em; border-radius: 4px 4px 0 0; }
.fw .breaking div { background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 8px; border-radius: 0 4px 4px 4px; margin-top: 2px; }
.fw .onair { position: absolute; top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--live); padding: 4px 10px; border-radius: 6px; font: 800 13px var(--font-display); letter-spacing: .08em; animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 22px rgba(255, 59, 48, .9); } }
.fw .border { position: absolute; inset: 6px; border: 3px solid var(--c); border-radius: 12px; }
.fw .cta-pulse { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--c); padding: 5px 14px; border-radius: 6px; font: 800 12px var(--font-display); letter-spacing: .08em; animation: pop 1.4s ease-in-out infinite; }
@keyframes pop { 50% { transform: translateX(-50%) scale(1.1); } }
.fw .np { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 10px; align-items: center; background: rgba(0, 0, 0, .55); padding: 6px 10px; border-radius: 10px; font-size: 11px; }
.fw .eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.fw .eq i { width: 3px; background: var(--sun); animation: eq 0.9s ease-in-out infinite; }
.fw .eq i:nth-child(2) { animation-delay: -.3s; } .fw .eq i:nth-child(3) { animation-delay: -.6s; } .fw .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.fw .scrim { position: absolute; inset: 0; background: rgba(20, 14, 10, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-content: center; text-align: center; gap: 6px; }
.fw .scrim b { font: 800 18px var(--font-display); letter-spacing: -.01em; }
.fw .dots { display: flex; gap: 5px; justify-content: center; }
.fw .dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dot 1.2s infinite; }
.fw .dots i:nth-child(2) { animation-delay: .2s; } .fw .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.fw .goal { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .55); border-radius: 10px; padding: 6px 8px; font-size: 11px; font-weight: 600; }
.fw .goal .track2 { height: 6px; background: rgba(255, 255, 255, .2); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.fw .goal .track2 i { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--orange)); animation: progress 6s ease-out infinite; }
.fw .qna { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, #5b3cff, #9146ff); padding: 7px 12px; font: 800 13px var(--font-display); letter-spacing: .04em; }
.fw .gift { position: absolute; inset: 0; display: grid; place-items: center; }
.fw .gift b { background: linear-gradient(135deg, #ffe08a, #ffb020); color: var(--ink); padding: 8px 16px; border-radius: 12px; font: 800 15px var(--font-display); box-shadow: 0 6px 24px rgba(255, 176, 32, .5); animation: pop2 1.8s ease-in-out infinite; }
@keyframes pop2 { 50% { transform: scale(1.08) rotate(-2deg); } }
@media (max-width: 991px) { .frames-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Alerts + voice ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .tile { min-height: 420px; }
.alert-stage { position: relative; isolation: isolate; margin-top: auto; height: 250px; border-radius: var(--r-md); overflow: hidden;
    background: radial-gradient(60% 80% at 50% 30%, rgba(255, 190, 140, .5), transparent 70%), linear-gradient(135deg, #6a5444, #2e2520); }
.alert { position: absolute; left: 50%; top: 50%; width: 82%; display: flex; gap: 12px; align-items: center;
    background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    border-left: 6px solid var(--c); opacity: 0; transform: translate(-50%, -30%) scale(.9);
    animation: alertCycle 10s var(--ease-out) infinite; }
.alert:nth-child(2) { animation-delay: 2.5s; } .alert:nth-child(3) { animation-delay: 5s; } .alert:nth-child(4) { animation-delay: 7.5s; }
.alert .em { font-size: 28px; }
.alert b { display: block; font-size: 15px; }
.alert small { color: var(--muted); font-size: 13px; }
@keyframes alertCycle {
    0% { opacity: 0; transform: translate(-50%, -30%) scale(.9); }
    4% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
    7% { transform: translate(-50%, -50%) scale(1); }
    21% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    25% { opacity: 0; transform: translate(-50%, -70%) scale(.96); }
    100% { opacity: 0; }
}
.voice-stage { margin-top: auto; padding-top: 24px; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 120px; margin-bottom: 20px; }
.wave i { width: 6px; height: 30%; border-radius: 3px; background: var(--vc, var(--orange)); animation: wave var(--vs, 1s) ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 12%; } 50% { height: var(--vh, 90%); } }
.voice-stage[data-voice="female"] { --vc: #FF6FA8; --vs: .7s; --vh: 70%; }
.voice-stage[data-voice="deep"] { --vc: #4C6FFF; --vs: 1.5s; --vh: 100%; }
.voice-stage[data-voice="kid"] { --vc: #FFB020; --vs: .45s; --vh: 55%; }
.voice-stage[data-voice="robot"] { --vc: #3DD6C8; --vs: .3s; --vh: 80%; }
.voice-stage[data-voice="monster"] { --vc: #7A3CFF; --vs: 1.8s; --vh: 100%; }
.voice-stage[data-voice="echo"] { --vc: #9AA4B2; --vs: 1.1s; --vh: 85%; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Shorts additions ---------- */
.shorts .container.moments-wrap { display: block; }
.moments { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mo-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 24px; }
.mo-card h3 { font-size: 22px; }
.mo-card p { color: rgba(255, 255, 255, .68); font-size: 15px; margin-top: 6px; }
.live-line { position: relative; height: 54px; margin-top: 22px; }
.live-line::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.live-line span { position: absolute; top: 12px; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 15px; box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
.live-line small { position: absolute; top: 46px; transform: translateX(-50%); font-size: 11px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tools span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; } }

/* ---------- After the live ---------- */
.after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary { align-self: start; background: var(--card); border-radius: var(--r-lg); padding: 28px; }
.sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum-head b { font-family: var(--font-display); font-size: 22px; }
.sum-head span { color: var(--muted); font-size: 14px; }
.sum-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.sum-stats div { background: var(--cream); border-radius: 14px; padding: 14px; }
.sum-stats b { display: block; font: 800 26px var(--font-display); letter-spacing: -.03em; }
.sum-stats small { color: var(--muted); font-size: 12px; }
.sum-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sum-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.sum-row span { flex: 1; }
.sum-actions { display: flex; gap: 8px; margin-top: 16px; }
.sum-actions span { flex: 1; text-align: center; padding: 11px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; background: var(--cream); }
.sum-actions span.primary { background: var(--orange); color: #fff; }
.library { background: var(--card); border-radius: var(--r-lg); padding: 28px; }
.lib-tabs { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.lib-tabs span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream); }
.lib-tabs span.on { background: var(--ink); color: #fff; }
.vod { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.vod .th { position: relative; width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; flex: none; background: var(--g); }
.vod .th small { z-index: 1; position: absolute; right: 5px; bottom: 5px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 4px; }
.vod b { display: block; font-size: 14px; }
.vod span { color: var(--muted); font-size: 12px; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.presets div { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--cream); border-radius: 14px; padding: 14px 6px; font-size: 13px; font-weight: 600; }
.presets i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 800 15px var(--font-display); font-style: normal; background: var(--c); }
.lock { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .after { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .fx-particles span { display: none; }
    .alert { animation: none !important; }
    .alert:first-child { opacity: 1; transform: translate(-50%, -50%); }
    .fw .ticker span { padding-left: 0; }
}

/* ---------- Layout variety ---------- */
.section-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head.center p { justify-self: center; }
.t-chat, .t-sched { grid-column: span 3; }
@media (max-width: 991px) { .t-chat, .t-sched { grid-column: span 2; } }

.fx-intro h2 { font-size: var(--text-h2); color: #fff; }
.fx-intro p { color: rgba(255, 255, 255, .72); font-size: 17px; margin-top: 14px; max-width: 460px; }
.kicker-l { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.fx-intro { margin-bottom: 8px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side h2 { font-size: var(--text-h2); }
.faq-side p { color: var(--ink-3); margin-top: 14px; font-size: 17px; }
.faq-wrap .faq { margin: 0; max-width: none; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .faq-side { position: static; } }

/* ---------- Live modes: centered stage ---------- */
.mtabs { display: flex; justify-content: center; margin-bottom: 8px; }
.mtabs .seg button { position: relative; overflow: hidden; }
.mtabs .seg button[aria-selected="true"]::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 1px;
    background: var(--sun); transform-origin: left; transform: scaleX(0);
    animation: tabFill var(--auto, 6s) linear forwards;
}
.mstage.paused ~ * .seg button::after, .mtabs.paused .seg button::after { animation-play-state: paused; }
@keyframes tabFill { to { transform: scaleX(1); } }

.mstage {
    --tone: 255, 102, 0;
    position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
    align-items: center; padding: 40px 0 8px; min-height: 700px;
}
.mstage[data-mode="game"] { --tone: 120, 92, 255; }
.mstage[data-mode="video"] { --tone: 255, 59, 107; }
.mstage[data-mode="rec"] { --tone: 255, 59, 48; }
.mglow {
    position: absolute; z-index: -2; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(var(--tone), .38), rgba(var(--tone), .12) 55%, transparent 75%);
    transition: background 600ms var(--ease-out); pointer-events: none;
}
.morbit { position: absolute; z-index: -1; left: 50%; top: 50%; pointer-events: none; }
.morbit i {
    position: absolute; left: 0; top: 0; border-radius: 50%; border: 1.5px dashed rgba(var(--tone), .35);
    transform: translate(-50%, -50%); animation: spin 40s linear infinite; transition: border-color 600ms;
}
.morbit i:nth-child(1) { width: 520px; height: 520px; }
.morbit i:nth-child(2) { width: 680px; height: 680px; animation-duration: 70s; animation-direction: reverse; border-style: solid; border-color: rgba(var(--tone), .14); }
.morbit i::after {
    content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%;
    background: rgb(var(--tone)); box-shadow: 0 0 18px rgba(var(--tone), .8); transition: background 600ms;
}
.morbit i:nth-child(2)::after { display: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.mphone { width: 340px; transform: rotate(-2deg); transition: transform 600ms var(--ease-out); }
.mstage[data-mode="game"] .mphone { transform: rotate(2deg); }
.mstage[data-mode="video"] .mphone { transform: rotate(-1deg) translateY(-6px); }
.mstage[data-mode="rec"] .mphone { transform: rotate(1.5deg); }

.mscreen { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); filter: blur(8px); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), filter 500ms; overflow: hidden; }
.mscreen.on { opacity: 1; transform: none; filter: none; }

/* Side cards */
.mside { position: relative; height: 100%; min-height: 520px; }
.mset { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; pointer-events: none; }
.mside.left .mset { align-items: flex-end; }
.mcard {
    display: flex; gap: 12px; align-items: center; max-width: 290px;
    background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-soft);
    opacity: 0; transform: translateY(16px) scale(.96);
    transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.mside.left .mcard:nth-child(2) { margin-right: 44px; }
.mside.right .mcard:nth-child(2) { margin-left: 44px; }
.mset.on .mcard { opacity: 1; transform: none; pointer-events: auto; }
.mset.on .mcard:nth-child(1) { transition-delay: 150ms; }
.mset.on .mcard:nth-child(2) { transition-delay: 300ms; }
.mset.on .mcard:nth-child(3) { transition-delay: 450ms; }
.mcard .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(var(--tone), .12); }
.mcard b { display: block; font-size: 15px; }
.mcard small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }

.mcaption { text-align: center; max-width: 560px; margin: 28px auto 0; min-height: 96px; }
.mcap { display: none; }
.mcap.on { display: block; animation: capIn 500ms var(--ease-out); }
.mcap h3 { font-size: clamp(26px, 1.6vw + 1rem, 36px); }
.mcap p { color: var(--ink-3); font-size: 17px; margin-top: 8px; }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }

/* --- Camera screen --- */
.sc-onair { position: absolute; top: 52px; left: 14px; background: #D92D20; color: #fff; font: 800 12px var(--font-display); letter-spacing: .08em; padding: 4px 10px; border-radius: 6px; animation: glow 1.6s ease-in-out infinite; }
.hearts { position: absolute; right: 18px; bottom: 120px; width: 60px; height: 260px; pointer-events: none; }
.hearts span { position: absolute; bottom: 0; left: 50%; font-size: 22px; opacity: 0; animation: heartUp 3.2s ease-out infinite; }
.hearts span:nth-child(2) { animation-delay: .6s; left: 20%; font-size: 18px; }
.hearts span:nth-child(3) { animation-delay: 1.2s; left: 70%; }
.hearts span:nth-child(4) { animation-delay: 1.8s; left: 35%; font-size: 26px; }
.hearts span:nth-child(5) { animation-delay: 2.4s; left: 60%; font-size: 16px; }
@keyframes heartUp {
    0% { opacity: 0; transform: translate(-50%, 0) scale(.6); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translate(calc(-50% + 18px), -240px) scale(1.15) rotate(12deg); }
}
.feed { position: absolute; left: 12px; right: 70px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.feed p {
    width: max-content; max-width: 100%; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 12px; opacity: 0; transform: translateX(-16px);
    animation: feedIn 6s var(--ease-out) infinite;
}
.feed p b { margin-right: 4px; }
.feed p:nth-child(2) { animation-delay: .9s; }
.feed p:nth-child(3) { animation-delay: 1.8s; }
.feed p:nth-child(4) { animation-delay: 2.7s; }
@keyframes feedIn { 0% { opacity: 0; transform: translateX(-16px); } 8% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-8px); } }

/* --- Game / video overlays --- */
.pop-alert {
    position: absolute; left: 50%; top: 130px; display: flex; gap: 8px; align-items: center; white-space: nowrap;
    background: #fff; color: var(--ink); border-left: 5px solid var(--c, #9146FF); border-radius: 12px; padding: 8px 12px; font-size: 12px; font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, -10px) scale(.9);
    animation: popAlert 5s var(--ease-out) infinite 1s;
}
@keyframes popAlert { 0% { opacity: 0; transform: translate(-50%, -10px) scale(.9); } 8% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 12% { transform: translate(-50%, 0) scale(1); } 55% { opacity: 1; transform: translate(-50%, 0); } 65%, 100% { opacity: 0; transform: translate(-50%, -12px); } }

.toast {
    position: absolute; left: 50%; bottom: 28px; white-space: nowrap; display: flex; align-items: center; gap: 8px;
    background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: var(--r-pill);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-50%, 20px);
    animation: toastIn 6s var(--ease-out) infinite 1.5s;
}
@keyframes toastIn { 0% { opacity: 0; transform: translate(-50%, 20px); } 8% { opacity: 1; transform: translate(-50%, 0); } 60% { opacity: 1; transform: translate(-50%, 0); } 70%, 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* --- Record screen --- */
.sc-rec { background: radial-gradient(40% 30% at 50% 38%, rgba(255, 220, 190, .55), transparent 70%), linear-gradient(180deg, #6b5546, #2f2620); }
.sc-rec .subject { position: absolute; left: 0; right: 0; bottom: 96px; display: flex; justify-content: center; animation: breathe 4s ease-in-out infinite; }
.sc-rec .subject svg { width: 92%; height: auto; }
@keyframes breathe { 50% { transform: translateY(-5px); } }
.sc-rec .focus { position: absolute; left: 50%; top: 40%; width: 180px; height: 210px; transform: translateX(-50%); animation: focus 3s ease-in-out infinite; }
.sc-rec .focus i { position: absolute; width: 26px; height: 26px; border: 3px solid #ffd166; }
.sc-rec .focus i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.sc-rec .focus i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.sc-rec .focus i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.sc-rec .focus i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@keyframes focus { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.94); opacity: .7; } }
.sc-rec .rec { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .55); color: #fff; font: 600 13px var(--font-body); font-variant-numeric: tabular-nums; padding: 5px 12px; border-radius: var(--r-pill); }
.sc-rec .rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sc-rec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: #17120f; }
.sc-rec .shutter { z-index: 1; position: absolute; left: 50%; bottom: 22px; width: 66px; height: 66px; transform: translateX(-50%); border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.sc-rec .shutter::after { content: ""; width: 26px; height: 26px; border-radius: 6px; background: var(--live); animation: shut 2s ease-in-out infinite; }
@keyframes shut { 50% { border-radius: 50%; transform: scale(1.15); } }
.sc-rec .toast { bottom: auto; top: 58px; animation-name: toastIn; }

@media (max-width: 1100px) {
    .mstage { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
    .mside { min-height: 0; height: auto; order: 2; }
    .mside .mset { position: static; display: none; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch !important; gap: 10px; }
    .mside .mset.on { display: flex; }
    .mside .mcard { margin: 0 !important; max-width: 340px; flex: 1 1 260px; }
    .mphone { margin: 0 auto; order: 1; }
    .mglow { width: 520px; height: 520px; top: 340px; }
    .morbit { top: 340px; }
    .morbit i:nth-child(1) { width: 420px; height: 420px; }
    .morbit i:nth-child(2) { width: 540px; height: 540px; }
}
@media (max-width: 480px) { .mphone { width: 270px; } }
@media (prefers-reduced-motion: reduce) {
    .mtabs .seg button::after { display: none; }
    .hearts, .speed { display: none; }
    .feed p, .toast, .pop-alert { animation: none !important; opacity: 1; transform: none; }
    .toast, .pop-alert { transform: translateX(-50%); }
}
@keyframes progress { from { width: 0; } to { width: 100%; } }

#modes { overflow: hidden; }

/* ---------- Creators ---------- */
.creators { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.cr { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); isolation: isolate; }
.cr .vid { transition: transform 600ms var(--ease-out); }
.cr:hover .vid { transform: scale(1.04); }
.cr figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 18px 20px; color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7) 45%, rgba(0, 0, 0, .92)); }
.cr figcaption b { display: block; font: 700 22px var(--font-display); letter-spacing: -.02em; }
.cr figcaption span { display: block; font-size: 14px; opacity: .85; margin-top: 2px; }
.cr:nth-child(even) { transform: translateY(32px); }
.cr.reveal.in:nth-child(even) { transform: translateY(32px); }
@media (max-width: 991px) {
    .creators { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
    .creators::-webkit-scrollbar { display: none; }
    .cr { flex: none; width: 240px; scroll-snap-align: start; }
    .cr:nth-child(even), .cr.reveal.in:nth-child(even) { transform: none; }
}
#creators { padding-bottom: calc(var(--space-section) + 32px); }

/* Real-photo backdrops: soften the scene so the UI on top is what the eye lands on */
.alert-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; z-index: -2; filter: blur(1.5px) brightness(.75); }
.alert-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, transparent, rgba(0, 0, 0, .2)); }
.vod .th { overflow: hidden; background: #1F1A16; }
.vod .th img { width: 100%; height: 100%; object-fit: cover; }

.sc-cam .cam-shot { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 70%; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, 1%); } }

.bubble .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.float.chat img.av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: none; }

/* ---------- Discover ---------- */
.dc-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.dc-h { font-size: var(--text-h2); margin: 18px 0; }
.dc-h em { font-style: normal; color: var(--orange); }
.dc-lede { color: var(--ink-3); font-size: 18px; max-width: 520px; }
.dc-points { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dc-points li { background: var(--card); border-radius: var(--r-md); padding: 16px 18px; }
.dc-points b { display: block; font-size: 15px; }
.dc-points span { display: block; color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.dc-phone { width: 320px; margin: 0 auto; transform: rotate(2deg); }
.dc-screen { background: #F7F1E8; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.dc-top { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dc-top b { font: 800 20px var(--font-display); }
.dc-seg { display: flex; background: #EFE6DA; border-radius: 999px; padding: 3px; font-size: 11px; font-weight: 600; }
.dc-seg i { font-style: normal; padding: 4px 10px; border-radius: 999px; color: var(--ink-3); }
.dc-seg i.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.dc-pf { display: flex; gap: 6px; }
.dc-pf span { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #E6DCCD; }
.dc-pf span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pf { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pf.yt { background: #FF0000; } .pf.tw { background: #9146FF; }
.dc-head { font: 700 14px var(--font-display); display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.dc-head small { font: 500 11px var(--font-body); color: var(--muted); }
.dc-list { display: grid; gap: 7px; }
.dc-row { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 8px 10px; opacity: 0; transform: translateX(14px); }
.dc-phone.in .dc-row, .no-js .dc-row { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.dc-phone.in .dc-row:nth-child(2) { transition-delay: 120ms; } .dc-phone.in .dc-row:nth-child(3) { transition-delay: 240ms; } .dc-phone.in .dc-row:nth-child(4) { transition-delay: 360ms; } .dc-phone.in .dc-row:nth-child(5) { transition-delay: 480ms; }
.dc-rank { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px var(--font-display); background: #ECEAE6; color: var(--ink-3); flex: none; }
.dc-rank.r1 { background: linear-gradient(135deg, #FFF3B0, #F5B301); color: #3D2C00; }
.dc-rank.r2 { background: linear-gradient(135deg, #fff, #AEB6BF); color: #2b2f33; }
.dc-rank.r3 { background: linear-gradient(135deg, #F1C79E, #C9803F); color: #fff; }
.dc-av { position: relative; width: 36px; height: 36px; flex: none; }
.dc-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dc-av.on::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #E53935; animation: dcPulse 1.6s ease-in-out infinite; }
@keyframes dcPulse { 50% { transform: scale(1.08); opacity: .6; } }
.dc-who { flex: 1; min-width: 0; }
.dc-who b { display: block; font-size: 13px; }
.dc-who small { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.dc-live { font: 800 10px var(--font-display); letter-spacing: .06em; color: #fff; background: #D92D20; padding: 3px 7px; border-radius: 6px; }
.dc-follow { font-size: 11px; font-weight: 600; color: var(--ink-2); background: #EFE6DA; padding: 4px 10px; border-radius: 999px; }
.dc-share { margin-top: auto; background: linear-gradient(135deg, #FFE8D6, #FFD2B0); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; }
.dc-share b { font-size: 13px; }
.dc-share span { font-size: 11px; color: var(--ink-3); }
.dc-share i { font-style: normal; justify-self: start; margin-top: 4px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 960px) { .dc-wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .dc-points { grid-template-columns: 1fr; } .dc-phone { width: 290px; } }
