/* ===========================================================
   DUMBBELL GAMES — TACTICAL MONO THEME
   Black & white / hard military minimalism / EVA-style type
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #050505;
    --bg-soft: #090909;
    --bg-panel: #0b0b0b;
    --bg-raise: #101010;

    --line: #1f1f1f;
    --line-strong: #333333;

    --text: #e8e8e8;
    --text-dim: #969696;
    /* Readable third tier: dates, counters, labels, placeholders.
       #565656 measured 2.8:1 on the near-black field — below AA for any size. */
    --text-faint: #8a8a8a;
    /* Purely decorative marks (the "//" separators, card index numbers).
       They carry no information, so the old value stays as an accent. */
    --text-ghost: #565656;

    --white: #ffffff;
    --accent: #ffffff;
    --ok: #ffffff;

    --font: 'JetBrains Mono', 'Consolas', monospace;
    --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;

    /* NERV corner cut for filled elements */
    --cut: 10px;
    --cut-shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));

    --header-h: 58px;
    --container: 1440px;

    /* legacy aliases (old inline styles safety net) */
    --black: #050505;
    --bg-dark: #090909;
    --bg-darker: #050505;
    --bg-card: #0b0b0b;
    --grey-darkest: #101010;
    --grey-dark: #1f1f1f;
    --grey-mid: #565656;
    --grey-light: #969696;
    --grey-lighter: #c4c4c4;
    --military-green: #ffffff;
    --military-green-glow: rgba(255, 255, 255, 0.2);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

/* Near-black field, holo scanlines, sweep beam, vignette */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--bg);
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.02) 3px,
        rgba(255, 255, 255, 0.02) 4px);
}
/* slow holographic sweep beam */
.grid-bg::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -160px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.035), transparent);
    animation: holo-sweep 10s linear infinite;
}
@keyframes holo-sweep {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(100vh + 320px)); }
}
.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 75% at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
}

/* holographic flicker (very subtle, occasional) */
@keyframes holo-flicker {
    0%, 89%, 91.5%, 100% { opacity: 1; }
    90% { opacity: 0.78; }
    91% { opacity: 0.92; }
    96% { opacity: 1; }
    96.5% { opacity: 0.85; }
    97% { opacity: 1; }
}

/* Images now ship intrinsic width/height attributes (so the browser can reserve
   their box); height:auto keeps them fluid instead of locking the coded height. */
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--white); color: #000; }

::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

/* Hazard stripe utility (white/black diagonals) */
.hazard,
.hazard-strip {
    height: 8px;
    background: repeating-linear-gradient(
        -45deg,
        var(--white) 0px,
        var(--white) 10px,
        transparent 10px,
        transparent 20px);
    opacity: 0.85;
}

/* ---------- Type helpers ---------- */
.mono-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.slash { color: var(--text-ghost); }

.chip {
    display: inline-block;
    background: var(--white);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 15px;
    line-height: 1.4;
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.45));
    animation: holo-flicker 7s infinite;
}

.chip-outline {
    display: inline-block;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 4px 10px;
    line-height: 1.4;
}

.ok-text {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: pulse-dot 2s infinite;
}


/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    user-select: none;
}

.btn-primary {
    background: var(--white);
    color: #000;
    border-color: transparent;
    clip-path: var(--cut-shape);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}
.btn-primary:hover {
    background: var(--text-dim);
    color: #000;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.55));
}

.btn-secondary:hover,
.btn-ghost:hover {
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12), inset 0 0 14px rgba(255, 255, 255, 0.05);
}

.btn-secondary,
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}
.btn-secondary:hover,
.btn-ghost:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 11px; }

.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 120px;
    height: 3px;
    background: repeating-linear-gradient(
        -45deg,
        var(--white) 0px,
        var(--white) 6px,
        transparent 6px,
        transparent 12px);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 56px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 30px; width: auto; display: block; }

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
    flex: 1;
}

.nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 6px 0;
    position: relative;
    transition: color 0.15s;
}

.nav a:hover { color: var(--white); }

.nav a.active { color: var(--white); }
.nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--white);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    text-transform: uppercase;
    white-space: nowrap;
}
.header-status .dot {
    width: 6px; height: 6px;
    background: var(--white);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

main.page { padding-top: var(--header-h); }

/* ---------- Section bar ---------- */
.section-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 34px;
    position: relative;
}
.section-bar::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.section-bar .bar-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.section-bar .bar-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: var(--white);
    letter-spacing: 0.04em;
}
.section-bar .bar-num .slash { display: none; }
.section-bar .bar-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
}
.section-bar .bar-sub {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--text-faint);
    text-transform: uppercase;
}
.section-bar .bar-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, gap 0.15s;
}
.section-bar .bar-link:hover { color: var(--white); gap: 12px; }

/* ---------- HERO / OPERATION (home, contained) ---------- */
.hero-op {
    padding: 64px 0 46px;
    border-bottom: 1px solid var(--line);
}

.op-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-faint);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 46px;
}
.op-topline .ok-text { letter-spacing: inherit; }

.op-grid {
    display: grid;
    grid-template-columns: minmax(400px, 1fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}
/* A grid item's default min-width is auto, so a long tagline in the briefing
   column stretched the whole page to 685px on a 390px screen. */
.op-grid > * { min-width: 0; }

.hero-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    min-width: 0;
}
.hero-label .genre {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    /* Wrapping beats an ellipsis on narrow screens: the genre is the only
       thing that says what kind of game this is. */
    overflow-wrap: anywhere;
    max-width: 100%;
    min-width: 0;
    flex: 1;
}
@media (min-width: 1025px) {
    .hero-label .genre {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 5vw, 80px);
    letter-spacing: 0.03em;
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 26px;
    min-height: 1.05em;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.35), 0 0 60px rgba(255, 255, 255, 0.12);
    animation: holo-flicker 9s infinite;
}

