@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.yhome-index-page {
    position: relative;
    overflow-x: hidden;
    color: #eef2ff;
    background: #02030a;
}

.yhome-index-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.34), transparent 30rem),
        radial-gradient(circle at 17% 26%, rgba(34, 211, 238, 0.16), transparent 31rem),
        radial-gradient(circle at 84% 30%, rgba(168, 85, 247, 0.22), transparent 29rem),
        linear-gradient(180deg, #02030a 0%, #07111f 46%, #02030a 100%);
    background-size: 140% 140%;
    /* hue-rotate 등 filter 보간은 합성 비용이 커서 탭 복귀 시 깜빡임을 유발하기 쉬움 — 정적 필터만 둔다 */
    filter: saturate(1.18) brightness(1.03);
    animation: indexSkyPulse 8s ease-in-out infinite alternate;
}

.yhome-index-page::after {
    content: "";
    position: fixed;
    inset: -24%;
    z-index: -3;
    opacity: 0.72;
    background:
        conic-gradient(from 120deg at 30% 40%, transparent 0deg, rgba(34, 211, 238, 0.28) 54deg, transparent 112deg, rgba(99, 102, 241, 0.24) 164deg, transparent 230deg, rgba(168, 85, 247, 0.24) 292deg, transparent 360deg),
        radial-gradient(ellipse at 58% 34%, rgba(14, 165, 233, 0.18), transparent 42%),
        radial-gradient(ellipse at 42% 66%, rgba(192, 132, 252, 0.16), transparent 48%);
    filter: blur(2.8rem) saturate(1.55);
    mix-blend-mode: screen;
    transform-origin: center;
    animation: indexAuroraFlow 11s ease-in-out infinite alternate;
}

.index-bg {
    pointer-events: none;
    position: fixed;
    inset: 0;
}

.index-bg span {
    pointer-events: none;
    position: absolute;
}

.index-bg {
    z-index: -3;
    overflow: hidden;
}

.index-orb {
    width: 34rem;
    height: 34rem;
    border-radius: 9999px;
    filter: blur(4rem);
    opacity: 0.74;
    mix-blend-mode: screen;
    animation: indexFloat 9s ease-in-out infinite alternate;
}

.index-orb-one {
    inset: -8rem auto auto -10rem;
    background: #2563eb;
}

.index-orb-two {
    inset: 8rem -11rem auto auto;
    background: #06b6d4;
    animation-duration: 10.5s;
}

.index-orb-three {
    inset: auto auto -14rem 30%;
    background: #7c3aed;
    animation-duration: 12s;
}

.index-grid {
    inset: 34% -10% -20% -10%;
    opacity: 0.24;
    transform: perspective(52rem) rotateX(66deg);
    transform-origin: center top;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: linear-gradient(to bottom, transparent, black 28%, transparent 92%);
    animation: indexGridDrift 18s linear infinite;
}

.index-particles {
    inset: 0;
    opacity: 0.26;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(34, 211, 238, 0.34) 0 1px, transparent 1.5px);
    background-position:
        0 0,
        2rem 3rem;
    background-size:
        7rem 7rem,
        9rem 9rem;
    animation: indexParticles 26s linear infinite;
    mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
}

.index-bg::before,
.index-bg::after {
    content: "";
    position: absolute;
    inset: -18% -10%;
    opacity: 0.72;
    background:
        linear-gradient(105deg, transparent 18%, rgba(59, 130, 246, 0.16) 34%, transparent 50%),
        linear-gradient(72deg, transparent 24%, rgba(34, 211, 238, 0.13) 43%, transparent 64%),
        linear-gradient(128deg, transparent 33%, rgba(168, 85, 247, 0.16) 53%, transparent 74%);
    filter: blur(1.5rem) saturate(1.25);
    mix-blend-mode: screen;
    transform: rotate(-8deg);
    animation: indexAuroraRibbon 8.5s ease-in-out infinite alternate;
}

.index-bg::after {
    opacity: 0.48;
    transform: rotate(12deg) scale(1.08);
    animation-duration: 12s;
    animation-direction: alternate-reverse;
}

.index-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right, 0px));
    padding-bottom: 1rem;
    padding-left: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-left, 0px));
    backdrop-filter: blur(18px);
}

.index-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.24));
}

