/**
 * Jester Project v1 — Harlequin Noir
 * Palet dari assets/banner.jpg — monokrom + crimson/royal/plum
 */

body.jester-ui {
    --j-bg: #000000;
    --j-bg2: #0a0a0a;
    --j-surface: rgba(10, 10, 10, 0.94);
    --j-surface2: rgba(22, 22, 22, 0.9);
    --j-ink: #ffffff;
    --j-ink-soft: #b5b5b5;
    --j-text: #f2f2f2;
    --j-muted: #6e6e6e;
    --j-crimson: #b91c3c;
    --j-gold: #b91c3c;
    --j-gold-dk: #7a1228;
    --j-royal: #2e4db8;
    --j-teal: #3d5fc9;
    --j-coral: #dc2626;
    --j-plum: #7c3aed;
    --j-lime: #d4d4d4;
    --j-silver: #e8e8e8;
    --j-line: rgba(255, 255, 255, 0.14);
    --j-border: rgba(255, 255, 255, 0.16);
    --j-border-light: rgba(255, 255, 255, 0.22);
    --j-check: rgba(255, 255, 255, 0.035);
    --app-max: 480px;
    --j-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
    --j-shadow-gold: 0 0 20px rgba(185, 28, 60, 0.18);
    --j-glass: blur(12px) saturate(0.9);
    font-family: 'Outfit', system-ui, sans-serif !important;
    background-color: var(--j-bg) !important;
    background-image: none !important;
    color: var(--j-text) !important;
}

body.jester-ui::before {
    display: block !important;
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background-image:
        linear-gradient(45deg, var(--j-check) 25%, transparent 25%, transparent 75%, var(--j-check) 75%),
        linear-gradient(45deg, var(--j-check) 25%, transparent 25%, transparent 75%, var(--j-check) 75%) !important;
    background-size: 14px 14px !important;
    background-position: 0 0, 7px 7px !important;
    opacity: 0.55 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body.jester-ui::after {
    display: block !important;
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 60%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body.jester-ui .logo,
body.jester-ui .jester-hero-brand {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(92deg, #ffffff, #d8d8d8, #a8a8a8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-transform: uppercase;
}

/* ── Hero — banner lurus, full-width ── */
body.jester-ui .atomic-header,
body.jester-ui .jester-hero {
    position: relative !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    aspect-ratio: 2.35 / 1 !important;
    min-height: 118px !important;
    max-height: 172px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid var(--j-border-light) !important;
    box-shadow: var(--j-shadow) !important;
    background: #000000 !important;
    transform: none !important;
}
body.jester-ui .atomic-header::before,
body.jester-ui .atomic-header::after,
body.jester-ui .jester-hero::before,
body.jester-ui .jester-hero::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

body.jester-ui .atomic-header-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    transform: none !important;
}
body.jester-ui .atomic-header-bg img {
    opacity: 1 !important;
    filter: contrast(1.12) brightness(0.88) grayscale(0.15) !important;
    object-fit: cover !important;
    object-position: center 38% !important;
    transform: none !important;
}

body.jester-ui .atomic-header-shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.72) 78%,
        rgba(0, 0, 0, 0.94) 100%
    ) !important;
    transform: none !important;
}

body.jester-ui .jester-hero-inner,
body.jester-ui .atomic-header-content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    padding: 10px 14px 12px !important;
    text-align: left !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto !important;
    gap: 2px 12px !important;
    align-items: center !important;
    transform: none !important;
    pointer-events: none !important;
}

body.jester-ui .jester-hero-crown {
    display: none !important;
}

body.jester-ui .jester-hero-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    text-align: left !important;
    font-size: 0.68rem !important;
}

body.jester-ui #liveTime,
body.jester-ui .jester-hero-clock {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--j-silver) !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9) !important;
    text-align: right !important;
}

body.jester-ui .jester-hero-meta {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-top: 4px !important;
}

body.jester-ui #liveDate,
body.jester-ui .jester-hero-date {
    font-size: 0.68rem !important;
    color: var(--j-muted) !important;
    font-weight: 600 !important;
}

body.jester-ui .jester-hero-pill {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(185, 28, 60, 0.18);
    color: var(--j-crimson);
    border: 1px solid rgba(185, 28, 60, 0.4);
}

/* ── Layout ── */
body.jester-ui .container {
    max-width: var(--app-max) !important;
    margin: 0 auto !important;
    padding: 0 10px calc(92px + env(safe-area-inset-bottom, 0px)) !important;
    position: relative;
    z-index: 1;
}

body.jester-ui .app-tab-panel {
    display: none;
    animation: jesterFade 0.35s ease;
}
body.jester-ui .app-tab-panel.active {
    display: block;
}
@keyframes jesterFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* ── User action bar ── */
body.jester-ui .user-action-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px 8px 14px !important;
    margin-bottom: 10px !important;
    background: var(--j-surface) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--j-shadow) !important;
    position: relative !important;
    overflow: hidden !important;
}
body.jester-ui .user-action-bar::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 8px !important;
    bottom: 8px !important;
    left: 0 !important;
    right: auto !important;
    width: 3px !important;
    height: auto !important;
    background: var(--j-plum) !important;
    border-radius: 0 2px 2px 0 !important;
    pointer-events: none !important;
}

body.jester-ui .user-action-label {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--j-muted) !important;
    font-weight: 700 !important;
}

body.jester-ui .user-action-name,
body.jester-ui #displayUsername {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: var(--j-silver) !important;
    letter-spacing: 0.04em !important;
}

body.jester-ui .action-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid var(--j-line) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--j-ink) !important;
    box-shadow: none !important;
    font-size: 0.82rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
body.jester-ui .user-action-btns {
    gap: 6px !important;
}
body.jester-ui .action-btn:active {
    transform: scale(0.92) !important;
    box-shadow: none !important;
}
body.jester-ui .action-btn-chat { border-color: rgba(46, 77, 184, 0.4) !important; color: var(--j-teal) !important; box-shadow: 0 0 10px rgba(46, 77, 184, 0.15) !important; }
body.jester-ui .action-btn-help { border-color: rgba(200, 200, 200, 0.35) !important; color: var(--j-lime) !important; box-shadow: 0 0 10px rgba(200, 200, 200, 0.12) !important; }
body.jester-ui .action-btn-notif { border-color: rgba(185, 28, 60, 0.4) !important; color: var(--j-gold) !important; box-shadow: 0 0 10px rgba(185, 28, 60, 0.15) !important; }
body.jester-ui .action-btn-exit { border-color: rgba(255, 107, 138, 0.4) !important; color: var(--j-coral) !important; }
body.jester-ui .action-btn-refresh { border-color: rgba(124, 58, 237, 0.4) !important; color: var(--j-plum) !important; }

body.jester-ui .notif-badge {
    background: var(--j-gold) !important;
    border: none !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.55rem !important;
}

/* ── Cards — dark glass panels ── */
body.jester-ui .dashboard-card,
body.jester-ui .otp-rolling-card,
body.jester-ui .global-chat-card,
body.jester-ui .atk-card,
body.jester-ui .sender-card,
body.jester-ui .bug-engine-wrap .sender-card {
    background: var(--j-surface) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
    margin-bottom: 10px !important;
    padding: 12px 14px !important;
}

body.jester-ui .dashboard-card h2,
body.jester-ui .dashboard-card [style*="Outfit"],
body.jester-ui .otp-rolling-title,
body.jester-ui .global-chat-title,
body.jester-ui .atomic-engine-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
}

body.jester-ui .atomic-role-badge {
    font-family: 'Outfit', system-ui, sans-serif !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    border-radius: 6px !important;
    box-shadow: 0 0 12px rgba(185, 28, 60, 0.2) !important;
    font-weight: 700 !important;
    background: rgba(185, 28, 60, 0.12) !important;
    color: var(--j-gold) !important;
}

