        * { margin: 0; padding: 0; box-sizing: border-box; }
        [hidden] { display: none !important; }
        html {
            overscroll-behavior: none;
        }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f172a;
            min-height: 100vh;
            color: #1f2937;
            overscroll-behavior: none;
            overflow-x: hidden;
        }
        html.scroll-locked,
        body.scroll-locked {
            overflow: hidden;
            overscroll-behavior: none;
        }
        body.scroll-locked {
            position: fixed;
            width: 100%;
            left: 0;
            right: 0;
        }
        body.nav-menu-open {
            overflow: hidden;
            overscroll-behavior: none;
        }
        #nav-container {
            position: relative;
            z-index: 1100;
        }
        .marketplace-container { max-width: 1180px; margin: 0 auto; padding: 0 20px 48px; }

        /* Hero */
        .hero {
            text-align: center;
            padding: 48px 20px 40px;
            background:
                radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.35), transparent),
                linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            margin: 0 -20px 32px;
        }
        .hero-eyebrow {
            display: inline-block;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #93c5fd;
            background: rgba(59, 130, 246, 0.15);
            border: 1px solid rgba(147, 197, 253, 0.25);
            border-radius: 999px;
            padding: 6px 14px;
            margin-bottom: 18px;
        }
        .hero-title {
            color: #fff;
            font-size: clamp(2rem, 4.5vw, 3rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 14px;
            letter-spacing: -0.02em;
        }
        .hero-lead-accent {
            font-style: normal;
            background: linear-gradient(90deg, #34d399, #6ee7b7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }
        .hero-lead {
            color: #cbd5e1;
            font-size: 1.08rem;
            line-height: 1.65;
            max-width: 560px;
            margin: 0 auto 24px;
        }
        .hero-trust {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px 20px;
        }
        .hero-trust span {
            color: #e2e8f0;
            font-size: 0.9rem;
            font-weight: 500;
        }
        .hero-trust span::before {
            content: '✓ ';
            color: #34d399;
            font-weight: 700;
        }
        .hero-cta-btn {
            display: inline-block;
            margin-top: 8px;
            padding: 12px 22px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(16,185,129,0.35);
            text-decoration: none;
        }
        .hero-cta-btn:hover { transform: translateY(-1px); }
        .hero-cta-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 12px;
        }
        .hero-cta-btn--secondary {
            background: transparent;
            color: #e2e8f0;
            border: 1px solid rgba(148, 163, 184, 0.45);
            box-shadow: none;
            text-decoration: none;
        }
        .hero-cta-btn--secondary:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(148, 163, 184, 0.65);
            text-decoration: none;
        }
        .hero-cta-btn--secondary:focus,
        .hero-cta-btn--secondary:visited {
            color: #e2e8f0;
            text-decoration: none;
        }

        /* Catalog section */
        .catalog-section {
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
            border-radius: 20px;
            padding: 28px 24px 32px;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 24px 48px rgba(0,0,0,0.25);
        }
        .catalog-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 20px;
        }
        .catalog-header h2 {
            color: #f8fafc;
            font-size: 1.35rem;
            font-weight: 700;
        }
        .catalog-header p {
            color: #94a3b8;
            font-size: 0.9rem;
            margin-top: 4px;
        }

        .filters {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
        }
        .filter-row {
            display: grid;
            grid-template-columns: 1.2fr repeat(3, 1fr);
            gap: 10px;
        }
        .filter-input, .filter-select {
            width: 100%;
            border: 1px solid #334155;
            border-radius: 10px;
            padding: 11px 13px;
            font-size: 0.95rem;
            background: #0f172a;
            color: #f1f5f9;
        }
        .filter-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }
        .filter-chip {
            padding: 7px 14px;
            border-radius: 999px;
            border: 1px solid #334155;
            background: #0f172a;
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
        }
        .filter-chip:hover {
            border-color: #475569;
            color: #f8fafc;
        }
        .filter-chip.is-active {
            background: #1d4ed8;
            border-color: #3b82f6;
            color: #fff;
        }
        .checkout-toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10002;
            max-width: min(420px, calc(100vw - 32px));
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #991b1b;
            padding: 14px 18px;
            border-radius: 12px;
            font-size: 0.92rem;
            box-shadow: 0 12px 32px rgba(0,0,0,0.2);
        }
        .checkout-toast[hidden] { display: none; }
        .tool-detail-best-for {
            font-size: 0.9rem;
            color: #1e40af;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.5;
        }
        .tool-detail-featured-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #b45309;
            background: #fef3c7;
            border-radius: 999px;
            padding: 4px 10px;
            margin-bottom: 8px;
        }
        .tool-card.is-featured {
            border: 1px solid #fbbf24;
            box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.15);
        }
        .tool-card-featured-label {
            font-size: 0.72rem;
            font-weight: 700;
            color: #b45309;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 6px;
        }
        .filter-input::placeholder { color: #64748b; }
        .results-meta {
            color: #94a3b8;
            font-size: 0.88rem;
            margin-bottom: 16px;
        }
        .tools-grid,
        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }
        .tool-card {
            background: #fff;
            border-radius: 18px;
            padding: 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            text-align: left;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
            min-height: 100%;
        }
        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(0,0,0,0.18);
            border-color: #93c5fd;
        }
        .tool-card-top {
            background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
            padding: 20px 20px 16px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }
        .tool-card .tool-logo {
            width: 60px;
            height: 60px;
            object-fit: contain;
            border-radius: 10px;
            background: #fff;
            border: 1px solid #e2e8f0;
            flex-shrink: 0;
        }
        .tool-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
        .tool-card-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 8px;
        }
        .tool-badge {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 3px 8px;
            border-radius: 6px;
        }
        .tool-badge--platform { background: #dbeafe; color: #1d4ed8; }
        .tool-badge--type { background: #f1f5f9; color: #475569; }
        .tool-card .tool-name {
            font-size: 1.12rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 8px;
            line-height: 1.35;
        }
        .tool-card .tool-desc {
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 14px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }
        .tool-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: auto;
        }
        .tool-card-price-hint {
            font-size: 0.82rem;
            color: #059669;
            font-weight: 600;
        }
        .tool-badge--free {
            background: #ecfdf5;
            color: #059669;
            border: 1px solid #a7f3d0;
        }
        .tool-badge--legacy {
            background: #fef3c7;
            color: #92400e;
            border: 1px solid #fcd34d;
        }
        .tool-detail-legacy-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #92400e;
            background: #fef3c7;
            border: 1px solid #fcd34d;
            border-radius: 999px;
            padding: 4px 10px;
            margin-bottom: 8px;
        }
        .tool-detail-price.is-free {
            color: #059669;
        }
        .tool-detail-free-email {
            width: 100%;
            margin-top: 10px;
            padding: 10px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 0.92rem;
        }
        .tool-card-footer--stacked {
            flex-direction: column;
            align-items: stretch;
            gap: 4px;
        }
        .tool-card-package {
            margin-bottom: 14px;
            padding: 12px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
        }
        .tool-card-package-label {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            margin-bottom: 10px;
        }
        .tool-card-package-types {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .tool-card-package-type {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            min-width: 58px;
            padding: 8px 6px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            text-align: center;
        }
        .tool-card-package-type.is-primary {
            background: linear-gradient(160deg, #eff6ff 0%, #f0fdf4 100%);
            border-color: #93c5fd;
        }
        .tool-card-package-type .tool-detail-package-icon {
            width: 30px;
            height: 30px;
            border-radius: 8px;
        }
        .tool-card-package-type .tool-detail-package-icon svg {
            width: 16px;
            height: 16px;
        }
        .tool-card-package-type .tool-detail-package-type-ext {
            font-size: 0.74rem;
        }
        .tool-card-package-type .tool-detail-package-type-label {
            font-size: 0.62rem;
            max-width: 72px;
        }
        .buy-btn--card {
            width: 100%;
            padding: 13px 18px;
            font-size: 0.98rem;
            border-radius: 10px;
        }
        .buy-btn--buy-now {
            margin-bottom: 2px;
        }
        .buy-btn:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
        }
        .details-link-btn {
            background: none;
            border: none;
            color: #2563eb;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            padding: 6px 0;
            text-align: center;
            text-decoration: underline;
        }
        .details-link-btn:hover { color: #1d4ed8; }
        .buy-btn {
            display: inline-block;
            width: 100%;
            padding: 15px 28px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 8px 24px rgba(16,185,129,0.35);
        }
        .buy-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(16,185,129,0.45); }
        .buy-btn-sub {
            display: block;
            text-align: center;
            font-size: 0.8rem;
            color: #64748b;
            margin-top: 10px;
        }
        .coming-soon-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(15, 23, 42, 0.65);
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .coming-soon-overlay.is-open { display: flex; }
        .coming-soon-dialog {
            background: #fff;
            border-radius: 16px;
            padding: 32px 28px;
            max-width: 420px;
            width: 100%;
            text-align: center;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
        }
        .coming-soon-dialog h2 {
            font-size: 1.35rem;
            color: #1e40af;
            margin-bottom: 12px;
        }
        .coming-soon-dialog p {
            color: #4b5563;
            line-height: 1.6;
            margin-bottom: 12px;
        }
        .coming-soon-dialog p:last-of-type { margin-bottom: 20px; }
        .coming-soon-dialog a.modal-contact-link {
            color: #1d4ed8;
            font-weight: 600;
            text-decoration: underline;
        }
        .coming-soon-dialog a.modal-contact-link:hover { color: #1e40af; }
        .coming-soon-dialog .modal-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        .coming-soon-dialog .modal-contact-btn {
            display: inline-block;
            padding: 12px 22px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #fff;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
        }
        .coming-soon-dialog .modal-contact-btn:hover { opacity: 0.92; }
        .coming-soon-dialog .modal-close-btn {
            padding: 12px 28px;
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
        }
        .coming-soon-dialog .modal-close-btn:hover { opacity: 0.92; }

        .tool-detail-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(15, 23, 42, 0.65);
            align-items: center;
            justify-content: center;
            padding: 20px;
            overflow: hidden;
            overscroll-behavior: contain;
        }
        .tool-detail-overlay.is-open { display: flex; }
        .tool-detail-dialog {
            background: #fff;
            border-radius: 20px;
            padding: 0;
            max-width: 540px;
            width: 100%;
            max-height: 92vh;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
            position: relative;
        }
        .tool-detail-hero {
            background: linear-gradient(135deg, #1e40af 0%, #059669 100%);
            padding: 28px 24px 24px;
            color: #fff;
            position: relative;
        }
        .tool-detail-close {
            position: absolute;
            top: 12px;
            right: 14px;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 8px;
            background: rgba(255,255,255,0.2);
            color: #fff;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
            z-index: 2;
        }
        .tool-detail-close:hover { background: rgba(255,255,255,0.3); }
        .tool-detail-header {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            padding-right: 36px;
        }
        .tool-detail-logo {
            width: 64px;
            height: 64px;
            object-fit: contain;
            border-radius: 12px;
            flex-shrink: 0;
            background: #fff;
            padding: 4px;
        }
        .tool-detail-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 6px;
            line-height: 1.3;
        }
        .tool-detail-meta {
            font-size: 0.82rem;
            color: rgba(255,255,255,0.85);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            font-weight: 600;
        }
        .tool-detail-content { padding: 22px 24px 24px; }
        .tool-detail-layout {
            display: block;
        }
        .tool-detail-main,
        .tool-detail-aside {
            min-width: 0;
        }
        .tool-detail-aside .tool-detail-benefits a {
            color: #2563eb;
            font-weight: 600;
        }
        .tool-detail-benefits {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 8px;
        }
        .tool-detail-benefits--footer {
            margin-top: 4px;
            padding-top: 14px;
            border-top: 1px solid #e2e8f0;
        }
        .tool-detail-benefits--footer li {
            font-size: 0.8rem;
            color: #64748b;
        }
        .tool-detail-benefits--footer li::before {
            color: #94a3b8;
        }
        .tool-detail-benefits li {
            font-size: 0.88rem;
            color: #334155;
            padding-left: 22px;
            position: relative;
            line-height: 1.45;
        }
        .tool-detail-benefits li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #059669;
            font-weight: 800;
        }
        .tool-detail-desc {
            font-size: 0.92rem;
            color: #475569;
            line-height: 1.65;
            margin-bottom: 20px;
        }
        .tool-detail-price-box {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 12px;
            padding: 16px 18px;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .tool-detail-price-label {
            font-size: 0.82rem;
            color: #166534;
            font-weight: 600;
            margin-bottom: 2px;
        }
        .tool-detail-price {
            font-size: 2rem;
            font-weight: 800;
            color: #14532d;
            line-height: 1;
        }
        .tool-detail-price-note {
            font-size: 0.78rem;
            color: #15803d;
            text-align: right;
            max-width: 140px;
            line-height: 1.4;
        }
        .tool-detail-actions { display: block; margin-bottom: 0; }
        .tool-detail-package {
            margin-top: 16px;
            padding: 16px;
            background: #fff;
            border: 2px solid #bfdbfe;
            border-radius: 14px;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
        }
        .tool-detail-package-head {
            margin-bottom: 12px;
        }
        .tool-detail-package-title {
            font-size: 1rem;
            font-weight: 800;
            color: #1e3a8a;
            margin-bottom: 4px;
            letter-spacing: -0.01em;
        }
        .tool-detail-package-lead {
            font-size: 0.82rem;
            color: #475569;
            line-height: 1.45;
            margin: 0;
        }
        .tool-detail-package-summary {
            margin: 14px 0 12px;
            font-size: 0.88rem;
            font-weight: 700;
            color: #0f172a;
        }
        .tool-detail-package-types {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tool-detail-package-type {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            min-width: 76px;
            padding: 12px 10px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            text-align: center;
        }
        .tool-detail-package-type.is-primary {
            background: linear-gradient(160deg, #eff6ff 0%, #f0fdf4 100%);
            border-color: #93c5fd;
        }
        .tool-detail-package-icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tool-detail-package-icon svg {
            display: block;
            width: 20px;
            height: 20px;
        }
        .tool-detail-package-icon--ea {
            color: #047857;
            background: #d1fae5;
        }
        .tool-detail-package-icon--indicator {
            color: #1d4ed8;
            background: #dbeafe;
        }
        .tool-detail-package-icon--source {
            color: #6d28d9;
            background: #ede9fe;
        }
        .tool-detail-package-icon--preset {
            color: #b45309;
            background: #fef3c7;
        }
        .tool-detail-package-icon--template {
            color: #7e22ce;
            background: #f3e8ff;
        }
        .tool-detail-package-icon--library {
            color: #475569;
            background: #e2e8f0;
        }
        .tool-detail-package-icon--header {
            color: #0f766e;
            background: #ccfbf1;
        }
        .tool-detail-package-icon--file {
            color: #64748b;
            background: #f1f5f9;
        }
        .tool-detail-package-type.is-primary .tool-detail-package-icon--ea {
            color: #065f46;
            background: #a7f3d0;
        }
        .tool-detail-package-type.is-primary .tool-detail-package-icon--indicator {
            color: #1e40af;
            background: #bfdbfe;
        }
        .tool-detail-package-type-ext {
            display: block;
            font-size: 0.82rem;
            font-weight: 800;
            color: #0f172a;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            letter-spacing: -0.02em;
        }
        .tool-detail-package-type-label {
            display: block;
            font-size: 0.68rem;
            font-weight: 600;
            color: #64748b;
            line-height: 1.3;
            max-width: 88px;
        }
        .marketplace-support {
            text-align: center;
            color: #64748b;
            font-size: 0.88rem;
            margin-top: 28px;
            padding-top: 20px;
        }
        .marketplace-support a {
            color: #93c5fd;
            font-weight: 600;
            text-decoration: underline;
        }
        .loading-msg { text-align: center; color: #94a3b8; padding: 40px; font-size: 1rem; }
        .tool-card--skeleton {
            pointer-events: none;
            cursor: default;
        }
        .tool-card--skeleton:hover {
            transform: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            border-color: #e2e8f0;
        }
        .skeleton-block {
            background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.2s ease-in-out infinite;
            border-radius: 8px;
        }
        @keyframes skeleton-shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton-logo {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            flex-shrink: 0;
        }
        .skeleton-line {
            height: 12px;
            margin-bottom: 8px;
        }
        .skeleton-line--title { height: 18px; width: 72%; margin-bottom: 10px; }
        .skeleton-line--short { width: 45%; }
        .skeleton-line--medium { width: 88%; }
        .skeleton-line--btn { height: 44px; width: 100%; border-radius: 10px; margin-top: 4px; }
        .skeleton-package-row {
            display: flex;
            gap: 8px;
            margin: 12px 0 14px;
        }
        .skeleton-package-chip {
            width: 58px;
            height: 58px;
            border-radius: 10px;
        }
        .error-msg { text-align: center; color: #fca5a5; padding: 20px; }
        #nav-container, #footer-container { min-height: 20px; }

        .checkout-banner {
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            border: 1px solid #f59e0b;
            border-radius: 12px;
            padding: 14px 18px;
            margin-bottom: 24px;
            color: #78350f;
            font-size: 0.92rem;
        }
        .checkout-banner.is-visible { display: flex; }
        .checkout-banner strong { font-weight: 700; }
        .checkout-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
        .checkout-banner-btn {
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            border: none;
        }
        .checkout-banner-btn--primary {
            background: #059669;
            color: #fff;
        }
        .checkout-banner-btn--dismiss {
            background: transparent;
            color: #92400e;
            text-decoration: underline;
        }

        .trending-section {
            margin-bottom: 32px;
            padding: 24px 20px 28px;
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.88) 0%, rgba(120, 53, 15, 0.12) 100%);
            border: 1px solid rgba(251, 191, 36, 0.28);
            border-radius: 16px;
            scroll-margin-top: 88px;
        }
        .trending-section h2 {
            color: #f8fafc;
            font-size: 1.35rem;
            font-weight: 800;
            margin-bottom: 6px;
        }
        .trending-section > p {
            color: #94a3b8;
            font-size: 0.92rem;
            margin-bottom: 18px;
            max-width: 560px;
        }
        .trending-badge {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #92400e;
            background: linear-gradient(135deg, #fde68a, #fcd34d);
            padding: 3px 8px;
            border-radius: 6px;
            margin-bottom: 8px;
        }
        .tool-card-top .trending-badge,
        .tool-card-top .recommended-badge {
            display: inline-block;
            margin-bottom: 8px;
        }
        .card-pitch {
            font-size: 0.82rem;
            color: #475569;
            line-height: 1.45;
            margin-bottom: 10px;
        }
        .category-rows { margin-bottom: 32px; }
        .category-block {
            margin-bottom: 20px;
            padding: 20px 18px 22px;
            background: linear-gradient(160deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.35) 100%);
            border: 1px solid rgba(148, 163, 184, 0.14);
            border-left: 4px solid #3b82f6;
            border-radius: 14px;
        }
        .category-block[data-chip="gold"] { border-left-color: #f59e0b; }
        .category-block[data-chip="scalping"] { border-left-color: #10b981; }
        .category-block[data-chip="prop"] { border-left-color: #8b5cf6; }
        .category-block[data-chip="indicators"] { border-left-color: #38bdf8; }
        .category-block-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 16px;
        }
        .category-block-header h3 {
            color: #f8fafc;
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.02em;
        }
        .category-block-header p {
            color: #cbd5e1;
            font-size: 0.88rem;
            margin: 6px 0 0;
            line-height: 1.5;
            max-width: 42rem;
        }
        .category-see-all {
            background: rgba(37, 99, 235, 0.15);
            border: 1px solid rgba(147, 197, 253, 0.35);
            color: #bfdbfe;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 8px;
            text-decoration: none;
            white-space: nowrap;
        }
        .category-see-all:hover {
            background: rgba(37, 99, 235, 0.28);
            color: #fff;
        }
        .category-grid {
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        }
        @media (min-width: 900px) {
            .category-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        .catalog-intro {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0;
            margin-bottom: 20px;
        }
        .catalog-intro .catalog-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            text-align: left;
            margin-bottom: 0;
        }
        .catalog-intro .catalog-header > div {
            flex: 1;
            width: 100%;
        }
        .catalog-intro .catalog-header h2 {
            color: #f8fafc;
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 2px;
        }
        .catalog-intro .catalog-header p {
            color: #94a3b8;
            font-size: 0.9rem;
            margin-top: 4px;
        }
        .catalog-body[hidden] { display: none !important; }
        .recommended-badge {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #1d4ed8;
            background: #dbeafe;
            border-radius: 999px;
            padding: 3px 8px;
            margin-bottom: 6px;
        }
        .guide-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10003;
            background: rgba(15, 23, 42, 0.72);
            align-items: flex-start;
            justify-content: center;
            padding: 20px;
            overflow: hidden;
            overscroll-behavior: contain;
        }
        .guide-overlay.is-open { display: flex; }
        .guide-dialog {
            background: #fff;
            border-radius: 20px;
            max-width: 520px;
            width: 100%;
            max-height: min(92dvh, 720px);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 32px 64px rgba(0,0,0,0.35);
            margin: auto 0;
        }
        .guide-dialog-header {
            flex-shrink: 0;
            padding: 28px 24px 0;
            position: relative;
        }
        .guide-header-close {
            display: none;
        }
        .guide-dialog-body {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
            overscroll-behavior: contain;
            padding: 0 24px;
        }
        .guide-dialog h2 {
            font-size: 1.35rem;
            color: #0f172a;
            margin-bottom: 6px;
            font-weight: 800;
        }
        .guide-dialog-lead {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 0;
            line-height: 1.5;
        }
        .guide-step-label {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #2563eb;
            margin: 20px 0 10px;
        }
        .guide-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 16px;
        }
        .guide-option {
            padding: 14px 12px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            background: #fff;
            font-size: 0.92rem;
            font-weight: 700;
            color: #1e293b;
            cursor: pointer;
            text-align: center;
        }
        .guide-option:hover { border-color: #93c5fd; }
        .guide-option.is-selected {
            border-color: #2563eb;
            background: #eff6ff;
            color: #1d4ed8;
        }
        .guide-option--wide { grid-column: 1 / -1; }
        .guide-results {
            margin-top: 8px;
            padding-bottom: 4px;
        }
        .guide-result-item {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
        }
        .guide-result-item:hover {
            border-color: #93c5fd;
            background: #f8fafc;
        }
        .guide-result-item.is-top {
            border-color: #86efac;
            background: #f0fdf4;
        }
        .guide-result-top {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            margin-bottom: 8px;
        }
        .guide-result-logo {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            object-fit: contain;
            background: #f1f5f9;
            flex-shrink: 0;
        }
        .guide-result-logo--placeholder {
            background: #e2e8f0;
        }
        .guide-result-head {
            flex: 1;
            min-width: 0;
        }
        .guide-result-name {
            font-weight: 700;
            color: #0f172a;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }
        .guide-result-meta {
            font-size: 0.78rem;
            color: #64748b;
            margin-bottom: 8px;
        }
        .guide-result-pitch {
            font-size: 0.85rem;
            color: #475569;
            line-height: 1.45;
            margin-bottom: 10px;
        }
        .guide-result-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .guide-result-actions .buy-btn--card {
            width: auto;
            flex: 1;
            min-width: 140px;
            padding: 10px 14px;
            font-size: 0.88rem;
        }
        .guide-footer {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            margin-top: 0;
            padding: 16px 24px 24px;
            border-top: 1px solid #e5e7eb;
            background: #fff;
        }
        .guide-link-btn {
            background: none;
            border: none;
            color: #64748b;
            font-size: 0.85rem;
            cursor: pointer;
            text-decoration: underline;
        }
        .guide-close-btn {
            background: #e5e7eb;
            border: none;
            border-radius: 9px;
            padding: 10px 16px;
            font-weight: 600;
            cursor: pointer;
        }
        .tool-detail-pitch {
            font-size: 0.92rem;
            color: #334155;
            line-height: 1.55;
            margin-bottom: 14px;
        }
        .tool-detail-screenshots {
            margin-bottom: 18px;
        }
        .tool-detail-screenshots-title {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            margin-bottom: 10px;
        }
        .tool-detail-screenshot-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 10px;
        }
        .tool-detail-screenshot {
            width: 100%;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            cursor: zoom-in;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            background: #f8fafc;
        }
        .tool-image-lightbox {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10005;
            background: rgba(15, 23, 42, 0.92);
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .tool-image-lightbox.is-open { display: flex; }
        .tool-image-lightbox-img {
            max-width: min(96vw, 1200px);
            max-height: 92vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 10px;
            box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
        }
        .tool-image-lightbox-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
        }
        .tool-image-lightbox-close:hover {
            background: rgba(255, 255, 255, 0.25);
        }
        .tool-detail-faqs {
            margin-bottom: 18px;
        }
        .tool-detail-faqs-title {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            margin-bottom: 10px;
        }
        .tool-detail-faq-item {
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            margin-bottom: 8px;
            overflow: hidden;
        }
        .tool-detail-faq-item.is-open {
            border-color: #bfdbfe;
        }
        .tool-detail-faq-q {
            width: 100%;
            text-align: left;
            background: #f8fafc;
            border: none;
            padding: 12px 14px;
            font-size: 0.88rem;
            font-weight: 700;
            color: #0f172a;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }
        .tool-detail-faq-q::after {
            content: '+';
            color: #64748b;
            font-weight: 400;
        }
        .tool-detail-faq-item.is-open .tool-detail-faq-q::after {
            content: '−';
        }
        .tool-detail-faq-a {
            display: none;
            padding: 0 14px 12px;
            font-size: 0.85rem;
            color: #475569;
            line-height: 1.55;
        }
        .tool-detail-faq-item.is-open .tool-detail-faq-a {
            display: block;
        }
        .tool-detail-similar {
            margin-bottom: 18px;
        }
        .tool-detail-similar-title {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            margin-bottom: 10px;
        }
        .tool-detail-similar-list {
            display: grid;
            gap: 8px;
        }
        .detail-similar-item {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            text-align: left;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px 12px;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
        }
        .detail-similar-item:hover {
            border-color: #93c5fd;
            background: #eff6ff;
        }
        .detail-similar-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: contain;
            background: #fff;
            border: 1px solid #e2e8f0;
            flex-shrink: 0;
        }
        .detail-similar-logo--placeholder {
            background: #e2e8f0;
        }
        .detail-similar-info {
            min-width: 0;
            flex: 1;
        }
        .detail-similar-name {
            font-size: 0.88rem;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.35;
        }
        .detail-similar-meta {
            font-size: 0.75rem;
            color: #64748b;
            margin-top: 2px;
        }
        .featured-card-top {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }
        .featured-card-logo {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            object-fit: contain;
            background: #f1f5f9;
            flex-shrink: 0;
        }
        .featured-card-logo--placeholder {
            background: #e2e8f0;
        }
        .featured-card-head {
            flex: 1;
            min-width: 0;
        }

        @media (max-width: 959px) {
            .tool-detail-overlay {
                padding: 0;
                align-items: stretch;
                justify-content: stretch;
                overscroll-behavior: contain;
            }
            .tool-detail-overlay.is-open {
                display: flex;
            }
            .tool-detail-dialog {
                max-width: none;
                width: 100%;
                height: 100%;
                max-height: none;
                border-radius: 0;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            .tool-detail-hero {
                flex-shrink: 0;
                position: relative;
                padding-top: calc(12px + env(safe-area-inset-top, 0px));
                padding-left: max(20px, env(safe-area-inset-left, 0px));
                padding-right: max(56px, calc(20px + env(safe-area-inset-right, 0px)));
            }
            .tool-detail-close {
                position: fixed;
                top: max(8px, env(safe-area-inset-top, 0px));
                right: max(8px, env(safe-area-inset-right, 0px));
                width: 44px;
                height: 44px;
                min-width: 44px;
                min-height: 44px;
                font-size: 1.6rem;
                z-index: 10005;
                touch-action: manipulation;
            }
            .tool-detail-content {
                flex: 1;
                min-height: 0;
                overflow-y: auto;
                overflow-x: hidden;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
                padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
            }
        }

        @media (min-width: 960px) {
            .tool-detail-overlay {
                padding: 20px;
                overflow-y: auto;
                align-items: flex-start;
            }
            .tool-detail-dialog {
                max-width: min(1180px, 96vw);
                max-height: none;
                overflow: visible;
                margin: auto 0;
            }
            .tool-detail-hero {
                padding: 16px 28px 14px;
            }
            .tool-detail-header {
                align-items: center;
            }
            .tool-detail-logo {
                width: 72px;
                height: 72px;
            }
            .tool-detail-title {
                font-size: 1.45rem;
            }
            .tool-detail-content {
                padding: 16px 24px 24px;
                overflow: visible;
            }
            .tool-detail-layout {
                display: grid;
                grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
                gap: 20px;
                align-items: start;
            }
            .tool-detail-main {
                display: flex;
                flex-direction: column;
                gap: 2px;
                overflow: visible;
            }
            .tool-detail-aside {
                display: flex;
                flex-direction: column;
                gap: 12px;
                background: #f8fafc;
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                padding: 14px 16px;
                overflow: visible;
                position: sticky;
                top: 0;
            }
            .tool-detail-pitch {
                margin-bottom: 10px;
            }
            .tool-detail-desc {
                font-size: 0.88rem;
                margin-bottom: 12px;
            }
            .tool-detail-benefits {
                margin: 0;
                grid-template-columns: 1fr;
                gap: 6px;
            }
            .tool-detail-benefits--footer li {
                font-size: 0.76rem;
            }
            .tool-detail-faqs,
            .tool-detail-similar,
            .tool-detail-screenshots,
            .tool-detail-package {
                margin-bottom: 12px;
            }
            .tool-detail-package {
                margin-top: 12px;
                padding: 14px;
            }
            .tool-detail-package-types {
                gap: 8px;
            }
            .tool-detail-package-type {
                min-width: 68px;
                padding: 10px 8px;
            }
            .tool-detail-screenshot-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
            }
            .tool-detail-screenshot {
                aspect-ratio: 4 / 3;
                max-height: none;
            }
            .tool-detail-faq-q {
                padding: 9px 12px;
                font-size: 0.82rem;
            }
            .tool-detail-faq-a {
                font-size: 0.8rem;
                padding: 0 12px 9px;
            }
            .tool-detail-similar-list {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .detail-similar-item {
                padding: 8px 10px;
            }
            .detail-similar-logo {
                width: 34px;
                height: 34px;
            }
            .detail-similar-name {
                font-size: 0.82rem;
            }
            .detail-similar-meta {
                font-size: 0.72rem;
            }
            .tool-detail-price-box {
                margin-bottom: 0;
                margin-top: auto;
                padding: 14px 16px;
            }
            .tool-detail-price {
                font-size: 1.75rem;
            }
        }

        .filter-row--browse {
            grid-template-columns: 1fr auto;
        }

        /* Top search */
        .search-section {
            margin-bottom: 28px;
            scroll-margin-top: 88px;
        }
        .search-section-bar {
            margin-bottom: 0;
        }
        .search-section--active {
            margin-bottom: 32px;
        }
        .search-results-meta {
            margin-top: 14px;
            margin-bottom: 12px;
        }
        .search-results:empty {
            display: none;
        }
        .browse-content[hidden] {
            display: none !important;
        }

        /* Platform sections */
        .platform-sections-host {
            display: flex;
            flex-direction: column;
            gap: 28px;
            margin-bottom: 36px;
        }
        .platform-section {
            background: rgba(15, 23, 42, 0.55);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 16px;
            padding: 22px 20px 24px;
            scroll-margin-top: 88px;
        }
        .platform-section--mt5 { border-top: 3px solid #38bdf8; }
        .platform-section--mt4 { border-top: 3px solid #818cf8; }
        .platform-section-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }
        .platform-section-header h2 {
            color: #f8fafc;
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .platform-section-header p {
            color: #94a3b8;
            font-size: 0.9rem;
            max-width: 640px;
        }
        .platform-section-count {
            color: #64748b;
            font-size: 0.82rem;
            font-weight: 600;
            white-space: nowrap;
            padding-top: 4px;
        }
        .platform-section-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }
        .platform-section-chip {
            padding: 7px 14px;
            border-radius: 999px;
            border: 1px solid #334155;
            background: #0f172a;
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
        }
        .platform-section-chip:hover {
            border-color: #475569;
            color: #f8fafc;
        }
        .platform-section-chip.is-active {
            background: #1d4ed8;
            border-color: #3b82f6;
            color: #fff;
        }
        .platform-section-meta {
            color: #64748b;
            font-size: 0.82rem;
            margin-bottom: 14px;
        }
        .platform-section-grid {
            margin-top: 4px;
        }
        .browse-section {
            scroll-margin-top: 88px;
        }
        .section-nav {
            position: fixed;
            left: max(12px, calc((100vw - 1180px) / 2 - 148px));
            top: 50%;
            transform: translateY(-50%);
            z-index: 850;
            display: flex;
            flex-direction: column;
            gap: 4px;
            width: 132px;
            padding: 10px 8px;
            border-radius: 14px;
            background: rgba(15, 23, 42, 0.92);
            border: 1px solid rgba(255,255,255,0.12);
            box-shadow: 0 12px 32px rgba(0,0,0,0.35);
            backdrop-filter: blur(8px);
        }
        .section-nav-label {
            color: #64748b;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 0 6px 4px;
        }
        .section-nav-btn {
            display: block;
            width: 100%;
            text-align: left;
            border: none;
            border-radius: 8px;
            padding: 7px 8px;
            background: transparent;
            color: #cbd5e1;
            font-size: 0.78rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }
        .section-nav-btn:hover {
            background: rgba(255,255,255,0.06);
            color: #f8fafc;
        }
        .section-nav-btn.is-active {
            background: rgba(59, 130, 246, 0.22);
            color: #93c5fd;
        }
        .section-nav-btn[hidden] { display: none; }
        .section-nav-text-short { display: none; }

        @media (max-width: 900px) {
            .section-nav-text-long { display: none; }
            .section-nav-text-short { display: inline; }
            body {
                overscroll-behavior-y: none;
            }
            .tools-grid,
            .featured-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .filter-input,
            .filter-select,
            .search-input {
                font-size: 16px;
            }
            .search-section {
                scroll-margin-top: 72px;
            }
            .search-section--active {
                margin-bottom: 24px;
            }
            .search-section--active .tools-grid {
                margin-bottom: max(80px, calc(64px + env(safe-area-inset-bottom, 0px)));
            }
            .marketplace-container {
                padding-left: 16px;
                padding-right: 16px;
            }
            .guide-overlay {
                padding: 0;
                align-items: stretch;
            }
            .guide-overlay.is-open {
                display: flex;
            }
            .guide-dialog {
                max-width: none;
                width: 100%;
                height: 100%;
                max-height: none;
                border-radius: 0;
                margin: 0;
                display: flex;
                flex-direction: column;
            }
            .guide-dialog-header {
                padding: calc(12px + env(safe-area-inset-top, 0px)) max(48px, calc(16px + env(safe-area-inset-right, 0px))) 0 max(16px, env(safe-area-inset-left, 0px));
            }
            .guide-header-close {
                display: flex;
                align-items: center;
                justify-content: center;
                position: fixed;
                top: max(8px, env(safe-area-inset-top, 0px));
                right: max(8px, env(safe-area-inset-right, 0px));
                width: 44px;
                height: 44px;
                min-width: 44px;
                min-height: 44px;
                border: none;
                border-radius: 8px;
                background: #e5e7eb;
                color: #0f172a;
                font-size: 1.6rem;
                line-height: 1;
                cursor: pointer;
                z-index: 10006;
                touch-action: manipulation;
            }
            .guide-dialog-body {
                flex: 1;
                min-height: 0;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
                padding: 0 16px;
                padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
            }
            .guide-footer {
                flex-shrink: 0;
                padding: 12px 16px max(16px, env(safe-area-inset-bottom, 0px));
            }
            .filter-row { grid-template-columns: 1fr; }
            .filter-row--browse { grid-template-columns: 1fr; }
            .catalog-header { flex-direction: column; align-items: flex-start; }
            .tool-card-footer { flex-direction: column; align-items: stretch; }
            .buy-btn--card { width: 100%; }
            .section-nav {
                left: auto;
                right: 12px;
                bottom: max(12px, env(safe-area-inset-bottom, 0px));
                top: auto;
                transform: none;
                width: auto;
                max-width: calc(100vw - 24px);
                flex-direction: row;
                flex-wrap: wrap;
                gap: 6px;
                padding: 8px 10px;
            }
            .section-nav-label {
                width: 100%;
                padding-bottom: 0;
            }
            .section-nav-btn {
                width: auto;
                padding: 6px 10px;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 1320px) {
            .section-nav {
                left: 12px;
            }
        }
