@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&display=swap");

:root {
    --forest-header-h: 70px;
    --forest-footer-h: 54px;
    --forest-bg: #0a0618;
    --forest-deep: #12082a;
    --forest-lime: #c084fc;
    --forest-accent: #a855f7;
    --forest-accent-soft: rgba(168, 85, 247, 0.12);
    --forest-accent-border: rgba(167, 139, 250, 0.16);
    --forest-gold: #ffd15c;
    --forest-amber: #f59e0b;
    --forest-purple: #a855f7;
    --forest-red: #ff6b6b;
}

body.forest-user-body {
    min-height: 100vh;
    color: #f5ffe8;
    background:
        linear-gradient(180deg, rgba(18,8,36,.12) 0%, rgba(12,6,28,.22) 68%, rgba(8,4,20,.32) 100%),
        url('/assets/img/user-page-bg.png') center top / cover fixed no-repeat,
        linear-gradient(180deg, #12082a 0%, #0a0618 64%, #060312 100%);
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
body.forest-user-body::before,
body.forest-user-body::after {
    content: "";
    position: fixed;
    top: var(--forest-header-h);
    bottom: 0;
    pointer-events: none;
    /* 콘텐츠(카드/텍스트) 뒤로 깔아 배경 분위기로만 사용 — 카드가 어두워지지 않도록 */
    z-index: -1;
}
body.forest-user-body::before {
    right: 0;
    width: min(12vw, 180px);
    background:
        radial-gradient(ellipse at 100% 24%, rgba(4,3,13,.5) 0%, rgba(7,5,20,.32) 40%, transparent 80%),
        linear-gradient(90deg, transparent, rgba(4,3,13,.42));
}
body.forest-user-body::after {
    left: 0;
    width: min(10vw, 150px);
    background:
        radial-gradient(ellipse at 0% 26%, rgba(4,3,13,.46) 0%, rgba(7,5,20,.28) 42%, transparent 78%),
        linear-gradient(270deg, transparent, rgba(4,3,13,.3));
}
/* 시트(공지·문의하기·쪽지·충전·환전·마이페이지)·임베드 팝업·iframe 페이지에서는
   숲 배경 좌·우 비네트 그라데이션을 완전히 제거 → 깔끔한 크림/화이트 시트 유지 */
body.user-sheet::before,
body.user-sheet::after,
body.embed-mode::before,
body.embed-mode::after,
html.framed body.forest-user-body::before,
html.framed body.forest-user-body::after {
    display: none !important;
    content: none !important;
}
body.forest-user-body .info-bar,
body.forest-user-body .top-notice,
body.forest-user-body .header,
body.forest-user-body .sidebar,
body.forest-user-body .mobile-tabbar,
body.forest-user-body .mobile-drawer,
body.forest-user-body .mobile-drawer-overlay {
    display: none !important;
}
body.forest-user-body .main-content {
    margin-left: 0 !important;
    max-width: none !important;
    padding: 0 !important;
}

.forest-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--forest-header-h);
    display: flex;
    align-items: center;
    padding: 8px 28px;
    background: linear-gradient(180deg, rgba(12,6,28,.88), rgba(18,8,36,.66));
    border-bottom: 1px solid rgba(167,139,250,.16);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.forest-header::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,85,247,.28), transparent);
}
.forest-mobile-scroll-prev,
.forest-mobile-scroll-next {
    display: none;
}
.forest-header-inner {
    width: min(1640px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}
.forest-hamburger {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(167,139,250,.22);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.forest-hamburger span {
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: var(--forest-lime);
}
.forest-logo {
    display: inline-flex;
    align-items: center;
    width: 260px;
    min-width: 0;
    flex-shrink: 0;
}
.forest-logo img {
    display: block;
    width: 260px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(168,85,247,.12));
}
.forest-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}
.forest-nav a {
    position: relative;
    padding: 8px 9px;
    border-radius: 999px;
    color: rgba(235,255,219,.82);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: all .18s ease;
}
.forest-nav a:hover,
.forest-nav a.active {
    color: #1a0a2e;
    background: linear-gradient(135deg, #e9d5ff, #c084fc);
    box-shadow: 0 8px 22px rgba(168,85,247,.26);
}
.forest-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
}
.forest-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}
.forest-auth-buttons {
    display: flex;
    gap: 8px;
}
.forest-login-btn,
.forest-signup-btn,
.forest-logout,
.forest-drawer-footer button,
.forest-drawer-footer a {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 18px;
    color: #06210f;
    font-weight: 900;
    text-decoration: none;
}
.forest-signup-btn {
    background: linear-gradient(135deg, #fff0a7, #f59e0b);
    box-shadow: 0 10px 24px rgba(245,158,11,.28);
}
.forest-login-btn {
    background: linear-gradient(135deg, #e9d5ff, #c084fc);
    box-shadow: 0 10px 24px rgba(168,85,247,.25);
}
.forest-wallets {
    display: flex;
    gap: 8px;
}
.forest-money-pill,
.forest-point-pill {
    display: grid;
    gap: 1px;
    justify-items: center;
    text-align: center;
    min-width: 112px;
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid rgba(167,139,250,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    color: #fff;
    text-decoration: none;
}
.forest-money-pill em,
.forest-point-pill em {
    color: rgba(235,255,219,.58);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.forest-money-pill strong,
.forest-point-pill strong {
    color: var(--forest-gold);
    font-size: 14px;
    font-weight: 900;
}
.forest-point-pill strong { color: #b9f7ff; }
.forest-userbox {
    display: flex;
    align-items: center;
    gap: 8px;
}
.forest-nickname {
    color: #f8ffd7;
    font-weight: 900;
    text-decoration: none;
}
.forest-nickname-label {
    display: none;
}
.forest-point-convert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(250,204,21,.24);
    background: rgba(250,204,21,.08);
    color: var(--forest-gold);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}
.forest-point-convert:hover,
.forest-point-convert.active {
    background: rgba(250,204,21,.16);
}
.forest-logout {
    padding: 8px 13px;
    background: rgba(255,107,107,.14);
    border: 1px solid rgba(255,107,107,.28);
    color: #ffb4b4;
}

body.sports-page .forest-header {
    height: auto;
    min-height: var(--forest-header-h);
    padding-inline: clamp(14px, 1.4vw, 28px);
}
body.sports-page .forest-header-inner {
    width: 100%;
}
@media (min-width: 1201px) {
    body.sports-page .forest-header-inner.is-authed {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: clamp(10px, 1vw, 22px);
        overflow: visible;
    }
    body.sports-page .forest-header-inner.is-authed .forest-hamburger {
        display: none;
    }
    body.sports-page .forest-header-inner.is-authed .forest-logo {
        flex: 0 0 clamp(148px, 14vw, 240px);
        width: clamp(148px, 14vw, 240px);
    }
    body.sports-page .forest-header-inner.is-authed .forest-logo img {
        width: clamp(148px, 14vw, 240px);
        height: clamp(42px, 3.7vw, 54px);
    }
    body.sports-page .forest-header-inner.is-authed .forest-nav {
        flex: 1 1 auto;
        min-width: 420px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(7px, .9vw, 15px);
        overflow: visible;
    }
    body.sports-page .forest-header-inner.is-authed .forest-nav a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        padding: clamp(6px, .55vw, 8px) clamp(8px, .8vw, 12px);
        border-radius: 999px;
        font-size: clamp(11px, .78vw, 13px);
        line-height: 1;
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-nav a.active {
        border-radius: 999px;
        box-shadow: 0 6px 14px rgba(168,85,247,.22);
    }
    body.sports-page .forest-header-inner.is-authed .forest-header-right {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(6px, .55vw, 10px);
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-wallets,
    body.sports-page .forest-header-inner.is-authed .forest-userbox {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(5px, .45vw, 8px);
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-money-pill,
    body.sports-page .forest-header-inner.is-authed .forest-point-pill {
        min-width: clamp(82px, 7vw, 112px);
        padding: clamp(6px, .55vw, 8px) clamp(7px, .65vw, 12px);
        border-radius: 14px;
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-money-pill em,
    body.sports-page .forest-header-inner.is-authed .forest-point-pill em {
        font-size: clamp(8px, .58vw, 10px);
        line-height: 1.05;
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-money-pill strong,
    body.sports-page .forest-header-inner.is-authed .forest-point-pill strong {
        font-size: clamp(10px, .75vw, 14px);
        line-height: 1.05;
        white-space: nowrap;
    }
    body.sports-page .forest-header-inner.is-authed .forest-point-convert,
    body.sports-page .forest-header-inner.is-authed .forest-nickname,
    body.sports-page .forest-header-inner.is-authed .forest-logout {
        font-size: clamp(10px, .7vw, 12px);
        padding: clamp(6px, .5vw, 8px) clamp(8px, .65vw, 12px);
        white-space: nowrap;
    }
}

.forest-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.66);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.forest-drawer.open { opacity: 1; pointer-events: auto; }
.forest-drawer-panel {
    width: min(320px, 86vw);
    height: 100%;
    padding: 18px;
    background: linear-gradient(180deg, rgba(5,18,12,.98), rgba(2,8,5,.98));
    border-right: 1px solid rgba(167,139,250,.18);
    transform: translateX(-100%);
    transition: transform .22s ease;
}
.forest-drawer.open .forest-drawer-panel { transform: translateX(0); }
.forest-drawer-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 18px;
}
.forest-drawer-head img {
    width: 112px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
    margin-left: 0;
}
.forest-drawer-head button {
    position: absolute;
    top: 2px;
    right: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
}
.forest-drawer-nav {
    display: grid;
    gap: 8px;
}
.forest-drawer-nav a {
    padding: 13px 14px;
    border-radius: 13px;
    color: rgba(235,255,219,.86);
    background: rgba(255,255,255,.04);
    text-decoration: none;
    font-weight: 800;
}
.forest-drawer-footer {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.forest-drawer-footer strong { color: #fff8bf; }
.forest-drawer-footer span { color: rgba(235,255,219,.72); }
.forest-drawer-footer b { color: var(--forest-gold); }

.forest-root {
    position: relative;
    overflow: visible;
    min-height: calc(100vh - var(--forest-header-h) - var(--forest-footer-h));
    padding: 24px 24px 80px;
}
.forest-backdrop {
    position: fixed;
    inset: var(--forest-header-h) 0 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.forest-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(168,85,247,.025), transparent 23%),
        radial-gradient(circle at 76% 20%, rgba(250,204,21,.04), transparent 25%),
        radial-gradient(circle at 50% 92%, rgba(22,101,52,.12), transparent 43%),
        linear-gradient(180deg, rgba(5,25,14,.16), rgba(1,7,4,.26));
}
.forest-mist {
    position: absolute;
    width: 70vw;
    height: 26vh;
    border-radius: 999px;
    background: radial-gradient(ellipse, rgba(192,132,252,.028), transparent 70%);
    filter: blur(18px);
    animation: forest-drift 28s ease-in-out infinite;
}
.mist-a { left: -18vw; top: 12vh; }
.mist-b { right: -24vw; top: 36vh; animation-delay: -9s; }
.mist-c { left: 18vw; bottom: 2vh; animation-delay: -15s; }
@keyframes forest-drift {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(6vw,-3vh,0) scale(1.08); }
}
.forest-dew,
.forest-firefly {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.forest-dew {
    width: 6px;
    height: 6px;
    background: rgba(216,180,254,.2);
    box-shadow: 0 0 8px rgba(168,85,247,.18);
    animation: forest-twinkle 4s ease-in-out infinite;
}
.dew-1 { left: 7%; top: 22%; }
.dew-2 { left: 21%; top: 58%; animation-delay: -.7s; }
.dew-3 { left: 42%; top: 28%; animation-delay: -1.4s; }
.dew-4 { left: 66%; top: 17%; animation-delay: -2.1s; }
.dew-5 { left: 84%; top: 48%; animation-delay: -2.8s; }
.dew-6 { left: 12%; top: 80%; animation-delay: -3.5s; }
.dew-7 { left: 34%; top: 72%; animation-delay: -1.1s; }
.dew-8 { left: 57%; top: 62%; animation-delay: -1.9s; }
.dew-9 { left: 76%; top: 77%; animation-delay: -2.7s; }
.dew-10 { left: 92%; top: 25%; animation-delay: -3.3s; }
.forest-firefly {
    width: 9px;
    height: 9px;
    background: #d8b4fe;
    box-shadow: 0 0 8px rgba(192,132,252,.28);
    opacity: .32;
    animation: forest-float 9s ease-in-out infinite;
}
.firefly-1 { left: 15%; top: 36%; }
.firefly-2 { left: 74%; top: 34%; animation-delay: -2s; }
.firefly-3 { left: 48%; top: 72%; animation-delay: -4s; }
.firefly-4 { left: 88%; top: 68%; animation-delay: -6s; }
@keyframes forest-twinkle {
    0%, 100% { opacity: .28; transform: scale(.72); }
    50% { opacity: 1; transform: scale(1.18); }
}
@keyframes forest-float {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(28px,-34px); }
}
.forest-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.18) 82%);
}

.forest-hero,
.forest-marquee,
.forest-quick-actions,
.forest-game-section,
.forest-board-grid {
    position: relative;
    z-index: 1;
    width: min(1440px, 100%);
    margin-left: auto;
    margin-right: auto;
}
.forest-hero { padding: 18px 0 16px; }
.forest-crystal-card {
    position: relative;
    padding: 1px;
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(168,85,247,.34), rgba(255,209,92,.36), rgba(192,132,252,.3), rgba(124,58,237,.24));
    box-shadow: 0 18px 48px rgba(0,0,0,.32), 0 0 16px rgba(168,85,247,.07);
}
.forest-banner-glow {
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 40%, rgba(168,85,247,.1), transparent 62%);
    pointer-events: none;
    z-index: 0;
}
.forest-banner-inner {
    position: relative;
    z-index: 1;
    min-height: 360px;
    display: grid;
    grid-template-columns: 43% minmax(0, 57%);
    align-items: center;
    gap: 32px;
    padding: 34px 58px;
    border-radius: 25px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(168,85,247,.03), transparent 32%),
        radial-gradient(circle at 78% 16%, rgba(245,158,11,.06), transparent 34%),
        linear-gradient(145deg, rgba(30,15,52,.38), rgba(12,6,28,.52));
}
.forest-banner-inner::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    pointer-events: none;
}
.forest-banner-art {
    position: relative;
    min-height: 285px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pinocchio-orb {
    width: min(100%, 500px);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(8,4,18,.18);
    border: 1px solid rgba(167,139,250,.1);
    box-shadow: inset 0 0 18px rgba(255,255,255,.03), 0 14px 34px rgba(0,0,0,.22);
}
.pinocchio-orb img {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 22px;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(1.02) contrast(1.02);
}
.sparkle {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fffbd2;
    clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
    filter: drop-shadow(0 0 10px rgba(255,255,180,.9));
    animation: forest-twinkle 2.8s ease-in-out infinite;
}
.sparkle-a { left: 16%; top: 18%; }
.sparkle-b { right: 17%; bottom: 22%; animation-delay: -1.2s; }
.forest-hero-text { position: relative; text-align: center; }
.forest-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #dbffad;
    border: 1px solid rgba(167,139,250,.28);
    background: rgba(168,85,247,.08);
    font-family: Cinzel, serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}
