/* ═══ Vazir (RTL) ═══ */
@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ═══ FOGY / Kick design tokens ═══ */
:root {
    --kick-bg: #0b0b0f;
    --kick-bg-elevated: #141419;
    --kick-bg-card: #1a1a21;
    --kick-bg-hover: #22222b;
    --kick-border: rgba(255, 255, 255, 0.07);
    --kick-border-strong: rgba(255, 255, 255, 0.11);
    --kick-text: #efeff1;
    --kick-text-muted: #adadb8;
    --kick-text-dim: #71717a;
    --kick-accent: #f97316;
    --kick-accent-hover: #fb923c;
    --kick-accent-dim: rgba(249, 115, 22, 0.18);
    --kick-accent-glow: rgba(249, 115, 22, 0.45);
    --kick-live: #eb0400;
    --kick-radius: 6px;
    --kick-radius-lg: 10px;
    --kick-radius-xl: 14px;
    --kick-header-h: 52px;
    --kick-sidebar-w: 240px;
    --kick-font-ui: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: var(--kick-bg);
    color: #e6edf3;
    font-family: Vazir, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    overflow-x: hidden;
}

button,
input,
textarea,
select,
optgroup {
    font-family: inherit;
}

.video-js,
.vjs-modal-dialog,
.vjs-control-bar {
    font-family: Vazir, Arial, Helvetica, sans-serif !important;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--kick-bg);
}

::-webkit-scrollbar-thumb {
    background: #2d2d50;
    border-radius: 99px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4a4a70;
    }

/* ─── Header ─── */
.main-header {
    background: var(--kick-bg-elevated);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--kick-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.navbar {
    padding: 0.6rem 1.25rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff !important;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.brand-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px var(--kick-accent-glow));
}

.brand-text {
    color: var(--kick-text);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-text-accent {
    color: var(--kick-accent);
}

/* Nav links */
.nav-link {
    color: #9ca3af !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
}

    .nav-link:hover {
        color: #fff !important;
        background-color: rgba(255,255,255,0.07);
    }

    .nav-link.active {
        color: #fff !important;
        background-color: rgba(249,115,22,0.15);
    }

.nav-icon {
    font-size: 1rem;
}

/* Search */
.navbar-search {
    position: relative;
    max-width: 380px;
    flex: 1;
    margin: 0 1.25rem;
}

.search-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e6edf3;
    padding: 0.5rem 1rem 0.5rem 2.75rem;
    border-radius: 99px;
    width: 100%;
    font-size: 0.875rem;
    transition: all 0.25s;
}

    .search-input:focus {
        background: rgba(255,255,255,0.08);
        border-color: rgba(249,115,22,0.5);
        box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
        color: #fff;
        outline: none;
    }

    .search-input::placeholder {
        color: #4b5563;
    }

.btn-search {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .btn-search:hover {
        color: var(--kick-accent-hover);
    }

/* Navbar actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.75rem;
}

.clean-nav-links {
    margin-left: 0.75rem;
}

.btn-language {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

    .btn-language:hover, .btn-language.active {
        background: rgba(249,115,22,0.15);
        border-color: rgba(249,115,22,0.3);
        color: var(--kick-accent-hover);
    }

.btn-theme {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e6edf3;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-theme:hover {
        background: rgba(255,255,255,0.1);
        transform: rotate(20deg);
    }

.navbar-toggler {
    color: #9ca3af !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(249,115,22,0.2) !important;
    border-radius: 8px;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.15);
    color: #e6edf3;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,0.07);
        border-color: rgba(255,255,255,0.25);
        color: #fff;
    }

.btn-primary {
    background: var(--kick-accent);
    border: none;
    color: #0b0b0f;
    padding: 0.45rem 1.1rem;
    border-radius: var(--kick-radius);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 12px var(--kick-accent-dim);
}

    .btn-primary:hover {
        background: var(--kick-accent-hover);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px var(--kick-accent-glow);
        color: #0b0b0f;
    }

/* ─── Layout ─── */
.main-layout {
    display: flex;
    min-height: calc(100vh - 62px);
}

/* ─── Sidebar ─── */
.sidebar {
    width: var(--kick-sidebar-w, 240px);
    min-width: var(--kick-sidebar-w, 240px);
    background: var(--kick-bg-elevated);
    border-left: 1px solid var(--kick-border);
    padding: 0.75rem 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-section {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    color: #4b5563;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0.25rem;
    text-decoration: none;
}

    .sidebar-item:hover {
        background: rgba(255,255,255,0.05);
    }

.sidebar-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.sidebar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.sidebar-item:hover .sidebar-avatar {
    border-color: var(--kick-accent);
}

.live-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--kick-bg-elevated);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239,68,68,0.5);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(239,68,68,0);
    }
}