/* ── Chat preview — ticker strip ── */
body.jester-ui .chat-log-preview {
    background: rgba(46, 77, 184, 0.06) !important;
    border: 1px solid rgba(46, 77, 184, 0.22) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--j-ink-soft) !important;
    margin-bottom: 10px !important;
    padding: 6px 10px 6px 14px !important;
    gap: 8px !important;
    position: relative !important;
    overflow: hidden !important;
}
body.jester-ui .chat-log-preview::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 6px !important;
    bottom: 6px !important;
    left: 0 !important;
    width: 3px !important;
    background: var(--j-teal) !important;
    border-radius: 0 2px 2px 0 !important;
    pointer-events: none !important;
}
body.jester-ui .chat-log-preview-live {
    background: var(--j-teal) !important;
    box-shadow: 0 0 8px var(--j-teal) !important;
}
body.jester-ui .chat-log-preview-text {
    font-size: 0.72rem !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui .chat-log-preview-open {
    background: transparent !important;
    color: var(--j-silver) !important;
    border: 1px solid rgba(46, 77, 184, 0.4) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.58rem !important;
    padding: 4px 8px !important;
}

/* ── Admin contact / referral ── */
body.jester-ui .home-admin-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px 12px 16px !important;
    margin-bottom: 10px !important;
}
body.jester-ui .home-admin-contact-left {
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
body.jester-ui .home-admin-contact-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}
body.jester-ui .home-admin-contact-actions {
    width: 100% !important;
    align-self: stretch !important;
    margin-top: 0 !important;
}
body.jester-ui .home-admin-contact-actions .btn-admin-wa {
    flex: 1 !important;
    justify-content: center !important;
}
body.jester-ui .home-admin-contact,
body.jester-ui .referral-entry-btn,
body.jester-ui .redeem-banner,
body.jester-ui #activationBanner {
    background: var(--j-surface) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
    position: relative !important;
    overflow: hidden !important;
}
body.jester-ui .home-admin-contact::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 3px !important;
    background: var(--j-lime) !important;
    border-radius: 0 2px 2px 0 !important;
    pointer-events: none !important;
}
body.jester-ui .home-admin-contact-title,
body.jester-ui .referral-entry-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-lime) !important;
    font-size: 0.58rem !important;
}
body.jester-ui .home-admin-contact-sub {
    color: var(--j-ink-soft) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
}
body.jester-ui .home-admin-contact-number,
body.jester-ui #homeAdminWaNumber,
body.jester-ui .support-wa-number,
body.jester-ui #modalAdminWaNumber {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--j-silver) !important;
    letter-spacing: 0.04em !important;
    word-break: break-all !important;
    text-shadow: 0 0 12px rgba(46, 77, 184, 0.3) !important;
}
body.jester-ui .btn-admin-wa {
    padding: 8px 10px !important;
    font-size: 0.52rem !important;
    border: 1px solid rgba(200, 200, 200, 0.35) !important;
    border-radius: 8px !important;
    background: rgba(200, 200, 200, 0.08) !important;
    color: var(--j-lime) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui .referral-token-pill {
    background: rgba(185, 28, 60, 0.15) !important;
    color: var(--j-gold) !important;
    border: 1px solid rgba(185, 28, 60, 0.35) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

/* ── Buttons — neon gradient ── */
body.jester-ui .btn-activate,
body.jester-ui .btn-redeem,
body.jester-ui .btn-mini,
body.jester-ui .btn-payment-check,
body.jester-ui .btn-otp-send,
body.jester-ui .btn-primary {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 16px rgba(185, 28, 60, 0.2) !important;
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    color: #fff !important;
}
body.jester-ui .btn-redeem {
    background: linear-gradient(135deg, var(--j-royal), var(--j-teal)) !important;
    border-color: rgba(46, 77, 184, 0.45) !important;
    box-shadow: 0 0 16px rgba(46, 77, 184, 0.2) !important;
}

/* ── Bottom nav — dock bar ── */
body.jester-ui .app-bottom-nav {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
    width: min(calc(100% - 20px), var(--app-max)) !important;
    max-width: var(--app-max) !important;
    height: auto !important;
    padding: 4px 6px !important;
    background: rgba(6, 8, 16, 0.94) !important;
    backdrop-filter: blur(18px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(46, 77, 184, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(46, 77, 184, 0.06) !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 2px !important;
    z-index: 3000 !important;
}

body.jester-ui .app-nav-item {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    color: var(--j-muted) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    padding: 8px 4px 6px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    transition: all 0.2s ease !important;
    border-top: 2px solid transparent !important;
}
body.jester-ui .app-nav-item i {
    font-size: 1rem !important;
}
body.jester-ui .app-nav-item.active {
    background: rgba(185, 28, 60, 0.1) !important;
    color: var(--j-gold) !important;
    border-top-color: var(--j-gold) !important;
    box-shadow: inset 0 0 20px rgba(185, 28, 60, 0.08) !important;
}

/* ── Modals / overlays ── */
body.jester-ui .store-overlay,
body.jester-ui .contact-overlay,
body.jester-ui #announceModalOverlay,
body.jester-ui #announcePromptOverlay,
body.jester-ui #referralModalOverlay,
body.jester-ui #maintenanceOverlay,
body.jester-ui #serverRestartOverlay {
    background: rgba(18, 8, 31, 0.88) !important;
    backdrop-filter: none !important;
}

body.jester-ui .store-card,
body.jester-ui .support-modal-card,
body.jester-ui .referral-modal-card,
body.jester-ui .announce-modal-card {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 24px !important;
    box-shadow: 8px 8px 0 var(--j-ink) !important;
    color: var(--j-ink) !important;
}

body.jester-ui .shop-item {
    border: 2px solid var(--j-ink) !important;
    border-radius: 16px !important;
    background: var(--j-surface2) !important;
    box-shadow: 3px 3px 0 var(--j-ink) !important;
}

/* ── Global Chat — Harlequin Noir ── */
body.jester-ui .global-chat-card {
    border-color: rgba(46, 77, 184, 0.2) !important;
}
body.jester-ui .global-chat-head {
    background: rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid var(--j-line) !important;
}
body.jester-ui .global-chat-back {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink-soft) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
body.jester-ui .global-chat-back:hover {
    color: var(--j-ink) !important;
    border-color: rgba(46, 77, 184, 0.4) !important;
    background: rgba(46, 77, 184, 0.1) !important;
}
body.jester-ui .global-chat-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
    letter-spacing: 0.08em !important;
}
body.jester-ui .global-chat-sub,
body.jester-ui .global-chat-compose-meta {
    color: var(--j-muted) !important;
}
body.jester-ui .global-chat-head-main > i {
    color: var(--j-plum) !important;
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.35)) !important;
}
body.jester-ui .global-chat-messages {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 12px !important;
    margin: 8px 12px !important;
    box-shadow: none !important;
}
body.jester-ui .global-chat-empty {
    color: var(--j-muted) !important;
}
body.jester-ui .chat-bubble {
    border-radius: 12px !important;
    box-shadow: none !important;
}
body.jester-ui .chat-row.mine .chat-bubble {
    background: rgba(46, 77, 184, 0.18) !important;
    border: 1px solid rgba(46, 77, 184, 0.35) !important;
    color: var(--j-ink) !important;
}
body.jester-ui .chat-row.theirs .chat-bubble {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-silver) !important;
}
body.jester-ui .chat-bubble.admin-bubble {
    background: rgba(185, 28, 60, 0.1) !important;
    border-color: rgba(185, 28, 60, 0.3) !important;
}
body.jester-ui .chat-text {
    color: inherit !important;
}
body.jester-ui .chat-name {
    color: var(--j-teal) !important;
}
body.jester-ui .chat-time {
    color: var(--j-muted) !important;
}
body.jester-ui .global-chat-compose {
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid var(--j-line) !important;
}
body.jester-ui #globalChatInput,
body.jester-ui .global-chat-compose input {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    color: var(--j-ink) !important;
    box-shadow: none !important;
}
body.jester-ui #globalChatInput:focus,
body.jester-ui .global-chat-compose input:focus {
    border-color: rgba(46, 77, 184, 0.5) !important;
    box-shadow: 0 0 12px rgba(46, 77, 184, 0.15) !important;
}
body.jester-ui #globalChatInput::placeholder,
body.jester-ui .global-chat-compose input::placeholder {
    color: var(--j-muted) !important;
    opacity: 1 !important;
}
body.jester-ui #globalChatSendBtn {
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px rgba(185, 28, 60, 0.2) !important;
}
body.jester-ui #globalChatSendBtn:hover:not(:disabled) {
    filter: brightness(1.08) !important;
}
body.jester-ui #globalChatCharCount {
    color: var(--j-muted) !important;
}
body.jester-ui .global-chat-lock-btn {
    border-color: rgba(185, 28, 60, 0.35) !important;
    background: rgba(185, 28, 60, 0.08) !important;
    color: var(--j-crimson) !important;
}
body.jester-ui .global-chat-lock-btn.locked {
    border-color: rgba(220, 38, 38, 0.4) !important;
    background: rgba(220, 38, 38, 0.12) !important;
    color: #f87171 !important;
}
body.jester-ui .global-chat-lock-banner {
    background: rgba(185, 28, 60, 0.1) !important;
    border-bottom-color: rgba(185, 28, 60, 0.25) !important;
    color: #f87171 !important;
}
body.jester-ui .global-chat-warn {
    background: rgba(185, 28, 60, 0.08) !important;
    border-color: rgba(185, 28, 60, 0.25) !important;
    color: #fca5a5 !important;
}