.hero-desc {
    position: relative;
    font-size: 13px;
    line-height: 1.85;
    color: var(--text-dim);
    padding-left: 20px;
    border-left: 2px solid var(--white);
    box-shadow: inset 3px 0 12px -6px rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin-bottom: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Direct store links in hero — commerce must stay obvious */
.hero-stores {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    min-height: 38px;
}
.hero-stores .hs-label {
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-right: 4px;
}
.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 0.18s;
}
.store-pill i { font-size: 14px; }
.store-pill:hover {
    background: var(--white);
    border-color: var(--white);
    color: #000;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* Targeting frame media viewer */
.op-media { min-width: 0; }

.media-frame {
    position: relative;
    /* exact Steam capsule ratio — capsules land edge to edge; wider/taller shots crop to fill */
    aspect-ratio: 460 / 215;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.28);
    outline: 1px solid var(--line);
    outline-offset: 5px;
    overflow: hidden;
    box-shadow: 0 0 34px rgba(255, 255, 255, 0.07), inset 0 0 50px rgba(255, 255, 255, 0.04);
    transition: aspect-ratio 0.45s ease;
}

/* trailer playing — frame grows to 16:9 so combat footage isn't cropped */
.media-frame.video-mode {
    aspect-ratio: 16 / 9;
}
.media-frame.video-mode .media-slide video {
    object-fit: contain; /* odd-ratio trailers letterbox instead of cropping */
}

/* projection scanlines over the feed */
.media-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.035) 0px,
        rgba(255, 255, 255, 0.035) 1px,
        transparent 1px,
        transparent 3px);
    animation: holo-flicker 6s infinite;
}

/* corner brackets (targeting reticle) */
.media-frame .fb {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 0 solid var(--white);
    z-index: 6;
    pointer-events: none;
}
.media-frame .fb.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.media-frame .fb.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.media-frame .fb.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.media-frame .fb.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }
.media-frame .fb { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); }

/* center cross */
.media-frame::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 20px;
    font-weight: 400;
    z-index: 5;
    pointer-events: none;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.media-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.media-slide.active { opacity: 1; }
.media-slide img,
.media-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.media-slide .media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: var(--line-strong);
}

/* data strip under frame */
.media-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-top: none;
    padding: 10px 14px;
    font-size: 9.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.media-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.media-dots button {
    width: 18px;
    height: 3px;
    border: none;
    background: var(--line-strong);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}
.media-dots button.active { background: var(--white); width: 30px; }

/* ---------- MISSION ROSTER (selector, EVA episode-list style) ---------- */
.mission-roster { padding: 30px 0 50px; }

.sys-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
}
.sys-row .sys-status b { color: var(--white); font-weight: 600; animation: pulse-dot 2s infinite; }

.mission-list {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(3px);
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.04);
}

.mission-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    cursor: pointer;
    color: var(--text-faint);
    transition: color 0.15s, background 0.15s, padding-left 0.2s;
    overflow: hidden;
}
.mission-row:last-child { border-bottom: none; }

.mission-row .mr-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    min-width: 46px;
    color: inherit;
    letter-spacing: 0.06em;
}
.mission-row .mr-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mission-row .mr-status {
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    visibility: hidden;
}

.mission-row:hover { color: var(--text); padding-left: 26px; }

.mission-row.active {
    background: var(--white);
    color: #000;
    clip-path: var(--cut-shape);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.4));
    animation: holo-flicker 8s infinite;
}
.mission-row.active .mr-status { visibility: visible; animation: pulse-dot 1.6s infinite; }

.mission-row .tab-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--white);
}
.mission-row.active .tab-progress { background: #000; animation: tab-progress 9s linear forwards; }
@keyframes tab-progress { from { width: 0; } to { width: 100%; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section.no-border { border-top: none; }

/* ---------- Game cards grid ---------- */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 22px;
}

.game-card {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(3px);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    position: relative;
}
.game-card:hover {
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.1), inset 0 0 24px rgba(255, 255, 255, 0.03);
}

/* projection scanlines over cover art */
.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 3px);
}

.card-media {
    position: relative;
    aspect-ratio: 460 / 215; /* Steam capsule ratio — capsules fill the stage 1:1 */
    background-color: #000;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.card-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s;
    filter: grayscale(45%);
}
.game-card:hover .card-media img { transform: scale(1.03); filter: grayscale(0%); }

/* ---- Mobile unit card: portrait-shot triptych + true-to-size app icon ---- */
.mobile-media .mm-shots {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}
.mobile-media .mm-shots img {
    filter: grayscale(70%) brightness(0.42);
}
.game-card:hover .mobile-media .mm-shots img {
    transform: scale(1.03);
    filter: grayscale(20%) brightness(0.55);
}
.mobile-media .mm-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid var(--line-strong);
    outline-offset: 4px;
    background: #000;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.16), 0 10px 30px rgba(0, 0, 0, 0.65);
}
.mobile-media .mm-icon img {
    filter: none;
}
.game-card:hover .mobile-media .mm-icon img {
    transform: none;
    filter: none;
}
.mobile-media .mm-tag {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 3px 10px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid var(--line-strong);
}

.card-media .card-placeholder {
    width: 100%;
    aspect-ratio: 460 / 215; /* Steam capsule ratio */
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--line-strong);
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 3;
}
.badge {
    background: var(--white);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 4px 11px;
    text-transform: uppercase;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.badge.dim { background: rgba(0,0,0,0.8); color: var(--text); border: 1px solid var(--line-strong); }
.badge.sale { background: #4c6b22; color: #beee11; font-size: 11px; }

.card-body { padding: 18px 20px 20px; }

.card-index {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--text-ghost);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.15;
}

.card-tagline {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.card-platforms {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--text-faint);
    font-size: 14px;
}
.card-platforms i { transition: color 0.15s; }
.game-card:hover .card-platforms i { color: var(--text-dim); }

/* Live Steam review score on cards */
.card-review {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
}
.card-review .cr-count { color: var(--text-faint); }
.card-review.positive i { color: #66c0f4; }
.card-review.mixed i { color: #b9a074; }
.card-review.negative i { color: #c15755; }

/* ---------- Filter row (games page) ---------- */
.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-row .filter-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-right: 8px;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: normal; /* <a> would otherwise inherit body's 1.6 and grow */
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.18s;
}
.filter-btn:hover { border-color: var(--white); color: var(--white); }
.filter-btn.active {
    background: var(--white);
    border-color: var(--white);
    color: #000;
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

/* ---------- Page head (interior pages) ---------- */
.page-head {
    padding: 84px 0 54px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.page-head .ph-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.page-head h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 5.2vw, 78px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 0.98;
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.1);
}
.page-head .ph-sub {
    margin-top: 16px;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    max-width: 640px;
    line-height: 1.8;
}

/* ---------- Panels ---------- */
.panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.022);
    backdrop-filter: blur(3px);
    outline: 1px solid var(--line);
    outline-offset: 4px;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.04), inset 0 0 30px rgba(255, 255, 255, 0.02);
}
.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.02);
}
.panel-header .dot {
    width: 6px; height: 6px;
    background: var(--white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
.panel-body { padding: 30px; }

/* Key-value rows */
.kv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.kv .kv-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 5px;
}
.kv .kv-value {
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.04em;
}
.kv .kv-value.big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--white);
}

