/* Page CSS module for gta5-characters.html, gta5-map-guide.html, gta5-money.html, gta5-tips.html, gta5-vehicles.html. Shared tokens/components live in ../style.css. */
        * { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; }
        body { font-family: 'DM Sans', sans-serif; font-size: var(--type-body); font-weight: 400; line-height: 1.7; letter-spacing: 0.005em; font-feature-settings: "cv01", "ss03", "liga", "calt"; font-optical-sizing: auto; background-color: var(--bg-primary); color: var(--text-primary); margin: 0; min-height: 100vh; min-height: 100dvh; line-height: 1.6; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; overflow-x: hidden; }
        body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 20% 50%, rgba(255, 77, 138, 0.03) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.02) 0%, transparent 50%); pointer-events: none; z-index: 0; }
        a { color: var(--accent-primary); text-decoration: none; } a:hover { color: var(--accent-secondary); }
        nav { padding: 0.75rem 0; border-bottom: 1px solid var(--border-subtle); position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
        main { position: relative; z-index: 1; padding-bottom: 4rem; max-width: 1100px; margin-inline: auto; padding-top: 6rem; padding-inline: 1.5rem; display: flex; flex-direction: column; align-items: center; }
        main > * { width: 100%; }
        .prose { color: var(--text-primary); }
        .prose h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: var(--type-h1); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; text-wrap: balance; }
        .prose h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: var(--type-h2); line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text-primary); text-wrap: balance; }
        .prose h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: var(--type-h4); line-height: 1.35; margin-top: 1.5rem; margin-bottom: 0.75rem; }
        .prose p { line-height: 1.7; margin-bottom: 1rem; }
        .prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
        .prose li { margin-bottom: 0.5rem; line-height: 1.7; }
        .prose strong { color: var(--accent-primary); }

        /* Catalog tables (vehicle database + future data tables) */
        .prose table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.85rem; line-height: 1.5; }
        .prose thead th { position: -webkit-sticky; position: sticky; top: 0; background: var(--bg-secondary); color: var(--text-primary); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; padding: 0.75rem 0.875rem; border-bottom: 2px solid var(--border-color); vertical-align: top; }
        .prose tbody td { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--border-color); vertical-align: top; overflow-wrap: break-word; }
        .prose tbody tr:nth-child(even) td { background: var(--bg-tertiary); }
        .prose tbody tr:hover td { background: var(--bg-accent); }
        .prose td small { color: var(--text-muted); font-size: 0.75rem; }
        .prose table img { max-width: 160px; height: auto; border-radius: 8px; }
        .prose table a { overflow-wrap: break-word; }

        /* Responsive table container: wide on desktop/tablet, scrolls x on mobile, y-scroll with sticky header */
        .prose .table-wrap { overflow-x: auto; overflow-y: auto; max-height: 70vh; touch-action: pan-y; -webkit-overflow-scrolling: touch; /* JS pan (table-pan.js) handles horizontal touch drag; browser keeps vertical page scroll */ max-width: 100%; border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 2rem; }
        .prose .table-wrap table { margin: 0; }
        .prose .table-wrap thead th { top: 0; z-index: 2; }
        @media (max-width: 767px) {
            .prose .table-wrap { max-height: 60vh; }
        }


        figure { margin: 0 0 2rem; } figure img { border-radius: 12px; border: 1px solid var(--border-subtle); box-shadow: var(--glass-shadow); width: 100%; }
        .game-meta { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; font-size: var(--type-overline); line-height: 1.2; color: var(--accent-primary); display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
        .game-meta span { background: var(--bg-accent); padding: 0.2rem 0.5rem; border-radius: 3px; }
        .tag { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; font-size: var(--type-overline); line-height: 1.2; color: var(--accent-primary); display: inline-flex; padding: 0.22rem 0.55rem; margin: 0.1rem; border: 1px solid var(--border-subtle); border-radius: 999px; color: var(--text-secondary); background: rgba(255,255,255,0.035); font-size: 0.68rem; }
        .neon-text { color: var(--text-primary); text-shadow: 0 1px 22px rgba(255, 77, 138, 0.16); }
        footer { border-top: 1px solid var(--border-subtle); padding: 2rem 0; text-align: center; }
        footer p { color: var(--text-secondary); font-size: 0.85rem; }
        footer .footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.5rem; }
        footer .footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
        footer .footer-links a:hover { color: var(--accent-primary); }
        .scroll-top { position: fixed; bottom: calc(var(--bottom-chrome, 0px) + var(--space-6)); right: 2rem; width: 48px; height: 48px; background: var(--accent-primary); color: var(--on-accent); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(255, 77, 138, 0.3); transition: all 0.3s ease; opacity: 0; visibility: hidden; z-index: 200; font-size: 1.2rem; }
        .scroll-top:hover { background: var(--accent-secondary); transform: translateY(-4px); }
        .scroll-top.visible { opacity: 1; visibility: visible; }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
