@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=M+PLUS+Rounded+1c:wght@500;700;800&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
    --font-marvel: 'Bebas Neue', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-rau: 'M PLUS Rounded 1c', sans-serif;

    --mcu-red: #ED1D24;
    --mcu-red-deep: #B81117;
    --mcu-red-glow: rgba(237, 29, 36, 0.36);
    --mcu-black: #0D0E11;
    --mcu-card-bg: #15161B;
    --mcu-border: #282A33;
    --mcu-text: #F4F5F7;
    --mcu-gold: #E8A338;

    --doom-green: #10B981;
    --doom-emerald: #047857;
    --doom-dark: #062b1e;

    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-tactile: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   1. MARVEL & RAU CUSTOM CURSOR SYSTEM (DESKTOP ONLY)
   ========================================================= */
@media (pointer: fine) {

    /* Default Marvel: Hawkeye Vibranium Precision Arrow */
    html,
    body {
        cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M2 2 L10.5 24 L14.5 14.5 L24 10.5 Z' fill='%23ED1D24' stroke='%23FFFFFF' stroke-width='1.7' stroke-linejoin='round'/><path d='M14.5 14.5 L25.5 25.5' stroke='%23E8A338' stroke-width='2.1' stroke-linecap='round'/></svg>") 2 2, auto;
    }

    /* Interactive Hover Marvel: TVA Targeting Reticle */
    a,
    button,
    select,
    label,
    input[type="checkbox"],
    input[type="date"],
    input[type="datetime-local"],
    .btn-watch,
    .btn-skip,
    .comic-badge,
    .mode-tab-btn,
    .day-chip-btn,
    .context-item {
        cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><circle cx='15' cy='15' r='9' fill='none' stroke='%23ED1D24' stroke-width='1.8' stroke-dasharray='4 2.5'/><circle cx='15' cy='15' r='2.5' fill='%23E8A338'/><line x1='15' y1='2' x2='15' y2='7' stroke='%23FFFFFF' stroke-width='1.8'/><line x1='15' y1='23' x2='15' y2='28' stroke='%23FFFFFF' stroke-width='1.8'/><line x1='2' y1='15' x2='7' y2='15' stroke='%23FFFFFF' stroke-width='1.8'/><line x1='23' y1='15' x2='28' y2='15' stroke='%23FFFFFF' stroke-width='1.8'/></svg>") 15 15, pointer !important;
    }

    /* Default Rau Mode: Crystalline Ice-Blue Guild Arrow */
    body.rau-mode {
        cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M2 2 L10.5 24 L14.5 14.5 L24 10.5 Z' fill='%2338BDF8' stroke='%231E3A5F' stroke-width='1.8' stroke-linejoin='round'/><circle cx='9' cy='9' r='1.8' fill='%23FFFFFF'/></svg>") 2 2, auto;
    }

    /* Interactive Hover Rau Mode: Baroque Ice Star Reticle */
    body.rau-mode a,
    body.rau-mode button,
    body.rau-mode select,
    body.rau-mode label,
    body.rau-mode input[type="checkbox"],
    body.rau-mode input[type="date"],
    body.rau-mode .btn-watch,
    body.rau-mode .btn-skip,
    body.rau-mode .mode-tab-btn,
    body.rau-mode .day-chip-btn,
    body.rau-mode .context-item {
        cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><circle cx='15' cy='15' r='9' fill='none' stroke='%230284C7' stroke-width='1.8' stroke-dasharray='3 2.5'/><circle cx='15' cy='15' r='2.8' fill='%231E3A5F'/><line x1='15' y1='2' x2='15' y2='7' stroke='%230284C7' stroke-width='1.8'/><line x1='15' y1='23' x2='15' y2='28' stroke='%230284C7' stroke-width='1.8'/><line x1='2' y1='15' x2='7' y2='15' stroke='%230284C7' stroke-width='1.8'/><line x1='23' y1='15' x2='28' y2='15' stroke='%230284C7' stroke-width='1.8'/></svg>") 15 15, pointer !important;
    }
}

/* Mobile & Touchscreen Safety Guard */
@media (pointer: coarse) {

    html,
    body,
    body.rau-mode,
    a,
    button,
    input,
    select,
    label {
        cursor: auto !important;
    }
}

/* =========================================================
   2. CORE BASE & TACTILE COMIC HALFTONE BACKGROUND
   ========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--mcu-black);
    color: var(--mcu-text);
    font-family: var(--font-body);
    /* Editorial Printed Comic Halftone Dot Grid + Subtle Top Vignette */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        linear-gradient(180deg, rgba(20, 21, 26, 0.92) 0%, rgba(10, 11, 14, 0.99) 100%);
    background-size: 22px 22px, 100% 100%;
    background-attachment: fixed;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
}

