/* Custom UI Tweaks */
    body { font-family: 'Space Grotesk', sans-serif; }
    .glow-hover:hover { box-shadow: 0 0 15px rgba(14, 165, 233, 0.6); }
    .glass-badge { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

    /* Bigger Grid & Adjusted Spotlight */
    .bg-grid {
        background-size: 80px 80px;
        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 30%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    }
    .spotlight {
        background: radial-gradient(circle at 0% 0%, rgba(48, 48, 48, 0.8) 0%, transparent 50%);
    }

    /* Glitch Effect */
    .glitch-wrapper { position: relative; }
    .glitch { position: relative; color: white; }
    .glitch::before, .glitch::after {
        content: attr(data-text); position: absolute; top: 0; left: 0;
        width: 100%; height: 100%; opacity: 0.8;
    }
    .glitch::before {
        left: 2px; text-shadow: -1px 0 #ffffff; clip-path: inset(24px 0 15px 0);
        animation: glitch-anim-1 2s infinite linear alternate-reverse;
    }
    .glitch::after {
        left: -2px; text-shadow: -1px 0 #888888; clip-path: inset(8px 0 35px 0);
        animation: glitch-anim-2 3s infinite linear alternate-reverse;
    }
    @keyframes glitch-anim-1 {
        0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); }
        20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
        40% { clip-path: inset(40% 0 50% 0); transform: translate(1px, 2px); }
        60% { clip-path: inset(80% 0 5% 0); transform: translate(-1px, -2px); }
        80% { clip-path: inset(10% 0 70% 0); transform: translate(2px, 1px); }
        100% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, -1px); }
    }
    @keyframes glitch-anim-2 {
        0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, -1px); }
        20% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 1px); }
        40% { clip-path: inset(30% 0 40% 0); transform: translate(1px, -2px); }
        60% { clip-path: inset(50% 0 20% 0); transform: translate(-1px, 2px); }
        80% { clip-path: inset(5% 0 80% 0); transform: translate(2px, -1px); }
        100% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, 1px); }
    }

    .cursor::after { content: '|'; animation: blink 1s step-start infinite; color: #0EA5E9; }
    @keyframes blink { 50% { opacity: 0; } }

    .code-row {
        opacity: 0;
        transform: translateX(-5px);
        animation: fadeSlideRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    @keyframes fadeSlideRight { to { opacity: 1; transform: translateX(0); } }

    .custom-scrollbar::-webkit-scrollbar { width: 8px; }
    .custom-scrollbar::-webkit-scrollbar-track { background: #0a0a0a; }
    .custom-scrollbar::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; border: 2px solid #0a0a0a; }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #555; }

 /* Premium Dashboard Cards */
    .dash-card {
        background: #ffffff;
        border: 1px solid #e4e4e7;
        box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.03);
        transition: all 0.3s ease;
    }
    .dash-card:hover {
        border-color: rgba(14, 165, 233, 0.3);
        box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.08);
        transform: translateY(-2px);
    }

    .pulse-bar {
        width: 3px;
        background: #0EA5E9;
        border-radius: 2px;
        transition: height 0.4s ease;
        opacity: 0.8;
    }

    .sys-bar-track { background: #f4f4f5; border-radius: 4px; height: 4px; overflow: hidden; }
    .sys-bar-fill {
        height: 100%;
        background: #0EA5E9;
        border-radius: 4px;
        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .compile-track { background: #f4f4f5; border-radius: 4px; height: 4px; width: 100%; position: relative; }
    .compile-fill {
        position: absolute; top: 0; left: 0; height: 100%;
        background: #0EA5E9;
        border-radius: 4px;
        animation: loadProgress 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    }
    @keyframes loadProgress { 0% { width: 0%; } 100% { width: 98%; } }

    .area-path {
        stroke-dasharray: 600;
        stroke-dashoffset: 600;
        animation: drawPath 2s ease-out forwards;
    }
    @keyframes drawPath { to { stroke-dashoffset: 0; } }

    .card-number {
        position: absolute;
        right: -5px;
        bottom: -15px;
        font-size: 5rem;
        font-weight: 900;
        color: rgba(244, 244, 245, 0.9);
        z-index: 0;
        pointer-events: none;
        user-select: none;
        line-height: 1;
        letter-spacing: -2px;
    }

    .download-toast {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #e4e4e7;
        border-left: 3px solid #27C93F;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border-radius: 6px;
        padding: 8px 12px;
        font-size: 10px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 8px;
        backdrop-filter: blur(4px);
        width: max-content;
        max-width: 100%;
        animation: slideUpFade 3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
        will-change: transform, opacity;
    }
    @keyframes slideUpFade {
        0% { transform: translateY(20px) scale(0.95); opacity: 0; }
        15% { transform: translateY(0) scale(1); opacity: 1; }
        85% { transform: translateY(0) scale(1); opacity: 1; }
        100% { transform: translateY(-15px) scale(0.95); opacity: 0; }
    }

    .scan-circle-bg { stroke: #f4f4f5; }
    .scan-circle-fill {
        stroke: #22c55e;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        transition: stroke-dashoffset 0.1s linear;
    }

    .scan-files-container {
        height: 40px;
        overflow: hidden;
        position: relative;
        mask-image: linear-gradient(to bottom, transparent, black 40%, black 60%, transparent);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%, black 60%, transparent);
    }
    .scan-files-scroll {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        animation: scrollFiles 3s linear infinite;
    }
    @keyframes scrollFiles {
        100% { top: -100%; }
    }

    .draw-graph {
        stroke-dasharray: 1500;
        stroke-dashoffset: 1500;
        animation: drawGraph 3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }
    @keyframes drawGraph { to { stroke-dashoffset: 0; } }

    .graph-node { opacity: 0; animation: fadeInNode 0.5s ease forwards; }
    .graph-node:nth-child(1) { animation-delay: 0.5s; }
    .graph-node:nth-child(2) { animation-delay: 1.0s; }
    .graph-node:nth-child(3) { animation-delay: 1.5s; }
    .graph-node:nth-child(4) { animation-delay: 2.0s; }
    @keyframes fadeInNode { to { opacity: 1; } }

    .os-btn { transition: all 0.3s ease; }
    .os-btn.active {
        background-color: #ffffff;
        color: #0EA5E9;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        font-weight: 700;
    }

    .scrollbar-hide::-webkit-scrollbar { display: none; }
    .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

    .mac-window { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }

    .v-nav-btn { transition: all 0.2s ease; }
    .v-nav-btn.active {
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        color: #0EA5E9;
        font-weight: 700;
        border-color: #e4e4e7;
    }

    .change-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
    }
    .change-added::before { background-color: #22c55e; }
    .change-fixed::before { background-color: #3b82f6; }
    .change-removed::before { background-color: #ef4444; }
    .change-improved::before { background-color: #f59e0b; }

    .faq-btn { transition: all 0.3s ease; }
    .faq-btn:hover { background-color: #fafafa; }
    .faq-btn[aria-expanded="true"] {
        background-color: #fafafa;
        color: #0EA5E9;
    }
    .faq-btn[aria-expanded="true"] svg {
        transform: rotate(180deg);
        color: #0EA5E9;
    }
    .faq-content {
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
    }
    .faq-content.open { opacity: 1; }

    /* Troubleshooting-only styles */
    .ts-nav-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        color: #52525b;
        border: 1px solid transparent;
        transition: all 0.2s ease;
        text-align: left;
    }
    .ts-nav-btn:hover { background: #f4f4f5; color: #18181b; }
    .ts-nav-btn.active {
        background: #fff;
        color: #0EA5E9;
        border-color: #e4e4e7;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }
    .ts-nav-btn .ts-count {
        font-size: 10px;
        font-weight: 700;
        color: #a1a1aa;
        background: #f4f4f5;
        padding: 1px 6px;
        border-radius: 4px;
        min-width: 22px;
        text-align: center;
    }
    .ts-nav-btn.active .ts-count { background: #E0F2FE; color: #0EA5E9; }

    .ts-status-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 11px;
    }
    .ts-status-dot {
        width: 8px; height: 8px; border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
        position: relative;
    }
    .ts-status-dot.ok { background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,0.15); }
    .ts-status-dot.warn { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245,158,11,0.15); }
    .ts-status-dot.down { background: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,0.15); }
    .ts-status-dot.ok::after {
        content: ''; position: absolute; inset: -4px; border-radius: 50%;
        background: #22c55e; opacity: 0.4;
        animation: tsPulse 2s ease-out infinite;
    }
    @keyframes tsPulse {
        0% { transform: scale(1); opacity: 0.4; }
        100% { transform: scale(2.2); opacity: 0; }
    }

    .ts-item { transition: all 0.3s ease; }
    .ts-item.ts-hidden { display: none; }
    .ts-toggle {
        width: 100%;
        text-align: left;
        padding: 18px 22px;
        display: flex;
        align-items: center;
        gap: 14px;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .ts-toggle:hover { background: #fafafa; }
    .ts-toggle .ts-icon {
        width: 36px; height: 36px;
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .ts-toggle .ts-title {
        flex-grow: 1;
        font-weight: 700;
        color: #18181b;
        font-size: 14px;
    }
    .ts-toggle .ts-chev {
        width: 18px; height: 18px;
        color: #a1a1aa;
        transition: transform 0.3s ease;
    }
    .ts-item.open .ts-toggle .ts-chev { transform: rotate(180deg); color: #0EA5E9; }
    .ts-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .ts-body-inner {
        padding: 4px 22px 22px 72px;
        color: #3f3f46;
        font-size: 13px;
        line-height: 1.65;
    }
    @media (max-width: 640px) {
        .ts-body-inner { padding-left: 22px; }
    }

    .ts-badge {
        display: inline-block;
        font-size: 9px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 4px;
        border: 1px solid;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.5;
    }
    .ts-badge-installation { background: #fef2f2; color: #ef4444; border-color: #fecaca; }
    .ts-badge-attach       { background: #eff6ff; color: #3b82f6; border-color: #bfdbfe; }
    .ts-badge-runtime      { background: #faf5ff; color: #a855f7; border-color: #e9d5ff; }
    .ts-badge-detection    { background: #E0F2FE; color: #0EA5E9; border-color: #BAE6FD; }
    .ts-badge-performance  { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
    .ts-badge-mobile       { background: #f4f4f5; color: #52525b; border-color: #e4e4e7; }

    .ts-body-inner h5 {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #71717a;
        margin: 16px 0 8px 0;
    }
    .ts-body-inner h5:first-child { margin-top: 0; }
    .ts-body-inner p { margin-bottom: 10px; }
    .ts-body-inner ol {
        list-style: none;
        counter-reset: ts-step;
        margin: 8px 0 12px 0;
        padding: 0;
    }
    .ts-body-inner ol li {
        counter-increment: ts-step;
        padding-left: 30px;
        position: relative;
        margin-bottom: 8px;
    }
    .ts-body-inner ol li::before {
        content: counter(ts-step);
        position: absolute;
        left: 0; top: 1px;
        width: 20px; height: 20px;
        border-radius: 50%;
        background: #0EA5E9;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        display: flex; align-items: center; justify-content: center;
    }
    .ts-body-inner code {
        background: #f4f4f5;
        border: 1px solid #e4e4e7;
        padding: 1px 6px;
        border-radius: 4px;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 12px;
        color: #dc2626;
    }
    .ts-code {
        background: #0f0f0f;
        border: 1px solid #262626;
        border-radius: 8px;
        padding: 12px 14px;
        margin: 10px 0 14px 0;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 12px;
        color: #d4d4d8;
        overflow-x: auto;
        position: relative;
    }
    .ts-code .ts-code-label {
        position: absolute;
        top: -8px; left: 12px;
        background: #0EA5E9;
        color: #fff;
        font-size: 8px;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 3px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-family: 'Space Grotesk', sans-serif;
    }
    .ts-code .prompt { color: #0EA5E9; user-select: none; }
    .ts-code .kw { color: #569cd6; }
    .ts-code .str { color: #ce9178; }
    .ts-code .fn { color: #dcdcaa; }
    .ts-code .cmt { color: #6a9955; }
    .ts-code .num { color: #b5cea8; }

    .ts-callout {
        background: #fffbeb;
        border-left: 3px solid #f59e0b;
        border-radius: 6px;
        padding: 10px 14px;
        margin: 12px 0;
        font-size: 12px;
        color: #78350f;
    }
    .ts-callout.tip { background: #f0f9ff; border-color: #3b82f6; color: #1e3a8a; }
    .ts-callout strong { color: inherit; }

    /* === TOC / jump links === */
    .toc-card {
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        border: 1px solid #e4e4e7;
        border-radius: 12px;
        padding: 20px 24px;
    }
    .toc-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 13px;
        color: #52525b;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    .toc-link:hover { background: #E0F2FE; color: #0EA5E9; }
    .toc-link .toc-num {
        font-size: 10px;
        font-weight: 800;
        color: #a1a1aa;
        font-family: ui-monospace, monospace;
        min-width: 18px;
    }

    /* === App info table === */
    .app-info-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }
    .app-info-table th,
    .app-info-table td {
        padding: 10px 14px;
        text-align: left;
        border-bottom: 1px solid #f4f4f5;
    }
    .app-info-table th {
        color: #71717a;
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: 35%;
        background: #fafafa;
    }
    .app-info-table td { color: #18181b; font-weight: 500; }
    .app-info-table tr:last-child th,
    .app-info-table tr:last-child td { border-bottom: none; }

    /* === Vs alternatives table === */
    .vs-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }
    .vs-table th {
        background: #fafafa;
        color: #52525b;
        font-weight: 700;
        padding: 12px 14px;
        text-align: left;
        border-bottom: 2px solid #e4e4e7;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .vs-table td {
        padding: 12px 14px;
        border-bottom: 1px solid #f4f4f5;
        color: #3f3f46;
    }
    .vs-table .vs-brand { font-weight: 700; color: #18181b; }
    .vs-table .vs-yes { color: #16a34a; font-weight: 700; }
    .vs-table .vs-no  { color: #ef4444; font-weight: 700; }
    .vs-table .vs-partial { color: #f59e0b; font-weight: 700; }

    /* === Pros/Cons grid === */
    .pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }
    .pc-box {
        padding: 20px 22px;
        border-radius: 12px;
        border: 1px solid;
    }
    .pc-pros { background: #f0fdf4; border-color: #bbf7d0; }
    .pc-cons { background: #fef2f2; border-color: #fecaca; }
    .pc-box h4 {
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .pc-pros h4 { color: #15803d; }
    .pc-cons h4 { color: #b91c1c; }
    .pc-box ul { list-style: none; padding: 0; margin: 0; }
    .pc-box li {
        position: relative;
        padding-left: 22px;
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 8px;
        color: #3f3f46;
    }
    .pc-pros li::before {
        content: '+';
        position: absolute;
        left: 0; top: 0;
        width: 16px; height: 16px;
        background: #22c55e;
        color: #fff;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pc-cons li::before {
        content: '−';
        position: absolute;
        left: 0; top: 0;
        width: 16px; height: 16px;
        background: #ef4444;
        color: #fff;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* === Reviews / Rating === */
    .rating-summary {
        display: grid;
        grid-template-columns: minmax(220px, 300px) 1fr;
        gap: 32px;
        align-items: center;
    }
    @media (max-width: 768px) { .rating-summary { grid-template-columns: 1fr; } }

    .rating-big {
        text-align: center;
        padding: 24px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border-radius: 14px;
        border: 1px solid #fcd34d;
    }
    .rating-big .rating-score {
        font-size: 56px;
        font-weight: 900;
        color: #92400e;
        line-height: 1;
        letter-spacing: -0.03em;
    }
    .rating-big .rating-max { color: #a16207; font-weight: 600; }
    .rating-big .rating-stars {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin: 8px 0;
    }
    .rating-big .rating-stars svg { width: 20px; height: 20px; color: #f59e0b; }
    .rating-big .rating-count {
        font-size: 12px;
        color: #78350f;
        font-weight: 600;
    }

    .rating-bars { display: flex; flex-direction: column; gap: 6px; }
    .rating-bar-row {
        display: grid;
        grid-template-columns: 40px 1fr 60px;
        gap: 10px;
        align-items: center;
        font-size: 12px;
    }
    .rating-bar-row .rbr-label { color: #52525b; font-weight: 600; }
    .rating-bar-row .rbr-count { color: #a1a1aa; text-align: right; font-family: ui-monospace, monospace; }
    .rating-bar-track {
        background: #f4f4f5;
        height: 8px;
        border-radius: 4px;
        overflow: hidden;
    }
    .rating-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
        border-radius: 4px;
    }

    /* review card */
    .review-card {
        background: #fff;
        border: 1px solid #e4e4e7;
        border-radius: 12px;
        padding: 18px 20px;
        transition: all 0.3s ease;
    }
    .review-card:hover {
        border-color: rgba(14, 165, 233, 0.3);
        box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.08);
    }
    .review-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }
    .review-avatar {
        width: 40px; height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 800;
        font-size: 14px;
        flex-shrink: 0;
    }
    .review-meta { flex-grow: 1; min-width: 0; }
    .review-author { font-weight: 700; color: #18181b; font-size: 13px; }
    .review-date { font-size: 11px; color: #a1a1aa; font-family: ui-monospace, monospace; }
    .review-stars { display: flex; gap: 1px; }
    .review-stars svg { width: 13px; height: 13px; color: #f59e0b; }
    .review-stars svg.empty { color: #e4e4e7; }
    .review-title {
        font-weight: 700;
        color: #18181b;
        font-size: 13px;
        margin-bottom: 4px;
    }
    .review-body {
        font-size: 13px;
        color: #52525b;
        line-height: 1.6;
    }
    .review-platform {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #71717a;
        background: #f4f4f5;
        padding: 2px 7px;
        border-radius: 4px;
        margin-top: 10px;
    }

    /* === Rate it form (star-rating-control) === */
    .rate-box {
        background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
        border: 1px solid #BAE6FD;
        border-radius: 14px;
        padding: 24px 26px;
    }
    .rate-box h4 {
        font-size: 16px;
        font-weight: 800;
        color: #0c4a6e;
        margin-bottom: 4px;
    }
    .rate-box .rate-sub {
        font-size: 12px;
        color: #075985;
        margin-bottom: 14px;
    }
    .bsf-sr-only {
        position: absolute !important;
        width: 1px; height: 1px;
        padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0,0,0,0);
        white-space: nowrap; border: 0;
    }
    .star-rating-control {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 14px;
        background: #fff;
        border: 1px solid #e4e4e7;
        border-radius: 10px;
        margin-bottom: 12px;
        position: relative;
    }
    .star-rating-control .star-rating {
        cursor: pointer;
        width: 26px; height: 26px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e4e4e7'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>") no-repeat center / contain;
        transition: background-image 0.15s ease;
    }
    .star-rating-control .star-rating a {
        display: block; width: 100%; height: 100%;
        text-indent: -9999px; overflow: hidden;
    }
    .star-rating-control:hover .star-rating,
    .star-rating-control .star-rating.hover,
    .star-rating-control .star-rating.selected {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    }
    .star-rating-control:hover .star-rating.after-hover {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e4e4e7'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
    }
    .rating-cancel {
        width: 20px; height: 20px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'><path d='M6 18L18 6M6 6l12 12'/></svg>") no-repeat center / 14px;
        cursor: pointer;
        opacity: 0.5;
        margin-right: 4px;
    }
    .rating-cancel:hover { opacity: 1; }
    .rate-feedback {
        display: inline-block;
        font-size: 12px;
        font-weight: 600;
        color: #0c4a6e;
        margin-left: 10px;
    }
    .rate-submit-btn {
        background: #0EA5E9;
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 13px;
        transition: all 0.2s ease;
    }
    .rate-submit-btn:hover { background: #0284c7; transform: translateY(-1px); }
    .rate-submit-btn:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }

    /* === Comments === */
    .comment-card {
        background: #fff;
        border: 1px solid #e4e4e7;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 10px;
    }
    .comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
    .comment-avatar {
        width: 32px; height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-weight: 800; font-size: 12px;
    }
    .comment-author { font-weight: 700; font-size: 13px; color: #18181b; }
    .comment-date { font-size: 11px; color: #a1a1aa; font-family: ui-monospace, monospace; }
    .comment-body { font-size: 13px; color: #52525b; line-height: 1.6; }

    .comment-form {
        background: #fafafa;
        border: 1px solid #e4e4e7;
        border-radius: 14px;
        padding: 22px 24px;
    }
    .comment-form label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #52525b;
        margin-bottom: 6px;
    }
    .comment-form input,
    .comment-form textarea {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid #e4e4e7;
        border-radius: 8px;
        font-family: inherit;
        font-size: 13px;
        background: #fff;
        color: #18181b;
        transition: border-color 0.2s ease;
    }
    .comment-form input:focus,
    .comment-form textarea:focus {
        outline: none;
        border-color: #0EA5E9;
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    }
    .comment-form textarea { min-height: 100px; resize: vertical; }
    .comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
    @media (max-width: 640px) { .comment-form-row { grid-template-columns: 1fr; } }

    /* === Developer card === */
    .dev-card {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        border: 1px solid #334155;
        border-radius: 16px;
        padding: 24px 28px;
        color: #e2e8f0;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    @media (max-width: 640px) { .dev-card { flex-direction: column; text-align: center; } }
    .dev-avatar {
        width: 70px; height: 70px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
        display: flex; align-items: center; justify-content: center;
        font-weight: 900; font-size: 24px; color: #fff;
        flex-shrink: 0;
    }
    .dev-name { font-size: 18px; font-weight: 800; color: #f1f5f9; margin-bottom: 2px; }
    .dev-role { font-size: 12px; color: #94a3b8; margin-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
    .dev-bio { font-size: 13px; line-height: 1.6; color: #cbd5e1; margin-bottom: 10px; }
    .dev-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(14, 165, 233, 0.15);
        border: 1px solid rgba(14, 165, 233, 0.4);
        color: #38BDF8;
        padding: 5px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        transition: all 0.2s ease;
    }
    .dev-link:hover { background: rgba(14, 165, 233, 0.25); transform: translateY(-1px); }

    /* === External safety audit links === */
    .audit-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 11px;
        background: #fff;
        border: 1px solid #e4e4e7;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 700;
        color: #52525b;
        transition: all 0.2s ease;
    }
    .audit-link:hover {
        border-color: #22c55e;
        color: #15803d;
        background: #f0fdf4;
        transform: translateY(-1px);
    }
    .audit-link.vt:hover { border-color: #3b82f6; color: #1e40af; background: #eff6ff; }