        /* --- SELF-HOSTED FONTS --- */
        @font-face {
            font-family: 'Nunito';
            font-style: normal;
            font-weight: 400;
            font-display: optional;
            src: url('font/nunito/nunito-latin-400-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Nunito';
            font-style: normal;
            font-weight: 500;
            font-display: optional;
            src: url('font/nunito/nunito-latin-500-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Nunito';
            font-style: normal;
            font-weight: 600;
            font-display: optional;
            src: url('font/nunito/nunito-latin-600-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Nunito';
            font-style: normal;
            font-weight: 700;
            font-display: optional;
            src: url('font/nunito/nunito-latin-700-normal.woff2') format('woff2');
        }

        /* --- THEME & FONT DEFINITIONS --- */
        :root {
            /* Colors - Kick black, kick green accents only */
            --kick-green: #53fc18;
            --kick-green-glow: rgba(83, 252, 24, 0.16);
            --kick-green-dim: rgba(83, 252, 24, 0.1);
            --kick-green-flash: #6fff3d;

            --ink: #0a0a0b;
            --panel: #17171a;
            --panel-raised: #1c1c1f;
            --line: rgba(255, 255, 255, 0.08);
            --line-strong: rgba(255, 255, 255, 0.14);

            /* Modal Vars */
            --dark-bg: #0a0a0b;
            --border-color: var(--line);
            --text-color: #f5f5f5;

            /* Text */
            --text-primary: #f5f5f5;
            --text-secondary: #8f8f96;

            /* Fonts - one clean, neutral sans family */
            --font-primary: 'Nunito', sans-serif;
            --font-secondary: 'Nunito', sans-serif;

            /* Geometry - standard, restrained corner radii */
            --radius-sm: 8px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --clip-tech: none;
            --clip-tech-sm: none;

            /* Effects - flat & subtle, no glows */
            --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.35);
            --shadow-sticker: none;
            --shadow-sticker-sm: none;
            --shadow-neon: none;
            --transition-smooth: all 0.15s ease;
        }

        /* --- BASE & BACKGROUND --- */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            scroll-behavior: smooth;
        }

        /* --- CUSTOM SCROLLBAR (site-wide) ---
           Same approach as the app page: the standard scrollbar-width/
           scrollbar-color for Firefox and newer Chrome/Edge, plus the
           ::-webkit-scrollbar pseudo-elements for full track/thumb
           control on Chrome/Safari/older Chromium. iOS Safari's
           overlay scrollbars aren't stylable via CSS and just keep
           their native look; every other browser, desktop or mobile,
           picks this up. */
        * {
            scrollbar-width: thin;
            scrollbar-color: var(--kick-green) rgba(255, 255, 255, 0.06);
        }

        *::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        *::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.04);
        }

        *::-webkit-scrollbar-thumb {
            background-color: var(--kick-green);
            border-radius: 10px;
            border: 2px solid var(--panel, #17171a);
            background-clip: padding-box;
        }

        *::-webkit-scrollbar-thumb:hover {
            background-color: var(--kick-green-flash, #6fff3d);
        }

        *::-webkit-scrollbar-corner {
            background: transparent;
        }

        body {
            background-color: var(--ink);
            color: var(--text-primary);
            font-family: var(--font-secondary);
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            line-height: 1.5;
        }

        /* --- KEYFRAME ANIMATIONS --- */
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        @keyframes fade-up {
            from { opacity: 0; transform: translateY(14px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- HEADER --- */
        header {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.75rem 1.5rem 0.5rem;
        }

        .logo {
            height: 34px;
            width: auto;
            display: block;
        }

        /* --- MAIN CONTENT & HERO --- */
        main {
            flex: 1;
            width: 100%;
        }

        .hero {
            max-width: 1180px;
            margin: 0 auto;
            padding: 3.5rem 1.5rem 4rem;
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 3.5rem;
            align-items: center;
        }

        .hero-copy {
            text-align: left;
        }

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-family: var(--font-secondary);
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--kick-green);
            background: var(--kick-green-dim);
            border: 1px solid rgba(83, 252, 24, 0.3);
            padding: 0.4rem 0.85rem;
            border-radius: 999px;
            margin-bottom: 1.5rem;
        }

        .hero h1 {
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: clamp(2.4rem, 4.2vw, 3.6rem);
            line-height: 1.06;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
        }

        .hero h1 em {
            font-style: normal;
            color: var(--kick-green);
        }

        .tagline {
            font-size: 1.08rem;
            color: var(--text-secondary);
            max-width: 46ch;
            margin-bottom: 2.25rem;
        }

        .action-container {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
            align-items: flex-start;
        }

        .launch-form-wrap {
            position: relative;
            width: 100%;
            max-width: 480px;
        }

        .launch-form {
            display: flex;
            width: 100%;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 0.35rem;
            gap: 0.35rem;
        }

        .launch-form:focus-within {
            border-color: rgba(83, 252, 24, 0.5);
        }

        .launch-form input {
            flex: 1;
            width: 100%;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-family: var(--font-secondary);
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.2rem;
        }

        .stream-input-wrap {
            position: relative;
            flex: 1;
            min-width: 0;
        }

        .launch-form input::placeholder {
            color: var(--text-secondary);
        }

        /* Username autocomplete dropdown - reuses the same cached "browse"
           streams list as the Browse modal, filtered as-you-type. */
        .stream-suggest {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: var(--panel-raised);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-float);
            z-index: 50;
            display: none;
            max-height: 320px;
            overflow-y: auto;
        }

        .stream-suggest.visible {
            display: block;
        }

        .stream-suggest-item {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.55rem 1rem;
            cursor: pointer;
            border-bottom: 1px solid var(--line);
        }

        .stream-suggest-item:last-child {
            border-bottom: none;
        }

        .stream-suggest-item:hover,
        .stream-suggest-item.active {
            background: var(--kick-green-dim);
        }

        .stream-suggest-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            background: var(--ink);
        }

        .stream-suggest-name {
            flex: 1;
            min-width: 0;
            font-family: var(--font-secondary);
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .stream-suggest-name strong {
            color: var(--kick-green);
        }

        .stream-suggest-viewers {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            color: var(--text-secondary);
            flex-shrink: 0;
            white-space: nowrap;
        }

        .stream-suggest-viewers .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--kick-green);
            flex-shrink: 0;
        }

        .stream-suggest-empty {
            padding: 0.6rem 1rem;
            font-size: 0.82rem;
            color: var(--text-secondary);
            font-family: var(--font-secondary);
        }

        .btn {
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.2px;
            border: 1px solid transparent;
            cursor: pointer;
            border-radius: var(--radius-btn, 8px);
            transition: var(--transition-smooth);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--kick-green);
            color: #06210a;
            padding: 0.8rem 1.8rem;
        }

        .btn-primary:hover {
            background: var(--kick-green-flash);
        }

        .btn-primary:active {
            transform: scale(0.98);
        }

        .or-divider {
            display: none;
        }

        .secondary-action {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: flex-start;
            width: 100%;
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--line-strong);
            padding: 0.75rem 1.6rem;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--kick-green);
            color: var(--kick-green);
        }

        .btn-secondary:active {
            transform: scale(0.98);
        }

        /* --- HERO VISUAL: MONITOR WALL --- */
        .hero-visual {
            position: relative;
        }

        .monitor-wall {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.6rem;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 0.7rem;
            box-shadow: var(--shadow-float);
        }

        .monitor {
            position: relative;
            aspect-ratio: 16 / 10;
            background: #0e0e10;
            border: 1px solid var(--line);
            border-radius: var(--radius-sm);
            overflow: hidden;
        }

        .monitor::after {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                0deg,
                rgba(255,255,255,0.02) 0px,
                rgba(255,255,255,0.02) 1px,
                transparent 1px,
                transparent 3px
            );
        }

        .monitor .tag {
            position: absolute;
            bottom: 8px;
            left: 8px;
            font-family: var(--font-primary);
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: var(--text-secondary);
            background: rgba(0,0,0,0.5);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }

        .monitor.live .tag {
            color: var(--text-primary);
        }

        .live-indicator {
            position: absolute;
            top: 8px;
            left: 8px;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            font-family: var(--font-primary);
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            color: #06280a;
            background: var(--kick-green);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }

        .live-indicator::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #06280a;
            animation: pulse-dot 1.6s infinite;
        }

        /* --- SHOWCASE & FEATURES --- */
        .content-section {
            max-width: 1180px;
            margin: 0 auto;
            padding: 5rem 1.5rem 6rem;
            border-top: 1px solid var(--line);
        }

        .section-head {
            max-width: 640px;
            margin-bottom: 3rem;
        }

        .content-section h2 {
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: clamp(1.8rem, 3vw, 2.4rem);
            letter-spacing: -0.01em;
            margin-bottom: 0.85rem;
        }

        .content-section h2 .highlight {
            color: var(--kick-green);
        }

        .section-intro {
            color: var(--text-secondary);
            font-size: 1.02rem;
            max-width: 60ch;
        }

        .mockup-grid {
            display: none;
        }

        /* --- FEATURES GRID --- */
        .features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
        }

        .feature-card {
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 1.75rem 1.6rem;
            transition: var(--transition-smooth);
        }

        .feature-card:hover {
            background: var(--panel-raised);
            border-color: var(--line-strong);
        }

        .feature-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 0.9rem;
        }

        .feature-icon {
            color: var(--kick-green);
            background: rgba(83, 252, 24, 0.1);
            border: 1px solid rgba(83, 252, 24, 0.35);
            border-radius: var(--radius-btn, 8px);
            width: 40px;
            height: 40px;
            padding: 8px;
            flex-shrink: 0;
        }

        .feature-header h3 {
            font-family: var(--font-primary);
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-primary);
        }

        .feature-card p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.6;
        }

        /* --- FOOTER --- */
        .site-footer {
            border-top: 1px solid var(--line);
            padding: 3.5rem 1.5rem 2rem;
            margin-top: auto;
        }

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

        .footer-col {}

        .footer-logo-img {
            height: 26px;
            width: auto;
            margin-bottom: 0.9rem;
        }

        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.88rem;
            max-width: 32ch;
            line-height: 1.6;
        }

        .footer-heading {
            font-family: var(--font-primary);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.88rem;
            transition: var(--transition-smooth);
        }

        .footer-link:hover {
            color: var(--kick-green);
        }

        .footer-social-icons {
            display: flex;
            gap: 0.6rem;
        }

        .social-icon-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--line-strong);
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            transition: var(--transition-smooth);
        }

        .social-icon-btn:hover {
            border-color: var(--kick-green);
            color: var(--kick-green);
        }

        .footer-bottom {
            max-width: 1180px;
            margin: 0 auto;
            padding-top: 1.75rem;
            border-top: 1px solid var(--line);
        }

        .copyright {
            font-size: 0.82rem;
            color: #5c6a58;
        }

        .copyright span {
            color: #4a564a;
        }

        @media (max-width: 900px) {
            .footer-container {
                grid-template-columns: 1fr 1fr;
                gap: 2rem 1.5rem;
            }

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

        @media (max-width: 560px) {
            .footer-container {
                grid-template-columns: 1fr;
            }

            .footer-social-icons {
                margin-top: 0.25rem;
            }
        }

        /* --- MODAL STANDARDIZATION --- */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(3, 5, 3, 0.8);
            backdrop-filter: blur(6px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
            padding: 1.5rem;
        }

        .modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .legal-modal, .contact-modal {
            background: var(--panel);
            border: 1px solid var(--line-strong);
            border-radius: var(--radius-lg);
            max-width: 820px;
            width: 100%;
            max-height: 82vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            padding: 2.25rem;
            position: relative;
            box-shadow: var(--shadow-float);
        }

        .close-modal-btn {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 1.6rem;
            line-height: 1;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .close-modal-btn:hover {
            color: var(--kick-green);
        }

        .legal-modal h2, .contact-modal h2 {
            font-family: var(--font-primary);
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 1.25rem;
            padding-right: 2rem;
        }

        .modal-content-scroll {
            overflow-y: auto;
            padding-right: 0.5rem;
        }

        .modal-content-scroll h3 {
            font-family: var(--font-primary);
            font-size: 1rem;
            font-weight: 600;
            color: var(--kick-green);
            margin: 1.5rem 0 0.6rem;
        }

        .modal-content-scroll h3:first-child {
            margin-top: 0;
        }

        .modal-content-scroll p, .contact-modal p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.65;
            margin-bottom: 0.9rem;
        }

        .modal-content-scroll ul {
            list-style: none;
            margin-bottom: 0.9rem;
        }

        .modal-content-scroll li {
            position: relative;
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.65;
            padding-left: 1.2rem;
            margin-bottom: 0.4rem;
        }

        .modal-content-scroll li::before {
            content: '-';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            color: var(--kick-green);
        }

        .modal-content-scroll strong {
            color: var(--text-primary);
        }

        .contact-email {
            font-size: 0.95rem;
        }

        .contact-email a {
            color: var(--kick-green);
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
                text-align: left;
                padding-top: 2.5rem;
            }

            .hero-visual {
                order: -1;
                max-width: 420px;
            }

            .features {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 560px) {
            .logo {
                height: 26px;
            }

            .hero {
                padding: 2rem 1.25rem 3rem;
                gap: 2rem;
            }

            .action-container {
                width: 100%;
            }

            .launch-form {
                flex-direction: column;
                background: transparent;
                border: none;
                box-shadow: none;
                clip-path: none;
                padding: 0;
                gap: 0.7rem;
            }

            .launch-form:focus-within {
                box-shadow: none;
            }

            .stream-input-wrap {
                flex: none;
                width: 100%;
            }

            .launch-form input {
                width: 100%;
                background: var(--panel);
                border: 1px solid var(--line);
                border-radius: var(--radius-md);
                padding: 0.85rem 1.2rem;
            }

            .launch-form input:focus {
                outline: none;
                border-color: rgba(83, 252, 24, 0.5);
            }

            .btn-primary {
                width: 100%;
            }

            .btn-secondary {
                width: 100%;
                text-align: center;
                justify-content: center;
            }

            .features {
                grid-template-columns: 1fr;
            }

            .legal-modal, .contact-modal {
                padding: 1.75rem;
            }
        }

        /* --- TOP BAR --- */
        .top-uplink-bar {
            width: 100%;
            background: var(--panel);
            border-bottom: 1px solid var(--line);
            padding: 0.55rem 1.5rem;
        }

        .uplink-content {
            max-width: 1180px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.85rem;
            font-family: var(--font-secondary);
            font-size: 0.78rem;
        }

        .uplink-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-weight: 500;
            letter-spacing: 0.01em;
        }

        .status-dot-small {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--kick-green);
            animation: pulse-dot 1.6s infinite;
        }

        .uplink-separator {
            color: var(--line-strong);
        }

        .uplink-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.2rem;
            transition: var(--transition-smooth);
        }

        .uplink-link:hover {
            color: var(--kick-green);
        }

        .uplink-arrow {
            transition: var(--transition-smooth);
        }

        .uplink-link:hover .uplink-arrow {
            transform: translateX(2px);
        }

        @media (max-width: 560px) {
            .uplink-content {
                font-size: 0.7rem;
                gap: 0.6rem;
            }
        }
        
        /* --- BROWSE / "PICK YOUR STREAMS" MODAL --- */
        .browse-modal {
            background: var(--panel);
            border: 1px solid var(--line-strong);
            border-radius: 14px;
            box-shadow: var(--shadow-float);
            color: var(--text-color, #efeff1);
            padding: 1.75rem;
            width: 100%;
            max-width: 980px;
            max-height: 88vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            font-family: var(--font-secondary);
            transform: scale(0.95);
            transition: transform 0.3s ease;
            box-sizing: border-box;
            margin: auto;
        }

        .modal-overlay.visible .browse-modal {
            transform: scale(1);
        }

        .browse-modal h2 {
            font-family: var(--font-primary);
            color: #fff;
            margin: 0 0 1rem 0;
            font-size: 1.4rem;
            flex-shrink: 0;
            padding-right: 2rem;
        }

        .browse-tabs {
            display: flex;
            gap: 1.75rem;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1rem;
            flex-shrink: 0;
        }

        .browse-tab-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-family: var(--font-primary);
            font-size: 0.95rem;
            font-weight: 600;
            padding: 0 0 0.75rem 0;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: color 0.2s ease;
        }

        .browse-tab-btn:hover {
            color: #fff;
        }

        .browse-tab-btn.active {
            color: #fff;
            border-bottom-color: var(--kick-green);
        }

        .browse-controls {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 0.85rem;
            flex-shrink: 0;
        }

        .browse-search-wrap {
            position: relative;
            flex: 1 1 auto;
            min-width: 0;
        }

        .browse-search-wrap svg {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            fill: var(--text-secondary);
            pointer-events: none;
        }

        #browse-search-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: #fff;
            padding: 0.7rem 0.9rem 0.7rem 2.4rem;
            font-family: var(--font-secondary);
            font-size: 0.9rem;
            box-sizing: border-box;
        }

        #browse-search-input:focus {
            outline: none;
            border-color: var(--kick-green);
        }

        .browse-filter-wrap {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
            color: var(--text-secondary);
            font-size: 0.85rem;
            white-space: nowrap;
        }

        #browse-lang-select {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: #fff;
            padding: 0.7rem 2rem 0.7rem 0.9rem;
            font-family: var(--font-secondary);
            font-size: 0.85rem;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a3b89c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 8px center;
            background-size: 18px;
            /* Hints the browser to draw the native dropdown popup (and its
               scrollbar) with a dark UI chrome instead of the OS default
               light theme - without this, Edge/Chrome render the <option>
               list in light mode regardless of the colors below, which is
               why the popup showed near-invisible text on a white background. */
            color-scheme: dark;
        }

        /* The <option> list is a native browser popup, not styled by the
           select's own background/color - it needs its own rule, and Edge
           in particular ignores this if it's missing. */
        #browse-lang-select option {
            background: var(--panel-raised);
            color: var(--text-primary);
        }

        #browse-lang-select:focus {
            outline: none;
            border-color: var(--kick-green);
        }

        .browse-hint {
            color: var(--text-secondary);
            font-size: 0.85rem;
            margin: 0 0 0.85rem 0;
            flex-shrink: 0;
        }

        .browse-hint strong {
            color: var(--kick-green);
        }

        .browse-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-auto-rows: max-content; /* without this, overflow-y:auto makes the browser
                                             squash each row's height instead of sizing it to
                                             the thumbnail's real aspect ratio - that's what was
                                             clipping thumbnails down to thin glitchy slivers */
            gap: 1rem;
            overflow-y: auto;
            padding: 2px 2px 1rem 2px;
            flex-grow: 1;
            align-content: start;
        }

        .browse-loading,
        .browse-empty {
            color: var(--text-secondary);
            text-align: center;
            padding: 3rem 1rem;
            font-family: var(--font-primary);
            letter-spacing: 0.5px;
        }

        .browse-card {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid transparent;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: border-color 0.15s ease, transform 0.15s ease;
            text-align: left;
        }

        .browse-card:hover {
            border-color: rgba(83, 252, 24, 0.4);
        }

        .browse-card.selected {
            border-color: var(--kick-green);
        }

        .browse-thumb-wrap {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000;
            overflow: hidden;
        }

        .browse-thumb-wrap img.browse-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .browse-thumb-offline {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #050505;
        }

        .browse-thumb-offline img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            opacity: 0.6;
        }

        .browse-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.85rem;
            padding: 0.7rem 0 0.15rem 0;
            flex-shrink: 0;
        }

        .browse-pagination button {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--text-primary);
            padding: 6px 14px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
            font-family: var(--font-primary);
            transition: background 0.15s ease, border-color 0.15s ease;
        }

        .browse-pagination button:hover:not(:disabled) {
            background: rgba(83, 252, 24, 0.15);
            border-color: rgba(83, 252, 24, 0.4);
        }

        .browse-pagination button:disabled {
            opacity: 0.35;
            cursor: default;
        }

        .browse-pagination .browse-page-info {
            color: var(--text-secondary);
            font-size: 0.85rem;
            min-width: 90px;
            text-align: center;
        }

        .browse-viewers {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .browse-viewers .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--kick-green);
            flex-shrink: 0;
        }

        .browse-offline-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: var(--text-secondary);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 3px 8px;
            border-radius: 999px;
        }

        .browse-fav-btn {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.6);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            transition: transform 0.15s ease, background 0.15s ease;
        }

        .browse-fav-btn:hover {
            transform: scale(1.1);
            background: rgba(0, 0, 0, 0.85);
        }

        .browse-fav-btn svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: #fff;
            stroke-width: 2;
        }

        .browse-fav-btn.is-favorited svg {
            fill: var(--kick-green);
            stroke: var(--kick-green);
        }

        .browse-select-check {
            position: absolute;
            bottom: 8px;
            right: 8px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--kick-green);
            color: #000;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 900;
        }

        .browse-card.selected .browse-select-check {
            display: flex;
        }

        .browse-card-info {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            padding: 0.6rem 0.7rem 0.75rem 0.7rem;
        }

        .browse-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            background: #222;
        }

        .browse-card-text {
            min-width: 0;
            flex: 1 1 auto;
        }

        .browse-username {
            color: #fff;
            font-weight: 700;
            font-size: 0.88rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .browse-title {
            color: var(--text-secondary);
            font-size: 0.78rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 2px;
        }

        .browse-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        #browse-selected-count {
            color: var(--text-secondary);
            font-size: 0.82rem;
        }

        .browse-footer-btns {
            display: flex;
            gap: 0.75rem;
            margin-left: auto;
        }

        .browse-btn-secondary,
        .browse-btn-primary {
            font-family: var(--font-primary);
            font-size: 0.85rem;
            font-weight: 600;
            padding: 0.7rem 1.4rem;
            border-radius: 999px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }

        .browse-btn-secondary {
            background: transparent;
            border: 2px solid var(--border-color);
            color: var(--text-secondary);
        }

        .browse-btn-secondary:hover {
            border-color: #fff;
            color: #fff;
        }

        .browse-btn-primary {
            background: var(--kick-green);
            border: 1px solid var(--kick-green);
            color: #06210a;
        }

        .browse-btn-primary:hover:not(:disabled) {
            background: var(--kick-green-flash);
        }

        .browse-btn-primary:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .browse-btn-primary svg {
            width: 15px;
            height: 15px;
            fill: #000;
        }

        @media (max-width: 700px) {
            .browse-modal {
                padding: 1.1rem;
                border-radius: 10px;
                max-height: 92vh;
            }

            .browse-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.6rem;
            }

            .browse-controls {
                flex-direction: column;
            }

            .browse-filter-wrap {
                width: 100%;
            }

            #browse-lang-select {
                flex: 1;
                min-width: 140px;
            }

            .browse-username, .browse-title {
                font-size: 0.75rem;
            }
        }

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

        

