/* ===================================================================   THEME: DAYS OF FEAST (Giáng Sinh & Lễ Hội Mùa Đông Sky COTL)
   Architecture: DUAL-THEME SYSTEM (Nordic Frost Blue Palette)
   Architecture: DUAL-THEME SYSTEM (Crystal Winter Blue & Pastel Ice)
   Modes: 
     - feast-twilight (Đêm Tuyết Dịu - Tông Xanh Đêm Mờ - Default)
     - feast-dawn     (Sương Sớm Băng Giá - Tông Xanh Sương Sớm)
     - feast-dawn     (Tuyết Sớm Dịu Dàng - Sáng Trong Trẻo - MẶC ĐỊNH)
     - feast-twilight (Đêm Sao Băng Trong Trẻo - Tông Xanh Sapphire Đêm)
   Palette:
     - Nordic Frost Blue:   #5B7C99 (Hover: #6B8FAD)
     - Deep Night Mist:     #15202E -> #1F3044 -> #182535
     - Frosted Ice Card:    rgba(36, 54, 77, 0.78)
     - Inner Item Frame:    #101924 (Glow: rgba(132, 163, 190, 0.28))
     - Ice Frost Border:    rgba(168, 197, 224, 0.35) (Hover: #A8C5E0)
     - Dawn Mist Border:    #84A3BE
     - Glimmer Warm Cream:  #F6E9DA
     - Snow White Blue:     #D0D7E4
     - Deep Charcoal Navy:  #1B2A3A
     - Dawn Secondary Text: #4A6278
     - Pastel Ice Blue:     #E8F3FE -> #D6EAFF -> #F2F8FF
     - Sapphire Night Blue: #162642 -> #1F365C -> #182B49
     - Pure Snow White:     #F7FBFF
     - Ice Powder Blue:     #E1F0FF
     - Deep Navy Primary:   #1B3B5C
     - Muted Blue Text:     #4A6F94
     - Card Badge Bg:       #E6F3FF (Border: #A8D1FF, Text: #1E466E)
     - Card Inner Frame:    #162B45 (Dawn) / #0F1C33 (Twilight)
     - Winter Blue Action:  linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%)
   Taste Skill Compliant: WCAG AA/AAA Contrast Locked, Zero Emoji, Micro-interactions,
                          Pure CSS/SVG Ambient Snow, 110px Bottom Clearance.
   ========================================================================== */

/* ─── 1. DUAL-THEME MODE 1: FEAST-TWILIGHT (Đêm Sao Băng Sâu Lắng) ─── */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]),
body[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]),
[data-theme="days-of-feast"][data-feast-mode="twilight"],
[data-theme="days-of-feast"].feast-twilight,
[data-theme="feast-twilight"],
html.feast-twilight[data-theme="days-of-feast"] {
    /* Palette Tokens (Crystal Winter Blue - Twilight) */
    --bg-page: linear-gradient(180deg, #0C1626 0%, #122138 50%, #0E1A2D 100%);
    --bg-page-solid: #0C1626;
    --bg-card: linear-gradient(165deg, rgba(46, 83, 132, 0.92) 0%, rgba(30, 58, 98, 0.95) 100%);
    --bg-card-hover: linear-gradient(165deg, rgba(54, 96, 150, 0.96) 0%, rgba(36, 68, 114, 0.98) 100%);
    --bg-card-inner: #08111F;
    --border-card: rgba(145, 204, 255, 0.55);
    --border-card-hover: #B8DCFF;
    --text-primary: #F7FBFF;
    --text-secondary: #C5E0FC;
    --text-muted: #82A6C8;
    --price-badge-bg: #68A8E0;
    --price-badge-text: #0D1B2A;
    --btn-primary-bg: linear-gradient(135deg, #4A8FD9 0%, #68A8E0 100%);
    --btn-primary-border: #82B9E8;
    --btn-primary-text: #FFFFFF;
    --btn-primary-shadow: 0 4px 16px rgba(104, 168, 224, 0.4);

    /* System Aliases for SkyProject Components */
    --theme-bg-base: #0C1626;
    --theme-bg-surface: var(--bg-card);
    --theme-bg-surface-solid: #122138;
    --theme-bg-surface-elevated: #1E3A62;
    --theme-bg-card-start: #2E5384;
    --theme-bg-card-end: #1E3A62;
    --bg-dark: #0C1626;
    --theme-primary: #F7FBFF;
    --theme-secondary: #68A8E0;
    --theme-accent-primary: #F7FBFF;
    --theme-accent-secondary: #68A8E0;
    --theme-accent-glow: #82B9E8;
    --theme-accent-gold: #82B9E8;
    --theme-accent-candle: #F7FBFF;
    --theme-ice-frost: #B8DCFF;
    --theme-text-color: #F7FBFF;
    --theme-border-card: var(--border-card);
    --theme-border-glow: rgba(145, 204, 255, 0.45);
    --theme-card-radius: 20px;
    --theme-btn-product-start: #4A8FD9;
    --theme-btn-product-end: #68A8E0;
    --theme-btn-product-text: #FFFFFF;
    --theme-btn-product-glow: rgba(104, 168, 224, 0.4);
    --theme-btn-gradient: linear-gradient(135deg, #4A8FD9 0%, #68A8E0 100%);
    --theme-navbar-bg: rgba(12, 22, 38, 0.94);
    --theme-navbar-border: rgba(145, 204, 255, 0.35);
    --theme-navbar-glow: #82B9E8;
    --nav-bg: rgba(12, 22, 38, 0.94);
    --nav-cart-bg: #4A8FD9;
    --nav-cart-border: rgba(184, 220, 255, 0.4);
    --theme-footer-bg: rgba(10, 18, 30, 0.96);
    --theme-footer-border: rgba(145, 204, 255, 0.2);
    --theme-price-bank: #F7FBFF;
    --theme-price-card: #C5E0FC;
    --price-neon-color: #82B9E8;
    --price-box-bg: rgba(8, 17, 31, 0.88);
    --card-shadow: 0 14px 32px rgba(4, 9, 18, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* ─── 2. DUAL-THEME MODE 2: FEAST-DAWN (Tuyết Sớm Dịu Dàng - MẶC ĐỊNH) ─── */
html[data-theme="days-of-feast"][data-feast-mode="dawn"],
body[data-theme="days-of-feast"][data-feast-mode="dawn"],
[data-theme="days-of-feast"].feast-dawn,
[data-theme="feast-dawn"],
html.feast-dawn[data-theme="days-of-feast"] {
    /* Palette Tokens (Crystal Winter Blue - Dawn) */
    --bg-page: #DCEBFA;
    --bg-page-solid: #DCEBFA;
    --bg-card: rgba(255, 255, 255, 0.98);
    --bg-card-hover: #FFFFFF;
    --bg-card-inner: #F0F7FF;
    --border-card: #7BB8F5;
    --border-card-hover: #56A3F5;
    --text-primary: #1B3B5C;
    --text-secondary: #4A6F94;
    --text-muted: #6D8BA6;
    --price-badge-bg: #5B9BD5;
    --price-badge-text: #FFFFFF;
    --btn-primary-bg: linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%);
    --btn-primary-border: #74B4F0;
    --btn-primary-text: #FFFFFF;
    --btn-primary-shadow: 0 4px 14px rgba(104, 168, 224, 0.35);

    /* System Aliases for SkyProject Components */
    --theme-bg-base: #DCEBFA;
    --theme-bg-surface: var(--bg-card);
    --theme-bg-surface-solid: #EBF4FC;
    --theme-bg-surface-elevated: #FFFFFF;
    --theme-bg-card-start: #FFFFFF;
    --theme-bg-card-end: #DCEBFA;
    --bg-dark: #DCEBFA;
    --theme-primary: #1B3B5C;
    --theme-secondary: #5B9BD5;
    --theme-accent-primary: #1B3B5C;
    --theme-accent-secondary: #5B9BD5;
    --theme-accent-glow: #82B9E8;
    --theme-accent-gold: #5B9BD5;
    --theme-accent-candle: #1B3B5C;
    --theme-ice-frost: #68A8E0;
    --theme-text-color: #1B3B5C;
    --theme-border-card: #7BB8F5;
    --theme-border-glow: rgba(104, 168, 224, 0.35);
    --theme-card-radius: 20px;
    --theme-btn-product-start: #68A8E0;
    --theme-btn-product-end: #82B9E8;
    --theme-btn-product-text: #FFFFFF;
    --theme-btn-product-glow: rgba(104, 168, 224, 0.35);
    --theme-btn-gradient: linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%);
    --theme-navbar-bg: rgba(242, 248, 255, 0.94);
    --theme-navbar-border: rgba(184, 220, 255, 0.5);
    --theme-navbar-glow: #68A8E0;
    --nav-bg: rgba(242, 248, 255, 0.94);
    --nav-cart-bg: #5B9BD5;
    --nav-cart-border: #74B4F0;
    --theme-footer-bg: rgba(220, 235, 250, 0.96);
    --theme-footer-border: rgba(184, 220, 255, 0.4);
    --theme-price-bank: #1B3B5C;
    --theme-price-card: #4A6F94;
    --price-neon-color: #5B9BD5;
    --price-box-bg: rgba(255, 255, 255, 0.92);
    --card-shadow: 0 12px 28px rgba(27, 59, 92, 0.14);
}

/* ─── HERO BANNER CHIIKAWA DAYS OF FEAST ─── */
html[data-theme="days-of-feast"] .hero-feast,
[data-theme="days-of-feast"] .hero-themed {
    border-radius: 28px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center right !important;
    position: relative !important;
}

/* Twilight Hero Styling */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-feast,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-feast,
[data-theme="feast-twilight"] .hero-feast {
    border: 1px solid rgba(145, 204, 255, 0.45) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.25) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-feast .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-feast .hero-overlay,
[data-theme="feast-twilight"] .hero-feast .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 22, 38, 0.90) 0%, rgba(18, 33, 56, 0.65) 48%, rgba(14, 26, 45, 0.15) 100%) !important;
}

/* Dawn (Light) Hero Styling */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast,
[data-theme="feast-dawn"] .hero-feast {
    border: 1px solid rgba(168, 209, 255, 0.75) !important;
    box-shadow: 0 16px 45px rgba(56, 189, 248, 0.25), 0 0 35px rgba(168, 209, 255, 0.35) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .hero-overlay,
[data-theme="feast-dawn"] .hero-feast .hero-overlay {
    background: linear-gradient(90deg, rgba(235, 245, 255, 0.88) 0%, rgba(235, 245, 255, 0.55) 48%, rgba(235, 245, 255, 0.10) 100%) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .hero-title,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .hero-title {
    color: #1B3B5C !important;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast p.lead,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast p.lead,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed p.lead,
html[data-theme="days-of-feast"].feast-dawn .hero-themed p.lead {
    color: var(--text-primary, #1B3B5C) !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .badge.hero-tag,
[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .badge.hero-tag {
    background: #E6F3FF !important;
    border: 1px solid #A8D1FF !important;
    color: #1E466E !important;
}

/* ─── NAVBAR LOGO "XIE XIE" & AVATAR GLOW (WINTER ONLY - SCOPED TO DAYS OF FEAST) ─── */
[data-theme="days-of-feast"] :is(.navbar-brand-themed, .navbar-brand-mischief) .navbar-brand-text,
[data-theme="days-of-feast"] .navbar-brand .navbar-brand-text,
html[data-theme="days-of-feast"].feast-dawn .navbar-brand-text,
html[data-theme="days-of-feast"].feast-twilight .navbar-brand-text {
    display: inline-block;
    font-weight: 800 !important;
    letter-spacing: -0.2px;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.95), 0 0 26px rgba(56, 189, 248, 0.55), 0 0 36px rgba(239, 68, 68, 0.65) !important;
    filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.8)) drop-shadow(0 0 12px rgba(239, 68, 68, 0.6)) !important;
}

/* Ánh Sáng Xanh Tuyết & Đỏ Giáng Sinh Cho Logo Avatar (Scoped to Days of Feast) */
[data-theme="days-of-feast"] :is(.navbar-brand-themed, .navbar-brand-mischief) img,
[data-theme="days-of-feast"] #navbarLogoImg {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 18px rgba(56, 189, 248, 0.6)) drop-shadow(0 0 6px rgba(239, 68, 68, 0.75)) !important;
    transition: filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

[data-theme="days-of-feast"] :is(.navbar-brand-themed, .navbar-brand-mischief):hover img,
[data-theme="days-of-feast"] #navbarLogoImg:hover {
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 1)) drop-shadow(0 0 24px rgba(239, 68, 68, 0.85)) !important;
}

/* Badge Sky Store Chuẩn Mùa Đông Tuyết */
[data-theme="days-of-feast"] .brand-sky-badge {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(239, 68, 68, 0.22) 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4), 0 0 6px rgba(239, 68, 68, 0.3) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* ─── BÉ XIE MASCOT COMPANION & BUBBLE (SCOPED TO DAYS OF FEAST) ─── */
[data-theme="days-of-feast"] .mascot-btn {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(15, 23, 42, 0.95) 80%) !important;
    border: 2.5px solid #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 18px rgba(56, 189, 248, 0.7), 0 0 8px rgba(239, 68, 68, 0.5) !important;
}

[data-theme="days-of-feast"] .mascot-btn:hover {
    border-color: #7dd3fc !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.9), 0 0 12px rgba(239, 68, 68, 0.7) !important;
}

[data-theme="days-of-feast"] .mascot-bubble {
    background: rgba(12, 18, 34, 0.96) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.4), 0 0 8px rgba(239, 68, 68, 0.3) !important;
}

[data-theme="days-of-feast"] .mascot-bubble.pos-top-left::after {
    border-top-color: #38bdf8 !important;
}

[data-theme="days-of-feast"] .mascot-bubble.pos-top-right::after {
    border-top-color: #38bdf8 !important;
}

[data-theme="days-of-feast"] .mascot-bubble.pos-bottom-left::after {
    border-bottom-color: #38bdf8 !important;
}

[data-theme="days-of-feast"] .mascot-bubble.pos-bottom-right::after {
    border-bottom-color: #38bdf8 !important;
}

[data-theme="days-of-feast"] .btn-restore-mascot {
    background: radial-gradient(circle at 35% 30%, #0c1838 0%, #030712 85%) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.5) !important;
}

/* Dấu X Tắt Linh Vật & Bubble */
[data-theme="days-of-feast"] .mascot-close-btn {
    background: #0c1427 !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

[data-theme="days-of-feast"] .mascot-close-btn:hover {
    background: #ef4444 !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 14px rgba(239, 68, 68, 0.85) !important;
}

[data-theme="days-of-feast"] .mascot-bubble-close {
    color: #94a3b8 !important;
}

[data-theme="days-of-feast"] .mascot-bubble-close:hover {
    color: #ef4444 !important;
}

/* ─── 3. GLOBAL BASE & SMOOTH TRANSITIONS (TASTE SKILL) ─── */
html[data-theme="days-of-feast"],
html[data-theme="feast-twilight"],
html[data-theme="feast-dawn"],
html[data-theme="days-of-feast"] body,
html[data-theme="feast-twilight"] body,
html[data-theme="feast-dawn"] body,
body[data-theme="days-of-feast"],
body[data-theme="feast-twilight"],
body[data-theme="feast-dawn"] {
    background: var(--bg-page) !important;
    background-color: var(--bg-page-solid) !important;
    background-attachment: scroll !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: background 0.35s ease, background-color 0.35s ease, color 0.25s ease;
}

/* Twilight Radial Glow at Hero Area: Quầng sáng xanh sapphire băng mờ */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) body::before,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] body::before,
[data-theme="feast-twilight"] body::before,
html[data-theme="days-of-feast"].feast-twilight body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 520px;
    background: radial-gradient(ellipse at 50% 0%, rgba(130, 185, 232, 0.22) 0%, rgba(22, 38, 66, 0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Dawn Frosted Morning Sky Radial at Top */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) body::before,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] body::before,