/* ── Attack / bug engine ── */
body.jester-ui .atk-section-title,
body.jester-ui .bug-list-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
}
body.jester-ui .bug-list-sheet {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -8px 0 var(--j-gold-dk) !important;
}
body.jester-ui #bugListModal.open {
    background: rgba(18, 8, 31, 0.75) !important;
}
body.jester-ui .bug-card {
    border: 2px solid var(--j-ink) !important;
    border-radius: 14px !important;
    background: var(--j-surface2) !important;
    box-shadow: 2px 2px 0 var(--j-ink) !important;
}
body.jester-ui .bug-card.active {
    background: var(--j-gold) !important;
    box-shadow: 4px 4px 0 var(--j-ink) !important;
}
body.jester-ui .bug-genre-tab.active {
    background: var(--j-ink) !important;
    color: var(--j-gold) !important;
    border-color: var(--j-ink) !important;
}
body.jester-ui .sender-card {
    border: 2px solid var(--j-ink) !important;
    border-radius: 14px !important;
    background: #fff !important;
}
body.jester-ui .sender-card.selected-sender {
    background: #dff7f2 !important;
    box-shadow: 3px 3px 0 var(--j-ink) !important;
}

/* ── Stats / VPS ── */
body.jester-ui .stat-box,
body.jester-ui .vps-item {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 14px !important;
    box-shadow: 2px 2px 0 var(--j-ink) !important;
    color: var(--j-ink) !important;
}
body.jester-ui .stat-val,
body.jester-ui .vps-val {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-plum) !important;
}

/* ── Processing / success / notify ── */
body.jester-ui #processingModal.open,
body.jester-ui #successModal.open {
    background: rgba(18, 8, 31, 0.9) !important;
}
body.jester-ui .proc-spinner {
    border-color: rgba(232, 185, 35, 0.25) !important;
    border-top-color: var(--j-gold) !important;
}
body.jester-ui .proc-text,
body.jester-ui .success-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-gold) !important;
}
body.jester-ui .success-sheet {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 24px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
}
body.jester-ui #notifyModal .notify-card,
body.jester-ui #confirmModal .confirm-card {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 20px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
}

/* ── Maintenance ── */
body.jester-ui .maintenance-brand {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-gold) !important;
}

/* ── Inputs ── */
body.jester-ui input[type="text"],
body.jester-ui input[type="tel"],
body.jester-ui input[type="number"],
body.jester-ui textarea,
body.jester-ui select {
    border: 2px solid var(--j-ink) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

/* ── Payment modal states ── */
body.jester-ui #paymentModal.is-open .store-card {
    border-color: var(--j-teal) !important;
}

/* ── Ads ── */
body.jester-ui #premiumUpgradeAd,
body.jester-ui #legacyUpgradeAd,
body.jester-ui #globalSenderAd {
    border: 2px dashed var(--j-gold) !important;
    border-radius: 18px !important;
    background: rgba(232, 185, 35, 0.12) !important;
    box-shadow: var(--j-shadow) !important;
}

/* ── Pairing ── */
body.jester-ui .pairing-info,
body.jester-ui .pairing-code-wrap {
    background: rgba(10, 10, 10, 0.94) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 16px !important;
    padding: 16px 14px 14px !important;
    color: var(--j-ink-soft) !important;
}

body.jester-ui .pairing-info .pairing-step-label {
    font-size: 0.75rem !important;
    color: var(--j-coral) !important;
    letter-spacing: 1px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

body.jester-ui .pairing-info .pairing-timer-notice,
body.jester-ui #pairingTimerNotice {
    font-size: 0.55rem !important;
    color: var(--j-muted) !important;
    margin-top: 2px !important;
}

body.jester-ui .code-box,
body.jester-ui .pairing-info .code-box,
body.jester-ui #pairingCode {
    font-family: 'Outfit', system-ui, sans-serif !important;
    background: rgba(0, 0, 0, 0.72) !important;
    color: var(--j-gold) !important;
    border: 2px solid rgba(185, 28, 60, 0.55) !important;
    border-radius: 14px !important;
    letter-spacing: 0.18em !important;
    text-shadow: 0 0 14px rgba(185, 28, 60, 0.35) !important;
    padding: 10px 8px !important;
}

body.jester-ui .pairing-info .loader {
    border: 2px solid rgba(185, 28, 60, 0.18) !important;
    border-top-color: var(--j-gold) !important;
}

body.jester-ui .pairing-cancel-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink-soft) !important;
}

/* ── OTP Rolling — Harlequin Noir ── */
body.jester-ui .otp-rolling-card {
    border-color: rgba(185, 28, 60, 0.2) !important;
}
body.jester-ui .otp-rolling-head {
    border-bottom: 1px solid var(--j-line) !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
}
body.jester-ui .otp-rolling-head i {
    color: var(--j-crimson) !important;
}
body.jester-ui .otp-indo-notice {
    background: rgba(185, 28, 60, 0.07) !important;
    border: 1px solid rgba(185, 28, 60, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
}
body.jester-ui .otp-indo-notice-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-crimson) !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.1em !important;
}
body.jester-ui .otp-indo-notice-sub {
    color: var(--j-muted) !important;
    font-size: 0.55rem !important;
}
body.jester-ui .otp-service-tags {
    gap: 5px !important;
    margin-bottom: 12px !important;
}
body.jester-ui .otp-service-tag {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--j-border) !important;
    color: var(--j-silver) !important;
    border-radius: 8px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.5rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    padding: 5px 9px !important;
    text-transform: capitalize !important;
}
body.jester-ui .otp-rolling-card .redeem-input-wrapper i {
    color: var(--j-muted) !important;
}
body.jester-ui #otpRollingTarget,
body.jester-ui .otp-rolling-card .redeem-input-wrapper input {
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--j-ink) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui #otpRollingTarget::placeholder {
    color: var(--j-muted) !important;
    opacity: 1 !important;
}
body.jester-ui #otpRollingTarget:focus {
    border-color: rgba(46, 77, 184, 0.5) !important;
    box-shadow: 0 0 12px rgba(46, 77, 184, 0.15) !important;
}
body.jester-ui .btn-otp-send {
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    box-shadow: 0 0 16px rgba(185, 28, 60, 0.25) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    padding: 14px !important;
    border-radius: 10px !important;
}
body.jester-ui .btn-otp-send:disabled {
    opacity: 0.55 !important;
}
body.jester-ui .app-nav-item#navTabOtp.active {
    color: var(--j-crimson) !important;
}
body.jester-ui .app-nav-item#navTabOtp.active i {
    filter: drop-shadow(0 0 8px rgba(185, 28, 60, 0.4)) !important;
}

body.jester-ui .pairing-info,
body.jester-ui .pairing-code-wrap {
    border-top: 1px dashed var(--j-line) !important;
    color: var(--j-ink-soft) !important;
}

body.jester-ui .atk-section,
body.jester-ui .atk-gs-admin-row {
    border-color: var(--j-ink) !important;
}
body.jester-ui .atk-random-hint {
    color: var(--j-muted) !important;
}

body.jester-ui .bug-list-close {
    background: var(--j-coral) !important;
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink) !important;
    border-radius: 12px !important;
}
body.jester-ui .bug-info-chip {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink) !important;
    border-radius: 12px !important;
}
body.jester-ui .bug-genre-tab {
    border: 2px solid var(--j-ink) !important;
    background: #fff !important;
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    border-radius: 999px !important;
}

body.jester-ui .dashboard-card [style*="color:#"],
body.jester-ui .dashboard-card [style*="color: #"] {
    /* inline colors on profile — theme handles via card bg */
}

body.jester-ui .contact-overlay .support-modal-card,
body.jester-ui #globalChatModal .global-chat-card {
    background: var(--j-surface) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--j-shadow) !important;
}