.sidebar-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sidebar-name {
    color: #d1d5db;
    font-size: 0.825rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-game {
    color: #6b7280;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-viewers {
    color: #ef4444;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-empty {
    display: block;
    color: #6b7280;
    font-size: 0.78rem;
    padding: 0.2rem 0.1rem;
}

/* ─── Main Content ─── */
.main-content {
    flex: 1;
    padding: 1.75rem 2rem;
    overflow-y: auto;
    min-width: 0;
}

/* ─── Hero ─── */
.hero-section {
    position: relative;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    cursor: pointer;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #1a1a1e 0%, var(--kick-bg) 55%, #121214 100%);
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.55;
        transition: transform 0.6s ease, opacity 0.35s ease;
    }

    .hero-bg.is-loaded img {
        opacity: 0.85;
    }

    .hero-section:hover .hero-bg.is-loaded img {
        transform: scale(1.03);
        opacity: 0.95;
    }

    .hero-section:hover .hero-bg img {
        transform: scale(1.03);
        opacity: 0.65;
    }

/* gradient overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to top, rgba(8,8,24,0.95) 0%, rgba(8,8,24,0.5) 40%, rgba(8,8,24,0.1) 100% );
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    color: #fff;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.5);
    animation: pulse-dot 2s infinite;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ef4444;
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 16px rgba(239,68,68,0.5);
}

.badge-live-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.2s infinite;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.badge-category {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: #e5e7eb;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    color: #d1d5db;
    font-size: 0.9rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
}

.hero-actions-single {
    flex-wrap: wrap;
}

.hero-empty-lead {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.hero-empty-hint {
    font-size: 0.95rem;
    max-width: 28rem;
    line-height: 1.55;
    color: #94a3b8;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--kick-bg-elevated);
    padding: 0.7rem 1.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

    .btn-watch:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 28px rgba(255,255,255,0.25);
    }

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.4rem;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

    .hero-dot.active {
        width: 20px;
        background: #fff;
    }

/* ─── Section Header ─── */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f9fafb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title-icon {
    font-size: 1.1rem;
}

.section-link {
    color: var(--kick-accent);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(249,115,22,0.28);
    border-radius: 8px;
    padding: 0.28rem 0.65rem;
    transition: all 0.2s ease;
}

.section-link:hover {
    color: #fff;
    border-color: rgba(249,115,22,0.5);
    background: rgba(249,115,22,0.18);
}

.section-count {
    background: rgba(249,115,22,0.15);
    color: var(--kick-accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    margin-right: 0.4rem;
}

.btn-see-all {
    color: var(--kick-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

    .btn-see-all:hover {
        color: var(--kick-accent-hover);
        background: rgba(249,115,22,0.08);
    }

/* ─── Categories ─── */
.categories-section {
    margin-bottom: 2.5rem;
}

.categories-scroll {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

    .categories-scroll::-webkit-scrollbar {
        display: none;
    }

.category-card {
    flex-shrink: 0;
    width: 140px;
    display: block;
    color: inherit;
    text-decoration: none;
    background: var(--kick-bg-card);
    border-radius: 14px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

    .category-card::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.25s;
        border-radius: 14px;
    }

    .category-card:hover {
        transform: translateY(-4px);
        border-color: rgba(249,115,22,0.3);
        box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    }

        .category-card:hover::before {
            opacity: 1;
        }

    /* unique gradients per card */
    .category-card:nth-child(1)::before {
        background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(249,115,22,0.06));
    }

    .category-card:nth-child(2)::before {
        background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(5,150,105,0.08));
    }

    .category-card:nth-child(3)::before {
        background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.08));
    }

    .category-card:nth-child(4)::before {
        background: linear-gradient(135deg, rgba(239,68,68,0.12), rgba(220,38,38,0.08));
    }

    .category-card:nth-child(5)::before {
        background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(219,39,119,0.08));
    }

    .category-card:nth-child(6)::before {
        background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(2,132,199,0.08));
    }

