/* ============================================
   PurpleBet - Static Rebuild
   Theme: dark purple (stealth)
   ============================================ */

:root {
    /* Background — lighter purple-navy palette */
    --bg-primary: #0b0524;      /* [2026-09-17 SUPERNOVA] 심우주 톤으로 하향 */
    --bg-secondary: #140a36;
    --bg-card: #2b1758;
    --bg-card-hover: #372070;
    --bg-elevated: #372070;

    /* Brand */
    --brand-primary: #b865ff;          /* lighter purple accent */
    --brand-primary-hover: #c98eff;
    --brand-cta: #ff2d8a;               /* pink deposit */
    --brand-cta-hover: #ff4d9a;
    --brand-accent: #74d3ff;            /* cyan link */

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #d6c8ee;
    --text-muted: #9b8cc0;
    --text-on-cta: #ffffff;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.12);

    /* Layout */
    --header-h: 72px;   /* [2026-09-17] 로고·버튼 확대에 맞춤 */
    --subnav-h: 88px;   /* [2026-09-16] 56→70, [2026-09-17] 70→80→88 메뉴 확대 (주 사용자 50~60대) */
    --content-max: 1400px;   /* 2026-09-18: 1140 → 1400 (1열 6개) */
    --content-pad: 32px;

    /* Card sizes */
    --card-sq-w: 260px;   /* [2026-09-17] 232→260 게임 이미지 확대 */
    --card-sky-w: 260px;
    --card-radius: 14px;

    /* Misc */
    --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.45);
    --transition: 0.18s ease;
}

/* ============================================
   Reset / Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at top, #2d1a5e 0%, var(--bg-primary) 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;   /* [2026-09-17] 전체 폰트 확대 14→15→17 (주 사용자 50~60대) */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   Custom scrollbar (global)
   ============================================ */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 101, 255, 0.35) transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(184, 101, 255, 0.3);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 101, 255, 0.55);
    background-clip: padding-box;
    border: 2px solid transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
    color: inherit;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   Layout shell
   ============================================ */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page__content {
    flex: 1;
    padding-bottom: 32px;
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(31, 19, 66, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header__logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.header__logo b {
    color: var(--brand-primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.balance-pill:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
}

.balance-pill__currency {
    color: var(--text-primary);
}

.balance-pill__amount {
    color: var(--text-secondary);
    font-weight: 500;
}

.balance-pill__refresh {
    width: 14px;
    height: 14px;
    opacity: 0.85;
    filter: brightness(0) invert(1);
}

.balance-pill.is-refreshing .balance-pill__refresh {
    animation: spin-once 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.balance-pill--bonus .balance-pill__currency {
    color: var(--brand-primary);
}

.btn-deposit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    background: var(--brand-cta);
    color: var(--text-on-cta);
    font-weight: 700;
    font-size: 13px;
    transition: background var(--transition);
}

.btn-deposit:hover {
    background: var(--brand-cta-hover);
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: background var(--transition);
}

.icon-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.icon-btn img {
    width: 22px;
    height: 22px;
}

/* User chip — clickable button (opens logout modal) */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    user-select: none;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
}

.user-chip:hover {
    background: var(--bg-card);
}

.user-chip__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-chip__avatar img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.user-chip__name {
    letter-spacing: 0.02em;
}

/* ============================================
   Sub-nav (Casino/Sports + categories)
   ============================================ */
.subnav {
    background: #150a30;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: sticky;
    top: var(--header-h);
    z-index: 90;
}

.subnav__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--subnav-h);
    overflow-x: auto;
    scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
    display: none;
}

.subnav__list {
    display: flex;
    gap: 8px;
    flex: 1;
}

.subnav__item {
    /* [2026-09-16] 메뉴가 너무 작다는 요청 — 글자/여백/아이콘 확대 */
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.subnav__item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.subnav__item.is-active {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
}

.subnav__item img {
    width: 22px;
    height: 22px;
    transition: filter var(--transition);
}

.subnav__item.is-active img {
    filter: brightness(0) invert(1);
}

/* ============================================
   Banner slider
   ============================================ */
.banner {
    padding: 16px 0 8px;
}

.banner__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.banner__track {
    display: flex;
    transition: transform 0.4s ease;
}

.banner__slide {
    min-width: 100%;
    aspect-ratio: 1000 / 350;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    user-select: none;
}

.banner__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner__dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition), width 0.25s ease, border-radius var(--transition);
}

.banner__dot.is-active {
    background: var(--text-primary);
    width: 28px;
    border-radius: 6px;
}

.banner__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.banner__viewport:hover .banner__arrow {
    opacity: 1;
}

.banner__arrow--prev { left: 12px; }
.banner__arrow--next { right: 12px; }

.banner__arrow img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* ============================================
   Game section (carousel)
   ============================================ */
.section {
    padding: 16px 0;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.section__see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--brand-accent);
}

.section__see-all:hover {
    color: var(--brand-primary-hover);
}

.carousel {
    position: relative;
}

.carousel__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

/* Shuffled layout: 2-row grid with mixed card sizes */
.carousel--shuffled .carousel__track {
    display: grid;
    grid-template-rows: var(--card-sq-w) var(--card-sq-w);
    grid-auto-flow: column dense;
    grid-auto-columns: var(--card-sq-w);
    scroll-snap-type: x mandatory;
}

.carousel--shuffled .game-card {
    flex: none;
    width: var(--card-sq-w);
    height: var(--card-sq-w);
    aspect-ratio: auto;
}

/* Portrait variant: 1 col × 2 rows (tall vertical) */
.carousel--shuffled .game-card--portrait {
    width: var(--card-sq-w);
    height: calc(var(--card-sq-w) * 2 + 10px);
    grid-row: span 2;
}

.carousel--shuffled .game-card--portrait .game-card__fg {
    top: 12%;
    bottom: 12%;
    left: 12%;
    right: 12%;
    width: 76%;
    height: 76%;
}

.carousel--shuffled .game-card--portrait .game-card__name {
    font-size: 14px;
}

/* Landscape variant: 2 cols × 1 row (wide horizontal) */
.carousel--shuffled .game-card--landscape {
    width: calc(var(--card-sq-w) * 2 + 10px);
    height: var(--card-sq-w);
    grid-column: span 2;
}

.carousel--shuffled .game-card--landscape .game-card__fg {
    left: 30%;
    right: 30%;
    width: 40%;
    top: 10%;
    bottom: 10%;
    height: 80%;
}

/* Promoted variant: 2 cols × 2 rows (big square) */
.carousel--shuffled .game-card--promoted {
    width: calc(var(--card-sq-w) * 2 + 10px);
    height: calc(var(--card-sq-w) * 2 + 10px);
    grid-row: span 2;
    grid-column: span 2;
}

.carousel--shuffled .game-card--promoted .game-card__name {
    font-size: 16px;
    bottom: 14px;
    left: 14px;
    right: 14px;
}

.carousel--shuffled .game-card--promoted .game-card__badge {
    font-size: 13px;
    padding: 4px 10px;
    top: 12px;
    left: 12px;
}

.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition);
}

.carousel:hover .carousel__arrow {
    opacity: 1;
}

.carousel__arrow--prev { left: -18px; }
.carousel__arrow--next { right: -18px; }

.carousel__arrow img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* Game card - square variant */
.game-card {
    flex: 0 0 var(--card-sq-w);
    scroll-snap-align: start;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: linear-gradient(160deg, #4a2780 0%, #2e1858 100%);
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s ease;
    z-index: 1;
}

/* Dark gradient overlay at bottom — improves title readability over any BG image */
.game-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.5) 35%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Pink glow ring on hover — inset so it never clips, no layout impact */
.game-card:hover {
    z-index: 5;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 2px var(--brand-cta),
        inset 0 0 24px rgba(255, 45, 138, 0.55);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.game-card__fg {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 10%;
    bottom: 10%;
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center center;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    will-change: transform;
    pointer-events: none;
}

.game-card:hover .game-card__fg {
    transform: translateY(-14px) scale(1.04);
}

.game-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--brand-cta);
    color: var(--text-on-cta);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.game-card__name {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Game card - skyscraper variant (tall portrait) */
.carousel--skyscraper .game-card {
    flex-basis: var(--card-sky-w);
    aspect-ratio: 184 / 260;
}

/* Game card - rectangle variant (landscape) */
.carousel--rectangle .game-card {
    flex-basis: 280px;
    aspect-ratio: 16 / 9;
}

.carousel--rectangle .game-card__fg {
    left: 20%;
    right: 20%;
    width: 60%;
}

/* ============================================
   Featured card (banner-like section)
   ============================================ */
.featured {
    padding: 16px 0;
}

.featured__card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6d2dbb 0%, #2e1858 60%, #1a0d3a 100%);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.featured__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 50%, rgba(184, 101, 255, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.featured__text {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.featured__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.featured__desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.featured__cta {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 24px;
    background: var(--brand-cta);
    color: var(--text-on-cta);
    font-weight: 700;
    font-size: 13px;
    transition: background var(--transition);
}

.featured__cta:hover {
    background: var(--brand-cta-hover);
}

.featured__art {
    flex: 0 0 160px;
    height: 120px;
    background-image: radial-gradient(circle at center, rgba(184, 101, 255, 0.4) 0%, transparent 70%);
    position: relative;
    z-index: 1;
}

.featured__art::after {
    content: '★';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.15);
}

/* Featured card variant — full-viewport banner with games inside */
.featured__card--with-games {
    display: block;
    /* Break out of parent container — extend to viewport edges */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    box-shadow: none;
    padding-top: 24px;
    padding-bottom: 28px;
    padding-left: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
    padding-right: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
}

.featured__card--with-games::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(184, 101, 255, 0.22) 0%, transparent 55%);
    pointer-events: none;
}

.featured__inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.featured__card--with-games .featured__title {
    margin: 0;
    font-size: 18px;
}