.index-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    width: min(76rem, 100%);
    margin: 0 auto;
}

.yhome-index-page .index-header-inner {
    grid-template-columns: 1fr auto;
}

.index-nav,
.index-actions,
.index-start,
.index-login {
    display: inline-flex;
    align-items: center;
}

.index-brand {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.yhome-index-page .index-header-logo-img {
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(8, 145, 178, 0.14));
    box-shadow:
        0 0 1.5rem rgba(34, 211, 238, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.yhome-index-page .index-brand:hover .index-header-logo-img {
    border-color: rgba(165, 243, 252, 0.35);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(6, 182, 212, 0.16));
    box-shadow:
        0 0 2rem rgba(34, 211, 238, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.yhome-index-page .index-header-auth-action {
    border: 1px solid rgba(125, 211, 252, 0.25);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(8, 145, 178, 0.94));
    color: #fff;
    box-shadow:
        0 0 1.25rem rgba(34, 211, 238, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.yhome-index-page .index-header-auth-action:hover {
    transform: translateY(-1px);
    border-color: rgba(196, 181, 253, 0.35);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(6, 182, 212, 0.95));
    box-shadow:
        0 0 1.75rem rgba(99, 102, 241, 0.22),
        0 0 2rem rgba(34, 211, 238, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.index-nav {
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.index-nav a,
.index-login,
.index-start {
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.index-nav a {
    border-radius: 9999px;
    padding: 0.62rem 0.85rem;
}

.index-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.index-actions {
    justify-content: flex-end;
    gap: 0.75rem;
}

.index-login {
    min-height: 2.55rem;
    padding: 0 0.95rem;
}

.index-login:hover {
    color: #fff;
}

.index-start {
    min-height: 2.55rem;
    padding: 0 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(8, 145, 178, 0.94));
    box-shadow: 0 0 2rem rgba(34, 211, 238, 0.22);
}

.index-start:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 2.5rem rgba(217, 70, 239, 0.26);
}

.index-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100vh - 4.6rem);
    min-height: calc(100dvh - 4.6rem);
    padding-top: clamp(2.2rem, 6vw, 5.5rem);
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
}

.index-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(72rem, 100%);
    min-height: min(48rem, calc(100vh - 8rem));
    min-height: min(48rem, calc(100dvh - 8rem));
    margin: 0 auto;
    text-align: center;
    animation: indexFadeUp 0.75s ease both;
}

.index-hero-glow {
    position: absolute;
    inset: 7% 5% auto;
    height: 23rem;
    z-index: -1;
    border-radius: 9999px;
    background:
        radial-gradient(circle at 42% 45%, rgba(255, 255, 255, 0.16), transparent 18rem),
        conic-gradient(from 180deg, rgba(37, 99, 235, 0.2), rgba(34, 211, 238, 0.16), rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.2));
    filter: blur(3rem);
}

.index-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.055);
    padding: 0.52rem 0.85rem;
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 2.5rem rgba(59, 130, 246, 0.16);
}