input,
textarea,
select {
    user-select: text;
    -webkit-user-select: text;
}

/* Tactile Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #090a0d;
}

::-webkit-scrollbar-thumb {
    background: #2b2d37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mcu-red);
}

/* Display Protections */
.force-hidden {
    display: none !important;
}

.force-show {
    display: inline-flex !important;
}

.force-show-flex {
    display: flex !important;
}

/* Interactive Tactile Press */
button:active:not(:disabled) {
    transform: scale(0.97);
}

/* =========================================================
   3. MARVEL EDITORIAL BRANDING & SKEW BADGES
   ========================================================= */
.marvel-title {
    font-family: var(--font-marvel);
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.comic-badge {
    background: linear-gradient(180deg, var(--mcu-red) 0%, var(--mcu-red-deep) 100%);
    color: #FFFFFF;
    font-family: var(--font-marvel);
    font-size: 1.05rem;
    letter-spacing: 1.3px;
    padding: 2px 10px;
    display: inline-block;
    transform: skew(-7deg);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 3px 3px 0px #000000;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.comic-badge:hover {
    transform: skew(-7deg) translateY(-1px);
    box-shadow: 4px 4px 0px #000000;
}

/* =========================================================
   4. TITLE CARD, STAGGERED ENTRANCE & POSTER SHUTTER
   ========================================================= */
@keyframes cardEntranceReveal {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.watch-card {
    background-color: var(--mcu-card-bg);
    border: 1.5px solid var(--mcu-border);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.38);
}

/* Staggered animation hanya jalan saat container memiliki class animate-cards */
#titlesContainer.animate-cards .watch-card {
    animation: cardEntranceReveal 0.45s var(--ease-spring) backwards;
    animation-delay: calc(min(var(--card-idx, 0), 12) * 32ms);
}

.watch-card-content {
    position: relative;
    z-index: 3;
}

/* Layer Background Poster (Fit & Crop Tanpa Memperbesar Card) */
.watch-card-poster-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.07);
    filter: saturate(1.12) contrast(1.04);
    transition: opacity 0.48s var(--ease-spring), transform 0.65s var(--ease-spring);
    z-index: 1;
    pointer-events: none;
}

/* Layer Overlay Multi-Gradasi Proteksi Teks */
.watch-card-poster-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(14, 15, 19, 0.97) 28%, rgba(14, 15, 19, 0.89) 62%, rgba(14, 15, 19, 0.64) 100%),
        linear-gradient(0deg, rgba(14, 15, 19, 0.98) 6%, rgba(14, 15, 19, 0.72) 56%, rgba(14, 15, 19, 0.42) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 2;
    pointer-events: none;
}

body.spoiler-mode-active .watch-card-poster-bg {
    opacity: 0.88;
    transform: scale(1);
}

body.spoiler-mode-active .watch-card-poster-overlay {
    opacity: 1;
}

.watch-card:hover {
    transform: translateY(-4px);
    border-color: var(--mcu-red);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(237, 29, 36, 0.35);
}

body.spoiler-mode-active .watch-card:hover .watch-card-poster-bg {
    opacity: 1;
    transform: scale(1.03);
}

/* Status Watched */
.watch-card.watched {
    border-color: #10B981 !important;
    opacity: 0.91;
}

.watch-card.watched::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #34D399, #059669);
    z-index: 4;
}

.watch-card.watched:hover {
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.22) !important;
}

/* Status Skipped */
.watch-card.skipped {
    opacity: 0.44;
    filter: grayscale(0.85);
    border-color: #3B3D48;
}

.watch-card.skipped:hover {
    opacity: 0.78;
    filter: grayscale(0.25);
}

/* =========================================================
   5. NAVIGATION, MODE TABS & DOOMSDAY POD
   ========================================================= */
.mode-tab-btn {
    transition: all 0.22s var(--ease-spring);
}

.mode-tab-btn:hover {
    transform: translateY(-1px);
    border-color: #525666;
}