.featured__card--with-games .featured__desc {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.featured__card--with-games .carousel {
    position: relative;
    z-index: 1;
}

/* ============================================
   Game of the Day
   ============================================ */
.game-of-day {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #4d1a8f 0%, #1a0d3a 100%);
    box-shadow: var(--shadow-card);
    margin: 16px 0;
}

.game-of-day__art {
    display: flex;
    height: 280px;
}

.game-of-day__art img {
    flex: 1;
    width: 33.333%;
    height: 100%;
    object-fit: cover;
}

.game-of-day__info {
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.game-of-day__icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.game-of-day__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-of-day__text {
    flex: 1;
    min-width: 0;
}

.game-of-day__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.game-of-day__name {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.game-of-day__teaser {
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-of-day__cta {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 24px;
    background: var(--brand-cta);
    color: var(--text-on-cta);
    font-weight: 700;
    font-size: 13px;
    transition: background var(--transition);
}

.game-of-day__cta:hover {
    background: var(--brand-cta-hover);
}

/* ============================================
   Navigation tiles
   ============================================ */
.nav-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 24px 0;
}

.nav-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-radius: var(--card-radius);
    background: linear-gradient(135deg, #5a2da3 0%, #2e1858 100%);
    color: var(--text-primary);
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-card);
}

.nav-tile:hover {
    box-shadow: 0 12px 28px rgba(184, 101, 255, 0.3);
}

.nav-tile__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.nav-tile__icon {
    width: 48px;
    height: 48px;
    opacity: 0.7;
}

/* ============================================
   Modal (Point Exchange + reusable)
   ============================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 4, 24, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(180deg, #2e1858 0%, #1f1342 100%);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.modal--lg {
    max-width: 640px;
}

.modal-backdrop.is-open .modal {
    transform: translateY(0) scale(1);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
}

.modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
}

.modal__close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.modal__close img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal__body {
    padding: 20px 22px;
}

.modal__body--flush {
    padding: 0;
}

.modal__footer {
    display: flex;
    gap: 10px;
    padding: 18px 30px 24px;
    border-top: 1px solid var(--border-subtle);
}

.modal__footer .btn {
    flex: 1;
}

/* Single button in footer — narrower + centered (e.g., notice detail "一覧へ戻る") */
.modal__footer .btn:only-child {
    flex: 0 1 auto;
    min-width: 180px;
    margin: 0 auto;
}

/* Form fields */
.field {
    margin-bottom: 16px;
}

.field__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.field__input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: border-color var(--transition);
}

.field__input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.field__input[readonly] {
    color: var(--text-secondary);
    cursor: default;
}

.field__suffix {
    position: relative;
}

.field__suffix .field__input {
    padding-right: 36px;
}

.field__suffix-label {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    pointer-events: none;
}

/* Quick amount buttons */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.quick-amounts__btn {
    padding: 9px 8px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.quick-amounts__btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
}

.quick-amounts__btn--clear {
    background: rgba(255, 45, 138, 0.12);
    border-color: rgba(255, 45, 138, 0.3);
    color: var(--brand-cta);
}

.quick-amounts__btn--clear:hover {
    background: rgba(255, 45, 138, 0.2);
}

/* Modal action buttons */
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn--primary {
    background: var(--brand-primary);
    color: var(--text-primary);
    border: 1px solid var(--brand-primary);
}

.btn--primary:hover {
    background: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.btn--ghost:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ============================================
   Notice modal (list + detail views)
   ============================================ */
.notice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.notice-table thead {
    background: rgba(0, 0, 0, 0.25);
}

.notice-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-default);
}

.notice-table__no {
    width: 60px;
    text-align: center !important;
}

.notice-table__date {
    width: 100px;
    text-align: center !important;
    color: var(--text-muted);
    font-size: 12px;
}

.notice-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.notice-table tbody tr {
    cursor: pointer;
    transition: background var(--transition);
}

.notice-table tbody tr:hover {
    background: rgba(184, 101, 255, 0.08);
}

.notice-table tbody tr:last-child td {
    border-bottom: 0;
}

.notice-table__title {
    font-weight: 600;
}

/* Detail view */
.notice-detail__header {
    background: rgba(184, 101, 255, 0.12);
    border: 1px solid rgba(184, 101, 255, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    text-align: center;
}

.notice-detail__title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
}

.notice-detail__date {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.notice-detail__body {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
    padding: 0 4px 8px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.footer__logo b {
    color: var(--brand-primary);
}

.footer__text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Game history modal (shared — index + play)
   ============================================ */
.history-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 4, 24, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.history-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.history-modal__sheet {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(31, 19, 66, 0.98) 0%, rgba(20, 12, 44, 0.97) 100%);
    border-bottom: 1px solid var(--border-default);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(-22px);
    transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.history-modal.is-open .history-modal__sheet {
    transform: translateY(0);
}

.history-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    flex: 0 0 auto;
}

.history-modal__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.history-modal__title svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.history-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background var(--transition);
    cursor: pointer;
}

.history-modal__close:hover {
    background: var(--bg-card);
}

.history-modal__close img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.history-modal__body {
    overflow-y: auto;
    padding: 0 8px 6px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead th {
    position: sticky;
    top: 0;
    background: rgba(20, 12, 44, 0.98);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
    padding: 12px 16px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    z-index: 1;
}

.history-table thead th:first-child,
.history-table thead th:nth-child(2) {
    text-align: left;
}

.history-cell {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    text-align: right;
    white-space: nowrap;
}

.history-cell--time {
    color: var(--text-muted);
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.history-cell--game {
    color: var(--text-primary);
    text-align: left;
    font-weight: 600;
}

.history-cell--win.is-win {
    color: #36d399;
    font-weight: 700;
}

.history-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 22px 16px 10px;
}

.history-modal__footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 6px 16px 18px;
}

.history-back-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition);
}

.history-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.history-clear-btn {
    background: transparent;
    border: 1px solid rgba(255, 90, 90, 0.5);
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.history-clear-btn:hover {
    background: rgba(255, 90, 90, 0.14);
}

/* Inline SVG icons inside circular buttons */
.icon-btn svg {
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.play-toolbar__btn svg {
    width: 20px;
    height: 20px;
    opacity: 0.85;
}



/* [2026-09-16] 서브내비 확대 — 좁은 화면에서는 살짝 줄여 한 줄 유지 */
@media (max-width: 720px) {
    .subnav__item { font-size: 15px; padding: 10px 14px; gap: 7px; }
    .subnav__item img { width: 19px; height: 19px; }
}



/* ============================================
   [2026-09-17] 페이지 인라인 <style> 이식
   원래 각 HTML 의 <style> 블록에 있던 규칙을 그대로 옮김 (HTML 에서는 제거).
   아래 SUPERNOVA 블록이 이 규칙들을 덮어쓰므로 반드시 이 위치(SUPERNOVA 앞)에 둘 것.
   ============================================ */
/* ── 이식: index.html 인라인 <style> (2dcc7086) ── */
    .global-heading{font-size:26px;font-weight:800;color:var(--text-primary);margin:26px 0 6px;padding:0 0 12px;border-bottom:2px solid var(--brand-primary)}
    /* 카지노 게임사 가로 한 줄 (4개) */
    .home-vendor-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 14px}
    @media(max-width:640px){.home-vendor-row{grid-template-columns:repeat(2,1fr)}}
    .search-card{display:flex;flex-direction:column;color:inherit;cursor:pointer;text-decoration:none}
    .search-card__img{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(160deg,#4a2780 0%,#2e1858 100%);box-shadow:var(--shadow-card)}
    .search-card__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
    .search-card__img::after{content:'';position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.5) 35%,rgba(0,0,0,0) 100%);z-index:2;pointer-events:none}
    .search-card__caption{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;display:flex;flex-direction:column;gap:2px}
    .search-card__name-overlay{font-size:13px;font-weight:700;color:var(--text-primary);text-shadow:0 1px 3px rgba(0,0,0,.9);line-height:1.25}

    /* ===== [2026-09-15 모모 이식] 最近プレイしたゲーム 그리드 ===== */
    .nv-recent__grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
    @media(max-width:1200px){.nv-recent__grid{grid-template-columns:repeat(6,1fr)}}
    @media(max-width:900px){.nv-recent__grid{grid-template-columns:repeat(4,1fr)}}
    @media(max-width:560px){.nv-recent__grid{grid-template-columns:repeat(3,1fr);gap:9px}}
    .nv-recent__prov{font-size:10px;color:#cfc6de;opacity:.85;text-shadow:0 1px 3px rgba(0,0,0,.9);
                     overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    /* 게임기록에서 '실행 가능한' 게임명만 링크색 — 클릭하면 그 게임으로 바로 이동 */
    .history-cell--game .nv-hplay{color:var(--brand-primary,#b57bff);font-weight:700;cursor:pointer;text-decoration:none}
    .history-cell--game .nv-hplay:hover{text-decoration:underline}
  

/* ── 이식: all-games.html 인라인 <style> (d7d1d57e) ── */
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 18px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--border-subtle);
}
  

/* ── 이식: all-games.html 인라인 <style> (5c63453c) ── */
    .ag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
    .search-card{display:flex;flex-direction:column;color:inherit;cursor:pointer}
    .search-card__img{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(160deg,#4a2780 0%,#2e1858 100%);box-shadow:var(--shadow-card)}
    .search-card__bg,.search-card__fg{position:absolute;inset:0;width:100%;height:100%}
    .search-card__bg{object-fit:cover;z-index:0}
    .search-card__fg{object-fit:contain;padding:10%;z-index:1}
    .search-card__img::after{content:'';position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.5) 35%,rgba(0,0,0,0) 100%);z-index:2;pointer-events:none}
    .search-card__badge{position:absolute;top:8px;left:8px;z-index:3;padding:2px 8px;border-radius:4px;background:var(--brand-cta);color:var(--text-on-cta);font-size:10px;font-weight:800}
    .search-card__caption{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;display:flex;flex-direction:column;gap:2px}
    .search-card__name-overlay{font-size:13px;font-weight:700;color:var(--text-primary);text-shadow:0 1px 3px rgba(0,0,0,.9);line-height:1.25;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
    .search-card__players{font-size:11px;font-weight:600;color:rgba(255,255,255,.8);text-shadow:0 1px 3px rgba(0,0,0,.9)}
    .ag-more{display:flex;justify-content:center;margin-top:28px}
    .ag-more button{padding:12px 32px;border-radius:24px;background:var(--brand-primary);color:var(--text-primary);font-weight:800;font-size:13px;cursor:pointer;border:0}
    .ag-more button:disabled{opacity:.4;cursor:not-allowed}
  

/* ── 이식: lobby-new-games.html 인라인 <style> (32698b29) ── */
/* Reuse search card styles, adapted for lobby page */
.lobby-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px var(--content-pad) 64px;
}

.lobby-page__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));   /* 다른 목록과 동일: 1400px 에서 6열 */
  gap: 16px;
}