/* ══════════════════════════════════════════
   CONTRAST FIX — dark glass panels
   ══════════════════════════════════════════ */
body.jester-ui .sender-card,
body.jester-ui .bug-engine-wrap .sender-card {
    background: var(--j-surface) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
}

body.jester-ui .sender-card h3,
body.jester-ui .sender-card h2,
body.jester-ui .sender-card h4 {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
    letter-spacing: 0.06em !important;
}

body.jester-ui .section-label,
body.jester-ui .bug-engine-header h3 {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-plum) !important;
    letter-spacing: 0.1em !important;
}

body.jester-ui .status-badge {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
body.jester-ui .status-badge.off {
    background: rgba(124, 58, 237, 0.12) !important;
    color: var(--j-plum) !important;
    border-color: rgba(124, 58, 237, 0.35) !important;
}
body.jester-ui .status-badge.on {
    background: rgba(46, 77, 184, 0.1) !important;
    color: var(--j-teal) !important;
    border-color: rgba(46, 77, 184, 0.35) !important;
}
body.jester-ui .status-badge.pending {
    background: var(--j-surface2) !important;
    color: var(--j-ink-soft) !important;
}
body.jester-ui .status-badge.connecting {
    background: rgba(185, 28, 60, 0.1) !important;
    color: var(--j-gold) !important;
    border-color: rgba(185, 28, 60, 0.35) !important;
}

body.jester-ui .field-label,
body.jester-ui .atk-random-label {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-teal) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    font-size: 0.62rem !important;
    text-transform: uppercase !important;
}

body.jester-ui .btn-primary {
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    color: #fff !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 16px rgba(185, 28, 60, 0.25) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
}
body.jester-ui .btn-primary:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 0 22px rgba(185, 28, 60, 0.35) !important;
}

body.jester-ui .sender-card input,
body.jester-ui .add-sender-form input,
body.jester-ui .field-input,
body.jester-ui #attackTarget,
body.jester-ui #phoneNumber,
body.jester-ui select.field-input,
body.jester-ui #attackPersonalSession {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--j-ink) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui .sender-card input::placeholder,
body.jester-ui #attackTarget::placeholder {
    color: var(--j-muted) !important;
    opacity: 1 !important;
}
body.jester-ui .sender-card input:focus,
body.jester-ui #attackTarget:focus {
    border-color: rgba(46, 77, 184, 0.5) !important;
    box-shadow: 0 0 12px rgba(46, 77, 184, 0.15) !important;
}

body.jester-ui .source-toggle {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    padding: 4px !important;
    gap: 4px !important;
}
body.jester-ui .source-btn {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink-soft) !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.58rem !important;
    padding: 9px 6px !important;
}
body.jester-ui .source-btn i {
    color: inherit !important;
    opacity: 0.9 !important;
}
body.jester-ui .source-btn.active {
    background: rgba(185, 28, 60, 0.18) !important;
    color: var(--j-gold) !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    box-shadow: 0 0 12px rgba(185, 28, 60, 0.15) !important;
}
body.jester-ui .source-btn.active i {
    color: var(--j-gold) !important;
}
body.jester-ui .source-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--j-ink) !important;
}

body.jester-ui .selected-bug-display {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
    gap: 10px !important;
}
body.jester-ui .selected-bug-display.has-bug {
    background: rgba(185, 28, 60, 0.08) !important;
    border-color: rgba(185, 28, 60, 0.35) !important;
}
body.jester-ui .selected-bug-icon {
    background: rgba(124, 58, 237, 0.15) !important;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    color: var(--j-plum) !important;
    width: 38px !important;
    height: 38px !important;
}
body.jester-ui .selected-bug-icon i {
    color: var(--j-plum) !important;
}
body.jester-ui .selected-bug-name {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
}
body.jester-ui .selected-bug-desc {
    color: var(--j-ink-soft) !important;
    font-size: 0.62rem !important;
}
body.jester-ui .selected-badge {
    background: rgba(46, 77, 184, 0.12) !important;
    color: var(--j-silver) !important;
    border: 1px solid rgba(46, 77, 184, 0.4) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.48rem !important;
}
body.jester-ui .selected-badge.active {
    display: block !important;
}
body.jester-ui .bug-chevron {
    color: var(--j-muted) !important;
}

body.jester-ui .count-control {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    padding: 4px !important;
    gap: 6px !important;
}
body.jester-ui .count-btn {
    width: 36px !important;
    height: 36px !important;
    background: rgba(46, 77, 184, 0.1) !important;
    border: 1px solid rgba(46, 77, 184, 0.45) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
body.jester-ui .count-btn i {
    color: var(--j-teal) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}
body.jester-ui .count-btn:active {
    background: rgba(46, 77, 184, 0.22) !important;
    border-color: var(--j-teal) !important;
}
body.jester-ui .count-control input {
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.jester-ui .pairing-info {
    border-top: 1px dashed var(--j-line) !important;
    color: var(--j-ink) !important;
}
body.jester-ui .pairing-info p {
    color: var(--j-ink-soft) !important;
}
body.jester-ui .tutorial-info-text,
body.jester-ui .tutorial-btn {
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui .tutorial-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    color: var(--j-ink-soft) !important;
}

body.jester-ui .gs-auto-badge {
    background: rgba(46, 77, 184, 0.08) !important;
    border: 1px dashed rgba(46, 77, 184, 0.35) !important;
    color: var(--j-ink) !important;
}
body.jester-ui .gs-auto-text {
    color: var(--j-silver) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

body.jester-ui .global-sender-header [style*="color:#555"],
body.jester-ui .global-sender-header [style*="color: #555"],
body.jester-ui .sender-card [style*="color:#555"],
body.jester-ui .sender-card [style*="color: #555"],
body.jester-ui .sender-card [style*="color:#666"],
body.jester-ui .sender-card [style*="color: #666"],
body.jester-ui .sender-card [style*="color:#444"],
body.jester-ui .sender-card [style*="color: #444"] {
    color: var(--j-ink-soft) !important;
}
body.jester-ui .sender-card [style*="color:#bbb"],
body.jester-ui .sender-card [style*="color: #bbb"],
body.jester-ui .sender-card [style*="color:#fff"],
body.jester-ui .sender-card [style*="color: #fff"] {
    color: var(--j-ink) !important;
}
body.jester-ui .sender-card [style*="color:var(--red)"],
body.jester-ui .sender-card [style*="color: var(--red)"] {
    color: var(--j-coral) !important;
}
body.jester-ui .sender-card [style*="color:var(--primary)"],
body.jester-ui .sender-card [style*="color: var(--primary)"] {
    color: var(--j-plum) !important;
}

body.jester-ui .dashboard-card,
body.jester-ui .user-profile-card {
    color: var(--j-ink) !important;
    position: relative !important;
    overflow: hidden !important;
}
body.jester-ui .dashboard-card::before,
body.jester-ui .user-profile-card::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 0 !important;
    right: auto !important;
    width: 3px !important;
    height: auto !important;
    background: var(--j-gold) !important;
    border-radius: 0 2px 2px 0 !important;
    pointer-events: none !important;
}
body.jester-ui .dashboard-card:hover,
body.jester-ui .user-profile-card:hover {
    transform: none !important;
}
body.jester-ui .dashboard-card p,
body.jester-ui .dashboard-card span,
body.jester-ui .dashboard-card label,
body.jester-ui .profile-stat-label {
    color: var(--j-ink-soft) !important;
}
body.jester-ui .profile-stat-val,
body.jester-ui .dashboard-card strong {
    color: var(--j-ink) !important;
}
body.jester-ui #profileUsername,
body.jester-ui .user-profile-card h2 {
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui #profileRegDate,
body.jester-ui .profile-stat-box div[style*="color:#aaa"],
body.jester-ui .profile-stat-box div[style*="color: #aaa"],
body.jester-ui .profile-stat-box div[style*="color:#fff"],
body.jester-ui .profile-stat-box div[style*="color: #fff"] {
    color: var(--j-ink) !important;
}
body.jester-ui .user-profile-card [style*="color:var(--primary)"],
body.jester-ui .user-profile-card [style*="color: var(--primary)"] {
    color: var(--j-plum) !important;
}

body.jester-ui .profile-stats-row {
    margin-top: 12px !important;
    padding-top: 12px !important;
    gap: 8px !important;
}
body.jester-ui .profile-stat-box {
    min-width: 0 !important;
}
body.jester-ui .profile-stat-box .profile-stat-label {
    font-size: 0.58rem !important;
}
body.jester-ui .profile-stat-val {
    font-size: 0.78rem !important;
}

body.jester-ui .icon-action-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink-soft) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
body.jester-ui .icon-action-btn.red {
    background: rgba(255, 107, 138, 0.08) !important;
    color: var(--j-coral) !important;
    border-color: rgba(255, 107, 138, 0.35) !important;
}

body.jester-ui .app-nav-item {
    color: var(--j-ink-soft) !important;
}
body.jester-ui .app-nav-item i {
    color: inherit !important;
}

body.jester-ui .atk-btn-fire,
body.jester-ui #fireAttackBtn,
body.jester-ui .btn-send-bug {
    background: var(--j-plum) !important;
    color: #fff !important;
    border: 2px solid var(--j-ink) !important;
    box-shadow: 3px 3px 0 var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    border-radius: 16px !important;
}
body.jester-ui .btn-send-bug:not(:disabled) {
    background: linear-gradient(135deg, var(--j-plum), #8b5fc9) !important;
    box-shadow: 3px 3px 0 var(--j-ink) !important;
}
body.jester-ui .btn-send-bug:disabled {
    opacity: 0.45 !important;
    background: var(--j-surface2) !important;
    color: var(--j-ink-soft) !important;
}
body.jester-ui .btn-send-bug::before {
    display: none !important;
}

body.jester-ui .sender-card input::placeholder,
body.jester-ui #attackTarget::placeholder,
body.jester-ui #phoneNumber::placeholder,
body.jester-ui .add-sender-form input::placeholder,
body.jester-ui input::placeholder,
body.jester-ui textarea::placeholder {
    color: rgba(168, 178, 210, 0.72) !important;
    opacity: 1 !important;
}

body.jester-ui .sender-card .fa-phone,
body.jester-ui #attackTarget ~ .fa-phone,
body.jester-ui #attackTarget ~ i {
    color: var(--j-teal) !important;
}

body.jester-ui .otp-rolling-sub,
body.jester-ui .chat-log-preview-text {
    color: var(--j-ink-soft) !important;
}

/* ══════════════════════════════════════════
   BUG LIST MODAL — light sheet, full contrast
   ══════════════════════════════════════════ */
body.jester-ui #bugListModal.open::before {
    display: none !important;
}

body.jester-ui #bugListModal .bug-list-sheet {
    background: rgba(8, 10, 20, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background-image: none !important;
    border: 1px solid rgba(46, 77, 184, 0.2) !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6) !important;
    color: var(--j-ink) !important;
}