.mode-tab-btn.active {
    background: linear-gradient(180deg, #ED1D24 0%, #C81218 100%) !important;
    color: #FFFFFF !important;
    border-color: #FF5A5F !important;
    box-shadow: 0 4px 16px var(--mcu-red-glow);
}

.mode-tab-btn[data-mode="avengers_doomsday"].active {
    background: linear-gradient(135deg, #059669, #064E3B) !important;
    color: #ECFDF5 !important;
    border-color: #34D399 !important;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.42) !important;
}

.order-btn-active {
    background-color: var(--mcu-red) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px var(--mcu-red-glow);
}

.marvel-footer {
    background: #090A0D;
    border-top: 3px solid var(--mcu-red);
    color: #8E929E;
}

/* Doomsday Countdown Pod */
.doomsday-banner {
    background: linear-gradient(135deg, rgba(6, 43, 30, 0.96), rgba(14, 15, 19, 0.98));
    border: 1.5px solid var(--doom-emerald);
    box-shadow: 0 10px 32px rgba(6, 43, 30, 0.45);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.doomsday-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg,
            rgba(52, 211, 153, 0.03) 0px,
            rgba(52, 211, 153, 0.03) 1px,
            transparent 1px,
            transparent 3px);
    pointer-events: none;
}

.countdown-box {
    background: rgba(8, 10, 12, 0.86);
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 64px;
    backdrop-filter: blur(8px);
}

.countdown-val {
    font-family: var(--font-mono);
    font-size: 1.55rem;
    font-weight: 800;
    color: #34D399;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #9CA3AF;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* =========================================================
   6. SCHEDULE PLANNER, VARIANT PILLS & PAIRING POD
   ========================================================= */
.day-chip-btn {
    border: 1.5px solid #323542;
    background-color: #1A1C23;
    color: #9CA3AF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s var(--ease-spring);
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-chip-btn:hover {
    border-color: #6B7280;
    color: #F3F4F6;
}

.day-chip-btn.active {
    background-color: #DC2626;
    border-color: #EF4444;
    color: #FFFFFF;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.35);
}

.schedule-day-config-row {
    background: rgba(17, 19, 25, 0.85);
    border: 1px solid #2D313E;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
}

.series-episodes-badge {
    background: rgba(232, 163, 56, 0.14);
    border: 1px solid rgba(232, 163, 56, 0.55);
    color: #FCD34D;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.progress-schedule-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(23, 37, 84, 0.65);
    border: 1px solid #3B82F6;
    color: #93C5FD;
    border-radius: 6px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.variant-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.variant-tooltip-bubble {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 280px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(16, 17, 22, 0.98);
    border: 1px solid #A855F7;
    color: #E9D5FF;
    font-size: 0.72rem;
    line-height: 1.45;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.variant-tooltip-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 18px;
    width: 10px;
    height: 10px;
    background: rgba(16, 17, 22, 0.98);
    border-left: 1px solid #A855F7;
    border-top: 1px solid #A855F7;
    transform: rotate(45deg);
}

.variant-tooltip-wrap:hover .variant-tooltip-bubble,
.variant-tooltip-wrap:focus-within .variant-tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cloud-sync-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(16, 185, 129, 0.45);
    background: rgba(6, 78, 59, 0.45);
    color: #6EE7B7;
    transition: all 0.25s ease;
}

.cloud-sync-pill.saving {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(69, 26, 3, 0.65);
    color: #FCD34D;
}

.breach-alert-banner {
    background: linear-gradient(90deg, rgba(127, 29, 29, 0.94), rgba(69, 10, 10, 0.97));
    border: 1.5px solid #EF4444;
    color: #FECACA;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.25);
}

#nexusToast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 350px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(16, 17, 22, 0.97);
    border: 1.5px solid #E8A338;
    color: #FEF3C7;
    font-size: 0.78rem;
    line-height: 1.45;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
}

#nexusToast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.qr-pair-card {
    background: rgba(15, 16, 22, 0.96);
    border: 1.5px solid #7E22CE;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 28px rgba(126, 34, 206, 0.22);
    position: relative;
    overflow: hidden;
}

.qr-code-frame {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s var(--ease-spring);
}

.qr-code-frame:hover {
    transform: scale(1.02);
}

.pair-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    color: #C084FC;
    background: rgba(88, 28, 135, 0.35);
    border: 1px solid rgba(168, 85, 247, 0.5);
    padding: 2px 8px;
    border-radius: 9999px;
}

.pair-badge-pulse .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #C084FC;
    box-shadow: 0 0 8px #C084FC;
    animation: pulsePairDot 2s infinite;
}