/* ---------- Stats ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.stat-cell {
    background: var(--bg);
    padding: 30px 24px;
    text-align: center;
    position: relative;
}
.stat-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    background: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}
.stat-cell .stat-num { text-shadow: 0 0 18px rgba(255, 255, 255, 0.3); }
.stat-cell .stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 0.04em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat-cell .stat-label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 22px; }
.form-field label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 9px;
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 1px var(--white);
}
.form-field textarea { resize: vertical; min-height: 150px; }

.form-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    background: var(--bg-raise);
    font-size: 12.5px;
    color: var(--text);
    margin-bottom: 24px;
}
.form-alert.error { border-color: #6e2b2b; background: rgba(150, 40, 40, 0.08); }
.form-alert.error i { color: #ff7070; }
.form-alert.success { border-color: var(--white); background: rgba(255, 255, 255, 0.04); }
.form-alert.success i { color: var(--white); }

/* ---------- Social icon buttons ---------- */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    font-size: 17px;
    transition: all 0.18s;
    background: transparent;
}
.social-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: #000;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.4);
    margin-top: auto;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 120px;
    height: 3px;
    background: repeating-linear-gradient(
        -45deg,
        var(--white) 0px,
        var(--white) 6px,
        transparent 6px,
        transparent 12px);
}

.footer-cta {
    border-bottom: 1px solid var(--line);
    padding: 48px 0;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-cta h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-cta p { font-size: 12.5px; color: var(--text-dim); max-width: 460px; }

.footer-main { padding: 56px 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-col .col-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 20px;
}
.footer-col .col-label .slash { margin-right: 6px; }
.footer-logo img { height: 34px; width: auto; margin-bottom: 16px; opacity: 0.95; }
.footer-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.8; max-width: 320px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.15s, padding-left 0.15s;
}
.footer-links a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.footer-bottom .status { display: flex; align-items: center; gap: 10px; }
.footer-bottom .dot {
    width: 6px; height: 6px;
    background: var(--white);
    animation: pulse-dot 2s infinite;
}

/* ---------- Carousel (game page) ---------- */
.shots-carousel { position: relative; }
.carousel-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #000;
}
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; }
.slide-frame { position: relative; cursor: pointer; }
.slide-frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.25s;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.slide-overlay i { font-size: 30px; }
.slide-frame:hover .slide-overlay { opacity: 1; }

.carousel-nav {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.carousel-nav:hover { background: var(--white); border-color: var(--white); color: #000; }

.carousel-thumbs {
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.thumbs-track { display: flex; gap: 10px; padding: 4px 0; }
.thumb-item {
    flex-shrink: 0;
    width: 118px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--line);
    transition: all 0.18s;
    overflow: hidden;
    opacity: 0.5;
}
.thumb-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    filter: grayscale(60%);
}
.thumb-item:hover, .thumb-item.active { border-color: var(--white); opacity: 1; }
.thumb-item:hover img, .thumb-item.active img { filter: grayscale(0%); }
.thumb-index {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--text);
    font-size: 9px;
    padding: 2px 6px;
    letter-spacing: 0.1em;
}