.category-icon {
    font-size: 2.25rem;
    margin-bottom: 0.6rem;
    display: block;
    transition: transform 0.25s;
}

.category-card:hover .category-icon {
    transform: scale(1.15);
}

.category-name {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.825rem;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-stats,
.category-count {
    font-size: 0.72rem;
    color: #6b7280;
}

.stat-live {
    color: #ef4444;
    font-weight: 600;
}

/* ─── Streams Grid ─── */
.streams-section {
    margin-bottom: 2.5rem;
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.stream-card {
    background: var(--kick-bg-card);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

    .stream-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.5);
        border-color: rgba(249,115,22,0.25);
    }

.stream-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--kick-bg-hover);
    overflow: hidden;
    display: block;
}

    .stream-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.stream-card:hover .stream-thumbnail img {
    transform: scale(1.06);
}

/* play overlay */
.stream-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.stream-card:hover .stream-overlay {
    opacity: 1;
}

.play-btn {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transform: scale(0.8);
    transition: transform 0.25s;
    color: var(--kick-bg-elevated);
}

.stream-card:hover .play-btn {
    transform: scale(1);
}

.thumb-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
}

.thumb-viewers,
.thumb-duration {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.stream-thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(145deg, #27272a, var(--kick-bg-card));
    color: var(--kick-text-muted);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.stream-live-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #ef4444;
    color: #fff;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
}

    .stream-live-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        animation: blink 1.2s infinite;
    }

.stream-viewers {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stream-info {
    padding: 0.875rem 1rem;
    display: flex;
    gap: 0.75rem;
    flex: 1;
}

.stream-meta {
    min-width: 0;
    flex: 1;
}

.stream-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(249,115,22,0.3);
}

.stream-details {
    flex: 1;
    min-width: 0;
}

.stream-title {
    color: #f3f4f6;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.stream-title-link {
    color: inherit;
    text-decoration: none;
}

.stream-title-link:hover {
    color: var(--kick-accent-hover);
}

.stream-author {
    color: var(--kick-accent);
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.2rem;
}

.stream-streamer {
    color: var(--kick-accent-hover);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.stream-category {
    color: #6b7280;
    font-size: 0.75rem;
}

/* ─── Skeleton Loading ─── */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--kick-bg-hover) 0%,
        rgba(249, 115, 22, 0.07) 25%,
        var(--kick-bg-card) 50%,
        rgba(249, 115, 22, 0.07) 75%,
        var(--kick-bg-hover) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.35s ease-in-out infinite;
    border-radius: var(--kick-radius, 6px);
}

.skeleton-card {
    pointer-events: none;
    opacity: 0.86;
}

.skeleton-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-line {
    height: 9px;
    margin-bottom: 0.45rem;
}

.empty-live-state {
    grid-column: 1 / -1;
    min-height: 120px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ═══════════════════════════════════════════
   Watch Page
═══════════════════════════════════════════ */
.watch-page {
    width: 100%;
    position: relative;
    min-height: calc(100vh - 5.5rem);
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, min(34vw, 400px));
    grid-template-rows: auto auto;
    grid-template-areas:
        "player chat"
        "details chat";
    gap: clamp(0.75rem, 1.5vw, 1.1rem);
    align-items: start;
    min-height: calc(100vh - 6rem);
}

@media (min-width: 1200px) {
    .watch-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    }
}

@media (min-width: 1600px) {
    .watch-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    }
}

.watch-layout-player {
    grid-area: player;
    min-width: 0;
}

.watch-layout-details {
    grid-area: details;
    min-width: 0;
}

.watch-layout-chat {
    grid-area: chat;
    min-width: 0;
}

.watch-player-card,
.watch-details-section,
.watch-chat-card {
    background: var(--kick-bg-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.watch-player-card {
    overflow: hidden;
    position: relative;
}

.watch-player-card .video-js {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050513;
}

.watch-player-card .vjs-control-bar {
    background: linear-gradient(to top, rgba(7,7,22,0.95), rgba(7,7,22,0.2));
}

.watch-player-toolbar .watch-stream-status {
    gap: 0.45rem;
}

.watch-player-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    padding: 0.65rem 0.95rem;
    background: rgba(12,12,32,0.98);
    border-top: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

.watch-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #e5e7eb;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.watch-meta-chip-muted {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
}

.watch-btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.56rem 0.92rem;
    color: #fff !important;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.watch-btn-donate:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.watch-btn-follow-login {
    text-decoration: none;
    justify-content: center;
}