body.jester-ui #bugListModal .bug-list-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    background: none !important;
    -webkit-text-fill-color: var(--j-ink) !important;
    color: var(--j-ink) !important;
    font-weight: 800 !important;
}
body.jester-ui #bugListModal .bug-list-subtitle {
    color: var(--j-ink-soft) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

body.jester-ui #bugListModal .bug-list-close {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink) !important;
}

body.jester-ui #bugListModal .bug-c1-static {
    background: rgba(124, 58, 237, 0.12) !important;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    border-radius: 10px !important;
}
body.jester-ui #bugListModal .bug-c1-static-head {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-plum) !important;
    font-weight: 800 !important;
}

body.jester-ui #bugListModal .bug-info-chip-c1 {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    color: var(--j-ink) !important;
}
body.jester-ui #bugListModal .bug-info-chip-c1 i,
body.jester-ui #bugListModal .bug-info-chip-c1 strong {
    color: var(--j-plum) !important;
}
body.jester-ui #bugListModal .bug-info-chip {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
}

body.jester-ui #bugListModal .bug-info-click {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 14px !important;
}
body.jester-ui #bugListModal .bug-info-click-warn {
    background: rgba(255, 107, 138, 0.1) !important;
    border-color: rgba(255, 107, 138, 0.35) !important;
}
body.jester-ui #bugListModal .bug-info-click > summary {
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui #bugListModal .bug-info-click-hint,
body.jester-ui #bugListModal .bug-info-click-chevron {
    color: var(--j-ink-soft) !important;
}

body.jester-ui #bugListModal .bug-info-chip-warn {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 107, 138, 0.35) !important;
    color: var(--j-ink) !important;
}
body.jester-ui #bugListModal .bug-info-chip-warn i {
    color: var(--j-coral) !important;
}
body.jester-ui #bugListModal .bug-info-chip-warn strong {
    color: var(--j-ink) !important;
}
body.jester-ui #bugListModal .bug-info-chip-tip {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink-soft) !important;
}

body.jester-ui #bugListModal .bug-modal-meta-left {
    color: var(--j-ink-soft) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui #bugListModal .bug-modal-meta-left strong {
    color: var(--j-silver) !important;
}

body.jester-ui #bugListModal .bug-scroll-label,
body.jester-ui #bugListModal .bug-genre-label {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink-soft) !important;
}
body.jester-ui #bugListModal .bug-genre-label span {
    color: var(--j-plum) !important;
}

body.jester-ui #bugListModal .bug-scroll-hint {
    background: rgba(46, 77, 184, 0.08) !important;
    border: 1px solid rgba(46, 77, 184, 0.3) !important;
    color: var(--j-silver) !important;
    box-shadow: none !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

/* Fix gradient overlay on genre tabs (was dark, covered Freeze tab) */
body.jester-ui #bugListModal .bug-scroll-wrap::after {
    background: linear-gradient(90deg, transparent 0%, rgba(8, 10, 20, 0.75) 50%, rgba(8, 10, 20, 0.98) 100%) !important;
    width: 40px !important;
}

body.jester-ui #bugListModal .bug-genre-tab {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink-soft) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
body.jester-ui #bugListModal .bug-genre-tab.active {
    background: rgba(185, 28, 60, 0.15) !important;
    color: var(--j-gold) !important;
    border-color: rgba(185, 28, 60, 0.4) !important;
    box-shadow: 0 0 12px rgba(185, 28, 60, 0.15) !important;
}
body.jester-ui #bugListModal .bug-genre-tab.active i {
    color: var(--j-gold) !important;
    opacity: 1 !important;
}
body.jester-ui #bugListModal .bug-genre-count {
    background: rgba(255, 255, 255, 0.2) !important;
    color: inherit !important;
}
body.jester-ui #bugListModal .bug-genre-tab:not(.active) .bug-genre-count {
    background: var(--j-surface2) !important;
    color: var(--j-ink-soft) !important;
}

body.jester-ui #bugListModal .bug-card {
    background: var(--j-surface) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
body.jester-ui #bugListModal .bug-card-name {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}
body.jester-ui #bugListModal .bug-card-desc {
    color: var(--j-ink-soft) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.jester-ui #bugListModal .bug-card.active {
    border-color: rgba(185, 28, 60, 0.45) !important;
    box-shadow: 0 0 16px rgba(185, 28, 60, 0.15) !important;
}
body.jester-ui #bugListModal .bug-card.active .bug-card-name {
    color: var(--j-ink) !important;
    text-shadow: none !important;
}
body.jester-ui #bugListModal .bug-card.locked {
    opacity: 1 !important;
    filter: none !important;
    background: var(--j-surface2) !important;
    border-style: dashed !important;
    border-color: var(--j-muted) !important;
}
body.jester-ui #bugListModal .bug-card.locked .bug-card-name,
body.jester-ui #bugListModal .bug-card.locked .bug-card-desc {
    color: var(--j-ink-soft) !important;
}

body.jester-ui #bugListModal .bug-badge-free {
    background: rgba(46, 77, 184, 0.1) !important;
    border: 1px solid rgba(46, 77, 184, 0.35) !important;
    color: var(--j-silver) !important;
}
body.jester-ui #bugListModal .bug-badge-prem {
    background: rgba(124, 58, 237, 0.12) !important;
    border: 1px solid rgba(124, 58, 237, 0.35) !important;
    color: var(--j-plum) !important;
}
body.jester-ui #bugListModal .bug-badge-lock {
    background: rgba(255, 107, 138, 0.1) !important;
    border: 1px solid rgba(255, 107, 138, 0.35) !important;
    color: var(--j-coral) !important;
}

body.jester-ui #bugListModal .bug-card-empty {
    color: var(--j-ink-soft) !important;
}