.search-card.is-hidden { display: none; }

/* Load more */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.load-more {
  padding: 12px 32px;
  border-radius: 24px;
  background: var(--brand-primary);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
  border: 0;
}

.load-more:hover { background: var(--brand-primary-hover); }
.load-more:disabled { opacity: 0.4; cursor: not-allowed; }

.search-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
}

.search-card__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #4a2780 0%, #2e1858 100%);
  box-shadow: var(--shadow-card);
}

.search-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 2px var(--brand-cta),
    inset 0 0 24px rgba(255, 45, 138, 0.55);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.search-card:hover .search-card__img::before { opacity: 1; }

.search-card__bg, .search-card__fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.search-card__bg { object-fit: cover; z-index: 0; }

.search-card__fg {
  object-fit: contain;
  object-position: center center;
  padding: 10%;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.search-card:hover .search-card__fg { transform: translateY(-10px) scale(1.04); }

.search-card__img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.search-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-cta);
  color: var(--text-on-cta);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.search-card__caption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-card__name-overlay {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-card__players {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  margin-right: 12px;
}

.page-header__back:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.page-header__back img { width: 14px; height: 14px; filter: brightness(0) invert(1); opacity: 0.85; }
  

/* ── 이식: slots-buy-feature.html 인라인 <style> (88fb0bf1) ── */
body { background: var(--bg-primary); }

.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 14px;
  padding: 18px 0 0;
}

.slot-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.slot-tab {
  padding: 8px 16px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.slot-tab:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.slot-tab.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-primary);
}

.slot-tab-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad) 64px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 16px;
}

.search-card { display: flex; flex-direction: column; color: inherit; cursor: pointer; }
.search-card.is-hidden { display: none; }

.search-card__img {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #4a2780 0%, #2e1858 100%);
  box-shadow: var(--shadow-card);
}

.search-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--brand-cta), inset 0 0 24px rgba(255, 45, 138, 0.55);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.search-card:hover .search-card__img::before { opacity: 1; }

.search-card__bg, .search-card__fg { position: absolute; inset: 0; width: 100%; height: 100%; }
.search-card__bg { object-fit: cover; z-index: 0; }
.search-card__fg {
  object-fit: contain; object-position: center center;
  padding: 10%; z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.search-card:hover .search-card__fg { transform: translateY(-10px) scale(1.04); }

.search-card__img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.search-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-cta);
  color: var(--text-on-cta);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.search-card__caption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
}

.search-card__name-overlay {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-card__players {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.load-more {
  padding: 12px 32px;
  border-radius: 24px;
  background: var(--brand-primary);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
  border: 0;
}
.load-more:hover { background: var(--brand-primary-hover); }
.load-more:disabled { opacity: 0.4; cursor: not-allowed; }
  

/* ── 이식: slots-pid-24.html 인라인 <style> (3a611a0e) ── */
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 14px;
  padding: 18px 0 0;
}

/* Slot tab navigation */
.slot-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.slot-tab {
  padding: 8px 16px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.slot-tab:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.slot-tab.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-primary);
}
  

/* ── 이식: slots-pid-24.html 인라인 <style> (e8075f26) ── */
    .sl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
    .search-card{display:flex;flex-direction:column;color:inherit;cursor:pointer}
    .search-card__img{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(160deg,#4a2780 0%,#2e1858 100%);box-shadow:var(--shadow-card)}
    .search-card__bg,.search-card__fg{position:absolute;inset:0;width:100%;height:100%}
    .search-card__bg{object-fit:cover;z-index:0}
    .search-card__fg{object-fit:contain;padding:10%;z-index:1}
    .search-card__img::after{content:'';position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.5) 35%,rgba(0,0,0,0) 100%);z-index:2;pointer-events:none}
    .search-card__badge{position:absolute;top:8px;left:8px;z-index:3;padding:2px 8px;border-radius:4px;background:var(--brand-cta);color:var(--text-on-cta);font-size:10px;font-weight:800}
    .search-card__caption{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;display:flex;flex-direction:column;gap:2px}
    .search-card__name-overlay{font-size:13px;font-weight:700;color:var(--text-primary);text-shadow:0 1px 3px rgba(0,0,0,.9);line-height:1.25;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
    .search-card__players{font-size:11px;font-weight:600;color:rgba(255,255,255,.8);text-shadow:0 1px 3px rgba(0,0,0,.9)}
    .sl-more{display:flex;justify-content:center;margin-top:28px}
    .sl-more button{padding:12px 32px;border-radius:24px;background:var(--brand-primary);color:var(--text-primary);font-weight:800;font-size:13px;cursor:pointer;border:0}
    .sl-more button:disabled{opacity:.4;cursor:not-allowed}
  


/* ============================================
   [2026-09-17] SUPERNOVA THEME — 공통 확장
   login.css 와 같은 컨셉을 전 페이지에 적용.
   이 블록은 위쪽 규칙을 덮어쓴다 (같은 특이성 → 뒤가 우선).
   페이지 HTML 인라인 <style> 을 이겨야 하는 곳은
   `body .xxx` 처럼 특이성을 한 단계 올려 둠.
   ============================================ */

@property --nova-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* ---------- 공통 배경: 심우주 + 별밭 + 성운 ---------- */
html {
    background: #07031a linear-gradient(180deg, #07031a 0%, #120a33 40%, #0b0524 100%) fixed;
}

body:not(.login-page) {
    background: transparent;
}

/* 별밭 (느린 드리프트, 절제된 밀도) */
body:not(.login-page)::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: -100%;
    height: 200%;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 22px 28px,   rgba(255,255,255,0.85), transparent 2px),
        radial-gradient(1px 1px at 118px 92px,  rgba(255,255,255,0.6),  transparent 2px),
        radial-gradient(1px 1px at 205px 40px,  rgba(214,200,238,0.7),  transparent 2px),
        radial-gradient(1px 1px at 290px 170px, rgba(255,255,255,0.5),  transparent 2px),
        radial-gradient(1px 1px at 60px 230px,  rgba(116,211,255,0.7),  transparent 2px),
        radial-gradient(1.5px 1.5px at 160px 300px, rgba(255,255,255,0.7), transparent 2.5px),
        radial-gradient(1px 1px at 340px 70px,  rgba(255,255,255,0.45), transparent 2px),
        radial-gradient(1.5px 1.5px at 250px 260px, rgba(184,101,255,0.8), transparent 2.5px),
        radial-gradient(1px 1px at 90px 340px,  rgba(255,255,255,0.55), transparent 2px),
        radial-gradient(1px 1px at 370px 330px, rgba(214,200,238,0.6),  transparent 2px);
    background-size: 400px 400px;
    background-repeat: repeat;
    opacity: 0.75;
    animation: novaStarDrift 110s linear infinite, novaTwinkle 5s ease-in-out infinite;
}

/* 성운 (숨쉬는 글로우, opacity 만 변화 → GPU 부담 최소) */
body:not(.login-page)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 12% 0%,  rgba(184, 101, 255, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 45% 40% at 92% 12%, rgba(255, 45, 138, 0.13) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 70% 55%, rgba(116, 211, 255, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 70% 45% at 50% 105%, rgba(58, 27, 122, 0.45) 0%, transparent 70%);
    inset: -15%;
    animation: novaNebula 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes novaStarDrift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, 50%, 0); }
}

@keyframes novaNebula {
    0%   { transform: translate3d(0, 0, 0) scale(1);        opacity: 0.8; }
    50%  { transform: translate3d(-3%, 2%, 0) scale(1.06);  opacity: 1; }
    100% { transform: translate3d(3%, -2%, 0) scale(1.02);  opacity: 0.85; }
}

@keyframes novaTwinkle {
    0%, 100% { opacity: 0.75; }
    50%      { opacity: 0.45; }
}

@keyframes novaLogoShimmer {
    from { background-position: 0% 50%; }
    to   { background-position: 220% 50%; }
}

/* 회전은 45° 지점에서 × 처럼 보여 제외 — 크기·밝기만 반짝임 */
@keyframes novaGlint {
    0%, 100% { transform: scale(0.7); opacity: 0.55; }
    50%      { transform: scale(1.1); opacity: 1; }
}