/* --- STATIC INFO PAGES (About / Contact / Terms / Privacy) ---
   Reuses the exact .legal-modal/.contact-modal card styling above, just
   laid out inline in the page instead of inside a fixed-position modal
   overlay, so these read as real pages that share the site's theme
   exactly rather than a separate look. */
.legal-page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: flex;
    justify-content: center;
}

.legal-page-wrap .legal-modal,
.legal-page-wrap .contact-modal {
    max-height: none;
    overflow: visible;
    box-shadow: var(--shadow-float);
}

.legal-page-wrap .modal-content-scroll {
    overflow-y: visible;
    padding-right: 0;
}

.legal-page-wrap .close-modal-btn {
    display: none;
}

.legal-page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.legal-page-back:hover {
    color: var(--kick-green);
}

@media (max-width: 560px) {
    .legal-page-wrap {
        padding: 2rem 1.25rem 3.5rem;
    }
}

/* --- FAQ PAGE ---
   Deliberately plain: same .legal-modal/.modal-content-scroll shell and
   type scale as About/Terms/Privacy, just with each question as a
   <details> row instead of a <p>, so the page reads as one more page in
   the same set rather than a separately-designed one. */
.faq-list {
    border-top: 1px solid var(--line);
    margin: 0.75rem 0 1.75rem;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    cursor: pointer;
    padding: 0.95rem 0;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.faq-item:hover .faq-question {
    color: var(--kick-green);
}

.faq-question::marker {
    color: var(--kick-green);
}

.faq-answer {
    padding: 0 0 1rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.faq-answer a {
    color: var(--kick-green);
}

.faq-cta {
    margin-top: 2.25rem;
    padding: 2rem 1.75rem;
    text-align: center;
    background: var(--panel-raised);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
}

.faq-cta h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.faq-cta p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

.faq-cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .faq-cta {
        padding: 1.5rem;
    }

    .faq-cta-actions {
        flex-direction: column;
    }

    .faq-cta-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
