
        :root {
            /* Palette representing a premium Octoberfest/Beer Pub vibe combined with modern neon casino accents */
            --bg-main: #0c0805;
            --bg-surface: #17110d;
            --bg-card: #201712;
            --bg-card-hover: #2a1f18;
            
            --primary: #f5a623; /* Golden Amber Beer */
            --primary-hover: #ffb73d;
            --primary-glow: rgba(245, 166, 35, 0.25);
            
            --accent: #ff4500; /* Rich Foam/Fire Orange */
            --accent-green: #2ecc71; /* Lucky clover green */
            
            --text-main: #f3f1ed;
            --text-muted: #a69e97;
            --border-color: #382c24;
            --border-focus: #f5a623;
            
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 18px;
            --radius-round: 50px;
            
            --container-max: 1280px;
            
            /* Responsive Font Scale */
            --font-xs: clamp(0.75rem, 1.5vw, 0.85rem);
            --font-sm: clamp(0.85rem, 2vw, 0.95rem);
            --font-base: clamp(0.95rem, 2.2vw, 1.05rem);
            --font-md: clamp(1.1rem, 2.5vw, 1.3rem);
            --font-lg: clamp(1.4rem, 3.5vw, 1.8rem);
            --font-xl: clamp(1.8rem, 5vw, 3rem);
            
            --space-xs: clamp(0.5rem, 1.5vw, 0.75rem);
            --space-sm: clamp(0.75rem, 2vw, 1rem);
            --space-md: clamp(1rem, 3vw, 1.5rem);
            --space-lg: clamp(1.5rem, 4vw, 2.5rem);
            --space-xl: clamp(2rem, 6vw, 4rem);
        }

        /* Essential CSS Resets & Base Overflows */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            width: 100%;
            height: 100%;
            background-color: var(--bg-main);
            color: var(--text-main);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        img, video, iframe, svg {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
        }

        a:hover {
            color: var(--primary-hover);
        }

        ul, ol {
            list-style: none;
        }

        /* Accessibility Skip Link */
        .skip-link {
            position: absolute;
            top: -100px;
            left: 0;
            background: var(--primary);
            color: var(--bg-main);
            padding: 10px 20px;
            font-weight: bold;
            z-index: 9999;
            border-bottom-right-radius: var(--radius-sm);
        }
        .skip-link:focus {
            top: 0;
        }

        /* Buttons & CTAs */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: var(--space-xs) var(--space-md);
            font-weight: 700;
            font-size: var(--font-sm);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-radius: var(--radius-round);
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            text-align: center;
            min-width: 0;
        }

        .btn--primary {
            background-color: var(--primary);
            color: var(--bg-main);
            box-shadow: 0 4px 15px var(--primary-glow);
        }

        .btn--primary:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--primary-glow);
            color: var(--bg-main);
        }

        .btn--secondary {
            background-color: transparent;
            color: var(--text-main);
            border-color: var(--border-color);
        }

        .btn--secondary:hover {
            background-color: var(--bg-surface);
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .btn--cta {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: #fff;
            box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
            border: none;
        }

        .btn--cta:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(255, 69, 0, 0.5);
            color: #fff;
        }

        /* Header Layout & Navigation rules */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: rgba(12, 8, 5, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            padding: 10px var(--space-md);
        }

        .header-container {
            max-width: var(--container-max);
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--space-sm);
        }

        /* Flex-shrink safety on brand items */
        .brand {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: clamp(1.1rem, 4vw, 1.6rem);
            font-weight: 900;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex-shrink: 1;
        }

        .brand span {
            color: var(--primary);
        }

        .brand-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: var(--space-xs);
            flex-shrink: 0;
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            width: 40px;
            height: 40px;
            position: relative;
            z-index: 1010;
        }

        .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
            display: block;
            position: absolute;
            width: 24px;
            height: 2px;
            background: var(--text-main);
            transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
        }

        .nav-toggle span {
            top: 19px;
            left: 8px;
        }

        .nav-toggle span::before {
            content: '';
            top: -8px;
            left: 0;
        }

        .nav-toggle span::after {
            content: '';
            top: 8px;
            left: 0;
        }

        .nav-toggle[aria-expanded="true"] span {
            background: transparent;
        }
        .nav-toggle[aria-expanded="true"] span::before {
            top: 0;
            transform: rotate(45deg);
        }
        .nav-toggle[aria-expanded="true"] span::after {
            top: 0;
            transform: rotate(-45deg);
        }

        /* STRICT NAVIGATION RULE: .site-nav is a sibling of .site-header, in normal flow */
        .site-nav {
            background-color: var(--bg-surface);
            border-bottom: 1px solid var(--border-color);
            transition: max-height 0.3s ease-in-out;
            max-width: 100%;
            overflow: hidden;
        }

        .site-nav ul {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: var(--space-sm) var(--space-md);
            display: flex;
            gap: var(--space-md);
            flex-wrap: wrap;
        }

        .site-nav a {
            font-size: var(--font-sm);
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        .site-nav a:hover, .site-nav .active a {
            color: var(--primary);
        }

        /* Hero / Lead Section */
        .hero {
            background: radial-gradient(circle at 70% 30%, rgba(245,166,35,0.1) 0%, rgba(12,8,5,1) 70%), linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
            border-bottom: 1px solid var(--border-color);
            padding: var(--space-lg) 0;
            overflow: hidden;
        }

        .hero-container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--space-md);
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
            gap: var(--space-lg);
            align-items: center;
        }

        .hero-text {
            min-width: 0;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background-color: rgba(245, 166, 35, 0.1);
            border: 1px solid rgba(245, 166, 35, 0.3);
            color: var(--primary);
            padding: 6px 12px;
            border-radius: var(--radius-round);
            font-size: var(--font-xs);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: var(--space-sm);
        }

        .hero h1 {
            font-size: var(--font-xl);
            font-weight: 950;
            line-height: 1.1;
            margin-bottom: var(--space-sm);
            text-transform: uppercase;
            letter-spacing: -0.5px;
        }

        .hero h1 span {
            color: var(--primary);
            text-shadow: 0 0 30px var(--primary-glow);
        }

        .hero-desc {
            font-size: var(--font-md);
            color: var(--text-muted);
            margin-bottom: var(--space-md);
            max-width: 50ch;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-sm);
        }

        .hero-image {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .hero-image img {
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 40px rgba(245, 166, 35, 0.15);
            max-height: 400px;
            width: 100%;
            object-fit: cover;
        }

        /* Widgets Zone: Info Bar (No marquee ticker as requested) */
        .info-stats-bar {
            background-color: var(--bg-surface);
            border-bottom: 1px solid var(--border-color);
            padding: var(--space-sm) 0;
        }

        .info-stats-container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--space-md);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: var(--space-md);
        }

        .stat-card {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            background-color: var(--bg-card);
            padding: var(--space-sm);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            min-width: 0;
        }

        .stat-icon {
            font-size: var(--font-lg);
            color: var(--primary);
            background-color: rgba(245,166,35,0.08);
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .stat-data {
            min-width: 0;
        }

        .stat-val {
            font-size: var(--font-base);
            font-weight: 800;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .stat-lbl {
            font-size: var(--font-xs);
            color: var(--text-muted);
            text-transform: uppercase;
            font-weight: 600;
        }

        /* Live Wins Widget (Sticky layout friendly vanilla JS widget / sidebar integration) */
        .live-wins {
            background-color: var(--bg-card);
            border-radius: var(--radius-md);
            padding: var(--space-md);
            border: 1px solid var(--border-color);
            margin-bottom: var(--space-md);
        }

        .live-wins-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-sm);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: var(--space-xs);
        }

        .live-wins-title {
            font-size: var(--font-sm);
            text-transform: uppercase;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .live-indicator {
            width: 8px;
            height: 8px;
            background-color: var(--accent-green);
            border-radius: 50%;
            display: inline-block;
            animation: pulse-green 1.5s infinite;
        }

        @keyframes pulse-green {
            0% { transform: scale(0.9); opacity: 0.8; }
            50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--accent-green); }
            100% { transform: scale(0.9); opacity: 0.8; }
        }

        .win-row {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: var(--space-xs);
            padding: var(--space-xs) 0;
            border-bottom: 1px solid rgba(255,255,255,0.03);
            font-size: var(--font-xs);
            animation: fadeIn 0.4s ease-out;
        }

        .win-game {
            font-weight: 600;
            color: #fff;
        }

        .win-user {
            color: var(--text-muted);
        }

        .win-amount {
            font-weight: 700;
            color: var(--primary);
        }

        /* Main Structural Layout Grid */
        .main-layout {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: var(--space-lg) var(--space-md);
            display: grid;
            grid-template-columns: minmax(0, 2.7fr) minmax(0, 1.3fr);
            gap: var(--space-lg);
        }

        main, aside {
            min-width: 0; /* Critical overflow safety strut prevention */
        }

        /* Breadcrumb Navigation */
        .breadcrumbs {
            margin-bottom: var(--space-md);
        }

        .breadcrumbs ol {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            font-size: var(--font-xs);
            color: var(--text-muted);
        }

        .breadcrumbs li:not(:last-child)::after {
            content: "•";
            margin-left: 8px;
            color: var(--border-color);
        }

        .breadcrumbs a {
            color: var(--text-muted);
        }

        .breadcrumbs a:hover {
            color: var(--primary);
        }

        /* Article Prose Layout Support Rules (Safe for arbitrary formatting blocks) */
        article {
            min-width: 0;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        article h2 {
            font-size: var(--font-lg);
            margin: var(--space-lg) 0 var(--space-sm) 0;
            color: #fff;
            border-left: 4px solid var(--primary);
            padding-left: 12px;
            text-transform: uppercase;
        }

        article h3 {
            font-size: var(--font-md);
            margin: var(--space-md) 0 var(--space-xs) 0;
            color: var(--primary);
        }

        article p {
            font-size: var(--font-base);
            color: var(--text-muted);
            margin-bottom: var(--space-sm);
            line-height: 1.7;
        }

        article ul, article ol {
            margin-bottom: var(--space-md);
            padding-left: var(--space-md);
        }

        article ul {
            list-style-type: square;
        }

        article li {
            font-size: var(--font-base);
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        article img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-md);
            margin: var(--space-md) 0;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            border: 1px solid var(--border-color);
        }

        /* Responsive Safe Tables & Pre Inside Article */
        article table {
            display: block;
            width: 100%;
            overflow-x: auto;
            max-width: 100%;
            border-collapse: collapse;
            margin: var(--space-md) 0;
            background-color: var(--bg-surface);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        article th, article td {
            padding: var(--space-sm);
            text-align: left;
            border-bottom: 1px solid var(--border-color);
            font-size: var(--font-sm);
        }

        article th {
            background-color: rgba(245,166,35,0.05);
            color: #fff;
            font-weight: 700;
        }

        article tr:last-child td {
            border-bottom: none;
        }

        article pre {
            overflow-x: auto;
            max-width: 100%;
            background-color: #050302;
            padding: var(--space-sm);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            margin-bottom: var(--space-md);
        }

        article code {
            font-family: monospace;
            word-break: break-all;
            color: var(--primary);
        }

        /* Slots Grid Widget (Required: Minimum 20 slot items) */
        .slots-section {
            background-color: var(--bg-surface);
            border-radius: var(--radius-lg);
            padding: var(--space-md);
            border: 1px solid var(--border-color);
            margin-bottom: var(--space-lg);
        }

        .slots-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--space-md);
            flex-wrap: wrap;
            gap: var(--space-sm);
        }

        .slots-title-area {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .slots-title-area h2 {
            font-size: var(--font-md);
            text-transform: uppercase;
            font-weight: 900;
            color: #fff;
            margin: 0;
            border-left: 4px solid var(--primary);
            padding-left: 10px;
        }

        .slots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: var(--space-sm);
        }

        .slot-card {
            background-color: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            position: relative;
            min-width: 0;
        }

        .slot-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
            box-shadow: 0 10px 20px rgba(245, 166, 35, 0.15);
        }

        .slot-thumb {
            aspect-ratio: 1/1;
            background-color: #1a120c;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slot-thumb svg {
            width: 50%;
            height: auto;
            opacity: 0.25;
            transition: transform 0.3s ease;
        }

        .slot-card:hover .slot-thumb svg {
            transform: scale(1.1);
            opacity: 0.5;
        }

        .slot-badge {
            position: absolute;
            top: 6px;
            left: 6px;
            background-color: var(--accent);
            color: #fff;
            font-size: 8px;
            text-transform: uppercase;
            font-weight: 900;
            padding: 2px 6px;
            border-radius: var(--radius-sm);
            z-index: 2;
        }

        .slot-info {
            padding: 8px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            min-width: 0;
        }

        .slot-title {
            font-size: 11px;
            font-weight: 700;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }

        .slot-provider {
            font-size: 9px;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: var(--space-xs);
        }

        /* Standardized Play Overlay on Hover */
        .slot-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 3;
        }

        .slot-card:hover .slot-overlay {
            opacity: 1;
        }

        /* Sidebar Widgets & Sticky Cards */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
        }

        .cta-card {
            background: linear-gradient(135deg, var(--bg-card) 0%, rgba(56, 44, 36, 0.4) 100%);
            border: 2px solid var(--primary);
            border-radius: var(--radius-lg);
            padding: var(--space-md);
            text-align: center;
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
            position: relative;
            overflow: hidden;
        }

        .cta-card::before {
            content: '🍺';
            position: absolute;
            font-size: 120px;
            opacity: 0.04;
            right: -20px;
            bottom: -20px;
        }

        .cta-card-title {
            font-size: var(--font-md);
            font-weight: 900;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: var(--space-xs);
        }

        .cta-card-desc {
            font-size: var(--font-xs);
            color: var(--text-muted);
            margin-bottom: var(--space-md);
        }

        .cta-card-badge {
            display: inline-block;
            background-color: var(--accent);
            color: #fff;
            font-size: 10px;
            text-transform: uppercase;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: var(--radius-sm);
            margin-bottom: var(--space-sm);
        }

        /* Sidebar Navigation / Related links */
        .sidebar-links {
            background-color: var(--bg-card);
            border-radius: var(--radius-md);
            padding: var(--space-md);
            border: 1px solid var(--border-color);
        }

        .sidebar-links-title {
            font-size: var(--font-sm);
            text-transform: uppercase;
            font-weight: 800;
            margin-bottom: var(--space-sm);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 6px;
        }

        .sidebar-links ul {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sidebar-links a {
            font-size: var(--font-xs);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .sidebar-links a::after {
            content: '→';
            opacity: 0.5;
            transition: transform 0.2s;
        }

        .sidebar-links a:hover {
            color: var(--primary);
        }

        .sidebar-links a:hover::after {
            transform: translateX(3px);
            opacity: 1;
        }

        /* Footer Vibe Styles & Layout */
        .site-footer {
            background-color: #070503;
            border-top: 2px solid var(--border-color);
            margin-top: var(--space-xl);
            padding: var(--space-lg) 0 var(--space-md) 0;
        }

        .footer-container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--space-md);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: var(--space-lg);
            margin-bottom: var(--space-lg);
        }

        .footer-col {
            min-width: 0;
        }

        .footer-brand {
            margin-bottom: var(--space-sm);
        }

        .footer-desc {
            font-size: var(--font-xs);
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: var(--space-sm);
        }

        .footer-title {
            font-size: var(--font-sm);
            text-transform: uppercase;
            font-weight: 800;
            color: #fff;
            margin-bottom: var(--space-md);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-links a {
            font-size: var(--font-xs);
            color: var(--text-muted);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-legal-text {
            font-size: 11px;
            color: var(--text-muted);
            line-height: 1.6;
            background-color: rgba(255,255,255,0.02);
            padding: var(--space-sm);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: var(--space-md);
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: var(--space-md);
            padding-right: var(--space-md);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: var(--space-sm);
        }

        .copyright {
            font-size: var(--font-xs);
            color: var(--text-muted);
        }

        /* Red Warning Area Required (Responsible Gambling Vibe) */
        .footer-disclaimer-box {
            max-width: var(--container-max);
            margin: 0 auto var(--space-lg) auto;
            padding: 0 var(--space-md);
        }

        .disclaimer-inner {
            background-color: rgba(255, 69, 0, 0.05);
            border: 1px dashed rgba(255, 69, 0, 0.3);
            border-radius: var(--radius-md);
            padding: var(--space-sm) var(--space-md);
            display: flex;
            align-items: center;
            gap: var(--space-sm);
        }

        .disclaimer-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .disclaimer-text {
            font-size: var(--font-xs);
            color: var(--text-muted);
            line-height: 1.4;
        }

        .disclaimer-text strong {
            color: var(--accent);
        }

        /* Mobile Adaptation - Phone First Base System overrides */
        @media (max-width: 1024px) {
            .main-layout {
                grid-template-columns: minmax(0, 1fr);
            }
            .sidebar {
                grid-row: 1; /* Place sidebar and main core buttons above content on mobile */
            }
        }

        @media (max-width: 768px) {
            .hero-container {
                grid-template-columns: minmax(0, 1fr);
            }
            .hero-image {
                display: none; /* Hide secondary graphics on mobile screens */
            }
            .site-header {
                padding: 10px 12px;
            }
            .nav-toggle {
                display: block; /* Show hamburger toggle */
            }
            .site-nav {
                display: none; /* Collapsed by default */
                border-bottom: 2px solid var(--primary);
            }
            .site-nav--open {
                display: block;
            }
            .site-nav ul {
                flex-direction: column;
                gap: 12px;
                padding: var(--space-sm) 12px;
            }
            .header-actions .btn--secondary {
                display: none; /* Save space for logo on standard viewports */
            }
        }

        @media (max-width: 480px) {
            .footer-container {
                grid-template-columns: minmax(0, 1fr);
            }
        }
    
/* engine safety: menu must never be trapped in sticky/fixed */
.site-nav,.site-nav *{position:static !important}


html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ overflow-x:hidden; }
img,video,iframe,svg{ max-width:100%; height:auto; }
main,article,section,aside,header,nav,footer{ min-width:0; }
@media (max-width:768px){
  [class*="layout"],[class*="container"],[class*="grid"],[class*="content"],[class*="wrapper"],[class*="main"],[class*="row"]{ min-width:0; }
  pre,table{ min-width:0; max-width:100%; }
  pre{ overflow-x:auto; }
  table{ display:block; overflow-x:auto; }
  code,kbd,samp{ word-break:break-word; }
  [class*="ticker"]{ overflow:hidden; }
  [class*="ticker"] *{ min-width:0; }
}