.index-hero h1.index-hero-title-stack,
.index-hero-title-stack {
    max-width: min(52rem, 100%);
    margin: 0 auto;
    padding: 0 0.5rem;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    text-align: center;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.index-hero-title-line {
    display: block;
    color: #fff;
    font-size: clamp(2.35rem, 4.4vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.026em;
}

.index-hero-title-line + .index-hero-title-line {
    margin-top: clamp(0.08em, 0.45vw, 0.18em);
}

.index-hero h1::selection,
.index-subtitle::selection {
    background: rgba(34, 211, 238, 0.32);
}

.index-subtitle {
    max-width: 48rem;
    margin: 1.45rem auto 0;
    padding: 0 0.25rem;
    color: rgba(203, 213, 225, 0.88);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    line-height: 1.75;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.index-register-card {
    width: min(54rem, 100%);
    margin: 2.6rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.8rem;
    background:
        linear-gradient(135deg, rgba(147, 197, 253, 0.13), rgba(255, 255, 255, 0.035)),
        rgba(2, 6, 23, 0.58);
    padding: 0.7rem;
    box-shadow:
        0 1.6rem 5rem rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(34, 211, 238, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
}

.index-input-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.35rem;
    background: rgba(5, 10, 28, 0.72);
    padding: 0.45rem 0.45rem 0.45rem 1.05rem;
    transition: 0.22s ease;
}

.index-register-card:focus-within .index-input-wrap {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow:
        0 0 0 0.28rem rgba(34, 211, 238, 0.09),
        0 0 2.8rem rgba(124, 58, 237, 0.18);
}

.index-input-icon {
    color: #67e8f9;
    filter: drop-shadow(0 0 0.8rem rgba(34, 211, 238, 0.55));
}

.index-input-wrap input {
    width: 100%;
    min-height: 3.9rem;
    border: 0;
    outline: none;
    color: #fff;
    background: transparent;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
}

.index-input-wrap input::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.index-input-wrap button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.9rem;
    border: 0;
    border-radius: 1rem;
    padding: 0 1.45rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
        linear-gradient(135deg, #2563eb, #0891b2 54%, #7c3aed);
    font-size: 0.98rem;
    font-weight: 950;
    letter-spacing: -0.01em;
    box-shadow:
        0 0.85rem 2.6rem rgba(37, 99, 235, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: 0.2s ease;
}

.index-input-wrap button:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 1rem 3.2rem rgba(217, 70, 239, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.index-input-wrap button:disabled {
    cursor: wait;
    transform: none;
}

#registerMessage {
    margin-top: 0.8rem;
    border-radius: 1rem;
    padding: 0.78rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
}

.index-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(72rem, 100%);
    margin: 1.25rem auto 0;
}

@media (min-width: 1180px) {
    .index-proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.index-proof-grid article {
    min-height: 8.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgba(125, 211, 252, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(15, 23, 42, 0.28);
    padding: 1.15rem;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    transition: 0.22s ease;
}

.index-proof-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.26);
    background-color: rgba(15, 23, 42, 0.42);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.22);
}

.index-proof-grid i {
    color: #67e8f9;
}

.index-proof-grid strong,
.index-proof-grid span {
    display: block;
}

.index-proof-grid strong {
    margin-top: 0.65rem;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 950;
}

.index-proof-grid span {
    margin-top: 0.38rem;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.86rem;
    line-height: 1.55;
}

.index-showcase {
    width: 100vw;
    max-width: none;
    margin-top: clamp(2rem, 7vw, 4.5rem);
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0.65rem 0 0.5rem;
    box-shadow: none;
    backdrop-filter: none;
}

.index-showcase-lazy-root {
    display: contents;
}

.index-showcase-sentinel {
    display: none;
}

.index-showcase-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 86rem;
    margin: 0 auto;
    padding: 0.25rem clamp(1.25rem, 4vw, 2.5rem) 0.65rem;
}

.index-showcase-copy span,
.index-showcase-title {
    margin: 0;
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.index-marquee {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: visible;
}

.index-marquee-row {
    position: relative;
    overflow: hidden;
}

.index-marquee-row::before,
.index-marquee-row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(4.5rem, 10vw);
    pointer-events: none;
}

.index-marquee-row::before {
    left: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), transparent);
}

.index-marquee-row::after {
    right: 0;
    background: linear-gradient(270deg, rgba(2, 6, 23, 0.98), transparent);
}

.index-marquee-track {
    display: flex;
    width: max-content;
    gap: 0.35rem;
    padding: 0.15rem 0 0.35rem;
}

.index-marquee-track--ltr {
    animation: indexMarqueeLtr 80s linear infinite;
}

.index-marquee-track--rtl {
    animation: indexMarqueeRtl 92s linear infinite;
}

.index-marquee:hover .index-marquee-track {
    animation-play-state: paused;
}