.forest-badge span {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--forest-lime);
    box-shadow: 0 0 12px var(--forest-lime);
}
.forest-wordmark {
    margin: 6px 0 8px;
    font-family: Cinzel, "Noto Serif KR", serif;
    font-size: clamp(34px, 4.6vw, 60px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: .02em;
}
.forest-wordmark em {
    font-style: normal;
    background: linear-gradient(100deg, #b98bff 0%, #e879c4 46%, #f6cd6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 8px 20px rgba(180,120,255,.35));
}
.forest-slogan {
    margin: 0 0 12px;
    color: var(--forest-gold);
    font-size: clamp(16px, 1.6vw, 22px);
    font-family: "Noto Serif KR", serif;
    font-weight: 900;
}
.forest-desc {
    max-width: 560px;
    color: rgba(237,226,255,.82);
    font-size: 14px;
    line-height: 1.85;
}
.forest-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.glossy-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    padding: 11px 18px;
    border-radius: 999px;
    color: #06210f;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.glossy-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.4), transparent 45%);
    pointer-events: none;
}
.glossy-red {
    background: linear-gradient(135deg, #fecaca, #fca5a5 55%, #f87171);
    color: #5c1010;
    box-shadow: 0 14px 30px rgba(0,0,0,.22), 0 0 14px rgba(248,113,113,.14);
}
.glossy-lime { background: linear-gradient(135deg, #e9d5ff, #c084fc); color: #1a0a2e; }
.glossy-amber { background: linear-gradient(135deg, #fff2a8, #f59e0b); }
.glossy-purple { background: linear-gradient(135deg, #e9d5ff, #a855f7); color: #180026; }

/* ── 히어로 리디자인: 아이브로우 + 피처카드 + CTA + 캐러셀 점 ── */
.forest-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--forest-gold);
    font-family: "Noto Serif KR", serif;
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: 700;
    letter-spacing: .2em;
    text-shadow: 0 2px 10px rgba(245,200,105,.25);
}
.forest-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px auto 24px;
    max-width: 620px;
}
.forest-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px 14px;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.1);
}
.forest-feature .ff-ic {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    color: #fff;
}
.ff-ic.ff-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 8px 18px rgba(168,85,247,.42); }
.ff-ic.ff-pink   { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: 0 8px 18px rgba(244,114,182,.42); }
.ff-ic.ff-gold   { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 8px 18px rgba(245,158,11,.42); }
.forest-feature b {
    color: #fff7e9;
    font-family: "Noto Serif KR", serif;
    font-size: 14px;
    font-weight: 800;
}
.forest-feature small {
    color: rgba(226,216,246,.6);
    font-size: 11.5px;
    line-height: 1.55;
}
.hero-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 13px 26px;
    border: 0;
    border-radius: 12px;
    font-family: "Noto Serif KR", serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}
.hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.34), transparent 52%);
    pointer-events: none;
}
.hero-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hero-cta-gold   { background: linear-gradient(135deg, #fcd34d, #d99a1c); color: #3a2406; box-shadow: 0 12px 26px rgba(217,154,28,.36); }
.hero-cta-purple { background: linear-gradient(135deg, #c084fc, #7c3aed); color: #fff;    box-shadow: 0 12px 26px rgba(124,58,237,.42); }
.forest-hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}
.forest-hero-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255,255,255,.26);
    transition: width .2s ease, background .2s ease;
}
.forest-hero-dots .dot.active {
    width: 24px;
    background: linear-gradient(90deg, #c084fc, #f6cd6b);
}

/* ── 솔리드 판타지 프레임 히어로: glass 제거, 견고한 오브젝트형 박스 ── */
.forest-hero {
    padding: 28px 0 20px;
}
.forest-crystal-card {
    width: min(1240px, calc(100vw - 260px));
    min-height: 330px;
    margin: 0 auto;
    padding: 0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 13% 14%, rgba(120,76,255,.16), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(242,190,92,.12), transparent 28%),
        linear-gradient(145deg, #17102e 0%, #0d1027 44%, #130922 100%);
    border: 2px solid #493b82;
    box-shadow:
        inset 0 0 0 1px rgba(255,230,166,.22),
        inset 0 0 38px rgba(72,39,128,.45),
        0 24px 70px rgba(0,0,0,.58),
        0 0 34px rgba(120,76,255,.12);
    overflow: hidden;
}
.forest-crystal-card::before,
.forest-crystal-card::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 18px;
    pointer-events: none;
    z-index: 4;
}
.forest-crystal-card::before {
    border: 1px solid rgba(255,222,150,.34);
    box-shadow:
        inset 0 0 0 1px rgba(121,85,196,.22),
        inset 0 0 30px rgba(10,5,22,.82);
}
.forest-crystal-card::after {
    background:
        radial-gradient(circle at 0 0, rgba(255,215,128,.48) 0 2px, transparent 3px),
        radial-gradient(circle at 100% 0, rgba(255,215,128,.48) 0 2px, transparent 3px),
        radial-gradient(circle at 0 100%, rgba(255,215,128,.38) 0 2px, transparent 3px),
        radial-gradient(circle at 100% 100%, rgba(255,215,128,.38) 0 2px, transparent 3px);
}
.forest-banner-glow {
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(94,60,190,.18), transparent 34%, rgba(30,11,57,.22)),
        radial-gradient(circle at 52% 110%, rgba(255,207,93,.16), transparent 38%);
    z-index: 1;
}
.forest-banner-inner {
    min-height: 330px;
    grid-template-columns: 50% minmax(0, 50%);
    gap: 0;
    padding: 22px 82px 28px 34px;
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(5,8,22,.2), rgba(16,9,35,.84) 50%, rgba(13,8,30,.96)),
        radial-gradient(circle at 76% 50%, rgba(95,49,165,.28), transparent 44%);
}
.forest-banner-inner::before {
    inset: 16px;
    border: 1px solid rgba(255,224,151,.18);
    border-radius: 17px;
    box-shadow: inset 0 0 0 1px rgba(111,74,186,.2);
    z-index: 3;
}
.forest-banner-inner::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,226,156,.18), transparent);
    z-index: 2;
    pointer-events: none;
}
.forest-banner-art {
    min-height: 286px;
    justify-content: stretch;
    padding: 0;
    isolation: isolate;
}
.pinocchio-orb {
    position: relative;
    width: 100%;
    height: 286px;
    border-radius: 16px 0 0 16px;
    background: #050817;
    border: 1px solid rgba(255,222,150,.2);
    box-shadow:
        inset 0 0 42px rgba(0,0,0,.72),
        inset 0 0 0 1px rgba(104,75,178,.18);
}
.pinocchio-orb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 45% 8%, rgba(0,255,220,.18), transparent 22%),
        radial-gradient(circle at 78% 58%, rgba(160,65,255,.18), transparent 35%),
        linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.08) 46%, rgba(13,7,29,.78) 100%),
        linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.46));
    mix-blend-mode: normal;
    pointer-events: none;
}
.pinocchio-orb img {
    border-radius: inherit;
    object-position: center 44%;
    filter: brightness(.68) saturate(1.42) contrast(1.24);
    transform: scale(1.04);
}
.sparkle {
    background: #fff5c8;
    opacity: .82;
    filter: drop-shadow(0 0 12px rgba(255,231,170,.95));
}
.sparkle-a { left: 10%; top: 16%; }
.sparkle-b { right: 19%; bottom: 19%; }
.forest-hero-text {
    z-index: 5;
    padding: 4px 0 0 42px;
    display: flex;
    min-height: 286px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.forest-eyebrow {
    margin-bottom: 2px;
    color: #d8b87a;
    font-size: 12px;
    letter-spacing: .16em;
}
.forest-eyebrow::before,
.forest-eyebrow::after {
    content: "〰";
    margin: 0 7px;
    color: rgba(246,202,113,.62);
    font-size: 11px;
}
.forest-wordmark {
    margin: 2px 0 4px;
    font-size: clamp(42px, 4.1vw, 64px);
    letter-spacing: .055em;
}
.forest-wordmark em {
    background:
        linear-gradient(180deg, #fff6d2 0%, #d9b86f 28%, #a26cff 55%, #f2c96b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 1px 0 rgba(255,247,210,.45),
        0 13px 24px rgba(0,0,0,.64);
    filter: drop-shadow(0 0 13px rgba(170,110,255,.38));
}
.forest-slogan {
    margin-bottom: 18px;
    color: #f3d98e;
    font-size: clamp(14px, 1.18vw, 18px);
    text-shadow: 0 0 16px rgba(242,201,107,.2);
}
.forest-features {
    width: min(100%, 560px);
    gap: 10px;
    margin: 0 auto 18px;
}
.forest-feature {
    min-height: 100px;
    padding: 13px 10px 11px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(33,23,59,.94), rgba(15,13,35,.96)),
        radial-gradient(circle at 50% 0, rgba(156,105,255,.2), transparent 44%);
    border: 1px solid rgba(151,118,217,.34);
    box-shadow:
        inset 0 0 0 1px rgba(255,226,156,.08),
        inset 0 -18px 34px rgba(0,0,0,.28),
        0 10px 24px rgba(0,0,0,.22);
}
.forest-feature .ff-ic {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(71,48,115,.96), rgba(25,18,54,.98)) !important;
    border: 1px solid rgba(219,185,118,.3);
    color: #cbb0ff;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05),
        0 0 18px rgba(132,86,255,.18) !important;
}
.forest-feature .ff-ic i {
    filter: drop-shadow(0 0 5px rgba(198,168,255,.36));
}
.forest-feature b {
    color: #f7e7b6;
    font-size: 12.5px;
}
.forest-feature small {
    color: rgba(228,218,246,.7);
    font-size: 10.2px;
    line-height: 1.45;
}
.forest-hero-actions {
    width: min(100%, 470px);
    gap: 14px;
    margin-top: 0;
}
.hero-cta {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 28px rgba(0,0,0,.38);
}
.hero-cta-gold {
    background: linear-gradient(180deg, #ffe58b, #e3ad34 52%, #b77418);
    color: #231405;
}
.hero-cta-purple {
    background: linear-gradient(180deg, #db9aff, #9e4fe0 52%, #6630b0);
    color: #fff5ff;
}
.forest-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 6;
    margin: 0;
}
.forest-hero-dots .dot {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,.25);
    box-shadow: 0 0 8px rgba(255,255,255,.16);
}
.forest-hero-dots .dot.active {
    width: 9px;
    background: #b57dff;
    box-shadow: 0 0 12px rgba(181,125,255,.75);
}