/* ---------- 로고 (헤더·푸터 공통) ---------- */
.header__logo,
.footer__logo {
    letter-spacing: 0.05em;
    text-shadow: 0 0 18px rgba(184, 101, 255, 0.45), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header__logo {
    font-size: 24px;
}

.footer__logo {
    font-size: 26px;
}

.header__logo b,
.footer__logo b {
    background: linear-gradient(90deg, #b865ff 0%, #e2a7ff 35%, #74d3ff 50%, #e2a7ff 65%, #b865ff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: novaLogoShimmer 5s linear infinite;
}

/* ---------- 헤더 ---------- */
.header {
    background: rgba(7, 3, 26, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(184, 101, 255, 0.16);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* 헤더 하단 광선 라인 */
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(184, 101, 255, 0.85) 25%,
        rgba(116, 211, 255, 0.85) 50%,
        rgba(255, 45, 138, 0.85) 75%,
        transparent 100%);
    opacity: 0.7;
}

.header__actions {
    gap: 10px;
}

.balance-pill {
    padding: 8px 16px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(184, 101, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.balance-pill:hover {
    background: rgba(184, 101, 255, 0.14);
    border-color: rgba(184, 101, 255, 0.6);
    box-shadow: 0 0 18px rgba(184, 101, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.balance-pill__refresh {
    width: 16px;
    height: 16px;
}

.user-chip {
    font-size: 15px;
    padding: 5px 14px 5px 6px;
    border: 1px solid transparent;
}

.user-chip:hover {
    background: rgba(184, 101, 255, 0.12);
    border-color: rgba(184, 101, 255, 0.35);
}

.user-chip__avatar img {
    width: 24px;
    height: 24px;
}

.icon-btn {
    width: 44px;
    height: 44px;
}

.icon-btn:hover {
    background: rgba(184, 101, 255, 0.14);
    box-shadow: 0 0 16px rgba(184, 101, 255, 0.25);
}

.icon-btn img,
.icon-btn svg {
    width: 24px;
    height: 24px;
}

/* ---------- 서브 메뉴 ---------- */
.subnav {
    background: rgba(11, 5, 36, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.subnav__list {
    gap: 10px;
}

.subnav__item {
    gap: 10px;
    padding: 13px 24px;
    font-size: 19px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.subnav__item img {
    width: 26px;
    height: 26px;
}

.subnav__item:hover {
    background: rgba(184, 101, 255, 0.12);
    border-color: rgba(184, 101, 255, 0.35);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.subnav__item.is-active {
    background: linear-gradient(135deg, rgba(184, 101, 255, 0.34) 0%, rgba(255, 45, 138, 0.22) 100%);
    border-color: rgba(184, 101, 255, 0.55);
    color: var(--text-primary);
    box-shadow: 0 0 22px rgba(184, 101, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
    .subnav__item { font-size: 16px; padding: 11px 16px; gap: 8px; }
    .subnav__item img { width: 22px; height: 22px; }
}

/* ---------- 섹션 제목 ---------- */
.section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    letter-spacing: 0.02em;
}

/* 제목 앞 4각 별 글린트 (컨셉 시그니처) */
.section__title::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #fff 0%, #e2a7ff 35%, rgba(184, 101, 255, 0.2) 75%, rgba(184, 101, 255, 0) 100%);
    clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
    filter: drop-shadow(0 0 4px rgba(184, 101, 255, 0.8));
    animation: novaGlint 3.2s ease-in-out infinite;
}

.section__see-all {
    font-size: 15px;
}

/* index.html 인라인 .global-heading (26px, 2px 보라 밑줄) 덮어쓰기 */
body .global-heading {
    font-size: 28px;
    letter-spacing: 0.02em;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #b865ff 0%, #74d3ff 45%, transparent 100%) 1;
}

/* ---------- 카드 텍스트 (크기만, hover 는 다음 단계) ---------- */
.game-card__name {
    font-size: 14px;
}

.game-card__badge {
    font-size: 12px;
    padding: 3px 9px;
}

.carousel--shuffled .game-card--portrait .game-card__name {
    font-size: 15px;
}

.carousel--shuffled .game-card--promoted .game-card__name {
    font-size: 17px;
}

/* 인라인 <style> 덮어쓰기: 검색/최근/신착 카드 이름·게임사, 게임사 칩 이름 */
.search-card .search-card__name-overlay {
    font-size: 14px;
}

.nv-recent__grid .nv-recent__prov {
    font-size: 12px;
}

.featured__title {
    font-size: 24px;
}

.featured__desc,
.featured__cta,
.game-of-day__cta {
    font-size: 14px;
}

.carousel__arrow,
.banner__arrow {
    background: rgba(11, 5, 36, 0.88);
    border: 1px solid rgba(184, 101, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.carousel__arrow:hover,
.banner__arrow:hover {
    border-color: rgba(184, 101, 255, 0.7);
    box-shadow: 0 0 16px rgba(184, 101, 255, 0.35);
}

/* ---------- 모달 / 폼 ---------- */
.modal {
    background: linear-gradient(180deg, #1c0f44 0%, #0f0730 100%);
    border: 1px solid rgba(184, 101, 255, 0.28);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(184, 101, 255, 0.15);
}

.modal__title {
    font-size: 19px;
}

.field__label {
    font-size: 13px;
}

.field__input {
    font-size: 15px;
    padding: 13px 15px;
    background: rgba(5, 2, 20, 0.45);
}

.field__input:focus {
    box-shadow: 0 0 0 4px rgba(184, 101, 255, 0.14), 0 0 20px rgba(184, 101, 255, 0.3);
}

.quick-amounts__btn {
    font-size: 13px;
}

.btn {
    font-size: 15px;
}

.btn--primary {
    background: linear-gradient(135deg, #ff2d8a 0%, #b865ff 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 45, 138, 0.3);
    transition: filter var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #ff2d8a 0%, #b865ff 100%);
    border-color: transparent;
    filter: brightness(1.08);
    box-shadow: 0 12px 26px rgba(255, 45, 138, 0.42), 0 0 22px rgba(184, 101, 255, 0.35);
    transform: translateY(-1px);
}

.notice-table {
    font-size: 14px;
}

.notice-table th {
    font-size: 12px;
}

.notice-detail__title {
    font-size: 15px;
}

.notice-detail__body {
    font-size: 14px;
}

.history-modal__sheet {
    background: linear-gradient(180deg, rgba(20, 10, 50, 0.98) 0%, rgba(11, 5, 36, 0.97) 100%);
    border-bottom: 1px solid rgba(184, 101, 255, 0.28);
}

.history-modal__title {
    font-size: 16px;
}

.history-table thead th {
    background: rgba(11, 5, 36, 0.98);
    font-size: 13px;
}

.history-cell,
.history-empty,
.history-back-btn,
.history-clear-btn {
    font-size: 14px;
}

/* ---------- 푸터 ---------- */
.footer {
    position: relative;
    background: rgba(7, 3, 26, 0.9);
    border-top: 1px solid rgba(184, 101, 255, 0.14);
    padding: 40px 0;
}

.footer::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 101, 255, 0.7), rgba(116, 211, 255, 0.7), transparent);
}

.footer__text {
    font-size: 13px;
}

/* ---------- 모션 축소 ---------- */

/* ---------- 모바일 헤더 압축 (폰트 확대로 390px 에서 넘치는 문제) ---------- */
@media (max-width: 640px) {
    .header__inner {
        gap: 8px;
    }

    .header__logo {
        flex: none;
        font-size: 20px;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    /* 액션 영역은 가로 스와이프 (원본은 잘려서 안 보이던 부분) */
    .header__actions {
        /* 내용이 짧으면 내용 폭(오른쪽 정렬 유지), 길면 남은 폭으로 줄어들며 왼쪽부터 스크롤.
           flex-end + overflow 조합은 앞부분이 잘려 못 보는 문제가 있어 flex-start 사용 */
        flex: 0 1 auto;
        min-width: 0;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .header__actions::-webkit-scrollbar {
        display: none;
    }

    .header__actions > * {
        flex: none;
    }

    .balance-pill {
        padding: 6px 11px;
        font-size: 13px;
        gap: 6px;
    }

    .balance-pill__refresh {
        width: 14px;
        height: 14px;
    }

    .user-chip {
        font-size: 13px;
        padding: 4px 10px 4px 4px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .icon-btn img,
    .icon-btn svg {
        width: 21px;
        height: 21px;
    }
}

@media (max-width: 420px) {
    .user-chip__name {
        display: none;
    }

    .user-chip {
        padding: 4px 6px;
    }
}

/* ---------- [요청 4] 홈 게임 그리드 확대 (게임사 타일은 파일 끝 [게임사 이미지 타일] 블록) ----------
   index.html 인라인 <style> 의 .nv-chip / .nv-recent__grid 를 덮어씀.
   인라인 미디어쿼리(1200/900/560)도 특이성으로 이기므로 여기서 다시 정의 */
/* 最近プレイ · 新着ゲーム 그리드: 8열 → 6열 (콘텐츠 1400px, 카드 약 209px) */
body .nv-recent__grid {
    grid-template-columns: repeat(6, 1fr);   /* 콘텐츠 1400px 기준 카드 약 209px */
    gap: 16px;
}

@media (max-width: 1340px) {
    body .nv-recent__grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1120px) {
    body .nv-recent__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    body .nv-recent__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    body .nv-recent__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.search-card .search-card__img {
    border-radius: 16px;
}

.nv-recent__grid .search-card__caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 3px;
}

.nv-recent__grid .search-card__name-overlay {
    font-size: 16px;
}

.nv-recent__grid .nv-recent__prov {
    font-size: 13px;
}

/* ---------- [요청 5] 게임 카드 hover 애니메이션 ----------
   리프트 + 배경 줌 + 회전 광테두리(::before) + 광택 스윕(::after)
   .game-card(캐러셀) 과 .search-card(그리드, 인라인 정의) 양쪽 적용 */

.game-card {
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease;
}

.game-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(184, 101, 255, 0.45),
        0 0 60px rgba(255, 45, 138, 0.18);
}

/* 배경 이미지 줌 */
.game-card__bg {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.game-card:hover .game-card__bg {
    transform: scale(1.1);
    filter: saturate(1.15) brightness(1.06);
}

/* 회전 광테두리: 기존 핑크 inset 링 → conic 링 (mask 로 테두리만 남김) */
.game-card::before {
    inset: 0;
    padding: 2px;
    box-shadow: none;
    background: conic-gradient(from var(--nova-angle),
        rgba(184, 101, 255, 0.15) 0deg,
        #b865ff 70deg,
        #74d3ff 140deg,
        #ff2d8a 220deg,
        rgba(184, 101, 255, 0.15) 300deg,
        rgba(184, 101, 255, 0.15) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: novaCardRing 3s linear infinite;
    animation-play-state: paused;
}

.game-card:hover::before {
    animation-play-state: running;
}

@keyframes novaCardRing {
    to { --nova-angle: 360deg; }
}

/* 하단 어둠 + 광택 스윕을 한 레이어에 (::after 를 카드 전체로 확장) */
.game-card::after {
    height: 100%;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat,
        linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0) 55%);
    background-size: 260% 100%, 100% 100%;
    background-position: 120% 0, 0 0;
    transition: background-position 0.7s ease;
}

.game-card:hover::after {
    background-position: -40% 0, 0 0;
}

.game-card__name {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.game-card:hover .game-card__name {
    transform: translateY(-3px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 14px rgba(184, 101, 255, 0.7);
}

/* ----- 그리드 카드 (.search-card, 인라인 정의) ----- */
.search-card {
    position: relative;
    z-index: 1;
}

.search-card:hover {
    z-index: 5;
}

.search-card .search-card__img {
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease;
    isolation: isolate;
}

.search-card:hover .search-card__img {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(184, 101, 255, 0.45),
        0 0 60px rgba(255, 45, 138, 0.18);
}

.search-card .search-card__bg {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.search-card:hover .search-card__bg {
    transform: scale(1.1);
    filter: saturate(1.15) brightness(1.06);
}

.search-card .search-card__img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: conic-gradient(from var(--nova-angle),
        rgba(184, 101, 255, 0.15) 0deg,
        #b865ff 70deg,
        #74d3ff 140deg,
        #ff2d8a 220deg,
        rgba(184, 101, 255, 0.15) 300deg,
        rgba(184, 101, 255, 0.15) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    transition: opacity 0.22s ease;
    animation: novaCardRing 3s linear infinite;
    animation-play-state: paused;
}

.search-card:hover .search-card__img::before {
    opacity: 1;
    animation-play-state: running;
}

.search-card .search-card__img::after {
    height: 100%;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat,
        linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 20%, rgba(0, 0, 0, 0) 55%);
    background-size: 260% 100%, 100% 100%;
    background-position: 120% 0, 0 0;
    transition: background-position 0.7s ease;
}

.search-card:hover .search-card__img::after {
    background-position: -40% 0, 0 0;
}

.search-card .search-card__caption {
    transition: transform 0.3s ease;
}

.search-card:hover .search-card__caption {
    transform: translateY(-3px);
}

.search-card .search-card__name-overlay {
    transition: text-shadow 0.3s ease;
}

.search-card:hover .search-card__name-overlay {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 14px rgba(184, 101, 255, 0.7);
}


/* ---------- [2026-09-17] 폰트 2차 확대 — 주 사용자 50~60대 ----------
   "아직 작다" 피드백 반영. 위 SUPERNOVA 블록 값을 다시 덮어씀. */
.header__logo { font-size: 28px; }
.footer__logo { font-size: 30px; }
.balance-pill { font-size: 17px; padding: 9px 18px; }
.balance-pill__refresh { width: 18px; height: 18px; }
.user-chip { font-size: 17px; }
.user-chip__avatar img { width: 26px; height: 26px; }
.icon-btn { width: 48px; height: 48px; }
.icon-btn img, .icon-btn svg { width: 26px; height: 26px; }

.subnav__item { font-size: 22px; padding: 14px 26px; gap: 12px; }
.subnav__item img { width: 30px; height: 30px; }
@media (max-width: 720px) {
    .subnav__item { font-size: 18px; padding: 12px 16px; gap: 9px; }
    .subnav__item img { width: 24px; height: 24px; }
}

.section__title { font-size: 26px; }
.section__title::before { width: 22px; height: 22px; }
.section__see-all { font-size: 17px; }
body .global-heading { font-size: 32px; }

.game-card__name { font-size: 17px; left: 12px; right: 12px; bottom: 12px; }
.game-card__badge { font-size: 13px; padding: 4px 10px; }
.carousel--shuffled .game-card--portrait .game-card__name { font-size: 18px; }
.carousel--shuffled .game-card--promoted .game-card__name { font-size: 20px; }
.search-card .search-card__name-overlay { font-size: 17px; }
.nv-recent__grid .search-card__name-overlay { font-size: 18px; }
.nv-recent__grid .nv-recent__prov { font-size: 15px; }

.featured__title { font-size: 26px; }
.featured__desc, .featured__cta, .game-of-day__cta { font-size: 16px; }
.game-of-day__name { font-size: 24px; }
.game-of-day__teaser { font-size: 15px; }

.modal__title { font-size: 21px; }
.field__label { font-size: 15px; }
.field__input { font-size: 17px; padding: 14px 16px; }
.field__suffix-label { font-size: 14px; }
.quick-amounts__btn { font-size: 15px; padding: 11px 8px; }
.btn { font-size: 17px; padding: 14px 22px; }
.notice-table { font-size: 16px; }
.notice-table th { font-size: 13px; }
.notice-table__date { font-size: 14px; }
.notice-detail__title { font-size: 17px; }
.notice-detail__date { font-size: 13px; }
.notice-detail__body { font-size: 16px; }
.history-modal__title { font-size: 18px; }
.history-table thead th { font-size: 14px; }
.history-cell, .history-empty, .history-back-btn, .history-clear-btn { font-size: 16px; }
.footer__text { font-size: 15px; }

@media (max-width: 640px) {
    .header__logo { font-size: 22px; }
    .balance-pill { font-size: 15px; padding: 7px 12px; }
    .user-chip { font-size: 15px; }
    .icon-btn { width: 42px; height: 42px; }
    .icon-btn img, .icon-btn svg { width: 23px; height: 23px; }
}

/* ---------- [2026-09-17] 배경 모션 강화 (사용자 요청: "움직이는 게 있으면") ----------
   body::before 별밭(먼 별) 외에 가까운 별 1겹 + 유성 2개 추가.
   .page__content(main) / .footer 의 pseudo 를 fixed + z-index:-1 로 써서 콘텐츠 뒤에 깔림 */

/* 가까운 별: 크고 빠르고 반짝임 (시차 효과) */
.page__content::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: -100%;
    height: 200%;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1.8px 1.8px at 70px 50px,   rgba(255,255,255,1),    transparent 3px),
        radial-gradient(1.5px 1.5px at 260px 180px, rgba(255,255,255,0.9),  transparent 2.5px),
        radial-gradient(2px 2px at 380px 90px,      rgba(184,101,255,0.95), transparent 3.5px),
        radial-gradient(1.5px 1.5px at 160px 340px, rgba(255,255,255,0.85), transparent 2.5px),
        radial-gradient(2.2px 2.2px at 470px 300px, rgba(116,211,255,0.9),  transparent 3.5px),
        radial-gradient(1.6px 1.6px at 330px 420px, rgba(255,255,255,0.8),  transparent 2.5px),
        radial-gradient(1.4px 1.4px at 40px 460px,  rgba(255,45,138,0.8),   transparent 2.5px);
    background-size: 520px 520px;
    background-repeat: repeat;
    opacity: 0.9;
    animation: novaStarDrift 60s linear infinite, novaTwinkle 3.5s ease-in-out infinite;
}

/* 유성 1 (좌상 → 우하) */
.page__content::after {
    content: "";
    position: fixed;
    top: 6%;
    left: -14%;
    width: 240px;
    height: 2px;
    z-index: -1;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 60%, rgba(116,211,255,0) 100%);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
    opacity: 0;
    pointer-events: none;
    animation: novaMeteor 9s linear infinite;
    animation-delay: 2s;
}

/* 유성 2 (조금 아래, 다른 주기) */
.footer::after {
    content: "";
    position: fixed;
    top: 38%;
    left: -14%;
    width: 170px;
    height: 1.5px;
    z-index: -1;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 60%, rgba(255,45,138,0) 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
    opacity: 0;
    pointer-events: none;
    animation: novaMeteor 14s linear infinite;
    animation-delay: 7s;
}

@keyframes novaMeteor {
    0%   { transform: translate3d(0, 0, 0) rotate(24deg); opacity: 0; }
    2%   { opacity: 1; }
    10%  { transform: translate3d(75vw, 38vh, 0) rotate(24deg); opacity: 0; }
    100% { transform: translate3d(75vw, 38vh, 0) rotate(24deg); opacity: 0; }
}


/* ---------- [2026-09-17] 상단 초신성 광선 (로그인 페이지와 동일 모티프) ----------
   main > .container 의 ::before 를 fixed 로 써서 헤더 뒤 상단 중앙에서 천천히 회전.
   pages/play.html 은 .page__content 가 없어 미적용(게임 실행 화면). */
.page__content > .container::before {
    content: "";
    position: fixed;
    left: 50%;
    top: calc(90px - 60vmax);
    width: 120vmax;
    height: 120vmax;
    margin-left: -60vmax;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
    background:
        repeating-conic-gradient(from var(--nova-angle),
            rgba(255, 255, 255, 0) 0deg,
            rgba(255, 255, 255, 0.04) 3deg,
            rgba(255, 255, 255, 0) 7deg,
            rgba(184, 101, 255, 0.06) 11deg,
            rgba(255, 255, 255, 0) 15deg);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, rgba(0, 0, 0, 0.55) 20%, transparent 50%);
    mask-image: radial-gradient(circle at center, #000 0%, rgba(0, 0, 0, 0.55) 20%, transparent 50%);
    animation: novaRaysSpin 100s linear infinite, novaRaysPulse 7s ease-in-out infinite;
    will-change: transform;
}

@keyframes novaRaysSpin {
    to { --nova-angle: 360deg; }
}

@keyframes novaRaysPulse {
    0%, 100% { transform: scale(1);    opacity: 0.7; }
    50%      { transform: scale(1.05); opacity: 0.95; }
}

@media (max-width: 720px) {
    .page__content > .container::before {
        top: calc(70px - 60vmax);
        opacity: 0.7;
    }
}



/* ---------- [2026-09-17] 검색/목록 페이지 텍스트 확대 (50~60대 기준) ----------
   pages/search.html 등의 인라인 style="" 속성은 !important 로만 이길 수 있음 */
body .page-title {
    font-size: 28px;
    padding: 22px 0 16px;
    margin: 0 0 22px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #b865ff 0%, #74d3ff 45%, transparent 100%) 1;
}

/* 검색 입력창 (style 속성: font-size 14px, padding 12px 18px, max-width 560px) */
.page__content input#sgInput {
    width: 100%;
    outline: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 19px;
    padding: 16px 24px;
    max-width: 680px;
    border-radius: 30px;
    border: 1px solid rgba(184, 101, 255, 0.35);
    background: rgba(5, 2, 20, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.page__content input#sgInput::placeholder {
    color: var(--text-muted);
}

.page__content input#sgInput:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(184, 101, 255, 0.16), 0 0 24px rgba(184, 101, 255, 0.35);
}

/* "5,185 ゲーム" 건수 */
.sg-total {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 600;
    margin: 4px 0 18px;
}

.sg-total #sgTotal {
    color: var(--brand-primary);
    font-weight: 800;
}

/* 카드 플레이어 수·배지 (인라인 <style>: 11px / 10px) */
.search-card .search-card__players {
    font-size: 14px;
}

.search-card .search-card__badge {
    font-size: 12px;
    padding: 3px 9px;
}

/* 더보기 버튼 (인라인 <style>: 13px) */
body .ag-more button,
body .sl-more button {
    font-size: 17px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff2d8a 0%, #b865ff 100%);
    box-shadow: 0 8px 20px rgba(255, 45, 138, 0.3);
    transition: filter var(--transition), box-shadow var(--transition), transform var(--transition);
}

body .ag-more button:hover,
body .sl-more button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 45, 138, 0.42), 0 0 22px rgba(184, 101, 255, 0.35);
}

/* 목록 그리드 최소 카드 폭 180 → 200 */
body .ag-grid,
body .sl-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* ---------- 모달 텍스트 3차 확대 ---------- */
.modal__title { font-size: 24px; }
.modal__header { padding: 20px 24px; }
.modal__body { padding: 22px 24px; }
.field__label { font-size: 17px; margin-bottom: 8px; }
.field__input { font-size: 19px; padding: 15px 18px; }
.field__suffix-label { font-size: 16px; }
.quick-amounts__btn { font-size: 17px; padding: 13px 8px; }
.btn { font-size: 19px; padding: 15px 24px; }
.modal__close { width: 38px; height: 38px; }
.modal__close img { width: 22px; height: 22px; }
.notice-table { font-size: 18px; }
.notice-table th { font-size: 14px; }
.notice-table__date { font-size: 16px; }
.notice-table td { padding: 16px 18px; }
.notice-detail__title { font-size: 19px; }
.notice-detail__date { font-size: 15px; }
.notice-detail__body { font-size: 18px; line-height: 1.8; }
.history-modal__title { font-size: 20px; }
.history-modal__title svg { width: 22px; height: 22px; }
.history-table thead th { font-size: 15px; }
.history-cell, .history-empty, .history-back-btn, .history-clear-btn { font-size: 18px; }
.history-cell { padding: 14px 18px; }
.history-back-btn, .history-clear-btn { padding: 11px 26px; }


@media (max-width: 640px) {
    .page__content input#sgInput { font-size: 17px; padding: 14px 20px; }
}

/* 입출금 모달 안내문 */
.modal__body .money-note {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 12px 0 0;
}

/* 入金 / 出金 버튼 색 (원래 style 속성) */
.balance-pill[data-money-type="deposit"] {
    background: #c62828;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.balance-pill[data-money-type="withdraw"] {
    background: #f9a825;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.balance-pill[data-money-type]:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

/* ---------- [2026-09-17] 아이콘 교체 대응 ----------
   새 svg 는 라벤더(#cdbdf0) 라인 + 보라(#b865ff) 별 포인트. 활성/hover 시 흰색으로 */
.subnav__item:hover img {
    filter: brightness(0) invert(1);
}

.icon-btn img {
    filter: none;
    opacity: 0.95;
}

/* ---------- [2026-09-17] 게임명·게임사명 가독성: 썸네일 하단 유리 띠 ----------
   글자가 게임 로고 아트 위에 겹쳐 안 보이는 문제 → 캡션을 어두운 반투명 띠로 감싸 항상 어두운 배경 위에 오게 */
.search-card .search-card__caption,
.nv-recent__grid .search-card__caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px 12px;
    gap: 3px;
    background: linear-gradient(180deg, rgba(7, 3, 26, 0) 0%, rgba(7, 3, 26, 0.72) 22%, rgba(7, 3, 26, 0.9) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    padding-top: 22px;
}

.search-card .search-card__name-overlay,
.search-card .search-card__players,
.nv-recent__grid .nv-recent__prov {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.8);
}

.nv-recent__grid .nv-recent__prov,
.search-card .search-card__players {
    color: #e2d6f7;
    opacity: 1;
}

/* hover 시 캡션이 떠오르면 띠 아래 틈이 생기므로 이동 대신 밝기만 */
.search-card:hover .search-card__caption {
    transform: none;
}

/* 캐러셀 카드 이름도 동일한 띠 */
.game-card__name {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 14px 12px;
    background: linear-gradient(180deg, rgba(7, 3, 26, 0) 0%, rgba(7, 3, 26, 0.72) 22%, rgba(7, 3, 26, 0.9) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.8);
}

.game-card:hover .game-card__name {
    transform: none;
}

.carousel--shuffled .game-card--promoted .game-card__name {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 16px 14px;
}

/* 기존 하단 어둠 그라디언트는 띠와 겹치므로 약하게 */
.search-card .search-card__img::after,
.game-card::after {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat,
        linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0) 50%);
    background-size: 260% 100%, 100% 100%;
    background-position: 120% 0, 0 0;
}

/* ---------- [2026-09-17] 슬롯/게임사 탭 (.slot-tab, 19개 페이지 인라인 정의) 확대 ----------
   13px 텍스트 + 가로 스크롤(절반 숨김) → 줄바꿈으로 14개 전부 노출, 17px, 앞에 게임사 로고(CSS 매핑) */
body .slot-tabs {
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(184, 101, 255, 0.18);
}

body .slot-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 7px 22px 7px 8px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 700;
    color: #e6dcfa;
    /* [2026-09-18] 기본 빛 테두리: 게임 카드·게임사 타일과 같은 링(--card-frame)을 테두리 영역에 칠한다.
       ::before 는 로고 원이 쓰고 있어 mask 링 대신 padding-box / border-box 이중 배경 사용 */
    border: 2px solid transparent;
    background:
        linear-gradient(180deg, #25134d 0%, #170b36 100%) padding-box,
        var(--card-frame) border-box;
    box-shadow: 0 0 12px var(--card-frame-glow), 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* 로고가 없는 탭(매핑 외)은 왼쪽 여백만 맞춤 */
body .slot-tab:not([href*="slots-pid-"]) {
    padding-left: 22px;
}

body .slot-tab:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    background:
        linear-gradient(180deg, #341a6b 0%, #1f0f47 100%) padding-box,
        conic-gradient(from var(--nova-angle),
            #e3d2ff 0deg, #b865ff 70deg, #74d3ff 140deg, #ffffff 180deg,
            #ff2d8a 230deg, #b865ff 300deg, #e3d2ff 360deg) border-box;
    box-shadow: 0 0 22px rgba(184, 101, 255, 0.6), 0 8px 16px rgba(0, 0, 0, 0.45);
    animation: novaCardRing 2.4s linear infinite;
}

body .slot-tab.is-active {
    color: #fff;
    background:
        linear-gradient(135deg, #6a2fd0 0%, #a13fd6 55%, #d8337f 100%) padding-box,
        linear-gradient(160deg, #ffffff 0%, #e3d2ff 40%, #ff9ccb 100%) border-box;
    box-shadow: 0 0 24px rgba(184, 101, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 게임사 로고 원 (pid → kwlogo 매핑) */
body .slot-tab[href*="slots-pid-29"]::before,
body .slot-tab[href*="slots-pid-31"]::before,
body .slot-tab[href*="slots-pid-40"]::before,
body .slot-tab[href*="slots-pid-71"]::before,
body .slot-tab[href*="slots-pid-24"]::before,
body .slot-tab[href*="slots-pid-25"]::before,
body .slot-tab[href*="slots-pid-26"]::before,
body .slot-tab[href*="slots-pid-27"]::before,
body .slot-tab[href*="slots-pid-30"]::before,
body .slot-tab[href*="slots-pid-33"]::before,
body .slot-tab[href*="slots-pid-34"]::before,
body .slot-tab[href*="slots-pid-35"]::before,
body .slot-tab[href*="slots-pid-44"]::before,
body .slot-tab[href*="slots-pid-64"]::before {
    content: "";
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(11, 5, 36, 0.9);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 78% auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body .slot-tab[href*="slots-pid-29"]::before { background-image: url(../images/providers/slot/kwlogo-PP.webp); }
body .slot-tab[href*="slots-pid-31"]::before { background-image: url(../images/providers/slot/kwlogo-PNG.webp); }
body .slot-tab[href*="slots-pid-40"]::before { background-image: url(../images/providers/slot/kwlogo-HS.webp); }
body .slot-tab[href*="slots-pid-71"]::before { background-image: url(../images/providers/slot/kwlogo-PT.webp); }
body .slot-tab[href*="slots-pid-24"]::before { background-image: url(../images/providers/slot/kwlogo-NT.webp); }
body .slot-tab[href*="slots-pid-25"]::before { background-image: url(../images/providers/slot/kwlogo-RT.webp); }
body .slot-tab[href*="slots-pid-26"]::before { background-image: url(../images/providers/slot/kwlogo-BTG.webp); }
body .slot-tab[href*="slots-pid-27"]::before { background-image: url(../images/providers/slot/kwlogo-NLC.webp); }
body .slot-tab[href*="slots-pid-30"]::before { background-image: url(../images/providers/slot/kwlogo-CQ9.webp); }
body .slot-tab[href*="slots-pid-33"]::before { background-image: url(../images/providers/slot/kwlogo-BNG.webp); }
body .slot-tab[href*="slots-pid-34"]::before { background-image: url(../images/providers/slot/kwlogo-HB.webp); }
body .slot-tab[href*="slots-pid-35"]::before { background-image: url(../images/providers/slot/kwlogo-MG.webp); }
body .slot-tab[href*="slots-pid-44"]::before { background-image: url(../images/providers/slot/kwlogo-ADV.webp); }
body .slot-tab[href*="slots-pid-64"]::before { background-image: url(../images/providers/slot/kwlogo-RG.webp); }

@media (max-width: 640px) {
    body .slot-tabs { gap: 8px; }
    body .slot-tab { font-size: 15px; min-height: 44px; padding: 5px 16px 5px 6px; gap: 8px; }
    body .slot-tab[href*="slots-pid-29"]::before, body .slot-tab[href*="slots-pid-31"]::before, body .slot-tab[href*="slots-pid-40"]::before, body .slot-tab[href*="slots-pid-71"]::before, body .slot-tab[href*="slots-pid-24"]::before, body .slot-tab[href*="slots-pid-25"]::before, body .slot-tab[href*="slots-pid-26"]::before, body .slot-tab[href*="slots-pid-27"]::before, body .slot-tab[href*="slots-pid-30"]::before, body .slot-tab[href*="slots-pid-33"]::before, body .slot-tab[href*="slots-pid-34"]::before, body .slot-tab[href*="slots-pid-35"]::before, body .slot-tab[href*="slots-pid-44"]::before, body .slot-tab[href*="slots-pid-64"]::before { width: 32px; height: 32px; }
}

/* [2026-09-17] 賞金ランキング 메뉴 아이콘: HTML 서브내비를 직접 통일하면서 img src 를
   ranking-trophy.svg 로 바꿨으므로 CSS 바꿔치기 규칙은 제거함 */

/* ---------- 게임사별/신작 로비 페이지 (vendor-games-*, lobby-new-games) 폰트 확대 ---------- */
.lobby-page__title {
    font-size: 28px;
    letter-spacing: 0.02em;
}

.load-more {
    font-size: 17px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff2d8a 0%, #b865ff 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgba(255, 45, 138, 0.3);
    transition: filter var(--transition), box-shadow var(--transition), transform var(--transition);
}

.load-more:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 45, 138, 0.42), 0 0 22px rgba(184, 101, 255, 0.35);
}

/* ============================================
   [2026-09-17] 모바일(≤640px) 재정비 — 숨는 요소 없이 전부 보이게
   - 상단바: 로고 줄 + 액션 줄 (2줄), 가로 스크롤 없음
   - 서브메뉴: 2×2 격자, 4개 전부 노출, sticky 해제
   - 카드 이름: 2줄 허용
   ============================================ */
@media (max-width: 640px) {
    .header__inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 0;
        padding: 10px 0 10px;
        gap: 8px 0;
        justify-content: center;
    }

    .header__logo {
        width: 100%;
        text-align: center;
        font-size: 24px;
        letter-spacing: 0.06em;
    }

    .header__actions {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        justify-content: center;
        gap: 6px;
        overflow: visible;
        flex-wrap: nowrap;
    }

    .header__actions > * {
        flex: none;
    }

    .balance-pill {
        padding: 7px 11px;
        font-size: 15px;
        gap: 5px;
    }

    .balance-pill__currency {
        display: none;            /* 좁은 폭에서는 금액만 (JPY 라벨 생략) */
    }

    .balance-pill[data-action="refresh-balance"] .balance-pill__amount::before {
        content: "¥";
        margin-right: 1px;
        font-weight: 700;
    }

    .balance-pill[data-money-type] {
        padding: 7px 13px;
        font-weight: 800;
    }

    .user-chip {
        padding: 4px;
    }

    .user-chip__name {
        display: none;
    }

    .user-chip__avatar img {
        width: 26px;
        height: 26px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }

    .icon-btn img,
    .icon-btn svg {
        width: 22px;
        height: 22px;
    }

    /* 서브메뉴 2×2 */
    .subnav {
        position: static;         /* 헤더가 2줄이라 sticky 겹침 방지 */
    }

    .subnav__inner {
        overflow: visible;
        min-height: 0;
        padding: 10px 0 12px;
    }

    .subnav__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .subnav__item {
        justify-content: center;
        min-height: 52px;
        padding: 8px 10px;
        font-size: 17px;
        gap: 8px;
        border: 1px solid rgba(184, 101, 255, 0.18);
        background: rgba(255, 255, 255, 0.04);
        border-radius: 16px;
    }

    .subnav__item img,
    .subnav__item[href*="ranking"]::before {
        width: 26px;
        height: 26px;
    }

    /* 카드 이름 2줄 허용 */
    .search-card .search-card__name-overlay,
    .nv-recent__grid .search-card__name-overlay {
        font-size: 16px;
        -webkit-line-clamp: 2;
        line-height: 1.25;
    }

    .nv-recent__grid .nv-recent__prov,
    .search-card .search-card__players {
        font-size: 13px;
    }

    .game-card__name {
        font-size: 16px;
    }


    /* 캐러셀 카드: 화면의 약 70% */
    .game-card {
        flex-basis: 220px;
    }

    .carousel--shuffled .carousel__track {
        grid-template-rows: 220px 220px;
        grid-auto-columns: 220px;
    }

    .carousel--shuffled .game-card {
        width: 220px;
        height: 220px;
    }
}

/* ---------- 모바일: 슬롯 게임사 탭 2열 격자 · 목록 그리드 2열 ---------- */
@media (max-width: 640px) {
    body .slot-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-bottom: 16px;
    }

    body .slot-tab {
        min-height: 50px;
        padding: 4px 10px 4px 6px;
        font-size: 15px;
        line-height: 1.15;
        gap: 8px;
        justify-content: flex-start;
        text-align: left;
        white-space: normal;      /* 긴 게임사명은 2줄로 접음 (잘림 방지) */
    }

    body .slot-tab:not([href*="slots-pid-"]) {
        padding-left: 14px;
    }

    body .ag-grid,
    body .sl-grid,
    .lobby-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 360px) {
    body .slot-tab { font-size: 14px; }
}

/* ---------- [2026-09-17] 모바일 보완: 잔액은 로고 줄 오른쪽(한 줄 전체 폭), 모달 버튼 줄바꿈 금지 ---------- */
.btn,
.history-back-btn,
.history-clear-btn,
.quick-amounts__btn {
    white-space: nowrap;
}

.balance-pill,
.balance-pill__amount {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    /* 액션 컨테이너를 풀고(display:contents) 헤더를 10열 격자로 고정 배치
       1줄: 로고(1~5열) + 잔액(6~10열, 오른쪽 정렬) / 2줄: 入金·出金·유저·記録·알림 각 2열 */
    .header__actions {
        display: contents;
    }

    .header__inner {
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        align-items: center;
        gap: 8px 4px;
        height: auto;
        min-height: 0;
        padding: 10px 16px;      /* .container 의 좌우 여백 유지 */
    }

    .header__logo {
        grid-column: 1 / 6;
        grid-row: 1;
        width: auto;
        text-align: left;
        font-size: 22px;
        min-width: 0;
        white-space: nowrap;
    }

    .balance-pill[data-action="refresh-balance"] {
        grid-column: 6 / 11;
        grid-row: 1;
        justify-self: end;
        max-width: 100%;
        overflow: hidden;
        padding: 7px 12px;
        font-size: 16px;
    }

    .balance-pill[data-action="refresh-balance"] .balance-pill__amount {
        font-size: 17px;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .balance-pill[data-money-type="deposit"]  { grid-column: 1 / 3;  grid-row: 2; justify-self: center; padding: 7px 10px; }
    .balance-pill[data-money-type="withdraw"] { grid-column: 3 / 5;  grid-row: 2; justify-self: center; padding: 7px 10px; }
    .user-chip                                { grid-column: 5 / 7;  grid-row: 2; justify-self: center; }
    .icon-btn[data-open-history]              { grid-column: 7 / 9;  grid-row: 2; justify-self: center; }
    .icon-btn[data-action="open-notice-modal"]{ grid-column: 9 / 11; grid-row: 2; justify-self: center; }

    /* 모달 버튼: 한 줄 유지 */
    .modal__footer {
        padding: 16px 18px 20px;
        gap: 8px;
    }

    .btn {
        font-size: 17px;
        padding: 13px 12px;
    }

    .modal__header { padding: 16px 18px; }
    .modal__body { padding: 18px 18px; }
    .quick-amounts__btn { font-size: 16px; }
}

/* ============================================
   [2026-09-18] 게임 카드: 이미지와 텍스트 박스 분리
   (사용자 결정) 반투명 띠를 이미지 위에 겹치지 않고, 이미지 아래에 게임명·게임사명 박스를 따로 둔다.
   DOM 은 그대로(캡션이 이미지 컨테이너 안에 있음) → 컨테이너를 세로 flex 로 바꾸고 배경 이미지를 정적 정사각형으로.
   ============================================ */

/* ---------- 그리드 카드 (.search-card) ---------- */
.search-card .search-card__img {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
    background: linear-gradient(180deg, #2a1652 0%, #160b33 100%);
}

.search-card .search-card__bg {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    flex: none;
}

/* 전경 이미지가 있는 카드: 정사각형 영역에만 겹치게 */
.search-card .search-card__fg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    inset: auto;
}

/* 이미지 위 어둠/광택 레이어는 이미지 영역만 (텍스트 박스 위로 안 감) */
.search-card .search-card__img::after {
    height: auto;
    aspect-ratio: 1;
    top: 0;
    bottom: auto;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
    background-size: 260% 100%;
    background-position: 120% 0;
}

/* 텍스트 박스 */
.search-card .search-card__caption,
.nv-recent__grid .search-card__caption {
    position: static;
    inset: auto;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 82px;              /* 2줄 이름 + 게임사까지 들어가는 높이 → 같은 줄 카드 높이 통일 */
    margin-top: auto;
    padding: 10px 12px 11px;
    background: rgba(11, 5, 36, 0.92);
    border-top: 1px solid rgba(184, 101, 255, 0.28);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.search-card .search-card__name-overlay,
.nv-recent__grid .search-card__name-overlay {
    font-size: 17px;
    line-height: 1.25;
    text-shadow: none;
    -webkit-line-clamp: 2;
}

.search-card .search-card__players,
.nv-recent__grid .nv-recent__prov {
    font-size: 14px;
    color: #cbb8ea;
    text-shadow: none;
    opacity: 1;
}

.search-card:hover .search-card__caption {
    background: rgba(31, 19, 66, 0.96);
}

/* ---------- 캐러셀 카드 (.game-card) ---------- */
.game-card {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #2a1652 0%, #160b33 100%);
}

.game-card__bg {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    flex: none;
}

.game-card__fg {
    height: auto;
    aspect-ratio: 1;
    bottom: auto;
}

.game-card::after {
    height: auto;
    aspect-ratio: 1;
    bottom: auto;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
    background-size: 260% 100%;
    background-position: 120% 0;
}

.game-card__name {
    position: static;
    inset: auto;
    flex: none;
    min-height: 60px;
    padding: 11px 14px 12px;
    background: rgba(11, 5, 36, 0.92);
    border-top: 1px solid rgba(184, 101, 255, 0.28);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
    text-shadow: none;
    font-size: 17px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card:hover .game-card__name {
    transform: none;
    text-shadow: none;
    background: rgba(31, 19, 66, 0.96);
}

@media (max-width: 640px) {
    .search-card .search-card__caption,
    .nv-recent__grid .search-card__caption { min-height: 66px; padding: 8px 10px 9px; }
    .search-card .search-card__name-overlay,
    .nv-recent__grid .search-card__name-overlay { font-size: 15px; }
    .search-card .search-card__players,
    .nv-recent__grid .nv-recent__prov { font-size: 13px; }
    .game-card__name { font-size: 15px; min-height: 52px; padding: 9px 12px; }
}

/* ============================================
   [2026-09-18] 게임사 이미지 타일 (홈 · 라이브)
   (사용자 결정) 로고+텍스트 칩 → 로고가 들어간 이미지 타일. 텍스트는 화면에 표시하지 않는다.
   이미지: assets/images/providers/tile/kwlogo-XX.webp · 제작 600×360 (5:3)
   한 화면에 5장 (1400px 기준 254×153) → ≤1120 4장 / ≤900 3장 / ≤640 2장, 나머지는 좌우 넘김
   테두리·호버는 게임 카드와 동일한 링(--card-frame)
   ============================================ */
.nv-chips-wrap {
    --tile-gap: 16px;
    --tile-per: 5;
    position: relative;
    margin: 26px 0 12px;
}

.nv-chips {
    display: flex;
    gap: var(--tile-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* 가로 스크롤 영역은 세로도 잘리므로, 호버 리프트·광채가 네모나게 잘리지 않게 여유를 두고 음수 마진으로 상쇄.
       좌우 14px 은 타일 간격(16px)보다 작아 옆 페이지 타일이 비치지 않는다 */
    padding: 34px 14px 40px;
    margin: -34px -14px -40px;
    scroll-padding-inline: 14px;
    /* 좌우 여유 구간은 서서히 투명 → 옆 페이지 타일의 빛이 띠처럼 비치지 않는다 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.nv-chips::-webkit-scrollbar { display: none; }

.nv-chip {
    position: relative;
    flex: 0 0 calc((100% - (var(--tile-per) - 1) * var(--tile-gap)) / var(--tile-per));
    aspect-ratio: 5 / 3;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    scroll-snap-align: start;
    background: linear-gradient(160deg, #2a1652 0%, #160b33 100%);
    box-shadow:
        0 0 0 1px rgba(11, 5, 36, 0.9),
        0 0 14px var(--card-frame-glow),
        0 8px 18px rgba(0, 0, 0, 0.42);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease;
}

.nv-chip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

/* 게임사명: 화면에는 숨기고 스크린리더용으로만 유지 */
.nv-chip__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.nv-chip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.9;
    background: var(--card-frame);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.nv-chip::after {                      /* 광택 스윕 */
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
    background-size: 260% 100%;
    background-position: 120% 0;
    transition: background-position 0.7s ease;
}

.nv-chip:hover {
    transform: translateY(-5px) scale(1.03);
    z-index: 3;
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.5),
        0 0 22px rgba(184, 101, 255, 0.65);
}

.nv-chip:hover img {
    transform: scale(1.08);
    filter: saturate(1.15) brightness(1.06);
}

.nv-chip:hover::before {
    opacity: 1;
    padding: 3px;
    background: conic-gradient(from var(--nova-angle),
        #e3d2ff 0deg, #b865ff 70deg, #74d3ff 140deg, #ffffff 180deg,
        #ff2d8a 230deg, #b865ff 300deg, #e3d2ff 360deg);
    animation: novaCardRing 2.4s linear infinite;
}

.nv-chip:hover::after { background-position: -40% 0; }

.nv-chip:active { transform: translateY(-2px) scale(0.99); }

/* 좌우 넘김 버튼: 타일 세로 중앙, 바깥에 반쯤 걸침. 글리프(‹ ›) 대신 CSS 쉐브론 */
.nv-chips__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
    background: rgba(11, 5, 36, 0.92);
    border: 1px solid rgba(184, 101, 255, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
}

.nv-chips__nav::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border: solid #fff;
    border-width: 0 0 3px 3px;
    border-radius: 1px;
}

.nv-chips__nav--prev { left: -24px; }
.nv-chips__nav--next { right: -24px; }
.nv-chips__nav--prev::before { transform: translateX(2px) rotate(45deg); }
.nv-chips__nav--next::before { transform: translateX(-2px) rotate(-135deg); }

.nv-chips__nav:hover {
    background: rgba(184, 101, 255, 0.25);
    border-color: rgba(184, 101, 255, 0.85);
    box-shadow: 0 0 18px rgba(184, 101, 255, 0.45);
}

.nv-chips-wrap.no-overflow .nv-chips__nav,
.nv-chips-wrap.is-start .nv-chips__nav--prev,
.nv-chips-wrap.is-end .nv-chips__nav--next {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1120px) { .nv-chips-wrap { --tile-per: 4; } }
@media (max-width: 900px)  { .nv-chips-wrap { --tile-per: 3; } }

@media (max-width: 640px) {
    .nv-chips-wrap { --tile-per: 2; --tile-gap: 12px; margin: 18px 0 8px; }
    .nv-chips {
        padding-inline: 10px;
        margin-inline: -10px;
        scroll-padding-inline: 10px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    }
    .nv-chip { border-radius: 14px; }
    .nv-chips__nav { width: 38px; height: 38px; }
    .nv-chips__nav--prev { left: -12px; }
    .nv-chips__nav--next { right: -12px; }
}

/* ============================================
   [2026-09-18] 게임 카드 기본 테두리 (사용자 요청)
   평소: 은은한 빛 테두리(정적 그라디언트 링 + 약한 광채) → 카드가 배경과 분리돼 보이게
   호버: 회전 conic 링 + 강한 광채 + 리프트 (기존 호버 효과 유지)
   링은 이미지+텍스트 박스를 함께 감싼다. 색은 아래 두 변수로 조정 (theme.css 에서 덮어쓰면 컨셉별 변경 가능)
   ============================================ */
:root {
    --card-frame: linear-gradient(160deg, #e3d2ff 0%, #a56bff 38%, #6b3fd6 68%, #6ec6ff 100%);
    --card-frame-glow: rgba(165, 107, 255, 0.34);
}

.search-card .search-card__img,
.game-card {
    box-shadow:
        0 0 0 1px rgba(11, 5, 36, 0.9),
        0 0 14px var(--card-frame-glow),
        0 8px 18px rgba(0, 0, 0, 0.42);
}

.search-card .search-card__img::before,
.game-card::before {
    opacity: 0.9;
    padding: 2px;
    box-shadow: none;              /* 원본의 분홍 inset 링 제거 (링은 background 로만 그림) */
    background: var(--card-frame);
    animation: none;
    transition: opacity 0.22s ease;
}

.search-card:hover .search-card__img::before,
.game-card:hover::before {
    opacity: 1;
    padding: 3px;
    background: conic-gradient(from var(--nova-angle),
        #e3d2ff 0deg,
        #b865ff 70deg,
        #74d3ff 140deg,
        #ffffff 180deg,
        #ff2d8a 230deg,
        #b865ff 300deg,
        #e3d2ff 360deg);
    animation: novaCardRing 2.4s linear infinite;
}

.search-card:hover .search-card__img,
.game-card:hover {
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(184, 101, 255, 0.6),
        0 0 64px rgba(255, 45, 138, 0.24);
}

/* 터치 기기: 누르는 순간에도 같은 반응 */
.search-card:active .search-card__img,
.game-card:active {
    transform: translateY(-2px) scale(0.99);
}

/* ---------- [2026-09-18] 人気ゲーム 캐러셀 → 위 그리드와 동일한 6열 격자 (사용자 요청) ---------- */
.carousel .carousel__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
}

.carousel .carousel__track .game-card {
    flex: none;
    width: auto;
    min-width: 0;
    scroll-snap-align: none;
}

.carousel .carousel__arrow {
    display: none;                 /* 격자라 좌우 스크롤 화살표 불필요 */
}

@media (max-width: 1340px) {
    .carousel .carousel__track { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1120px) {
    .carousel .carousel__track { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .carousel .carousel__track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .carousel .carousel__track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============================================
   [2026-09-18] 人気ゲーム 카드에도 게임사명 표시 (사용자 요청)
   新着/最近(.search-card)는 .nv-recent__prov 로 게임사가 나오는데 캐러셀 카드(.game-card)에만
   없어서 제목 아래 한 줄이 비어 보였다 → 동일한 스타일로 한 줄 추가.
   하단 띠(.game-card__name)를 세로 flex 로 바꾸고, 2줄 말줄임은 제목(.game-card__title)이 담당.
   게임사명이 없는 카드는 제목만 렌더되므로 기존 모양 그대로 유지된다.
   ============================================ */
.game-card__name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    -webkit-line-clamp: none;
}

.game-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

.game-card .nv-recent__prov {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: #e2d6f7;
    opacity: .9;
    text-shadow: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .game-card .nv-recent__prov { font-size: 11px; }
}

/* ============================================
   [2026-09-18] 홈 섹션 1줄 접기 + [すべて見る] (사용자 요청)
   목록이 길어질수록 홈이 지저분해진다는 요청 → 기본은 1줄만, 버튼으로 전체 펼치기.
   실제 접기/펼치기는 index.php 의 JS 가 열 개수를 계산해 항목에 [hidden] 을 붙이는 방식이라
   여기서는 (1) 버튼 모양 (2) [hidden] 이 확실히 먹도록 하는 안전장치만 둔다.
   ============================================ */
button.section__see-all {
    padding: 4px 12px;
    background: rgba(184, 101, 255, 0.10);
    border: 1px solid rgba(184, 101, 255, 0.38);
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

button.section__see-all:hover {
    background: rgba(184, 101, 255, 0.22);
    border-color: rgba(184, 101, 255, 0.75);
}

button.section__see-all:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

/* [hidden] 이 확실히 먹도록 — .section__see-all 은 display:inline-flex,
   카드도 display 가 지정돼 있어서 브라우저 기본 [hidden]{display:none} 이 무시된다 */
[data-nv-fold-grid] > [hidden],
.section__see-all[hidden] { display: none !important; }

@media (max-width: 640px) {
    button.section__see-all { padding: 3px 10px; }
}
