        /* ─── DETAIL DRAWER — Premium Dark Luxury ───────────────── */
        @keyframes scContentIn {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .sc-drawer-overlay {
            position: fixed;
            inset: 0;
            /* Above the mobile tab bar (rasa-app.js injects it at 9000 —
               it was drawn OVER the open drawer, floating on the paywall),
               below the kitchen sheet's deliberate top layer (9600).
               Closed state is pointer-events:none, so this steals no taps. */
            z-index: 9400;
            background: rgba(0,0,0,0);
            pointer-events: none;
            transition: background 0.45s ease;
        }
        .sc-drawer-overlay.open {
            background: rgba(0,0,0,0.75);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            pointer-events: all;
        }

        .sc-drawer {
            --rx-color: #C89B3C;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 5001;
            background: rgba(12, 11, 8, 0.95);
            backdrop-filter: blur(48px) saturate(1.6);
            -webkit-backdrop-filter: blur(48px) saturate(1.6);
            border-top: 2px solid var(--rx-color);
            border-radius: 1.5rem 1.5rem 0 0;
            padding: 1.75rem clamp(1.5rem, 5vw, 3rem) 3rem;
            max-height: 90vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
            -webkit-overflow-scrolling: touch;
            box-shadow:
                0 -20px 80px rgba(0,0,0,0.7),
                0 -4px 30px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.04);

            /* ── Premium custom scrollbar ── */
            scrollbar-width: thin;
            scrollbar-color: color-mix(in srgb, var(--rx-color) 35%, transparent) transparent;
        }
        .sc-drawer::-webkit-scrollbar {
            width: 6px;
        }
        .sc-drawer::-webkit-scrollbar-track {
            background: transparent;
            margin-block: 1rem;
        }
        .sc-drawer::-webkit-scrollbar-thumb {
            background: color-mix(in srgb, var(--rx-color) 30%, transparent);
            border-radius: 100px;
            transition: background 0.2s;
        }
        .sc-drawer::-webkit-scrollbar-thumb:hover {
            background: color-mix(in srgb, var(--rx-color) 55%, transparent);
        }
        .sc-drawer::-webkit-scrollbar-corner {
            background: transparent;
        }
        /* Color glow at top + subtle side accents */
        .sc-drawer::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 220px;
            background:
                radial-gradient(ellipse 70% 100% at 50% 0%, color-mix(in srgb, var(--rx-color) 12%, transparent) 0%, transparent 75%),
                radial-gradient(ellipse 30% 80% at 0% 0%, color-mix(in srgb, var(--rx-color) 5%, transparent) 0%, transparent 70%),
                radial-gradient(ellipse 30% 80% at 100% 0%, color-mix(in srgb, var(--rx-color) 5%, transparent) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }
        /* Lifts the drawer's own children above the ambient gradient (z-index 0).
           EXCEPT the membership paywall: it is appended to the shell deliberately
           so it stays PUT while the veiled preview scrolls beneath it, and that
           needs its own `position: absolute` (css/science.css). A blanket
           `position: relative` here put it back in flow and it scrolled away —
           two commits colliding: the blanket rule, then the paywall child. */
        /* The drawer is the positioning ANCHOR for its own absolutely-positioned
           children (the membership paywall). Without an explicit `position` here,
           `position: absolute` on the paywall resolved against whatever ancestor
           happened to be positioned at that viewport — so the paywall stayed put
           at some widths and scrolled away at others. Flaky, not broken, which is
           why it passed several runs before the stop gate caught it at 768px. */
        .sc-drawer { position: relative; }
        .sc-drawer > *:not(.sc-drawer__paywall) { position: relative; z-index: 1; }
        .sc-drawer-overlay.open .sc-drawer {
            transform: translateY(0);
        }

        /* Desktop → centered modal */
        @media (min-width: 768px) {
            .sc-drawer {
                bottom: auto;
                top: 50%;
                left: 50%;
                right: auto;
                transform: translate(-50%, -50%) scale(0.92);
                opacity: 0;
                max-width: 640px;
                width: 92vw;
                max-height: 85vh;
                border-radius: 1.25rem;
                border: 1px solid rgba(255,255,255,0.06);
                border-top: 2px solid var(--rx-color);
                padding-top: 2.5rem;
                transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
                box-shadow:
                    0 25px 100px rgba(0,0,0,0.7),
                    0 8px 32px rgba(0,0,0,0.5),
                    inset 0 1px 0 rgba(255,255,255,0.06);
            }
            .sc-drawer-overlay.open .sc-drawer {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            .sc-drawer__handle { display: none; }
        }

        /* Staggered content animation */
        .sc-drawer-overlay.open .sc-drawer__anim {
            animation: scContentIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            opacity: 0;
        }
        .sc-drawer__anim:nth-child(1) { animation-delay: 0.06s; }
        .sc-drawer__anim:nth-child(2) { animation-delay: 0.12s; }
        .sc-drawer__anim:nth-child(3) { animation-delay: 0.18s; }
        .sc-drawer__anim:nth-child(4) { animation-delay: 0.24s; }
        .sc-drawer__anim:nth-child(5) { animation-delay: 0.30s; }
        .sc-drawer__anim:nth-child(6) { animation-delay: 0.36s; }
        .sc-drawer__anim:nth-child(7) { animation-delay: 0.42s; }
        .sc-drawer__anim:nth-child(8) { animation-delay: 0.48s; }

        .sc-drawer__handle {
            width: 40px;
            height: 4px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            border-radius: 2px;
            margin: 0.75rem auto 1.25rem;
        }

        .sc-drawer__header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.25rem;
            gap: 1rem;
        }

        .sc-drawer__cat {
            font-size: 0.58rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sc-drawer__title {
            font-family: var(--font-editorial, 'Cormorant Garamond', serif);
            font-size: clamp(1.6rem, 5vw, 2.4rem);
            font-weight: 300;
            color: var(--color-cream, #F2DDD0);
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .sc-drawer__hindi {
            font-size: 0.82rem;
            color: var(--rx-color);
            letter-spacing: 0.05em;
            margin-top: 0.4rem;
            font-style: italic;
            opacity: 0.9;
        }

        .sc-drawer__close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            color: rgba(255,255,255,0.5);
            transition: all 0.25s;
            margin-top: 0.25rem;
        }
        .sc-drawer__close:hover {
            background: rgba(255,255,255,0.12);
            color: #fff;
            transform: rotate(90deg);
        }

        /* ── Hero Image ── */
        .sc-drawer__hero-wrap {
            position: relative;
            border-radius: 0.85rem;
            overflow: hidden;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .sc-drawer__hero-wrap:empty { display: none; }
        /* subtle honeycomb overlay on hero for texture */
        .sc-drawer__hero-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background:
                repeating-linear-gradient(
                    60deg,
                    rgba(255,255,255,0.015) 0px,
                    rgba(255,255,255,0.015) 1px,
                    transparent 1px,
                    transparent 12px
                ),
                repeating-linear-gradient(
                    -60deg,
                    rgba(255,255,255,0.015) 0px,
                    rgba(255,255,255,0.015) 1px,
                    transparent 1px,
                    transparent 12px
                );
            pointer-events: none;
            z-index: 1;
            mix-blend-mode: overlay;
            opacity: 0.4;
        }

        .sc-drawer__image {
            width: 100%;
            border-radius: 0.85rem;
            max-height: 280px;
            object-fit: cover;
            display: none;
        }
        .sc-drawer__image.loaded { display: block; }

        /* The drawer's slide/scale and the staggered entrance had no reduced-motion guard
           (found 2026-09-04 while adding the Browning Machine). Static equivalent: it appears. */
        @media (prefers-reduced-motion: reduce) {
            .sc-drawer, .sc-drawer-overlay, .sc-drawer__anim { transition: none !important; animation: none !important; }
        }

        .sc-drawer__hero-gradient {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 50%;
            background: linear-gradient(to top, rgba(12,11,8,0.9) 0%, transparent 100%);
            pointer-events: none;
            border-radius: 0 0 0.85rem 0.85rem;
        }

        /* ── At a Glance data strip ── */
        .sc-drawer__data-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.25rem;
            margin-top: 0.25rem;
        }

        .sc-drawer__data-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(255,255,255,0.03);
            border: 1px solid color-mix(in srgb, var(--rx-color) 25%, transparent);
            border-radius: 100px;
            padding: 0.35rem 0.9rem;
            font-size: 0.68rem;
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
            color: rgba(255,255,255,0.6);
            letter-spacing: 0.04em;
            transition: all 0.25s ease;
            cursor: default;
        }
        .sc-drawer__data-chip:hover {
            background: color-mix(in srgb, var(--rx-color) 8%, transparent);
            border-color: color-mix(in srgb, var(--rx-color) 40%, transparent);
            color: rgba(255,255,255,0.8);
        }
        .sc-drawer__data-chip svg {
            width: 12px; height: 12px;
            stroke: var(--rx-color);
            opacity: 0.7;
        }

        .sc-drawer__desc {
            font-size: 0.92rem;
            color: rgba(255,255,255,0.55);
            line-height: 1.85;
            margin-bottom: 1.75rem;
        }

        /* ── Section divider ── */
        .sc-drawer__divider {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        .sc-drawer__divider-label {
            font-size: 0.58rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--rx-color);
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
            white-space: nowrap;
            opacity: 0.8;
        }
        .sc-drawer__divider-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, color-mix(in srgb, var(--rx-color) 20%, transparent), transparent);
        }

        /* ── Tags (kept for API compat, repurposed as data strip) ── */
        .sc-drawer__tags { display: none; }

        .sc-drawer__section-title {
            font-size: 0.58rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.3);
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
            margin-bottom: 0.85rem;
        }

        .sc-drawer__compound {
            display: flex;
            align-items: flex-start;
            gap: 0.85rem;
            margin-bottom: 0.85rem;
            padding: 0.75rem 0.9rem;
            background: rgba(255,255,255,0.02);
            border-radius: 0.6rem;
            border: 1px solid rgba(255,255,255,0.04);
            border-left: 2px solid color-mix(in srgb, var(--rx-color) 40%, transparent);
            transition: all 0.3s ease;
            position: relative;
        }
        .sc-drawer__compound:hover {
            background: rgba(255,255,255,0.04);
            border-left-color: var(--rx-color);
            box-shadow: -4px 0 20px color-mix(in srgb, var(--rx-color) 8%, transparent);
        }
        .sc-drawer__compound-dot {
            width: 7px; height: 7px; border-radius: 50%;
            flex-shrink: 0; margin-top: 0.5rem;
            box-shadow: 0 0 8px currentColor, 0 0 16px color-mix(in srgb, currentColor 30%, transparent);
        }
        .sc-drawer__compound-text {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.65;
        }
        .sc-drawer__compound-text strong {
            color: var(--color-cream, #F2DDD0);
            font-weight: 500;
        }

        /* ── Callout — glassmorphism card ── */
        .sc-drawer__callout {
            margin-top: 1.75rem;
            margin-bottom: 1rem;
            background: rgba(255,255,255,0.03);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.06);
            border-top: 2px solid var(--rx-color);
            border-radius: 0.75rem;
            padding: 1.25rem 1.35rem;
            font-size: 0.83rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.7;
            position: relative;
            overflow: hidden;
        }
        /* Inner glow on callout */
        .sc-drawer__callout::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 80px;
            background: radial-gradient(ellipse 80% 100% at 50% 0%, color-mix(in srgb, var(--rx-color) 6%, transparent) 0%, transparent 80%);
            pointer-events: none;
        }
        .sc-drawer__callout-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.6rem;
            font-family: var(--font-mono, 'JetBrains Mono', monospace);
            font-size: 0.58rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--rx-color);
            opacity: 0.9;
            position: relative;
        }
        .sc-drawer__callout-header svg {
            width: 14px; height: 14px;
            stroke: var(--rx-color);
        }
        .sc-drawer__callout-body {
            color: rgba(255,255,255,0.55);
            line-height: 1.7;
            position: relative;
        }

        /* ── Paywall state inside the detail drawer ──
           A locked row still opens; the drawer shows the full premise and then
           the wall, so the offer always arrives in context. */
        .sc-drawer__paywall {
            margin-top: 1.75rem;
            padding: 1.75rem;
            border: 1px solid rgba(245,166,35,0.18);
            border-radius: 0.9rem;
            background: rgba(245,166,35,0.04);
            text-align: center;
        }
        .sc-drawer__paywall-icon {
            width: 42px; height: 42px; margin: 0 auto 0.9rem;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: rgba(245,166,35,0.9);
            background: rgba(245,166,35,0.09);
            border: 1px solid rgba(245,166,35,0.24);
        }
        .sc-drawer__paywall-title {
            font-family: var(--font-editorial, 'Cormorant Garamond', serif);
            font-size: 1.25rem; color: var(--color-cream);
            margin-bottom: 0.5rem; text-wrap: balance;
        }
        .sc-drawer__paywall-sub {
            font-size: 0.82rem; line-height: 1.6;
            color: rgba(255,255,255,0.45);
            margin: 0 auto 1.25rem; max-width: 34ch; text-wrap: pretty;
        }