.carousel-counter {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 0.34em;
}
.carousel-counter #current-slide,
.carousel-counter .current { color: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* Fade out first, then hide. Transitioning visibility with `all` left the
       panel un-focusable for a frame, so opening it could not move the caret
       to the close button. */
    transition: opacity 0.25s, visibility 0s 0.25s;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s, visibility 0s;
}
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 18px;
}
.lightbox-content img,
.lightbox > img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid var(--line-strong);
}
.lightbox-close {
    position: absolute;
    top: -52px;
    right: 0;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    /* Named properties, not `all`: with `all` the visibility these buttons
       inherit from the panel is transitioned too, so the close button was
       still un-focusable at the moment the dialog opened. */
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover { background: var(--white); border-color: var(--white); color: #000; }
.lightbox-nav {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    width: 46px;
    height: 46px;
    cursor: pointer;
    font-size: 17px;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    flex-shrink: 0;
}
.lightbox-nav:hover { background: var(--white); border-color: var(--white); color: #000; }
.lightbox-counter {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 0.3em;
}

/* ---------- Accessibility: tap targets ----------
   Several controls are deliberately hairline-thin or icon-sized. Rather than
   inflate them (and the layout), they get a transparent overlay that extends
   the hit area to at least 24x24 without moving a single pixel. */
.media-dots button,
.section-bar .bar-link,
.game-breadcrumb a,
.nav a.nav-search,
.asset-bar a,
.x-feed-head .x-follow,
a.tl-title { position: relative; }

.media-dots button::after,
.section-bar .bar-link::after,
.game-breadcrumb a::after,
.nav a.nav-search::after,
.asset-bar a::after,
.x-feed-head .x-follow::after,
a.tl-title::after {
    content: "";
    position: absolute;
    inset: -4px 0;
}
.media-dots button::after { inset: -11px -4px; }
.nav a.nav-search::after { inset: 0 -6px; }
.asset-bar a::after { inset: -4px -6px; }
a.tl-title::after { inset: -3px 0; }
.x-feed-head .x-follow::after { inset: -5px 0; }

/* Footer links: real padding for the touch target, pulled back out with a
   negative margin so the list keeps exactly the rhythm it had. */
.footer-links a { display: inline-block; padding: 4px 0; margin: -4px 0; }
/* The logo link's own box is only a line tall; the overlay covers the image */
.footer-logo { position: relative; }
.footer-logo::after { content: ""; position: absolute; inset: 0 0 -20px 0; }

/* Screen-reader-only section headings, so a card grid is not an orphan h3 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Accessibility: focus + skip link ---------- */
:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
.game-card:focus-visible,
.social-btn:focus-visible,
.mission-row:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--white);
    color: #000;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------- Reveal on scroll ---------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* No-JS fallback: IntersectionObserver never runs, so reveal content stays hidden.
   Force everything visible when scripting is disabled. */
.no-js .reveal-on-scroll { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
    .reveal-on-scroll { opacity: 1; transform: none; }
}

/* ---------- Empty state ---------- */
.empty-state {
    border: 1px dashed var(--line-strong);
    text-align: center;
    padding: 90px 30px;
}
.empty-state i { font-size: 44px; color: var(--line-strong); margin-bottom: 22px; }
.empty-state p {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.empty-state p:first-of-type { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .container { padding: 0 32px; }
    .op-grid { gap: 48px; }
}

@media (max-width: 1024px) {
    .op-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .kv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .header .container { gap: 20px; justify-content: space-between; }
    .header-status { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(5, 5, 5, 0.98);
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 16px;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s;
    }
    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav a:last-child { border-bottom: none; }
    .nav a.active::after { display: none; }

    .hero-op { padding: 40px 0 30px; }
    .op-topline { margin-bottom: 30px; }
    .hero-actions .btn { flex: 1; min-width: 150px; }

    .mission-row { gap: 16px; padding: 14px 12px; }
    .mission-row .mr-num { font-size: 18px; min-width: 32px; }
    .mission-row .mr-name { font-size: 11px; letter-spacing: 0.14em; }
    .mission-row .mr-status { display: none; }
    .mission-row:hover { padding-left: 12px; }

    .section { padding: 60px 0; }
    .page-head { padding: 52px 0 38px; }

    .section-bar .bar-num { font-size: 22px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }

    .carousel-nav { display: none; }
    .stat-cell .stat-num { font-size: 26px; }
}

@media (max-width: 480px) {
    .game-grid { grid-template-columns: 1fr; }
}

/* <picture> wrappers must be layout-transparent so img rules keep working */
picture { display: contents; }

/* ---------- Newsletter signup ---------- */
.nl-form {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    max-width: 440px;
}
.nl-form input[type="email"] {
    flex: 1;
    min-width: 0;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--line-strong);
    color: var(--white);
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-form input[type="email"]::placeholder { color: var(--text-dim); }
.nl-form input[type="email"]:focus {
    border-color: var(--white);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}
.nl-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-status { margin-top: 12px; min-height: 14px; }

@media (max-width: 480px) {
    .nl-form { flex-direction: column; }
}

/* Genre tags (game cards + game detail) */
.card-genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.genre-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--line);
    color: var(--text-faint);
    white-space: nowrap;
}
.game-card:hover .genre-tag { border-color: var(--line-strong); color: var(--text-dim); }

/* ===========================================================
   PAGE MODULES
   Everything below used to live in a per-page <style> block.
   Order matters: shared rules first, then per-page overrides
   scoped with the .page-<name> class that header.php emits.
   =========================================================== */

/* ---------- Rich text authored elsewhere (Steam imports, admin editor) ---------- */
/* Remote media arrives with hard-coded pixel widths — clamp it to the column. */
.game-description img,
.game-description video,
.game-description iframe,
.game-description .bb_img_ctn { max-width: 100%; height: auto; }

.game-description {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}
.game-description img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 28px auto !important;
    border: 1px solid var(--line-strong);
    float: none !important;
}
.game-description h1,
.game-description h2,
.game-description h3,
.game-description h4 {
    color: var(--white);
    margin: 34px 0 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clear: both;
}
.game-description ul,
.game-description ol { margin: 16px 0 16px 24px; }
.game-description li { margin-bottom: 8px; }
.game-description a { color: var(--white); text-decoration: underline; }
.game-description strong,
.game-description b { color: var(--text); }
.game-description p { margin-bottom: 16px; }
.game-description::after { content: ""; display: table; clear: both; }
.game-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 12.5px;
}
.game-description th,
.game-description td {
    border: 1px solid var(--line);
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}
.game-description th { color: var(--white); font-weight: 700; background: rgba(255, 255, 255, 0.03); }
.game-description hr {
    border: none;
    border-top: 1px solid var(--line-strong);
    margin: 28px 0;
}
.game-description pre,
.game-description code {
    font-family: var(--font);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}
.game-description code { padding: 1px 5px; }
.game-description pre { padding: 14px 16px; margin: 18px 0; overflow-x: auto; }
/* Steam [spoiler]: blacked out until the reader asks for it */
.spoiler {
    background: var(--white);
    color: var(--white);
    transition: color 0.15s;
}
.spoiler:hover,
.spoiler:focus { color: #000; }
/* Breadcrumb strip — game page, press kit and news articles share it */
.game-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    padding: 12px 20px;
    margin-bottom: 44px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.game-breadcrumb .bar-left { display: flex; align-items: center; gap: 10px; }
.game-breadcrumb a { color: var(--text-dim); transition: color 0.15s; }
.game-breadcrumb a:hover { color: var(--white); }
.game-breadcrumb .current { color: var(--white); font-weight: 600; }

/* Media tiles — shared by the press kit and the game page's local screenshots */
.shots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.shot-tile {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    overflow: hidden;
}
.shot-tile img { width: 100%; height: auto; display: block; }

.trailer-frame {
    border: 1px solid var(--line-strong);
    background: #000;
}
.trailer-frame video { width: 100%; display: block; background: #000; }

/* Dispatch lists (news article "more from", search results) */
.more-list,
.search-news-list { list-style: none; margin: 0; padding: 0; }
.more-list a,
.search-news-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 4px;
    border-bottom: 1px dashed var(--line);
    font-size: 12.5px;
    color: var(--text);
    transition: all 0.15s;
}
.more-list a:hover,
.search-news-list a:hover { color: var(--white); padding-left: 10px; }
.more-list .ml-date,
.search-news-list .ml-date { font-size: 10.5px; color: var(--text-faint); letter-spacing: 0.1em; }
.more-list .ml-title,
.search-news-list .ml-title { flex-grow: 1; font-weight: 600; letter-spacing: 0.04em; }
.more-list i,
.search-news-list i.fa-arrow-right { font-size: 10px; color: var(--text-faint); }

/* "Nothing here" panel (news listing, search) */
.news-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); }
.news-empty i { font-size: 40px; color: var(--line-strong); margin-bottom: 20px; }
.news-empty h2 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}
.news-empty p { font-size: 12.5px; color: var(--text-dim); max-width: 420px; margin: 0 auto; }
.news-empty a { color: var(--white); text-decoration: underline; }