.forest-marquee {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 12px 16px;
    border: 1px solid rgba(167,139,250,.18);
    border-radius: 18px;
    background: rgba(0,0,0,.28);
}
.marquee-tag {
    flex: 0 0 auto;
    color: #1a0a2e;
    background: linear-gradient(135deg, #e9d5ff, #c084fc);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 950;
}
.marquee-track {
    display: flex;
    gap: 24px;
    min-width: max-content;
    animation: forest-marquee 34s linear infinite;
}
.marquee-track span {
    color: rgba(235,255,219,.82);
    font-size: 13px;
    white-space: nowrap;
}
.marquee-track em {
    color: var(--forest-gold);
    font-style: normal;
    font-weight: 900;
}
@keyframes forest-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.forest-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
}
.forest-quick-item {
    position: relative;
    min-height: 142px;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 26px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        linear-gradient(135deg, rgba(82,54,24,.92), rgba(37,20,8,.94));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 42px rgba(0,0,0,.28);
}
.forest-quick-item::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 20px;
}
.quick-icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.09);
    font-size: 26px;
}
.forest-quick-item strong {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 950;
}
.accent-lime .quick-icon { color: var(--forest-lime); box-shadow: 0 0 28px rgba(168,85,247,.22); }
.accent-amber .quick-icon { color: var(--forest-gold); box-shadow: 0 0 28px rgba(255,209,92,.22); }
.accent-red .quick-icon { color: #ff9b9b; box-shadow: 0 0 28px rgba(255,107,107,.2); }
.accent-wood .quick-icon { color: #deb887; box-shadow: 0 0 28px rgba(222,184,135,.2); }

.forest-game-section {
    margin-top: 56px;
}
.forest-section-title {
    margin: 0 0 20px;
    color: #faffd7;
    font-family: Cinzel, "Noto Serif KR", serif;
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 900;
    letter-spacing: .02em;
    text-shadow: 0 0 22px rgba(168,85,247,.16);
}
.forest-section-title span {
    display: inline-block;
    margin-left: 12px;
    color: var(--forest-gold);
    font-family: Pretendard, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
}
.forest-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.forest-game-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 18px 44px rgba(0,0,0,.28);
    transition: transform .18s ease, border-color .18s ease;
}
.forest-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168,85,247,.28);
}
.game-card-bg {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,255,255,.14), transparent 35%),
        linear-gradient(135deg, #173820, #07130c);
}
.game-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.02);
}
.game-card-bg i {
    color: rgba(255,255,255,.3);
    font-size: 56px;
}
.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.78));
}
.game-card-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
}
.game-card-content b {
    display: block;
    color: #fffbe5;
    font-size: 18px;
    font-weight: 950;
}
.game-card-content span {
    display: block;
    margin-top: 4px;
    color: rgba(235,255,219,.68);
    font-family: Cinzel, serif;
    font-size: 12px;
}