.creator-card-link {
    display: flex;
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
    background: transparent;
    border: 0;
    padding: 0.2rem 0.45rem;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.creator-card-link:hover .creator-card strong {
    color: #fff;
}

.creator-card-link:hover .creator-card img,
.creator-card-link:hover .creator-card-img-fallback {
    border-color: rgba(148, 163, 184, 0.38);
}

.creator-card-link:focus-visible {
    outline: 1px solid rgba(251, 113, 133, 0.85);
    outline-offset: 2px;
}

.creator-card-img-fallback {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 9999px;
    background: transparent;
}

.index-showcase-empty {
    margin: 1.75rem auto 0;
    max-width: 28rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

.creator-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    min-width: 0;
    max-width: 13.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0.2rem 0;
    box-shadow: none;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.creator-card img {
    width: 2.65rem;
    height: 2.65rem;
    max-width: none;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 9999px;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: none;
}

.creator-card > div {
    min-width: 0;
    flex: 1 1 auto;
}

.creator-card strong,
.creator-card span,
.creator-card em {
    display: block;
}

.creator-card strong {
    color: #f1f5f9;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.creator-card span {
    margin-top: 0.1rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.creator-card em {
    margin-top: 0.12rem;
    color: rgba(103, 232, 249, 0.88);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yhome-index-page .yhome-site-footer {
    position: relative;
    z-index: 2;
    border-top-color: rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(18px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/*
 * Narrow viewports / touch: full-viewport filter + blend animations force expensive
 * repaints and often flicker with sticky header backdrop-filter. Use a static backdrop.
 */
@media (max-width: 768px) {
    /*
     * Scroll flicker on WebKit/Android: fixed layers with mix-blend-mode + large blur
     * recomposite against scrolling content every frame. Strip blend/blur on narrow viewports.
     */
    .yhome-index-page {
        overflow-x: clip;
    }

    .yhome-index-page::before {
        animation: none;
        background-size: 100% 100%;
    }

    .yhome-index-page::after {
        animation: none;
        inset: 0;
        opacity: 0.44;
        filter: none;
        mix-blend-mode: normal;
        background:
            radial-gradient(ellipse 120% 72% at 50% -12%, rgba(59, 130, 246, 0.26), transparent 56%),
            radial-gradient(ellipse 88% 52% at 14% 42%, rgba(34, 211, 238, 0.12), transparent 52%),
            radial-gradient(ellipse 86% 50% at 86% 36%, rgba(168, 85, 247, 0.14), transparent 50%);
    }

    .index-bg::before,
    .index-bg::after {
        animation: none;
        filter: none;
        mix-blend-mode: normal;
        opacity: 0;
    }

    .index-orb,
    .index-grid,
    .index-particles {
        animation: none;
    }

    .index-orb {
        mix-blend-mode: normal;
        filter: none;
        opacity: 0.17;
    }

    .index-grid {
        transform: none;
        opacity: 0.09;
        mask-image: none;
    }

    .index-particles {
        opacity: 0.1;
        mask-image: none;
    }

    .index-bg {
        transform: none;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
    }

    .index-hero-glow {
        filter: none;
        opacity: 0.52;
    }

    .index-marquee {
        isolation: isolate;
    }

    .index-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .yhome-index-page .index-header-inner {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }

    .index-header::after {
        background: linear-gradient(180deg, rgba(3, 7, 18, 0.92), rgba(3, 7, 18, 0.66));
    }

    .index-register-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            linear-gradient(135deg, rgba(147, 197, 253, 0.13), rgba(255, 255, 255, 0.035)),
            rgba(2, 6, 23, 0.8);
    }

    .index-proof-grid article {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            linear-gradient(135deg, rgba(125, 211, 252, 0.08), rgba(255, 255, 255, 0.025)),
            rgba(15, 23, 42, 0.5);
    }

    .yhome-index-page .yhome-site-footer {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(2, 6, 23, 0.84);
    }

    /* Featured: 모바일에서 접어 두었다가 센티넬이 보이면 펼침 + 마퀴 재생 */
    .index-showcase-lazy-root {
        display: block;
        width: 100%;
    }

    .index-showcase-sentinel {
        display: block;
        height: 3px;
        width: 100%;
        margin: 0;
        padding: 0;
        pointer-events: none;
    }

    .index-showcase-lazy-root:not(.index-showcase-lazy-root--visible) .index-showcase {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
    }

    .index-showcase-lazy-root:not(.index-showcase-lazy-root--visible) .index-marquee-track {
        animation-play-state: paused !important;
    }

    .index-showcase-lazy-root--visible .index-showcase {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.38s ease;
    }
}

@keyframes indexFloat {
    from {
        transform: translate3d(-2rem, -1rem, 0) scale(0.96);
    }

    to {
        transform: translate3d(9rem, 5rem, 0) scale(1.18);
    }
}

@keyframes indexSkyPulse {
    0% {
        transform: scale(1);
        background-position: 0% 0%;
    }

    50% {
        transform: scale(1.05);
        background-position: 55% 32%;
    }

    100% {
        transform: scale(1.02);
        background-position: 100% 70%;
    }
}

@keyframes indexAuroraFlow {
    0% {
        transform: translate3d(-12%, -7%, 0) rotate(-8deg) scale(1);
    }

    45% {
        transform: translate3d(9%, 8%, 0) rotate(26deg) scale(1.16);
    }

    100% {
        transform: translate3d(15%, -9%, 0) rotate(54deg) scale(1.28);
    }
}

@keyframes indexAuroraRibbon {
    0% {
        transform: translate3d(-18%, 8%, 0) rotate(-16deg) scaleX(0.92);
    }

    50% {
        transform: translate3d(7%, -10%, 0) rotate(8deg) scaleX(1.2);
    }

    100% {
        transform: translate3d(20%, 7%, 0) rotate(22deg) scaleX(1.08);
    }
}

@keyframes indexGridDrift {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 4rem 4rem, 4rem 4rem;
    }
}

@keyframes indexParticles {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-7rem, -4rem, 0);
    }
}

@keyframes indexFadeUp {
    from {
        opacity: 0;
        transform: translateY(1.4rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes indexMarqueeLtr {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

@keyframes indexMarqueeRtl {
    from {
        transform: translateX(-25%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .index-header-inner {
        grid-template-columns: 1fr auto;
    }

    .index-nav {
        display: none;
    }

    .index-proof-grid {
        grid-template-columns: 1fr;
    }

    .index-proof-grid article {
        min-height: auto;
    }

    .index-showcase-copy {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
}

@media (max-width: 640px) {
    .index-header {
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
        padding-right: max(0.9rem, env(safe-area-inset-right, 0px));
        padding-bottom: 0.75rem;
        padding-left: max(0.9rem, env(safe-area-inset-left, 0px));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .index-header::after {
        background: linear-gradient(180deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.78));
    }

    .index-orb {
        width: 26rem;
        height: 26rem;
        filter: none;
        mix-blend-mode: normal;
        opacity: 0.15;
    }

    .index-brand span:last-child {
        display: none;
    }

    .index-actions {
        gap: 0.35rem;
    }

    .index-login {
        padding: 0 0.65rem;
    }

    .index-start {
        min-height: 2.35rem;
        padding: 0 0.85rem;
    }

    .index-shell {
        padding-top: 1.7rem;
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
        padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
    }

    .index-hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .index-kicker {
        margin-bottom: 1.1rem;
        padding: 0.48rem 0.78rem;
        font-size: 0.74rem;
        line-height: 1.4;
        text-align: center;
    }

    .index-hero-title-line {
        font-size: clamp(1.78rem, 7.2vw, 3.2rem);
        line-height: 1.1;
        letter-spacing: -0.024em;
    }

    .index-subtitle {
        margin-top: 1.1rem;
        font-size: clamp(0.98rem, 3.8vw, 1.22rem);
        line-height: 1.65;
        padding: 0 0.15rem;
    }

    .index-register-card {
        border-radius: 1.35rem;
        padding: 0.55rem;
        margin-top: 2rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            linear-gradient(135deg, rgba(147, 197, 253, 0.13), rgba(255, 255, 255, 0.035)),
            rgba(2, 6, 23, 0.82);
    }

    .index-input-wrap {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.5rem;
    }

    .index-input-wrap input {
        min-height: 3.2rem;
        font-size: 1rem;
    }

    .index-input-wrap button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 3.35rem;
    }

    .index-proof-grid {
        gap: 0.65rem;
        margin-top: 1.5rem;
    }

    .index-proof-grid article {
        padding: 1rem 0.95rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            linear-gradient(135deg, rgba(125, 211, 252, 0.08), rgba(255, 255, 255, 0.025)),
            rgba(15, 23, 42, 0.55);
    }

    .index-proof-grid strong {
        font-size: 0.94rem;
    }

    .index-proof-grid span {
        font-size: 0.84rem;
    }

    .index-showcase {
        margin-top: clamp(1.6rem, 6vw, 3rem);
    }

    .creator-card {
        max-width: 12.5rem;
    }

    .yhome-index-page .yhome-site-footer {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(2, 6, 23, 0.88);
    }
}

@media (max-width: 400px) {
    .index-hero-title-line {
        font-size: clamp(1.58rem, 6.9vw, 2.65rem);
    }

    .index-hero-glow {
        height: 16rem;
        inset: 4% 2% auto;
    }

    .index-register-card {
        margin-top: 1.65rem;
    }

    .index-input-wrap button span {
        font-size: 0.9rem;
    }

    .yhome-index-page .index-header-logo-img {
        height: 2rem;
        width: 2rem;
    }

    .creator-card {
        max-width: 11.25rem;
    }

    .creator-card img,
    .creator-card-img-fallback {
        width: 2.35rem;
        height: 2.35rem;
    }

    .creator-card strong {
        font-size: 0.78rem;
    }

    .creator-card span {
        font-size: 0.66rem;
    }

    .creator-card em {
        font-size: 0.62rem;
    }
}

/* 채널 검색 선택 모달 */
.index-pick-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
}

@media (min-width: 640px) {
    .index-pick-modal {
        align-items: center;
    }
}

.index-pick-modal.hidden {
    display: none;
}

.index-pick-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 10, 0.72);
    backdrop-filter: blur(6px);
}

.index-pick-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    max-height: min(70vh, 32rem);
    max-height: min(70dvh, 32rem);
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
}

.index-pick-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.index-pick-modal-head-text {
    min-width: 0;
}

.index-pick-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.index-pick-modal-x {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.index-pick-modal-x:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.index-pick-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 113, 133, 0.55) rgba(15, 23, 42, 0.55);
}

.index-pick-list > li {
    margin: 0;
    padding: 0;
}

/* 채널 선택 목록: WebKit 계열 스크롤바 (슬림·둥근 트랙·로즈 포인트) */
.index-pick-list::-webkit-scrollbar {
    width: 0.5rem;
}

.index-pick-list::-webkit-scrollbar-track {
    margin: 0.35rem 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.index-pick-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(251, 113, 133, 0.65) 0%, rgba(225, 29, 72, 0.55) 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.index-pick-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(253, 164, 175, 0.85) 0%, rgba(244, 63, 94, 0.75) 100%);
}

.index-pick-list::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(251, 113, 133, 0.95) 0%, rgba(190, 18, 60, 0.85) 100%);
}