/* Two-panel intro used by /press and /presskit/<slug> */
.press-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 1024px) {
    .press-layout { grid-template-columns: 1fr; }
}

/* ---------- Home ---------- */
.community-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.community-grid > :only-child { grid-column: 1 / -1; }
.discord-panel {
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.discord-panel::after {
    content: "\f392"; /* discord glyph */
    font-family: "Font Awesome 6 Brands";
    position: absolute;
    right: -30px;
    bottom: -40px;
    font-size: 180px;
    color: rgba(88, 101, 242, 0.07);
    pointer-events: none;
}
.dp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-bottom: 22px;
}
.dp-head > i { font-size: 30px; color: #5865f2; }
.dp-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.dp-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-dim);
}
.dp-stat .dot.online {
    width: 6px; height: 6px;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
    animation: pulse-dot 2s infinite;
}
.dp-stat i { color: var(--text-faint); font-size: 10px; }
.dp-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}
.dp-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 26px;
}
.community-channels {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    padding: 26px 28px;
}
.channel-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px dashed var(--line);
    font-size: 12px;
    color: var(--text);
    transition: all 0.15s;
}
.channel-row:last-child { border-bottom: none; }
.channel-row > i:first-child { font-size: 16px; width: 22px; text-align: center; color: var(--text-dim); }
.channel-row .cr-name { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.channel-row .cr-desc { font-size: 10.5px; color: var(--text-faint); letter-spacing: 0.06em; margin-left: auto; }
.channel-row .cr-arrow { font-size: 10px; color: var(--text-faint); opacity: 0; transform: translateX(-4px); transition: all 0.15s; }
.channel-row:hover { color: var(--white); padding-left: 10px; }
.channel-row:hover > i:first-child { color: var(--white); }
.channel-row:hover .cr-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
    .community-grid { grid-template-columns: 1fr; }
    .discord-panel { padding: 28px 24px; }
    .channel-row .cr-desc { display: none; }
}

.about-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-strip-desc {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-dim);
    padding-left: 22px;
    border-left: 2px solid var(--line-strong);
    max-width: 560px;
}
@media (max-width: 900px) {
    .about-strip { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Games catalog ---------- */
.games-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.games-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}
.games-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    font-size: 13px;
    pointer-events: none;
}
.games-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    background: var(--bg-panel);
    border: 1px solid var(--line-strong);
    color: var(--white);
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.games-search input::placeholder { color: var(--text-faint); }
.games-search input:focus { outline: none; border-color: var(--white); }
.games-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.games-sort select {
    background: var(--bg-panel);
    border: 1px solid var(--line-strong);
    color: var(--white);
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 14px;
    cursor: pointer;
}
.games-sort select:focus { outline: none; border-color: var(--white); }
.games-noresults {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--line-strong);
}
.games-noresults i { font-size: 34px; color: var(--line-strong); margin-bottom: 16px; }
.games-noresults p:first-of-type {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.games-noresults p:last-of-type { font-size: 12.5px; color: var(--text-dim); }
@media (max-width: 560px) {
    .games-toolbar { flex-direction: column; align-items: stretch; }
    .games-search { max-width: none; }
}

/* ---------- Game detail ---------- */
/* Soundtrack */
.ost-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}
.ost-grid.no-embed { grid-template-columns: 1fr; max-width: 640px; }
.ost-player {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 10px;
}
.ost-player iframe { display: block; border-radius: 12px; }
.ost-links {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    padding: 22px 24px;
}
.ost-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px;
    border-bottom: 1px dashed var(--line);
    font-size: 12px;
    color: var(--text);
    transition: all 0.15s;
}
.ost-row:last-child { border-bottom: none; }
.ost-row > i:first-child { font-size: 16px; width: 22px; text-align: center; color: var(--text-dim); }
.ost-row .fa-spotify { color: #1db954; }
.ost-row .fa-youtube { color: #ff0000; }
.ost-row .or-label { flex: 1; font-weight: 600; letter-spacing: 0.06em; }
.ost-row .or-arrow { font-size: 10px; color: var(--text-faint); opacity: 0; transform: translateX(-4px); transition: all 0.15s; }
.ost-row:hover { color: var(--white); padding-left: 10px; }
.ost-row:hover .or-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
    .ost-grid { grid-template-columns: 1fr; }
}

/* Roadmap */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}
.roadmap-col {
    border: 1px solid var(--line);
    background: var(--bg-panel);
}
.roadmap-col.in_progress { border-color: var(--line-strong); }
.rm-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.rm-head > i { font-size: 16px; color: var(--text-dim); width: 20px; text-align: center; }
.roadmap-col.in_progress .rm-head > i { color: var(--ok); }
.roadmap-col.done .rm-head > i { color: var(--ok); }
.rm-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}
.rm-sub { font-size: 9px; letter-spacing: 0.22em; color: var(--text-faint); margin-top: 3px; }
.rm-count {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dim);
}
.rm-list { list-style: none; margin: 0; padding: 8px 20px 14px; }
.rm-item { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.rm-item:last-child { border-bottom: none; }
.rm-item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.rm-title {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
}
.roadmap-col.done .rm-title { color: var(--text-dim); }
.rm-eta {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    border: 1px solid var(--line-strong);
    padding: 3px 8px;
    white-space: nowrap;
}
.rm-desc { font-size: 11.5px; color: var(--text-faint); line-height: 1.7; margin-top: 7px; }

/* System requirements */
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.req-col {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 22px 24px;
}
.req-head {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--text-dim);
    margin-bottom: 14px;
}
.req-body { font-size: 12.5px; color: var(--text-dim); line-height: 1.9; }
.req-body > strong, .req-body > br { display: none; } /* Steam repeats the tier label */
.req-body ul { list-style: none; margin: 0; padding: 0; }
.req-body li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.req-body li:last-child { border-bottom: none; }
.req-body li strong { color: var(--white); font-weight: 600; }

/* Game hero */
.game-hero { padding: 50px 0 80px; }

.game-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: start;
}

.hero-cover {
    outline: 1px solid var(--line);
    outline-offset: 5px;
    border: 1px solid var(--line-strong);
    background: #000;
    overflow: hidden;
}
.hero-cover img { width: 100%; display: block; }
.cover-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--line-strong);
}

