
        :root {
            /* ---- Legacy aliases. Kept so existing rules keep working. ---- */
            --primary: #1a2332;
            --primary-light: #2a3545;
            --accent: #ff6b4a;
            --accent-dark: #e54b2a;
            --text: #1a2332;
            --text-light: #5a6578;
            --bg: #faf7f2;
            --white: #ffffff;
            --border: #e3ddd3;

            /* ---- Brand ---- */
            --coral: #ff6b4a;
            --coral-dark: #ff5533;
            --coral-light: #ff8566;

            /* ---- Ink ramp. Derived from #1a2332, not from Tailwind. ----
               Body text must use --ink-70 or darker, or --ink-45 at minimum.
               --ink-35 and lighter are decorative only, they do not meet AA. */
            --ink-deep: #0f1419;
            --ink: #1a2332;
            --ink-strong: #2a3545;
            --ink-80: #354052;
            --ink-70: #48536a;
            --ink-60: #5a6578;
            --ink-45: #68717f;
            --ink-35: #99a2b0;
            --ink-20: #c4cad4;

            /* ---- Surfaces. Warm paper per the Chip direction. ---- */
            --canvas: #faf7f2;
            --surface: #ffffff;
            --wash: #f2ede5;
            --wash-2: #f8f5f0;
            --rule: #e3ddd3;
            --keyline: #1a2332;

            /* ---- Semantics. Derived from the brand, not Tailwind defaults. ---- */
            --positive: #1f7a5c;
            --positive-strong: #17604a;
            --positive-deep: #114a39;
            --positive-20: #b8d9cd;
            --positive-10: #dbeae4;
            --positive-05: #eef5f2;

            --caution: #a3611a;
            --caution-strong: #965914;
            --caution-deep: #7d4a12;
            --caution-20: #ecd9ae;
            --caution-10: #f5ead2;
            --caution-05: #fbf6ea;
            --gold: #d9a441;

            --negative: #a83a2c;
            --negative-strong: #932e22;
            --negative-deep: #7d271d;
            --negative-20: #e0b3ab;
            --negative-10: #f2ddd8;
            --negative-05: #f9eeeb;

            --info: #2f5d8f;
            --info-strong: #24466d;
            --info-20: #b6c7da;
            --info-05: #eef2f7;

            /* ---- Scales ---- */
            --r-sm: 3px;
            --r-md: 6px;
            --r-pill: 100px;
            /* Three steps only. 1 = resting surface, 2 = raised or hovered,
               3 = overlays (drawers, modals) and nothing else.
               Stage 2 swaps 1 and 2 for --shadow-chip hard offsets. */
            --shadow-1: 0 1px 2px rgba(26, 35, 50, .06);
            --shadow-2: 0 4px 12px rgba(26, 35, 50, .10);
            --shadow-3: 0 12px 32px rgba(26, 35, 50, .18);

            /* ---- Chip surface language ----
               Offsets are composable: pair a step with a colour, e.g.
                 box-shadow: var(--chip-md) var(--keyline);
                 box-shadow: var(--chip-lg) var(--coral);
               Chip's corner is --r-sm (3px). Do not soften it to --r-md on a
               Chip surface. Keylines are --keyline-w on the outside of a
               component and 1px --rule for hairlines inside it. */
            --chip-sm: 1px 1px 0;
            --chip-md: 2px 2px 0;
            --chip-lg: 3px 3px 0;
            --chip-xl: 5px 5px 0;
            --keyline-w: 2px;
            --keyline-w-sm: 1.5px;
            /* The chip mark: a coral disc in a navy ring. This is the logo,
               not a keyline. Only ever use it on the mark itself. */
            --chip-ring: 3px;
            --shadow-chip: var(--chip-xl) var(--coral);

            --font-display: 'Crimson Pro', serif;
            --font-body: 'Work Sans', sans-serif;
            --section-padding: clamp(4rem, 10vw, 8rem);
            --container-padding: clamp(1.5rem, 5vw, 2rem);
        }

        *, *::before, *::after { box-sizing: border-box; }

        /* Icon system. Sprite lives at the top of <body>, see #i-* symbols.
           Sizes with font-size, colours with currentColor. Never reintroduce
           emoji as icons: they render differently on every OS. */
        .ico {
            width: 1em;
            height: 1em;
            flex: none;
            vertical-align: -0.135em;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.75;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .ico-lg { width: 1.6em; height: 1.6em; stroke-width: 1.5; }

        body {
            font-family: 'Work Sans', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        /* ── Discord community strip (above nav) ── */
        .discord-strip {
            background: #1a2332;
            color: #fff;
            position: relative;
            border-bottom: 1px solid rgba(255, 107, 74, 0.18);
        }
        .discord-strip-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.6rem 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            line-height: 1.35;
            position: relative;
            text-align: center;
        }
        .discord-strip-link {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            flex-wrap: wrap;
            justify-content: center;
        }
        .discord-strip-link:hover .discord-strip-cta { color: #ff8c70; }
        .discord-strip-icon {
            width: 20px;
            height: 20px;
            color: #5865F2;
            flex-shrink: 0;
        }
        .discord-strip-cta {
            color: #ff6b4a;
            font-weight: 600;
            white-space: nowrap;
            transition: color 0.2s ease;
        }
        .discord-strip-dismiss {
            position: absolute;
            right: 0.5rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.55);
            cursor: pointer;
            padding: 0.3rem 0.45rem;
            font-size: 0.9rem;
            line-height: 1;
            border-radius: var(--r-sm);
            transition: color 0.2s ease, background 0.2s ease;
        }
        .discord-strip-dismiss:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
        .discord-strip-text-short { display: none; }
        @media (max-width: 600px) {
            .discord-strip-inner { font-size: 0.8rem; padding: 0.55rem 2rem 0.55rem 0.75rem; }
            .discord-strip-link { gap: 0.4rem; }
            .discord-strip-text-long { display: none; }
            .discord-strip-text-short { display: inline; }
        }
        .lrc-hide-discord-strip .discord-strip { display: none; }

        /* ── Nav ── */
        nav {
            background: rgba(250, 247, 242, 0.97);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #e3ddd3;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 clamp(1rem, 4vw, 2rem);
            height: 64px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Logo */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            flex-shrink: 0;
        }
        .logo-chip {
            width: 40px;
            height: 40px;
            background: #ff6b4a;
            border-radius: 50%;
            border: 3px solid #1a2332;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Crimson Pro', serif;
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
            flex-shrink: 0;
        }
        .logo-text { display: flex; flex-direction: column; line-height: 1; }
        .logo-main {
            font-family: 'Crimson Pro', serif;
            font-weight: 700;
            font-size: 1.25rem;
            color: #1a2332;
            letter-spacing: -0.02em;
        }
        .logo-sub {
            font-size: 0.65rem;
            font-weight: 500;
            color: #5a6578;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-top: 0.15rem;
        }

        /* ── Desktop nav links ── */
        .nav-links {
            display: flex;
            gap: clamp(.75rem, 1.8vw, 1.75rem);
            align-items: center;
        }
        .nav-links a {
            color: #5a6578;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
            white-space: nowrap;
        }
        .nav-links a:hover { color: #ff6b4a; }
        .nav-links a.active { color: #ff6b4a; }
        .nav-links a.premium-link {
            background: var(--accent);
            color: white;
            padding: 0.45rem 1rem;
            border-radius: var(--r-md);
        }
        .nav-links a.premium-link:hover {
            color: white;
            box-shadow: var(--shadow-1);
        }
        .nav-links a.account-link {
            color: #1a2332;
            border: 1.5px solid #e3ddd3;
            padding: 0.4rem 0.95rem;
            border-radius: var(--r-md);
            font-weight: 500;
            transition: all 0.2s ease;
        }
        .nav-links a.account-link:hover {
            border-color: #ff6b4a;
            color: #ff6b4a;
        }

        /* Dropdown */
        .nav-dropdown { position: relative; }
        .dropdown-trigger {
            cursor: pointer;
            color: #5a6578;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
            text-decoration: none;
            display: inline-block;
            white-space: nowrap;
        }
        .dropdown-trigger:hover { color: #ff6b4a; }
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 0.75rem);
            left: 0;
            background: white;
            border: 1px solid #e3ddd3;
            border-radius: var(--r-md);
            box-shadow: var(--shadow-3);
            min-width: 220px;
            padding: 0.5rem 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: all 0.2s ease;
            z-index: 1001;
        }
        .nav-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .dropdown-menu a {
            display: block;
            padding: 0.75rem 1.25rem;
            color: #1a2332;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.92rem;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }
        .dropdown-menu a:hover {
            background: rgba(255, 107, 74, 0.05);
            color: #ff6b4a;
            border-left-color: #ff6b4a;
        }
        .dropdown-menu a.active { color: #ff6b4a; border-left-color: #ff6b4a; }
        .dropdown-divider { height: 1px; background: #e3ddd3; margin: 0.4rem 0; }
        .dropdown-section-label {
            display: block;
            padding: 0.5rem 1.25rem 0.25rem;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #99a2b0;
        }

        /* ── Hamburger button ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
            z-index: 1100;
        }
        .nav-hamburger span {
            display: block;
            width: 24px;
            height: 2px;
            background: #1a2332;
            border-radius: var(--r-sm);
            transition: all 0.3s ease;
            transform-origin: center;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Mobile menu overlay ── */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(26, 35, 50, 0.5);
            z-index: 1050;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .mobile-menu-overlay.open {
            display: block;
            opacity: 1;
        }

        /* ── Mobile menu panel ── */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: min(320px, 85vw);
            background: white;
            z-index: 1100;
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-3);
        }
        .mobile-menu.open { transform: translateX(0); }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e3ddd3;
        }
        .mobile-menu-header .logo-main { font-size: 1.1rem; }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            padding: 1rem 0;
            flex: 1;
        }

        .mobile-nav-links a {
            display: block;
            padding: 0.85rem 1.5rem;
            color: #1a2332;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }
        .mobile-nav-links a:hover {
            color: #ff6b4a;
            border-left-color: #ff6b4a;
            background: rgba(255, 107, 74, 0.04);
        }
        .mobile-nav-links a.premium-link {
            margin: 0.5rem 1.5rem;
            padding: 0.75rem 1.25rem;
            background: #ff6b4a;
            color: white;
            border-radius: var(--r-md);
            border-left: none;
            text-align: center;
            font-weight: 600;
        }
        .mobile-nav-links a.premium-link:hover {
            color: white;
            background: #ff5533;
        }
        .mobile-nav-links a.account-link {
            margin: 0.5rem 1.5rem;
            padding: 0.75rem 1.25rem;
            border: 1.5px solid #e3ddd3;
            border-radius: var(--r-md);
            text-align: center;
            font-weight: 600;
            color: #1a2332;
        }
        .mobile-nav-links a.account-link:hover {
            border-color: #ff6b4a;
            color: #ff6b4a;
            border-left-color: #ff6b4a;
            background: rgba(255, 107, 74, 0.04);
        }

        .mobile-section-label {
            display: block;
            padding: 0.75rem 1.5rem 0.35rem;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #99a2b0;
            margin-top: 0.5rem;
        }
        .mobile-section-label:first-child { margin-top: 0; }

        .mobile-divider {
            height: 1px;
            background: #f2ede5;
            margin: 0.5rem 1.5rem;
        }

        .mobile-nav-links a.sub-link {
            padding-left: 2.25rem;
            font-size: 0.95rem;
            color: #5a6578;
        }
        .mobile-nav-links a.sub-link:hover { color: #ff6b4a; }

        /* ── Responsive breakpoint ── */
        @media (max-width: 1100px) {
            .nav-links { display: none; }
            .nav-hamburger { display: flex; }
        }

        /* ── Mobile-only fixes (do not affect desktop) ── */
        @media (max-width: 768px) {

            /* Larger close button tap target */
            .mobile-menu-header button {
                padding: 0.6rem !important;
                font-size: 1.25rem !important;
                min-width: 44px;
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Section labels readable on mobile */
            .mobile-section-label {
                font-size: 0.8rem;
            }

            /* Footer: stack gamble-aware content neatly */
            .gamble-aware-container {
                flex-direction: column;
                align-items: center;
                gap: 0.75rem;
                text-align: center;
            }

            .gamble-aware-heading {
                font-size: 0.85rem;
            }

            .gamble-aware-text {
                font-size: 0.875rem;
            }

            /* Footer links: larger tap targets, more readable */
            .footer-links-inner {
                gap: 1rem;
                flex-direction: column;
                align-items: center;
            }

            .footer-links-bar a,
            .footer-copyright {
                font-size: 0.875rem;
                padding: 0.3rem 0;
            }

            /* Disclaimer text slightly larger */
            .gamble-disclaimer p {
                font-size: 0.8rem;
            }
        }

        /* ── Very small devices (iPhone SE etc) ── */
        @media (max-width: 380px) {
            .nav-container {
                padding: 0 1rem;
            }

            .logo-sub {
                display: none;
            }

            .gamble-aware-link {
                font-size: 0.95rem;
            }
        }

        /* ── Footer ── */
        .site-footer {
            margin-top: 4rem;
        }

        /* GambleAware bar */
        .gamble-aware-bar {
            background-color: #1a2332;
            border-top: 3px solid #ff6b4a;
            padding: 1.75rem clamp(1.5rem, 5vw, 2rem) 1.5rem;
        }
        .gamble-aware-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            text-align: center;
        }
        .gamble-aware-badge {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: 3px solid #ff6b4a;
            color: #ff6b4a;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Work Sans', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .gamble-aware-content { display: flex; flex-direction: column; gap: 0.25rem; }
        .gamble-aware-heading {
            color: #ffffff;
            font-family: 'Work Sans', sans-serif;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            margin: 0;
        }
        .gamble-aware-text { color: rgba(227, 221, 211, 0.75); font-size: 0.875rem; margin: 0; }
        .gamble-aware-link {
            color: #ffffff;
            text-decoration: none;
            font-size: 1.05rem;
            font-weight: 400;
            transition: color 0.3s ease;
            white-space: nowrap;
        }
        .gamble-aware-link strong { color: #ff6b4a; font-weight: 700; }
        .gamble-aware-link sup { color: rgba(227, 221, 211, 0.6); font-size: 0.6em; }
        .gamble-aware-link:hover { color: #ff6b4a; }

        /* Disclaimer row inside gamble bar */
        .gamble-disclaimer {
            max-width: 1400px;
            margin: 0.75rem auto 0;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }
        .gamble-disclaimer p {
            color: rgba(227, 221, 211, 0.4);
            font-size: 0.75rem;
            font-family: 'Work Sans', sans-serif;
            margin: 0;
            line-height: 1.6;
        }

        /* Footer links bar */
        .footer-links-bar {
            background-color: #0f1419;
            padding: 1rem clamp(1.5rem, 5vw, 2rem);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .footer-links-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }
        .footer-links-bar a {
            color: rgba(227, 221, 211, 0.5);
            text-decoration: none;
            font-size: 0.8rem;
            font-family: 'Work Sans', sans-serif;
            transition: color 0.2s ease;
        }
        .footer-links-bar a:hover { color: #ff6b4a; }
        .footer-copyright {
            color: rgba(227, 221, 211, 0.3);
            font-size: 0.8rem;
            font-family: 'Work Sans', sans-serif;
        }
        .drawer-cat-pill-add, .drawer-cat-pill {
            padding: 0.5rem 0.9rem;
            border-radius: var(--r-pill);
            background: transparent;
            cursor: pointer;
            font-family: 'Work Sans', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            white-space: nowrap;
        }
        .drawer-cat-pill-add { border: 1.5px dashed var(--rule); color: var(--ink-45); }
        .drawer-cat-pill { border: 1.5px solid var(--rule); color: var(--ink-70); }
        .drawer-casino-option {
            display: block;
            width: 100%;
            text-align: left;
            padding: 0.55rem 0.85rem;
            background: var(--surface);
            border: 0;
            border-bottom: 1px solid var(--rule);
            cursor: pointer;
            font-family: 'Work Sans', sans-serif;
            font-size: 0.92rem;
        }
        .drawer-casino-option strong { color: var(--ink-deep); }
        .drawer-casino-option span { color: var(--ink-45); font-size: 0.8rem; margin-left: 0.5rem; }
        .drawer-casino-option.custom { background: var(--canvas); font-size: 0.88rem; color: var(--ink-45); }
    