.watch-stream-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(8,8,24,0.9);
}

.watch-stream-status,
.watch-stream-actions,
.watch-viewer-count {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.watch-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(239,68,68,0.38);
}

.watch-badge-live.offline {
    background: #4b5563;
    box-shadow: none;
}

.watch-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.2s infinite;
}

.watch-badge-live.offline .watch-badge-dot {
    animation: none;
    opacity: 0.7;
}

.watch-viewer-count {
    font-size: 0.83rem;
    color: #d1d5db;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.watch-btn-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #f3f4f6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.watch-btn-icon:hover {
    background: rgba(249,115,22,0.2);
    border-color: rgba(249,115,22,0.45);
}

.watch-details-section {
    padding: 1rem;
}

.watch-details-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.watch-streamer-info {
    display: flex;
    gap: 0.8rem;
    min-width: 0;
}

.watch-streamer-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249,115,22,0.4);
    flex-shrink: 0;
}

.watch-streamer-meta {
    min-width: 0;
}

.watch-stream-title {
    color: #f9fafb;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.watch-streamer-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.watch-streamer-follower-row {
    align-items: center;
}

.watch-follower-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.watch-follower-badge-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.72rem;
}

.watch-streamer-name {
    color: var(--kick-accent);
    font-weight: 600;
}

.watch-stream-category {
    font-size: 0.76rem;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    color: #d1d5db;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.1);
}

.watch-stream-stats {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #9ca3af;
    font-size: 0.83rem;
    flex-wrap: wrap;
}

.watch-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.watch-action-buttons {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.watch-action-buttons a.watch-btn-follow-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.watch-btn-follow,
.watch-btn-subscribe {
    border: none;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.56rem 0.92rem;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.watch-btn-follow {
    background: var(--kick-accent);
}

.watch-btn-subscribe {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.watch-btn-follow:hover,
.watch-btn-subscribe:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.watch-btn-follow.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.watch-description-card {
    margin-top: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.9rem;
}

.watch-description-title {
    font-size: 0.98rem;
    color: #f3f4f6;
    margin-bottom: 0.45rem;
}

#stream-description {
    color: #cbd5e1;
    line-height: 1.75;
    font-size: 0.9rem;
}

.watch-chat-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
}

.watch-layout-chat.watch-chat-section {
    position: sticky;
    top: 76px;
    align-self: stretch;
    height: auto;
    max-height: calc(100vh - 5.75rem);
}

.watch-chat-card {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.watch-chat-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: #f3f4f6;
    font-size: 1rem;
}

.watch-chat-messages {
    flex: 1;
    min-height: 0;
    padding: 0.75rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.watch-chat-line {
    text-align: right;
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.watch-chat-author {
    font-size: 0.72rem;
    color: var(--kick-accent);
    font-weight: 700;
}

.watch-chat-text {
    font-size: 0.84rem;
    color: #e5e7eb;
    word-break: break-word;
    margin-top: 0.12rem;
}

.watch-chat-announcement {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.28);
}

.watch-chat-announcement .watch-chat-author {
    color: #6ee7b7;
}

.watch-chat-announcement .watch-chat-text {
    color: #ecfdf5;
    font-weight: 600;
}

.watch-chat-placeholder {
    height: 100%;
    border: 1px dashed rgba(255,255,255,0.14);
    border-radius: 12px;
    color: #94a3b8;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 0.45rem;
}

.watch-chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 0.8rem;
    flex-shrink: 0;
    background: var(--kick-bg-card);
}

.watch-chat-input {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    border-radius: 9px;
    padding: 0.55rem 0.8rem;
    font-size: 0.86rem;
    direction: auto;
    unicode-bidi: plaintext;
    text-align: start;
}

.watch-chat-text--command {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
}

.watch-chat-input::placeholder {
    color: #6b7280;
}

.watch-btn-send {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 9px;
    background: #4f46e5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.watch-chat-input:disabled,
.watch-btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.stream-error {
    margin: 0.9rem;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.28);
    border-radius: 10px;
    padding: 0.8rem;
    color: #fecaca;
}

.stream-error h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.stream-error p {
    font-size: 0.84rem;
    color: #fda4af;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .sidebar {
        width: 200px;
        min-width: 200px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        display: none;
    }

    .navbar-search {
        max-width: 100%;
        margin: 0.75rem 0;
    }

    .navbar-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
        margin-right: 0;
    }

    .clean-nav-links {
        margin-left: 0;
    }

    .watch-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(280px, min(72vh, 560px)) auto;
        grid-template-areas:
            "player"
            "chat"
            "details";
        min-height: auto;
    }

    .watch-layout-chat.watch-chat-section {
        position: static;
        top: auto;
        align-self: stretch;
        height: 100%;
        max-height: none;
        min-height: 0;
    }

    .watch-chat-card {
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    .watch-page {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .hero-section {
        height: 280px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-content {
        right: 1rem;
        bottom: 1rem;
    }

    .streams-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .watch-stream-info-bar {
        flex-wrap: wrap;
        padding: 0.7rem;
    }

    .watch-details-section {
        padding: 0.85rem;
    }

    .watch-stream-title {
        font-size: 1.05rem;
    }

    .watch-streamer-avatar {
        width: 56px;
        height: 56px;
    }

    .watch-action-buttons {
        width: 100%;
    }

    .watch-btn-follow,
    .watch-btn-subscribe {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .streams-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-watch {
        width: 100%;
        justify-content: center;
    }

    .watch-streamer-info {
        width: 100%;
    }

    .watch-chat-section {
        min-height: 360px;
    }

    .watch-chat-card {
        min-height: 360px;
    }
}

/* ═══════════════════════════════════════════
   Footer
═══════════════════════════════════════════ */
.site-footer {
    background: var(--kick-bg-elevated);
    border-top: 1px solid var(--kick-border);
    padding: 3rem 2rem 0;
    margin-top: auto;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 2.5rem;
}

/* Brand column */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 0.85rem;
}

    .footer-brand .brand-text {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--kick-accent);
    }

.footer-tagline {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 260px;
}

/* Social buttons */
.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.footer-social-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

    .footer-social-btn:hover {
        background: var(--kick-accent-dim);
        color: var(--kick-accent);
        transform: translateY(-2px);
    }

/* Link columns */
.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s, padding-right 0.2s;
    display: inline-block;
}

    .footer-link:hover {
        color: var(--kick-accent);
        padding-right: 4px;
    }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.1rem 0;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    color: #4b5563;
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