.steam-widget-box {
    margin-top: 14px;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 8px;
}
.steam-widget-box iframe { display: block; }

.game-hero-info { padding-top: 6px; }

.game-logo {
    max-width: 320px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.12));
}
/* Wordmark-as-heading: the <h1> is only a wrapper, the image keeps the spacing */
.game-title.logo-title { margin-bottom: 0; line-height: 0; }

.game-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 14px;
}

.game-tagline {
    font-size: 13.5px;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}
.meta-platforms { display: inline-flex; gap: 12px; font-size: 17px; color: var(--text); }

.store-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.store-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: transparent;
    border: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    transition: all 0.18s;
}
.store-link:hover { background: var(--white); border-color: var(--white); color: #000; }

/* Steam live stats */
.steam-live-stats { display: none; flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
.steam-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: var(--bg-panel);
    border: 1px solid var(--line-strong);
    font-size: 10.5px;
    letter-spacing: 0.08em;
}
.steam-stat .stat-value { font-weight: 700; font-size: 12.5px; color: var(--white); }
.steam-stat .stat-label { color: var(--text-faint); }
.steam-stat .stat-count { color: var(--text-faint); font-size: 9px; }
.steam-stat.reviews.positive i { color: #66c0f4; }
.steam-stat.reviews.mixed i { color: #b9a074; }
.steam-stat.reviews.negative i { color: #c15755; }
.steam-stat.ccu i { color: var(--ok); }
.steam-stat.appstore .fa-apple { color: var(--white); font-size: 13px; }
.steam-stat.appstore .as-star { color: #ffd60a; font-size: 10px; }

/* Supported languages */
.lang-block { margin-top: 34px; }
.lang-block .req-head { margin-bottom: 14px; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chip {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: var(--bg-panel);
    border: 1px solid var(--line-strong);
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.lang-chip .fa-headset { color: var(--white); font-size: 10px; }
.lang-note {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    text-transform: uppercase;
}
.lang-note .fa-headset { color: var(--white); }

/* Achievements */
.ach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.ach-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    transition: border-color 0.15s, transform 0.15s;
}
.ach-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ach-item img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--line-strong);
    display: block;
}
.ach-name {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    line-height: 1.5;
}
.ach-item:hover .ach-name { color: var(--white); }

/* Live Steam price */
.steam-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
}
.steam-price-row .price-label {
    font-size: 10px;
    letter-spacing: 0.26em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-right: auto;
}
.steam-price-row .price-badge {
    background: var(--ok);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    letter-spacing: 0.04em;
}
.steam-price-row .price-old {
    font-size: 12px;
    color: var(--text-faint);
    text-decoration: line-through;
}
.steam-price-row .price-final {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white);
}

/* Wishlist callout */
.wishlist-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    padding: 38px 44px;
    flex-wrap: wrap;
}
.wishlist-callout.coming-soon { border-color: var(--white); box-shadow: 0 0 40px rgba(255, 255, 255, 0.05); }
.callout-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ok);
    margin-bottom: 14px;
}
.callout-status .dot {
    width: 6px; height: 6px;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
    animation: pulse-dot 2s infinite;
}
.callout-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.callout-desc { font-size: 12.5px; color: var(--text-dim); max-width: 520px; }

/* Launch countdown */
.launch-countdown {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 22px;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.35);
}
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.cd-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cd-label {
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 6px;
}
.cd-sep { font-size: 20px; color: var(--text-faint); margin-top: -12px; }
.cd-live {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--ok);
}
.cd-live .dot { width: 6px; height: 6px; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse-dot 2s infinite; }

/* Latest updates (Steam announcements) */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.update-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 24px 26px;
    transition: border-color 0.18s, transform 0.18s;
}
.update-card:hover { border-color: var(--white); transform: translateY(-3px); }
.uc-date {
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--text-faint);
    margin-bottom: 12px;
}
.uc-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.35;
}
.uc-excerpt {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 18px;
    flex-grow: 1;
}
.uc-link {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, gap 0.15s;
}
.update-card:hover .uc-link { color: var(--white); gap: 12px; }

/* Field reports (review quotes) */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.quote-card {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 30px 28px 24px;
    display: flex;
    flex-direction: column;
}
.qc-mark {
    position: absolute;
    top: 6px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.qc-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.qc-text {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 18px;
}
.qc-meta {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    border-top: 1px dashed var(--line);
    padding-top: 14px;
}
.qc-meta .fa-steam { color: #66c0f4; font-size: 12px; }
.qc-meta .fa-apple { color: var(--white); font-size: 12px; }
.qc-stars { color: #ffd60a; letter-spacing: 0.1em; }
.qc-dim { color: var(--text-faint); }

/* Local screenshots (mobile games) — natural aspect ratio, portrait-friendly */
.page-game .shots-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.page-game .shot-tile {
    background: #000;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.page-game .shot-tile img {
    filter: grayscale(25%);
    transition: filter 0.25s;
}
.page-game .shot-tile:hover {
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.1);
}
.page-game .shot-tile:hover img { filter: grayscale(0%); }
@media (max-width: 600px) {
    .page-game .shots-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .game-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .game-hero { padding: 30px 0 50px; }
    .game-breadcrumb { flex-direction: column; align-items: flex-start; gap: 6px; }
    .wishlist-callout { padding: 28px 22px; }
    .wishlist-callout .btn { width: 100%; }
    .game-meta { gap: 20px; }
}

/* ---------- News listing ---------- */
.news-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
    padding: 16px 20px;
    margin-bottom: 28px;
}
.nf-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nf-label {
    font-size: 9.5px;
    letter-spacing: 0.24em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-right: 6px;
    min-width: 74px;
}
.nf-chip {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--line);
    color: var(--text-dim);
    transition: all 0.15s;
}
.nf-chip:hover { border-color: var(--white); color: var(--white); }
.nf-chip.active { background: var(--white); border-color: var(--white); color: #000; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    overflow: hidden;
    transition: border-color 0.18s, transform 0.18s;
}
.news-card:hover { border-color: var(--white); transform: translateY(-4px); }
.nc-media {
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.nc-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.25s; }
.news-card:hover .nc-media img { filter: grayscale(0%); }
.nc-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--line-strong);
}
.nc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.nc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.nc-date { font-size: 10px; letter-spacing: 0.2em; color: var(--text-faint); text-transform: uppercase; }
.nc-type {
    display: inline-block;
    align-self: flex-start;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 4px 9px;
    margin-bottom: 10px;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
}
.nc-type.major {
    color: #000;
    background: var(--white);
    border-color: var(--white);
}
.nc-type.regular { color: var(--white); border-color: var(--white); }
.nc-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 10px;
}
.nc-excerpt { font-size: 12px; color: var(--text-dim); line-height: 1.75; flex-grow: 1; margin-bottom: 16px; }
.nc-link {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s, gap 0.15s;
}
.news-card:hover .nc-link { color: var(--white); gap: 12px; }