@keyframes pulsePairDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.secure-link-input {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: #090A0F;
    border: 1px solid #4C1D95;
    color: #E9D5FF;
    padding: 8px 10px;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.secure-link-input:focus {
    border-color: #A855F7;
}

/* =========================================================
   7. TEMA MISHIRO RAU (BAROQUE ICE-CRYSTAL GUILD TAVERN)
   ========================================================= */
body.rau-mode {
    font-family: var(--font-rau);
    background-color: #EBF4FA;
    color: #16324F;
    background-image:
        radial-gradient(#9BCCE8 1.5px, transparent 1.5px),
        linear-gradient(180deg, #F3F9FE 0%, #DFEFF9 100%);
    background-size: 20px 20px, 100% 100%;
}

body.rau-mode header {
    background: rgba(235, 244, 250, 0.94) !important;
    border-bottom: 2px solid #96CBE8 !important;
    box-shadow: 0 4px 20px rgba(42, 75, 124, 0.08);
}

body.rau-mode header #webTagline {
    color: #366494 !important;
}

body.rau-mode header .border-t {
    border-color: rgba(150, 203, 232, 0.55) !important;
}

body.rau-mode header #regionSelect,
body.rau-mode header #langSelect {
    background-color: #FFFFFF !important;
    color: #16324F !important;
    border-color: #96CBE8 !important;
}

body.rau-mode #progressText {
    color: #2A4B7C !important;
}

body.rau-mode .marvel-title {
    font-family: var(--font-rau);
    font-weight: 800;
    color: #16324F;
    letter-spacing: 0.4px;
}

body.rau-mode .comic-badge {
    background: linear-gradient(135deg, #6EBCE6, #2A4B7C);
    color: #FFFFFF;
    border-radius: 10px;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 10px rgba(42, 75, 124, 0.18);
}

body.rau-mode .variant-tooltip-bubble {
    background: rgba(255, 255, 255, 0.98);
    border-color: #7DD3FC;
    color: #16324F;
    box-shadow: 0 12px 30px rgba(42, 75, 124, 0.18);
}

body.rau-mode .variant-tooltip-bubble::before {
    background: rgba(255, 255, 255, 0.98);
    border-color: #7DD3FC;
}

body.rau-mode .cloud-sync-pill {
    background: #E0F2FE;
    border-color: #7DD3FC;
    color: #0369A1;
}

body.rau-mode .breach-alert-banner {
    background: #FFF1F2;
    border-color: #FB7185;
    color: #9F1239;
}

body.rau-mode #nexusToast {
    background: rgba(255, 255, 255, 0.98);
    border-color: #38BDF8;
    color: #16324F;
    box-shadow: 0 12px 35px rgba(42, 75, 124, 0.18);
}

body.rau-mode .watch-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 2px solid #CDE4F5;
    border-radius: 16px;
    color: #16324F;
    box-shadow: 0 8px 24px rgba(150, 203, 232, 0.25);
}

/* Rau Mode Poster Background Overlay (Frost Crystalline Porcelain) */
body.rau-mode .watch-card-poster-overlay {
    background:
        linear-gradient(95deg, rgba(244, 250, 255, 0.96) 28%, rgba(244, 250, 255, 0.89) 62%, rgba(244, 250, 255, 0.6) 100%),
        linear-gradient(0deg, rgba(235, 244, 250, 0.98) 8%, rgba(235, 244, 250, 0.72) 100%);
}

body.rau-mode .watch-card:hover {
    border-color: #7CC2E8;
    box-shadow: 0 14px 35px rgba(42, 75, 124, 0.2);
}

body.rau-mode .watch-card.watched {
    border-color: #10B981 !important;
    opacity: 0.95;
}

body.rau-mode .watch-card p.text-gray-300,
body.rau-mode .watch-card div.text-gray-300 {
    color: #16324F !important;
}

body.rau-mode .watch-card span.text-gray-400 {
    color: #475569 !important;
}

body.rau-mode .watch-card .text-yellow-500 {
    color: #B45309 !important;
}

body.rau-mode .watch-card a.text-yellow-400 {
    color: #0369A1 !important;
}

body.rau-mode .watch-card a.text-blue-400,
body.rau-mode .watch-card span.text-blue-400 {
    color: #1D4ED8 !important;
}

body.rau-mode .watch-card .text-sky-400 {
    color: #0284C7 !important;
}

body.rau-mode .watch-card .border-gray-700 {
    border-color: #CDE4F5 !important;
}

body.rau-mode .watch-card .bg-red-950\/60 {
    background-color: #FFF1F2 !important;
    border-color: #FDA4AF !important;
    color: #9F1239 !important;
}

body.rau-mode .watch-card .text-green-500 {
    color: #15803D !important;
}

body.rau-mode .watch-card .bg-sky-950\/80 {
    background-color: #E0F2FE !important;
    border-color: #BAE6FD !important;
    color: #0284C7 !important;
}

body.rau-mode .watch-card .bg-purple-900\/90 {
    background-color: #F3E8FF !important;
    border-color: #D8B4FE !important;
    color: #6B21A8 !important;
}