[data-theme="feast-dawn"] body::before,
html[data-theme="days-of-feast"].feast-dawn body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 480px;
    background: radial-gradient(ellipse at 50% 0%, rgba(184, 220, 255, 0.45) 0%, rgba(214, 234, 255, 0.15) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Smooth transition for theme switching elements */
[data-theme="days-of-feast"] .card,
[data-theme="days-of-feast"] .navbar,
[data-theme="days-of-feast"] .modal-content,
[data-theme="days-of-feast"] .btn,
[data-theme="days-of-feast"] .badge,
[data-theme="days-of-feast"] .product-card-modern,
[data-theme="days-of-feast"] :is(.card-themed, .card-mischief),
[data-theme="days-of-feast"] .xiexie-chat-trigger,
[data-theme="days-of-feast"] .mascot-bubble {
    transition: background-color 0.35s ease,
        background 0.35s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

[data-theme="days-of-feast"] .btn-cart-nav:hover,
[data-theme="days-of-feast"] .nav-cart-btn:hover,
[data-theme="days-of-feast"] :is(.btn-cart-themed, .btn-cart-mischief):hover {
    background: #4A8FD9 !important;
    border-color: var(--border-card-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Badge Sky Store cạnh logo */
[data-theme="days-of-feast"] .brand-sky-badge,
[data-theme="days-of-feast"] .navbar-brand .badge {
    background: rgba(184, 220, 255, 0.15) !important;
    border: 1px solid #B8DCFF !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .brand-sky-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-brand .badge {
    background: #E6F3FF !important;
    border: 1px solid #A8D1FF !important;
    color: #1E466E !important;
}

/* ===================================================================   HEADER AUTH BUTTONS (Đăng nhập / Đăng ký)
   Locked to WCAG AAA contrast in both Dawn and Twilight modes
   ========================================================================== */

/* ── FEAST-DAWN MODE (Sương Sớm - Sáng) ── */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-login {
    background: #FFFFFF !important;
    border: 1.5px solid #68A8E0 !important;
    color: #1B3B5C !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(104, 168, 224, 0.18) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login svg,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login svg,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-login svg {
    stroke: #1B3B5C !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login:hover,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-login:hover {
    background: #E8F3FE !important;
    border-color: #4A8FD9 !important;
    color: #142F4A !important;
    box-shadow: 0 4px 12px rgba(104, 168, 224, 0.28) !important;
    transform: translateY(-1px);
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-register {
    background: linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%) !important;
    border: 1.5px solid #74B4F0 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(104, 168, 224, 0.3) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register svg,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register svg,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-register svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register:hover,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-register:hover {
    background: linear-gradient(135deg, #5A9EE6 0%, #68A8E0 100%) !important;
    border-color: #4A8FD9 !important;
    color: #FFFFFF !important;
    box-shadow: 0 5px 14px rgba(74, 143, 217, 0.4) !important;
    transform: translateY(-1px);
}

/* ── FEAST-TWILIGHT MODE (Chiều Tà / Đêm Sao Băng - Tối) ── */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-login,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-login,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-login {
    background: rgba(225, 240, 255, 0.12) !important;
    border: 1.5px solid rgba(184, 220, 255, 0.4) !important;
    color: #F7FBFF !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.4) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-login svg,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-login svg,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-login svg {
    stroke: #F7FBFF !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-login:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-login:hover,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-login:hover {
    background: rgba(225, 240, 255, 0.22) !important;
    border-color: #B8DCFF !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(104, 168, 224, 0.3) !important;
    transform: translateY(-1px);
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-register,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-register {
    background: linear-gradient(135deg, #4A8FD9 0%, #68A8E0 100%) !important;
    border: 1.5px solid #82B9E8 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 0 16px rgba(104, 168, 224, 0.4) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-register svg,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register svg,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-register svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-register:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register:hover,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-register:hover {
    background: linear-gradient(135deg, #5A9EE6 0%, #7CB6EA 100%) !important;
    border-color: #B8DCFF !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 18px rgba(104, 168, 224, 0.55) !important;
    transform: translateY(-1px);
}

/* Nút Xem Ví Xu & Đổi Thưởng */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .btn-rewards-link,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link {
    background: rgba(184, 220, 255, 0.15) !important;
    border: 1.5px solid #B8DCFF !important;
    color: #F7FBFF !important;
    font-weight: 600 !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .btn-rewards-link:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link:hover {
    background: #4A8FD9 !important;
    border-color: #B8DCFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link {
    background: #FFFFFF !important;
    border: 1.5px solid #68A8E0 !important;
    color: #1B3B5C !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link:hover {
    background: #E8F3FE !important;
    border-color: #4A8FD9 !important;
    color: #142F4A !important;
}

/* Header Auth Register Button Hover */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .nav-btn-register:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register:hover,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-register:hover {
    background: linear-gradient(135deg, #5A9BD5 0%, #75B2E8 100%) !important;
    border-color: #A8D1FF !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(90, 155, 213, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register,
html[data-theme="days-of-feast"].feast-dawn .nav-btn-register {
    background: #FFFFFF !important;
    border: 1.5px solid #68A8E0 !important;
    color: #1B3B5C !important;
    box-shadow: 0 2px 8px rgba(104, 168, 224, 0.18) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register,
html[data-theme="days-of-feast"].feast-twilight .nav-btn-register {
    background: rgba(225, 240, 255, 0.15) !important;
    border: 1.5px solid #A8D1FF !important;
    color: #F7FBFF !important;
    box-shadow: 0 0 12px rgba(170, 212, 255, 0.2) !important;
}

/* Feast Theme Toggle Button (Desktop) */
html[data-theme="days-of-feast"] .feast-theme-toggle {
    background: rgba(184, 220, 255, 0.15) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: 9999px !important;
    padding: 0.4rem 0.9rem !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"] .feast-theme-toggle:hover {
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow) !important;
    transform: translateY(-1px);
}

html[data-theme="days-of-feast"] .feast-theme-toggle:active {
    transform: scale(0.96);
}

/* Feast Theme Toggle Button (Mobile) */
html[data-theme="days-of-feast"] .feast-theme-toggle-mobile {
    background: rgba(184, 220, 255, 0.28) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

html[data-theme="days-of-feast"] .feast-theme-toggle-mobile:hover {
    background: linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%) !important;
    border-color: var(--border-card-hover) !important;
    color: #FFFFFF !important;
}

/* Nút Xem Ví Xu & Đổi Thưởng */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link,
html[data-theme="days-of-feast"].feast-twilight .btn-rewards-link {
    background: rgba(184, 220, 255, 0.15) !important;
    border: 1.5px solid #B8DCFF !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-rewards-link:hover,
html[data-theme="days-of-feast"].feast-twilight .btn-rewards-link:hover {
    background: linear-gradient(135deg, #5A9BD5 0%, #75B2E8 100%) !important;
    border-color: #A8D1FF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link,
html[data-theme="days-of-feast"].feast-dawn .btn-rewards-link {
    background: linear-gradient(135deg, #68A8E0 0%, #82B9E8 100%) !important;
    border: 1.5px solid #74B4F0 !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(104, 168, 224, 0.3) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-rewards-link:hover,
html[data-theme="days-of-feast"].feast-dawn .btn-rewards-link:hover {
    background: linear-gradient(135deg, #5A9BD5 0%, #74B4F0 100%) !important;
    border-color: #5A9BD5 !important;
    color: #FFFFFF !important;
}

/* Hero Overlays */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"].feast-dawn .hero-themed .hero-overlay {
    background: linear-gradient(90deg, rgba(232, 243, 254, 0.88) 0%, rgba(214, 234, 255, 0.62) 42%, rgba(247, 251, 255, 0.22) 80%, rgba(247, 251, 255, 0.12) 100%) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"].feast-twilight .hero-themed .hero-overlay {
    background: linear-gradient(90deg, rgba(13, 27, 42, 0.92) 0%, rgba(21, 42, 64, 0.68) 42%, rgba(15, 30, 46, 0.28) 80%, rgba(15, 30, 46, 0.15) 100%) !important;
}

/* Event Hero Tag */
[data-theme="days-of-feast"] .hero-tag,
html[data-theme="days-of-feast"].feast-dawn .hero-tag,
html[data-theme="days-of-feast"].feast-twilight .hero-tag {
    font-size: 0.8rem !important;
    letter-spacing: 0.8px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-tag,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-tag,
html[data-theme="days-of-feast"].feast-twilight .hero-tag {
    background: rgba(184, 220, 255, 0.15) !important;
    border: 1px solid #B8DCFF !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-tag,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-tag,
html[data-theme="days-of-feast"].feast-dawn .hero-tag {
    background: #E6F3FF !important;
    border: 1px solid #A8D1FF !important;
    color: #1E466E !important;
}

/* Hero Title */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-title,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-title,
html[data-theme="days-of-feast"].feast-twilight .hero-title {
    color: #F7FBFF !important;
    -webkit-text-fill-color: #F7FBFF !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-title,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-title,
html[data-theme="days-of-feast"].feast-dawn .hero-title {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Toggle Icon Visibility */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .feast-icon-dawn,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-icon-dawn,
html.feast-twilight .feast-icon-dawn {
    display: none !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .feast-icon-twilight,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-icon-twilight,
html.feast-twilight .feast-icon-twilight {
    display: inline-block !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-icon-twilight,
html.feast-dawn .feast-icon-twilight {
    display: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-icon-dawn,
html.feast-dawn .feast-icon-dawn {
    display: inline-block !important;
}

/* Toggle Icon Visibility depending on Feast Mode */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]):not([data-feast-mode="twilight"]) .feast-icon-twilight {
    display: none;
}

/* ─── 6. PRODUCT PACK CARDS & INTERACTIVE EVENT CARDS ─── */
[data-theme="days-of-feast"] .card-mischief,
[data-theme="days-of-feast"] .card-themed,
[data-theme="days-of-feast"] .card-preorder-cinnamoroll,
[data-theme="days-of-feast"] .product-card-modern,
[data-theme="days-of-feast"] .account-card-modern,
[data-theme="days-of-feast"] .feast-interactive-card,
[data-theme="days-of-feast"] .feast-card {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    border-radius: var(--theme-card-radius, 20px) !important;
    box-shadow: var(--card-shadow) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.22s ease,
        box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: var(--text-primary) !important;
}

/* Interactive Card Badge & Headings */
[data-theme="days-of-feast"] .feast-event-pill {
    background: var(--price-badge-bg) !important;
    color: var(--price-badge-text) !important;
    border: 1px solid var(--border-card) !important;
}

[data-theme="days-of-feast"] .feast-card-heading {
    color: var(--text-primary) !important;
}

[data-theme="days-of-feast"] .feast-card-subheading {
    color: var(--text-primary) !important;
    opacity: 0.9;
}

[data-theme="days-of-feast"] .feast-card-body-text {
    color: var(--text-secondary) !important;
}

/* Taste Skill Rule: Nâng nhẹ đúng 2px khi hover */
[data-theme="days-of-feast"] .card-mischief:hover,
[data-theme="days-of-feast"] .card-themed:hover,
[data-theme="days-of-feast"] .card-preorder-cinnamoroll:hover,
[data-theme="days-of-feast"] .product-card-modern:hover,
[data-theme="days-of-feast"] .account-card-modern:hover,
[data-theme="days-of-feast"] .feast-interactive-card:hover,
[data-theme="days-of-feast"] .feast-card:hover {
    transform: translate3d(0, -2px, 0) !important;
    border-color: var(--border-card-hover) !important;
    box-shadow: 0 14px 34px -4px rgba(27, 42, 58, 0.3),
        0 0 18px var(--theme-border-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .feast-icon-dawn,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-icon-dawn,
[data-feast-mode="twilight"] .feast-icon-dawn {
    display: none;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-icon-twilight,
[data-feast-mode="dawn"] .feast-icon-twilight {
    display: none;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-icon-dawn,
[data-feast-mode="dawn"] .feast-icon-dawn {
    display: inline-block;
}

/* ─── 5. HERO BANNER: NORDIC FROST BLUE ─── */
/* ─── 5. HERO BANNER: CHIIKAWA WINTER BACKGROUND (IN TRẺO & KHÔNG BỊ XỈN) ─── */
[data-theme="days-of-feast"] .hero-themed {
    background-color: var(--bg-card-inner) !important;
    background-image: url('/themes/days-of-feast/hero_banner.jpg') !important;
    background-size: cover !important;
    background-position: center 42% !important;
    border-radius: 24px !important;
    border: 1.5px solid var(--border-card) !important;
    box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    overflow: hidden;
    position: relative;
}

/* Dawn Mode Frosted Sunlight Filter on Hero */
/* Dawn Mode Frosted Sunlight Filter on Hero: Sáng trong trẻo, không làm xỉn tranh Chiikawa */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-themed .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay {
    background: linear-gradient(90deg, rgba(220, 231, 240, 0.88) 0%, rgba(232, 238, 245, 0.62) 42%, rgba(246, 233, 218, 0.22) 80%, rgba(246, 233, 218, 0.12) 100%) !important;
    background: linear-gradient(90deg, rgba(235, 245, 255, 0.88) 0%, rgba(235, 245, 255, 0.55) 55%, rgba(235, 245, 255, 0.2) 100%) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-themed .hero-overlay,
/* Twilight Mode Clear Sapphire Blue Overlay: Trong suốt, loại bỏ hoàn toàn xám đen đục */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay {
    background: linear-gradient(90deg, rgba(21, 32, 46, 0.92) 0%, rgba(31, 48, 68, 0.68) 42%, rgba(24, 37, 53, 0.28) 80%, rgba(24, 37, 53, 0.15) 100%) !important;
    background: linear-gradient(90deg, rgba(22, 38, 66, 0.82) 0%, rgba(31, 54, 92, 0.5) 60%, rgba(31, 54, 92, 0.2) 100%) !important;
}

/* Event Hero Tag */
[data-theme="days-of-feast"] .hero-tag {
    background: var(--price-badge-bg) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--price-badge-text) !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.8px !important;
}

/* Event Hero Tag & All Badges: Nền #E6F3FF, viền #A8D1FF, chữ #1E466E (Xóa bỏ hoàn toàn kem vàng) */
[data-theme="days-of-feast"] .hero-tag,
html[data-theme="days-of-feast"] .feast-card-badge,
[data-theme="days-of-feast"] .badge-feast-festive,
[data-theme="days-of-feast"] :is(.card-themed, .card-mischief) .position-absolute .badge:not(.bg-danger) {
    background: #E6F3FF !important;
    border: 1px solid #A8D1FF !important;
    color: #1E466E !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 10px rgba(104, 168, 224, 0.2) !important;
}

[data-theme="days-of-feast"] .hero-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-title,
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-title,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-title {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-title,
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-title,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-title,
html[data-theme="days-of-feast"].feast-twilight .hero-title {
    color: #F7FBFF !important;
    -webkit-text-fill-color: #F7FBFF !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 0 20px rgba(104, 184, 255, 0.5) !important;
}

/* ─── 8. BUTTONS & MICRO-INTERACTIONS ─── */
[data-theme="days-of-feast"] .btn-theme-primary,
[data-theme="days-of-feast"] .btn-mischief-primary,
[data-theme="days-of-feast"] .btn-feast-primary,
[data-theme="days-of-feast"] .btn-glass-purchase {
    background: var(--btn-primary-bg) !important;
    border: 1px solid var(--btn-primary-border) !important;
    color: var(--btn-primary-text) !important;
    box-shadow: var(--btn-primary-shadow) !important;
    font-weight: 700 !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s ease,
        background 0.2s ease,
        filter 0.2s ease !important;
}

[data-theme="days-of-feast"] .btn-theme-primary:hover,
[data-theme="days-of-feast"] .btn-mischief-primary:hover,
[data-theme="days-of-feast"] .btn-feast-primary:hover,
[data-theme="days-of-feast"] .btn-glass-purchase:hover {
    background: var(--btn-primary-bg) !important;
    filter: brightness(1.1) !important;
    transform: translate3d(0, -1px, 0) !important;
    box-shadow: 0 6px 20px rgba(104, 168, 224, 0.45) !important;
    color: #FFFFFF !important;
}

[data-theme="days-of-feast"] .btn-theme-primary:active,
[data-theme="days-of-feast"] .btn-mischief-primary:active,
[data-theme="days-of-feast"] .btn-feast-primary:active,
[data-theme="days-of-feast"] .btn-glass-purchase:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(104, 168, 224, 0.3) !important;
}

[data-theme="days-of-feast"] .hero-themed p.lead {
    color: var(--text-secondary) !important;
}

[data-theme="days-of-feast"] :is(.btn-theme-outline, .btn-mischief-outline):hover,
[data-theme="days-of-feast"] .btn-feast-outline:hover {
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow) !important;
}

/* Hero Stat Card: Kính mờ xanh băng trầm */
[data-theme="days-of-feast"] .hero-stat-card {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
}

/* Khung "Tích Xu Đổi Voucher" bên phải */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-stat-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-stat-card {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px rgba(104, 168, 224, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    color: #1B3B5C !important;
}

[data-theme="days-of-feast"] .category-filter-btn.active {
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: var(--btn-primary-text) !important;
    box-shadow: var(--btn-primary-shadow) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card {
    background: rgba(14, 28, 48, 0.82) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: #F7FBFF !important;
}

[data-theme="days-of-feast"] .sub-category-event-btn.active,
[data-theme="days-of-feast"] .sub-category-btn.active {
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: var(--btn-primary-text) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-stat-card h4,
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-stat-card .text-white,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-stat-card h4,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-stat-card .text-white {
    color: #1B3B5C !important;
    text-shadow: none !important;
}

/* ─── 6. PRODUCT PACK CARDS (NORDIC FROST BLUE TASTE) ─── */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-stat-card p,
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-stat-card .text-light,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-stat-card p,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-stat-card .text-light {
    color: #4A6F94 !important;
    opacity: 1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card h4,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card .text-white,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card h4,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card .text-white {
    color: #F7FBFF !important;
    text-shadow: 0 1px 8px rgba(10, 22, 40, 0.5) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card p,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card .text-light,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card p,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-stat-card .text-light {
    color: #C5E0FC !important;
    opacity: 0.95 !important;
}

/* ─── 6. PRODUCT PACK CARDS (CRYSTAL WINTER BLUE TASTE) ─── */
[data-theme="days-of-feast"] .card-mischief,
[data-theme="days-of-feast"] .card-themed,
[data-theme="days-of-feast"] .card-preorder-cinnamoroll,
[data-theme="days-of-feast"] .product-card-modern,
[data-theme="days-of-feast"] .account-card-modern {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    border-radius: var(--theme-card-radius, 20px) !important;
    box-shadow: var(--card-shadow) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.22s ease,
        box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: var(--text-primary) !important;
}

/* Taste Skill Rule: Nâng nhẹ đúng 2px khi hover & Ánh xanh băng tuyết rực rỡ */
[data-theme="days-of-feast"] .card-mischief:hover,
[data-theme="days-of-feast"] .card-themed:hover,
[data-theme="days-of-feast"] .card-preorder-cinnamoroll:hover,
[data-theme="days-of-feast"] .product-card-modern:hover,
[data-theme="days-of-feast"] .account-card-modern:hover,
html[data-theme="days-of-feast"] .card-mischief:hover,
html[data-theme="days-of-feast"].feast-dawn .card-mischief:hover,
html[data-theme="days-of-feast"].feast-twilight :is(.card-themed, .card-mischief):hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-mischief:hover {
    transform: translate3d(0, -2px, 0) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 14px 34px -4px rgba(104, 168, 224, 0.25), 0 0 20px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* Inner Frame for Items (#101924 kèm viền xanh băng dịu rgba(132, 163, 190, 0.28)) */
/* Inner Frame for Items (Khung sapphire đậm tôn sáng item Sky) */
[data-theme="days-of-feast"] .product-img-box,
[data-theme="days-of-feast"] .product-card-img-wrap,
[data-theme="days-of-feast"] .account-cover-wrap,
html[data-theme="days-of-feast"].feast-dawn .product-img-box,
html[data-theme="days-of-feast"].feast-twilight .product-img-box,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-img-box,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .product-img-box {
    background: #101924 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(130, 185, 232, 0.28) !important;
    box-shadow: 0 0 16px rgba(130, 185, 232, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    overflow: hidden;
}

/* Taste Skill Rule: Ảnh sản phẩm zoom nhẹ 1.025x & ÁNH XANH CYAN BĂNG TUYẾT KHI HOVER (TRIỆT TIÊU 100% ÁNH CAM) */
[data-theme="days-of-feast"] .card-mischief .product-img-box img,
[data-theme="days-of-feast"] .card-themed .product-img-box img,
[data-theme="days-of-feast"] .product-card-modern .product-card-img-wrap img,
[data-theme="days-of-feast"] .account-card-modern .account-cover-img,
html[data-theme="days-of-feast"].feast-dawn .card-mischief .product-img-box img,
html[data-theme="days-of-feast"].feast-twilight .card-mischief .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-mischief .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.card-themed, .card-mischief) .product-img-box img {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
    will-change: transform, filter;
}

[data-theme="days-of-feast"] .card-mischief:hover .product-img-box img,
[data-theme="days-of-feast"] .card-themed:hover .product-img-box img,
[data-theme="days-of-feast"] .product-card-modern:hover .product-card-img-wrap img,
html[data-theme="days-of-feast"].feast-dawn .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"].feast-twilight .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-mischief:hover .product-img-box img {
    transform: scale(1.04) !important;
    filter: drop-shadow(0 10px 22px rgba(56, 189, 248, 0.75)) !important;
}

/* ─── 10. ADAPTIVE AMBIENT SNOW & MIST (TWILIGHT VS DAWN) ─── */
[data-theme="days-of-feast"] .ambient-effect-container,
[data-theme="days-of-feast"] #ambientEffectContainer,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #ambientEffectContainer,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #ambientEffectContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 95 !important;
    overflow: hidden !important;
}

/* Crystal Snowflake & Sky Star Canvas (Both Dawn & Twilight Modes) */
html[data-theme="days-of-feast"] #feastDawnCanvas,
html[data-theme="days-of-feast"] #feastSnowCanvas,
html[data-theme="days-of-feast"].feast-dawn-canvas,
html[data-theme="days-of-feast"] .feast-snow-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 95 !important;
}

/* ─── 7. CARD BADGES & CONTRAST-LOCKED PRICING ─── */
/* Category & Event Badges: Nền #F6E9DA, chữ xanh than đậm #1B2A3A */
html[data-theme="days-of-feast"] .feast-card-badge,
[data-theme="days-of-feast"] .badge-feast-festive,
[data-theme="days-of-feast"] :is(.card-themed, .card-mischief) .position-absolute .badge:not(.bg-danger) {
    background: var(--price-badge-bg) !important;
    color: var(--price-badge-text) !important;
    border: 1px solid var(--border-card) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16) !important;
}

/* Twilight Snow: Winter Snow with Luminescent Glow */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .ambient-snow,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow {
    background: radial-gradient(circle, #FFFFFF 30%, #C5E0FC 85%) !important;
    box-shadow: 0 0 8px rgba(184, 220, 255, 0.85), 0 0 16px rgba(104, 168, 224, 0.45) !important;
}

/* Dawn Snow: Pure #FFFFFF with Soft Shadow for Contrast on Light BG (fallback if canvas disabled) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow {
    background: #5B9BD5 !important;
    box-shadow: 0 2px 6px rgba(74, 143, 217, 0.45) !important;
}

/* Inside Card Price Box */
[data-theme="days-of-feast"] :is(.card-themed, .card-mischief) .p-3.rounded-3,
[data-theme="days-of-feast"] .product-card-modern .p-3.rounded-3,
[data-theme="days-of-feast"] .price-box-feast,
[data-theme="days-of-feast"] .product-price-box {
    background: var(--price-box-bg) !important;
    border: 1.5px solid var(--border-card) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .ambient-snow-bokeh,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow-bokeh {
    background: radial-gradient(circle, rgba(184, 220, 255, 0.35) 0%, transparent 70%);
}

[data-theme="days-of-feast"] .price-neon {
    color: var(--price-neon-color) !important;
    font-weight: 800 !important;
    font-size: 1.45rem !important;
    letter-spacing: -0.3px;
    text-shadow: 0 0 10px var(--theme-border-glow);
}

[data-theme="days-of-feast"] .price-strike {
    color: var(--text-muted) !important;
    opacity: 0.75;
    text-decoration: line-through;
}

/* ─── 8. BUTTONS & MICRO-INTERACTIONS (#5B7C99) ─── */
/* ─── 7. BUTTONS & MICRO-INTERACTIONS (CRYSTAL WINTER BLUE) ─── */
[data-theme="days-of-feast"] .btn-theme-primary,
[data-theme="days-of-feast"] .btn-mischief-primary,
[data-theme="days-of-feast"] .btn-feast-primary,
[data-theme="days-of-feast"] .btn-glass-purchase {
    background: #5B7C99 !important;
    background: var(--btn-primary-bg) !important;
    border: 1px solid var(--btn-primary-border) !important;
    color: #F6E9DA !important;
    color: var(--btn-primary-text) !important;
    box-shadow: var(--btn-primary-shadow) !important;
    font-weight: 700 !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s ease,
        background 0.2s ease !important;
}

[data-theme="days-of-feast"] .btn-theme-primary:hover,
[data-theme="days-of-feast"] .btn-mischief-primary:hover,
[data-theme="days-of-feast"] .btn-feast-primary:hover,
[data-theme="days-of-feast"] .btn-glass-purchase:hover {
    background: #6B8FAD !important;
    background: linear-gradient(135deg, #5A9BD5 0%, #74B4F0 100%) !important;
    transform: translate3d(0, -1px, 0) !important;
    box-shadow: 0 6px 20px rgba(91, 124, 153, 0.55) !important;
    box-shadow: 0 6px 20px rgba(104, 168, 224, 0.45) !important;
    color: #FFFFFF !important;
}

[data-theme="days-of-feast"] .btn-theme-primary:active,
[data-theme="days-of-feast"] .btn-mischief-primary:active,
[data-theme="days-of-feast"] .btn-feast-primary:active,
[data-theme="days-of-feast"] .btn-glass-purchase:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(91, 124, 153, 0.3) !important;
    box-shadow: 0 2px 8px rgba(104, 168, 224, 0.3) !important;
}

/* Outline Buttons (Nordic Frost Style) */
/* Outline Buttons */
[data-theme="days-of-feast"] :is(.btn-theme-outline, .btn-mischief-outline),
[data-theme="days-of-feast"] .btn-feast-outline {
    background: rgba(168, 197, 224, 0.12) !important;
    background: rgba(184, 220, 255, 0.18) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

[data-theme="days-of-feast"] :is(.btn-theme-outline, .btn-mischief-outline):hover,
[data-theme="days-of-feast"] .btn-feast-outline:hover {
    background: #5B7C99 !important;
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: #F6E9DA !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow) !important;
}

/* Category Filter Pills */
[data-theme="days-of-feast"] .category-filter-btn {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, border-color 0.22s ease !important;
}

[data-theme="days-of-feast"] .category-filter-btn:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-card-hover) !important;
    color: var(--text-primary) !important;
}

[data-theme="days-of-feast"] .category-filter-btn.active {
    background: #5B7C99 !important;
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: #F6E9DA !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow) !important;
}

/* Sub-category Pills */
[data-theme="days-of-feast"] .sub-category-event-btn,
[data-theme="days-of-feast"] .sub-category-btn {
    background: rgba(132, 163, 190, 0.15) !important;
    background: rgba(184, 220, 255, 0.2) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-primary) !important;
}

[data-theme="days-of-feast"] .sub-category-event-btn.active,
[data-theme="days-of-feast"] .sub-category-btn.active {
    background: #5B7C99 !important;
    background: var(--btn-primary-bg) !important;
    border-color: var(--border-card-hover) !important;
    color: #F6E9DA !important;
    color: #FFFFFF !important;
}

/* Store Hero Banner */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .store-hero-banner,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .store-hero-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(225, 240, 255, 0.85) 100%) !important;
    border: 1.5px solid #B8DCFF !important;
    box-shadow: 0 10px 30px rgba(104, 168, 224, 0.15) !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .store-hero-banner h1,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .store-hero-banner h1 {
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .store-hero-banner p,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .store-hero-banner p {
    color: #4A6F94 !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .store-hero-banner .badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .store-hero-banner .badge {
    background: #E6F3FF !important;
    border: 1px solid #A8D1FF !important;
    color: #1E466E !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner {
    background: linear-gradient(135deg, rgba(35, 62, 104, 0.78) 0%, rgba(22, 38, 66, 0.88) 100%) !important;
    border: 1.5px solid rgba(170, 212, 255, 0.38) !important;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.4) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner h1,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner h1 {
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner p,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner p {
    color: #C5E0FC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner .badge,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .store-hero-banner .badge {
    background: rgba(225, 240, 255, 0.15) !important;
    border: 1px solid #A8D1FF !important;
    color: #F7FBFF !important;
}

@media (max-width: 575.98px) {
    html[data-theme="days-of-feast"] .store-hero-banner {
        padding: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

/* Store Filter Search & Select Inputs */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) #productSearchInput,
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) #productSortSelect,
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .filter-toolbar .input-group-text,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #productSearchInput,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #productSortSelect,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .filter-toolbar .input-group-text {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
    border-color: #B8DCFF !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) #productSearchInput::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #productSearchInput::placeholder {
    color: #6B8FA8 !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) #productSortSelect option,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #productSortSelect option {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSearchInput,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSortSelect,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .filter-toolbar .input-group-text,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSearchInput,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSortSelect,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .filter-toolbar .input-group-text {
    background: #0F1C33 !important;
    color: #F7FBFF !important;
    border-color: rgba(170, 212, 255, 0.38) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSearchInput::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSearchInput::placeholder {
    color: #8FB5DC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSortSelect option,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] #productSortSelect option {
    background: #0F1C33 !important;
    color: #F7FBFF !important;
}

/* Search button & Claim Voucher Button */
html[data-theme="days-of-feast"] .filter-toolbar .btn-warning,
html[data-theme="days-of-feast"] #btnClaimEventVouchers {
    background: var(--btn-primary-bg) !important;
    border: 1px solid var(--border-card) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow) !important;
}

html[data-theme="days-of-feast"] .filter-toolbar .btn-warning:hover,
html[data-theme="days-of-feast"] #btnClaimEventVouchers:hover {
    background: linear-gradient(135deg, #5A9BD5 0%, #74B4F0 100%) !important;
    border-color: var(--border-card-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* QuickView & Game Modals */
[data-theme="days-of-feast"] .modal-content {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    color: var(--text-primary) !important;
}

/* Days of Feast Dawn Mode: Modal High-Contrast Typography Fix */
[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .text-white,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-white,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-white {
    color: #0F1C2B !important;
}

[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .text-slate-200,
[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .text-slate-300,
[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .text-slate-400,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-200,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-300,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-400,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-200,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-300,
html[data-theme="days-of-feast"].feast-dawn .modal-content .text-slate-400 {
    color: #2D4A6E !important;
}

/* ─── 9. BOTTOM CLEARANCE & FLOATING OVERLAP FIXES (RULE 3) ─── */
/* Safety clearance: Add 110px padding to avoid floating trigger overlap */
/* ─── 8. BOTTOM CLEARANCE & FLOATING OVERLAP FIXES (RULE 3) ─── */
[data-theme="days-of-feast"] .main-content-wrapper,
[data-theme="days-of-feast"] #productsSection,
[data-theme="days-of-feast"] #productsGrid,
[data-theme="days-of-feast"] .storefront-main-container {
    padding-bottom: 110px !important;
}

/* Refined Floating Trigger: "Liên hệ Xie Xie" (Bottom Left) */
[data-theme="days-of-feast"] .xiexie-chat-trigger,
html[data-theme="days-of-feast"] .xiexie-chat-trigger {
    background: linear-gradient(135deg, rgba(22, 38, 66, 0.96) 0%, rgba(12, 22, 38, 0.98) 100%) !important;
    border: 1.5px solid rgba(184, 220, 255, 0.42) !important;
    color: #F7FBFF !important;
    box-shadow: 0 10px 28px rgba(4, 10, 20, 0.65), 0 0 22px rgba(104, 168, 224, 0.25) !important;
    bottom: 24px;
    left: 24px;
    z-index: 1050 !important;
}

[data-theme="days-of-feast"] .xiexie-chat-trigger:hover,
html[data-theme="days-of-feast"] .xiexie-chat-trigger:hover {
    border-color: rgba(184, 220, 255, 0.75) !important;
    box-shadow: 0 14px 34px rgba(4, 10, 20, 0.75), 0 0 28px rgba(104, 168, 224, 0.4) !important;
    color: #FFFFFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-trigger .chat-trigger-avatar,
html[data-theme="days-of-feast"] .xiexie-chat-trigger .chat-trigger-avatar {
    border: 1.5px solid rgba(184, 220, 255, 0.65) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-trigger .xiexie-chat-trigger-text,
html[data-theme="days-of-feast"] .xiexie-chat-trigger .xiexie-chat-trigger-text {
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger .xiexie-chat-trigger-text,
html[data-theme="days-of-feast"].feast-dawn .xiexie-chat-trigger .xiexie-chat-trigger-text {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
}

/* Chat Box Window - Soft Nordic Frost Crystal Glass */
[data-theme="days-of-feast"] .xiexie-chat-box,
html[data-theme="days-of-feast"] .xiexie-chat-box {
    background: rgba(12, 22, 38, 0.95) !important;
    border: 1.5px solid rgba(184, 220, 255, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(4, 10, 20, 0.8), 0 0 35px rgba(104, 168, 224, 0.18) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-box.dragging,
html[data-theme="days-of-feast"] .xiexie-chat-box.dragging {
    box-shadow: 0 28px 70px rgba(4, 10, 20, 0.9), 0 0 45px rgba(104, 168, 224, 0.3) !important;
}

/* Chat Header */
[data-theme="days-of-feast"] .xiexie-chat-header,
html[data-theme="days-of-feast"] .xiexie-chat-header {
    background: linear-gradient(135deg, rgba(22, 38, 66, 0.96) 0%, rgba(12, 22, 38, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(184, 220, 255, 0.16) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-header-title,
html[data-theme="days-of-feast"] .xiexie-chat-header-title {
    color: #F7FBFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-header-status,
html[data-theme="days-of-feast"] .xiexie-chat-header-status {
    color: #B8DCFF !important;
}

[data-theme="days-of-feast"] #liveChatHeaderAvatar,
html[data-theme="days-of-feast"] #liveChatHeaderAvatar,
[data-theme="days-of-feast"] .xiexie-chat-avatar,
html[data-theme="days-of-feast"] .xiexie-chat-avatar {
    border: 1.5px solid rgba(184, 220, 255, 0.6) !important;
    box-shadow: 0 2px 10px rgba(104, 168, 224, 0.25) !important;
    background: linear-gradient(135deg, #4A8FD9 0%, #2563EB 100%) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-close-btn,
html[data-theme="days-of-feast"] .xiexie-chat-close-btn,
[data-theme="days-of-feast"] .xiexie-chat-icon-btn,
html[data-theme="days-of-feast"] .xiexie-chat-icon-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(184, 220, 255, 0.2) !important;
    color: #D6ECFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-close-btn:hover,
html[data-theme="days-of-feast"] .xiexie-chat-close-btn:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    color: #FCA5A5 !important;
}

[data-theme="days-of-feast"] .xiexie-chat-icon-btn:hover,
html[data-theme="days-of-feast"] .xiexie-chat-icon-btn:hover {
    background: rgba(104, 168, 224, 0.22) !important;
    border-color: rgba(184, 220, 255, 0.45) !important;
    color: #FFFFFF !important;
}

/* Chat Body */
[data-theme="days-of-feast"] .xiexie-chat-body,
html[data-theme="days-of-feast"] .xiexie-chat-body {
    background: radial-gradient(circle at top right, #162642 0%, #0C1626 75%) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-body::-webkit-scrollbar-thumb,
html[data-theme="days-of-feast"] .xiexie-chat-body::-webkit-scrollbar-thumb {
    background: rgba(184, 220, 255, 0.25) !important;
    border-radius: 4px !important;
}

/* Agent Bubble (Tư vấn viên Xie / Bot) - Dịu mắt, không viền trắng chói */
[data-theme="days-of-feast"] .chat-bubble-agent,
html[data-theme="days-of-feast"] .chat-bubble-agent {
    background: rgba(26, 44, 76, 0.9) !important;
    border: 1px solid rgba(184, 220, 255, 0.18) !important;
    color: #F1F6FD !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="days-of-feast"] .chat-bubble-agent .chat-sender-badge,
html[data-theme="days-of-feast"] .chat-bubble-agent .chat-sender-badge,
[data-theme="days-of-feast"] .chat-bubble-agent span[style*="color: #fbbf24"],
[data-theme="days-of-feast"] .chat-bubble-agent span[style*="color: #ffaa00"],
[data-theme="days-of-feast"] .chat-bubble-agent span[style*="color: rgb(251, 191, 36)"] {
    color: #82B9E8 !important;
}

/* Client Bubble (Khách hàng) */
[data-theme="days-of-feast"] .chat-bubble-client,
html[data-theme="days-of-feast"] .chat-bubble-client {
    background: linear-gradient(135deg, #3A7BD5 0%, #2563EB 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28) !important;
}

[data-theme="days-of-feast"] .chat-msg-time,
html[data-theme="days-of-feast"] .chat-msg-time {
    color: #8CA3C3 !important;
}

[data-theme="days-of-feast"] .chat-bubble-system,
html[data-theme="days-of-feast"] .chat-bubble-system {
    background: rgba(18, 33, 56, 0.8) !important;
    color: #B8DCFF !important;
    border: 1px dashed rgba(184, 220, 255, 0.28) !important;
}

/* Chat Footer & Input Controls */
[data-theme="days-of-feast"] .xiexie-chat-footer,
html[data-theme="days-of-feast"] .xiexie-chat-footer {
    background: rgba(10, 18, 30, 0.98) !important;
    border-top: 1px solid rgba(184, 220, 255, 0.14) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-input,
html[data-theme="days-of-feast"] .xiexie-chat-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(184, 220, 255, 0.22) !important;
    color: #FFFFFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-input:focus,
html[data-theme="days-of-feast"] .xiexie-chat-input:focus {
    border-color: #68A8E0 !important;
    box-shadow: 0 0 0 2px rgba(104, 168, 224, 0.22) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-attach-btn,
html[data-theme="days-of-feast"] .xiexie-chat-attach-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(184, 220, 255, 0.22) !important;
    color: #B8DCFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-attach-btn:hover,
html[data-theme="days-of-feast"] .xiexie-chat-attach-btn:hover {
    background: rgba(104, 168, 224, 0.22) !important;
    border-color: #82B9E8 !important;
    color: #FFFFFF !important;
}

[data-theme="days-of-feast"] .xiexie-chat-quick-sticker-btn,
html[data-theme="days-of-feast"] .xiexie-chat-quick-sticker-btn {
    background: rgba(104, 168, 224, 0.14) !important;
    border: 1px solid rgba(184, 220, 255, 0.28) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-quick-sticker-btn:hover,
html[data-theme="days-of-feast"] .xiexie-chat-quick-sticker-btn:hover {
    background: rgba(104, 168, 224, 0.28) !important;
    border-color: #82B9E8 !important;
}

[data-theme="days-of-feast"] .xiexie-chat-send-btn,
html[data-theme="days-of-feast"] .xiexie-chat-send-btn {
    background: linear-gradient(135deg, #4A8FD9 0%, #2563EB 100%) !important;
    border: 1px solid rgba(184, 220, 255, 0.35) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-send-btn:hover,
html[data-theme="days-of-feast"] .xiexie-chat-send-btn:hover {
    background: linear-gradient(135deg, #60A5FA 0%, #1D4ED8 100%) !important;
    transform: scale(1.06) !important;
}

[data-theme="days-of-feast"] .chat-hover-bar,
html[data-theme="days-of-feast"] .chat-hover-bar {
    background: rgba(18, 33, 56, 0.95) !important;
    border: 1px solid rgba(184, 220, 255, 0.28) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(104, 168, 224, 0.15) !important;
}

[data-theme="days-of-feast"] .chat-wallpaper-drawer,
html[data-theme="days-of-feast"] .chat-wallpaper-drawer {
    background: rgba(12, 22, 38, 0.98) !important;
    border-bottom: 1px solid rgba(184, 220, 255, 0.2) !important;
}

[data-theme="days-of-feast"] .xiexie-chat-trigger .chat-trigger-avatar {
    border: 1.5px solid #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger .chat-trigger-avatar,
html[data-theme="feast-dawn"] .xiexie-chat-trigger .chat-trigger-avatar {
    border: 1.5px solid #A8D1FF !important;
    box-shadow: 0 2px 8px rgba(104, 168, 224, 0.3) !important;
}

/* Refined Floating Mascot (Bottom Right) */
[data-theme="days-of-feast"] .mascot-container {
    bottom: 24px;
    right: 24px;
    z-index: 1040 !important;
}

/* Compact Speech Bubble (#5B7C99 Accent) */
[data-theme="days-of-feast"] .mascot-bubble {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
}

/* Compact Speech Bubble */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .mascot-bubble,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mascot-bubble {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid #B8DCFF !important;
    color: #1B3B5C !important;
    box-shadow: 0 4px 16px rgba(104, 168, 224, 0.2) !important;
    max-width: 180px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    border-radius: 14px 14px 4px 14px !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mascot-bubble,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mascot-bubble {
    background: rgba(35, 62, 104, 0.88) !important;
    border: 1.5px solid rgba(170, 212, 255, 0.4) !important;
    color: #F7FBFF !important;
    box-shadow: var(--card-shadow) !important;
    max-width: 180px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    border-radius: 14px 14px 4px 14px !important;
}

[data-theme="days-of-feast"] .mascot-cat-circle-wrap {
    border-color: var(--border-card) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

/* ─── 11. MINIGAMES SWITCHER TAB BUTTONS (HIGH CONTRAST WCAG AAA) ─── */
[data-theme="days-of-feast"] .minigames-tab-wrapper {
    position: relative;
    z-index: 10;
}

/* Inactive Tab in Feast Dawn (Light Mode): Nền trắng đục, chữ than đậm tương phản cao */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active),
[data-theme="feast-dawn"] .minigame-tab-btn:not(.active) {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1A3E66 !important;
    border: 1.5px solid #A8D1FF !important;
    box-shadow: 0 4px 16px rgba(104, 168, 224, 0.22) !important;
    font-weight: 800 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active) svg,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active) svg,
[data-theme="feast-dawn"] .minigame-tab-btn:not(.active) svg {
    color: #0284C7 !important;
    stroke: #0284C7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active):hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active):hover,
[data-theme="feast-dawn"] .minigame-tab-btn:not(.active):hover {
    background: #FFFFFF !important;
    color: #0B2545 !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 6px 22px rgba(104, 168, 224, 0.35) !important;
    transform: translateY(-2px);
}

/* Inactive Tab in Feast Twilight (Dark Mode): Nền sapphire, chữ trắng tuyết sáng rõ */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .minigame-tab-btn:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .minigame-tab-btn:not(.active),
[data-theme="days-of-feast"] .minigame-tab-btn:not(.active) {
    background: rgba(18, 33, 56, 0.88) !important;
    color: #F7FBFF !important;
    border: 1.5px solid rgba(168, 209, 255, 0.35) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    font-weight: 800 !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .minigame-tab-btn:not(.active) svg,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .minigame-tab-btn:not(.active) svg,
[data-theme="days-of-feast"] .minigame-tab-btn:not(.active) svg {
    color: #7DD3FC !important;
    stroke: #7DD3FC !important;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .minigame-tab-btn:not(.active):hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .minigame-tab-btn:not(.active):hover,
[data-theme="days-of-feast"] .minigame-tab-btn:not(.active):hover {
    background: rgba(28, 49, 80, 0.96) !important;
    color: #FFFFFF !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.3) !important;
    transform: translateY(-2px);
}

/* Active Tab in Both Modes: Xanh lam hoàng gia rực rỡ */
[data-theme="days-of-feast"] .minigame-tab-btn.active,
html[data-theme="days-of-feast"] .minigame-tab-btn.active {
    background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%) !important;
    color: #FFFFFF !important;
    border: 1.5px solid #38BDF8 !important;
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.45) !important;
}

[data-theme="days-of-feast"] .minigame-tab-btn.active svg,
html[data-theme="days-of-feast"] .minigame-tab-btn.active svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* ─── 10. ADAPTIVE AMBIENT SNOW & MIST (TWILIGHT VS DAWN) ─── */
/* ─── 9. ADAPTIVE AMBIENT SNOW & MIST (TWILIGHT VS DAWN) ─── */
[data-theme="days-of-feast"] .ambient-effect-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Snowflake Elements */
[data-theme="days-of-feast"] .ambient-snow {
    position: absolute;
    top: -20px;
    border-radius: 50%;
    animation: feastFallSnow linear infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Twilight Snow: Winter Snow with Luminescent Glow */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .ambient-snow,
/* Twilight Snow: Pure Snow with Ice Luminescence */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow {
    background: radial-gradient(circle, #FFFFFF 30%, #D0D7E4 85%) !important;
    box-shadow: 0 0 8px rgba(168, 197, 224, 0.85), 0 0 16px rgba(246, 233, 218, 0.35) !important;
    background: radial-gradient(circle, #FFFFFF 30%, #E1F0FF 85%) !important;
    box-shadow: 0 0 8px rgba(170, 212, 255, 0.9), 0 0 16px rgba(130, 185, 232, 0.4) !important;
}

/* Dawn Snow: Pure #FFFFFF with Soft Shadow for Contrast on Light BG */
/* Dawn Snow: Pure #FFFFFF with Soft Ice Shadow */
html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .ambient-snow,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow {
    background: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(91, 124, 153, 0.32) !important;
    box-shadow: 0 2px 6px rgba(104, 168, 224, 0.35) !important;
}

/* Warm Glimmer Bokeh in Twilight Mode */
/* Twilight Bokeh */
html[data-theme="days-of-feast"] .ambient-snow-bokeh {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: feastBokehDrift ease-in-out infinite alternate;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .ambient-snow-bokeh,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow-bokeh,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .ambient-snow-bokeh {
    background: radial-gradient(circle, rgba(246, 233, 218, 0.38) 0%, transparent 70%);
    background: radial-gradient(circle, rgba(170, 212, 255, 0.32) 0%, transparent 70%);
}

/* Nordic Blue Mist Particles in Dawn Mode */
/* Dawn Mist Particles */
html[data-theme="days-of-feast"] .ambient-snow-mist {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: feastMistDrift linear infinite;
}

html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .ambient-snow-mist,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow-mist,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .ambient-snow-mist {
    background: radial-gradient(circle, rgba(132, 163, 190, 0.35) 0%, transparent 70%);
    background: radial-gradient(circle, rgba(104, 168, 224, 0.28) 0%, transparent 70%);
}

/* Snowflake Placement & Timing */
[data-theme="days-of-feast"] .ambient-snow:nth-child(1) {
    left: 8%;
    width: 5px;
    height: 5px;
    animation-duration: 14s;
    animation-delay: 0s;
}

[data-theme="days-of-feast"] .ambient-snow:nth-child(2) {
    left: 26%;
    width: 7px;
    height: 7px;
    animation-duration: 18s;
    animation-delay: 2.5s;
}

[data-theme="days-of-feast"] .ambient-snow:nth-child(3) {
    left: 48%;
    width: 4.5px;
    height: 4.5px;
    animation-duration: 13s;
    animation-delay: 5s;
}

[data-theme="days-of-feast"] .ambient-snow:nth-child(4) {
    left: 70%;
    width: 8px;
    height: 8px;
    animation-duration: 20s;
    animation-delay: 1.2s;
}

[data-theme="days-of-feast"] .ambient-snow:nth-child(5) {
    left: 90%;
    width: 6px;
    height: 6px;
    animation-duration: 16s;
    animation-delay: 7s;
}

[data-theme="days-of-feast"] .ambient-snow.density-extra {
    left: 38%;
    width: 6.5px;
    height: 6.5px;
    animation-duration: 22s;
    animation-delay: 9s;
}

html[data-theme="days-of-feast"] .ambient-bokeh-1 {
    top: 25%;
    left: 15%;
    width: 140px;
    height: 140px;
    animation-duration: 8s;
}

html[data-theme="days-of-feast"] .ambient-bokeh-2 {
    top: 60%;
    right: 12%;
    width: 180px;
    height: 180px;
    animation-duration: 11s;
    animation-delay: 2s;
}

html[data-theme="days-of-feast"] .ambient-mist-1 {
    top: 15%;
    left: 40%;
    width: 120px;
    height: 120px;
    animation-duration: 16s;
}

html[data-theme="days-of-feast"] .ambient-mist-2 {
    top: 55%;
    left: 20%;
    width: 160px;
    height: 160px;
    animation-duration: 22s;
    animation-delay: 4s;
}

@keyframes feastFallSnow {
    0% {
        transform: translate3d(0, -20px, 0) translateX(0);
        opacity: 0;
    }

    15% {
        opacity: 0.85;
    }

    50% {
        transform: translate3d(15px, 50vh, 0);
        opacity: 0.85;
    }

    85% {
        opacity: 0.85;
    }

    100% {
        transform: translate3d(-15px, 105vh, 0);
        opacity: 0;
    }
}

@keyframes feastBokehDrift {
    0% {
        transform: translateY(0) scale(0.9);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.08);
        opacity: 0.6;
    }

    100% {
        transform: translateY(10px) scale(0.95);
        opacity: 0.35;
    }
}

@keyframes feastMistDrift {
    0% {
        transform: translate3d(-20px, 0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate3d(20px, -15px, 0);
        opacity: 0.5;
    }

    100% {
        transform: translate3d(-20px, 0, 0);
        opacity: 0.2;
    }
}

/* ─── 11. REDUCED MOTION & A11Y FALLBACK ─── */
/* ─── 10. REDUCED MOTION & A11Y FALLBACK ─── */
@media (prefers-reduced-motion: reduce) {

    [data-theme="days-of-feast"] .ambient-snow,
    [data-theme="days-of-feast"] .ambient-snow-bokeh,
    [data-theme="days-of-feast"] .ambient-snow-mist {
        animation: none !important;
        display: none !important;
    }

    [data-theme="days-of-feast"] .card-mischief,
    [data-theme="days-of-feast"] .card-themed,
    [data-theme="days-of-feast"] .card-mischief .product-img-box img {
        transition: none !important;
        transform: none !important;
    }
}

/* ─── 12. MULTI-VIEWPORT TUNING (1440px, 1024px, 768px, 390px) ─── */
/* ─── 11. MULTI-VIEWPORT TUNING (1440px, 1024px, 768px, 390px) ─── */
@media (min-width: 1200px) {
    [data-theme="days-of-feast"] .hero-themed {
        padding: 3.5rem 3.5rem !important;
    }

    [data-theme="days-of-feast"] .hero-title {
        font-size: 2.75rem !important;
    }
}

@media (max-width: 1024px) {
    [data-theme="days-of-feast"] .hero-themed {
        padding: 2.5rem 2rem !important;
    }

    [data-theme="days-of-feast"] .hero-title {
        font-size: 2.2rem !important;
    }

    [data-theme="days-of-feast"] .hero-stat-card {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    [data-theme="days-of-feast"] .ambient-snow:nth-child(even) {
        display: none !important;
    }

    html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-themed .hero-overlay,
    html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay {
        background: linear-gradient(180deg, rgba(21, 32, 46, 0.94) 0%, rgba(31, 48, 68, 0.82) 48%, rgba(24, 37, 53, 0.45) 100%) !important;
    }

    /* Mobile Overlays (Vertical 180deg) */
    html[data-theme="days-of-feast"]:not([data-feast-mode="twilight"]) .hero-themed .hero-overlay,

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay,
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-themed .hero-overlay {
        background: linear-gradient(180deg, rgba(220, 231, 240, 0.92) 0%, rgba(232, 238, 245, 0.8) 50%, rgba(246, 233, 218, 0.35) 100%) !important;
        background: linear-gradient(180deg, rgba(235, 245, 255, 0.92) 0%, rgba(235, 245, 255, 0.75) 55%, rgba(235, 245, 255, 0.3) 100%) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay,
    html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed .hero-overlay {
        background: linear-gradient(180deg, rgba(22, 38, 66, 0.9) 0%, rgba(31, 54, 92, 0.72) 55%, rgba(31, 54, 92, 0.35) 100%) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed p.lead,
    html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .hero-themed p.lead,
    html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-themed p.lead {
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65) !important;
    }

    [data-theme="days-of-feast"] .hero-themed {
        padding: 1.75rem 1.25rem !important;
        border-radius: 18px !important;
    }

    [data-theme="days-of-feast"] .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }

    [data-theme="days-of-feast"] .hero-themed p.lead {
        font-size: 0.92rem !important;
    }

    [data-theme="days-of-feast"] .card-themed .card-body,
    [data-theme="days-of-feast"] .card-mischief .card-body {
        padding: 1.25rem 1rem !important;
    }

    [data-theme="days-of-feast"] .xiexie-chat-trigger {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        left: 12px !important;
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 14px 0 10px !important;
        font-size: 0.82rem !important;
        z-index: 1048 !important;
        transition: bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    html[data-theme="days-of-feast"] body.xiexie-has-floating-minicart .xiexie-chat-trigger {
        bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    }

    [data-theme="days-of-feast"] .mascot-container,
    [data-theme="days-of-feast"] .btn-restore-mascot {
        bottom: calc(128px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        left: auto !important;
        z-index: 1048 !important;
    }
}

/* ─── GAMES FLYOUT MENU THEME SÁNG (HÌNH 1 FIX - CHỮ ĐEN NÉT RÕ, KHÔNG TÀNG HÌNH) ─── */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-menu,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-menu,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-menu,
[data-theme-mode="light"] .games-flyout-menu {
    background: #ffffff !important;
    border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 20px rgba(56, 189, 248, 0.15) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-title,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-title,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-title,
[data-theme-mode="light"] .games-flyout-title,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-menu .text-white,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-menu .text-white,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-menu .text-white {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-desc,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-desc,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-desc,
[data-theme-mode="light"] .games-flyout-desc,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-menu .text-white-50,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-menu .text-white-50,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-menu .text-white-50 {
    color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item:hover,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-item:hover,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-item:hover,
[data-theme-mode="light"] .games-flyout-item:hover {
    background: rgba(14, 165, 233, 0.1) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-all-link,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-all-link,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-all-link,
[data-theme-mode="light"] .games-flyout-all-link {
    color: #0284c7 !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-divider,
html[data-theme="days-of-feast"].feast-dawn .games-flyout-divider,
html[data-theme="days-of-feast"] body.theme-mode-light .games-flyout-divider,
[data-theme-mode="light"] .games-flyout-divider {
    border-color: rgba(203, 213, 225, 0.8) !important;
}

/* ─── HOVER THẺ SẢN PHẨM & THUMBNAIL ÁNH XANH CYAN (HÌNH 2 FIX - TRIỆT TIÊU ÁNH CAM) ─── */
html[data-theme="days-of-feast"] .card-mischief:hover,
html[data-theme="days-of-feast"] .card-themed:hover,
html[data-theme="days-of-feast"] .product-card-modern:hover,
[data-theme="days-of-feast"] .card-mischief:hover,
[data-theme="days-of-feast"] .card-themed:hover,
html[data-theme="days-of-feast"] .card-mischief:hover,
html[data-theme="days-of-feast"].feast-dawn .card-mischief:hover,
html[data-theme="days-of-feast"].feast-twilight .card-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-mischief:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 0 0 24px rgba(56, 189, 248, 0.5) !important;
}

html[data-theme="days-of-feast"] .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"] .card-themed:hover .product-img-box img,
html[data-theme="days-of-feast"] .product-card-modern:hover .product-card-img-wrap img,
[data-theme="days-of-feast"] .card-mischief:hover .product-img-box img,
[data-theme="days-of-feast"] .card-themed:hover .product-img-box img,
html[data-theme="days-of-feast"] .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"].feast-dawn .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"].feast-twilight .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-mischief:hover .product-img-box img,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-mischief:hover .product-img-box img {
    filter: drop-shadow(0 10px 24px rgba(56, 189, 248, 0.85)) !important;
}


@media (max-width: 390px) {
    [data-theme="days-of-feast"] .hero-themed {
        padding: 1.25rem 1rem !important;
    }

    [data-theme="days-of-feast"] .hero-title {
        font-size: 1.5rem !important;
    }

    [data-theme="days-of-feast"] .btn-feast-primary,
    [data-theme="days-of-feast"] .btn-theme-primary {
        padding: 0.55rem 1.15rem !important;
        font-size: 0.88rem !important;
    }
}

/* ===================================================================   13. UNIVERSAL DUAL-MODE CRYSTAL WINTER ARCHITECTURE LAYER (DAWN & TWILIGHT)
   Applies cleanly regardless of DB ThemePreset.PresetKey (winter-2026,
   days-of-feast, etc.) whenever data-feast-mode is active.
   Guarantees:
     - Zero Halloween (#ff7700 / #9d4edd / #160e26) remnants
     - WCAG AA/AAA text contrast in BOTH Light (Dawn) and Dark (Twilight)
     - Single-line Desktop navbar (no right-edge clipping) & Mobile 375px header
   ========================================================================== */

/* --- 13.1 GLOBAL CANVAS & TYPOGRAPHY BASE --- */
html[data-theme="days-of-feast"][data-feast-mode],
html[data-theme="days-of-feast"][data-feast-mode] body {
    background: var(--bg-page) !important;
    background-color: var(--bg-page-solid) !important;
    background-attachment: scroll !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, background-color 0.3s ease, color 0.25s ease;
}

html[data-theme="days-of-feast"] .xiexie-bg-canvas {
    transform: translate3d(0, 0, 0);
    contain: strict;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-bg-canvas {
    background: var(--feast-canvas-bg, linear-gradient(180deg, #E8F3FE 0%, #DCEBFA 52%, #EDF6FF 100%)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-bg-canvas {
    background: var(--feast-canvas-bg, linear-gradient(180deg, #0C1626 0%, #122138 50%, #0E1A2D 100%)) !important;
}

/* --- 13.2 NAVBAR (SINGLE-LINE DESKTOP + CLEAN MOBILE + DUAL-MODE CONTRAST) --- */
html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) {
    background: var(--feast-navbar-bg, var(--theme-navbar-bg)) !important;
    border-bottom: 1.5px solid var(--feast-navbar-border, var(--theme-navbar-border)) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.14) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) {
    background: var(--feast-navbar-bg, rgba(244, 249, 255, 0.96)) !important;
    border-bottom: 1.5px solid var(--feast-navbar-border, rgba(123, 184, 245, 0.55)) !important;
    box-shadow: 0 4px 18px rgba(27, 59, 92, 0.08) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) {
    background: var(--feast-navbar-bg, rgba(12, 22, 38, 0.95)) !important;
    border-bottom: 1.5px solid var(--feast-navbar-border, rgba(145, 204, 255, 0.32)) !important;
    box-shadow: 0 6px 24px rgba(4, 9, 18, 0.55) !important;
}

/* Navbar Brand Text & Sky Store Badge (Scoped strictly to Days of Feast) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-brand .navbar-brand-text,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-brand-themed, .navbar-brand-mischief) .navbar-brand-text {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    filter: none !important;
    font-weight: 800 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .navbar-brand .navbar-brand-text,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-brand-themed, .navbar-brand-mischief) .navbar-brand-text {
    color: #F7FBFF !important;
    -webkit-text-fill-color: #F7FBFF !important;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.75) !important;
    filter: none !important;
    font-weight: 800 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .brand-sky-badge {
    background: #E1F0FF !important;
    color: #1B3B5C !important;
    border: 1px solid #93C5FD !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .brand-sky-badge {
    background: rgba(56, 189, 248, 0.18) !important;
    color: #E0F2FE !important;
    border: 1px solid rgba(125, 211, 252, 0.45) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25) !important;
    text-shadow: none !important;
}

/* Navbar Links (Single-line compact fit at 1280px-1440px) */
html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) :is(.nav-link-themed, .nav-link-mischief) {
    white-space: nowrap !important;
    padding: 0.42rem 0.65rem !important;
    font-size: 0.87rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) :is(.nav-link-themed, .nav-link-mischief, .nav-btn-login) {
    color: var(--text-primary, #1B3B5C) !important;
    -webkit-text-fill-color: var(--text-primary, #1B3B5C) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-mischief .nav-link-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-mischief .nav-link-mischief.active {
    background: #E1F0FF !important;
    color: #0369A1 !important;
    border-color: #93C5FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) :is(.nav-link-themed, .nav-link-mischief) {
    color: #DCEEFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .navbar-mischief .nav-link-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .navbar-mischief .nav-link-mischief.active {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #7DD3FC !important;
    border-color: rgba(125, 211, 252, 0.4) !important;
}

/* Desktop Right Actions Group: Prevent clipping & 2-line wrapping */
@media (min-width: 992px) {
    html[data-theme="days-of-feast"][data-feast-mode] .navbar-actions-group {
        flex-shrink: 0 !important;
        gap: 0.45rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) .nav-auth-buttons {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
        flex-wrap: nowrap !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .feast-theme-toggle,
    html[data-theme="days-of-feast"][data-feast-mode] #navCartBtn,
    html[data-theme="days-of-feast"][data-feast-mode] .nav-btn-auth {
        white-space: nowrap !important;
        padding: 0.42rem 0.78rem !important;
        font-size: 0.83rem !important;
        line-height: 1.2 !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.35rem !important;
        border-radius: 9999px !important;
    }
}

@media (min-width: 992px) and (max-width: 1380px) {
    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief)>.container-fluid {
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] #navbarMainCollapse {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) .navbar-nav {
        min-width: 0 !important;
        flex-shrink: 1 !important;
        margin-left: 0.5rem !important;
        gap: 2px !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) :is(.nav-link-themed, .nav-link-mischief) {
        padding: 0.34rem 0.42rem !important;
        font-size: 0.78rem !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-actions-group {
        flex-shrink: 0 !important;
        gap: 0.3rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-themed, .navbar-mischief) .nav-auth-buttons {
        gap: 0.3rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief .navbar-brand-mischief {
        margin-right: 0.35rem !important;
        font-size: 0.96rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief #navbarLogoImg {
        height: 30px !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief .brand-sky-badge {
        font-size: 0.62rem !important;
        padding: 0.2rem 0.45rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief .nav-link-mischief {
        padding: 0.34rem 0.40rem !important;
        font-size: 0.78rem !important;
        gap: 0.25rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief .nav-link-mischief svg {
        width: 13px !important;
        height: 13px !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-actions-group {
        gap: 0.32rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-mischief .nav-auth-buttons {
        gap: 0.32rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .feast-theme-toggle,
    html[data-theme="days-of-feast"][data-feast-mode] #navCartBtn,
    html[data-theme="days-of-feast"][data-feast-mode] .nav-btn-auth,
    html[data-theme="days-of-feast"][data-feast-mode] .user-nav-dropdown-toggle {
        padding: 0.34rem 0.55rem !important;
        font-size: 0.78rem !important;
        height: 34px !important;
    }
}

/* Theme Toggle Button (Desktop & Mobile) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-theme-toggle,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-theme-toggle-mobile {
    background: #FFFFFF !important;
    border: 1.5px solid #7BB8F5 !important;
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
    box-shadow: 0 2px 8px rgba(27, 59, 92, 0.08) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-theme-toggle svg,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-theme-toggle-mobile svg {
    stroke: #0284C7 !important;
    color: #0284C7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-theme-toggle,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-theme-toggle-mobile {
    background: rgba(30, 58, 98, 0.85) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.45) !important;
    color: #F7FBFF !important;
    -webkit-text-fill-color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-theme-toggle svg,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-theme-toggle-mobile svg {
    stroke: #7DD3FC !important;
    color: #7DD3FC !important;
}

/* Cart Button (Desktop & Mobile) — Dynamic Dual-Mode Token (ZERO Halloween Orange) */
html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed, .btn-cart-mischief),
html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed-mobile, .btn-cart-mischief-mobile) {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1.5px solid var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 3px 12px rgba(2, 132, 199, 0.32)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed, .btn-cart-mischief) svg,
html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed-mobile, .btn-cart-mischief-mobile) svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .btn-cart-mischief:hover,
html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed-mobile, :is(.btn-cart-themed, .btn-cart-mischief)-mobile):hover {
    background: var(--btn-primary-hover-bg, linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%)) !important;
    border-color: var(--border-card-hover, #93C5FD) !important;
    color: #FFFFFF !important;
}

/* Mobile Toggler Button */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-toggler-themed, .navbar-toggler-mischief) {
    background: #FFFFFF !important;
    border: 1.5px solid #7BB8F5 !important;
    color: #1B3B5C !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-toggler-themed, .navbar-toggler-mischief) {
    background: rgba(30, 58, 98, 0.85) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.45) !important;
    color: #F7FBFF !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
}

/* Auth Buttons (Fix conflicting Dawn white-on-white icon bug!) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1.5px solid var(--btn-primary-border, #38BDF8) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 3px 12px rgba(2, 132, 199, 0.3)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-register svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login {
    background: #FFFFFF !important;
    border: 1.5px solid var(--border-card, #7BB8F5) !important;
    color: var(--text-primary, #1B3B5C) !important;
    box-shadow: 0 2px 8px rgba(27, 59, 92, 0.08) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-btn-login svg {
    stroke: var(--text-primary, #1B3B5C) !important;
    color: var(--text-primary, #1B3B5C) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1.5px solid var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 3px 14px rgba(56, 189, 248, 0.35)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-register svg {
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-login {
    background: rgba(30, 58, 98, 0.8) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.45) !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-btn-login svg {
    stroke: #F7FBFF !important;
    color: #F7FBFF !important;
}

/* Mobile 375px Navbar Single-Row Guarantee (Scoped to Days of Feast) */
@media (max-width: 575.98px) {
    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-brand-themed, .navbar-brand-mischief) img {
        height: 30px !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .navbar-brand-mischief .fs-5 {
        font-size: 1.02rem !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .brand-sky-badge {
        font-size: 0.62rem !important;
        padding: 0.22em 0.5em !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .feast-theme-toggle-mobile,
    html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-cart-themed-mobile, .btn-cart-mischief-mobile),
    html[data-theme="days-of-feast"][data-feast-mode] :is(.navbar-toggler-themed, .navbar-toggler-mischief) {
        width: 36px !important;
        height: 36px !important;
    }
}

/* --- 13.3 MOBILE BOTTOM NAV BAR (ZERO HALLOWEEN PURPLE/ORANGE) --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav {
    background: var(--feast-navbar-bg, rgba(244, 249, 255, 0.97)) !important;
    border-top: 1.5px solid var(--feast-navbar-border, rgba(123, 184, 245, 0.55)) !important;
    box-shadow: 0 -4px 20px rgba(27, 59, 92, 0.1) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-item,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-link {
    color: #335577 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-item.active,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-item:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-link.active,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-link:hover {
    color: #0369A1 !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mobile-bottom-nav .mobile-nav-link.active .mobile-nav-svg {
    filter: drop-shadow(0 0 6px rgba(var(--c-accent-rgb, 2, 132, 199), 0.45)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav {
    background: var(--feast-navbar-bg, rgba(12, 22, 38, 0.96)) !important;
    border-top: 1.5px solid var(--feast-navbar-border, rgba(145, 204, 255, 0.3)) !important;
    box-shadow: 0 -6px 24px rgba(4, 9, 18, 0.65) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-item,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-link {
    color: #94B8DC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-item.active,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-item:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-link.active,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-link:hover {
    color: var(--c-primary, #38BDF8) !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mobile-bottom-nav .mobile-nav-link.active .mobile-nav-svg {
    filter: drop-shadow(0 0 8px rgba(var(--c-primary-rgb, 56, 189, 248), 0.65)) !important;
}

/* --- 13.4 FOOTER DUAL-MODE HIGH CONTRAST --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) {
    background: var(--feast-footer-bg, rgba(235, 245, 255, 0.96)) !important;
    border-top: 1.5px solid var(--feast-footer-border, rgba(123, 184, 245, 0.55)) !important;
    color: var(--text-secondary, #335577) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) .footer-brand-name {
    color: var(--text-primary, #0F2942) !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .footer-mischief .footer-tagline,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) .footer-privacy-link {
    color: var(--text-secondary, #335577) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) .footer-action-link {
    color: #0369A1 !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) .footer-privacy-link:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.footer-themed, .footer-mischief) .footer-action-link:hover {
    color: #075985 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .footer-mischief {
    background: var(--feast-footer-bg, rgba(10, 18, 30, 0.96)) !important;
    border-top: 1.5px solid var(--feast-footer-border, rgba(145, 204, 255, 0.25)) !important;
    color: var(--text-secondary, #B8D4F0) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.footer-themed, .footer-mischief) .footer-brand-name {
    color: var(--text-primary, #F7FBFF) !important;
    text-shadow: 0 0 10px rgba(var(--c-primary-rgb, 56, 189, 248), 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .footer-mischief .footer-tagline,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.footer-themed, .footer-mischief) .footer-privacy-link {
    color: var(--text-secondary, #C5E0FC) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.footer-themed, .footer-mischief) .footer-action-link {
    color: var(--c-primary, #7DD3FC) !important;
    font-weight: 700 !important;
}

/* --- 13.5 UNIVERSAL DUAL-MODE BUTTONS & PILLS (ZERO HALLOWEEN ORANGE/PURPLE) --- */
html[data-theme="days-of-feast"][data-feast-mode] .btn-theme-primary,
html[data-theme="days-of-feast"][data-feast-mode] .btn-mischief-primary,
html[data-theme="days-of-feast"][data-feast-mode] .btn-feast-primary,
html[data-theme="days-of-feast"][data-feast-mode] .btn-glass-purchase {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1.5px solid var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 4px 16px rgba(2, 132, 199, 0.35)) !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .btn-theme-primary:hover,
html[data-theme="days-of-feast"][data-feast-mode] .btn-mischief-primary:hover,
html[data-theme="days-of-feast"][data-feast-mode] .btn-feast-primary:hover,
html[data-theme="days-of-feast"][data-feast-mode] .btn-glass-purchase:hover {
    background: var(--btn-primary-hover-bg, linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%)) !important;
    border-color: var(--border-card-hover, #93C5FD) !important;
    color: #FFFFFF !important;
    transform: translate3d(0, -1px, 0) !important;
    box-shadow: 0 6px 22px rgba(var(--c-accent-rgb, 2, 132, 199), 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-theme-outline, .btn-mischief-outline),
html[data-theme="days-of-feast"][data-feast-mode] .btn-feast-outline {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode] :is(.btn-theme-outline, .btn-mischief-outline):hover,
html[data-theme="days-of-feast"][data-feast-mode] .btn-feast-outline:hover {
    background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%) !important;
    border-color: #60A5FA !important;
    color: #FFFFFF !important;
}

/* Category & Sub-category Filter Pills (Products page — Zero Halloween purple/orange) */
html[data-theme="days-of-feast"][data-feast-mode] .category-filter-btn,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-event-btn,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-btn {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .category-filter-btn:hover,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-event-btn:hover,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-btn:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-card-hover) !important;
    color: var(--text-primary) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .category-filter-btn.active,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-event-btn.active,
html[data-theme="days-of-feast"][data-feast-mode] .sub-category-btn.active {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border-color: var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 4px 14px rgba(2, 132, 199, 0.35)) !important;
}

/* --- 13.6 UNIVERSAL CARDS & BADGES (FIXES .card-feast & .feast-interactive-card) --- */
html[data-theme="days-of-feast"][data-feast-mode] .card-mischief,
html[data-theme="days-of-feast"][data-feast-mode] .card-themed,
html[data-theme="days-of-feast"][data-feast-mode] .card-feast,
html[data-theme="days-of-feast"][data-feast-mode] .feast-card,
html[data-theme="days-of-feast"][data-feast-mode] .feast-interactive-card,
html[data-theme="days-of-feast"][data-feast-mode] .card-preorder-cinnamoroll,
html[data-theme="days-of-feast"][data-feast-mode] .product-card-modern,
html[data-theme="days-of-feast"][data-feast-mode] .account-card-modern {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-card) !important;
    border-radius: var(--theme-card-radius, 20px) !important;
    box-shadow: var(--card-shadow) !important;
    color: var(--text-primary) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-event-pill,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-card-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .badge-feast-festive,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-feast .position-absolute .badge:not(.bg-danger),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.card-themed, .card-mischief) .position-absolute .badge:not(.bg-danger) {
    background: #E0F2FE !important;
    border: 1px solid #7DD3FC !important;
    color: #0369A1 !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-event-pill,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .feast-card-badge,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .badge-feast-festive,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-feast .position-absolute .badge:not(.bg-danger),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.card-themed, .card-mischief) .position-absolute .badge:not(.bg-danger) {
    background: rgba(56, 189, 248, 0.2) !important;
    border: 1px solid rgba(125, 211, 252, 0.5) !important;
    color: #E0F2FE !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .feast-card-heading,
html[data-theme="days-of-feast"][data-feast-mode] .feast-card-title {
    color: var(--text-primary) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .feast-card-subheading,
html[data-theme="days-of-feast"][data-feast-mode] .feast-card-body-text {
    color: var(--text-secondary) !important;
}

/* Price Boxes inside Product Cards (Scoped to Days of Feast only — prevents Winter ice-blue leak into seasonal themes) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.card-themed, .card-mischief) .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-feast .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card-modern .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .price-box-feast,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-price-box,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .price-summary-box {
    background: #F0F7FF !important;
    border: 1.5px solid #BAE6FD !important;
    color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .product-price-label,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-price-box .product-price-label,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .voucher-benefit-label {
    color: #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .badge[style*="34, 197, 94"] {
    background: #DCFCE7 !important;
    color: #166534 !important;
    border-color: #86EFAC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .badge[style*="239, 68, 68"] {
    background: #FEE2E2 !important;
    color: #991B1B !important;
    border-color: #FCA5A5 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .badge[style*="148, 163, 184"] {
    background: #E2E8F0 !important;
    color: #334155 !important;
    border-color: #CBD5E1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.card-themed, .card-mischief) .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-feast .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .product-card-modern .p-3.rounded-3,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .price-box-feast,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .product-price-box,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-price-box,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .price-summary-box {
    background: rgba(15, 10, 28, 0.72) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.3) !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .product-price-box .product-price-label,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-price-box .product-price-label {
    color: #CBD5E1 !important;
}

/* ─── 13. CLONE ACCOUNTS HIGH-CONTRAST PALETTE (DAWN & TWILIGHT) ─── */
/* Dawn (Light) Mode */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-clone-account,
html[data-theme="feast-dawn"] .card-clone-account {
    background: #FFFFFF !important;
    border: 1.5px solid #C5DCF5 !important;
    box-shadow: 0 8px 24px rgba(27, 59, 92, 0.08) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-clone-account .card-header-clone,
html[data-theme="feast-dawn"] .card-clone-account .card-header-clone {
    background: #F0F6FC !important;
    border-bottom: 1px solid #D2E4F7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-uid-badge,
html[data-theme="feast-dawn"] .clone-uid-badge {
    background: #E4F0FB !important;
    color: #133353 !important;
    border: 1px solid #A8D1FF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-card-price,
html[data-theme="feast-dawn"] .clone-card-price {
    color: #B45309 !important;
    /* Accessible Warm Amber Gold WCAG AAA */
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-box,
html[data-theme="feast-dawn"] .clone-stat-box {
    background: #F4F8FD !important;
    border: 1px solid #D2E4F7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-box:hover,
html[data-theme="feast-dawn"] .clone-stat-box:hover {
    background: #EBF3FC !important;
    border-color: #B8DCFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-label,
html[data-theme="feast-dawn"] .clone-stat-label {
    color: #2D4D73 !important;
    /* Deep slate navy for maximum legibility */
    font-weight: 600 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-candles,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-val:not(.text-danger):not(.text-warning):not(.text-success):not(.text-info),
html[data-theme="feast-dawn"] .clone-stat-candles,
html[data-theme="feast-dawn"] .clone-stat-val:not(.text-danger):not(.text-warning):not(.text-success):not(.text-info) {
    color: #1B3B5C !important;
    font-weight: 800 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-items-preview-label,
html[data-theme="feast-dawn"] .clone-items-preview-label {
    color: #2D4D73 !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-item-icon-box,
html[data-theme="feast-dawn"] .clone-item-icon-box {
    background: #F0F6FC !important;
    border: 1px solid #D2E4F7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-view-inventory,
html[data-theme="feast-dawn"] .btn-view-inventory {
    background: #EBF4FC !important;
    border: 1.5px solid #7BB8F5 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-view-inventory:hover,
html[data-theme="feast-dawn"] .btn-view-inventory:hover {
    background: #D9ECFC !important;
    color: #0E2945 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-filter-label,
html[data-theme="feast-dawn"] .clone-filter-label {
    color: #1B3B5C !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-filter-input,
html[data-theme="feast-dawn"] .clone-filter-input {
    background-color: #FFFFFF !important;
    color: #1B3B5C !important;
    border: 1.5px solid #A8D1FF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-filter-input::placeholder,
html[data-theme="feast-dawn"] .clone-filter-input::placeholder {
    color: #7B9AB8 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-filter-input-icon,
html[data-theme="feast-dawn"] .clone-filter-input-icon {
    background-color: #EBF4FC !important;
    color: #1B3B5C !important;
    border: 1.5px solid #A8D1FF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-filter-btn-reset,
html[data-theme="feast-dawn"] .clone-filter-btn-reset {
    background-color: #EBF4FC !important;
    border: 1.5px solid #A8D1FF !important;
    color: #1B3B5C !important;
}

/* Modals in Dawn Mode */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-clone-content,
html[data-theme="feast-dawn"] .modal-clone-content {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
    border: 1.5px solid #A8D1FF !important;
    box-shadow: 0 20px 48px rgba(27, 59, 92, 0.18) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-clone-header,
html[data-theme="feast-dawn"] .modal-clone-header {
    background: #F0F6FC !important;
    border-bottom: 1px solid #D2E4F7 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-clone-header .modal-title,
html[data-theme="feast-dawn"] .modal-clone-header .modal-title {
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-clone-footer,
html[data-theme="feast-dawn"] .modal-clone-footer {
    background: #F0F6FC !important;
    border-top: 1px solid #D2E4F7 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-clone-subcard,
html[data-theme="feast-dawn"] .modal-clone-subcard {
    background: #F4F8FD !important;
    border: 1.5px solid #D2E4F7 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-checkout-card,
html[data-theme="feast-dawn"] .clone-checkout-card {
    background: #F8FAFD !important;
    border: 1.5px solid #CDE2FA !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-bank-panel,
html[data-theme="feast-dawn"] .clone-bank-panel {
    background: #F0F6FC !important;
    border: 1.5px solid #A8D1FF !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-bank-panel strong,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-bank-panel span,
html[data-theme="feast-dawn"] .clone-bank-panel strong,
html[data-theme="feast-dawn"] .clone-bank-panel span {
    color: #1B3B5C;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-bank-panel .text-warning,
html[data-theme="feast-dawn"] .clone-bank-panel .text-warning {
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-bank-panel .text-danger,
html[data-theme="feast-dawn"] .clone-bank-panel .text-danger {
    color: #DC2626 !important;
}

/* Twilight Mode Overrides */
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .btn-view-inventory,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-view-inventory {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.35) !important;
    color: #F7FBFF !important;
}

/* --- 13.7 DROPDOWNS & ACCOUNT SIDEBAR (Scoped to Days of Feast) --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-themed .navbar-brand .badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-themed .brand-store-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .navbar-themed .navbar-brand .brand-sky-badge {
    background: #E2E8F0 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    border-color: rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-menu,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-menu,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.list-group-themed, .list-group-mischief) {
    background: #EEF2F7 !important;
    border: 1.5px solid #94A3B8 !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22) !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .user-dropdown-menu,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .games-flyout-menu,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.list-group-themed, .list-group-mischief) {
    background: rgba(12, 22, 38, 0.98) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.35) !important;
    box-shadow: 0 20px 48px rgba(4, 9, 18, 0.75) !important;
    color: #F8FAFC !important;
    -webkit-text-fill-color: #F8FAFC !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .user-dropdown-header-item,
html[data-theme="days-of-feast"][data-feast-mode] .user-dropdown-header-item *,
html[data-theme="days-of-feast"][data-feast-mode] :is(.list-group-themed, .list-group-mischief) .list-group-item.active {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-header-item {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%) !important;
    border-bottom: 1.5px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .user-dropdown-header-item,
html[data-theme="days-of-feast"][data-feast-mode] :is(.list-group-themed, .list-group-mischief) .list-group-item.active {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border-color: transparent !important;
    box-shadow: var(--btn-primary-shadow, 0 4px 14px rgba(2, 132, 199, 0.35)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .user-dropdown-header-item .user-dropdown-subtext {
    color: #CBD5E1 !important;
    -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    margin: 4px 8px !important;
    border-radius: 10px !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item *,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.list-group-themed, .list-group-mischief) .list-group-item:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item * {
    background-color: transparent !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    border-bottom-color: rgba(148, 163, 184, 0.35) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item .user-item-icon-wrap {
    background: #F1F5F9 !important;
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-subhead {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-title {
    background: #1E293B !important;
    border-bottom: 1.5px solid #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-title span {
    color: #F8FAFC !important;
    -webkit-text-fill-color: #F8FAFC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-title .badge {
    background: #FBBF24 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-chip-tag,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-role-badge {
    background: #FEF3C7 !important;
    border: 1px solid #F59E0B !important;
    color: #78350F !important;
    -webkit-text-fill-color: #78350F !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item-logout {
    background: #FEE2E2 !important;
    border-top: 1.5px solid #FCA5A5 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item-logout,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item-logout * {
    color: #991B1B !important;
    -webkit-text-fill-color: #991B1B !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item .text-white {
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item .text-white-50 {
    color: #4A6F94 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-item:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.list-group-themed, .list-group-mischief) .list-group-item:hover:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .games-flyout-item:hover {
    background: #E8F3FE !important;
    color: #0369A1 !important;
    box-shadow: inset 3px 0 0 #0284C7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .user-dropdown-item,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.list-group-themed, .list-group-mischief) .list-group-item:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .games-flyout-item {
    background: transparent !important;
    color: #E2EEFC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .user-dropdown-item:hover,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.list-group-themed, .list-group-mischief) .list-group-item:hover:not(.active),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .games-flyout-item:hover {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #7DD3FC !important;
    box-shadow: inset 3px 0 0 #38BDF8 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-wallet-card {
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-amount,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-amount * {
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-label,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-hint,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-coins-label {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-coins-val {
    color: #B45309 !important;
    -webkit-text-fill-color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-coins-icon {
    stroke: #D97706 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-tag {
    background: #E0F2FE !important;
    border-color: #7DD3FC !important;
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-view-reward {
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-wallet-divider {
    border-color: #E2E8F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-game-card {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-game-card:hover {
    background: #E0F2FE !important;
    border-color: #0284C7 !important;
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-game-name {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-game-desc {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .user-dropdown-wallet-card {
    background: rgba(18, 33, 56, 0.92) !important;
    border: 1px solid rgba(145, 204, 255, 0.3) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-panel {
    background: #E2E8F0 !important;
    border: 1.5px solid #94A3B8 !important;
    box-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-canva-btn {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    border: 1.5px solid #D97706 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-canva-title,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-canva-title span {
    color: #451A03 !important;
    -webkit-text-fill-color: #451A03 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-canva-icon {
    stroke: #92400E !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-canva-badge {
    background: #78350F !important;
    border-color: #78350F !important;
    color: #FEF3C7 !important;
    -webkit-text-fill-color: #FEF3C7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-grid-item,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-grid-item * {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-grid-item:hover,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-admin-grid-item:hover * {
    background: #E0F2FE !important;
    border-color: #38BDF8 !important;
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-item,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-item * {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-dropdown-admin-item:hover {
    background: #E0F2FE !important;
    color: #0369A1 !important;
}

/* --- 13.8 MINIGAME SWITCHER TABS (FIX SPECIFICITY COLLISION) --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .minigame-tab-btn:not(.active) {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #1B3B5C !important;
    border: 1.5px solid #93C5FD !important;
    box-shadow: 0 4px 14px rgba(27, 59, 92, 0.1) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .minigame-tab-btn:not(.active) {
    background: rgba(18, 33, 56, 0.9) !important;
    color: #F7FBFF !important;
    border: 1.5px solid rgba(145, 204, 255, 0.4) !important;
}

/* --- 13.9 GLOBAL DUAL-MODE CONTRAST GUARD (ZERO DROWNED TEXT) --- */
/* DAWN (LIGHT) MODE: Prevent white/pale text from drowning on light page/cards while preserving explicit dark panels */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.hero-dark-keep):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.product-img-box *):not(.bg-danger *):not(.bg-primary *):not(.bg-success *):not(.bg-dark *):not(.bg-info *):not(.account-card-dark-header *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-light:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.product-img-box *):not(.bg-dark *):not(.account-card-dark-header *) {
    color: #1B3B5C !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-white-50:not(.btn *):not(.badge *):not(.bg-dark *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-secondary:not(.btn *):not(.badge *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-muted:not(.btn *):not(.badge *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *) {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-warning:not(.btn):not(.badge):not(.bg-dark *):not(.account-card-dark-header *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-info:not(.btn):not(.badge):not(.bg-dark *):not(.account-card-dark-header *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .text-success:not(.btn):not(.badge):not(.bg-dark *):not(.account-card-dark-header *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: #047857 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .btn-outline-light {
    background: #FFFFFF !important;
    border-color: #7BB8F5 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .btn-outline-light:hover {
    background: #E8F3FE !important;
    border-color: #0284C7 !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .btn-outline-warning {
    border-color: #D97706 !important;
    color: #B45309 !important;
    background: rgba(254, 243, 199, 0.55) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .btn-outline-warning:hover {
    background: #D97706 !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .btn-outline-secondary {
    border-color: #93C5FD !important;
    color: #1B3B5C !important;
    background: #FFFFFF !important;
}

/* DAWN FORM INPUTS & SELECTS */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .form-control:not([type="color"]),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .form-select,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main :is(.manage-input-themed, .manage-input-mischief),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .tracking-input-field,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .form-control:not([type="color"]),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .form-select {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #1B3B5C !important;
    border: 1.5px solid #93C5FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .form-control::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main :is(.manage-input-themed, .manage-input-mischief)::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .tracking-input-field::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .form-control::placeholder {
    color: #64748B !important;
    opacity: 1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] main .input-group-text,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .input-group-text {
    background-color: #F0F7FF !important;
    color: #1B3B5C !important;
    border: 1.5px solid #93C5FD !important;
}

/* TWILIGHT (DARK) MODE: Prevent dark-grey .text-secondary from drowning on dark sapphire cards */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .text-secondary:not(.btn):not(.badge),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .text-muted:not(.btn):not(.badge),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .modal-content .text-secondary:not(.btn):not(.badge),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .modal-content .text-muted:not(.btn):not(.badge) {
    color: #B8D4F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .badge.text-secondary {
    color: #E0F2FE !important;
    background: rgba(56, 189, 248, 0.16) !important;
    border-color: rgba(145, 204, 255, 0.35) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .form-control:not([type="color"]),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .form-select,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main :is(.manage-input-themed, .manage-input-mischief),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .tracking-input-field,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .modal-content .form-control:not([type="color"]),
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .modal-content .form-select {
    background-color: #0F1C33 !important;
    background: #0F1C33 !important;
    color: #F7FBFF !important;
    border: 1.5px solid rgba(145, 204, 255, 0.38) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .form-control::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main :is(.manage-input-themed, .manage-input-mischief)::placeholder,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .tracking-input-field::placeholder {
    color: #8FB5DC !important;
    opacity: 1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] main .input-group-text,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .modal-content .input-group-text {
    background-color: #162642 !important;
    color: #C5E0FC !important;
    border: 1.5px solid rgba(145, 204, 255, 0.38) !important;
}

/* --- 13.10 MODALS DUAL-MODE (CART, TRACKING, INVENTORY) --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content {
    background: #FFFFFF !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
    box-shadow: 0 24px 60px rgba(27, 59, 92, 0.22) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .modal-header,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .modal-footer {
    background: #F0F7FF !important;
    border-color: #BAE6FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .modal-body {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *) {
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white-50:not(.btn *):not(.badge *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content .btn-close-white {
    filter: none !important;
}

/* --- 13.11 LIVE CHAT WIDGET DUAL-MODE WINTER OVERRIDE (Scoped to Days of Feast) --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid #7BB8F5 !important;
    color: #1B3B5C !important;
    box-shadow: 0 8px 24px rgba(27, 59, 92, 0.16) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger .xiexie-chat-trigger-text,
html[data-theme="days-of-feast"][data-theme="feast-dawn"] .xiexie-chat-trigger .xiexie-chat-trigger-text {
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger:hover {
    border-color: #0284C7 !important;
    color: #0369A1 !important;
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.28) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger:hover .xiexie-chat-trigger-text,
html[data-theme="days-of-feast"][data-theme="feast-dawn"] .xiexie-chat-trigger:hover .xiexie-chat-trigger-text {
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger .chat-trigger-avatar {
    border-color: #38BDF8 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-trigger .chat-trigger-status-beacon {
    border-color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-trigger {
    background: linear-gradient(135deg, rgba(22, 42, 74, 0.96) 0%, rgba(12, 22, 38, 0.98) 100%) !important;
    border: 1.5px solid rgba(125, 211, 252, 0.55) !important;
    color: #F7FBFF !important;
    box-shadow: 0 10px 28px rgba(4, 9, 18, 0.65), 0 0 18px rgba(56, 189, 248, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-trigger:hover {
    border-color: #7DD3FC !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-trigger .chat-trigger-avatar {
    border-color: #38BDF8 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-trigger .chat-trigger-status-beacon {
    border-color: #0C1626 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-box {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1.5px solid #93C5FD !important;
    box-shadow: 0 24px 60px rgba(27, 59, 92, 0.22) !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header {
    background-color: #0369A1 !important;
    background-image: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%) !important;
    border-bottom: 1px solid #93C5FD !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header .text-white,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header .xiexie-chat-title {
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-body,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-messages {
    background: #F4F9FF !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-footer,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-input-area {
    background: #FFFFFF !important;
    border-top: 1px solid #BAE6FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-footer input,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-footer textarea {
    background: #F8FBFF !important;
    color: #1B3B5C !important;
    border-color: #93C5FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-box {
    background: rgba(12, 22, 38, 0.98) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.4) !important;
    box-shadow: 0 24px 60px rgba(4, 9, 18, 0.8), 0 0 28px rgba(56, 189, 248, 0.18) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-header {
    background: linear-gradient(135deg, #163052 0%, #0C1A2E 100%) !important;
    border-bottom: 1px solid rgba(145, 204, 255, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .xiexie-chat-avatar {
    background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%) !important;
    border-color: rgba(186, 230, 253, 0.65) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] #chatAdminStatusBeacon {
    border-color: #0C1626 !important;
}

/* --- 13.12 HIGH-CONTRAST GREEN/CYAN/AMBER BUTTONS & BADGES --- */
html[data-theme="days-of-feast"][data-feast-mode] .btn-success,
html[data-theme="days-of-feast"][data-feast-mode] .bg-success {
    background-color: #047857 !important;
    border-color: #059669 !important;
    color: #FFFFFF !important;
}

/* --- 13.13 PAGE-SPECIFIC DUAL-MODE LOCKS (PRODUCTS, CLONE ACCOUNTS, LUCKY WHEEL, MINES) --- */
/* Products: Bank/Card Prices in Dawn Mode */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card-price-bank {
    color: #047857 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card-price-card {
    color: #0369A1 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box .badge {
    background: #E0F2FE !important;
    color: #0369A1 !important;
    border: 1px solid #7DD3FC !important;
}

/* CloneAccounts: Dual-Mode Card Headers, Stat Boxes & Buttons (Zero Halloween) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-clone-account {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone {
    background: linear-gradient(135deg, #EEF6FF 0%, #E0F0FF 100%) !important;
    border-bottom: 1.5px solid #BAE6FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .badge[style*="rgba(56, 189, 248"] {
    background: #E0F2FE !important;
    color: #0369A1 !important;
    border-color: #7DD3FC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .badge[style*="rgba(245, 158, 11"] {
    background: #FEF3C7 !important;
    color: #B45309 !important;
    border-color: #FCD34D !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .badge[style*="rgba(239, 68, 68"] {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
    border-color: #FCA5A5 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .badge[style*="rgba(168, 85, 247"] {
    background: #F3E8FF !important;
    color: #6B21A8 !important;
    border-color: #D8B4FE !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .font-monospace {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
    border: 1px solid #93C5FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-header-clone .fs-5 {
    color: #B45309 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-box {
    background: #F4F9FF !important;
    border: 1px solid #DBEAFE !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-label {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-val.text-danger {
    color: #BE123C !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-val.text-warning {
    color: #B45309 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-stat-val.text-success {
    color: #047857 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .card-header-clone {
    background: rgba(14, 28, 52, 0.92) !important;
    border-bottom: 1px solid rgba(145, 204, 255, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .btn-clone-purchase {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1.5px solid var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 4px 14px rgba(2, 132, 199, 0.35)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .btn-clone-purchase:hover {
    background: var(--btn-primary-hover-bg, linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%)) !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-cart-square {
    background: #EFF6FF !important;
    border: 1.5px solid #93C5FD !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-cart-square:hover {
    background: #0284C7 !important;
    border-color: #0284C7 !important;
    color: #FFFFFF !important;
}

/* Lucky Wheel & Snowball Fight: Dual-Mode Crystal Contrast (Zero White-on-White / Zero Halloween) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .hero-header-block h1,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .snowball-title {
    color: #1B3B5C !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .lucky-subtitle,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .user-status-pill .text-slate-300 {
    color: #2D4A6E !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-card .text-white,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-item .text-white {
    color: #0F1C2B !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-card .text-slate-300,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-card .text-slate-400,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-item .text-slate-400 {
    color: #335478 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-item {
    background: #F4F9FF !important;
    border-color: #DBEAFE !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .glass-modal-card .btn-quiz-answer {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #0F1C2B !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .glass-modal-card .btn-quiz-answer:hover:not(:disabled) {
    background: #FEF3C7 !important;
    border-color: #F59E0B !important;
    color: #78350F !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .glass-modal-card .quiz-opt-letter {
    background: #E2E8F0 !important;
    color: #0F1C2B !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .glass-modal-card .btn-close-white {
    filter: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .glass-modal-card .history-item-row {
    background: #F4F9FF !important;
    border-color: #DBEAFE !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .text-gradient-gold {
    background: linear-gradient(135deg, #B45309 0%, #D97706 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .text-gradient-cyan {
    background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .event-pill-badge {
    background: #E0F2FE !important;
    border: 1.5px solid #7DD3FC !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .event-badge-text {
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .wheel-status-pill,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .snowball-status-pill {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .wheel-status-pill a,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .wheel-status-pill .btn,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .snowball-cost-badge {
    background: #E0F2FE !important;
    border: 1px solid #7DD3FC !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .glass-panel {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
    box-shadow: 0 12px 32px rgba(27, 59, 92, 0.12) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .feed-card .card-header {
    background: #EEF6FF !important;
    border-bottom: 1px solid #BAE6FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .btn-history-pill {
    background: #FFFFFF !important;
    border: 1.5px solid #7BB8F5 !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container .feed-card,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container .glass-panel {
    background: rgba(16, 32, 58, 0.92) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.35) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container .btn-history-pill {
    background: rgba(22, 42, 74, 0.9) !important;
    border: 1.5px solid rgba(145, 204, 255, 0.45) !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .feast-badge-classic {
    background: #0F2942 !important;
    color: #FEF08A !important;
    border: 1px solid rgba(254, 240, 138, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .feast-badge-hot {
    background: #B91C1C !important;
    color: #FFFFFF !important;
}

/* Mines (Ice Treasure 5x5): Full Sunlit Glacier Dawn Mode + Crisp Twilight Mode */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-wrapper {
    background: linear-gradient(180deg, #E8F4FF 0%, #DCEBFA 50%, #EFF7FF 100%) !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-header {
    border-bottom-color: rgba(123, 184, 245, 0.5) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-title-group .title-brand,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-title-group .title-sub {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1B3B5C !important;
    color: #1B3B5C !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mines-title-group .title-brand,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .mines-title-group .title-sub {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #F7FBFF !important;
    color: #F7FBFF !important;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-title-group p {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-panel-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-board-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
    box-shadow: 0 14px 36px rgba(27, 59, 92, 0.14) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-badge-pill {
    background: #FFFFFF !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-badge-pill.balance-pill {
    background: #FEF3C7 !important;
    border-color: #F59E0B !important;
    color: #92400E !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-btn-tool {
    background: #FFFFFF !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .mines-btn-tool:hover {
    background: #E0F2FE !important;
    border-color: #0284C7 !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .slider-val-badge {
    background: #F0F7FF !important;
    border: 1.5px solid #93C5FD !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .slider-val-badge {
    background: #0F1C33 !important;
    border: 1.5px solid rgba(145, 204, 255, 0.4) !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .endpoint-label,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .slider-label {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .endpoint-label {
    color: #B8D4F0 !important;
}

/* Final Polish: Home Neon Prices, Clone Price Token, Products Xu Label, LuckyWheel Prompt, LiveChat Twilight Footer */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] {
    --clone-card-price: #B45309;
    --price-neon-color: #0369A1;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] {
    --clone-card-price: #FBBF24;
    --price-neon-color: #7DD3FC;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .price-neon {
    color: #0369A1 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box [style*="#fbbf24"],
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-price-box [style*="251, 191, 36"] {
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .wheel-status-pill a,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .btn-login-spin-prompt {
    background: #FEF3C7 !important;
    border: 1.5px solid #F59E0B !important;
    color: #92400E !important;
    font-weight: 700 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-footer,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-input-area {
    background: #0C1626 !important;
    border-top: 1px solid rgba(145, 204, 255, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #passGroupChatInput,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-footer input,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-footer textarea {
    background: #0F1C33 !important;
    border-color: rgba(145, 204, 255, 0.35) !important;
    color: #F7FBFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header #passGroupChatSubtitle,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header #chatAdminStatusText,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-header #passGroupChatSubtitle,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-header #chatAdminStatusText {
    color: #E0F2FE !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-messages .text-white,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-body .text-white {
    color: #1B3B5C !important;
}

/* --- 13.14 AUDIT REMEDIATION POLISH (HERO OVERLAP, LIVECHAT, LUCKYWHEEL, PRODUCTS, DETAILS, MINES, NAVBAR) --- */
/* Hero Title: Zero overlap with right stat card on Desktop & sleek CTA on Mobile */
html[data-theme="days-of-feast"][data-feast-mode] .hero-feast .hero-title {
    font-size: clamp(1.65rem, 2.75vw, 2.45rem) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .hero-feast .hero-title {
    color: #1B3B5C !important;
    -webkit-text-fill-color: #1B3B5C !important;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .hero-feast .hero-title {
    color: #F7FBFF !important;
    -webkit-text-fill-color: #F7FBFF !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 0 18px rgba(56, 189, 248, 0.45) !important;
}

@media (max-width: 575.98px) {
    html[data-theme="days-of-feast"][data-feast-mode] .hero-feast .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.22 !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode] .hero-feast .btn-feast-primary {
        font-size: 0.92rem !important;
        padding: 0.6rem 1.25rem !important;
    }
}

/* LiveChat Full Dual-Mode (ZERO Halloween Orange/Purple buttons, borders, or dark-on-light bubbles) */
html[data-theme="days-of-feast"][data-feast-mode] .xiexie-chat-send-btn {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    border: 1px solid var(--btn-primary-border, #60A5FA) !important;
    color: #FFFFFF !important;
    box-shadow: var(--btn-primary-shadow, 0 2px 10px rgba(2, 132, 199, 0.35)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .xiexie-chat-send-btn:hover {
    background: var(--btn-primary-hover-bg, linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%)) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-attach-btn {
    background: #EFF6FF !important;
    border: 1.5px solid #93C5FD !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-attach-btn:hover {
    background: #0284C7 !important;
    border-color: #0284C7 !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-attach-btn {
    background: rgba(30, 58, 98, 0.7) !important;
    border: 1px solid rgba(145, 204, 255, 0.4) !important;
    color: #7DD3FC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-attach-btn:hover {
    background: rgba(56, 189, 248, 0.25) !important;
    border-color: #38BDF8 !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-input:focus {
    border-color: #0284C7 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xiexie-chat-input:focus {
    border-color: #38BDF8 !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .chat-bubble-agent {
    background: #FFFFFF !important;
    color: #1B3B5C !important;
    border: 1px solid #BAE6FD !important;
    box-shadow: 0 2px 10px rgba(27, 59, 92, 0.08) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .chat-bubble-agent .chat-admin-sender-name {
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .chat-bubble-agent .chat-admin-sender-role,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .chat-bubble-agent .chat-msg-time {
    color: #476482 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .chat-bubble-agent {
    background: #162B47 !important;
    color: #F7FBFF !important;
    border: 1px solid rgba(145, 204, 255, 0.28) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .chat-bubble-agent .chat-admin-sender-name {
    color: #7DD3FC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .chat-bubble-agent .chat-admin-sender-role,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .chat-bubble-agent .chat-msg-time {
    color: #94B8DC !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .chat-bubble-client {
    background: var(--btn-primary-bg, linear-gradient(135deg, #0284C7 0%, #2563EB 100%)) !important;
    color: #FFFFFF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .chat-bubble-system,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .typing-indicator {
    background: #E0F2FE !important;
    border-color: #7DD3FC !important;
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .chat-bubble-system,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .typing-indicator {
    background: rgba(22, 42, 74, 0.85) !important;
    border-color: rgba(125, 211, 252, 0.35) !important;
    color: #7DD3FC !important;
}

/* LuckyWheel Dawn Mode: High-Contrast Login-to-Spin Pill */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container a.btn-login-to-spin {
    background: #FEF3C7 !important;
    border: 1.5px solid #D97706 !important;
    color: #92400E !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.16) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container a.btn-login-to-spin span,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container a.btn-login-to-spin svg {
    color: #92400E !important;
    stroke: #92400E !important;
    background: transparent !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container a.btn-login-to-spin:hover {
    background: #FDE68A !important;
    color: #78350F !important;
}

/* LuckyWheel Twilight Mode: High-Contrast Login-to-Spin Pill */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container a.btn-login-to-spin {
    background: rgba(56, 189, 248, 0.16) !important;
    border: 1.5px solid #38BDF8 !important;
    color: #93C5FD !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container a.btn-login-to-spin span,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container a.btn-login-to-spin svg {
    color: #93C5FD !important;
    stroke: #93C5FD !important;
    background: transparent !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .lucky-wheel-container a.btn-login-to-spin:hover {
    background: rgba(56, 189, 248, 0.28) !important;
    color: #E0F2FE !important;
}

/* Products & Product Details Dawn/Twilight Contrast Locks */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xuxie-earn-label {
    color: #78350F !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] span.badge.rounded-pill.xuxie-earn-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xuxie-earn-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card .badge[style*="245, 158, 11"],
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .products-container .badge[style*="245, 158, 11"] {
    color: #78350F !important;
    background-color: #FEF3C7 !important;
    border-color: #D97706 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .xuxie-earn-label {
    color: #FCD34D !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .breadcrumb .breadcrumb-item a {
    color: #335577 !important;
    font-weight: 600 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .breadcrumb .breadcrumb-item a:hover {
    color: #0284C7 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #64748B !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-bonus-pill {
    background: rgba(15, 23, 42, 0.82) !important;
    color: #F8FAFC !important;
    border-color: rgba(145, 204, 255, 0.55) !important;
}

/* Mines Dawn Mode: High-Contrast Bet & Bomb Value Badges */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .bet-val-badge .slider-val-num {
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .bomb-val-badge .slider-val-num {
    color: #BE123C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .slider-val-badge .slider-val-unit {
    color: #335577 !important;
}

/* Logged-in Navbar User Display Name Dual-Mode Contrast */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .nav-user-display-name {
    color: #0369A1 !important;
    text-shadow: none !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .nav-user-display-name {
    color: #FBBF24 !important;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.45) !important;
}

/* Home Twilight Price Neon: Crystal Winter Ice Blue instead of Halloween Orange */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .price-neon {
    color: #7DD3FC !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.45) !important;
}

/* Dual-Mode Back-to-Top Floating Button (Zero Halloween Orange/Black) */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .btn-back-to-top {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1.5px solid rgba(123, 184, 245, 0.85) !important;
    color: #1B5DA8 !important;
    box-shadow: 0 8px 22px rgba(27, 59, 92, 0.18), 0 0 12px rgba(56, 189, 248, 0.2) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .btn-back-to-top {
    background: rgba(16, 32, 56, 0.94) !important;
    border: 1.5px solid rgba(125, 211, 252, 0.55) !important;
    color: #7DD3FC !important;
    box-shadow: 0 8px 24px rgba(4, 10, 22, 0.55), 0 0 16px rgba(56, 189, 248, 0.28) !important;
}

html[data-theme="days-of-feast"][data-feast-mode] .btn-back-to-top:hover {
    background: var(--btn-primary-bg, linear-gradient(135deg, #2B84DA 0%, #38BDF8 100%)) !important;
    border-color: #7DD3FC !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 26px rgba(43, 132, 218, 0.45), 0 0 18px rgba(56, 189, 248, 0.4) !important;
}

/* Perf: Ensure scrolling card containers do not trigger heavy backdrop blur compositing */
html[data-theme="days-of-feast"][data-feast-mode] .card-mischief,
html[data-theme="days-of-feast"][data-feast-mode] .card-themed,
html[data-theme="days-of-feast"][data-feast-mode] .product-card-modern,
html[data-theme="days-of-feast"][data-feast-mode] .account-card-modern,
html[data-theme="days-of-feast"][data-feast-mode] .card-clone-account,
html[data-theme="days-of-feast"][data-feast-mode] .feast-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}



html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .clone-card-price,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-card-price {
    color: #FBBF24 !important;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
}

/* Global Light Theme Submerged Text Safeguards */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-light:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="feast-dawn"] .text-light:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="days-of-feast"].theme-mode-light .text-light:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="days-of-feast"].feast-dawn .text-light:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *) {
    color: var(--text-secondary, #334155) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-muted:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="feast-dawn"] .text-muted:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="days-of-feast"].theme-mode-light .text-muted:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *),
html[data-theme="days-of-feast"].feast-dawn .text-muted:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *) {
    color: var(--text-muted, #64748B) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.hero-dark-keep):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.bg-dark *):not(.bg-primary *):not(.bg-danger *):not(.bg-success *):not(.bg-info *),
html[data-theme="feast-dawn"] .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.hero-dark-keep):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.bg-dark *):not(.bg-primary *):not(.bg-danger *):not(.bg-success *):not(.bg-info *),
html[data-theme="days-of-feast"].theme-mode-light .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.hero-dark-keep):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.bg-dark *):not(.bg-primary *):not(.bg-danger *):not(.bg-success *):not(.bg-info *),
html[data-theme="days-of-feast"].feast-dawn .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.hero-dark-keep):not(.hero-dark-keep *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"]):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"]):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"]):not([style*="rgba(15,23,42"] *):not(.bg-dark *):not(.bg-primary *):not(.bg-danger *):not(.bg-success *):not(.bg-info *) {
    color: var(--text-primary, #0F172A) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-white-50:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="feast-dawn"] .text-white-50:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .text-white-50:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .text-white-50:not(.btn-theme-primary *):not(.badge:not(.badge-outline) *):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not(.card-preorder-cinnamoroll *):not(.modal-alert-twilight *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: var(--text-muted, #64748B) !important;
}

/* Card, Modal, and Pill explicit contrast safeguards in Dawn mode */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .sub-category-btn.text-light,
html[data-theme="days-of-feast"].feast-dawn .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .sub-category-btn.text-light,
html[data-theme="days-of-feast"].theme-mode-light .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-white:not(.btn):not(.badge):not(.btn *):not(.badge *):not(.dark-surface-keep):not(.dark-surface-keep *):not([data-dark-surface="true"]):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .sub-category-btn.text-light {
    color: var(--text-primary, #0F172A) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].feast-dawn .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .card:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .card-themed:not(.card-preorder-cinnamoroll):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-content:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-content-themed:not(.modal-alert-twilight):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *),
html[data-theme="days-of-feast"].theme-mode-light .modal-body:not(.modal-alert-twilight *):not([data-dark-surface="true"]) .text-light:not(.btn):not(.badge):not(.dark-surface-keep *):not([data-dark-surface="true"] *):not([style*="#0b1120"] *):not([style*="rgba(15, 23, 42"] *):not([style*="rgba(15,23,42"] *) {
    color: var(--text-secondary, #334155) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-header-title,
html[data-theme="feast-dawn"] .manage-header-title,
html[data-theme="days-of-feast"].theme-mode-light .manage-header-title,
html[data-theme="days-of-feast"].feast-dawn .manage-header-title {
    color: var(--text-primary, #0F172A) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-header-subtitle,
html[data-theme="feast-dawn"] .manage-header-subtitle,
html[data-theme="days-of-feast"].theme-mode-light .manage-header-subtitle,
html[data-theme="days-of-feast"].feast-dawn .manage-header-subtitle {
    color: var(--text-muted, #64748B) !important;
}

/* ─── 14. MOBILE ERGONOMICS, CONTRAST GUARDS & TASTE HARMONIZATION ─── */

/* 14.1 Twilight Mode Universal High-Contrast Safeguards (Zero Drowned Text) */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-filter-label,
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .clone-filter-label,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] label.form-label,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .form-label,
html[data-theme="days-of-feast"][data-feast-mode="twilight"] label {
    color: #F8FAFC !important;
    font-weight: 600 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-filter-input,
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .clone-filter-input {
    background-color: #0F1C33 !important;
    color: #F7FBFF !important;
    border: 1.5px solid rgba(145, 204, 255, 0.38) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-filter-input::placeholder,
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .clone-filter-input::placeholder {
    color: #8FB5DC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-filter-input-icon,
html[data-theme="days-of-feast"]:not([data-feast-mode="dawn"]) .clone-filter-input-icon {
    background-color: #162642 !important;
    color: #C5E0FC !important;
    border: 1.5px solid rgba(145, 204, 255, 0.38) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .text-dark:not(.btn):not(.badge) {
    color: #F8FAFC !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .text-body:not(.btn):not(.badge) {
    color: #E2E8F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .table {
    color: #E2E8F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .table th {
    color: #F8FAFC !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .table td {
    color: #CBD5E1 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .border-secondary-subtle {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* 14.2 Mobile Touch Targets, Button Sizing & Spacing Polish */
@media (max-width: 575.98px) {

    html[data-theme="days-of-feast"] .clone-accounts-container,
    html[data-theme="days-of-feast"] .main-content-wrapper {
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    /* Harmonize container margins on 375px screens */
    html[data-theme="days-of-feast"] .container,
    html[data-theme="days-of-feast"] .container-fluid,
    html[data-theme="days-of-feast"] .clone-accounts-container,
    html[data-theme="days-of-feast"] .products-container,
    html[data-theme="days-of-feast"] .tracking-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Card padding compression: comfortable breathing room without crowding */
    html[data-theme="days-of-feast"] .card-body,
    html[data-theme="days-of-feast"] .price-summary-box,
    html[data-theme="days-of-feast"] .price-box-feast,
    html[data-theme="days-of-feast"] .glass-panel,
    html[data-theme="days-of-feast"] .feed-card {
        padding: 0.95rem 0.85rem !important;
    }

    /* Buttons: eliminate desktop bloat (>52px) down to standard 44px touch targets */
    html[data-theme="days-of-feast"] .btn-tracking-action {
        height: 44px !important;
        padding: 0 18px !important;
        font-size: 0.88rem !important;
    }

    html[data-theme="days-of-feast"] .btn-feast-primary,
    html[data-theme="days-of-feast"] .btn-theme-primary {
        min-height: 44px !important;
        max-height: 46px !important;
        padding: 0 18px !important;
        font-size: 0.88rem !important;
    }

    html[data-theme="days-of-feast"] .btn-history-pill {
        white-space: nowrap !important;
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
        min-height: 36px !important;
        max-height: 38px !important;
    }

    /* Lucky Wheel Center Button on Mobile (proportional 52px inside 260px wheel) */
    html[data-theme="days-of-feast"] .spin-btn,
    html[data-theme="days-of-feast"] button#btnCenterSpin {
        width: 52px !important;
        height: 52px !important;
    }

    html[data-theme="days-of-feast"] .spin-btn .spin-btn-text,
    html[data-theme="days-of-feast"] button#btnCenterSpin .spin-btn-text {
        font-size: 0.82rem !important;
    }

    /* Checkout Modal Mobile Tuning */
    html[data-theme="days-of-feast"] #checkoutModal .modal-footer .d-flex.gap-2 button,
    html[data-theme="days-of-feast"] #cartCheckoutModal .modal-footer .d-flex.gap-2 button,
    html[data-theme="days-of-feast"] #cloneCheckoutModal .modal-footer .d-flex.gap-2 button {
        min-height: 44px !important;
        height: auto !important;
        padding: 0.55rem 0.85rem !important;
        line-height: 1.25 !important;
        font-size: 0.86rem !important;
        border-radius: 12px !important;
    }

    /* Stepper Header Compact Layout on Mobile */
    html[data-theme="days-of-feast"] .checkout-stepper {
        gap: 6px !important;
    }

    html[data-theme="days-of-feast"] .step-circle {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.75rem !important;
    }

    html[data-theme="days-of-feast"] .step-label-group .step-tag {
        font-size: 0.58rem !important;
    }

    html[data-theme="days-of-feast"] .step-label-group .step-title {
        font-size: 0.72rem !important;
    }

    html[data-theme="days-of-feast"] .step-connector {
        min-width: 14px !important;
    }

    /* Floating elements clearance above bottom navigation bar */
    html[data-theme="days-of-feast"] .chat-launcher,
    html[data-theme="days-of-feast"] #chatLauncherBtn,
    html[data-theme="days-of-feast"] .btn-live-chat-floating {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        left: 14px !important;
        right: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    html[data-theme="days-of-feast"] .btn-back-to-top {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        left: auto !important;
        width: 44px !important;
        height: 44px !important;
    }

    /* Mobile category filter tabs: smooth non-wrapping scrollbar-hidden swipe rail */
    html[data-theme="days-of-feast"] .category-filter-nav,
    html[data-theme="days-of-feast"] .subcat-filter-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        padding-bottom: 4px !important;
    }

    html[data-theme="days-of-feast"] .category-filter-nav::-webkit-scrollbar,
    html[data-theme="days-of-feast"] .subcat-filter-nav::-webkit-scrollbar {
        display: none !important;
    }
}

/* --- 13.15 WCAG AA CONTRAST & DAWN/TWILIGHT REMEDIATION --- */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container .text-slate-300 {
    color: #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feed-time-ago,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .lucky-wheel-container span.text-nowrap[style*="148,163,184"] {
    color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .voucher-benefit-label {
    color: #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .price-strike {
    color: #475569 !important;
    opacity: 1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header #passGroupChatSubtitle,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header #chatAdminStatusText,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xiexie-chat-header .xiexie-chat-header-status {
    color: #F0F9FF !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] span.badge.rounded-pill.xuxie-earn-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xuxie-earn-badge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .xuxie-earn-label {
    color: #78350F !important;
}

/* Dawn mode overrides for #cartModal .table-dark and Tracking card transaction .table-dark */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-responsive,
[data-theme="feast-dawn"] #cartModal .table-responsive,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-responsive:has(> .table-dark),
[data-theme="feast-dawn"] .table-responsive:has(> .table-dark) {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark,
[data-theme="feast-dawn"] #cartModal .table-dark,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark,
[data-theme="feast-dawn"] .table-dark {
    --bs-table-bg: transparent !important;
    --bs-table-color: #0F172A !important;
    --bs-table-striped-color: #0F172A !important;
    --bs-table-hover-bg: rgba(15, 23, 42, 0.04) !important;
    --bs-table-hover-color: #0F172A !important;
    --bs-table-border-color: #E2E8F0 !important;
    background: transparent !important;
    color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark thead tr,
[data-theme="feast-dawn"] #cartModal .table-dark thead tr,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark thead tr,
[data-theme="feast-dawn"] .table-dark thead tr {
    background: #F8FAFC !important;
    border-bottom: 1px solid #CBD5E1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark th,
[data-theme="feast-dawn"] #cartModal .table-dark th,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark th,
[data-theme="feast-dawn"] .table-dark th,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark .text-white-50,
[data-theme="feast-dawn"] #cartModal .table-dark .text-white-50 {
    color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark td,
[data-theme="feast-dawn"] #cartModal .table-dark td,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark td,
[data-theme="feast-dawn"] .table-dark td,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark .text-white,
[data-theme="feast-dawn"] #cartModal .table-dark .text-white {
    color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .table-dark tbody tr,
[data-theme="feast-dawn"] #cartModal .table-dark tbody tr,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark tbody tr,
[data-theme="feast-dawn"] .table-dark tbody tr {
    border-bottom: 1px solid #E2E8F0 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark .text-warning,
[data-theme="feast-dawn"] .table-dark .text-warning {
    color: #B45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark .text-info,
[data-theme="feast-dawn"] .table-dark .text-info {
    color: #0369A1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .table-dark .text-success,
[data-theme="feast-dawn"] .table-dark .text-success {
    color: #047857 !important;
}

/* ==========================================================================
 * 16. HIGH-END VISUAL DESIGN SYSTEM (DOUBLE-BEZEL, HAPTIC MOTION, SEASON DNA)
 * ========================================================================== */

/* Double-Bezel (Doppelrand) & Haptic Physics */
html[data-theme="days-of-feast"] .hero-themed,
html[data-theme="days-of-feast"] .card-feast,
html[data-theme="days-of-feast"] .product-card-col,
html[data-theme="days-of-feast"] .account-card-modern {
    transition: transform 0.65s var(--canva-season-transition, cubic-bezier(0.32, 0.72, 0, 1)),
        opacity 0.65s var(--canva-season-transition, cubic-bezier(0.32, 0.72, 0, 1)),
        box-shadow 0.45s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

html[data-theme="days-of-feast"] .btn-theme-primary:active,
html[data-theme="days-of-feast"] .btn-feast-primary:active {
    transform: scale(0.98) !important;
}

/* Scroll Entry Reveal (GPU-Safe transform + opacity only) */
html[data-theme="days-of-feast"] .xie-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

html[data-theme="days-of-feast"] .xie-scroll-reveal.xie-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="days-of-feast"] .xie-scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Dawn Card Text Readability Guard across all seasonal branches */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card-col .text-white-50,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .product-card-col p:not(.badge):not([class*="price"]),
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-feast .text-white-50 {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

/* Navbar User Pill & Coins Badge (Dawn + Twilight high-contrast, immune to -webkit-text-fill-color inheritance) */
html[data-theme="days-of-feast"] #navbarUserDropdown .nav-user-greeting,
html[data-theme="days-of-feast"] #navbarUserDropdown .nav-user-display-name {
    background: transparent !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #navbarUserDropdown .nav-user-greeting {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #navbarUserDropdown .nav-user-display-name {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #navbarUserDropdown .nav-user-greeting {
    color: #CBD5E1 !important;
    -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] #navbarUserDropdown .nav-user-display-name {
    color: #F8FAFC !important;
    -webkit-text-fill-color: #F8FAFC !important;
}

html[data-theme="days-of-feast"] #navbarUserCoinsBadge,
html[data-theme="days-of-feast"] .user-navbar-coins-pill {
    font-size: 0.72rem !important;
    background: #1E293B !important;
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="days-of-feast"] #navbarUserCoinsBadge *,
html[data-theme="days-of-feast"] .user-navbar-coins-pill * {
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #navbarUserCoinsBadge,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-navbar-coins-pill {
    background: #FEF3C7 !important;
    color: #92400E !important;
    -webkit-text-fill-color: #92400E !important;
    border: 1px solid rgba(217, 119, 6, 0.45) !important;
    box-shadow: 0 2px 6px rgba(146, 64, 14, 0.12) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #navbarUserCoinsBadge *,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-navbar-coins-pill * {
    color: #92400E !important;
    -webkit-text-fill-color: #92400E !important;
}

/* CloneAccounts Preview Label & Item Boxes (Dawn + Twilight) */
html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-items-preview-label {
    color: #CBD5E1 !important;
    -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-items-preview-label {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="twilight"] .clone-item-icon-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-item-icon-box {
    background: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
}

/* 16.1 DAY OF COLORS (LGBT PRIDE SPECTRUM ARCHITECTURE) */
html[data-theme="days-of-color"] .navbar-themed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #E40303 0%, #FF8C00 20%, #FFED00 40%, #008026 60%, #24408E 80%, #732982 100%);
    pointer-events: none;
}

html[data-theme="days-of-color"] .hero-themed {
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 36px rgba(147, 163, 248, 0.18) !important;
}

html[data-theme="days-of-color"] .hero-themed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E40303 0%, #FF8C00 20%, #FFED00 40%, #008026 60%, #24408E 80%, #732982 100%);
    z-index: 3;
    pointer-events: none;
}

html[data-theme="days-of-color"] .hero-tag {
    border: 1.5px solid transparent !important;
    background-image: linear-gradient(rgba(15, 16, 38, 0.86), rgba(15, 16, 38, 0.86)),
        linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #24408E, #732982) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
}

html[data-theme="days-of-color"][data-feast-mode="dawn"] .hero-tag {
    background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
        linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #24408E, #732982) !important;
}

html[data-theme="days-of-color"] .product-card-col {
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 26px rgba(91, 78, 199, 0.14) !important;
}

html[data-theme="days-of-color"] .product-card-col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #E40303 0%, #FF8C00 20%, #FFED00 40%, #008026 60%, #24408E 80%, #732982 100%);
    opacity: 0.85;
    pointer-events: none;
}

/* 16.2 DAYS OF FORTUNE (TẾT NGUYÊN ĐÁN - IMPERIAL DOUBLE GOLD BEZEL) */
html[data-theme="days-of-fortune"] .hero-themed,
html[data-theme="days-of-fortune"] .product-card-col {
    box-shadow: inset 0 0 0 1px rgba(229, 184, 91, 0.28),
        inset 0 1px 0 rgba(254, 240, 138, 0.22),
        0 10px 30px rgba(185, 56, 44, 0.14) !important;
}

/* 16.3 DAYS OF LOVE (VALENTINE - SOFT ROSE PEARL SQUIRCLE) */
html[data-theme="days-of-love"] .hero-themed,
html[data-theme="days-of-love"] .product-card-col,
html[data-theme="days-of-love"] .card-feast {
    border-radius: 22px !important;
    box-shadow: inset 0 1px 1px rgba(244, 114, 182, 0.25), 0 8px 28px rgba(157, 50, 99, 0.14) !important;
}

/* 16.4 DAYS OF MOONLIGHT (TRUNG THU - CELESTIAL MOONBEAM AURA) */
html[data-theme="days-of-moonlight"] .hero-themed {
    box-shadow: inset 0 1px 0 rgba(232, 213, 137, 0.24), 0 10px 32px rgba(22, 78, 122, 0.18) !important;
}

html[data-theme="days-of-moonlight"] .hero-title {
    letter-spacing: 0.025em !important;
}

/* 16.5 DAYS OF MISCHIEF (HALLOWEEN - SMOKED OBSIDIAN & DUAL RIM) */
html[data-theme="days-of-mischief"] .hero-themed,
html[data-theme="days-of-mischief"] .product-card-col {
    box-shadow: inset 0 1px 0 rgba(251, 146, 60, 0.22), 0 10px 30px rgba(115, 59, 158, 0.22) !important;
}

/* 16.6 DAYS OF FEAST (MÙA ĐÔNG - FROSTED ARCTIC CRYSTAL BEZEL) */
html[data-theme="days-of-feast"] .hero-themed,
html[data-theme="days-of-feast"] .product-card-col {
    box-shadow: inset 0 1px 1px rgba(186, 230, 253, 0.22), 0 8px 28px rgba(56, 189, 248, 0.12) !important;
}

/* ─── 15. DAWN MODE HIGH-CONTRAST SURFACE & MODAL SAFEGUARDS ─── */
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-surface-card,
html[data-theme="feast-dawn"] .feast-surface-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-details-card,
html[data-theme="feast-dawn"] .clone-details-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-order-manage,
html[data-theme="feast-dawn"] .card-order-manage,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .user-voucher-card,
html[data-theme="feast-dawn"] .user-voucher-card {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #1B3B5C !important;
    box-shadow: 0 10px 28px rgba(27, 59, 92, 0.10) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-surface-inner,
html[data-theme="feast-dawn"] .feast-surface-inner,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-surface-subitem,
html[data-theme="feast-dawn"] .feast-surface-subitem,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .clone-details-subcard,
html[data-theme="feast-dawn"] .clone-details-subcard,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .card-order-manage-header,
html[data-theme="feast-dawn"] .card-order-manage-header,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .order-summary-totals-card,
html[data-theme="feast-dawn"] .order-summary-totals-card {
    background: rgba(240, 248, 255, 0.94) !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .modal-content,
html[data-theme="feast-dawn"] #checkoutModal .modal-content,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .modal-footer,
html[data-theme="feast-dawn"] #checkoutModal .modal-footer,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #modalNormalFooter,
html[data-theme="feast-dawn"] #modalNormalFooter,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #modalSuccessFooter,
html[data-theme="feast-dawn"] #modalSuccessFooter {
    background: #f4f9ff !important;
    color: #1B3B5C !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .modal-header,
html[data-theme="feast-dawn"] #checkoutModal .modal-header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .modal-header .modal-title,
html[data-theme="feast-dawn"] #checkoutModal .modal-header .modal-title {
    color: #ffffff !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .modal-header .btn-close-white,
html[data-theme="feast-dawn"] #checkoutModal .modal-header .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal #modalOrderCardSection,
html[data-theme="feast-dawn"] #checkoutModal #modalOrderCardSection,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .card-auto-calc-box,
html[data-theme="feast-dawn"] #checkoutModal .card-auto-calc-box,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .heart-altar-guide-card,
html[data-theme="feast-dawn"] #checkoutModal .heart-altar-guide-card,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal #packCheckingCardsContainer,
html[data-theme="feast-dawn"] #checkoutModal #packCheckingCardsContainer,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal #orderSuccessPaymentReportCard,
html[data-theme="feast-dawn"] #checkoutModal #orderSuccessPaymentReportCard,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal #orderProofUploadSection,
html[data-theme="feast-dawn"] #checkoutModal #orderProofUploadSection,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal #successCardBox,
html[data-theme="feast-dawn"] #checkoutModal #successCardBox,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .order-notification-optin-card,
html[data-theme="feast-dawn"] #checkoutModal .order-notification-optin-card {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #1B3B5C !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .form-control,
html[data-theme="feast-dawn"] #checkoutModal .form-control,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #checkoutModal .form-select,
html[data-theme="feast-dawn"] #checkoutModal .form-select {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .reward-hero-coins,
html[data-theme="feast-dawn"] .reward-hero-coins {
    color: #b45309 !important;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.25) !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .feast-voucher-code,
html[data-theme="feast-dawn"] .feast-voucher-code {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #92400e !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-warning-banner,
html[data-theme="feast-dawn"] .manage-warning-banner {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #78350f !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-status-alert.manage-status-success,
html[data-theme="feast-dawn"] .manage-status-alert.manage-status-success {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #065f46 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-status-alert.manage-status-error,
html[data-theme="feast-dawn"] .manage-status-alert.manage-status-error {
    background: rgba(220, 53, 69, 0.12) !important;
    color: #991b1b !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .manage-status-alert .btn-close-white,
html[data-theme="feast-dawn"] .manage-status-alert .btn-close-white,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] #cartModal .modal-header .btn-close-white,
html[data-theme="feast-dawn"] #cartModal .modal-header .btn-close-white {
    filter: none !important;
    opacity: 0.75 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-warning:not(.badge):not(.btn),
html[data-theme="feast-dawn"] .text-warning:not(.badge):not(.btn) {
    color: #b45309 !important;
}

html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-slate-300,
html[data-theme="feast-dawn"] .text-slate-300,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-slate-400,
html[data-theme="feast-dawn"] .text-slate-400,
html[data-theme="days-of-feast"][data-feast-mode="dawn"] .text-slate-200,
html[data-theme="feast-dawn"] .text-slate-200 {
    color: #334155 !important;
}

/* ─── 16. VISUAL AUDIT POLISH: MASCOT BUBBLE PADDING, ADMIN QUICK-ADD & TABLET CLEARANCE ─── */
html[data-theme="days-of-feast"][data-feast-mode] .mascot-bubble {
    padding: 8px 30px 8px 12px !important;
}

.btn-admin-quick-add {
    background: rgba(245, 158, 11, 0.18) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.55) !important;
    color: #fbbf24 !important;
    white-space: nowrap !important;
}

.btn-admin-quick-add:hover {
    background: rgba(245, 158, 11, 0.30) !important;
    border-color: #fbbf24 !important;
    color: #fde68a !important;
}

html[data-feast-mode="dawn"] .btn-admin-quick-add {
    background: rgba(245, 158, 11, 0.16) !important;
    border-color: rgba(217, 119, 6, 0.55) !important;
    color: #92400e !important;
}

.form-switch:has(#adminFreePlaySwitch) {
    padding-left: 0 !important;
}

#adminFreePlaySwitch {
    margin-left: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
    width: 2.35em !important;
    cursor: pointer;
}

@media (max-width: 991.98px) {

    html[data-theme="days-of-feast"] .mascot-container,
    html[data-theme="days-of-feast"] #mascotWrapper {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        right: 12px !important;
    }

    [data-theme="days-of-feast"] .xiexie-chat-trigger,
    html[data-theme="days-of-feast"][data-feast-mode] .xiexie-chat-trigger {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        left: 12px !important;
    }

    html[data-theme="days-of-feast"] .xiexie-chat-trigger.pass-group-trigger {
        bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
    }

    html[data-theme="days-of-feast"] body.xiexie-has-floating-minicart .xiexie-chat-trigger {
        bottom: calc(134px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ─── 17. COMPREHENSIVE DAWN MODE POPUP, MODAL & TOAST CONTRAST FIXES ─── */
html.feast-dawn .modal-content:not(.modal-alert-twilight) .btn-close-white,
html[data-feast-mode="dawn"] .modal-content:not(.modal-alert-twilight) .btn-close-white,
html[data-theme="feast-dawn"] .modal-content:not(.modal-alert-twilight) .btn-close-white {
    filter: none !important;
    opacity: 0.78 !important;
}

/* Product QuickView Modal (#productQuickViewModal) */
html.feast-dawn .product-qv-modal-content,
html[data-feast-mode="dawn"] .product-qv-modal-content {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
}

html.feast-dawn #productQuickViewModal #qvCategoryBadge,
html.feast-dawn #productQuickViewModal #qvSubCategoryBadge,
html[data-feast-mode="dawn"] #productQuickViewModal #qvCategoryBadge,
html[data-feast-mode="dawn"] #productQuickViewModal #qvSubCategoryBadge {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn #productQuickViewModal .product-qv-img-frame,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-img-frame {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn #productQuickViewModal .product-qv-price-card,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-price-card {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html.feast-dawn #productQuickViewModal .product-qv-price-card span,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-price-card span {
    color: #1e293b !important;
}

html.feast-dawn #productQuickViewModal .product-qv-price-card .border-top,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-price-card .border-top {
    border-color: #e2e8f0 !important;
}

html.feast-dawn #productQuickViewModal #qvBankPrice,
html[data-feast-mode="dawn"] #productQuickViewModal #qvBankPrice {
    color: #047857 !important;
}

html.feast-dawn #productQuickViewModal #qvCardPrice,
html[data-feast-mode="dawn"] #productQuickViewModal #qvCardPrice {
    color: #0369a1 !important;
}

html.feast-dawn #productQuickViewModal #qvCoinsBadge,
html[data-feast-mode="dawn"] #productQuickViewModal #qvCoinsBadge {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #92400e !important;
    border-color: rgba(217, 119, 6, 0.45) !important;
}

html.feast-dawn #productQuickViewModal #qvVoucherBadge,
html[data-feast-mode="dawn"] #productQuickViewModal #qvVoucherBadge {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #065f46 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}

html.feast-dawn #productQuickViewModal .product-qv-trust-card,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-trust-card {
    background: #f0f9ff !important;
    border: 1.5px solid #bae6fd !important;
    color: #0f172a !important;
}

html.feast-dawn #productQuickViewModal .product-qv-trust-card div,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-trust-card div {
    color: #1e293b !important;
}

html.feast-dawn #productQuickViewModal .product-qv-trust-card strong,
html[data-feast-mode="dawn"] #productQuickViewModal .product-qv-trust-card strong {
    color: #0369a1 !important;
}

html.feast-dawn #productQuickViewModal #qvBtnCheckout,
html.feast-dawn #productQuickViewModal #qvBtnCheckout span,
html[data-feast-mode="dawn"] #productQuickViewModal #qvBtnCheckout,
html[data-feast-mode="dawn"] #productQuickViewModal #qvBtnCheckout span {
    color: #ffffff !important;
}

/* Cart & CartCheckout Modals */
html.feast-dawn #cartModal .modal-content,
html.feast-dawn #cartCheckoutModal .modal-content,
html[data-feast-mode="dawn"] #cartModal .modal-content,
html[data-feast-mode="dawn"] #cartCheckoutModal .modal-content {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16) !important;
}

html.feast-dawn #cartModal .modal-header,
html.feast-dawn #cartModal .modal-footer,
html.feast-dawn #cartCheckoutModal .modal-header,
html.feast-dawn #cartCheckoutModal .modal-footer,
html[data-feast-mode="dawn"] #cartModal .modal-header,
html[data-feast-mode="dawn"] #cartModal .modal-footer,
html[data-feast-mode="dawn"] #cartCheckoutModal .modal-header,
html[data-feast-mode="dawn"] #cartCheckoutModal .modal-footer {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

html.feast-dawn #cartModal .btn-outline-light,
html[data-feast-mode="dawn"] #cartModal .btn-outline-light,
html.feast-dawn #cartCheckoutModal .btn-outline-light,
html[data-feast-mode="dawn"] #cartCheckoutModal .btn-outline-light {
    color: #334155 !important;
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

html.feast-dawn #cartCheckoutModal .btn-outline-light:hover,
html[data-feast-mode="dawn"] #cartCheckoutModal .btn-outline-light:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

html.feast-dawn #cartCheckoutModal #cartStepperHeader,
html[data-feast-mode="dawn"] #cartCheckoutModal #cartStepperHeader,
html.feast-dawn #cloneCheckoutModal #cloneStepperHeader,
html[data-feast-mode="dawn"] #cloneCheckoutModal #cloneStepperHeader {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

html.feast-dawn #cloneCheckoutModal #cloneStepIndicator1 span:last-child,
html[data-feast-mode="dawn"] #cloneCheckoutModal #cloneStepIndicator1 span:last-child {
    color: #b45309 !important;
}

html.feast-dawn #cloneCheckoutModal #cloneStepIndicator2,
html[data-feast-mode="dawn"] #cloneCheckoutModal #cloneStepIndicator2 {
    color: #475569 !important;
}

html.feast-dawn #cartCheckoutModal .form-control,
html.feast-dawn #cartCheckoutModal .form-select,
html[data-feast-mode="dawn"] #cartCheckoutModal .form-control,
html[data-feast-mode="dawn"] #cartCheckoutModal .form-select {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.feast-dawn #cartModal .text-emerald-400,
html.feast-dawn #cartCheckoutModal .text-emerald-400,
html.feast-dawn #cloneCheckoutModal .text-emerald-400,
html[data-feast-mode="dawn"] #cartModal .text-emerald-400,
html[data-feast-mode="dawn"] #cartCheckoutModal .text-emerald-400,
html[data-feast-mode="dawn"] #cloneCheckoutModal .text-emerald-400 {
    color: #047857 !important;
}

html.feast-dawn #cartModal [style*="#fde68a"],
html.feast-dawn #cartModal [style*="#fbbf24"],
html[data-feast-mode="dawn"] #cartModal [style*="#fde68a"],
html[data-feast-mode="dawn"] #cartModal [style*="#fbbf24"] {
    color: #92400e !important;
}

/* CloneAccounts Detail & Checkout Modals */
html.feast-dawn .clone-realm-progress-card,
html[data-feast-mode="dawn"] .clone-realm-progress-card {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

html.feast-dawn .clone-realm-progress-card .clone-realm-name,
html[data-feast-mode="dawn"] .clone-realm-progress-card .clone-realm-name {
    color: #0f172a !important;
}

html.feast-dawn .clone-realm-progress-card .clone-realm-badge,
html[data-feast-mode="dawn"] .clone-realm-progress-card .clone-realm-badge {
    background: rgba(16, 185, 129, 0.16) !important;
    color: #065f46 !important;
}

html.feast-dawn .clone-realm-progress-card .clone-realm-date,
html[data-feast-mode="dawn"] .clone-realm-progress-card .clone-realm-date {
    color: #475569 !important;
}

html.feast-dawn .contact-method-btn,
html[data-feast-mode="dawn"] .contact-method-btn {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html.feast-dawn .contact-method-btn:hover,
html[data-feast-mode="dawn"] .contact-method-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

html.feast-dawn .contact-method-btn.active,
html[data-feast-mode="dawn"] .contact-method-btn.active {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
    color: #0369a1 !important;
}

html.feast-dawn #checkoutModal .modal-method-toggle,
html[data-feast-mode="dawn"] #checkoutModal .modal-method-toggle {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn #checkoutModal .modal-method-pill,
html[data-feast-mode="dawn"] #checkoutModal .modal-method-pill {
    color: #475569 !important;
}

html.feast-dawn #checkoutModal .modal-method-pill.active,
html[data-feast-mode="dawn"] #checkoutModal .modal-method-pill.active {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    color: #0369a1 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.16) !important;
}

html.feast-dawn #checkoutModal .checkout-contact-card,
html[data-feast-mode="dawn"] #checkoutModal .checkout-contact-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.feast-dawn #checkoutModal .checkout-contact-panel,
html[data-feast-mode="dawn"] #checkoutModal .checkout-contact-panel,
html.feast-dawn #cartCheckoutModal .checkout-contact-panel,
html[data-feast-mode="dawn"] #cartCheckoutModal .checkout-contact-panel {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn #cartCheckoutModal #cartPrimaryContactBadge,
html[data-feast-mode="dawn"] #cartCheckoutModal #cartPrimaryContactBadge {
    background: rgba(14, 165, 233, 0.14) !important;
    color: #0369a1 !important;
}

html.feast-dawn #cartCheckoutModal #cartCloneAccountBox,
html[data-feast-mode="dawn"] #cartCheckoutModal #cartCloneAccountBox {
    background: #fffbeb !important;
    border-color: #fcd34d !important;
}

html.feast-dawn #cartCheckoutModal #cartCloneAccountBox .cart-clone-reassure-desc,
html[data-feast-mode="dawn"] #cartCheckoutModal #cartCloneAccountBox .cart-clone-reassure-desc {
    color: #78350f !important;
}

html.feast-dawn #cartCheckoutModal #cartCloneAccountBox .badge,
html[data-feast-mode="dawn"] #cartCheckoutModal #cartCloneAccountBox .badge {
    background: #fef3c7 !important;
    color: #92400e !important;
}

html.feast-dawn #checkoutModal .checkout-contact-card label,
html[data-feast-mode="dawn"] #checkoutModal .checkout-contact-card label {
    color: #334155 !important;
}

html.feast-dawn #checkoutModal .checkout-modal-input,
html[data-feast-mode="dawn"] #checkoutModal .checkout-modal-input,
html[data-theme="feast-dawn"] #checkoutModal .checkout-modal-input,
html.feast-dawn #checkoutModal .form-control,
html[data-feast-mode="dawn"] #checkoutModal .form-control,
html.feast-dawn #checkoutModal .form-select,
html[data-feast-mode="dawn"] #checkoutModal .form-select {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn #checkoutModal .checkout-modal-input::placeholder,
html[data-feast-mode="dawn"] #checkoutModal .checkout-modal-input::placeholder,
html.feast-dawn #checkoutModal .form-control::placeholder,
html[data-feast-mode="dawn"] #checkoutModal .form-control::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

html.feast-dawn #checkoutModal .checkout-contact-auto-hint,
html[data-feast-mode="dawn"] #checkoutModal .checkout-contact-auto-hint {
    color: #b45309 !important;
}

html.feast-dawn .rewards-page-heading,
html[data-feast-mode="dawn"] .rewards-page-heading {
    color: #0f172a !important;
}

html.feast-dawn .rewards-page-subheading,
html[data-feast-mode="dawn"] .rewards-page-subheading {
    color: #475569 !important;
}

html.feast-dawn .rewards-btn-primary,
html[data-feast-mode="dawn"] .rewards-btn-primary {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14) !important;
}

html.feast-dawn .rewards-btn-primary:hover,
html[data-feast-mode="dawn"] .rewards-btn-primary:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

html.feast-dawn .rewards-btn-ghost,
html[data-feast-mode="dawn"] .rewards-btn-ghost {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
}

html.feast-dawn .rewards-hero-surface,
html[data-feast-mode="dawn"] .rewards-hero-surface {
    background: linear-gradient(135deg, #faf8f5 0%, #f3ede2 100%) !important;
    border-color: #e5dcc9 !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
}

html.feast-dawn .rewards-hero-eyebrow,
html[data-feast-mode="dawn"] .rewards-hero-eyebrow {
    background: rgba(180, 83, 9, 0.1) !important;
    border-color: rgba(180, 83, 9, 0.22) !important;
    color: #9a3412 !important;
}

html.feast-dawn .rewards-hero-surface .reward-hero-coins,
html[data-feast-mode="dawn"] .rewards-hero-surface .reward-hero-coins {
    color: #9a5b08 !important;
}

html.feast-dawn .rewards-hero-unit,
html[data-feast-mode="dawn"] .rewards-hero-unit {
    color: #475569 !important;
}

html.feast-dawn .rewards-tier-panel,
html[data-feast-mode="dawn"] .rewards-tier-panel {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

html.feast-dawn .rewards-tier-heading,
html[data-feast-mode="dawn"] .rewards-tier-heading {
    color: #64748b !important;
}

html.feast-dawn .rewards-tier-row,
html[data-feast-mode="dawn"] .rewards-tier-row {
    color: #334155 !important;
    border-bottom-color: rgba(15, 23, 42, 0.07) !important;
}

html.feast-dawn .rewards-tier-value,
html[data-feast-mode="dawn"] .rewards-tier-value {
    color: #0f172a !important;
}

html.feast-dawn .rewards-tier-value-gold,
html[data-feast-mode="dawn"] .rewards-tier-value-gold {
    color: #9a5b08 !important;
}

html.feast-dawn .rewards-section-vault,
html[data-feast-mode="dawn"] .rewards-section-vault {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

html.feast-dawn .rewards-section-catalog,
html[data-feast-mode="dawn"] .rewards-section-catalog {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.feast-dawn .rewards-section-history,
html[data-feast-mode="dawn"] .rewards-section-history {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}

html.feast-dawn .rewards-section-title,
html[data-feast-mode="dawn"] .rewards-section-title {
    color: #0f172a !important;
}

html.feast-dawn .rewards-section-icon,
html[data-feast-mode="dawn"] .rewards-section-icon {
    color: #9a5b08 !important;
}

html.feast-dawn .rewards-section-sub,
html[data-feast-mode="dawn"] .rewards-section-sub {
    color: #64748b !important;
}

html.feast-dawn .rewards-count-badge,
html[data-feast-mode="dawn"] .rewards-count-badge {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.feast-dawn .rewards-empty-box,
html[data-feast-mode="dawn"] .rewards-empty-box {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

html.feast-dawn .rewards-owned-ticket,
html.feast-dawn .rewards-catalog-card,
html[data-feast-mode="dawn"] .rewards-owned-ticket,
html[data-feast-mode="dawn"] .rewards-catalog-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

html.feast-dawn .rewards-catalog-card.rewards-catalog-affordable,
html[data-feast-mode="dawn"] .rewards-catalog-card.rewards-catalog-affordable {
    border-color: #d97706 !important;
}

html.feast-dawn .rewards-owned-icon,
html.feast-dawn .rewards-catalog-icon,
html[data-feast-mode="dawn"] .rewards-owned-icon,
html[data-feast-mode="dawn"] .rewards-catalog-icon {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #9a5b08 !important;
}

html.feast-dawn .rewards-owned-ticket strong,
html.feast-dawn .rewards-catalog-card strong,
html.feast-dawn .rewards-ticket-title,
html[data-feast-mode="dawn"] .rewards-owned-ticket strong,
html[data-feast-mode="dawn"] .rewards-catalog-card strong,
html[data-feast-mode="dawn"] .rewards-ticket-title {
    color: #0f172a !important;
}

html.feast-dawn .rewards-ticket-desc,
html.feast-dawn .rewards-owned-ticket p,
html.feast-dawn .rewards-catalog-card p,
html[data-feast-mode="dawn"] .rewards-ticket-desc,
html[data-feast-mode="dawn"] .rewards-owned-ticket p,
html[data-feast-mode="dawn"] .rewards-catalog-card p {
    color: #475569 !important;
}

html.feast-dawn .rewards-meta-muted,
html[data-feast-mode="dawn"] .rewards-meta-muted {
    color: #64748b !important;
}

html.feast-dawn .rewards-text-accent,
html[data-feast-mode="dawn"] .rewards-text-accent {
    color: #9a5b08 !important;
}

html.feast-dawn .rewards-card-divider,
html[data-feast-mode="dawn"] .rewards-card-divider {
    border-top-color: #f1f5f9 !important;
}

html.feast-dawn .rewards-owned-code,
html[data-feast-mode="dawn"] .rewards-owned-code {
    background: #fef9ec !important;
    border-color: #e5d8ba !important;
    color: #854d0e !important;
}

html.feast-dawn .rewards-subtle-tag,
html[data-feast-mode="dawn"] .rewards-subtle-tag {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}

html.feast-dawn .rewards-status-ready,
html[data-feast-mode="dawn"] .rewards-status-ready {
    color: #047857 !important;
}

html.feast-dawn .rewards-status-expired,
html[data-feast-mode="dawn"] .rewards-status-expired {
    color: #dc2626 !important;
}

html.feast-dawn .rewards-catalog-cost-pill,
html[data-feast-mode="dawn"] .rewards-catalog-cost-pill {
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    color: #92400e !important;
}

html.feast-dawn .rewards-ledger-wrap,
html[data-feast-mode="dawn"] .rewards-ledger-wrap {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

html.feast-dawn .rewards-ledger-table,
html[data-feast-mode="dawn"] .rewards-ledger-table {
    color: #0f172a !important;
}

html.feast-dawn .rewards-ledger-table thead tr,
html[data-feast-mode="dawn"] .rewards-ledger-table thead tr {
    background: #f1f5f9 !important;
    border-bottom-color: #cbd5e1 !important;
}

html.feast-dawn .rewards-ledger-table thead th,
html[data-feast-mode="dawn"] .rewards-ledger-table thead th {
    color: #334155 !important;
}

html.feast-dawn .rewards-ledger-table tbody td,
html[data-feast-mode="dawn"] .rewards-ledger-table tbody td {
    color: #0f172a !important;
    border-bottom-color: #f1f5f9 !important;
}

html.feast-dawn .rewards-ledger-table tbody tr:hover,
html[data-feast-mode="dawn"] .rewards-ledger-table tbody tr:hover {
    background: #f8fafc !important;
}

html.feast-dawn .rewards-ledger-delta-plus,
html[data-feast-mode="dawn"] .rewards-ledger-delta-plus {
    color: #059669 !important;
}

html.feast-dawn .rewards-ledger-delta-minus,
html[data-feast-mode="dawn"] .rewards-ledger-delta-minus {
    color: #dc2626 !important;
}

html.feast-dawn .rewards-ledger-time,
html[data-feast-mode="dawn"] .rewards-ledger-time {
    color: #64748b !important;
}

html.feast-dawn #cloneCheckoutModal .btn-outline-secondary,
html.feast-dawn #accountDetailModal .btn-outline-secondary,
html[data-feast-mode="dawn"] #cloneCheckoutModal .btn-outline-secondary,
html[data-feast-mode="dawn"] #accountDetailModal .btn-outline-secondary {
    color: #334155 !important;
    border-color: #94a3b8 !important;
}

html.feast-dawn #cloneCheckoutModal #checkoutAidDisplay,
html.feast-dawn #cloneCheckoutModal #primaryContactBadge,
html[data-feast-mode="dawn"] #cloneCheckoutModal #checkoutAidDisplay,
html[data-feast-mode="dawn"] #cloneCheckoutModal #primaryContactBadge {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

html.feast-dawn #cloneCheckoutModal #bankTransferAmountStep1,
html[data-feast-mode="dawn"] #cloneCheckoutModal #bankTransferAmountStep1 {
    background: #dcfce7 !important;
    color: #047857 !important;
}

html.feast-dawn #cloneCheckoutModal .btn-glass-purchase,
html.feast-dawn #cloneCheckoutModal .btn-glass-purchase span,
html.feast-dawn #accountDetailModal .btn-glass-purchase,
html.feast-dawn #accountDetailModal .btn-glass-purchase span,
html.feast-dawn #cartModal .btn-theme-primary,
html.feast-dawn #cartModal .btn-theme-primary span,
html.feast-dawn #cartCheckoutModal .btn-theme-primary,
html.feast-dawn #cartCheckoutModal .btn-theme-primary span,
html[data-feast-mode="dawn"] #cloneCheckoutModal .btn-glass-purchase,
html[data-feast-mode="dawn"] #cloneCheckoutModal .btn-glass-purchase span,
html[data-feast-mode="dawn"] #accountDetailModal .btn-glass-purchase,
html[data-feast-mode="dawn"] #accountDetailModal .btn-glass-purchase span,
html[data-feast-mode="dawn"] #cartModal .btn-theme-primary,
html[data-feast-mode="dawn"] #cartModal .btn-theme-primary span,
html[data-feast-mode="dawn"] #cartCheckoutModal .btn-theme-primary,
html[data-feast-mode="dawn"] #cartCheckoutModal .btn-theme-primary span {
    color: #ffffff !important;
}

/* LuckyWheel & LiveChat Dawn Fixes */
html.feast-dawn .btn-warning,
html[data-feast-mode="dawn"] .btn-warning {
    color: #0f172a !important;
}

html.feast-dawn .glass-panel,
html[data-feast-mode="dawn"] .glass-panel {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.feast-dawn .xiexie-chat-header #chatAdminStatusText,
html[data-feast-mode="dawn"] .xiexie-chat-header #chatAdminStatusText {
    color: #e0f2fe !important;
}

/* ─── 18. MOBILE NAVBAR COLLAPSE & ACCOUNT MANAGE DAWN HIGH-CONTRAST FIXES ─── */
@media (max-width: 1199.98px) {
    /* Mobile Drawer Shell (Dawn): Cool Stone #EEF2F7 clearly separated from #DCEBFA backdrop & #FFFFFF cards */
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse {
        background: #EEF2F7 !important;
        border: 1.5px solid #94A3B8 !important;
        box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22) !important;
        color: #0F172A !important;
    }

    /* Inactive Nav Items (Dawn): Pure White #FFFFFF cards with #0F172A ink & #0369A1 icon */
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief),
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief) {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
        -webkit-text-fill-color: #0F172A !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief) svg,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief) svg {
        color: #0369A1 !important;
        stroke: #0369A1 !important;
    }

    /* Active / Hover Nav Item (Dawn): Deep Navy Ink #0F172A with Pure White #FFFFFF text */
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief):is(:hover, .active),
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief):is(:hover, .active) {
        background: #0F172A !important;
        border-color: #0F172A !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief):is(:hover, .active) svg,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief):is(:hover, .active) svg {
        color: #38BDF8 !important;
        stroke: #38BDF8 !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .navbar-actions-group,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .navbar-actions-group {
        border-top: 1.5px solid #CBD5E1 !important;
    }

    /* Cart CTA (Dawn): Royal Cobalt #0369A1 with Pure White text */
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.btn-cart-themed, .btn-cart-mischief),
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.btn-cart-themed, .btn-cart-mischief) {
        background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%) !important;
        border: 1px solid #0369A1 !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
        box-shadow: 0 6px 16px rgba(3, 105, 161, 0.28) !important;
    }

    /* Profile Anchor Card (Dawn): Deep Charcoal Slate #1E293B with Crisp White text & Warm Gold Xu Pill */
    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-dropdown-toggle,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-dropdown-toggle {
        background: #1E293B !important;
        border: 1.5px solid #334155 !important;
        color: #F8FAFC !important;
        -webkit-text-fill-color: #F8FAFC !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-dropdown-toggle .nav-user-display-name,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-dropdown-toggle .nav-user-display-name {
        color: #F8FAFC !important;
        -webkit-text-fill-color: #F8FAFC !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-navbar-coins-pill,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-navbar-coins-pill {
        background: #FEF3C7 !important;
        color: #78350F !important;
        -webkit-text-fill-color: #78350F !important;
        border: 1px solid #F59E0B !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-wallet-badge,
    html[data-theme="days-of-feast"].feast-dawn :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-wallet-badge {
        background: #D1FAE5 !important;
        color: #065F46 !important;
        -webkit-text-fill-color: #065F46 !important;
        border-color: #10B981 !important;
    }

    /* Mobile Drawer Shell (Twilight): Distinct Layer Separation */
    html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse {
        background: #090F1D !important;
        border: 1.5px solid rgba(148, 163, 184, 0.28) !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief) {
        background: #17253D !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        color: #F8FAFC !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse :is(.nav-link-themed, .nav-link-mischief):is(:hover, .active) {
        background: #0284C7 !important;
        border-color: #38BDF8 !important;
        color: #FFFFFF !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="twilight"] :is(.navbar-themed, .navbar-mischief) #navbarMainCollapse .user-nav-dropdown-toggle {
        background: #1E293B !important;
        border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
        color: #F8FAFC !important;
    }

    html[data-theme="days-of-feast"][data-feast-mode="dawn"] #navbarMainCollapse .games-flyout-menu,
    html[data-theme="days-of-feast"].feast-dawn #navbarMainCollapse .games-flyout-menu {
        background: #FFFFFF !important;
        border: 1.5px solid #94A3B8 !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
    }
}

/* Account Manage Page (/Identity/Account/Manage) Dawn High-Contrast Fixes */
html.feast-dawn .manage-pill-item:not(.active),
html[data-feast-mode="dawn"] .manage-pill-item:not(.active) {
    background: #FFFFFF !important;
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    border: 1.5px solid #CBD5E1 !important;
}

html.feast-dawn .manage-pill-item:not(.active):hover,
html[data-feast-mode="dawn"] .manage-pill-item:not(.active):hover {
    background: #FEF3C7 !important;
    color: #92400E !important;
    -webkit-text-fill-color: #92400E !important;
    border-color: #F59E0B !important;
}

html.feast-dawn .manage-pill-logout,
html[data-feast-mode="dawn"] .manage-pill-logout {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    -webkit-text-fill-color: #DC2626 !important;
    border: 1.5px solid #FECACA !important;
}

html.feast-dawn .account-tab-btn:not(.active),
html[data-feast-mode="dawn"] .account-tab-btn:not(.active) {
    background: #F1F5F9 !important;
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
    border-color: #CBD5E1 !important;
}

html.feast-dawn .account-feature-card,
html[data-feast-mode="dawn"] .account-feature-card {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html.feast-dawn .manage-xuxie-pill,
html[data-feast-mode="dawn"] .manage-xuxie-pill {
    background: #FEF3C7 !important;
    color: #92400E !important;
    -webkit-text-fill-color: #92400E !important;
    border-color: #F59E0B !important;
}

html.feast-dawn .manage-avatar-upload-btn,
html[data-feast-mode="dawn"] .manage-avatar-upload-btn {
    background: #FEF3C7 !important;
    border-color: #F59E0B !important;
    color: #92400E !important;
    -webkit-text-fill-color: #92400E !important;
}

html.feast-dawn .manage-avatar-sticker-btn,
html[data-feast-mode="dawn"] .manage-avatar-sticker-btn {
    background: #E0F2FE !important;
    border-color: #38BDF8 !important;
    color: #0369A1 !important;
    -webkit-text-fill-color: #0369A1 !important;
}

html.feast-dawn .manage-avatar-sticker-btn svg,
html[data-feast-mode="dawn"] .manage-avatar-sticker-btn svg {
    stroke: #0369A1 !important;
}

html.feast-dawn .manage-avatar-reset-btn,
html[data-feast-mode="dawn"] .manage-avatar-reset-btn {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

html.feast-dawn main .input-group-text.bg-dark,
html[data-feast-mode="dawn"] main .input-group-text.bg-dark {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}

html.feast-dawn .account-feature-card .badge.text-light,
html[data-feast-mode="dawn"] .account-feature-card .badge.text-light {
    color: #3730A3 !important;
    background: #E0E7FF !important;
    border-color: #C7D2FE !important;
}