body.jester-ui #bugListModal .bug-check-circle {
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink) !important;
}

/* ── Scrollbar ── */
body.jester-ui * {
    scrollbar-color: var(--j-gold) transparent;
}

/* ── Inline style overrides (shop/payment headers) ── */
body.jester-ui .store-header h2,
body.jester-ui .store-header [style*="Outfit"] {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
}

@media (max-width: 380px) {
    body.jester-ui #liveTime,
    body.jester-ui .jester-hero-clock {
        font-size: 1.1rem !important;
    }
    body.jester-ui .action-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.78rem !important;
    }
}

/* ══════════════════════════════════════════
   AUTH PAGES — login / register
   ══════════════════════════════════════════ */
body.jester-ui.jester-auth {
    background: var(--j-bg) !important;
    background-image:
        linear-gradient(135deg, transparent 25%, rgba(232, 185, 35, 0.04) 25%, rgba(232, 185, 35, 0.04) 50%, transparent 50%, transparent 75%, rgba(61, 214, 195, 0.05) 75%) !important;
    background-size: 24px 24px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-text) !important;
}

body.jester-ui.jester-auth .auth-shell {
    max-width: var(--app-max) !important;
}

body.jester-ui.jester-auth .auth-hero {
    min-height: 40vh !important;
    padding: 40px 22px 28px !important;
    background: var(--j-bg2) !important;
    border-bottom: 3px solid var(--j-gold) !important;
    box-shadow: 0 6px 0 var(--j-gold-dk) !important;
}
body.jester-ui.jester-auth .auth-hero::before {
    background-image:
        linear-gradient(rgba(232, 185, 35, 0.06) 2px, transparent 2px),
        linear-gradient(90deg, rgba(232, 185, 35, 0.06) 2px, transparent 2px) !important;
    background-size: 20px 20px !important;
}

body.jester-ui.jester-auth .auth-hero-mark {
    width: 68px !important;
    height: 68px !important;
    border-radius: 18px !important;
    background: var(--j-gold) !important;
    border: 3px solid var(--j-ink) !important;
    box-shadow: 4px 4px 0 var(--j-ink) !important;
}
body.jester-ui.jester-auth .auth-hero-mark i {
    background: none !important;
    -webkit-text-fill-color: var(--j-ink) !important;
    color: var(--j-ink) !important;
    font-size: 1.5rem !important;
}

body.jester-ui.jester-auth .auth-hero-banner {
    border-radius: 16px !important;
    border: 3px solid var(--j-ink) !important;
    box-shadow: 4px 4px 0 var(--j-ink) !important;
}
body.jester-ui.jester-auth .auth-hero-banner::after {
    background: linear-gradient(90deg, transparent, var(--j-gold), var(--j-teal), transparent) !important;
    height: 3px !important;
}
body.jester-ui.jester-auth .auth-hero-banner-overlay {
    background: linear-gradient(135deg, rgba(18, 8, 31, 0.2), rgba(18, 8, 31, 0.65)) !important;
}

body.jester-ui.jester-auth .auth-hero-title {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 800 !important;
    color: var(--j-surface) !important;
    letter-spacing: 0.04em !important;
    text-shadow: 2px 2px 0 var(--j-ink) !important;
}
body.jester-ui.jester-auth .auth-hero-sub {
    color: var(--j-muted) !important;
    font-weight: 500 !important;
}

body.jester-ui.jester-auth .auth-sheet {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-bottom: none !important;
    border-radius: 28px 28px 0 0 !important;
    margin-top: -20px !important;
    box-shadow: 0 -6px 0 var(--j-ink) !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .auth-sheet::before {
    background: var(--j-gold) !important;
    width: 48px !important;
    height: 5px !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 6px !important;
}

body.jester-ui.jester-auth h1,
body.jester-ui.jester-auth .subtitle {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .subtitle {
    color: var(--j-muted) !important;
    letter-spacing: 0.14em !important;
}

body.jester-ui.jester-auth label {
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    opacity: 0.7 !important;
}

body.jester-ui.jester-auth input[type="text"],
body.jester-ui.jester-auth input[type="password"] {
    background: #fff !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 14px !important;
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    box-shadow: 2px 2px 0 rgba(26, 16, 40, 0.15) !important;
}
body.jester-ui.jester-auth input:focus {
    border-color: var(--j-gold) !important;
    box-shadow: 3px 3px 0 var(--j-gold-dk) !important;
    background: #fffef8 !important;
}
body.jester-ui.jester-auth .input-wrap:focus-within i {
    color: var(--j-plum) !important;
}
body.jester-ui.jester-auth .input-wrap i {
    color: var(--j-muted) !important;
}

body.jester-ui.jester-auth .btn {
    background: var(--j-gold) !important;
    color: var(--j-ink) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 16px !important;
    box-shadow: 4px 4px 0 var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    letter-spacing: 0.1em !important;
}
body.jester-ui.jester-auth .btn:hover {
    transform: translate(-1px, -1px) !important;
    box-shadow: 5px 5px 0 var(--j-ink) !important;
    filter: none !important;
}
body.jester-ui.jester-auth .btn:active {
    transform: translate(3px, 3px) !important;
    box-shadow: none !important;
}

body.jester-ui.jester-auth .footer-links {
    color: var(--j-muted) !important;
}
body.jester-ui.jester-auth .footer-links a,
body.jester-ui.jester-auth .forgot-link button {
    color: var(--j-plum) !important;
    font-weight: 700 !important;
}

body.jester-ui.jester-auth #message.error {
    color: #b4234a !important;
    background: #ffe8ee !important;
    border: 2px solid var(--j-ink) !important;
}
body.jester-ui.jester-auth #message.success {
    color: #0d6b5f !important;
    background: #dff7f2 !important;
    border: 2px solid var(--j-ink) !important;
}
body.jester-ui.jester-auth #message.info {
    color: var(--j-plum) !important;
    background: #ebe4ff !important;
    border: 2px solid var(--j-ink) !important;
}