.forest-board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 54px;
}
.forest-board {
    padding: 22px;
    border: 1px solid rgba(167,139,250,.15);
    border-radius: 24px;
    background: rgba(0,0,0,.26);
    backdrop-filter: blur(14px);
}
.board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.board-head strong {
    color: var(--forest-gold);
    font-size: 18px;
    font-weight: 950;
}
.board-head a {
    color: rgba(235,255,219,.58);
    font-size: 12px;
    text-decoration: none;
}
.forest-board ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.forest-board li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(235,255,219,.8);
    cursor: pointer;
}
.forest-board li:last-child { border-bottom: 0; }
.forest-board li em {
    color: rgba(235,255,219,.42);
    font-style: normal;
    white-space: nowrap;
}

body.forest-user-body .footer {
    position: relative;
    z-index: 1;
    margin: 0;
    background: rgba(0,0,0,.28);
    border-top: 1px solid rgba(167,139,250,.12);
}

@media (max-width: 1280px) {
    .forest-nav { overflow-x: auto; justify-content: flex-start; }
    .forest-wallets { display: none; }
    body.sports-page .forest-nav {
        overflow: hidden;
        flex-wrap: nowrap;
    }
    body.sports-page .forest-wallets {
        display: flex !important;
    }
    .forest-game-grid { grid-template-columns: repeat(3, 1fr); }
    .forest-crystal-card { width: min(1120px, calc(100vw - 80px)); }
    .forest-banner-inner { padding-right: 56px; }
    .forest-feature small { font-size: 9.8px; }
}
@media (max-width: 980px) {
    .forest-header { padding: 10px 14px; height: 74px; }
    .forest-header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
    .forest-hamburger { display: flex; }
    .forest-logo img { height: 54px; width: 170px; }
    .forest-nav { display: none; }
    .forest-crystal-card { width: min(720px, calc(100vw - 34px)); }
    .forest-banner-inner { grid-template-columns: 1fr; min-height: auto; padding: 24px 24px 42px; }
    .forest-banner-inner::after { display: none; }
    .forest-banner-art { min-height: 230px; order: 1; margin-bottom: 16px; }
    .pinocchio-orb { height: 230px; border-radius: 14px; }
    .forest-hero-text { order: 2; min-height: auto; padding: 0; }
    .forest-features { max-width: 560px; }
    .forest-quick-actions { grid-template-columns: repeat(2, 1fr); }
    .forest-game-grid { grid-template-columns: repeat(2, 1fr); }
    .forest-board-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .forest-root { padding: 20px 12px 70px; }
    .forest-auth-buttons { gap: 6px; }
    .forest-login-btn,
    .forest-signup-btn { padding: 9px 12px; font-size: 12px; }
    .forest-userbox { display: none; }
    .forest-crystal-card { width: 100%; border-radius: 18px; }
    .forest-banner-inner { padding: 18px 16px 40px; border-radius: 18px; }
    .pinocchio-orb { height: 190px; }
    .forest-wordmark { font-size: 34px; }
    .forest-slogan { font-size: 15px; }
    .forest-desc { font-size: 14px; }
    .forest-features { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
    .forest-hero-actions { flex-direction: column; }
    .glossy-btn,
    .hero-cta { width: 100%; }
    .forest-quick-actions { grid-template-columns: 1fr; }
    .forest-game-grid,
    .forest-game-grid.slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }
    .forest-game-card { min-height: 0; }
}