.news-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 44px;
}

/* ---------- News article ---------- */
.article-type {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 4px 9px;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
}
.article-type.major { color: #000; background: var(--white); border-color: var(--white); }
.article-type.regular { color: var(--white); border-color: var(--white); }

.article-container { max-width: 860px; }
.article-head { margin: 34px 0 30px; }
.article-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.2;
    margin-top: 16px;
}
.article-hero {
    border: 1px solid var(--line-strong);
    background: #000;
    margin-bottom: 36px;
}
.article-hero img { width: 100%; display: block; }
.article-body { margin: 0; max-width: none; }
.article-foot {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.article-more { margin-top: 50px; }

/* ---------- Press ---------- */
.mentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.mention-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 28px 26px 22px;
    transition: border-color 0.18s, transform 0.18s;
}
a.mention-card:hover { border-color: var(--white); transform: translateY(-3px); }
.mention-card .mc-mark {
    position: absolute;
    top: 4px;
    right: 16px;
    font-family: var(--font-display);
    font-size: 58px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.mention-card .mc-quote {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 18px;
}
a.mention-card:hover .mc-quote { color: var(--text); }
.mention-card .mc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
}
.mention-card .mc-outlet { color: var(--white); }
.mention-card .mc-game,
.mention-card .mc-date { color: var(--text-faint); }
.mention-card .mc-date { margin-left: auto; }
.mention-card .mc-ext { font-size: 9px; color: var(--text-faint); }

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 38px 28px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.download-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.download-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dim);
    border: 1px solid var(--line-strong);
    margin-bottom: 8px;
}
.download-card h3 {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--white);
}
.download-card p { font-size: 12px; color: var(--text-dim); line-height: 1.7; }
.download-card:hover .download-icon { border-color: var(--white); color: var(--white); }
.chip-outline.dl-ready {
    color: var(--ok);
    border-color: var(--ok);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.18s, color 0.18s;
}
.download-card:hover .chip-outline.dl-ready { background: var(--ok); color: #000; }

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    align-items: stretch;
}
.kit-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.kit-card:hover { border-color: var(--white); transform: translateY(-3px); }
.kit-info {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.kit-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}
.kit-tagline {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 18px;
    /* equal-height cards: clamp long taglines to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kit-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto; /* pin buttons to the card bottom */
}

@media (max-width: 1024px) {
    .downloads-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .kits-grid { grid-template-columns: 1fr; }
}
/* A press address is one unbreakable word; without this the panel — and the
   whole page — is as wide as the email address at 390px. */
.press-layout .btn {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ---------- Press kit (per game) ---------- */
.asset-dl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    transition: color 0.2s, background 0.2s;
}
.asset-dl:hover { color: #000; background: var(--white); }
.trailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr));
    gap: 18px;
}
.trailer-embed { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.trailer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 16 / 9;
    color: var(--text-dim);
    transition: color 0.2s;
}
.trailer-link i { font-size: 36px; }
.trailer-link:hover { color: var(--white); }
.asset-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
}
.asset-bar .links { display: flex; gap: 16px; flex-shrink: 0; }
.asset-bar a { color: var(--text-dim); transition: color 0.2s; }
.asset-bar a:hover { color: var(--white); }
/* Checkerboard so transparent logos stay visible */
.logo-art {
    position: relative;
    aspect-ratio: 16 / 9;
    background: repeating-conic-gradient(#141414 0 25%, #0b0b0b 0 50%) 50% / 18px 18px;
}
.shot-tile .logo-art img {
    position: absolute;
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    object-fit: contain;
}
.page-presskit .game-description { font-size: 13.5px; line-height: 2; margin: 0; }
/* The image is the lightbox trigger; the download link below it stays a link */
.screenshot-item { cursor: pointer; display: block; }

/* ---------- Search ---------- */
.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 620px;
    margin-top: 26px;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    padding: 8px 8px 8px 18px;
}
.search-form i.fa-search { color: var(--text-faint); font-size: 14px; }
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 10px 4px;
}
.search-form input[type="search"]::placeholder { color: var(--text-faint); letter-spacing: 0.14em; }
.search-summary { margin-top: 20px; }
.search-summary .hl { color: var(--white); font-weight: 700; }

