/* Typography */
        h1, h2, h3, h4, .font-display { font-family: 'Outfit', sans-serif; }
        body { font-family: 'Inter', sans-serif; background-color: #000000; }

        /* Premium Monochrome Gradients & Cards */
        .grad-card {
            background: linear-gradient(160deg, #101010 0%, #000000 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .grad-card:hover {
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 20px rgba(255,255,255,0.02), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        /* Floating Header Button Style */
        .header-btn {
            background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
            color: #000;
            box-shadow: 0 4px 15px rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }
        .header-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(255,255,255,0.2);
        }

        /* --- SPARSE GRID HERO BACKGROUND --- */
        .hero-bg-grid {
            background-size: 100px 100px;
            background-image: 
                linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 90%);
            -webkit-mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 90%);
        }

        /* --- HERO STARS (Smaller, fainter) --- */
        @keyframes twinkle {
            0%, 100% { opacity: 0.05; transform: scale(0.8); }
            50% { opacity: 0.35; transform: scale(1.1); }
        }
        .star {
            position: absolute;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 4px 0px rgba(255, 255, 255, 0.3);
            animation: twinkle 3s infinite ease-in-out;
            pointer-events: none;
        }

        /* --- HERO PLANET (BANANA EFFECT) --- */
        .hero-glow-ellipse {
            width: 150vw;
            max-width: 1600px;
            height: 150vw;
            max-height: 450px;
            position: absolute;
            bottom: -35vw;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 50%;
            background: #000;
            border-top: 6px solid rgba(255, 255, 255, 0.5);
            box-shadow: 
                0 -8px 0 0 rgba(255, 255, 255, 0.2), 
                0 -20px 60px rgba(255, 255, 255, 0.08),
                0 -100px 180px rgba(255, 255, 255, 0.05),
                inset 0 30px 80px rgba(255, 255, 255, 0.05);
            z-index: 0;
            pointer-events: none;
        }

        @media (min-width: 1100px) {
            .hero-glow-ellipse {
                bottom: -150px;
            }
        }

        /* Glass Cards (Stats) */
        .glass-card {
            background: linear-gradient(160deg, rgba(20,20,20,0.6) 0%, rgba(0,0,0,0.8) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        /* Glitch Text Effect */
        .glitch-wrapper {
            position: relative;
            color: #ffffff;
            text-shadow: 0 0 10px rgba(255,255,255,0.1);
            animation: glitch-anim 4s infinite alternate-reverse;
        }
        .glitch-wrapper::before, .glitch-wrapper::after {
            content: attr(data-text);
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8;
        }
        .glitch-wrapper::before {
            left: 2px;
            text-shadow: -1px 0 rgba(200,200,200,0.5);
            clip: rect(24px, 550px, 90px, 0);
            animation: glitch-anim-2 3s infinite linear alternate-reverse;
        }
        .glitch-wrapper::after {
            left: -2px;
            text-shadow: -1px 0 rgba(255,255,255,0.5);
            clip: rect(85px, 550px, 140px, 0);
            animation: glitch-anim 2.5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim {
            0% { clip: rect(10px, 9999px, 44px, 0); }
            5% { clip: rect(66px, 9999px, 98px, 0); }
            10% { clip: rect(31px, 9999px, 83px, 0); opacity: 1; text-shadow: 2px 0 rgba(255,255,255,0.3); }
            15% { clip: rect(2px, 9999px, 14px, 0); opacity: 0.9; }
            20% { clip: rect(80px, 9999px, 99px, 0); }
            25% { clip: rect(22px, 9999px, 43px, 0); text-shadow: -2px 0 rgba(200,200,200,0.2); }
            30%, 100% { clip: rect(0, 0, 0, 0); opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.1); }
        }
        @keyframes glitch-anim-2 {
            0% { clip: rect(65px, 9999px, 100px, 0); }
            10% { clip: rect(12px, 9999px, 44px, 0); }
            20% { clip: rect(89px, 9999px, 15px, 0); }
            30%, 100% { clip: rect(0, 0, 0, 0); }
        }

        /* Animations for Stat Cards */
        @keyframes bar { 0% { height: 20%; } 100% { height: 100%; } }
        @keyframes fillBar { 0% { width: 0%; } 100% { width: 100%; } }

        /* Smooth Scroll Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Stats Container Custom Reveal */
        .stats-container {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }
        .stats-container.scrolled-in {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }



 .widget-card {
        background: linear-gradient(180deg, rgba(20,20,20,0.6) 0%, rgba(5,5,5,0.8) 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        backdrop-filter: blur(12px);
        transition: transform 0.3s ease, border-color 0.3s ease;
    }
    .widget-card:hover {
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
 
    .ping-dot { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
    @keyframes ping { 75%, 100% { transform: scale(2.5); opacity: 0; } }

 
    .mountain-path {
        transition: d 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .scanner-line {
        animation: scan 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    @keyframes scan {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(300%); }
    }

  
    .cursor-blink { animation: blink 1s step-end infinite; }
    @keyframes blink { 50% { opacity: 0; } }


   .main-features-wrap {
        position: relative;
        width: 100%;
    }

    .main-features-grid {
        display: grid;
        grid-template-columns: 1.4fr 0.8fr;
        gap: 12px;
    }

    .feature-card {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.08);
        background:
            radial-gradient(circle at top, rgba(255,255,255,0.035), transparent 45%),
            linear-gradient(180deg, rgba(16,16,16,0.94) 0%, rgba(6,6,6,0.98) 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 40px rgba(0,0,0,0.25);
    }

    .feature-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 35%, transparent 65%, rgba(255,255,255,0.015));
        pointer-events: none;
    }

    .feature-large {
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    .feature-stack {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
    }

    .feature-small {
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .feature-bottom-row {
        margin-top: 12px;
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 12px;
    }

    .feature-eyebrow {
        font-size: 9px;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: rgba(255,255,255,0.4);
        margin-bottom: 8px;
    }

    .feature-title {
        font-family: 'Outfit', sans-serif;
        font-size: 18px;
        line-height: 1.1;
        font-weight: 600;
        color: #fff;
        margin-bottom: 6px;
    }

    .feature-desc {
        font-size: 11px;
        line-height: 1.5;
        color: rgba(255,255,255,0.5);
    }


    .feature-ui-frame {
        margin-top: 12px;
        position: relative;
        flex: 1;
        min-height: 200px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.08);
        background: radial-gradient(circle at center, rgba(255,255,255,0.05), #050505 80%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 10px;
    }

    .feature-ui-img {
        max-width: 95%;
        max-height: 95%;
        object-fit: contain;
        border-radius: 6px;
        box-shadow: 0 5px 25px rgba(0,0,0,0.5);
        z-index: 2;
    }

    .feature-ui-glow {
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255,255,255,0.1);
        filter: blur(50px);
        z-index: 1;
    }


    .feature-curve-box {
        position: relative;
        height: 75px;
        margin-top: 10px;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(0,0,0,0.4);
        border: 1px solid rgba(255,255,255,0.05);
    }

    .feature-curve-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .feature-curve-line {
        fill: none;
        stroke: rgba(255,255,255,0.8);
        stroke-width: 1.5;
    }

    .feature-curve-fill {
        fill: url(#featuresAreaGradient);
        opacity: 0.8;
    }


    .chart-scanner {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: chartScan 4.5s linear infinite; 
        pointer-events: none;
    }
    @keyframes chartScan {
        0% { left: -40%; }
        100% { left: 100%; }
    }

    /* Live Feed */
    .downloads-feed {
        margin-top: 10px;
        display: grid;
        gap: 8px; 
    }

    .download-toast {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border-radius: 8px;
        padding: 10px 12px; 
        border: 1px solid rgba(255,255,255,0.05);
        background: rgba(255,255,255,0.02);
        opacity: 0;
        transform: translateY(5px);
        animation: downloadIn 0.3s ease forwards;
    }

    @keyframes downloadIn {
        to { opacity: 1; transform: translateY(0); }
    }

    .download-avatar {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        flex-shrink: 0;
    }

    .download-name {
        font-size: 11px;
        color: #fff;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .download-badge {
        font-size: 8px;
        padding: 2px 5px;
        border-radius: 4px;
        background: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.8);
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .download-time {
        font-size: 9px;
        color: rgba(255,255,255,0.4);
    }

    /* Library Block */
    .lib-snippet {
        background: #050505;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        padding: 10px;
        font-family: monospace;
        font-size: 9px;
        color: rgba(255,255,255,0.6);
        margin-top: auto;
    }
    .lib-snippet span { color: #fff; }

    @media (max-width: 768px) {
        .main-features-grid, .feature-bottom-row { grid-template-columns: 1fr; }
        .feature-stack { grid-template-rows: auto; }
    }



    .install-tab.active {
        background: #ffffff;
        color: #000000;
        font-weight: 600;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    
    .install-pane {
        display: none;
        animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    
    .install-pane.active {
        display: block;
    }

    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(15px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .install-card-wrap {
        background: linear-gradient(145deg, rgba(15,15,15,0.9) 0%, rgba(5,5,5,1) 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 50px rgba(0,0,0,0.5);
    }

    .step-box {
        background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
        border: 1px solid rgba(255,255,255,0.05);
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .step-box:hover {
        border-color: rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }

    .step-num {
        position: absolute;
        top: -12px;
        left: -12px;
        width: 28px;
        height: 28px;
        background: #fff;
        color: #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 13px;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        z-index: 10;
    }

    .bg-os-icon {
        position: absolute;
        bottom: -40px;
        right: -30px;
        width: 320px;
        height: 320px;
        color: rgba(255, 255, 255, 0.02);
        pointer-events: none;
        z-index: 0;
        transform: rotate(-10deg);
    }

    .floating-logo {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        z-index: 10;
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
        opacity: 0.8;
    }
    
    .dl-btn {
        flex-shrink: 0;
        min-width: 200px;
    }



.scripts-wrap {
        position: relative;
        width: 100%;
    }

    .script-card {
        background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.95) 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .script-card:hover {
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .script-icon-box {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 12px;
    }

    .script-badge {
        position: absolute;
        top: 18px;
        right: 18px;
        font-size: 8.5px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 999px;
    }

    .badge-hot { background: rgba(255, 60, 60, 0.1); color: #ff6b6b; border: 1px solid rgba(255, 60, 60, 0.2); }
    .badge-new { background: rgba(60, 255, 120, 0.1); color: #6bff8e; border: 1px solid rgba(60, 255, 120, 0.2); }
    .badge-pop { background: rgba(60, 150, 255, 0.1); color: #6ba8ff; border: 1px solid rgba(60, 150, 255, 0.2); }
    .badge-reg { background: rgba(255, 255, 255, 0.05); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); }

    .script-title {
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .script-desc {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 14px;
        line-height: 1.4;
        min-height: 32px;
    }

    .script-features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: auto;
    }

    .script-features li {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.7);
    }

    .feature-check {
        width: 12px;
        height: 12px;
        color: #4ade80;
        flex-shrink: 0;
    }

    /* Special 8th Card */
    .cta-card {
        background: linear-gradient(135deg, rgba(20,20,30,0.9) 0%, rgba(5,5,10,0.95) 100%);
        border: 1px solid rgba(100, 150, 255, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 24px;
    }

    .cta-card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(100, 150, 255, 0.1), transparent 60%);
        pointer-events: none;
    }

    .cta-number {
        font-family: 'Outfit', sans-serif;
        font-size: 42px;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        margin-bottom: 8px;
        text-shadow: 0 0 20px rgba(100, 150, 255, 0.4);
    }

    .cta-button {
        margin-top: auto;
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        background: #fff;
        color: #000;
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.3s ease;
    }

    .cta-button:hover {
        background: #e0e0e0;
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    }

  .mac-window {
        background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .mac-header {
        height: 38px;
        background: linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        padding: 0 16px;
        position: relative;
    }

    .mac-dots {
        display: flex;
        gap: 8px;
    }

    .mac-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }

    .dot-close { background: #ff5f56; border: 1px solid #e0443e; }
    .dot-min { background: #ffbd2e; border: 1px solid #dea123; }
    .dot-max { background: #27c93f; border: 1px solid #1aab29; }

    .mac-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .mac-body {
        display: flex;
        flex-direction: row;
        height: 380px;
    }

    .mac-sidebar {
        width: 220px;
        background: rgba(255, 255, 255, 0.02);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .mac-sidebar::-webkit-scrollbar, .mac-content::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    .mac-sidebar::-webkit-scrollbar-track, .mac-content::-webkit-scrollbar-track {
        background: transparent;
    }
    .mac-sidebar::-webkit-scrollbar-thumb, .mac-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    .mac-sidebar::-webkit-scrollbar-thumb:hover, .mac-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .version-tab {
        padding: 14px 20px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        cursor: pointer;
        transition: background 0.2s ease;
        position: relative;
    }

    .version-tab:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .version-tab.active {
        background: rgba(255, 255, 255, 0.08);
    }

    .version-tab.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #fff;
        border-radius: 0 4px 4px 0;
    }

    .v-name {
        font-family: 'Outfit', sans-serif;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
    }

    .v-date {
        color: rgba(255, 255, 255, 0.4);
        font-size: 11px;
    }

    .mac-content {
        flex: 1;
        padding: 24px 32px;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .log-pane {
        display: none;
        animation: fadeIn 0.3s ease forwards;
    }

    .log-pane.active {
        display: block;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .log-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .log-title {
        font-family: 'Outfit', sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 6px;
    }

    .log-desc {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
    }

    .log-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .log-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.5;
    }

    .log-badge {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 6px;
        flex-shrink: 0;
        width: 70px;
        text-align: center;
    }

    .badge-add { background: rgba(74, 222, 128, 0.1); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.2); }
    .badge-fix { background: rgba(96, 165, 250, 0.1); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.2); }
    .badge-imp { background: rgba(192, 132, 252, 0.1); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.2); }
    .badge-rem { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.2); }

    @media (max-width: 768px) {
        .mac-body {
            flex-direction: column;
            height: 500px;
        }

        .mac-sidebar {
            width: 100%;
            flex-direction: row;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            overflow-x: auto;
            overflow-y: hidden;
            flex-shrink: 0;
        }

        .version-tab {
            min-width: 120px;
            border-bottom: none;
            border-right: 1px solid rgba(255, 255, 255, 0.03);
            align-items: center;
            text-align: center;
        }

        .version-tab.active::before {
            width: 100%;
            height: 2px;
            top: auto;
            bottom: 0;
            left: 0;
            border-radius: 4px 4px 0 0;
        }

        .mac-content {
            padding: 20px;
        }
    }


   .comp-wrap {
        background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.95) 100%);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: 1px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

    .comp-inner {
        background: #050505;
        border-radius: 19px;
        overflow-x: auto;
    }

    /* Custom Scrollbar for mobile swiping */
    .comp-inner::-webkit-scrollbar {
        height: 6px;
    }
    .comp-inner::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.02);
        border-radius: 10px;
    }
    .comp-inner::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.15);
        border-radius: 10px;
    }

    .comp-table {
        width: 100%;
        min-width: 650px;
        border-collapse: collapse;
    }

    .comp-table th, .comp-table td {
        padding: 20px 24px;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .comp-table th {
        font-family: 'Outfit', sans-serif;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,0.4);
        font-weight: 600;
    }

    .comp-table td {
        font-size: 14px;
        color: rgba(255,255,255,0.7);
    }

    .comp-table tr:last-child td {
        border-bottom: none;
    }

    .comp-feature {
        font-weight: 500;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.6);
    }

    .col-xeno {
        background: rgba(255,255,255,0.03);
        position: relative;
        width: 35%;
    }

    .col-xeno::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
    }

    .col-xeno::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
    }

    .xeno-header {
        color: #fff !important;
        background: rgba(255,255,255,0.05);
        position: relative;
        font-size: 15px !important;
    }

    .xeno-header-glow {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: #fff;
        box-shadow: 0 0 20px rgba(255,255,255,0.8);
    }

    .xeno-val {
        color: #fff;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .other-val {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,0.4);
    }

    .icon-check {
        width: 18px;
        height: 18px;
        color: #4ade80;
        flex-shrink: 0;
    }

    .icon-cross {
        width: 18px;
        height: 18px;
        color: #f87171;
        flex-shrink: 0;
    }

    .badge-xeno {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        color: #fff;
        margin-left: auto;
    }


  .faq-wrap {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .faq-item {
        background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px;
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        border-color: rgba(255,255,255,0.1);
        background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    }

    .faq-item.active {
        border-color: rgba(255,255,255,0.15);
        background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .faq-btn {
        width: 100%;
        text-align: left;
        padding: 20px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        outline: none;
        background: transparent;
        border: none;
    }

    .faq-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 16px;
        color: rgba(255,255,255,0.9);
        transition: color 0.3s ease;
    }

    .faq-item.active .faq-title {
        color: #fff;
    }

    .faq-icon-wrap {
        width: 24px;
        height: 24px;
        position: relative;
        flex-shrink: 0;
        color: rgba(255,255,255,0.4);
        transition: color 0.3s ease;
    }

    .faq-item.active .faq-icon-wrap {
        color: #fff;
    }

    .faq-icon-line {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        background: currentColor;
        transform: translate(-50%, -50%);
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

    .faq-icon-line.vertical {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .faq-item.active .faq-icon-line.vertical {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    
    .faq-item.active .faq-icon-line {
        transform: translate(-50%, -50%) rotate(180deg);
    }

  
    .faq-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .faq-item.active .faq-content {
        max-height: 500px; 
    }

    .faq-content-inner {
        padding: 0 24px 24px 24px;
        font-size: 13px;
        color: rgba(255,255,255,0.5);
        line-height: 1.6;
    }

    .faq-content-inner strong {
        color: rgba(255,255,255,0.8);
        font-weight: 600;
    }




/* ========== NEW SPLIT HERO (Left text / Right image) ========== */
.hero-split {
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero-split {
        padding-top: 160px;
        padding-bottom: 80px;
    }
}
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .hero-split-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 48px;
    }
}
.hero-left {
    text-align: left;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.6);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11px;
    color: #fff;
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-h1 span {
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, #888 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #a5a5a5;
    max-width: 520px;
    margin-bottom: 28px;
}
@media (min-width: 768px) {
    .hero-lead { font-size: 16px; }
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    padding: 14px 26px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 24px rgba(255,255,255,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255,255,255,0.35);
}
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #121212;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
    padding: 14px 26px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hero-btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    background: #1a1a1a;
}
.hero-mini-stats {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-mini-stat .val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}
.hero-mini-stat .lab {
    font-size: 10px;
    color: #777;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 6px;
}
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
}
.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, transparent 65%);
    z-index: 0;
    filter: blur(30px);
    pointer-events: none;
}
.hero-main-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
/* Subtle grid behind split hero */
.hero-split-bg {
    position: absolute;
    inset: 0;
    background-size: 90px 90px;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ========== macOS WINDOW FRAME AROUND HERO IMAGE ========== */
.hero-mac {
    border-radius: 14px;
    background: linear-gradient(180deg, #1a1a1c 0%, #0d0d0e 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 40px 90px rgba(0,0,0,0.75),
        0 0 0 0.5px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    max-width: 620px;
    position: relative;
    isolation: isolate;
}
.hero-mac::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.10) 0%, transparent 65%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}
.hero-mac-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    background: linear-gradient(180deg, #2a2a2d 0%, #1c1c1e 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.hero-mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25);
}
.hero-mac-btn-red    { background: #ff5f57; box-shadow: inset 0 0 0 0.5px #e0443e; }
.hero-mac-btn-yellow { background: #febc2e; box-shadow: inset 0 0 0 0.5px #dea123; }
.hero-mac-btn-green  { background: #28c840; box-shadow: inset 0 0 0 0.5px #1aab29; }
.hero-mac-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
    font-weight: 500;
    user-select: none;
    white-space: nowrap;
}
.hero-mac-body {
    padding: 0;
    background: #0a0a0b;
    line-height: 0;
}
.hero-mac-body .hero-main-img {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    display: block;
}
/* remove ::before glow of the older wrap for mac-window case */
.hero-mac.hero-image-wrap::before {
    inset: -40px;
    filter: blur(45px);
}

/* ========== SCROLL BREADCRUMBS (not fixed) ========== */
.scroll-breadcrumbs {
    padding-top: 100px; /* sits below the fixed pill header on load */
    opacity: 0.75;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 1;
}
.scroll-breadcrumbs:hover { opacity: 1; }
@media (max-width: 640px) {
    .scroll-breadcrumbs { padding-top: 88px; }
}

/* Since breadcrumbs now scroll, tighten hero-split top padding (breadcrumbs already provide space) */
.hero-split { padding-top: 30px !important; }
@media (min-width: 768px) {
    .hero-split { padding-top: 40px !important; }
}


   .cl-wrap {
        max-width: 980px;
        margin: 0 auto;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        background:
            radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 40%),
            linear-gradient(180deg, #0c0c0c 0%, #060606 100%);
        overflow: hidden;
        box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .cl-meta-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.015);
    }
    .cl-meta-item {
        padding: 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        border-right: 1px solid rgba(255,255,255,0.05);
    }
    .cl-meta-item:last-child { border-right: none; }
    .cl-meta-label {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: rgba(255,255,255,0.35);
        font-weight: 600;
    }
    .cl-meta-value {
        font-family: 'Outfit', sans-serif;
        font-size: 14px;
        color: #fff;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .cl-meta-value .cl-pulse {
        width: 6px; height: 6px;
        border-radius: 50%;
        background: #4ade80;
        box-shadow: 0 0 8px #4ade80;
        animation: cl-pulse 2s infinite;
    }
    @keyframes cl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

    .cl-body {
        display: grid;
        grid-template-columns: 260px 1fr;
        min-height: 560px;
    }

    /* LEFT — version list */
    .cl-versions {
        border-right: 1px solid rgba(255,255,255,0.06);
        background: rgba(0,0,0,0.3);
        overflow-y: auto;
        max-height: 640px;
    }
    .cl-versions::-webkit-scrollbar { width: 6px; }
    .cl-versions::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 8px; }

    .cl-vtab {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        transition: background 0.2s ease;
    }
    .cl-vtab:hover { background: rgba(255,255,255,0.02); }
    .cl-vtab.active {
        background: rgba(255,255,255,0.04);
    }
    .cl-vtab.active::before {
        content: '';
        position: absolute;
        left: 0; top: 12px; bottom: 12px;
        width: 2px;
        background: #fff;
        border-radius: 0 2px 2px 0;
        box-shadow: 0 0 10px rgba(255,255,255,0.4);
    }

    .cl-vtab-top {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .cl-vtab-name {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        color: #fff;
        font-size: 15px;
        letter-spacing: -0.01em;
    }
    .cl-vtab-tag {
        font-size: 8.5px;
        padding: 2px 6px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 700;
    }
    .cl-tag-latest { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
    .cl-tag-stable { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.08); }
    .cl-tag-hotfix { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
    .cl-tag-major  { background: rgba(96,165,250,0.1); color: #60a5fa; border: 1px solid rgba(96,165,250,0.2); }

    .cl-vtab-date {
        font-size: 11px;
        color: rgba(255,255,255,0.4);
        font-family: 'Inter', sans-serif;
    }
    .cl-vtab-stats {
        display: flex;
        gap: 10px;
        font-size: 10px;
        color: rgba(255,255,255,0.55);
        font-family: 'Inter', sans-serif;
    }
    .cl-vtab-stats span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .cl-vtab-stats i {
        width: 5px; height: 5px;
        border-radius: 50%;
        display: inline-block;
    }
    .cl-dot-add { background: #4ade80; }
    .cl-dot-fix { background: #60a5fa; }
    .cl-dot-imp { background: #c084fc; }
    .cl-dot-rem { background: #f87171; }
    .cl-dot-sec { background: #fbbf24; }

    /* RIGHT — content */
    .cl-content {
        padding: 30px 36px;
        overflow-y: auto;
        max-height: 640px;
        position: relative;
    }
    .cl-content::-webkit-scrollbar { width: 6px; }
    .cl-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 8px; }

    .cl-pane { display: none; animation: clFade 0.35s ease forwards; }
    .cl-pane.active { display: block; }
    @keyframes clFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

    .cl-head {
        padding-bottom: 22px;
        border-bottom: 1px dashed rgba(255,255,255,0.08);
        margin-bottom: 26px;
    }
    .cl-head-top {
        display: flex;
        align-items: baseline;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    .cl-version-big {
        font-family: 'Outfit', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.02em;
        line-height: 1;
    }
    .cl-head-date {
        font-size: 13px;
        color: rgba(255,255,255,0.45);
    }
    .cl-head-sum {
        font-size: 14px;
        color: rgba(255,255,255,0.65);
        line-height: 1.55;
        max-width: 560px;
    }

    .cl-info-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        margin-top: 20px;
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
        overflow: hidden;
    }
    .cl-info-cell {
        background: #080808;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .cl-info-label {
        font-size: 8.5px;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: rgba(255,255,255,0.35);
        font-weight: 600;
    }
    .cl-info-value {
        font-family: 'JetBrains Mono', ui-monospace, monospace;
        font-size: 12px;
        color: #fff;
        font-weight: 500;
    }

    /* Category groups */
    .cl-group { margin-bottom: 22px; }
    .cl-group-title {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    .cl-group-title h4 {
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: rgba(255,255,255,0.7);
        font-weight: 700;
    }
    .cl-group-title .cl-count {
        font-size: 10px;
        padding: 1px 7px;
        border-radius: 999px;
        background: rgba(255,255,255,0.06);
        color: rgba(255,255,255,0.55);
        font-weight: 600;
    }
    .cl-group-title .cl-rule {
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
    }

    .cl-entry {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        align-items: start;
    }
    .cl-entry:last-child { border-bottom: none; }
    .cl-entry-plat {
        display: flex;
        gap: 3px;
        flex-wrap: wrap;
        padding-top: 2px;
    }
    .cl-plat {
        font-size: 8px;
        letter-spacing: 0.06em;
        padding: 2px 5px;
        border-radius: 3px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.06);
        color: rgba(255,255,255,0.55);
        font-weight: 600;
        text-transform: uppercase;
    }
    .cl-entry-text {
        font-size: 13px;
        line-height: 1.55;
        color: rgba(255,255,255,0.75);
    }
    .cl-entry-text code {
        font-family: 'JetBrains Mono', ui-monospace, monospace;
        font-size: 11.5px;
        background: rgba(255,255,255,0.06);
        color: #fff;
        padding: 1px 5px;
        border-radius: 4px;
        border: 1px solid rgba(255,255,255,0.06);
    }
    .cl-entry-text b {
        color: #fff;
        font-weight: 600;
    }

    @media (max-width: 820px) {
        .cl-meta-bar { grid-template-columns: repeat(2, 1fr); }
        .cl-meta-item:nth-child(2) { border-right: none; }
        .cl-meta-item:nth-child(1), .cl-meta-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.05); }
        .cl-body { grid-template-columns: 1fr; }
        .cl-versions {
            display: flex;
            flex-direction: row;
            border-right: none;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            overflow-x: auto;
            max-height: none;
        }
        .cl-vtab {
            min-width: 200px;
            border-bottom: none;
            border-right: 1px solid rgba(255,255,255,0.04);
        }
        .cl-vtab.active::before {
            top: auto; bottom: 0; left: 12px; right: 12px;
            width: auto; height: 2px;
        }
        .cl-content { padding: 24px 20px; max-height: none; }
        .cl-info-row { grid-template-columns: repeat(2, 1fr); }
        .cl-entry { grid-template-columns: 1fr; gap: 6px; }
    }


 .cmp-wrap {
        max-width: 980px;
        margin: 0 auto;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;
        background:
            radial-gradient(circle at top right, rgba(255,255,255,0.04), transparent 45%),
            linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
    }

    /* DESKTOP TABLE */
    .cmp-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }
    .cmp-table th, .cmp-table td {
        padding: 12px 16px;
        text-align: left;
        vertical-align: middle;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .cmp-table tr:last-child td { border-bottom: none; }

    /* Header row */
    .cmp-table thead th {
        padding: 14px 16px;
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: rgba(255,255,255,0.4);
        font-weight: 600;
        background: rgba(255,255,255,0.015);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .cmp-th-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255,255,255,0.75) !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 13px !important;
        text-transform: none !important;
        letter-spacing: -0.005em !important;
        font-weight: 600 !important;
    }
    .cmp-brand-logo {
        width: 22px; height: 22px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: 'Outfit', sans-serif;
        font-size: 11px;
        font-weight: 700;
        flex-shrink: 0;
    }
    .cmp-logo-solara { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); }
    .cmp-logo-wave { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); }
    .cmp-logo-xeno {
        background: linear-gradient(180deg, #fff, #d0d0d0);
        color: #000;
        box-shadow: 0 0 12px rgba(255,255,255,0.35);
    }

    .cmp-col-xeno {
        background: rgba(255,255,255,0.028);
        position: relative;
    }
    .cmp-col-xeno::before,
    .cmp-col-xeno::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
    }
    .cmp-col-xeno::before { left: 0; }
    .cmp-col-xeno::after { right: 0; }
    .cmp-th-xeno { color: #fff !important; position: relative; }
    .cmp-th-xeno-glow {
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 1px;
        background: #fff;
        box-shadow: 0 0 14px rgba(255,255,255,0.7);
    }

    /* Feature cell */
    .cmp-feat {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .cmp-feat-icon {
        width: 26px; height: 26px;
        border-radius: 7px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.55);
        flex-shrink: 0;
    }
    .cmp-feat-icon svg { width: 13px; height: 13px; }
    .cmp-feat-txt {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .cmp-feat-name {
        color: #fff;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: -0.005em;
    }
    .cmp-feat-note {
        font-size: 10.5px;
        color: rgba(255,255,255,0.4);
        line-height: 1.3;
    }

    /* Value cells */
    .cmp-val {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .cmp-val-top {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;
        line-height: 1.2;
    }
    .cmp-val-sub {
        font-size: 10.5px;
        color: rgba(255,255,255,0.35);
        line-height: 1.3;
        padding-left: 21px;
    }
    .cmp-val-neg .cmp-val-top { color: rgba(255,255,255,0.45); }
    .cmp-val-mid .cmp-val-top { color: rgba(255,255,255,0.72); }
    .cmp-val-pos .cmp-val-top { color: #fff; font-weight: 600; }

    .cmp-i-cross { color: #f87171; width: 14px; height: 14px; flex-shrink: 0; }
    .cmp-i-dash  { color: rgba(255,255,255,0.4); width: 14px; height: 14px; flex-shrink: 0; }
    .cmp-i-check { color: #4ade80; width: 14px; height: 14px; flex-shrink: 0; }

    .cmp-badge {
        display: inline-block;
        font-size: 8.5px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 4px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        margin-left: 4px;
    }

    /* Footer summary strip */
    .cmp-foot {
        display: grid;
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
        border-top: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.015);
    }
    .cmp-foot-cell {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 3px;
        border-left: 1px solid rgba(255,255,255,0.04);
    }
    .cmp-foot-cell:first-child { border-left: none; }
    .cmp-foot-label {
        font-size: 9px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.35);
        font-weight: 600;
    }
    .cmp-foot-value {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        color: #fff;
        font-size: 15px;
    }
    .cmp-foot-cell.is-xeno {
        background: rgba(255,255,255,0.03);
        position: relative;
    }
    .cmp-foot-cell.is-xeno::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 1px;
        background: rgba(255,255,255,0.4);
        box-shadow: 0 0 10px rgba(255,255,255,0.4);
    }

    /* MOBILE — stacked cards */
    .cmp-mobile { display: none; }

    @media (max-width: 780px) {
        .cmp-table, .cmp-foot { display: none; }
        .cmp-mobile {
            display: flex;
            flex-direction: column;
            padding: 14px;
            gap: 12px;
        }
        .cmp-m-header {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 6px;
            padding: 10px 12px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            position: sticky;
            top: 0px;
            z-index: 5;
            backdrop-filter: blur(10px);
            background: rgba(8,8,8,0.85);
        }
        .cmp-m-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-family: 'Outfit', sans-serif;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255,255,255,0.5);
        }
        .cmp-m-brand.is-xeno { color: #fff; }
        .cmp-m-brand .cmp-brand-logo {
            width: 18px; height: 18px;
            font-size: 10px;
            border-radius: 5px;
        }

        .cmp-m-card {
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
            overflow: hidden;
        }
        .cmp-m-card-head {
            padding: 12px 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            background: rgba(255,255,255,0.01);
        }
        .cmp-m-card-head .cmp-feat-icon { width: 24px; height: 24px; }
        .cmp-m-body { display: grid; }
        .cmp-m-row {
            padding: 10px 14px;
            display: grid;
            grid-template-columns: 70px 1fr;
            gap: 10px;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }
        .cmp-m-row:last-child { border-bottom: none; }
        .cmp-m-row.is-xeno {
            background: rgba(255,255,255,0.025);
        }
        .cmp-m-row-label {
            font-size: 10px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.4);
            font-weight: 600;
        }
        .cmp-m-row.is-xeno .cmp-m-row-label {
            color: #fff;
        }
    }


 .ts-wrap {
        max-width: 1080px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 20px;
    }

    /* ===== LEFT COLUMN ===== */
    .ts-side {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: sticky;
        top: 100px;
        align-self: start;
    }

    /* Category filter */
    .ts-cats {
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        background:
            radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 60%),
            linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
        overflow: hidden;
    }
    .ts-cats-head {
        padding: 14px 18px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .ts-cats-title {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: rgba(255,255,255,0.5);
        font-weight: 600;
    }
    .ts-cats-list { padding: 6px; }
    .ts-cat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
        color: rgba(255,255,255,0.65);
        font-size: 13px;
        border: 1px solid transparent;
    }
    .ts-cat:hover {
        background: rgba(255,255,255,0.03);
        color: #fff;
    }
    .ts-cat.active {
        background: rgba(255,255,255,0.06);
        color: #fff;
        border-color: rgba(255,255,255,0.1);
    }
    .ts-cat-left {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .ts-cat-ico {
        width: 22px; height: 22px;
        border-radius: 6px;
        background: rgba(255,255,255,0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.6);
        flex-shrink: 0;
    }
    .ts-cat.active .ts-cat-ico {
        background: #fff;
        color: #000;
    }
    .ts-cat-ico svg { width: 12px; height: 12px; }
    .ts-cat-count {
        font-size: 10.5px;
        color: rgba(255,255,255,0.4);
        font-weight: 600;
        background: rgba(255,255,255,0.05);
        padding: 2px 7px;
        border-radius: 999px;
        min-width: 22px;
        text-align: center;
    }
    .ts-cat.active .ts-cat-count {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    /* System status */
    .ts-stat {
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
        overflow: hidden;
    }
    .ts-stat-head {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .ts-stat-title {
        font-family: 'Outfit', sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        color: rgba(255,255,255,0.5);
        font-weight: 600;
    }
    .ts-stat-live {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 9px;
        color: rgba(255,255,255,0.5);
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-weight: 600;
    }
    .ts-live-dot {
        width: 6px; height: 6px;
        border-radius: 50%;
        background: #4ade80;
        box-shadow: 0 0 8px #4ade80;
        animation: tsPulse 1.8s infinite;
    }
    @keyframes tsPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

    .ts-stat-list { padding: 4px 0; }
    .ts-stat-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.02);
        font-size: 12px;
    }
    .ts-stat-row:last-child { border-bottom: none; }
    .ts-stat-name {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255,255,255,0.7);
    }
    .ts-stat-name svg { width: 12px; height: 12px; color: rgba(255,255,255,0.4); }
    .ts-stat-val {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 600;
    }
    .ts-dot-ok { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
    .ts-dot-warn { width: 6px; height: 6px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
    .ts-dot-err  { width: 6px; height: 6px; border-radius: 50%; background: #f87171; box-shadow: 0 0 6px #f87171; }
    .ts-stat-val.ok   { color: #4ade80; }
    .ts-stat-val.warn { color: #fbbf24; }
    .ts-stat-val.err  { color: #f87171; }

    .ts-stat-foot {
        padding: 12px 16px;
        border-top: 1px solid rgba(255,255,255,0.05);
        background: rgba(255,255,255,0.015);
        font-size: 11px;
        color: rgba(255,255,255,0.45);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .ts-stat-foot b { color: #fff; font-weight: 600; }

    /* ===== RIGHT COLUMN ===== */
    .ts-panel {
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        background:
            radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 45%),
            linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
        overflow: hidden;
    }
    .ts-panel-head {
        padding: 16px 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.015);
    }
    .ts-panel-title {
        font-family: 'Outfit', sans-serif;
        font-size: 13px;
        color: #fff;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ts-panel-title-tag {
        font-size: 9px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.4);
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
    }
    .ts-search-hint {
        font-size: 11px;
        color: rgba(255,255,255,0.35);
        font-family: 'JetBrains Mono', ui-monospace, monospace;
    }
    .ts-search-hint kbd {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 4px;
        padding: 1px 5px;
        font-size: 10px;
        color: rgba(255,255,255,0.6);
    }

    .ts-list { padding: 8px; }

    /* Accordion item */
    .ts-item {
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 10px;
        margin-bottom: 6px;
        background: rgba(255,255,255,0.012);
        transition: border-color 0.2s ease, background 0.2s ease;
    }
    .ts-item:hover {
        border-color: rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.02);
    }
    .ts-item.open {
        border-color: rgba(255,255,255,0.14);
        background: rgba(255,255,255,0.03);
    }
    .ts-item.hidden { display: none; }

    .ts-btn {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        text-align: left;
    }
    .ts-num {
        font-family: 'JetBrains Mono', ui-monospace, monospace;
        font-size: 11px;
        color: rgba(255,255,255,0.35);
        font-weight: 500;
        letter-spacing: 0.02em;
    }
    .ts-btn-mid {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    .ts-btn-ico {
        width: 30px; height: 30px;
        border-radius: 8px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.6);
        flex-shrink: 0;
    }
    .ts-item.open .ts-btn-ico {
        background: rgba(255,255,255,0.08);
        color: #fff;
        border-color: rgba(255,255,255,0.15);
    }
    .ts-btn-ico svg { width: 14px; height: 14px; }
    .ts-btn-txt {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    .ts-btn-title {
        font-family: 'Outfit', sans-serif;
        font-size: 13.5px;
        color: #fff;
        font-weight: 500;
        line-height: 1.2;
    }
    .ts-btn-meta {
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }
    .ts-badge {
        font-size: 8.5px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 4px;
        line-height: 1.3;
    }
    .ts-b-common { background: rgba(74,222,128,0.08); color: #4ade80; border: 1px solid rgba(74,222,128,0.18); }
    .ts-b-rare   { background: rgba(96,165,250,0.08); color: #60a5fa; border: 1px solid rgba(96,165,250,0.18); }
    .ts-b-critical { background: rgba(248,113,113,0.08); color: #f87171; border: 1px solid rgba(248,113,113,0.18); }
    .ts-b-plat {
        background: rgba(255,255,255,0.04);
        color: rgba(255,255,255,0.55);
        border: 1px solid rgba(255,255,255,0.06);
        font-weight: 600;
    }

    .ts-btn-caret {
        width: 22px; height: 22px;
        border-radius: 6px;
        background: rgba(255,255,255,0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.5);
        flex-shrink: 0;
        transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    }
    .ts-item.open .ts-btn-caret {
        transform: rotate(180deg);
        background: #fff;
        color: #000;
    }
    .ts-btn-caret svg { width: 12px; height: 12px; }

    /* Body */
    .ts-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .ts-item.open .ts-body { max-height: 800px; }
    .ts-body-inner {
        padding: 4px 16px 16px 16px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 14px;
    }
    .ts-body-side {
        width: 1px;
        background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
        margin-left: 15px;
    }
    .ts-body-content { padding-top: 4px; }
    .ts-diag {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        padding: 8px 12px;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 8px;
        margin-bottom: 14px;
    }
    .ts-diag-item {
        font-size: 10.5px;
        color: rgba(255,255,255,0.55);
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .ts-diag-item b { color: #fff; font-weight: 600; }
    .ts-diag-item::before {
        content: '';
        width: 3px; height: 3px;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
    }
    .ts-diag-item:first-child::before { display: none; }

    .ts-steps {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .ts-step {
        display: grid;
        grid-template-columns: 22px 1fr;
        gap: 12px;
        align-items: start;
    }
    .ts-step-num {
        width: 22px; height: 22px;
        border-radius: 6px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'JetBrains Mono', ui-monospace, monospace;
        font-size: 10px;
        color: #fff;
        font-weight: 600;
        flex-shrink: 0;
    }
    .ts-step-txt {
        font-size: 12.5px;
        line-height: 1.55;
        color: rgba(255,255,255,0.72);
        padding-top: 3px;
    }
    .ts-step-txt code {
        font-family: 'JetBrains Mono', ui-monospace, monospace;
        font-size: 11px;
        padding: 1px 5px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 4px;
        color: #fff;
    }
    .ts-step-txt b { color: #fff; font-weight: 600; }

    .ts-tail {
        margin-top: 14px;
        padding: 10px 12px;
        border-radius: 8px;
        background: rgba(255,255,255,0.02);
        border-left: 2px solid rgba(255,255,255,0.4);
        font-size: 11.5px;
        line-height: 1.55;
        color: rgba(255,255,255,0.55);
    }
    .ts-tail b { color: #fff; font-weight: 600; }

    /* ==================== TABLET (900px) ==================== */
    @media (max-width: 900px) {
        .ts-wrap {
            grid-template-columns: 1fr;
            gap: 14px;
        }
        .ts-side {
            position: static;
            display: contents;
        }

        /* Categories → order 1 (top) */
        .ts-cats {
            order: 1;
            border-radius: 12px;
        }
        .ts-cats-head {
            padding: 10px 14px 8px;
        }
        .ts-cats-list {
            display: flex;
            gap: 6px;
            padding: 8px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%);
            -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%);
        }
        .ts-cats-list::-webkit-scrollbar { display: none; }
        .ts-cat {
            flex-shrink: 0;
            padding: 8px 12px;
            font-size: 12px;
            gap: 8px;
            scroll-snap-align: start;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .ts-cat-ico { width: 18px; height: 18px; border-radius: 5px; }
        .ts-cat-ico svg { width: 10px; height: 10px; }
        .ts-cat-count {
            font-size: 10px;
            padding: 1px 6px;
            min-width: 18px;
        }

        /* Issues panel → order 2 (middle) */
        .ts-panel {
            order: 2;
            border-radius: 12px;
        }
        .ts-panel-head {
            padding: 12px 14px;
        }
        .ts-panel-title {
            font-size: 12px;
            gap: 8px;
        }
        .ts-panel-title-tag {
            font-size: 8.5px;
            padding: 2px 7px;
        }
        .ts-search-hint { display: none; }
        .ts-list { padding: 6px; }

        /* Accordion buttons */
        .ts-item {
            border-radius: 10px;
            margin-bottom: 5px;
        }
        .ts-btn {
            grid-template-columns: 1fr auto;
            padding: 11px 12px;
            gap: 10px;
        }
        .ts-num {
            display: none;
        }
        .ts-btn-mid {
            gap: 10px;
            min-width: 0;
        }
        .ts-btn-ico {
            width: 28px;
            height: 28px;
            border-radius: 7px;
        }
        .ts-btn-ico svg { width: 13px; height: 13px; }
        .ts-btn-txt {
            gap: 6px;
            min-width: 0;
            flex: 1;
        }
        .ts-btn-title {
            font-size: 13px;
            line-height: 1.3;
            /* allow wrapping onto two lines cleanly */
            word-break: break-word;
        }
        .ts-btn-meta {
            gap: 4px;
        }
        .ts-badge {
            font-size: 8px;
            padding: 2px 5px;
            letter-spacing: 0.06em;
        }
        .ts-btn-caret {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            align-self: center;
        }

        /* Body content */
        .ts-body-inner {
            padding: 2px 12px 14px 12px;
            grid-template-columns: 1fr;
            gap: 0;
        }
        .ts-body-side { display: none; }
        .ts-diag {
            padding: 8px 10px;
            gap: 6px 10px;
            margin-bottom: 12px;
            border-radius: 7px;
        }
        .ts-diag-item {
            font-size: 10.5px;
            /* remove the leading dot on mobile to save space, use flex-wrap gap instead */
        }
        .ts-diag-item::before { display: none; }
        .ts-diag-item + .ts-diag-item::before {
            display: inline-block;
            content: '';
            width: 3px; height: 3px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
        }
        .ts-steps { gap: 9px; }
        .ts-step {
            grid-template-columns: 20px 1fr;
            gap: 10px;
        }
        .ts-step-num {
            width: 20px; height: 20px;
            font-size: 9.5px;
            border-radius: 5px;
        }
        .ts-step-txt {
            font-size: 12.5px;
            line-height: 1.5;
            padding-top: 2px;
        }
        .ts-step-txt code {
            font-size: 10.5px;
            word-break: break-word;
            display: inline-block;
            max-width: 100%;
            padding: 1px 4px;
        }
        .ts-tail {
            margin-top: 12px;
            padding: 9px 11px;
            font-size: 11px;
            line-height: 1.5;
            border-radius: 7px;
        }

        /* System status → order 3 (bottom, collapsible feel) */
        .ts-stat {
            order: 3;
            border-radius: 12px;
        }
        .ts-stat-head { padding: 10px 14px; }
        .ts-stat-title { font-size: 9.5px; }
        .ts-stat-live { font-size: 8.5px; }
        .ts-stat-row {
            padding: 8px 14px;
            font-size: 11.5px;
        }
        .ts-stat-name svg { width: 11px; height: 11px; }
        .ts-stat-val { font-size: 10.5px; }
        .ts-stat-foot {
            padding: 10px 14px;
            font-size: 10.5px;
        }
    }

    /* ==================== PHONE (560px) — tighter still ==================== */
    @media (max-width: 560px) {
        #troubleshooting {
            padding-top: 44px;
            padding-bottom: 44px;
        }
        #troubleshooting > .w-full {
            padding-left: 12px;
            padding-right: 12px;
        }
        .ts-wrap { gap: 12px; }

        /* Header text smaller on phone */
        #troubleshooting h2 { font-size: 24px !important; margin-bottom: 10px; }
        #troubleshooting > .w-full > .mb-10 > p { font-size: 12.5px; line-height: 1.55; }
        #troubleshooting > .w-full > .mb-10 { margin-bottom: 24px; }

        .ts-panel-head {
            padding: 11px 12px;
        }
        .ts-panel-title { font-size: 11.5px; }
        .ts-panel-title-tag { font-size: 8px; padding: 2px 6px; }

        .ts-btn {
            padding: 10px 11px;
            gap: 9px;
        }
        .ts-btn-mid { gap: 9px; }
        .ts-btn-ico { width: 26px; height: 26px; }
        .ts-btn-ico svg { width: 12px; height: 12px; }
        .ts-btn-title {
            font-size: 12.5px;
            line-height: 1.3;
            /* clamp to 3 lines to prevent super-long titles from breaking layout */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .ts-item.open .ts-btn-title {
            -webkit-line-clamp: unset;
            overflow: visible;
        }
        .ts-btn-caret {
            width: 22px;
            height: 22px;
        }
        .ts-btn-caret svg { width: 11px; height: 11px; }

        .ts-body-inner {
            padding: 0 11px 12px 11px;
        }
        .ts-step-txt { font-size: 12px; }
        .ts-tail { font-size: 10.5px; }

        /* Categories: even tighter pills */
        .ts-cat {
            padding: 7px 10px;
            font-size: 11.5px;
            gap: 7px;
        }
        .ts-cat-ico { width: 16px; height: 16px; }
        .ts-cat-ico svg { width: 9px; height: 9px; }
        .ts-cat-count { font-size: 9.5px; padding: 1px 5px; min-width: 16px; }

        /* System status compact */
        .ts-stat-row { padding: 7px 12px; font-size: 11px; }
        .ts-stat-name { gap: 6px; }
        .ts-stat-val { font-size: 10px; }
        .ts-dot-ok, .ts-dot-warn, .ts-dot-err {
            width: 5px; height: 5px;
        }
    }