@media (max-width: 768px) {
    :root {
        --forest-header-h: 62px;
        --forest-footer-h: 44px;
    }
    html,
    body.forest-user-body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    body.forest-user-body {
        background:
            linear-gradient(180deg, rgba(12,6,28,.08) 0%, rgba(7,3,18,.22) 64%, rgba(3,2,10,.58) 100%),
            url('/assets/img/user-page-bg.png') center top / auto 100vh no-repeat fixed,
            linear-gradient(180deg, #0b061a 0%, #05030d 100%);
        background-attachment: scroll, scroll, scroll;
    }
    body.forest-user-body::before,
    body.forest-user-body::after {
        display: none;
    }

    .forest-header {
        height: var(--forest-header-h);
        padding: 7px 8px 7px 10px;
        background: linear-gradient(180deg, rgba(8,4,22,.96), rgba(12,6,28,.9));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .forest-header-inner {
        width: 100%;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 8px;
    }
    .forest-header-inner.is-guest {
        grid-template-columns: 38px 48px minmax(0, 1fr);
        justify-content: start;
        column-gap: 6px;
    }
    .forest-hamburger {
        display: flex;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: rgba(255,255,255,.06);
    }
    .forest-logo {
        width: auto;
        justify-content: flex-start;
        min-width: 0;
    }
    .forest-logo img {
        width: 132px;
        height: 42px;
        margin: 0;
    }
    .forest-nav,
    .forest-wallets {
        display: none !important;
    }
    .forest-header-right {
        gap: 5px;
        min-width: 0;
    }
    .forest-header-inner.is-guest .forest-header-right {
        margin-left: auto;
        justify-self: end;
    }
    .forest-header-inner.is-guest .forest-logo {
        width: 48px;
        height: 42px;
        overflow: hidden;
        justify-content: center;
    }
    .forest-header-inner.is-guest .forest-logo img {
        width: 132px;
        max-width: none;
        height: 42px;
        flex: 0 0 auto;
    }
    .forest-auth-buttons {
        gap: 5px;
    }
    .forest-login-btn,
    .forest-signup-btn {
        padding: 8px 10px;
        font-size: 11px;
        white-space: nowrap;
    }
    .forest-userbox {
        display: flex;
        gap: 5px;
        align-items: center;
    }
    .forest-nickname {
        max-width: 78px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 8px 9px;
        font-size: 11px;
    }
    .forest-logout {
        padding: 8px 9px;
        font-size: 11px;
    }
    .forest-drawer-panel {
        width: min(300px, 84vw);
        padding: 16px;
        background:
            radial-gradient(circle at 30% 0, rgba(168,85,247,.14), transparent 34%),
            linear-gradient(180deg, rgba(9,7,27,.98), rgba(3,8,10,.98));
        overflow-y: auto;
    }
    .forest-drawer-nav a {
        padding: 14px 14px;
        font-size: 14px;
    }

    .forest-header-inner.is-authed {
        display: flex;
        align-items: center;
        gap: 0;
        height: 48px;
        padding-right: 28px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    .forest-header-inner.is-authed::-webkit-scrollbar {
        display: none;
    }
    .forest-header-inner.is-authed .forest-hamburger {
        flex: 0 0 38px;
        margin-right: 6px;
        align-self: center;
    }
    .forest-header-inner.is-authed .forest-logo,
    .forest-header-inner.is-authed .forest-nav,
    .forest-header-inner.is-authed .forest-wallets,
    .forest-header-inner.is-authed .forest-header-right,
    .forest-header-inner.is-authed .forest-userbox {
        display: inline-flex !important;
        align-items: center;
        flex: 0 0 auto;
        min-width: 0;
    }
    .forest-header-inner.is-authed .forest-logo {
        width: auto;
        height: 32px;
        justify-content: center;
        padding: 0 8px 0 2px;
        margin-right: 4px;
        border-right: 1px solid rgba(167,139,250,.24);
    }
    .forest-header-inner.is-authed .forest-logo img {
        width: 74px;
        height: 28px;
        margin: 0;
    }
    .forest-header-inner.is-authed .forest-nav {
        gap: 0;
        overflow: visible;
        height: 32px;
    }
    .forest-header-inner.is-authed .forest-nav a,
    .forest-header-inner.is-authed .forest-money-pill,
    .forest-header-inner.is-authed .forest-point-pill,
    .forest-header-inner.is-authed .forest-point-convert,
    .forest-header-inner.is-authed .forest-nickname,
    .forest-header-inner.is-authed .forest-logout {
        height: 32px;
        min-height: 32px;
        padding: 0 7px;
        border-radius: 0;
        border: 0;
        border-right: 1px solid rgba(167,139,250,.24);
        background: transparent;
        box-shadow: none;
        color: rgba(245,239,255,.9);
        font-size: 10px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -.03em;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    .forest-header-inner.is-authed .forest-nav a:nth-child(n+3) {
        display: none !important;
    }
    .forest-header-inner.is-authed .forest-header-right {
        gap: 0;
        margin-left: 0;
        height: 32px;
    }
    .forest-header-inner.is-authed .forest-wallets {
        gap: 0;
        height: 32px;
    }
    .forest-header-inner.is-authed .forest-money-pill,
    .forest-header-inner.is-authed .forest-point-pill {
        display: inline-flex !important;
        gap: 3px;
        min-width: auto;
        justify-items: initial;
        text-align: center;
    }
    .forest-header-inner.is-authed .forest-money-pill em,
    .forest-header-inner.is-authed .forest-point-pill em {
        color: rgba(235,255,219,.7);
        font-size: 9px;
        font-weight: 800;
    }
    .forest-header-inner.is-authed .forest-money-pill strong,
    .forest-header-inner.is-authed .forest-point-pill strong {
        color: var(--forest-gold);
        font-size: 10px;
        font-weight: 900;
    }
    .forest-header-inner.is-authed .forest-point-pill strong {
        color: #b9f7ff;
    }
    .forest-header-inner.is-authed .forest-point-convert {
        color: #facc15;
    }
    .forest-header-inner.is-authed .forest-nickname-name {
        display: none;
    }
    .forest-header-inner.is-authed .forest-nickname-label {
        display: inline;
    }
    .forest-header-inner.is-authed .forest-logout {
        color: #ffb4b4;
        border-right: 0;
    }
    .forest-mobile-scroll-prev,
    .forest-mobile-scroll-next {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        width: 24px;
        height: 36px;
        border: 0;
        color: #facc15;
        font-size: 25px;
        font-weight: 900;
        line-height: 1;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .16s ease, filter .16s ease;
    }
    .forest-mobile-scroll-prev.is-visible,
    .forest-mobile-scroll-next.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
    .forest-mobile-scroll-prev {
        left: 5px;
        border-right: 1px solid rgba(167,139,250,.24);
        border-radius: 10px 0 0 10px;
        background:
            linear-gradient(270deg, rgba(10,6,24,.12), rgba(10,6,24,.92) 35%, rgba(10,6,24,.98));
        box-shadow: 10px 0 16px rgba(5,3,15,.62);
    }
    .forest-mobile-scroll-next {
        right: 5px;
        border-left: 1px solid rgba(167,139,250,.24);
        border-radius: 0 10px 10px 0;
        background:
            linear-gradient(90deg, rgba(10,6,24,.12), rgba(10,6,24,.92) 35%, rgba(10,6,24,.98));
        box-shadow: -10px 0 16px rgba(5,3,15,.62);
    }
    .forest-mobile-scroll-prev:hover,
    .forest-mobile-scroll-next:hover {
        filter: brightness(1.15);
    }

    .forest-root {
        min-height: auto;
        padding: 14px 10px 56px;
    }
    .forest-hero,
    .forest-marquee,
    .forest-quick-actions,
    .forest-game-section,
    .forest-board-grid {
        width: 100%;
        max-width: 100%;
    }
    .forest-hero {
        padding: 12px 0 10px;
    }
    .forest-crystal-card {
        width: 100%;
        min-height: auto;
        border-radius: 16px;
        border-width: 1px;
        box-shadow:
            inset 0 0 0 1px rgba(255,230,166,.14),
            inset 0 0 26px rgba(72,39,128,.38),
            0 14px 36px rgba(0,0,0,.5);
    }
    .forest-crystal-card::before {
        inset: 7px;
        border-radius: 12px;
    }
    .forest-banner-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
        padding: 14px 14px 18px;
        border-radius: 15px;
    }
    .forest-banner-inner::before {
        inset: 9px;
        border-radius: 11px;
    }
    .forest-banner-art {
        min-height: auto;
        order: 1;
        margin: 0;
    }
    .pinocchio-orb {
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 11px;
    }
    .forest-hero-text {
        order: 2;
        min-height: auto;
        padding: 0;
    }
    .forest-eyebrow {
        font-size: 10px;
        letter-spacing: .08em;
    }
    .forest-eyebrow::before,
    .forest-eyebrow::after {
        margin: 0 3px;
    }
    .forest-wordmark {
        font-size: clamp(30px, 10vw, 42px);
        letter-spacing: .04em;
    }
    .forest-slogan {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.45;
    }
    .forest-features {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 0 0 12px;
    }
    .forest-feature {
        min-height: 0;
        display: grid;
        grid-template-columns: 36px 1fr;
        align-items: center;
        text-align: left;
        gap: 3px 10px;
        padding: 11px 12px;
    }
    .forest-feature .ff-ic {
        grid-row: span 2;
    }
    .forest-feature b {
        font-size: 13px;
    }
    .forest-feature small {
        font-size: 11px;
    }
    .forest-hero-actions {
        display: none;
    }
    .forest-hero-dots {
        display: none;
    }

    .forest-game-section {
        margin-top: 28px;
    }
    .forest-section-title {
        margin-bottom: 12px;
        font-size: 28px;
        line-height: 1.1;
    }
    .forest-section-title span {
        display: block;
        margin: 4px 0 0;
        font-size: 12px;
    }
    .forest-game-grid,
    .forest-game-grid.slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }
    .forest-game-card {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 4.55;
        border-radius: 12px;
    }
    .game-card-content {
        left: 7px;
        right: 7px;
        bottom: 8px;
    }
    .game-card-content b {
        font-size: clamp(10px, 3.15vw, 13px);
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .game-card-content span {
        margin-top: 2px;
        font-size: clamp(7px, 2.15vw, 9px);
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .forest-board-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
    }
    .forest-board {
        padding: 16px;
        border-radius: 16px;
        backdrop-filter: none;
    }
    .forest-board li {
        align-items: flex-start;
        font-size: 13px;
    }
    body.forest-user-body .footer {
        padding: 14px 12px;
        text-align: center;
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (max-width: 1200px) {
    body.sports-page .forest-header {
        min-height: 58px;
        padding: 8px 12px;
    }
    body.sports-page .forest-header-inner.is-authed {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: auto !important;
        min-height: 42px !important;
        gap: 10px !important;
        overflow: hidden !important;
        padding-right: 0 !important;
    }
    body.sports-page .forest-header-inner.is-authed .forest-hamburger {
        display: inline-flex !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        border-radius: 11px !important;
    }
    body.sports-page .forest-header-inner.is-authed .forest-logo {
        display: inline-flex !important;
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 38px !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
    }
    body.sports-page .forest-header-inner.is-authed .forest-logo img {
        width: 132px !important;
        height: 38px !important;
        object-fit: contain !important;
        margin: 0 !important;
    }
    body.sports-page .forest-header-inner.is-authed .forest-nav,
    body.sports-page .forest-header-inner.is-authed .forest-header-right,
    body.sports-page .forest-header-inner.is-authed .forest-wallets,
    body.sports-page .forest-header-inner.is-authed .forest-userbox {
        display: none !important;
    }
    body.sports-page .forest-mobile-scroll-prev,
    body.sports-page .forest-mobile-scroll-next {
        display: none !important;
    }
}