/* ---------- About ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: start;
}

.about-text {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.9;
}
.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

.platforms-display { display: flex; flex-wrap: wrap; gap: 12px; }
.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: all 0.18s;
}
.platform-item i { font-size: 18px; }
.platform-item:hover {
    background: var(--white);
    border-color: var(--white);
    color: #000;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    padding: 48px 52px;
}
.cta-box h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.cta-box p { font-size: 12.5px; color: var(--text-dim); }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.team-card {
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 26px 22px;
    text-align: center;
    transition: border-color 0.18s, transform 0.18s;
}
.team-card:hover { border-color: var(--white); transform: translateY(-3px); }
.team-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}
.team-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4px;
}
.team-role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }

/* Timeline — horizontal, scrollable track */
.timeline-track {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    cursor: grab;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: transparent; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--line-strong); }
.tl-col {
    flex: 0 0 232px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.tl-when {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 18px 12px 18px;
    min-height: 46px;
    justify-content: flex-end;
}
.tl-year {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    min-height: 22px;
}
.tl-date {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    min-height: 12px;
}
.tl-marker {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}
.tl-marker::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    background: var(--line-strong);
}
.tl-marker::before {
    content: "";
    width: 9px; height: 9px;
    background: var(--white);
    border-radius: 50%;
    margin-left: 18px;
    z-index: 1;
}
/* Axis starts at the first dot and ends at the last */
.tl-col:first-child .tl-marker::after { left: 22px; }
.tl-col:last-child .tl-marker::after { right: calc(100% - 23px); }
.tl-card {
    flex: 1;
    margin: 14px 10px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.18s, transform 0.18s;
}
.tl-col:hover .tl-card { border-color: var(--line-strong); transform: translateY(-2px); }
.tl-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.3;
}
a.tl-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.tl-text { font-size: 11.5px; color: var(--text-dim); line-height: 1.7; }
.tl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: all 0.15s;
}
.tl-btn i { font-size: 8px; transition: transform 0.15s; }
.tl-btn:hover { background: var(--white); border-color: var(--white); color: #000; }
.tl-btn:hover i { transform: translateX(3px); }
.tl-chip {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000;
    background: var(--white);
    padding: 3px 8px;
    white-space: nowrap;
}
.tl-chip.dim {
    background: transparent;
    color: var(--text-faint);
    border: 1px dashed var(--line-strong);
}
/* Upcoming + horizon: hollow marker, dashed card, dimmed text */
.tl-col.upcoming .tl-marker::before,
.tl-col.horizon .tl-marker::before {
    background: transparent;
    border: 1px dashed var(--text-faint);
}
.tl-col.upcoming .tl-card,
.tl-col.horizon .tl-card { border-style: dashed; }
.tl-col.upcoming .tl-title,
.tl-col.upcoming .tl-year,
.tl-col.horizon .tl-title,
.tl-col.horizon .tl-year { color: var(--text-dim); }
.tl-col.upcoming .tl-text,
.tl-col.horizon .tl-text { color: var(--text-faint); }
.tl-col.horizon { flex-basis: 200px; }
/* Founding: square marker to anchor the log */
.tl-col.founding .tl-marker::before { border-radius: 0; }

@media (max-width: 600px) {
    .tl-col { flex-basis: 200px; }
    .tl-year { font-size: 16px; }
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.award-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 22px 24px;
}
.award-card i { font-size: 24px; color: #ffd60a; flex-shrink: 0; }
.award-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 3px;
}
.award-detail { font-size: 12px; color: var(--text-dim); }

/* X / Twitter feeds */
.x-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    align-items: start;
}
.x-feed-grid:has(.x-feed-frame:only-child) { max-width: 860px; margin: 0 auto; }
.x-feed-frame {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    padding: 14px;
}
.x-feed-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.x-feed-head > i { color: var(--white); font-size: 14px; }
.x-feed-head .x-follow {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: var(--text-faint);
    transition: color 0.15s, gap 0.15s;
}
.x-feed-head .x-follow:hover { color: var(--white); gap: 10px; }
.x-feed-head .x-follow i { font-size: 8px; }
/* "LAST SYNCED <date>" when the proxy could only serve its stored snapshot */
.x-stale { color: var(--text-dim); }

/* Native post cards (from /api/xfeed) */
.x-post {
    display: block;
    padding: 16px 8px;
    border-bottom: 1px dashed var(--line);
    transition: background 0.15s, padding-left 0.15s;
}
.x-post:last-child { border-bottom: none; }
.x-post:hover { background: rgba(255, 255, 255, 0.02); padding-left: 14px; }
.xp-meta {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.xp-rt { color: var(--text-dim); letter-spacing: 0.1em; }
.xp-rt i { font-size: 9px; }
.xp-text {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.x-post:hover .xp-text { color: var(--text); }
.xp-media {
    margin-top: 12px;
    border: 1px solid var(--line);
    background: #000;
    overflow: hidden;
}
.xp-media img { width: 100%; max-height: 220px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.2s; }
.x-post:hover .xp-media img { filter: grayscale(0%); }
.x-feed-fallback {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 34px 30px;
}
.x-feed-fallback > i {
    font-size: 34px;
    color: var(--white);
    flex-shrink: 0;
}
.x-feed-fallback > div { flex: 1; min-width: 220px; }
.x-feed-fallback h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}
.x-feed-fallback p { font-size: 12.5px; color: var(--text-dim); line-height: 1.8; }
/* widget rendered — swap fallback out */
.x-feed-frame.loaded .x-feed-fallback { display: none; }

@media (max-width: 1024px) {
    .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .cta-box { padding: 32px 24px; }
    .cta-box .btn { width: 100%; }
}

/* ---------- Privacy / legal ---------- */
.legal-container { max-width: 820px; }
.legal-body { margin: 0; max-width: none; }
.legal-body h2 {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.06em;
    margin: 32px 0 12px;
}

/* ---------- 404 ---------- */
.nf-readout {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-dim);
    animation: holo-flicker 6s infinite;
}

/* ---------- Discord call-to-action (includes/discord-cta.php) ---------- */
.discord-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    padding: 30px 36px;
    position: relative;
    overflow: hidden;
}
.discord-cta::after {
    content: "\f392";
    font-family: "Font Awesome 6 Brands";
    position: absolute;
    right: -20px;
    bottom: -34px;
    font-size: 130px;
    color: rgba(88, 101, 242, 0.07);
    pointer-events: none;
}
.discord-cta .dc-left { display: flex; align-items: center; gap: 24px; }
.discord-cta .dc-logo { font-size: 38px; color: #5865f2; }
.discord-cta .dc-status { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.discord-cta .dc-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.3);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-dim);
}
.discord-cta .dc-stat .dot.online {
    width: 6px; height: 6px;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
    animation: pulse-dot 2s infinite;
}
.discord-cta .dc-stat i { color: var(--text-faint); font-size: 9px; }
.discord-cta .dc-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}
.discord-cta .dc-desc { font-size: 12px; color: var(--text-dim); }
@media (max-width: 700px) {
    .discord-cta { padding: 24px 22px; }
    .discord-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Draft preview banner (includes/draft-banner.php) ---------- */
.draft-banner {
    background: repeating-linear-gradient(-45deg, #3a2b00, #3a2b00 14px, #2e2200 14px, #2e2200 28px);
    border-bottom: 1px solid #f59e0b;
}
.draft-banner .container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #ffd88a;
}
.draft-banner i { color: #f59e0b; }
.draft-banner strong { color: #f59e0b; letter-spacing: 0.18em; }
.draft-banner a {
    margin-left: auto;
    color: #f59e0b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.draft-banner a:hover { text-decoration: underline; }