.footer-bottom-link {
    color: #4b5563;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

    .footer-bottom-link:hover {
        color: #9ca3af;
    }

/* Responsive */
@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 2rem 1.25rem 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ═══════════════════════════════════════════
   Auth Pages
═══════════════════════════════════════════ */
.auth-page {
    min-height: calc(100vh - 260px);
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--kick-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    padding: 1.4rem 1.2rem;
}

.auth-title {
    color: #f8fafc;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.auth-subtitle {
    color: #9ca3af;
    font-size: 0.87rem;
    margin-bottom: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-label {
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.auth-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #e5e7eb;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: rgba(249,115,22,0.6);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.16);
}

.auth-submit {
    margin-top: 0.8rem;
    border: none;
    border-radius: 10px;
    background: var(--kick-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.62rem 0.9rem;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.auth-error,
.auth-validation {
    color: #fca5a5;
    font-size: 0.8rem;
    min-height: 1rem;
}

.auth-switch {
    margin-top: 0.95rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.auth-switch a {
    color: var(--kick-accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-forgot {
    text-align: left;
    margin-top: -0.35rem;
}

.auth-forgot a {
    color: var(--kick-accent);
    font-size: 0.82rem;
    text-decoration: none;
}

.auth-inline {
    display: flex;
    gap: 0.55rem;
    align-items: stretch;
}

.auth-inline .auth-input {
    flex: 1;
}

.auth-secondary {
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: rgba(129, 140, 248, 0.12);
    color: #e2e8f0;
    border-radius: 10px;
    padding: 0 0.95rem;
    font-size: 0.82rem;
    white-space: nowrap;
    cursor: pointer;
    min-width: 96px;
}

.auth-secondary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-status {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.84rem;
}

.auth-status-info {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.auth-status-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ═══════════════════════════════════════════
   Profile & Dashboard
═══════════════════════════════════════════ */
.panel-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.panel-title {
    color: #f8fafc;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

.panel-chip {
    border: 1px solid rgba(249,115,22,0.35);
    color: var(--kick-accent-hover);
    background: rgba(249,115,22,0.12);
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.panel-card {
    background: var(--kick-bg-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1rem;
}

.panel-card-title {
    color: #f3f4f6;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.panel-list {
    margin: 0;
}

.panel-list div {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.07);
}

.panel-list div:last-child {
    border-bottom: none;
}

.panel-list dt {
    color: #94a3b8;
    font-size: 0.84rem;
    margin: 0;
}

.panel-list dd {
    color: #e2e8f0;
    font-size: 0.85rem;
    margin: 0;
    text-align: left;
}

.panel-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.panel-stat-card .panel-stat-value,
.panel-stat-value {
    color: #f8fafc;
    font-size: 1.45rem;
    line-height: 1;
}

.panel-stat-label {
    color: #94a3b8;
    font-size: 0.84rem;
}

.panel-note {
    color: #9ca3af;
    font-size: 0.86rem;
    margin: 0;
}

.panel-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.btn-user-avatar {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-user-avatar:hover {
    border-color: rgba(249,115,22,0.45);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.14);
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu-dark {
    background: #101028;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.35rem;
}

.dropdown-menu-dark .dropdown-item {
    color: #dbe4ff;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.45rem 0.55rem;
}

.dropdown-menu-dark .dropdown-item:hover {
    background: rgba(249,115,22,0.2);
}

.profile-alert {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.85rem;
}

.profile-alert-success {
    color: #bbf7d0;
    background: rgba(34,197,94,0.16);
    border: 1px solid rgba(34,197,94,0.32);
}

.profile-alert-error {
    color: #fecaca;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.32);
}

.profile-avatar-preview {
    margin-bottom: 0.8rem;
}

.profile-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249,115,22,0.4);
}

.profile-alert-info {
    color: #bae6fd;
    background: rgba(56,189,248,0.14);
    border: 1px solid rgba(56,189,248,0.35);
}

.surface-card {
    background: linear-gradient(145deg, rgba(22,22,48,0.95) 0%, rgba(12,12,32,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.profile-shell,
.dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.5rem 0 2rem;
}

.profile-hero,
.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem 1.35rem;
    border-radius: 20px;
    background: radial-gradient(1200px 400px at 10% -20%, rgba(249,115,22,0.35), transparent 55%),
                linear-gradient(135deg, #12122e 0%, #0a0a18 60%, #0f1028 100%);
    border: 1px solid rgba(249,115,22,0.22);
}

.profile-hero-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.profile-hero-sub {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.profile-hero-badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: #e0e7ff;
    background: rgba(249,115,22,0.2);
    border: 1px solid rgba(165,180,252,0.45);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.profile-side-name {
    font-weight: 800;
    color: #f1f5f9;
    margin: 0.5rem 0 0.15rem;
    font-size: 1.05rem;
}

.profile-side-meta {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

.profile-side-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.profile-side-stats .lbl {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.profile-side-stats strong {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.profile-avatar-ring {
    display: flex;
    justify-content: center;
}

.profile-avatar-lg {
    border-radius: 50%;
    border: 3px solid rgba(249,115,22,0.55);
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.profile-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.profile-card-wide {
    grid-column: 1 / -1;
}

.card-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
}

.card-hint {
    color: #94a3b8;
    font-size: 0.82rem;
    margin: 0 0 1rem;
}

.info-rows {
    margin: 0;
}

.info-rows > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.info-rows > div:last-child {
    border-bottom: none;
}

.info-rows dt {
    color: #94a3b8;
    font-size: 0.84rem;
}

.info-rows dd {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.86rem;
    text-align: left;
}

.info-rows .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.form-label-modern {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-control-modern {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(5,5,20,0.65);
    color: #f8fafc;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-modern:focus {
    outline: none;
    border-color: rgba(249,115,22,0.55);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.form-actions-row {
    margin-top: 0.35rem;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    border-radius: 12px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0b0b18;
    cursor: pointer;
    background: var(--kick-accent);
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-gradient:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: #0b0b18;
}

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline-modern:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(249,115,22,0.35);
}

.btn-ghost-danger {
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
    font-size: 0.82rem;
    border: 1px solid rgba(248,113,113,0.35);
    background: rgba(239,68,68,0.08);
    color: #fecaca;
    cursor: pointer;
}

.btn-ghost-danger:hover {
    background: rgba(239,68,68,0.15);
}

.avatar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

.profile-avatar-preview-sm {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.12);
}

.avatar-actions {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.inline-form {
    margin: 0;
}

.flex-grow {
    flex: 1;
}

.stats-grid-modern {
    margin-bottom: 0.25rem;
}

.stat-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 108px;
    justify-content: center;
}

.stat-tile-label {
    color: #94a3b8;
    font-size: 0.82rem;
}

.stat-tile-value {
    color: #f8fafc;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-summary {
    margin-top: 0.5rem;
}

.streamer-gate-card {
    max-width: 720px;
}

.streamer-request-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 600px) {
    .form-two-col {
        grid-template-columns: 1fr;
    }
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.check-modern {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    cursor: pointer;
}

.check-modern input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--kick-accent-hover);
}

.btn-wide {
    width: 100%;
    max-width: 320px;
}

.mono-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    word-break: break-all;
}

.break-all {
    word-break: break-all;
}

.go-live-page .hero-panel-header {
    margin-bottom: 0.5rem;
}

.panel-subtitle {
    color: #94a3b8;
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.85rem;
}

/* Navbar: allow user dropdown to paint outside collapsed chrome */
.main-header .navbar,
.main-header .navbar .container-fluid,
.main-header .navbar-collapse {
    overflow: visible;
}

.navbar-actions {
    position: relative;
    z-index: 1200;
}

.navbar-user-dropdown-wrap {
    position: relative;
    z-index: 1201;
}

/* Popper positions this menu; keep scroll + bounds so it stays usable on small viewports */
.navbar-user-dropdown {
    min-width: 11.5rem;
    max-width: min(100vw - 1.5rem, 16rem);
    max-height: min(70vh, 14rem);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 5000;
    margin-top: 0.35rem !important;
}

.staff-warning-banner {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
}

.staff-warning-banner--ended {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

.staff-warning-banner strong {
    display: block;
    margin-bottom: 0.25rem;
}

.staff-warning-banner p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.dropdown-item--ops {
    color: #fbbf24 !important;
    font-weight: 600;
}

.dropdown-item--ops:hover,
.dropdown-item--ops:focus {
    color: #fde68a !important;
    background: rgba(251, 191, 36, 0.12) !important;
}

/* Stream key (dashboard) */
.stream-key-card {
    margin-top: 0.5rem;
}

.stream-obs-field-group {
    margin-top: 1rem;
}

.stream-key-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
    margin-top: 0.5rem;
}

.stream-key-field-wrap {
    flex: 1 1 220px;
    min-width: 0;
}

.stream-key-input.mono-key {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.stream-key-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.stream-key-regen-form {
    margin-top: 1rem;
}

.btn-regen-key {
    font-size: 0.85rem;
}

/* Streamer request — custom switches (no default checkbox chrome) */
.luxury-switch-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.luxury-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.luxury-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.luxury-switch-track {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3px;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.luxury-switch-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e2e8f0, #94a3b8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: margin-inline-start 0.22s ease, transform 0.22s ease;
    margin-inline-start: 0;
}

.luxury-switch-input:checked + .luxury-switch-track {
    background: linear-gradient(120deg, rgba(129, 140, 248, 0.55), rgba(167, 139, 250, 0.45));
    border-color: rgba(165, 180, 252, 0.55);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.18);
    justify-content: flex-end;
}

.luxury-switch-input:checked + .luxury-switch-track .luxury-switch-thumb {
    background: linear-gradient(145deg, #f8fafc, var(--kick-accent-hover));
}

.luxury-switch-input:focus-visible + .luxury-switch-track {
    outline: 2px solid rgba(129, 140, 248, 0.8);
    outline-offset: 2px;
}

.luxury-switch-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Profile — avatar upload */
.avatar-upload-form {
    gap: 0.75rem;
}

.avatar-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    border: 2px dashed rgba(129, 140, 248, 0.35);
    background: radial-gradient(ellipse at 50% 0%, rgba(129, 140, 248, 0.12), transparent 55%),
                rgba(8, 8, 28, 0.65);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
    text-align: center;
}

.avatar-dropzone:hover,
.avatar-dropzone:focus-within {
    border-color: rgba(165, 180, 252, 0.65);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
    background: radial-gradient(ellipse at 50% 0%, rgba(129, 140, 248, 0.2), transparent 50%),
                rgba(12, 12, 36, 0.85);
}

.avatar-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.avatar-dropzone-icon {
    font-size: 1.75rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.45));
}

.avatar-dropzone-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.avatar-dropzone-hint {
    font-size: 0.78rem;
    color: #64748b;
    max-width: 280px;
}

.avatar-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