.index-pick-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.6rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.index-pick-item:hover,
.index-pick-item:focus-visible {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
    outline: none;
}

.index-pick-item-img {
    width: 3rem;
    height: 3rem;
    max-width: none;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 0.75rem;
    object-fit: cover;
    object-position: center;
    display: block;
    background: rgba(30, 41, 59, 0.9);
}

.index-pick-item-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.index-pick-item-subrow {
    display: block;
    margin-top: 0;
}

.index-pick-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.index-pick-item-handle {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fb7185;
    word-break: break-all;
}

.index-pick-item-subs-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: stretch;
    min-width: 4.25rem;
    padding-left: 0.5rem;
    text-align: right;
}

.index-pick-item-subs-col--empty {
    min-width: 4.25rem;
}

.index-pick-item-subs {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.28rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.95);
    white-space: nowrap;
}

.index-pick-item-subs .index-pick-subs-ic,
.index-pick-item-subs svg {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
    color: rgba(148, 163, 184, 0.98);
    stroke-width: 2.1;
    display: block;
}

.index-pick-item-subs-num {
    font-variant-numeric: tabular-nums;
}

body.index-pick-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .yhome-index-page::before,
    .yhome-index-page::after,
    .index-bg::before,
    .index-bg::after,
    .index-orb,
    .index-grid,
    .index-particles,
    .index-hero,
    .index-marquee-track {
        animation: none;
    }
}

/* 탭이 백그라운드일 때 무한 배경·마퀴 애니를 멈춰 GPU/합성 부하와 복귀 시 깜빡임을 줄인다 */
.yhome-index-page.yhome-index-bg-idle::before,
.yhome-index-page.yhome-index-bg-idle::after,
.yhome-index-page.yhome-index-bg-idle .index-bg::before,
.yhome-index-page.yhome-index-bg-idle .index-bg::after,
.yhome-index-page.yhome-index-bg-idle .index-orb,
.yhome-index-page.yhome-index-bg-idle .index-grid,
.yhome-index-page.yhome-index-bg-idle .index-particles,
.yhome-index-page.yhome-index-bg-idle .index-marquee-track {
    animation-play-state: paused !important;
}