body.rau-mode .watch-card .bg-yellow-950\/80 {
    background-color: #FEF3C7 !important;
    border-color: #FCD34D !important;
    color: #92400E !important;
}

body.rau-mode .watch-card .series-episodes-badge {
    background: #FEF3C7 !important;
    border-color: #F59E0B !important;
    color: #92400E !important;
}

body.rau-mode .watch-card .btn-remove-injected {
    background-color: #EDE9FE !important;
    border-color: #C4B5FD !important;
    color: #5B21B6 !important;
}

body.rau-mode .watch-card .btn-open-injection {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}

body.rau-mode div.border-dashed.border-gray-800 {
    background-color: rgba(255, 255, 255, 0.88) !important;
    border-color: #96CBE8 !important;
    box-shadow: 0 8px 24px rgba(150, 203, 232, 0.2);
}

body.rau-mode div.border-dashed.border-gray-800 h3 {
    color: #16324F !important;
}

body.rau-mode div.border-dashed.border-gray-800 p {
    color: #366494 !important;
}

body.rau-mode .mode-tab-btn:not(.active) {
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #1E3A5F !important;
    border-color: #BAE6FD !important;
}

body.rau-mode .mode-tab-btn.active {
    background: linear-gradient(135deg, #2A4B7C, #16324F) !important;
    color: #FFFFFF !important;
    border-color: #96CBE8 !important;
    box-shadow: 0 4px 14px rgba(42, 75, 124, 0.35);
}

body.rau-mode .mode-tab-btn[data-mode="avengers_doomsday"].active {
    background: linear-gradient(135deg, #0284C7, #0369A1) !important;
    color: #FFFFFF !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4) !important;
}

body.rau-mode .order-btn-active {
    background-color: #2A4B7C !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(42, 75, 124, 0.3);
}

body.rau-mode .marvel-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 3px solid #96CBE8;
    color: #2A4B7C;
}

body.rau-mode .doomsday-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 254, 0.96)) !important;
    border: 2px solid #7DD3FC !important;
    box-shadow: 0 8px 30px rgba(42, 75, 124, 0.14) !important;
    color: #16324F !important;
}

body.rau-mode .doomsday-banner p {
    color: #334155 !important;
}

body.rau-mode .countdown-box {
    background: #FFFFFF !important;
    border: 1px solid #BAE6FD !important;
}

body.rau-mode .countdown-val {
    color: #0369A1 !important;
}

body.rau-mode .countdown-unit {
    color: #475569 !important;
}

body.rau-mode .day-chip-btn {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
    color: #475569;
}

body.rau-mode .day-chip-btn.active {
    background-color: #2A4B7C !important;
    border-color: #16324F !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 10px rgba(42, 75, 124, 0.35) !important;
}

body.rau-mode .schedule-day-config-row {
    background: #FFFFFF;
    border-color: #CDE4F5;
    color: #16324F;
}

body.rau-mode .progress-schedule-badge {
    background: #E0F2FE !important;
    border-color: #7DD3FC !important;
    color: #0369A1 !important;
}

body.rau-mode .qr-pair-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: #7DD3FC !important;
    box-shadow: 0 8px 28px rgba(42, 75, 124, 0.14) !important;
    color: #16324F !important;
}

body.rau-mode .pair-badge-pulse {
    background: #E0F2FE !important;
    border-color: #7DD3FC !important;
    color: #0369A1 !important;
}

body.rau-mode .pair-badge-pulse .dot {
    background-color: #0284C7 !important;
    box-shadow: 0 0 8px #0284C7 !important;
}

body.rau-mode .secure-link-input {
    background: #F8FAFC !important;
    border-color: #BAE6FD !important;
    color: #0369A1 !important;
}

body.rau-mode .secure-link-input:focus {
    border-color: #38BDF8 !important;
}

/* =========================================================
   8. CUSTOM CONTEXT MENU
   ========================================================= */
#customContextMenu {
    display: none;
    position: fixed;
    z-index: 99999;
    background: #14151A;
    border: 2px solid var(--mcu-red);
    box-shadow: 6px 6px 0px #000;
    min-width: 220px;
    padding: 6px 0;
    border-radius: 6px;
}

.context-item {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    transition: background 0.15s;
}

.context-item:hover {
    background: var(--mcu-red);
}

body.rau-mode #customContextMenu {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid #96CBE8;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(42, 75, 124, 0.18);
}

body.rau-mode .context-item {
    color: #16324F;
}

body.rau-mode .context-item:hover {
    background: #E0F2FE;
}