body.jester-ui.jester-auth .support-overlay {
    background: rgba(18, 8, 31, 0.9) !important;
}
body.jester-ui.jester-auth .support-card {
    background: var(--j-surface) !important;
    border: 3px solid var(--j-ink) !important;
    border-radius: 24px !important;
    box-shadow: 8px 8px 0 var(--j-ink) !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .support-card h3,
body.jester-ui.jester-auth .support-reset-box h4 {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .btn-copy-wa,
body.jester-ui.jester-auth .btn-close-support {
    border: 2px solid var(--j-ink) !important;
    border-radius: 12px !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 2px 2px 0 var(--j-ink) !important;
}
body.jester-ui.jester-auth .btn-copy-wa {
    background: var(--j-teal) !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .btn-close-support {
    background: var(--j-surface2) !important;
    color: var(--j-ink) !important;
}

body.jester-ui.jester-auth .hint,
body.jester-ui.jester-auth .strength-bar {
    color: var(--j-muted) !important;
}
body.jester-ui.jester-auth .strength-bar {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 999px !important;
}

/* ══════════════════════════════════════════
   ADMIN CONSOLE
   ══════════════════════════════════════════ */
body.jester-ui.jester-admin {
    background: var(--j-bg) !important;
    background-image: none !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-text) !important;
}
body.jester-ui.jester-admin::before {
    display: block !important;
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background-image:
        linear-gradient(45deg, var(--j-check) 25%, transparent 25%, transparent 75%, var(--j-check) 75%),
        linear-gradient(45deg, var(--j-check) 25%, transparent 25%, transparent 75%, var(--j-check) 75%) !important;
    background-size: 14px 14px !important;
    background-position: 0 0, 7px 7px !important;
    opacity: 0.55 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body.jester-ui.jester-admin nav {
    background: var(--j-surface) !important;
    border-bottom: 1px solid var(--j-line) !important;
    box-shadow: var(--j-shadow) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
}
body.jester-ui.jester-admin nav::after {
    display: none !important;
}
body.jester-ui.jester-admin .logo {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(105deg, var(--j-gold), var(--j-teal)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
body.jester-ui.jester-admin .nav-back {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-ink-soft) !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--j-line) !important;
    box-shadow: none !important;
}
body.jester-ui.jester-admin .nav-back:hover {
    color: var(--j-plum) !important;
}

body.jester-ui.jester-admin .container {
    max-width: var(--app-max) !important;
    padding: 0 14px 32px !important;
}

body.jester-ui.jester-admin .status-card,
body.jester-ui.jester-admin .card {
    background: var(--j-surface) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--j-shadow) !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-admin .status-label,
body.jester-ui.jester-admin .card h2 {
    font-family: 'Outfit', system-ui, sans-serif !important;
    letter-spacing: 0.06em !important;
}
body.jester-ui.jester-admin .card h2 {
    color: var(--j-silver) !important;
}
body.jester-ui.jester-admin .card h2[style*="ff6b6b"],
body.jester-ui.jester-admin .card h2[style*="ff4d4d"],
body.jester-ui.jester-admin .card h2[style*="255,59,59"] {
    color: var(--j-crimson) !important;
}
body.jester-ui.jester-admin .card h2[style*="c084fc"],
body.jester-ui.jester-admin .card h2[style*="purple"] {
    color: var(--j-plum) !important;
}
body.jester-ui.jester-admin .card p,
body.jester-ui.jester-admin .card .field-hint {
    color: var(--j-ink-soft) !important;
}
body.jester-ui.jester-admin .status-label {
    color: var(--j-muted) !important;
}
body.jester-ui.jester-admin .status-value {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-plum) !important;
}
body.jester-ui.jester-admin .status-bar-bg {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 999px !important;
}
body.jester-ui.jester-admin .status-bar {
    border-radius: 999px !important;
}

body.jester-ui.jester-admin .btn,
body.jester-ui.jester-admin button.btn {
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    color: #fff !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 14px rgba(185, 28, 60, 0.2) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-weight: 700 !important;
    min-height: 44px !important;
    padding: 11px 18px !important;
}
body.jester-ui.jester-admin .btn-green {
    background: linear-gradient(135deg, #065f46, #059669) !important;
    border-color: rgba(5, 150, 105, 0.45) !important;
    box-shadow: 0 0 14px rgba(5, 150, 105, 0.2) !important;
    color: #fff !important;
}
body.jester-ui.jester-admin .btn-orange {
    background: linear-gradient(135deg, #9a3412, #ea580c) !important;
    border-color: rgba(234, 88, 12, 0.45) !important;
    color: #fff !important;
}
body.jester-ui.jester-admin .btn-red {
    background: rgba(185, 28, 60, 0.1) !important;
    color: var(--j-crimson) !important;
    border: 1px solid rgba(185, 28, 60, 0.4) !important;
    box-shadow: none !important;
}
body.jester-ui.jester-admin .btn:hover,
body.jester-ui.jester-admin button.btn:hover {
    filter: brightness(1.08) !important;
}

body.jester-ui.jester-admin .admin-form-group {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
body.jester-ui.jester-admin .admin-form-group > * {
    flex: 1 !important;
    min-width: 0 !important;
}
body.jester-ui.jester-admin input,
body.jester-ui.jester-admin select,
body.jester-ui.jester-admin textarea,
body.jester-ui.jester-admin input[type="date"] {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 10px !important;
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.78rem !important;
    padding: 11px 14px !important;
    min-height: 44px !important;
    outline: none !important;
    box-shadow: none !important;
}
body.jester-ui.jester-admin select {
    appearance: none !important;
    -webkit-appearance: none !important;
    color-scheme: dark !important;
    cursor: pointer !important;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b5b5b5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
}
body.jester-ui.jester-admin select option {
    background: #111 !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-admin input[type="date"] {
    color-scheme: dark !important;
}
body.jester-ui.jester-admin input::placeholder,
body.jester-ui.jester-admin textarea::placeholder {
    color: var(--j-muted) !important;
    opacity: 1 !important;
}
body.jester-ui.jester-admin input:focus,
body.jester-ui.jester-admin select:focus,
body.jester-ui.jester-admin textarea:focus {
    border-color: rgba(46, 77, 184, 0.5) !important;
    box-shadow: 0 0 12px rgba(46, 77, 184, 0.15) !important;
}
body.jester-ui.jester-admin textarea {
    min-height: 100px !important;
    resize: vertical !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 0.85rem !important;
}
body.jester-ui.jester-admin .admin-form-group .btn {
    flex: 1 1 auto !important;
    white-space: nowrap !important;
}

body.jester-ui.jester-admin .health-api-box,
body.jester-ui.jester-admin .health-api-url,
body.jester-ui.jester-admin .health-meta-item {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    border-radius: 12px !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-admin .health-live-badge {
    border: 2px solid var(--j-ink) !important;
    background: var(--j-surface2) !important;
    color: var(--j-ink) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

body.jester-ui.jester-admin table {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}
body.jester-ui.jester-admin th {
    font-family: 'Outfit', system-ui, sans-serif !important;
    color: var(--j-muted) !important;
}
body.jester-ui.jester-admin td {
    background: var(--j-surface2) !important;
    border: 2px solid var(--j-ink) !important;
    color: var(--j-ink) !important;
}

body.jester-ui.jester-admin .switch .slider {
    border: 2px solid var(--j-ink) !important;
    background: var(--j-surface2) !important;
}
body.jester-ui.jester-admin .switch input:checked + .slider {
    background: var(--j-teal) !important;
}

body.jester-ui.jester-admin code {
    background: var(--j-surface2) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-plum) !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
}

body.jester-ui.jester-admin .card [style*="color:#333"],
body.jester-ui.jester-admin .card [style*="color: #333"],
body.jester-ui.jester-admin .card [style*="color:#444"],
body.jester-ui.jester-admin .card [style*="color: #444"],
body.jester-ui.jester-admin .card [style*="color:#555"],
body.jester-ui.jester-admin .card [style*="color: #555"],
body.jester-ui.jester-admin .card [style*="color:#666"],
body.jester-ui.jester-admin .card [style*="color: #666"],
body.jester-ui.jester-admin .status-card [style*="color:#444"],
body.jester-ui.jester-admin .status-card [style*="color: #444"],
body.jester-ui.jester-admin .status-card [style*="color:#555"],
body.jester-ui.jester-admin .status-card [style*="color: #555"],
body.jester-ui.jester-admin .status-card [style*="color:#666"],
body.jester-ui.jester-admin .status-card [style*="color: #666"],
body.jester-ui.jester-admin #flashSaleList,
body.jester-ui.jester-admin #announceHistory,
body.jester-ui.jester-admin #backupProgressSteps {
    color: var(--j-ink-soft) !important;
}
body.jester-ui.jester-admin .card b[style*="color:#ff"],
body.jester-ui.jester-admin .card b[style*="color: #ff"],
body.jester-ui.jester-admin .card strong[style*="color:#888"],
body.jester-ui.jester-admin .card strong[style*="color: #888"] {
    color: var(--j-silver) !important;
}
body.jester-ui.jester-admin .card b[style*="color:#ff6b6b"],
body.jester-ui.jester-admin .card b[style*="color: #ff6b6b"] {
    color: var(--j-crimson) !important;
}
body.jester-ui.jester-admin .field-label {
    color: var(--j-teal) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

/* ══════════════════════════════════════════
   CARNIVAL NIGHT — auth + modal polish
   ══════════════════════════════════════════ */
body.jester-ui.jester-auth {
    background-color: #000000 !important;
    background-image: none !important;
}
body.jester-ui.jester-auth .auth-hero {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}
body.jester-ui.jester-auth .auth-hero-mark {
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--j-gold), var(--j-plum)) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 24px rgba(185, 28, 60, 0.3) !important;
}
body.jester-ui.jester-auth .auth-hero-mark i {
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}
body.jester-ui.jester-auth .auth-hero-title {
    color: var(--j-ink) !important;
    text-shadow: 0 0 20px rgba(46, 77, 184, 0.25) !important;
}
body.jester-ui.jester-auth .auth-sheet {
    background: var(--j-surface) !important;
    backdrop-filter: var(--j-glass) !important;
    -webkit-backdrop-filter: var(--j-glass) !important;
    border: 1px solid var(--j-line) !important;
    border-bottom: none !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5) !important;
    color: var(--j-ink) !important;
}
body.jester-ui.jester-auth .auth-sheet::before {
    background: linear-gradient(90deg, var(--j-gold), var(--j-teal)) !important;
    border: none !important;
}
body.jester-ui.jester-auth input[type="text"],
body.jester-ui.jester-auth input[type="password"] {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink) !important;
    box-shadow: none !important;
}
body.jester-ui.jester-auth input:focus {
    border-color: rgba(46, 77, 184, 0.5) !important;
    box-shadow: 0 0 12px rgba(46, 77, 184, 0.15) !important;
    background: rgba(0, 0, 0, 0.45) !important;
}
body.jester-ui.jester-auth .btn {
    background: linear-gradient(135deg, var(--j-crimson), var(--j-plum)) !important;
    color: #fff !important;
    border: 1px solid rgba(185, 28, 60, 0.45) !important;
    box-shadow: 0 0 20px rgba(185, 28, 60, 0.25) !important;
}
body.jester-ui.jester-auth .btn:hover {
    transform: none !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 0 28px rgba(185, 28, 60, 0.35) !important;
}
body.jester-ui.jester-auth .btn:active {
    transform: scale(0.98) !important;
    box-shadow: 0 0 12px rgba(185, 28, 60, 0.2) !important;
}

body.jester-ui .store-card,
body.jester-ui .support-modal-card,
body.jester-ui .referral-modal-card,
body.jester-ui .announce-modal-card {
    background: rgba(8, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(46, 77, 184, 0.2) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6) !important;
    color: var(--j-ink) !important;
}

body.jester-ui .selected-bug-display {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--j-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
body.jester-ui .selected-bug-display.has-bug {
    background: rgba(185, 28, 60, 0.08) !important;
    border-color: rgba(185, 28, 60, 0.35) !important;
}

body.jester-ui .atk-btn-fire,
body.jester-ui #fireAttackBtn,
body.jester-ui .btn-send-bug:not(:disabled) {
    background: linear-gradient(135deg, var(--j-plum), var(--j-gold)) !important;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3) !important;
    border: 1px solid rgba(124, 58, 237, 0.4) !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    padding: 12px 16px !important;
    letter-spacing: 0.06em !important;
}
body.jester-ui .btn-send-bug i {
    color: #fff !important;
}

/* ══════════════════════════════════════════
   CLARITY DEEP SCAN — fix gelap/hilang di dark UI
   ══════════════════════════════════════════ */
body.jester-ui .bug-engine-wrap [style*="color:#333"],
body.jester-ui .bug-engine-wrap [style*="color: #333"],
body.jester-ui .bug-engine-wrap [style*="color:#444"],
body.jester-ui .bug-engine-wrap [style*="color: #444"],
body.jester-ui .bug-engine-wrap [style*="color:#555"],
body.jester-ui .bug-engine-wrap [style*="color: #555"],
body.jester-ui .bug-engine-wrap [style*="color:#666"],
body.jester-ui .bug-engine-wrap [style*="color: #666"],
body.jester-ui .sender-card [style*="color:#333"],
body.jester-ui .sender-card [style*="color: #333"],
body.jester-ui .sender-card [style*="color:#444"],
body.jester-ui .sender-card [style*="color: #444"],
body.jester-ui .sender-card [style*="color:#555"],
body.jester-ui .sender-card [style*="color: #555"],
body.jester-ui .sender-card [style*="color:#666"],
body.jester-ui .sender-card [style*="color: #666"],
body.jester-ui .atk-card [style*="color:#333"],
body.jester-ui .atk-card [style*="color: #333"],
body.jester-ui .atk-card [style*="color:#444"],
body.jester-ui .atk-card [style*="color: #444"],
body.jester-ui .atk-card [style*="color:#555"],
body.jester-ui .atk-card [style*="color: #555"],
body.jester-ui .atk-card [style*="color:#666"],
body.jester-ui .atk-card [style*="color: #666"] {
    color: var(--j-ink-soft) !important;
}

body.jester-ui .bug-engine-wrap i[style*="color:#333"],
body.jester-ui .bug-engine-wrap i[style*="color: #333"],
body.jester-ui .bug-engine-wrap i[style*="color:#444"],
body.jester-ui .bug-engine-wrap i[style*="color: #444"],
body.jester-ui .bug-engine-wrap i[style*="color:#555"],
body.jester-ui .bug-engine-wrap i[style*="color: #555"],
body.jester-ui .sender-card i[style*="color:#333"],
body.jester-ui .sender-card i[style*="color: #333"],
body.jester-ui .sender-card i[style*="color:#444"],
body.jester-ui .sender-card i[style*="color: #444"],
body.jester-ui .sender-card i[style*="color:#555"],
body.jester-ui .sender-card i[style*="color: #555"] {
    color: var(--j-silver) !important;
}

body.jester-ui .bug-engine-header .section-label,
body.jester-ui .bug-engine-header h3 {
    color: var(--j-gold) !important;
}

body.jester-ui .gs-auto-badge {
    background: rgba(46, 77, 184, 0.08) !important;
    border: 1px dashed rgba(46, 77, 184, 0.35) !important;
    color: var(--j-ink) !important;
}
body.jester-ui .gs-auto-text {
    color: var(--j-silver) !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}

body.jester-ui .atk-random-hint,
body.jester-ui .pairing-info p,
body.jester-ui .tutorial-info-text {
    color: var(--j-ink-soft) !important;
}

body.jester-ui #adminRandomSenderCount,
body.jester-ui #attackPersonalSession {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--j-ink) !important;
    border: 1px solid var(--j-line) !important;
}

body.jester-ui .gs-admin-list [style*="color:#333"],
body.jester-ui .gs-admin-list [style*="color: #333"] {
    color: var(--j-ink-soft) !important;
}

body.jester-ui .icon-action-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--j-line) !important;
    color: var(--j-ink-soft) !important;
    box-shadow: none !important;
}
body.jester-ui .icon-action-btn:hover,
body.jester-ui .icon-action-btn:active {
    color: var(--j-silver) !important;
    border-color: rgba(46, 77, 184, 0.4) !important;
}
body.jester-ui .icon-action-btn.red {
    background: rgba(255, 107, 138, 0.08) !important;
    color: var(--j-coral) !important;
    border-color: rgba(255, 107, 138, 0.35) !important;
}

