/**
 * Desi bold streaming brand layer — used by ui-nova shell + uncutexrea sidebar.
 * Load after tokens.css. Admin primary_color still overrides --accent-color in inline <style>;
 * --shell-accent follows that; brand reds/golds add header-specific depth.
 */
:root,
.ui-nova {
    --brand-red: #991b1b;
    --brand-red-deep: #450a0a;
    --brand-red-bright: #ef4444;
    --brand-gold: #f59e0b;
    --brand-gold-soft: rgba(245, 158, 11, 0.35);
    --brand-gold-muted: #d97706;
    --header-surface: linear-gradient(
        105deg,
        rgba(69, 10, 10, 0.97) 0%,
        rgba(15, 10, 12, 0.96) 38%,
        rgba(12, 8, 14, 0.98) 100%
    );
    --header-border-glow: rgba(245, 158, 11, 0.22);
    --header-sub-bg: rgba(0, 0, 0, 0.35);
    --nav-pill-active-bg: rgba(245, 158, 11, 0.14);
    --nav-pill-active-border: rgba(245, 158, 11, 0.45);
    --nav-pill-active-text: #fde68a;
    --nav-pill-active-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    --hot-badge-bg: linear-gradient(135deg, #b91c1c, #7f1d1d);
    --hot-badge-text: #fff7ed;
    --platform-chip-bg: rgba(255, 255, 255, 0.06);
    --platform-chip-border: rgba(245, 158, 11, 0.18);
}

.ui-nova {
    --shell-accent: var(--accent-color, var(--brand-red-bright));
    --shell-accent-soft: color-mix(in srgb, var(--shell-accent) 38%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .shell-header,
    .shell-header__sub,
    .shell-nav a,
    .shell-platform-strip a,
    .shell-header__pills .pill {
        transition: none !important;
    }
}

/* Used on uncutexrea (no ui-shell): platform strip + discovery pills */
.shell-platform-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 36px;
}

.shell-platform-strip__label {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-gold-muted, #d97706);
    font-family: var(--font-sans);
}

.shell-platform-strip__scroll {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shell-platform-strip__scroll::-webkit-scrollbar {
    display: none;
}

.shell-platform-chip {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    color: #e7e5e4;
    background: var(--platform-chip-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--platform-chip-border, rgba(245, 158, 11, 0.18));
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shell-platform-chip:hover {
    color: #fffbeb;
    background: rgba(185, 28, 28, 0.25);
    border-color: rgba(245, 158, 11, 0.35);
}

.shell-platform-chip--brand {
    border-color: color-mix(in srgb, var(--p, #f59e0b) 55%, transparent);
}

.uncutexrea-discover-strip {
    margin-bottom: 20px;
    padding: 12px 0 4px;
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
}

.uncutexrea-main-pills {
    overflow-x: auto;
    margin-top: 10px;
    -webkit-overflow-scrolling: touch;
}

.uncutexrea-main-pills .pill {
    background: rgba(185, 28, 28, 0.12);
    border-color: rgba(245, 158, 11, 0.22);
    font-weight: 600;
}

.uncutexrea-main-pills .pill:hover,
.uncutexrea-main-pills .pill.active {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fffbeb;
    box-shadow: 0 4px 16px rgba(185, 28, 28, 0.35);
}

.shell-hot-badge--inline {
    margin-left: 0.35rem;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    background: var(--hot-badge-bg, linear-gradient(135deg, #b91c1c, #7f1d1d));
    color: var(--hot-badge-text, #fff7ed);
}
