@font-face {
    font-family: 'LemonMilk';
    src: url('../assets/fonts/LEMONMILK-Regular.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LemonMilk';
    src: url('../assets/fonts/LEMONMILK-Bold.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LemonMilk';
    src: url('../assets/fonts/LEMONMILK-Medium.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
.wm-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.logo-wm2,
.logo-aridong {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(86, 14, 27, 0.4));
}

.wm-logo:hover .logo-wm2,
.wm-logo:hover .logo-aridong {
    transform: scale(1.06) rotate(-2deg);
    filter: drop-shadow(0 4px 14px rgba(208, 187, 160, 0.6));
}
:root,
html[data-theme="dark"],
html.dark-mode {
    --bg-body:          #121212;
    --bg-main:          #121212;
    --bg-main-rgb:      18, 18, 18;
    --bg-subtle:        #161315;
    --bg-card:          #1E1A1C;
    --bg-card-hover:    #262023;
    --bg-card-solid:    #1E1A1C;
    --bg-input:         #161315;
    --bg-nav:           rgba(18, 18, 18, 0.92);
    --navbar-bg:        rgba(18, 18, 18, 0.92);
    --bg-drawer:        #121212;
    --bg-overlay:       rgba(0, 0, 0, 0.7);
    --bg-dropdown:      #1E1A1C;
    --bg-toast:         #1E1A1C;
    --bg-scrollbar-track: #121212;
    --border-card:      rgba(208, 187, 160, 0.16);
    --border-card-hover: rgba(208, 187, 160, 0.4);
    --border-sand:      rgba(208, 187, 160, 0.2);
    --border-sand-strong: rgba(208, 187, 160, 0.5);
    --shadow-card:      0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(208, 187, 160, 0.12);
    --shadow-hover:     0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(86, 14, 27, 0.35);
    --primary:          #560E1B;
    --primary-hover:    #801428;
    --primary-glow:     rgba(86, 14, 27, 0.45);
    --primary-text:     #FFFFFF;
    --secondary:        #D0BBA0;
    --secondary-hover:  #E4D5C3;
    --secondary-subtle: rgba(208, 187, 160, 0.12);
    --secondary-text:   #000000;
    --accent-sand:      #D0BBA0;
    --accent-sand-hover:#E4D5C3;
    --accent-sand-dark: #A79077;
    --accent-gold:      #D0BBA0;
    --accent-champagne: #D0BBA0;
    --accent-bordeaux:  #560E1B;
    --text-main:        #F5F5F5;
    --text-primary:     #F5F5F5;
    --text-muted:       #9E968F;
    --text-sub:         #D0BBA0;
    --text-faint:       #635C57;
    --text-gold:        #D0BBA0;
    --text-dark:        #000000;
    --badge-bg:         rgba(86, 14, 27, 0.45);
    --toggle-bg:        rgba(30, 26, 28, 0.9);
    --toggle-border:    rgba(208, 187, 160, 0.35);
    --toggle-color:     #D0BBA0;
    --liberty:          #121212;
    --liberty-card:     #1E1A1C;
    --bg-onyx:          #121212;
    --bg-forest-dark:   #121212;
    --bg-burgundy:      #121212;
    --bg-burgundy-card: #1E1A1C;
    --pigment:          #560E1B;
    --lavender:         #D0BBA0;
    --lavender-light:   #E4D5C3;
    --cool-grey:        #9E968F;
}
html.light-mode,
html[data-theme="light"] {
    --bg-body:          #F7F5F0;
    --bg-main:          #F7F5F0;
    --bg-main-rgb:      247, 245, 240;
    --bg-subtle:        #ECE8E0;
    --bg-card:          #FFFFFF;
    --bg-card-hover:    #FAF8F5;
    --bg-card-solid:    #FFFFFF;
    --bg-input:         #ECE8E0;
    --bg-nav:           rgba(247, 245, 240, 0.94);
    --navbar-bg:        rgba(247, 245, 240, 0.94);
    --bg-drawer:        #F7F5F0;
    --bg-overlay:       rgba(24, 21, 20, 0.45);
    --bg-dropdown:      #FFFFFF;
    --bg-toast:         #181514;
    --bg-scrollbar-track: #F7F5F0;
    --border-card:      rgba(86, 14, 27, 0.08);
    --border-card-hover: rgba(86, 14, 27, 0.28);
    --border-sand:      rgba(86, 14, 27, 0.12);
    --border-sand-strong: rgba(86, 14, 27, 0.35);
    --shadow-card:      0 10px 30px -4px rgba(86, 14, 27, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(86, 14, 27, 0.07);
    --shadow-hover:     0 20px 42px -6px rgba(86, 14, 27, 0.12), 0 6px 18px -3px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(86, 14, 27, 0.18);
    --primary:          #560E1B;
    --primary-hover:    #731324;
    --primary-glow:     rgba(86, 14, 27, 0.32);
    --primary-text:     #FFFFFF;
    --secondary:        #560E1B;
    --secondary-hover:  #731324;
    --secondary-subtle: rgba(86, 14, 27, 0.07);
    --secondary-text:   #FFFFFF;
    --accent-sand:      #D0BBA0;
    --accent-sand-hover:#C2AB8F;
    --accent-sand-dark: #A79077;
    --accent-gold:      #560E1B;
    --accent-champagne: #560E1B;
    --accent-bordeaux:  #560E1B;
    --text-main:        #181514;
    --text-primary:     #181514;
    --text-secondary:   #3E3835;
    --text-muted:       #5E5650;
    --text-sub:         #560E1B;
    --text-faint:       #8E857D;
    --text-gold:        #560E1B;
    --text-dark:        #181514;
    --badge-bg:         rgba(86, 14, 27, 0.08);
    --toggle-bg:        rgba(255, 255, 255, 0.95);
    --toggle-border:    rgba(86, 14, 27, 0.25);
    --toggle-color:     #560E1B;
    --liberty:          #F7F5F0;
    --liberty-card:     #FFFFFF;
    --bg-onyx:          #F7F5F0;
    --bg-forest-dark:   #F7F5F0;
    --bg-burgundy:      #F7F5F0;
    --bg-burgundy-card: #FFFFFF;
    --pigment:          #560E1B;
    --lavender:         #560E1B;
    --lavender-light:   #731324;
    --cool-grey:        #5E5650;
}
*, *::before, *::after { box-sizing: border-box; }
html {
    transition: background-color 0.35s ease, color 0.35s ease;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-body, #121212);
    color: var(--text-primary, #F5F5F5);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    background-image: radial-gradient(ellipse 80% 60% at 50% 15%, rgba(208, 187, 160, 0.03) 0%, transparent 70%);
}
html.light-mode body,
html[data-theme="light"] body {
    background: var(--bg-body, #F7F5F0);
    color: var(--text-primary, #181514);
    background-image: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(86, 14, 27, 0.035) 0%, transparent 70%);
}

::selection {
    background: #D0BBA0;
    color: #000000;
}
::-webkit-scrollbar            { width: 6px; height: 6px; }
::-webkit-scrollbar-track      { background: var(--bg-scrollbar-track, #121212); }
::-webkit-scrollbar-thumb      { background: rgba(208, 187, 160, 0.4); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover{ background: #D0BBA0; }
.glass {
    background: var(--bg-nav, rgba(18, 18, 18, 0.92));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-card, rgba(208, 187, 160, 0.16));
    transition: background 0.35s ease, border-color 0.35s ease;
}
#mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
#mobile-drawer.open { pointer-events: all; }

#drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
}
#mobile-drawer.open #drawer-overlay { background: rgba(0, 0, 0, 0.7); }

#drawer-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-drawer, #121212);
    border-top: 1px solid var(--border-sand, rgba(208, 187, 160, 0.3));
    border-radius: 12px 12px 0 0;
    padding: 20px 24px 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), background 0.35s ease;
    max-height: 85vh;
    overflow-y: auto;
}
#mobile-drawer.open #drawer-panel { transform: translateY(0); }
.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--sand-text, #D0BBA0);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}
.drawer-link:hover, .drawer-link.active {
    background: rgba(208, 187, 160, 0.12);
    color: #FFFFFF;
    border-color: rgba(208, 187, 160, 0.3);
}
.drawer-link i { width: 22px; text-align: center; color: var(--sand-text, #D0BBA0); }
h1, h2, h3,
.font-display,
.serif-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.01em;
    color: var(--text-primary, #FFFFFF);
}

.font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
}
.wm-card,
.webtoon-card,
.wt-card {
    position: relative;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--bg-card, #1E1A1C);
    border: 1px solid var(--border-card, rgba(208, 187, 160, 0.16));
    box-shadow: var(--shadow-card, 0 10px 30px -5px rgba(0, 0, 0, 0.6));
    cursor: pointer;
    transition:
        transform    0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow   0.35s ease,
        border-color 0.35s ease;
}
.wm-card:hover,
.webtoon-card:hover,
.wt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover, 0 20px 40px -10px rgba(0, 0, 0, 0.8));
    border-color: var(--border-card-hover, rgba(208, 187, 160, 0.4));
}
.wm-card img,
.webtoon-card img,
.wt-card img {
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.95);
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wm-card:hover img,
.webtoon-card:hover img,
.wt-card:hover img {
    filter: brightness(1.03);
    transform: scale(1.04);
}
.wm-card [class*="badge"],
.wm-card .absolute,
.webtoon-card [class*="badge"],
.webtoon-card .absolute {
    z-index: 5;
}
.btn-primary,
.btn-burgundy,
button.primary {
    background: var(--primary, #560E1B);
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--primary-glow, rgba(86, 14, 27, 0.4));
}
.btn-primary:hover,
.btn-burgundy:hover,
button.primary:hover {
    background: var(--primary-hover, #801428);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px var(--primary-glow, rgba(86, 14, 27, 0.6));
    color: #FFFFFF !important;
}
.btn-primary:active,
.btn-burgundy:active,
button.primary:active {
    transform: translateY(0);
}
.btn-gold,
.btn-secondary {
    background: #D0BBA0;
    color: #000000 !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-gold:hover,
.btn-secondary:hover {
    background: #E4D5C3;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(208, 187, 160, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--sand-text, #D0BBA0);
    font-weight: 600;
    border: 1px solid rgba(208, 187, 160, 0.5);
    border-radius: 8px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline-gold:hover {
    background: rgba(208, 187, 160, 0.15);
    border-color: #D0BBA0;
    color: #FFFFFF;
}
.icon-favorite::before {
    content: '\f084';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
.icon-favorite.active {
    color: var(--sand-text, #D0BBA0) !important;
    filter: drop-shadow(0 0 6px rgba(208, 187, 160, 0.6));
}
.rating-candle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--sand-text, #D0BBA0);
}
.rating-candle .candle-icon {
    font-size: 0.8em;
    line-height: 1;
    opacity: 0.4;
}
.rating-candle .candle-icon.lit {
    opacity: 1;
    color: var(--sand-text, #D0BBA0);
    filter: drop-shadow(0 0 4px rgba(208, 187, 160, 0.6));
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes candleFlicker {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(208, 187, 160, 0.5)); }
    50%       { opacity: 0.85; filter: drop-shadow(0 0 8px rgba(208, 187, 160, 0.8)); }
}

.animate-fade-in    { animation: fadeIn 0.4s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.4s ease-out forwards; }
.animate-candle     { animation: candleFlicker 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(86, 14, 27, 0.8) 25%,
        rgba(208, 187, 160, 0.15) 50%,
        rgba(86, 14, 27, 0.8) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite;
    border-radius: 8px;
}
@keyframes skeleton-shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce),
       (prefers-reduced-data: reduce) {
    .skeleton {
        animation: none;
        background: rgba(86, 14, 27, 0.7);
    }
}
#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--bg-toast, #560E1B);
    border: 1px solid var(--border-sand, rgba(208, 187, 160, 0.4));
    color: var(--text-primary, #FFFFFF);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(.32, .72, 0, 1), opacity 0.3s;
    opacity: 0;
    z-index: 9999;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--toggle-bg, rgba(86, 14, 27, 0.85));
    border: 1px solid var(--toggle-border, rgba(208, 187, 160, 0.4));
    color: var(--toggle-color, #D0BBA0);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
                transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 16px rgba(208, 187, 160, 0.3);
    border-color: var(--toggle-color, #D0BBA0);
}
.theme-toggle-btn:active {
    transform: scale(0.95);
}
.theme-toggle-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(208,187,160,0.6), rgba(86,14,27,0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.theme-toggle-btn:hover::after {
    opacity: 1;
}
#scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(86, 14, 27, 0.92);
    border: 1px solid rgba(208, 187, 160, 0.4);
    color: var(--sand-text, #D0BBA0);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s, border-color 0.2s;
    z-index: 8000;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
#scroll-top-btn:hover {
    background: rgba(208, 187, 160, 0.18);
    border-color: #D0BBA0;
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(208, 187, 160, 0.25);
}
.divider-gold {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(208, 187, 160, 0.2) 20%,
        rgba(208, 187, 160, 0.6) 50%,
        rgba(208, 187, 160, 0.2) 80%,
        transparent 100%
    );
    margin: 2rem 0;
}
.badge-gold {
    background: rgba(208, 187, 160, 0.15);
    border: 1px solid rgba(208, 187, 160, 0.4);
    color: var(--sand-text, #D0BBA0);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 1.2em;
    background: #D0BBA0;
    border-radius: 2px;
    flex-shrink: 0;
}
.spoiler-block,
.markdown_spoiler {
    background: #252022;
    color: transparent !important;
    border: 1px dashed rgba(208, 187, 160, 0.45);
    border-radius: 6px;
    padding: 2px 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.4;
    text-shadow: none !important;
}

.spoiler-block:hover,
.markdown_spoiler:hover {
    background: #332B2F;
    border-color: rgba(208, 187, 160, 0.8);
}

.spoiler-block.revealed,
.markdown_spoiler.revealed {
    color: #F5F5F5 !important;
    background: rgba(208, 187, 160, 0.15) !important;
    border: 1px solid rgba(208, 187, 160, 0.35) !important;
    user-select: text !important;
}
html.light-mode .section-title            { color: var(--text-primary); }
html.light-mode h1, html.light-mode h2,
html.light-mode h3, html.light-mode .font-display,
html.light-mode .serif-title              { color: var(--text-primary); }
html.light-mode .drawer-link              { color: var(--text-secondary); }
html.light-mode .drawer-link:hover,
html.light-mode .drawer-link.active       {
    background: rgba(86, 14, 27, 0.08);
    color: var(--sand-text, #560E1B);
    border-color: rgba(86, 14, 27, 0.2);
}
html.light-mode .drawer-link i           { color: var(--sand-text, #560E1B); }
html.light-mode #toast                   {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
html.light-mode #scroll-top-btn {
    background: var(--bg-card);
    border-color: rgba(86, 14, 27, 0.25);
    color: var(--sand-text, #560E1B);
}
html.light-mode #scroll-top-btn:hover {
    background: rgba(86, 14, 27, 0.08);
    border-color: #560E1B;
    color: var(--sand-text, #560E1B);
}
html.light-mode .wm-card,
html.light-mode .webtoon-card,
html.light-mode .wt-card {
    background: var(--bg-card);
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 10px 25px -4px rgba(86, 14, 27, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
html.light-mode .wm-card:hover,
html.light-mode .webtoon-card:hover,
html.light-mode .wt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -6px rgba(86, 14, 27, 0.12), 0 6px 14px -3px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(86, 14, 27, 0.22) !important;
}
html.light-mode .skeleton {
    background: linear-gradient(
        90deg,
        rgba(238, 234, 227, 0.8) 25%,
        var(--bg-card) 50%,
        rgba(238, 234, 227, 0.8) 75%
    );
    background-size: 200% 100%;
}
html.light-mode .badge-gold {
    background: rgba(86, 14, 27, 0.07);
    border-color: rgba(86, 14, 27, 0.25);
    color: var(--sand-text, #560E1B);
}
html.light-mode .divider-gold {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(86, 14, 27, 0.08) 20%,
        rgba(86, 14, 27, 0.28) 50%,
        rgba(86, 14, 27, 0.08) 80%,
        transparent 100%
    );
}
html.light-mode .btn-outline-gold {
    color: var(--sand-text, #560E1B);
    border-color: rgba(86, 14, 27, 0.35);
}
html.light-mode .btn-outline-gold:hover {
    background: rgba(86, 14, 27, 0.08);
    border-color: #560E1B;
    color: var(--sand-text, #560E1B);
}
html.light-mode .text-white,
html[data-theme="light"] .text-white              { color: var(--text-primary, #181514) !important; }
html.light-mode .text-cool-grey,
html[data-theme="light"] .text-cool-grey         { color: var(--text-muted, #5E5650) !important; }
.bg-liberty          { background-color: var(--bg-body) !important; }
.bg-liberty-card     { background-color: var(--bg-card) !important; }
.bg-forest-dark      { background-color: var(--bg-body) !important; }
.bg-burgundy-card    { background-color: var(--bg-card) !important; }

html.light-mode .bg-liberty,
html[data-theme="light"] .bg-liberty { background-color: var(--bg-body, #F7F5F0) !important; }

html.light-mode .bg-liberty-card,
html[data-theme="light"] .bg-liberty-card {
    background-color: var(--bg-card, #FFFFFF) !important;
    border-color: var(--border-card) !important;
}

html.light-mode .glass,
html[data-theme="light"] .glass {
    background: var(--bg-nav, rgba(247, 245, 240, 0.94)) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 4px 20px -2px rgba(86, 14, 27, 0.03);
}
html.light-mode .section-title,
html[data-theme="light"] .section-title { color: var(--text-primary, #181514) !important; }
html.light-mode [class*=text-white],
html[data-theme="light"] [class*=text-white] { color: var(--text-primary, #181514) !important; }
html.light-mode .text-sand,
html[data-theme="light"] .text-sand           { color: var(--text-primary, #181514) !important; }

html.light-mode .text-gold,
html[data-theme="light"] .text-gold           { color: var(--primary, #560E1B) !important; }

html.light-mode .text-champagne,
html[data-theme="light"] .text-champagne      { color: var(--text-primary, #181514) !important; }

html.light-mode .text-lavender,
html[data-theme="light"] .text-lavender       { color: var(--text-primary, #181514) !important; }

html.light-mode .text-lavender-light,
html[data-theme="light"] .text-lavender-light { color: var(--text-muted, #5E5650) !important; }

html.light-mode .text-bordeaux,
html[data-theme="light"] .text-bordeaux       { color: var(--primary, #560E1B) !important; }

html.light-mode .text-cool-grey,
html[data-theme="light"] .text-cool-grey      { color: var(--text-muted, #5E5650) !important; }
html.light-mode [style*="color:var(--sand-text, #D0BBA0)"],
html[data-theme="light"] [style*="color:var(--sand-text, #D0BBA0)"],
html.light-mode [style*="color: var(--sand-text, #D0BBA0)"],
html[data-theme="light"] [style*="color: var(--sand-text, #D0BBA0)"] {
    color: var(--text-primary, #181514) !important;
}
html.light-mode span[style*="background:#D0BBA0"],
html[data-theme="light"] span[style*="background:#D0BBA0"] {
    background: var(--primary, #560E1B) !important;
}
.hero-overlay-horizontal {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(18, 18, 18, 1) 0%,
        rgba(18, 18, 18, 0.98) 22%,
        rgba(18, 18, 18, 0.88) 38%,
        rgba(18, 18, 18, 0.58) 54%,
        rgba(18, 18, 18, 0.22) 72%,
        rgba(18, 18, 18, 0.05) 86%,
        transparent 100%
    );
    transition: background 0.4s ease;
}

.hero-overlay-bottom {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        0deg,
        rgba(18, 18, 18, 1) 0%,
        rgba(18, 18, 18, 0.9) 14%,
        rgba(18, 18, 18, 0.5) 30%,
        rgba(18, 18, 18, 0.12) 48%,
        transparent 65%
    );
    transition: background 0.4s ease;
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.75) 0%,
        rgba(18, 18, 18, 0.25) 15%,
        transparent 32%
    );
    transition: background 0.4s ease;
}
html.light-mode .hero-overlay-horizontal,
html[data-theme="light"] .hero-overlay-horizontal {
    background: linear-gradient(
        90deg,
        var(--bg-body) 0%,
        rgba(247, 245, 240, 0.98) 22%,
        rgba(247, 245, 240, 0.92) 36%,
        rgba(247, 245, 240, 0.7) 52%,
        rgba(247, 245, 240, 0.35) 68%,
        rgba(247, 245, 240, 0.08) 84%,
        transparent 100%
    ) !important;
}

html.light-mode .hero-overlay-bottom,
html[data-theme="light"] .hero-overlay-bottom {
    background: linear-gradient(
        0deg,
        var(--bg-body) 0%,
        rgba(247, 245, 240, 0.94) 14%,
        rgba(247, 245, 240, 0.55) 32%,
        rgba(247, 245, 240, 0.12) 50%,
        transparent 68%
    ) !important;
}

html.light-mode .hero-overlay-top,
html[data-theme="light"] .hero-overlay-top {
    background: linear-gradient(
        180deg,
        rgba(247, 245, 240, 0.8) 0%,
        rgba(247, 245, 240, 0.3) 14%,
        transparent 30%
    ) !important;
}
#hero-desc-container,
.hero-desc-box {
    position: relative;
    background: rgba(28, 24, 26, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 3.5px solid #D0BBA0;
    border-top: 1px solid rgba(208, 187, 160, 0.12);
    border-right: 1px solid rgba(208, 187, 160, 0.12);
    border-bottom: 1px solid rgba(208, 187, 160, 0.12);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

html.light-mode #hero-desc-container,
html[data-theme="light"] #hero-desc-container,
html.light-mode .hero-desc-box,
html[data-theme="light"] .hero-desc-box {
    background: rgba(238, 235, 229, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-left: 3.5px solid #560E1B !important;
    border-top: 1px solid rgba(86, 14, 27, 0.1) !important;
    border-right: 1px solid rgba(86, 14, 27, 0.1) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.1) !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 16px 22px !important;
    box-shadow: 0 6px 24px -4px rgba(86, 14, 27, 0.06), 0 2px 8px -2px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

#hero-desc-container p,
.hero-desc-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

html.light-mode #hero-desc-container p,
html[data-theme="light"] #hero-desc-container p {
    color: var(--text-primary, #181514) !important;
    font-weight: 500;
}
.hero-read-btn {
    background: linear-gradient(135deg, #5B0E1D 0%, #460A15 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(86, 14, 27, 0.45);
    border-radius: 10px;
    padding: 14px 34px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(86, 14, 27, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-read-btn:hover {
    background: linear-gradient(135deg, #741325 0%, #5B0E1D 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(86, 14, 27, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
}
.hero-read-btn:active {
    transform: translateY(0);
}

.hero-add-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(208, 187, 160, 0.08);
    border: 1px solid rgba(208, 187, 160, 0.35);
    color: var(--sand-text, #D0BBA0);
    backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-add-btn:hover {
    background: rgba(208, 187, 160, 0.18);
    border-color: #D0BBA0;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(208, 187, 160, 0.3);
}

html.light-mode .hero-add-btn,
html[data-theme="light"] .hero-add-btn {
    background: rgba(247, 245, 240, 0.9) !important;
    border: 1px solid rgba(86, 14, 27, 0.22) !important;
    color: var(--sand-text, #560E1B) !important;
    box-shadow: 0 2px 10px rgba(86, 14, 27, 0.06) !important;
}
html.light-mode .hero-add-btn:hover,
html[data-theme="light"] .hero-add-btn:hover {
    background: rgba(86, 14, 27, 0.08) !important;
    border-color: #560E1B !important;
    color: var(--sand-text, #560E1B) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(86, 14, 27, 0.18) !important;
}
.nav-item-link {
    color: var(--text-muted, #9E968F);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}
.nav-item-link:hover {
    color: var(--primary, #560E1B) !important;
}
html:not(.light-mode) .nav-item-link:hover {
    color: #FFFFFF !important;
}

.nav-active-link {
    color: #FFFFFF;
    border-bottom: 2px solid #D0BBA0;
    padding-bottom: 4px;
    font-weight: 700;
    text-decoration: none;
}
html.light-mode .nav-active-link,
html[data-theme="light"] .nav-active-link {
    color: var(--sand-text, #560E1B) !important;
    border-bottom-color: #560E1B !important;
}

.nav-ui-badge {
    background: #D0BBA0;
    color: #000000;
    box-shadow: 0 0 12px rgba(208, 187, 160, 0.4);
    text-decoration: none;
}
html.light-mode .nav-ui-badge,
html[data-theme="light"] .nav-ui-badge {
    background: #560E1B !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 12px rgba(86, 14, 27, 0.35) !important;
}

.nav-dot-actus {
    background-color: #D0BBA0;
}
html.light-mode .nav-dot-actus,
html[data-theme="light"] .nav-dot-actus {
    background-color: #560E1B !important;
}

.nav-more-dropdown {
    background: var(--bg-card, #1E1A1C);
    border: 1px solid var(--border-card, rgba(208, 187, 160, 0.25));
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}
html.light-mode .nav-more-dropdown,
html[data-theme="light"] .nav-more-dropdown {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.12) !important;
    box-shadow: 0 16px 36px -6px rgba(86, 14, 27, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
html.light-mode .nav-more-dropdown a {
    color: #3E3835 !important;
}
html.light-mode .nav-more-dropdown a:hover {
    background: rgba(86, 14, 27, 0.06) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .nav-more-dropdown i {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .logo-aridong,
html.light-mode .logo-wm2 {
    filter: drop-shadow(0 2px 10px rgba(86, 14, 27, 0.35)) !important;
}
html.light-mode .wm-logo:hover .logo-aridong,
html.light-mode .wm-logo:hover .logo-wm2 {
    filter: drop-shadow(0 4px 16px rgba(86, 14, 27, 0.55)) !important;
}
html.light-mode .wm-logo span {
    color: var(--text-primary, #181514) !important;
}
.luxury-section-container {
    background: var(--bg-card, #1E1A1C);
    border: 1px solid var(--border-card, rgba(208, 187, 160, 0.16));
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

html.light-mode .luxury-section-container,
html[data-theme="light"] .luxury-section-container {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 12px 36px -6px rgba(86, 14, 27, 0.05), 0 2px 10px -2px rgba(0, 0, 0, 0.03) !important;
}
.carousel-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(208, 187, 160, 0.3);
    color: var(--sand-text, #D0BBA0);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-nav-btn:hover {
    background: rgba(208, 187, 160, 0.18);
    color: #FFFFFF;
    transform: translateY(-1px);
}
html.light-mode .carousel-nav-btn,
html[data-theme="light"] .carousel-nav-btn {
    background: var(--bg-body) !important;
    border: 1px solid rgba(86, 14, 27, 0.16) !important;
    color: var(--sand-text, #560E1B) !important;
    box-shadow: 0 1px 4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .carousel-nav-btn:hover,
html[data-theme="light"] .carousel-nav-btn:hover {
    background: #560E1B !important;
    border-color: #560E1B !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(86, 14, 27, 0.28) !important;
    transform: translateY(-1px);
}
.section-accent-bar {
    width: 3.5px;
    height: 1.25em;
    background: #D0BBA0;
    border-radius: 2px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}
html.light-mode .section-accent-bar,
html[data-theme="light"] .section-accent-bar {
    background: #560E1B !important;
}
html.light-mode .text-shimmer,
html[data-theme="light"] .text-shimmer {
    background: linear-gradient(135deg, #560E1B 0%, #83152A 50%, #560E1B 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}
.search-bar-input {
    background: var(--bg-input, #161315);
    border: 1px solid var(--border-card, rgba(208, 187, 160, 0.25));
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--text-main, #F5F5F5);
    transition: all 0.2s ease;
}
.search-bar-input:focus {
    border-color: var(--primary, #560E1B) !important;
    box-shadow: 0 0 0 3px var(--primary-glow, rgba(86, 14, 27, 0.18)) !important;
}
html.light-mode .search-bar-input,
html[data-theme="light"] .search-bar-input {
    background: var(--bg-input, #ECE8E0) !important;
    border-color: rgba(86, 14, 27, 0.15) !important;
    color: var(--text-main, #181514) !important;
}
html.light-mode .search-bar-input::placeholder,
html[data-theme="light"] .search-bar-input::placeholder {
    color: #8E857D !important;
}
html.light-mode h2 i[style*="color:var(--sand-text, #D0BBA0)"],
html[data-theme="light"] h2 i[style*="color:var(--sand-text, #D0BBA0)"],
html.light-mode h2 i[style*="color: var(--sand-text, #D0BBA0)"],
html[data-theme="light"] h2 i[style*="color: var(--sand-text, #D0BBA0)"] {
    color: var(--primary, #560E1B) !important;
}
html.light-mode h1,
html[data-theme="light"] h1,
html.light-mode h2,
html[data-theme="light"] h2,
html.light-mode h3,
html[data-theme="light"] h3,
html.light-mode h4,
html[data-theme="light"] h4 {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .text-white:not(.btn-primary):not(.btn-burgundy):not(button.primary):not([class*="badge"]):not(.detail-status-badge):not(.status-badge):not(.status-RELEASING):not(.status-FINISHED):not(.status-CANCELLED):not(.status-HIATUS):not(.active-diff):not(.genre-chip.active):not(.sort-btn.active):not(.tab-btn.active):not(.view-btn.active):not(.top-tab.active):not(.filter-pill.active),
html[data-theme="light"] .text-white:not(.btn-primary):not(.btn-burgundy):not(button.primary):not([class*="badge"]):not(.detail-status-badge):not(.status-badge):not(.status-RELEASING):not(.status-FINISHED):not(.status-CANCELLED):not(.status-HIATUS):not(.active-diff):not(.genre-chip.active):not(.sort-btn.active):not(.tab-btn.active):not(.view-btn.active):not(.top-tab.active):not(.filter-pill.active) {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .text-sand,
html[data-theme="light"] .text-sand,
html.light-mode [class*="text-sand"]:not(.text-sand\/80):not(.text-sand\/60):not(.text-sand\/50) {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .text-sand\/80,
html[data-theme="light"] .text-sand\/80,
html.light-mode .text-sand\/60,
html[data-theme="light"] .text-sand\/60 {
    color: var(--text-muted, #5E5650) !important;
}

html.light-mode .text-cool-grey,
html[data-theme="light"] .text-cool-grey,
html.light-mode .text-gray-400,
html[data-theme="light"] .text-gray-400,
html.light-mode .text-gray-500,
html[data-theme="light"] .text-gray-500,
html.light-mode .text-gray-600,
html[data-theme="light"] .text-gray-600 {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .search-hero,
html[data-theme="light"] .search-hero {
    background: var(--bg-body) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .search-hero::before,
html[data-theme="light"] .search-hero::before {
    background-image: radial-gradient(rgba(86, 14, 27, 0.06) 1px, transparent 1px) !important;
}
html.light-mode .search-hero::after,
html[data-theme="light"] .search-hero::after {
    background: linear-gradient(to top, var(--bg-body), transparent) !important;
}

html.light-mode .main-search-input,
html[data-theme="light"] .main-search-input {
    background: var(--bg-card) !important;
    border: 1.5px solid rgba(86, 14, 27, 0.22) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 8px 30px -4px rgba(86, 14, 27, 0.07), 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}
html.light-mode .main-search-input::placeholder,
html[data-theme="light"] .main-search-input::placeholder {
    color: #8E857D !important;
}
html.light-mode .main-search-input:focus,
html[data-theme="light"] .main-search-input:focus {
    background: var(--bg-card) !important;
    border-color: #560E1B !important;
    box-shadow: 0 0 0 3.5px rgba(86, 14, 27, 0.14), 0 12px 36px rgba(86, 14, 27, 0.1) !important;
}
html.light-mode .search-icon,
html[data-theme="light"] .search-icon {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .search-clear,
html[data-theme="light"] .search-clear {
    background: rgba(86, 14, 27, 0.08) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .search-clear:hover,
html[data-theme="light"] .search-clear:hover {
    background: rgba(86, 14, 27, 0.16) !important;
}
html.light-mode .suggestion-chip,
html[data-theme="light"] .suggestion-chip {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.12) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 2px 8px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .suggestion-chip:hover,
html[data-theme="light"] .suggestion-chip:hover {
    background: rgba(86, 14, 27, 0.06) !important;
    border-color: #560E1B !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .filter-bar,
html[data-theme="light"] .filter-bar {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 10px 30px -4px rgba(86, 14, 27, 0.05) !important;
}
html.light-mode .filter-select,
html[data-theme="light"] .filter-select {
    background-color: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23560E1B'/%3E%3C/svg%3E") !important;
}
html.light-mode .filter-select option,
html[data-theme="light"] .filter-select option {
    background: var(--bg-card) !important;
    color: var(--text-primary, #181514) !important;
}
html.light-mode .filter-select:focus,
html[data-theme="light"] .filter-select:focus,
html.light-mode .filter-select:hover,
html[data-theme="light"] .filter-select:hover {
    border-color: #560E1B !important;
    box-shadow: 0 0 0 2px rgba(86, 14, 27, 0.12) !important;
}
html.light-mode .genre-chip,
html[data-theme="light"] .genre-chip,
html.light-mode .sort-btn,
html[data-theme="light"] .sort-btn {
    background: var(--bg-body) !important;
    border: 1px solid rgba(86, 14, 27, 0.12) !important;
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .genre-chip:hover,
html[data-theme="light"] .genre-chip:hover,
html.light-mode .sort-btn:hover,
html[data-theme="light"] .sort-btn:hover {
    background: var(--bg-card) !important;
    border-color: #560E1B !important;
    color: var(--sand-text, #560E1B) !important;
    transform: translateY(-1px);
}
html.light-mode .genre-chip.active,
html[data-theme="light"] .genre-chip.active,
html.light-mode .sort-btn.active,
html[data-theme="light"] .sort-btn.active {
    background: #560E1B !important;
    border-color: #560E1B !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(86, 14, 27, 0.35) !important;
}
html.light-mode .result-card,
html[data-theme="light"] .result-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
html.light-mode .result-card:hover,
html[data-theme="light"] .result-card:hover {
    border-color: rgba(86, 14, 27, 0.28) !important;
    box-shadow: 0 18px 40px -6px rgba(86, 14, 27, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
html.light-mode .result-card .card-title,
html[data-theme="light"] .result-card .card-title {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .result-card .card-sub,
html[data-theme="light"] .result-card .card-sub {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .result-card .card-genre-tag,
html[data-theme="light"] .result-card .card-genre-tag {
    background: rgba(86, 14, 27, 0.06) !important;
    border: 1px solid rgba(86, 14, 27, 0.12) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .card-score-badge,
html[data-theme="light"] .card-score-badge {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.16) !important;
    color: var(--sand-text, #560E1B) !important;
    box-shadow: 0 2px 8px rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .stat-chip,
html[data-theme="light"] .stat-chip {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.1) !important;
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .stat-chip span,
html[data-theme="light"] .stat-chip span {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .view-btn,
html[data-theme="light"] .view-btn {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.14) !important;
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .view-btn:hover,
html[data-theme="light"] .view-btn:hover {
    border-color: #560E1B !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .view-btn.active,
html[data-theme="light"] .view-btn.active {
    background: #560E1B !important;
    border-color: #560E1B !important;
    color: #FFFFFF !important;
}
html.light-mode .post-card,
html[data-theme="light"] .post-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
html.light-mode .post-card:hover,
html[data-theme="light"] .post-card:hover {
    border-color: rgba(86, 14, 27, 0.22) !important;
    box-shadow: 0 14px 34px -4px rgba(86, 14, 27, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}
html.light-mode .post-card span.text-white,
html[data-theme="light"] .post-card span.text-white,
html.light-mode .post-card .font-bold.text-white,
html[data-theme="light"] .post-card .font-bold.text-white {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .post-card p.text-gray-100,
html[data-theme="light"] .post-card p.text-gray-100 {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .post-card .text-gray-500,
html[data-theme="light"] .post-card .text-gray-500,
html.light-mode .post-card .text-gray-600,
html[data-theme="light"] .post-card .text-gray-600 {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .spoiler-block,
html[data-theme="light"] .spoiler-block,
html.light-mode .markdown_spoiler,
html[data-theme="light"] .markdown_spoiler {
    background: #EAE3D9 !important;
    color: transparent !important;
    border: 1px dashed rgba(86, 14, 27, 0.38) !important;
    box-shadow: 0 1px 3px rgba(86, 14, 27, 0.05);
}

html.light-mode .spoiler-block:hover,
html[data-theme="light"] .spoiler-block:hover,
html.light-mode .markdown_spoiler:hover,
html[data-theme="light"] .markdown_spoiler:hover {
    background: #DFD5C8 !important;
    border-color: rgba(86, 14, 27, 0.7) !important;
}

html.light-mode .spoiler-block.revealed,
html[data-theme="light"] .spoiler-block.revealed,
html.light-mode .markdown_spoiler.revealed,
html[data-theme="light"] .markdown_spoiler.revealed {
    color: var(--text-primary, #181514) !important;
    background: rgba(86, 14, 27, 0.08) !important;
    border: 1px solid rgba(86, 14, 27, 0.25) !important;
    user-select: text !important;
}
html.light-mode .compose-box,
html[data-theme="light"] .compose-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .compose-textarea,
html[data-theme="light"] .compose-textarea {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .compose-textarea::placeholder,
html[data-theme="light"] .compose-textarea::placeholder {
    color: #8E857D !important;
}
html.light-mode .compose-box .border-t,
html[data-theme="light"] .compose-box .border-t {
    border-color: rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .tab-btn,
html[data-theme="light"] .tab-btn {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .tab-btn:hover:not(.active),
html[data-theme="light"] .tab-btn:hover:not(.active) {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .tab-btn.active,
html[data-theme="light"] .tab-btn.active {
    color: var(--sand-text, #560E1B) !important;
    border-bottom-color: #560E1B !important;
    font-weight: 800 !important;
}
html.light-mode .action-btn,
html[data-theme="light"] .action-btn {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .action-btn:hover,
html[data-theme="light"] .action-btn:hover {
    color: var(--sand-text, #560E1B) !important;
    background: rgba(86, 14, 27, 0.06) !important;
}
html.light-mode .action-btn.liked,
html[data-theme="light"] .action-btn.liked,
html.light-mode .action-btn.bookmarked,
html[data-theme="light"] .action-btn.bookmarked {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .sidebar-link,
html[data-theme="light"] .sidebar-link {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .sidebar-link:hover,
html[data-theme="light"] .sidebar-link:hover {
    background: rgba(86, 14, 27, 0.05) !important;
    color: var(--text-primary, #181514) !important;
}
html.light-mode .sidebar-link.active,
html[data-theme="light"] .sidebar-link.active {
    background: rgba(86, 14, 27, 0.08) !important;
    color: var(--sand-text, #560E1B) !important;
    border-color: rgba(86, 14, 27, 0.18) !important;
    font-weight: 700 !important;
}
html.light-mode .sidebar-link i,
html[data-theme="light"] .sidebar-link i {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode aside .bg-liberty-card,
html[data-theme="light"] aside .bg-liberty-card,
html.light-mode .bg-liberty-card,
html[data-theme="light"] .bg-liberty-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode aside h3.text-white,
html[data-theme="light"] aside h3.text-white {
    color: var(--text-primary, #181514) !important;
}
html.light-mode aside .text-gray-400,
html[data-theme="light"] aside .text-gray-400 {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode aside span.font-bold.text-white,
html[data-theme="light"] aside span.font-bold.text-white {
    color: var(--text-primary, #181514) !important;
}
html.light-mode aside span.font-bold.text-lavender,
html[data-theme="light"] aside span.font-bold.text-lavender {
    color: var(--sand-text, #560E1B) !important;
}

html.light-mode .hashtag,
html[data-theme="light"] .hashtag {
    color: var(--sand-text, #560E1B) !important;
    font-weight: 700 !important;
}
html.light-mode .webtoon-ping,
html[data-theme="light"] .webtoon-ping {
    background: rgba(86, 14, 27, 0.07) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .webtoon-ping:hover,
html[data-theme="light"] .webtoon-ping:hover {
    background: #560E1B !important;
    color: #FFFFFF !important;
}
html.light-mode .filter-chip,
html[data-theme="light"] .filter-chip {
    background: rgba(86, 14, 27, 0.07) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .trend-item:hover,
html[data-theme="light"] .trend-item:hover {
    background: rgba(86, 14, 27, 0.05) !important;
}
html.light-mode #new-container > div,
html[data-theme="light"] #new-container > div,
html.light-mode #genre-container > div,
html[data-theme="light"] #genre-container > div {
    border-color: rgba(86, 14, 27, 0.08) !important;
}
html.light-mode #new-container .wm-card + div,
html[data-theme="light"] #new-container .wm-card + div,
html.light-mode #genre-container .wm-card + div,
html[data-theme="light"] #genre-container .wm-card + div {
    background: var(--bg-card) !important;
    border-color: rgba(86, 14, 27, 0.08) !important;
}
html.light-mode #new-container h4,
html[data-theme="light"] #new-container h4,
html.light-mode #genre-container h4,
html[data-theme="light"] #genre-container h4 {
    color: var(--text-primary, #181514) !important;
}
html.light-mode #new-container h2,
html[data-theme="light"] #new-container h2,
html.light-mode #genre-container h2,
html[data-theme="light"] #genre-container h2 {
    color: var(--text-primary, #181514) !important;
}
html.light-mode #new-container .h-px,
html[data-theme="light"] #new-container .h-px,
html.light-mode #genre-container .h-px,
html[data-theme="light"] #genre-container .h-px {
    background: rgba(86, 14, 27, 0.1) !important;
}
html.light-mode .quiz-card,
html[data-theme="light"] .quiz-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .quiz-card:hover,
html[data-theme="light"] .quiz-card:hover {
    border-color: rgba(86, 14, 27, 0.22) !important;
    box-shadow: 0 16px 36px -4px rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .diff-btn,
html[data-theme="light"] .diff-btn {
    background: var(--bg-body) !important;
    color: var(--text-muted, #5E5650) !important;
    border: 1px solid rgba(86, 14, 27, 0.14) !important;
}
html.light-mode .diff-btn:hover,
html[data-theme="light"] .diff-btn:hover {
    border-color: #560E1B !important;
    color: var(--text-primary, #181514) !important;
}
html.light-mode .diff-btn.active-diff,
html[data-theme="light"] .diff-btn.active-diff {
    background: #560E1B !important;
    color: #FFFFFF !important;
    border-color: #560E1B !important;
    box-shadow: 0 4px 14px rgba(86, 14, 27, 0.35) !important;
}
html.light-mode .bento,
html[data-theme="light"] .bento {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .bento:hover,
html[data-theme="light"] .bento:hover {
    border-color: rgba(86, 14, 27, 0.22) !important;
    box-shadow: 0 16px 36px -4px rgba(86, 14, 27, 0.08) !important;
}
html.light-mode #profile-name,
html[data-theme="light"] #profile-name {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .bento .grid > div,
html[data-theme="light"] .bento .grid > div {
    background: var(--bg-body) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode #stat-total,
html[data-theme="light"] #stat-total,
html.light-mode #stat-chapters,
html[data-theme="light"] #stat-chapters {
    color: var(--text-primary, #181514) !important;
}
html.light-mode #xp-label,
html[data-theme="light"] #xp-label {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode #xp-bar,
html[data-theme="light"] #xp-bar {
    background: #560E1B !important;
}
html.light-mode #profile-grade,
html[data-theme="light"] #profile-grade {
    background: rgba(86, 14, 27, 0.08) !important;
    border: 1px solid rgba(86, 14, 27, 0.2) !important;
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode #profile-grade i,
html[data-theme="light"] #profile-grade i {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .manga-title,
html[data-theme="light"] .manga-title {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .manga-thumb,
html[data-theme="light"] .manga-thumb {
    border: 1px solid rgba(86, 14, 27, 0.12) !important;
}
html.light-mode .inp,
html[data-theme="light"] .inp {
    background: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1.5px solid rgba(86, 14, 27, 0.18) !important;
}
html.light-mode .inp:focus,
html[data-theme="light"] .inp:focus {
    border-color: #560E1B !important;
    box-shadow: 0 0 0 3px rgba(86, 14, 27, 0.12) !important;
}
html.light-mode .modal-box,
html[data-theme="light"] .modal-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.1) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 20px 60px rgba(86, 14, 27, 0.15) !important;
}
html.light-mode .detail-card,
html[data-theme="light"] .detail-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .detail-card-title,
html[data-theme="light"] .detail-card-title {
    color: var(--sand-text, #560E1B) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.1) !important;
}
html.light-mode .detail-stat-row,
html[data-theme="light"] .detail-stat-row {
    border-bottom: 1px solid rgba(86, 14, 27, 0.06) !important;
}
html.light-mode .detail-stat-label,
html[data-theme="light"] .detail-stat-label {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .detail-stat-value,
html[data-theme="light"] .detail-stat-value {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .synopsis-box,
html[data-theme="light"] .synopsis-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .synopsis-box::before,
html[data-theme="light"] .synopsis-box::before {
    color: rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .synopsis-authors,
html[data-theme="light"] .synopsis-authors {
    border-top: 1px solid rgba(86, 14, 27, 0.1) !important;
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .synopsis-authors span,
html[data-theme="light"] .synopsis-authors span {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .stat-box,
html[data-theme="light"] .stat-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .stat-box-label,
html[data-theme="light"] .stat-box-label {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .stat-box-value,
html[data-theme="light"] .stat-box-value {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .detail-section-title,
html[data-theme="light"] .detail-section-title {
    color: var(--text-primary, #181514) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.1) !important;
}
html.light-mode .detail-section-title i,
html[data-theme="light"] .detail-section-title i {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .read-link,
html[data-theme="light"] .read-link {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.1) !important;
}
html.light-mode .read-link:hover,
html[data-theme="light"] .read-link:hover {
    border-color: #560E1B !important;
    background: rgba(86, 14, 27, 0.05) !important;
}
html.light-mode .read-link-name,
html[data-theme="light"] .read-link-name {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .ep-row,
html[data-theme="light"] .ep-row {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    color: var(--text-primary, #181514) !important;
}
html.light-mode .ep-row:hover,
html[data-theme="light"] .ep-row:hover {
    background: var(--bg-body) !important;
    border-color: rgba(86, 14, 27, 0.25) !important;
}
html.light-mode .progress-input,
html[data-theme="light"] .progress-input {
    background: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
}
html.light-mode .rank-row,
html[data-theme="light"] .rank-row {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 4px 16px rgba(86, 14, 27, 0.03) !important;
}
html.light-mode .rank-row:hover,
html[data-theme="light"] .rank-row:hover {
    background: var(--bg-body) !important;
    border-color: rgba(86, 14, 27, 0.25) !important;
}
html.light-mode .wt-card,
html[data-theme="light"] .wt-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    color: var(--text-primary, #181514) !important;
    box-shadow: 0 4px 16px rgba(86, 14, 27, 0.03) !important;
}
html.light-mode .wt-card:hover,
html[data-theme="light"] .wt-card:hover {
    background: var(--bg-body) !important;
    border-color: rgba(86, 14, 27, 0.25) !important;
}
html.light-mode .top-tab,
html[data-theme="light"] .top-tab {
    background: var(--bg-body) !important;
    color: var(--text-muted, #5E5650) !important;
    border: 1px solid rgba(86, 14, 27, 0.14) !important;
}
html.light-mode .top-tab:hover,
html[data-theme="light"] .top-tab:hover {
    color: var(--text-primary, #181514) !important;
    border-color: #560E1B !important;
}
html.light-mode .top-tab.active,
html[data-theme="light"] .top-tab.active {
    background: #560E1B !important;
    color: #FFFFFF !important;
    border-color: #560E1B !important;
    box-shadow: 0 4px 14px rgba(86, 14, 27, 0.35) !important;
}
html.light-mode .podium-col.p1 .podium-avatar,
html[data-theme="light"] .podium-col.p1 .podium-avatar {
    background: var(--bg-card) !important;
    border-color: #560E1B !important;
}
html.light-mode .podium-col.p2 .podium-avatar,
html[data-theme="light"] .podium-col.p2 .podium-avatar,
html.light-mode .podium-col.p3 .podium-avatar,
html[data-theme="light"] .podium-col.p3 .podium-avatar {
    background: var(--bg-card) !important;
    border-color: rgba(86, 14, 27, 0.3) !important;
}
html.light-mode .actu-card,
html[data-theme="light"] .actu-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 8px 24px -4px rgba(86, 14, 27, 0.04) !important;
}
html.light-mode .hero-strip,
html[data-theme="light"] .hero-strip {
    background: var(--bg-card) !important;
    border-bottom: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .filter-pill,
html[data-theme="light"] .filter-pill {
    background: var(--bg-body) !important;
    color: var(--text-muted, #5E5650) !important;
    border: 1px solid rgba(86, 14, 27, 0.14) !important;
}
html.light-mode .filter-pill:hover,
html[data-theme="light"] .filter-pill:hover {
    color: var(--text-primary, #181514) !important;
    border-color: #560E1B !important;
}
html.light-mode .filter-pill.active,
html[data-theme="light"] .filter-pill.active {
    background: #560E1B !important;
    color: #FFFFFF !important;
    border-color: #560E1B !important;
}
html.light-mode .nl-box,
html[data-theme="light"] .nl-box {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .nl-input,
html[data-theme="light"] .nl-input {
    background: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
}
html.light-mode .admin-form,
html[data-theme="light"] .admin-form {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .form-input,
html[data-theme="light"] .form-input {
    background: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1px solid rgba(86, 14, 27, 0.18) !important;
}
html.light-mode .wt-row,
html[data-theme="light"] .wt-row {
    background: var(--bg-card) !important;
}
html.light-mode .wt-row:hover,
html[data-theme="light"] .wt-row:hover {
    background: var(--bg-body) !important;
}
html.light-mode .wt-title,
html[data-theme="light"] .wt-title {
    color: var(--text-primary, #181514) !important;
}
html.light-mode .wt-sub,
html[data-theme="light"] .wt-sub {
    color: var(--text-muted, #5E5650) !important;
}
html.light-mode .card-sm,
html[data-theme="light"] .card-sm {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
}
html.light-mode .auth-card,
html[data-theme="light"] .auth-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(86, 14, 27, 0.08) !important;
    box-shadow: 0 20px 60px -10px rgba(86, 14, 27, 0.12) !important;
}
html.light-mode .field-input,
html[data-theme="light"] .field-input {
    background: var(--bg-body) !important;
    color: var(--text-primary, #181514) !important;
    border: 1.5px solid rgba(86, 14, 27, 0.18) !important;
}
html.light-mode .field-input:focus,
html[data-theme="light"] .field-input:focus {
    background: var(--bg-card) !important;
    border-color: #560E1B !important;
    box-shadow: 0 0 0 3px rgba(86, 14, 27, 0.12) !important;
}
html.light-mode .field-input::placeholder,
html[data-theme="light"] .field-input::placeholder {
    color: #8E857D !important;
}
html.light-mode .field-icon,
html[data-theme="light"] .field-icon {
    color: var(--sand-text, #560E1B) !important;
}
html.light-mode .submit-btn,
html[data-theme="light"] .submit-btn {
    background: #560E1B !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(86, 14, 27, 0.3) !important;
}
html.light-mode .bg-scene,
html[data-theme="light"] .bg-scene {
    filter: blur(12px) brightness(0.9) opacity(0.16) !important;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('../assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root,
html[data-theme="dark"],
html.dark-mode {
    --font-title: 'LemonMilk', 'Glacial Indifference', sans-serif;
    --font-body: 'Glacial Indifference', 'Plus Jakarta Sans', sans-serif;
    --line: #332B2E;
    --accent: #D0BBA0;
    --surface-soft: #1E1A1C;
    --bg-nav: rgba(18, 18, 18, 0.92);
    --navbar-bg: rgba(18, 18, 18, 0.92);
    --border-card: #332B2E;
    --border-card-hover: rgba(208, 187, 160, 0.45);
    --text-muted: #A39A93;
    --cool-grey: #A39A93;
    --shadow-card: none;
    --shadow-hover: 0 16px 32px -14px rgba(0, 0, 0, 0.7);
}
html.light-mode,
html[data-theme="light"] {
    --bg-body: #E4D5C3;
    --bg-main: #E4D5C3;
    --bg-main-rgb: 228, 213, 195;
    --bg-subtle: #DCCAB4;
    --bg-card: #EDE3D6;
    --bg-card-hover: #F1E9DE;
    --bg-card-solid: #EDE3D6;
    --bg-input: #EDE3D6;
    --bg-drawer: #E4D5C3;
    --bg-dropdown: #EDE3D6;
    --bg-scrollbar-track: #E4D5C3;
    --toggle-bg: rgba(237, 227, 214, 0.95);
    --liberty: #E4D5C3;
    --liberty-card: #EDE3D6;
    --line: #CDB596;
    --accent: #560E1B;
    --surface-soft: #D8C6AE;
    --bg-nav: rgba(228, 213, 195, 0.94);
    --navbar-bg: rgba(228, 213, 195, 0.94);
    --border-card: #CDB596;
    --border-card-hover: rgba(86, 14, 27, 0.45);
    --border-sand: rgba(86, 14, 27, 0.16);
    --text-main: #1E1416;
    --text-primary: #1E1416;
    --text-secondary: #3D2F2C;
    --text-dark: #1E1416;
    --text-muted: #5A4A42;
    --text-faint: #7D6B5F;
    --cool-grey: #5A4A42;
    --shadow-card: none;
    --shadow-hover: 0 16px 32px -16px rgba(86, 14, 27, 0.2);
}
html body,
html body.font-sans,
html .font-sans {
    font-family: var(--font-body);
    background-image: none;
}
html body {
    font-size: 15px;
    line-height: 1.5;
}

html h1,
html h2,
html .font-display,
html .serif-title,
html .font-cinzel,
html .section-title,
.font-lemon {
    font-family: var(--font-title) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-style: normal;
}
html h3,
html h4 {
    font-family: var(--font-body);
    letter-spacing: 0;
}
html body *,
html body *::before,
html body *::after {
    font-style: normal !important;
}
html .logo-aridong,
html.light-mode .logo-aridong,
html[data-theme] .logo-aridong,
html .wm-logo:hover .logo-aridong,
html.light-mode .wm-logo:hover .logo-aridong,
html[data-theme] .wm-logo:hover .logo-aridong {
    height: 22px !important;
    width: auto;
    filter: none !important;
    transform: none !important;
}
html .logo-night { display: none; }
html[data-theme="dark"] .logo-day,
html.dark-mode .logo-day { display: none; }
html[data-theme="dark"] .logo-night,
html.dark-mode .logo-night { display: block; }
html .glass,
html.light-mode .glass,
html[data-theme="light"] .glass {
    background: var(--bg-nav) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
}
html nav.glass { top: 0; }
html nav.glass > div:first-child {
    height: 56px !important;
    max-width: 1200px;
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 16px;
}
html nav.glass > div:first-child > div:first-child { gap: 28px; }
html nav.glass > div:first-child > div:last-child {
    width: auto !important;
    flex: none;
    gap: 12px;
}

html .nav-item-link,
html .nav-active-link { white-space: nowrap; }
html .nav-item-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}
html .nav-item-link:hover,
html:not(.light-mode) .nav-item-link:hover {
    color: var(--text-primary) !important;
}
html .nav-active-link,
html.light-mode .nav-active-link,
html[data-theme="light"] .nav-active-link {
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--accent) !important;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 700;
}
html .nav-more-dropdown {
    background: var(--bg-card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
}

html .search-bar-input {
    height: 36px;
    background: var(--surface-soft) !important;
    border: 1px solid transparent !important;
    border-radius: 18px !important;
    color: var(--text-primary) !important;
    font-size: 13px;
}
html .search-bar-input::placeholder { color: var(--text-muted) !important; }
html .search-bar-input:focus { border-color: var(--accent) !important; box-shadow: none !important; }

html #auth-login-btn {
    background: var(--primary, #560E1B) !important;
    color: #FFFFFF !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    border-radius: 18px !important;
    padding: 8px 16px !important;
    box-shadow: none !important;
}
html #auth-login-btn i { display: none; }

html .theme-toggle-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-primary);
    font-size: 14px;
}
html .theme-toggle-btn::after { display: none; }
html .theme-toggle-btn:hover {
    transform: none;
    border-color: var(--accent);
    box-shadow: none;
}

@media (min-width: 768px) {
    html nav.glass > div:first-child {
        height: 64px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    html .logo-aridong,
    html[data-theme] .logo-aridong { height: 24px !important; }
    html nav.glass > div:first-child > div:first-child > div.hidden { gap: 22px !important; }
    html nav.glass .search-bar-input { width: 200px !important; }
}
@media (min-width: 768px) and (max-width: 1180px) {
    html nav.glass > div:first-child > div:last-child > div.relative { display: none; }
}
@media (max-width: 768px) {
    html #mobile-bottom-nav {
        background: var(--bg-nav);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--line);
        box-shadow: none;
    }
    html .mob-nav-tab {
        color: var(--text-muted);
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 400;
        padding: 9px 0 7px;
        gap: 4px;
    }
    html .mob-nav-tab i { font-size: 18px; }
    html .mob-nav-active,
    html .mob-nav-active i {
        color: var(--accent) !important;
        font-weight: 700;
    }
}
html .wm-card,
html .webtoon-card,
html .wt-card,
html.light-mode .wm-card,
html[data-theme="light"] .wm-card {
    border-radius: 10px;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
}
html .wm-card:hover,
html .webtoon-card:hover,
html .wt-card:hover {
    border-color: var(--border-card-hover) !important;
    box-shadow: var(--shadow-hover) !important;
}
html .luxury-section-container,
html .bento {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
}
html .btn-primary,
html .btn-burgundy,
html button.primary,
html .btn-gold,
html .btn-secondary,
html .btn-outline-gold {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 10px;
    box-shadow: none;
}
html .btn-gold,
html .btn-secondary {
    background: #D0BBA0;
    color: #2A0A10 !important;
}
html .section-title {
    font-size: 18px;
    color: var(--text-primary) !important;
}
html .section-title::before { display: none; }
@media (min-width: 768px) {
    html .section-title { font-size: 20px; }
}
.hm { padding-bottom: 32px; }
.hm-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.hm-section { margin-top: 32px; }
.hm-first { margin-top: 8px; position: relative; z-index: 3; }

.hm-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
html .hm-head h2 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary) !important;
}
.hm-head a {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.hm-head a:hover { text-decoration: underline; }

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.hm-btn:active { transform: scale(0.97); }
.hm-btn--primary,
html .hm-btn--primary { background: var(--primary, #560E1B); color: #FFFFFF; }
.hm-btn--primary:hover { background: var(--primary-hover, #731324); }
html body.hm-page nav.glass:not(.is-solid) {
    background: linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.85) 0%, rgba(var(--bg-main-rgb), 0) 100%) !important;
    border-bottom-color: transparent !important;
    background-origin: border-box !important;
    background-repeat: no-repeat !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html body.hm-page nav.glass {
    transition: background 0.3s ease, border-color 0.3s ease;
}
.hx {
    position: relative;
    overflow: hidden;
    background: var(--bg-body);
    outline: none;
}
.hx-viewport { overflow: hidden; }
.hx-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
    touch-action: pan-y;
}
.hx-slide {
    position: relative;
    flex: 0 0 100%;
    height: min(150vw, 640px);
    overflow: hidden;
}
.hx-media {
    position: absolute;
    inset: 0;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.hx-slide.is-after .hx-media { transform: translateX(-35%); }
.hx-slide.is-before .hx-media { transform: translateX(35%); }
.hx-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hx-img--wide { display: none; }
.hx-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.55) 0%, rgba(var(--bg-main-rgb), 0) 18%),
        linear-gradient(0deg, var(--bg-body) 0%, rgba(var(--bg-main-rgb), 0.92) 26%, rgba(var(--bg-main-rgb), 0.35) 52%, rgba(var(--bg-main-rgb), 0) 70%);
}
.hx-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 20px 52px;
}
.hx-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}
.hx-slide.is-active .hx-content { opacity: 1; transform: none; }
html .hx-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: var(--text-primary) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hx-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-primary);
}
.hx-badge {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.hx-desc { display: none; }
.hx-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.hx-plus {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 0;
    background: var(--surface-soft);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s ease;
}
.hx-plus:hover { background: var(--line); transform: rotate(90deg); }
.hx-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 4;
}
.hx-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.35s ease, background 0.2s ease;
}
.hx-dot::before {
    content: "";
    position: absolute;
    inset: -12px -4px;
}
.hx-dot.is-active { width: 32px; }
.hx-dot span {
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--text-primary);
    border-radius: 4px;
}
.hx-dot.is-active span { animation: hxFill var(--hx-delay, 7s) linear forwards; }
.hx.is-paused .hx-dot.is-active span { animation-play-state: paused; }
@keyframes hxFill { from { width: 0; } to { width: 100%; } }
.hx-skeleton .hx-content { opacity: 1; transform: none; }
.hx-sk { margin: 0 auto 12px; border-radius: 8px; background: var(--surface-soft); }
.hx-sk--title { width: 70%; height: 30px; }
.hx-sk--meta { width: 50%; height: 14px; }
.hx-sk--btn { width: 180px; height: 46px; border-radius: 10px; }

.hx-toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translate(-50%, 20px);
    opacity: 0;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--text-primary);
    color: var(--bg-body);
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.hx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hm-scroller { position: relative; }
.hm-arrow { display: none; }
.hm-rank {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    margin: 0 -16px;
    padding: 8px 16px 12px;
    scrollbar-width: none;
}
.hm-rank::-webkit-scrollbar { display: none; }
.hm-rank-item {
    flex: none;
    display: grid;
    grid-template-columns: auto 108px;
    align-items: end;
    scroll-snap-align: start;
    cursor: pointer;
    outline: none;
}
.hm-rank-num {
    grid-row: 1;
    font-family: var(--font-title);
    font-size: 92px;
    font-weight: 700;
    line-height: 0.74;
    color: var(--bg-body);
    -webkit-text-stroke: 2px var(--accent);
    margin-right: -18px;
    position: relative;
    z-index: 0;
    letter-spacing: -0.04em;
}
.hm-rank-poster {
    grid-row: 1;
    grid-column: 2;
    position: relative;
    z-index: 1;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-soft);
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}
.hm-rank-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hm-rank-title {
    grid-row: 2;
    grid-column: 2;
    margin: 8px 0 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-rank-sub {
    grid-row: 3;
    grid-column: 2;
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}
.hm-rank-item:focus-visible .hm-rank-poster { outline: 2px solid var(--accent); outline-offset: 2px; }
.hm-loading {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.hm-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.hm-chips {
    display: flex;
    gap: 8px;
    margin: 16px -20px 0;
    padding: 0 20px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.hm-chips::-webkit-scrollbar { display: none; }
.hm-acts {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
}
.hm-acts::-webkit-scrollbar { display: none; }
.hm-act {
    flex: none;
    width: 82%;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}
.hm-act-who {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.hm-act-who img,
.hm-act-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    background: var(--surface-soft);
}
.hm-act-ico {
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--accent);
}
.hm-act-who b { display: block; font-size: 14px; }
.hm-act-who small { display: block; color: var(--text-muted); font-size: 12px; }
.hm-act-inner {
    margin-top: 12px;
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--bg-body);
}
.hm-act-inner b { display: block; font-size: 14px; }
.hm-act-inner small { color: var(--text-muted); font-size: 12px; }
.hm-act-time { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.hm-act .hm-btn { margin-top: 12px; width: 100%; height: 40px; font-size: 14px; }
@media (min-width: 768px) {
    .hm { padding-bottom: 56px; }
    .hm-wrap { padding: 0 24px; }
    .hm-section { margin-top: 44px; }
    .hm-first { margin-top: -28px; }
    html .hm-head h2 { font-size: 18px; }

    .hx-slide { height: clamp(460px, 52vw, 640px); }
    .hx-img--wide { display: block; }
    .hx-img--tall { display: none; }
    .hx-media { left: 28%; }
    .hx-img { object-position: center; }
    .hx-shade {
        background:
            linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.6) 0%, rgba(var(--bg-main-rgb), 0) 20%),
            linear-gradient(90deg, var(--bg-body) 0%, var(--bg-body) 28%, rgba(var(--bg-main-rgb), 0.75) 40%, rgba(var(--bg-main-rgb), 0) 62%),
            linear-gradient(0deg, var(--bg-body) 0%, rgba(var(--bg-main-rgb), 0) 30%);
    }
    .hx-body {
        top: 0;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px 64px;
        display: flex;
        align-items: flex-end;
    }
    .hx-content {
        margin: 0;
        max-width: 480px;
        text-align: left;
    }
    html .hx-title { font-size: 40px; }
    .hx-meta { justify-content: flex-start; }
    .hx-desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 14px 0 0;
        font-size: 16px;
        line-height: 1.5;
        color: var(--text-primary);
        opacity: 0.85;
    }
    .hx-actions { justify-content: flex-start; margin-top: 22px; }
    .hx-dots {
        bottom: 56px;
        left: auto;
        right: max(24px, calc((100vw - 1200px) / 2 + 24px));
        justify-content: flex-end;
    }
    .hm-arrow {
        display: grid;
        place-items: center;
        position: absolute;
        top: 42%;
        z-index: 5;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: var(--bg-card);
        color: var(--text-primary);
        cursor: pointer;
        opacity: 0;
        transform: translateY(-50%);
        transition: opacity 0.2s ease, background 0.2s ease;
    }
    .hm-arrow--prev { left: -20px; }
    .hm-arrow--next { right: -20px; }
    .hm-scroller:hover .hm-arrow { opacity: 1; }
    .hm-arrow:hover { background: var(--surface-soft); }

    .hm-rank { margin: 0 -8px; padding: 12px 8px 14px; scroll-padding-left: 8px; gap: 8px; }
    .hm-rank-item { grid-template-columns: auto 140px; }
    .hm-rank-num { font-size: 130px; margin-right: -24px; -webkit-text-stroke-width: 3px; }
    .hm-rank-item:hover .hm-rank-poster {
        transform: scale(1.06);
        box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.7);
        z-index: 2;
    }

    .hm-card { padding: 28px; }
    
    .hm-chips { flex-wrap: wrap; margin: 18px 0 0; padding: 0; overflow: visible; }

    .hm-acts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    .hm-act { width: auto; }
}
@media (min-width: 1200px) {
    .hm-rank-item { grid-template-columns: auto 150px; }
}

@media (prefers-reduced-motion: reduce) {
    .hx-track, .hx-media, .hx-content { transition: none !important; }
    .hx-dot.is-active span { animation: none; width: 100%; }
}
@media (max-width: 768px) {
    html #hero-section { height: auto !important; }

    html #weekly-container { gap: 4px; padding-bottom: 12px; }
    html #weekly-container > .hm-rank-item { min-width: 0 !important; }
}
html #for-you-section,
html #because-you-like-section { margin-top: 32px; }
html #for-you-section h2,
html #because-you-like-section h2 {
    font-size: 16px !important;
    gap: 0 !important;
    color: var(--text-primary) !important;
}
html #for-you-section span[style*="width:4px"],
html #because-you-like-section span[style*="width:4px"] { display: none !important; }
@media (max-width: 767px) {
    html #for-you-section button[onclick*="scrollBy"],
    html #because-you-like-section button[onclick*="scrollBy"] { display: none !important; }
}
@media (min-width: 768px) {
    html #for-you-section,
    html #because-you-like-section { margin-top: 44px; }
    html #for-you-section h2,
    html #because-you-like-section h2 { font-size: 18px !important; }
}
html #hamburger-btn {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    gap: 5px !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
@media (max-width: 767px) {
    html body #hamburger-btn,
    html body.has-bottom-nav #hamburger-btn { display: flex !important; }
    html body.has-bottom-nav #mobile-drawer { display: block !important; }
}
@media (min-width: 768px) {
    html body #hamburger-btn { display: none !important; }
    html body #mobile-drawer { display: none !important; }
}
html #hamburger-btn span {
    display: block;
    width: 16px !important;
    height: 2px !important;
    border-radius: 2px;
    background: var(--text-primary) !important;
    opacity: 1;
    transform: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
html #hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
html #hamburger-btn.is-open span:nth-child(2) { opacity: 0 !important; }
html #hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }
html #mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.3s;
}
html #mobile-drawer.open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
}
html #drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55) !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
}
html #mobile-drawer.open #drawer-overlay { opacity: 1; }
html.drawer-lock,
html.drawer-lock body { overflow: hidden !important; }

html #mobile-drawer #drawer-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(86vw, 360px);
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
    border-left: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: var(--bg-body) !important;
    box-shadow: -24px 0 48px -24px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
    outline: none;
}
html #mobile-drawer.open #drawer-panel { transform: translateX(0); }
html .drw-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    margin: 0 -16px 12px;
    padding: 0 16px;
    background: var(--bg-body);
    border-bottom: 1px solid var(--line);
    flex: none;
}
html .drw-logo { display: flex; align-items: center; }
html .drw-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}
html .drw-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html #drawer-panel > div.w-10.h-1 { display: none !important; }
html #drawer-panel #search-input-mobile {
    height: 44px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: var(--surface-soft) !important;
    border: 1px solid transparent !important;
    border-radius: 22px !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-size: 15px !important;
}
html #drawer-panel #search-input-mobile::placeholder { color: var(--text-muted) !important; opacity: 1; }
html #drawer-panel #search-input-mobile:focus { border-color: var(--accent) !important; }
html #drawer-panel #search-input-mobile ~ button {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: grid;
    place-items: center;
    right: 6px !important;
    border-radius: 50% !important;
    background: var(--primary, #560E1B) !important;
    color: #FFFFFF !important;
}
html #drawer-panel .fa-search { color: var(--text-muted) !important; }
html #drawer-panel > div.relative { margin-bottom: 8px !important; }
html #drawer-panel > div.flex.items-center.justify-between {
    margin: 0 0 8px !important;
    padding: 6px 4px 6px 12px !important;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
}
html #drawer-panel > div.flex.items-center.justify-between > span {
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-size: 15px !important;
    font-weight: 400 !important;
}
html #drawer-panel > div.flex.items-center.justify-between > span i { color: var(--accent); margin-right: 12px !important; }
html #drawer-panel nav { margin-bottom: 16px !important; }
html #drawer-panel nav > * + * { margin-top: 2px !important; }
html #drawer-panel .drawer-link,
html.light-mode #drawer-panel .drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none;
}
html #drawer-panel .drawer-link i,
html.light-mode #drawer-panel .drawer-link i {
    width: 20px !important;
    text-align: center;
    font-size: 16px;
    color: var(--accent) !important;
}
html #drawer-panel .drawer-link:hover { background: var(--surface-soft) !important; }
html #drawer-panel .drawer-link.active,
html.light-mode #drawer-panel .drawer-link.active {
    background: var(--surface-soft) !important;
    font-weight: 700 !important;
    box-shadow: inset 3px 0 0 var(--accent);
}
html #drawer-panel nav > div.h-px,
html #drawer-panel > div.h-px {
    height: 1px;
    margin: 12px 0 !important;
    background: var(--line) !important;
}
html #drawer-panel nav > p {
    margin: 4px 0 2px !important;
    padding: 4px 12px !important;
    font-family: var(--font-title);
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    color: var(--text-muted) !important;
}
html #mobile-auth-zone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}
html .drw-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
}
html .drw-avatar {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
html .drw-avatar--letter {
    display: grid;
    place-items: center;
    background: var(--primary, #560E1B);
    color: #FFFFFF;
    font-weight: 700;
}
html .drw-user-text { display: flex; flex-direction: column; min-width: 0; }
html .drw-user-text strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .drw-user-text small { font-size: 13px; color: var(--text-muted); }
html .drw-user .fa-chevron-right { margin-left: auto; font-size: 12px; color: var(--text-muted); }
html .drw-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
}
html .drw-logout:hover { color: var(--text-primary); background: var(--surface-soft); }
html .drw-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 24px;
    background: var(--primary, #560E1B);
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    html #mobile-drawer #drawer-panel,
    html #drawer-overlay,
    html #hamburger-btn span { transition: none !important; }
}
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype'); font-weight: 100 549; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype'); font-weight: 550 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype'); font-weight: 100 549; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype'); font-weight: 550 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype'); font-weight: 100 549; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype'); font-weight: 550 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Regular.otf') format('opentype'); font-weight: 100 549; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'), url('../assets/fonts/GlacialIndifference-Bold.otf') format('opentype'); font-weight: 550 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('../assets/fonts/LEMONMILK-Regular.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Regular.otf') format('opentype'); font-weight: 100 449; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('../assets/fonts/LEMONMILK-Medium.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Medium.otf') format('opentype'); font-weight: 450 649; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('../assets/fonts/LEMONMILK-Bold.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Bold.otf') format('opentype'); font-weight: 650 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../assets/fonts/LEMONMILK-Regular.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Regular.otf') format('opentype'); font-weight: 100 449; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../assets/fonts/LEMONMILK-Medium.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Medium.otf') format('opentype'); font-weight: 450 649; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../assets/fonts/LEMONMILK-Bold.woff2') format('woff2'), url('../assets/fonts/LEMONMILK-Bold.otf') format('opentype'); font-weight: 650 900; font-style: normal; font-display: swap; }
html .font-serif { font-family: var(--font-body); }
html .font-display { font-family: var(--font-title); }
:root,
html[data-theme="dark"],
html.dark-mode { --sand-text: #D0BBA0; --sand-rgb: 208 187 160; --ok-text: #4ade80; --warn-text: #fbbf24; --bad-text: #f87171; }
html.light-mode,
html[data-theme="light"] { --field-rgb: 255 255 255; --sand-text: #560E1B; --sand-rgb: 86 14 27; --ok-text: #166534; --warn-text: #854d0e; --bad-text: #991b1b; }
html.light-mode :is(.bg-pigment, .bg-burgundy, .bg-black, [class*="bg-black/"], [class*="bg-[#560E1B]"], [class*="from-[#560E1B]"],
    [style*="background:#560E1B"], [style*="background: #560E1B"], [style*="background:var(--primary"], [style*="background: var(--primary"],
    [style*="linear-gradient(135deg,#560E1B"], [style*="linear-gradient(135deg, #560E1B"], [style*="background:rgba(86,14,27"], .rv-card, .hm-btn--primary, #auth-login-btn, .btn-primary, .btn-burgundy, .page-btn.active, .sub-btn, [style*="background:rgba(0,0,0"], [style*="background: rgba(0,0,0"], .card-status-badge),
html[data-theme="light"] :is(.bg-pigment, .bg-burgundy, .bg-black, [class*="bg-black/"], [class*="bg-[#560E1B]"], [class*="from-[#560E1B]"],
    [style*="background:#560E1B"], [style*="background: #560E1B"], [style*="background:var(--primary"], [style*="background: var(--primary"],
    [style*="linear-gradient(135deg,#560E1B"], [style*="linear-gradient(135deg, #560E1B"], [style*="background:rgba(86,14,27"], .rv-card, .hm-btn--primary, #auth-login-btn, .btn-primary, .btn-burgundy, .page-btn.active, .sub-btn, [style*="background:rgba(0,0,0"], [style*="background: rgba(0,0,0"], .card-status-badge) {
    --sand-text: #D0BBA0;
    --sand-rgb: 208 187 160;
    --text-primary: #FFFFFF;
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.75);
    --text-secondary: rgba(255, 255, 255, 0.85);
    --ok-text: #4ade80; --warn-text: #fbbf24; --bad-text: #f87171;
}
html.light-mode :is(.plan-card.featured, .featured-placeholder, .box-featured, .featured-banner, .product-img, .cs-overlay, .pf-dark, .pf-bur, .pf-reading),
html[data-theme="light"] :is(.plan-card.featured, .featured-placeholder, .box-featured, .featured-banner, .product-img, .cs-overlay, .pf-dark, .pf-bur, .pf-reading) {
    --sand-text: #D0BBA0;
    --sand-rgb: 208 187 160;
    --text-primary: #F5F5F5;
    --text-main: #F5F5F5;
    --text-muted: #A39A93;
    --text-secondary: #D0BBA0;
    --accent: #D0BBA0;
    --ok-text: #4ade80; --warn-text: #fbbf24; --bad-text: #f87171;
    color: #F5F5F5;
}
html .pf-label--light,
html .pf-bur .pf-label { color: #D0BBA0 !important; }
html.light-mode :is([style*="color:#4ade80"], [style*="color:#34d399"], [style*="color:#6ee7b7"], [style*="color:#10b981"], .text-green-400, .text-emerald-400),
html[data-theme="light"] :is([style*="color:#4ade80"], [style*="color:#34d399"], [style*="color:#6ee7b7"], [style*="color:#10b981"], .text-green-400, .text-emerald-400) { color: #166534 !important; }
html.light-mode :is([style*="color:#fbbf24"], [style*="color:#f59e0b"], [style*="color:#facc15"], .text-yellow-400, .text-amber-400),
html[data-theme="light"] :is([style*="color:#fbbf24"], [style*="color:#f59e0b"], [style*="color:#facc15"], .text-yellow-400, .text-amber-400) { color: #854d0e !important; }
html.light-mode :is([style*="color:#f87171"], [style*="color:#fca5a5"], [style*="color:#ef4444"], .text-red-400),
html[data-theme="light"] :is([style*="color:#f87171"], [style*="color:#fca5a5"], [style*="color:#ef4444"], .text-red-400) { color: #991b1b !important; }
html.light-mode :is([style*="color:#fff;"], [style*="color:#fff\""], [style*="color:#FFFFFF"], [style*="color: #fff"], [style*="color:#F3EAE0"], [style*="color:#F5F5F5"]),
html[data-theme="light"] :is([style*="color:#fff;"], [style*="color:#FFFFFF"], [style*="color: #fff"], [style*="color:#F3EAE0"], [style*="color:#F5F5F5"]) {
    color: var(--text-primary) !important;
}
html.light-mode :is([style*="color: rgb(208, 187, 160)"], [style*="color:rgba(208,187,160"], [style*="color: rgba(208, 187, 160"], [style*="color:#D0BBA0"]),
html[data-theme="light"] :is([style*="color: rgb(208, 187, 160)"], [style*="color:rgba(208,187,160"], [style*="color: rgba(208, 187, 160"], [style*="color:#D0BBA0"]) {
    color: var(--sand-text) !important;
}
html.light-mode :is(.text-sand\/50, .text-sand\/60, .text-sand\/70, .text-sand\/75, .text-sand\/80, .text-cool-grey\/30, .text-cool-grey\/50),
html[data-theme="light"] :is(.text-sand\/50, .text-sand\/60, .text-sand\/70, .text-sand\/75, .text-sand\/80, .text-cool-grey\/30, .text-cool-grey\/50) {
    color: var(--text-muted) !important;
}
html.light-mode [class*="text-[#D0BBA0]"],
html[data-theme="light"] [class*="text-[#D0BBA0]"] { color: var(--sand-text) !important; }
html.light-mode [class*="bg-gradient-to-t"] ~ * .text-white:not(#\#),
html.light-mode [class*="bg-gradient-to-t"] ~ .text-white:not(#\#),
html[data-theme="light"] [class*="bg-gradient-to-t"] ~ * .text-white:not(#\#),
html[data-theme="light"] [class*="bg-gradient-to-t"] ~ .text-white:not(#\#) { color: #FFFFFF !important; }
html .detail-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 56px;
    background: var(--bg-body);
}
html .detail-hero img.banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    filter: none;
    opacity: 0.6;
}
html .detail-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.15) 0, rgba(var(--bg-main-rgb), 0.75) 180px, var(--bg-body) 300px) !important;
}
html .detail-hero .hero-content {
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 28px 16px 8px;
}
html .detail-cover {
    width: 150px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.6);
}
html .detail-cover:hover { transform: none; }
html .detail-hero-meta { width: 100%; padding: 0; }
html .detail-status-badge { font-size: 11px; padding: 4px 12px; margin-bottom: 12px; }
html .detail-status-badge .dot { animation: none; }
html .detail-title,
html.light-mode .detail-title,
html[data-theme="light"] .detail-title {
    font-family: var(--font-title) !important;
    font-size: 24px !important;
    line-height: 1.15;
    color: var(--text-primary) !important;
    text-shadow: none;
    margin-bottom: 12px;
}
html .detail-genres { justify-content: center; }
html .detail-genres span {
    background: transparent !important;
    border: 1px solid var(--line) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    padding: 4px 12px;
}
html .detail-hero-meta > div:last-child { justify-content: center; gap: 8px !important; }
html .detail-hero-meta > div:last-child > div {
    background: var(--bg-card) !important;
    border: 1px solid var(--line) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html .detail-hero-meta > div:last-child span[style*="color:#9ca3af"] { color: var(--text-muted) !important; }
html .detail-hero-meta > div:last-child > div:has(.fa-satellite-dish) { display: none !important; }
html .detail-hero-meta [style*="color:#e5e7eb"] { color: var(--text-primary) !important; }

@media (min-width: 900px) {
    html .detail-hero { padding-top: 64px; }
    html .detail-hero img.banner { height: 440px; }
    html .detail-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.1) 0, rgba(var(--bg-main-rgb), 0.7) 260px, var(--bg-body) 440px) !important;
    }
    html .detail-hero .hero-content {
        flex-direction: row;
        align-items: flex-end;
        text-align: left;
        max-width: 1200px;
        gap: 32px;
        padding: 140px 24px 8px;
    }
    html .detail-cover { width: 200px; }
    html .detail-title { font-size: 36px !important; }
    html .detail-genres,
    html .detail-hero-meta > div:last-child { justify-content: flex-start; }
    html .detail-hero-meta > div:last-child > div:has(.fa-satellite-dish) { display: flex !important; }
    html .detail-body { max-width: 1200px; padding: 40px 24px 64px; gap: 40px; }
}

html .detail-body { animation: none; }
html .detail-card,
html .synopsis-box,
html .stat-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    box-shadow: none !important;
}
html .detail-card { padding: 20px; }
html .detail-card-title,
html .stat-box-label {
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--accent) !important;
    border-bottom-color: var(--line) !important;
}
html .detail-stat-row { border-bottom-color: var(--line) !important; }
html .detail-stat-label { color: var(--text-muted) !important; opacity: 1; font-size: 14px; }
html .detail-stat-value { color: var(--text-primary) !important; font-size: 14px; }
html .detail-card span[style*="color:#9ca3af"],
html .detail-card span[style*="color:#6b7280"] { color: var(--text-muted) !important; }
html .progress-track { background: var(--surface-soft) !important; }
html .progress-fill { background: var(--accent) !important; }
html .progress-input {
    background: var(--bg-body) !important;
    border: 1px solid var(--line) !important;
    color: var(--text-primary) !important;
}
html .detail-card select { background: var(--bg-body) !important; border: 1px solid var(--line) !important; color: var(--text-primary) !important; font-family: var(--font-body) !important; }
html .detail-card button[onclick*="ListPicker"] { box-shadow: none !important; font-family: var(--font-body) !important; }
html .read-link { background: var(--bg-body) !important; border: 1px solid var(--line) !important; }
html .read-link-icon { background: var(--surface-soft) !important; }
html .read-link-name { color: var(--text-primary) !important; }
html .read-link-lang { background: var(--surface-soft) !important; color: var(--text-muted) !important; border: 0 !important; }
html .detail-section { margin-bottom: 36px; }
html .detail-section-title,
html.light-mode .detail-section-title,
html[data-theme="light"] .detail-section-title {
    font-family: var(--font-title) !important;
    font-size: 16px !important;
    letter-spacing: 0.02em;
    color: var(--text-primary) !important;
    border-bottom: 0 !important;
    padding-bottom: 0;
    margin-bottom: 14px;
}
html .detail-section-title i { color: var(--accent) !important; font-size: 15px; }
html .synopsis-box { color: var(--text-primary) !important; padding: 20px; font-size: 15px; line-height: 1.65; }
html .synopsis-box::before { display: none; }
html .synopsis-authors { color: var(--text-muted) !important; border-top-color: var(--line) !important; }
html .synopsis-authors span { color: var(--accent) !important; }
html .stat-box-value { font-family: var(--font-title) !important; color: var(--text-primary) !important; }
html .ep-row,
html .chapter-row {
    background: var(--bg-card) !important;
    border: 1px solid var(--line) !important;
}
html .ep-row:hover,
html .chapter-row:hover { border-color: var(--accent) !important; }
html .ep-cur,
html .chapter-row.is-current { background: var(--surface-soft) !important; border-color: var(--accent) !important; }
html .ep-row :is(span, div, p)[style*="color:#FFFFFF"],
html .ep-row :is(span, div, p)[style*="color:#fff"],
html .ep-row :is(span, div, p)[style*="color: #FFFFFF"] { color: var(--text-primary) !important; }
html #chapter-list-container { scrollbar-color: var(--line) transparent !important; }
@media (hover: none) {
    html #casting-scroll ~ button,
    html .group\/casting > button,
    html .group\/staff > button,
    html .group\/recos > button { display: none !important; }
}
html #casting-scroll,
html #staff-scroll,
html #recos-scroll { -webkit-mask-image: none !important; mask-image: none !important; padding-left: 0 !important; padding-right: 0 !important; gap: 12px !important; }
html .group\/casting,
html .group\/staff,
html .group\/recos { padding: 0 !important; }
html #casting-scroll [class*="bg-gradient-to-t"],
html #staff-scroll [class*="bg-gradient-to-t"] {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%) !important;
}
html #casting-scroll img,
html #staff-scroll img { filter: none !important; }
html.light-mode :is([style*="color:#E8E0D0"], [style*="color: #E8E0D0"], [style*="color:#e5e7eb"], [style*="color:#f3f4f6"], [style*="color:#d1d5db"], [style*="color:#E4D5C3"]),
html[data-theme="light"] :is([style*="color:#E8E0D0"], [style*="color: #E8E0D0"], [style*="color:#e5e7eb"], [style*="color:#f3f4f6"], [style*="color:#d1d5db"], [style*="color:#E4D5C3"]) {
    color: var(--text-primary) !important;
}
html :is([style*="color:#9ca3af"], [style*="color:#6b7280"], [style*="color:#4b5563"], .text-gray-600, .text-gray-500) {
    color: var(--text-muted) !important;
}
html [id^="ch-row-"] { border-bottom: 1px solid var(--line) !important; }
html [id^="ch-row-"]:hover { background: var(--surface-soft) !important; }
html #chapter-list-container { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); gap: 0 !important; padding-right: 0 !important; }
html.light-mode #reviews-section [style*="background:rgba(86,14,27"],
html.light-mode .rv-card,
html.light-mode .rv-textarea,
html[data-theme="light"] #reviews-section [style*="background:rgba(86,14,27"],
html[data-theme="light"] .rv-card,
html[data-theme="light"] .rv-textarea { background: #560E1B !important; }
html.light-mode #reviews-section [style*="background:rgba(86,14,27"] [style*="color:#fff"],
html[data-theme="light"] #reviews-section [style*="background:rgba(86,14,27"] [style*="color:#fff"] { color: #FFFFFF !important; }
html .rv-textarea { font-family: var(--font-body) !important; }
html.light-mode :is(.bg-black, [class*="bg-black/"], [style*="background:rgba(0,0,0"], .plan-card.featured, .featured-banner, .box-featured, .product-img) [style*="color:#4ade80"]:not(#\#) { color: #4ade80 !important; }
html.light-mode :is(.bg-black, [class*="bg-black/"], [style*="background:rgba(0,0,0"], .plan-card.featured, .featured-banner, .box-featured, .product-img) [style*="color:#fbbf24"]:not(#\#) { color: #fbbf24 !important; }
html.light-mode .card-status-badge:not(#\#) { color: #F5F5F5 !important; }
html.light-mode :is(.nl-logo, .stat-pill .val),
html[data-theme="light"] :is(.nl-logo, .stat-pill .val) { color: var(--text-primary) !important; }
html.light-mode .pf-bur :is(.pf-in, .pf-posts),
html[data-theme="light"] .pf-bur :is(.pf-in, .pf-posts) {
    --text-primary: var(--pf-in-text, #2A0A10);
    --text-main: var(--pf-in-text, #2A0A10);
    --text-muted: var(--pf-in-muted, #6B5550);
    --sand-text: #560E1B;
    --accent: #560E1B;
    color: var(--pf-in-text, #2A0A10);
}
html.light-mode .box-featured :is([style*="background:var(--bg-card)"], [style*="background:var(--bg-subtle"]),
html[data-theme="light"] .box-featured :is([style*="background:var(--bg-card)"], [style*="background:var(--bg-subtle"]) {
    --text-primary: #1E1416; --sand-text: #560E1B; --text-muted: #5A4A42; color: #1E1416;
}
html.light-mode .ep-badge:not(#\#),
html[data-theme="light"] .ep-badge:not(#\#) { background: var(--surface-soft) !important; border-color: var(--line) !important; color: var(--sand-text) !important; }
html.light-mode .page-btn.active:not(#\#),
html[data-theme="light"] .page-btn.active:not(#\#) { color: #FFFFFF !important; }
html .pf-bur .pf-posts .pf-label { color: var(--accent) !important; }
html .overflow-x-auto { max-width: 100%; }
@media (max-width: 767px) {
    html, html body { overflow-x: clip; }
    html .stat-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
}
html.light-mode :is(input, textarea, select)[style*="background:rgba(0,0,0"],
html[data-theme="light"] :is(input, textarea, select)[style*="background:rgba(0,0,0"] { background: var(--bg-card) !important; color: var(--text-primary) !important; }
html.light-mode .detail-hero-meta > div:last-child > div:not(#\#),
html[data-theme="light"] .detail-hero-meta > div:last-child > div:not(#\#) {
    --text-primary: #1E1416; --text-main: #1E1416; --sand-text: #560E1B; --text-muted: #5A4A42;
}
html *, html *::before, html *::after { font-style: normal !important; }
@media (min-width: 1400px) {
    html body.hm-page nav.glass > div:first-child { max-width: 1600px; padding-left: 48px !important; padding-right: 48px !important; }
    .hm-wrap { max-width: 1600px; padding: 0 48px; }
    .hx-body { max-width: 1600px; padding: 0 48px 72px; }
    .hx-media { left: 12%; }
    .hx-shade {
        background:
            linear-gradient(180deg, rgba(var(--bg-main-rgb), 0.6) 0%, rgba(var(--bg-main-rgb), 0) 20%),
            linear-gradient(90deg, var(--bg-body) 0%, var(--bg-body) 12%, rgba(var(--bg-main-rgb), 0.8) 26%, rgba(var(--bg-main-rgb), 0.35) 42%, rgba(var(--bg-main-rgb), 0) 58%),
            linear-gradient(0deg, var(--bg-body) 0%, rgba(var(--bg-main-rgb), 0) 30%);
    }
    html .hx-title { font-size: 48px; }
    .hx-content { max-width: 560px; }
    .hx-dots { right: max(48px, calc((100vw - 1600px) / 2 + 48px)); }
}