body.jester-ui .add-sender-form .btn-primary,
body.jester-ui #connectBtn {
    font-size: 0.65rem !important;
    padding: 11px 14px !important;
    letter-spacing: 0.06em !important;
}

/* Global — teks inline gelap di modal/shop/chat */
body.jester-ui .store-card [style*="color:#333"],
body.jester-ui .store-card [style*="color: #333"],
body.jester-ui .store-card [style*="color:#444"],
body.jester-ui .store-card [style*="color: #444"],
body.jester-ui .store-card [style*="color:#555"],
body.jester-ui .store-card [style*="color: #555"],
body.jester-ui .store-card [style*="color:#666"],
body.jester-ui .store-card [style*="color: #666"],
body.jester-ui .global-chat-card [style*="color:#444"],
body.jester-ui .global-chat-card [style*="color: #444"],
body.jester-ui .global-chat-card [style*="color:#555"],
body.jester-ui .global-chat-card [style*="color: #555"],
body.jester-ui .global-chat-card [style*="color:#666"],
body.jester-ui .global-chat-card [style*="color: #666"],
body.jester-ui .otp-rolling-card [style*="color:#444"],
body.jester-ui .otp-rolling-card [style*="color: #444"],
body.jester-ui .otp-rolling-card [style*="color:#555"],
body.jester-ui .otp-rolling-card [style*="color: #555"],
body.jester-ui .otp-rolling-card [style*="color:#666"],
body.jester-ui .otp-rolling-card [style*="color: #666"],
body.jester-ui .otp-rolling-card [style*="color:#888"],
body.jester-ui .otp-rolling-card [style*="color: #888"] {
    color: var(--j-ink-soft) !important;
}
body.jester-ui .otp-rolling-card b[style*="color:#fb923c"],
body.jester-ui .otp-rolling-card b[style*="color: #fb923c"],
body.jester-ui .otp-rolling-card [style*="color:#fb923c"],
body.jester-ui .otp-rolling-card [style*="color: #fb923c"] {
    color: var(--j-crimson) !important;
}
body.jester-ui .dashboard-card [style*="color:#444"],
body.jester-ui .dashboard-card [style*="color: #444"],
body.jester-ui .dashboard-card [style*="color:#555"],
body.jester-ui .dashboard-card [style*="color: #555"],
body.jester-ui .dashboard-card [style*="color:#666"],
body.jester-ui .dashboard-card [style*="color: #666"] {
    color: var(--j-ink-soft) !important;
}

body.jester-ui .global-chat-compose input::placeholder {
    color: var(--j-muted) !important;
    opacity: 1 !important;
}
