:root {
    color-scheme: dark;
    --ink: #0d0b08;
    --paper: #e4d5ad;
    --amber: #f1a126;
    --red: #d74b2a;
    --acid: #b5d653;
    --panel: rgba(18, 15, 10, .9);
    --line: rgba(228, 213, 173, .26);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: #0a0907;
    color: var(--paper);
    touch-action: none;
}

button { font: inherit; }

.game-shell, .viewport {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.viewport {
    background-color: #7eacc1;
    background-position: center 48%;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.viewport::before,
.viewport::after {
    content: "";
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
}

.viewport::before {
    inset: -18%;
    z-index: 0;
    opacity: .2;
    background:
        radial-gradient(ellipse at 16% 18%, rgba(255,255,255,.7) 0 3%, transparent 10%),
        radial-gradient(ellipse at 58% 12%, rgba(255,255,255,.52) 0 4%, transparent 12%),
        radial-gradient(ellipse at 88% 23%, rgba(255,244,217,.6) 0 3%, transparent 11%);
    filter: blur(9px);
    animation: district-cloud-drift 22s ease-in-out infinite alternate;
}

.viewport::after {
    inset: -12%;
    z-index: 0;
    opacity: .16;
    background: linear-gradient(108deg, transparent 25%, rgba(255,223,153,.5) 47%, transparent 66%);
    mix-blend-mode: screen;
    animation: district-light-sweep 13s ease-in-out infinite alternate;
}

@keyframes district-cloud-drift {
    from { transform: translate3d(-3%, 0, 0) scale(1.02); opacity: .13; }
    to { transform: translate3d(4%, 1.5%, 0) scale(1.08); opacity: .25; }
}

@keyframes district-light-sweep {
    from { transform: translate3d(-7%, 0, 0); opacity: .08; }
    to { transform: translate3d(8%, -1%, 0); opacity: .2; }
}

.viewport canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    outline: 0;
}

.district-backdrop {
    position: absolute;
    inset: -3%;
    z-index: 0;
    display: none;
    opacity: 0;
    pointer-events: none;
    background-position: center 48%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate3d(0,0,0) scale(1.07);
    transition: opacity 1.1s ease;
    will-change: opacity, transform;
}

.district-backdrop.active { opacity: 1; }

.vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), transparent 32%, rgba(7,5,2,.38)),
        radial-gradient(circle at center 44%, transparent 38%, rgba(6,4,2,.45) 100%);
}

.speed-lines {
    --speed-alpha: 0;
    position: absolute;
    inset: -18%;
    z-index: 3;
    opacity: var(--speed-alpha);
    pointer-events: none;
    mix-blend-mode: screen;
    background: repeating-radial-gradient(ellipse at 50% 58%, transparent 0 38px, rgba(255,222,151,.22) 40px, transparent 43px 66px);
    animation: speed-rush .44s linear infinite;
    transition: opacity .18s ease;
}

@keyframes speed-rush {
    from { transform: scale(.82); }
    to { transform: scale(1.18); }
}

.impact-flash {
    position: absolute;
    inset: 0;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,238,178,.94), rgba(241,113,32,.36) 38%, transparent 72%);
}

.game-shell.impact { animation: shell-impact .24s linear; }
.game-shell.impact .impact-flash { animation: impact-flash .28s ease-out; }
@keyframes shell-impact { 25% { transform: translate(-5px, 3px) rotate(-.15deg); } 55% { transform: translate(5px, -2px) rotate(.15deg); } }
@keyframes impact-flash { 0% { opacity: .9; } 100% { opacity: 0; } }

.hud {
    position: fixed;
    z-index: 20;
    top: max(12px, env(safe-area-inset-top));
    left: 18px;
    right: 18px;
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) repeat(3, minmax(88px, 122px)) 52px;
    align-items: stretch;
    gap: 8px;
    pointer-events: none;
}

.brand-lockup, .hud-stat, .icon-button {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(20,16,10,.94), rgba(37,27,14,.78));
    box-shadow: 0 12px 30px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 14px;
    border-left: 4px solid var(--amber);
    clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
}

.brand-kicker { color: var(--amber); font-size: 11px; letter-spacing: .22em; }
.brand-lockup strong { font-size: clamp(17px, 2vw, 26px); letter-spacing: .05em; line-height: 1; }

.hud-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 12px;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
}

.hud-stat span { color: #a99b7d; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.hud-stat b { color: #fff3d2; font-family: Impact, sans-serif; font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.hud-stat i { font-style: normal; }
.hud-stat b small { color: #d8bd71; font: 800 10px Arial, sans-serif; white-space: nowrap; }
.brew-stat b { color: var(--acid); }
.brew-stat.danger b { color: #ff5b35; animation: warning-pulse .45s infinite alternate; }
@keyframes warning-pulse { to { text-shadow: 0 0 16px currentColor; } }

.icon-button {
    color: var(--paper);
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
}
.icon-button:hover { border-color: var(--amber); color: var(--amber); }

.status-rail {
    position: fixed;
    z-index: 20;
    left: 18px;
    bottom: max(17px, env(safe-area-inset-bottom));
    width: min(620px, calc(100vw - 36px));
    display: grid;
    grid-template-columns: 160px minmax(180px, 1fr) 130px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
}
.status-rail.safe { border-left-color: var(--acid); }
.status-rail.safe .pursuit-copy strong { color: var(--acid); }
.status-rail.safe .pursuer-marker { opacity: 0; transform: translateX(-50%) scale(.25); }

.pursuit-copy { display: flex; flex-direction: column; }
.pursuit-copy span { color: #b8a888; font: 800 9px Arial, sans-serif; letter-spacing: .12em; }
.pursuit-copy strong { color: #ffbd70; font-size: 17px; letter-spacing: .04em; }
.pursuit-track { position: relative; height: 15px; background: #30291e; border: 1px solid #685b44; overflow: visible; }
.pursuit-track span { display: block; width: 32%; height: 100%; background: linear-gradient(90deg, #8fab4a, var(--amber), var(--red)); transition: width .18s linear; box-shadow: 0 0 13px rgba(215,75,42,.45); }
.pursuit-track i { position: absolute; top: -19px; font-style: normal; font-size: 8px; color: #d8c9a6; }
.runner-marker { right: -2px; }
.pursuer-marker { left: 32%; width: 22px; height: 22px; top: -5px !important; border-radius: 50%; display: grid; place-items: center; color: white !important; background: var(--red); transform: translateX(-50%); transition: left .18s linear; box-shadow: 0 0 14px #d74b2a; }
.power-state { color: var(--acid); font: 900 10px Arial, sans-serif; letter-spacing: .08em; text-align: right; }

.mission-strip {
    position: fixed;
    z-index: 20;
    top: 89px;
    left: 18px;
    display: grid;
    grid-template-columns: 32px auto auto;
    gap: 9px;
    align-items: center;
    min-width: 365px;
    padding: 8px 11px;
    border: 1px solid rgba(228,213,173,.18);
    background: rgba(17,14,9,.72);
    backdrop-filter: blur(8px);
}
.mission-strip > span { color: var(--amber); font-size: 23px; }
.mission-strip div { display: flex; flex-direction: column; }
.mission-strip small { color: #a69778; font: 800 8px Arial, sans-serif; letter-spacing: .14em; }
.mission-strip strong { font: 800 12px "Arial Narrow", Arial, sans-serif; }
.mission-strip > b { color: var(--amber); margin-left: 12px; font: 900 12px Arial, sans-serif; }

.screen {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(90deg, rgba(9,7,4,.96) 0%, rgba(13,10,6,.88) 42%, rgba(9,7,4,.18) 74%);
    transition: opacity .22s ease, visibility .22s ease;
}

.screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.menu-screen {
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 5vw, 84px);
    background:
        linear-gradient(90deg, rgba(9,7,4,.97) 0%, rgba(13,10,6,.91) 35%, rgba(9,7,4,.34) 64%, rgba(8,6,3,.52) 100%),
        url('assets/happymen-menu-v1.webp') center / cover no-repeat;
}
.menu-panel { width: min(720px, 62vw); }
.eyebrow { color: var(--amber); margin: 0 0 12px; font: 900 11px Arial, sans-serif; letter-spacing: .24em; }
.menu-panel h1 { margin: 0; color: #f4e5bd; font-size: clamp(76px, 12vw, 170px); font-weight: 900; line-height: .72; letter-spacing: -.055em; text-shadow: 0 8px #3b2615, 0 18px 40px #000; transform: skew(-5deg); }
.menu-panel h1 span { color: var(--amber); }
.menu-panel h2 { margin: 13px 0 20px; color: #dfd1ab; font-size: clamp(24px, 4vw, 54px); letter-spacing: .17em; }
.intro { max-width: 670px; color: #c6b995; font: 600 clamp(14px, 1.3vw, 18px)/1.55 Arial, sans-serif; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0; }
.feature-row article { display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(255,255,255,.025); }
.feature-row article > b { color: var(--amber); font-size: 22px; }
.feature-row span { color: #a99b7d; font: 600 11px/1.35 Arial, sans-serif; }
.feature-row strong { display: block; color: #eadab2; font: 900 11px Arial, sans-serif; letter-spacing: .08em; }

.primary-button {
    min-width: min(430px, 100%);
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 8px 0 22px;
    border: 1px solid #edb449;
    color: #20160c;
    background: linear-gradient(90deg, #d7831d, #f1bb43);
    cursor: pointer;
    box-shadow: 0 13px 32px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.5);
}
.primary-button span { font: 900 13px Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.primary-button b { min-width: 90px; align-self: stretch; display: grid; place-items: center; color: #f5e7c6; background: #27180d; font-size: 24px; letter-spacing: .08em; }
.primary-button:hover { filter: brightness(1.13); transform: translateY(-1px); }
.primary-button:disabled { cursor: progress; opacity: .7; filter: saturate(.45); }
.desktop-help { margin-top: 13px; color: #8f8268; font: 800 10px Arial, sans-serif; letter-spacing: .07em; }

.secondary-actions { display: flex; gap: 18px; align-items: center; }
.secondary-actions .text-button { padding: 8px 0; }

.menu-command {
    width: clamp(280px, 25vw, 365px);
    display: grid;
    gap: 10px;
    align-self: center;
    font-family: Arial, sans-serif;
}
.profile-card, .loadout-card, .daily-card {
    padding: 14px 16px;
    border: 1px solid rgba(232,216,178,.3);
    border-left: 4px solid var(--amber);
    background: rgba(17,13,8,.88);
    box-shadow: 0 16px 38px rgba(0,0,0,.42);
    backdrop-filter: blur(10px);
}
.menu-command section > span { display: block; margin-bottom: 9px; color: #b7a47b; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.profile-card strong { display: block; color: #ffe1a2; font: 500 29px Impact, sans-serif; letter-spacing: .06em; }
.profile-card div { color: var(--acid); font-size: 12px; font-weight: 900; }
.profile-card small { display: block; margin-top: 7px; color: #8f8268; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.profile-card small.online { color: var(--acid); }
.profile-card small.offline { color: #e89255; }

.skin-list { display: grid; gap: 5px; }
.skin-option {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 7px;
    border: 1px solid rgba(232,216,178,.16);
    color: #d8c9a5;
    background: rgba(255,255,255,.025);
    cursor: pointer;
    text-align: left;
}
.skin-option:hover, .skin-option.active { border-color: var(--amber); background: rgba(224,143,31,.12); }
.skin-option > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #28180d; background: var(--amber); font: normal 18px Impact, sans-serif; }
.skin-option span { display: flex; flex-direction: column; font-size: 10px; font-weight: 900; }
.skin-option small { color: #8e8066; font-size: 7px; }
.skin-option b { color: var(--acid); font-size: 8px; }
.skin-option.locked { opacity: .58; }

.daily-missions { display: grid; gap: 7px; }
.daily-mission { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; }
.daily-mission strong { color: #e4d5ad; font-size: 9px; }
.daily-mission b { color: var(--amber); font-size: 8px; }
.daily-mission progress { grid-column: 1 / -1; width: 100%; height: 5px; accent-color: var(--acid); }
.daily-mission.complete strong::after { content: ' ✓'; color: var(--acid); }

.wanted-card { width: clamp(220px, 24vw, 340px); aspect-ratio: .74; display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 28px; color: #382617; background: #d4c292; border: 9px solid #a99261; box-shadow: 0 20px 60px #000; transform: rotate(4deg); text-align: center; }
.wanted-card span, .wanted-card small { font: 900 11px Arial, sans-serif; letter-spacing: .18em; }
.wanted-card > strong { font-size: clamp(45px, 6vw, 84px); line-height: .8; }
.wanted-card > b { font-size: clamp(16px, 2vw, 26px); }
.wanted-face { width: 45%; aspect-ratio: 1; display: grid; place-items: center; border: 7px solid #382617; border-radius: 50%; font-style: normal; font-size: clamp(42px, 6vw, 82px); }

.compact-panel { width: min(580px, 100%); padding: clamp(25px, 5vw, 55px); border: 1px solid var(--line); border-top: 5px solid var(--amber); background: rgba(17,13,8,.95); box-shadow: 0 25px 90px #000; text-align: center; }
.compact-panel h2 { margin: 0 0 12px; color: #f3e1b4; font-size: clamp(42px, 8vw, 86px); line-height: .9; }
.compact-panel > p:not(.eyebrow) { color: #b7a98a; font: 600 15px/1.5 Arial, sans-serif; }
.text-button { margin-top: 15px; border: 0; color: #9f9174; background: transparent; cursor: pointer; font: 900 11px Arial, sans-serif; letter-spacing: .12em; }
.text-button:hover { color: var(--paper); }
.settings-panel, .leaderboard-panel { text-align: left; }
.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.settings-grid button { min-height: 72px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); color: #c7b994; background: rgba(255,255,255,.03); cursor: pointer; }
.settings-grid button b { color: var(--acid); font-size: 18px; }
.quality-select { display: grid; gap: 8px; margin-bottom: 24px; color: #aa9a78; font: 900 10px Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.quality-select select { min-height: 45px; padding: 0 12px; border: 1px solid var(--line); color: #f2e1b7; background: #1b150d; font: 900 13px Arial, sans-serif; }
.leaderboard-list { max-height: min(52vh, 520px); overflow-y: auto; margin: 20px 0; border-top: 1px solid var(--line); }
.leaderboard-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 5px; border-bottom: 1px solid rgba(228,213,173,.12); font-family: Arial, sans-serif; }
.leaderboard-row > b { color: var(--amber); }
.leaderboard-row strong { color: #eadab2; font-size: 12px; }
.leaderboard-row span { color: #9f9173; font-size: 10px; }
.leaderboard-row i { color: var(--acid); font-style: normal; font-weight: 900; }
.caught-panel { border-top-color: var(--red); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 27px 0; }
.result-grid div { padding: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.result-grid span { display: block; color: #948668; font: 800 9px Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.result-grid b { color: #f3e1b4; font-size: 29px; font-weight: 500; }
.result-grid i { font-style: normal; }
.run-rewards { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -15px 0 23px; font: 900 9px Arial, sans-serif; letter-spacing: .08em; }
.run-rewards span { padding: 6px 9px; border: 1px solid rgba(228,213,173,.18); color: #998c70; }
.run-rewards b { color: var(--acid); }
#run-verification.verified { color: var(--acid); }
#run-verification.offline { color: #e89255; }

.touch-controls { display: none; }
.toast { position: fixed; z-index: 30; top: 31%; left: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0; color: #fff1ca; font-size: clamp(27px, 5vw, 66px); text-align: center; letter-spacing: .04em; text-shadow: 0 5px #482316, 0 0 30px #ee8b25; pointer-events: none; }
.toast.show { animation: toast-in .9s ease-out; }
@keyframes toast-in { 0% { opacity: 0; transform: translate(-50%,-35%) scale(.55) rotate(-4deg); } 17% { opacity: 1; transform: translate(-50%,-50%) scale(1.1) rotate(2deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-70%) scale(.9); } }
.comic-bubble { position: fixed; z-index: 25; right: 8%; bottom: 30%; max-width: 220px; padding: 12px 16px; opacity: 0; color: #22170c; background: #f1dfb0; border: 3px solid #2d1d10; font-size: 19px; transform: rotate(4deg); box-shadow: 5px 6px #2d1d10; pointer-events: none; }
.comic-bubble.show { animation: bubble-in 1.5s ease both; }
@keyframes bubble-in { 0%,100% { opacity: 0; transform: scale(.4) rotate(8deg); } 14%,76% { opacity: 1; transform: scale(1) rotate(4deg); } }
.quality-gate { position: fixed; z-index: 20; right: 18px; bottom: 18px; color: rgba(228,213,173,.52); font: 800 8px Arial, sans-serif; letter-spacing: .12em; }

@media (max-width: 760px), (pointer: coarse) {
    .hud { top: max(6px, env(safe-area-inset-top)); left: 6px; right: 6px; min-height: 48px; grid-template-columns: 1fr repeat(2, 66px) 40px; gap: 4px; }
    .brand-lockup { padding: 5px 8px; border-left-width: 3px; }
    .brand-kicker { font-size: 7px; }
    .brand-lockup strong { font-size: 13px; }
    .hud-stat { padding: 5px 6px; }
    .hud-stat span { font-size: 7px; }
    .hud-stat b { font-size: 15px; }
    .brew-stat { display: none; }
    .icon-button { font-size: 16px; }
    .mission-strip { top: 60px; left: 6px; min-width: 0; max-width: calc(100vw - 12px); grid-template-columns: 20px 1fr auto; padding: 6px 8px; }
    .mission-strip > span { font-size: 16px; }
    .mission-strip strong { font-size: 10px; }
    .mission-strip > b { font-size: 9px; margin-left: 2px; }
    .status-rail { left: 6px; right: 6px; bottom: calc(78px + env(safe-area-inset-bottom)); width: auto; padding: 7px 8px; grid-template-columns: 105px 1fr; gap: 7px; }
    .pursuit-copy span { font-size: 6px; }
    .pursuit-copy strong { font-size: 11px; }
    .power-state { display: none; }
    .touch-controls { position: fixed; z-index: 35; left: 0; right: 0; bottom: max(5px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 0 7px; pointer-events: auto; }
    .touch-controls button { height: 64px; border: 1px solid rgba(228,213,173,.34); border-radius: 7px; color: #f2e2bc; background: rgba(22,17,10,.82); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 7px 18px rgba(0,0,0,.32); font-size: 25px; backdrop-filter: blur(8px); touch-action: manipulation; }
    .touch-controls button:active { color: #1d130a; background: var(--amber); transform: scale(.96); }
    .touch-controls small { display: block; font: 800 6px Arial, sans-serif; letter-spacing: .08em; }
    .touch-controls .dash { color: var(--amber); border-color: rgba(241,161,38,.65); }
    .quality-gate { display: none; }
    .menu-screen { flex-direction: column; align-items: center; justify-content: flex-start; overflow-y: auto; padding: max(42px, env(safe-area-inset-top)) 18px calc(85px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(10,8,5,.78), rgba(10,8,5,.9)), url('assets/happymen-menu-v1.webp') 56% center / cover no-repeat; }
    .menu-panel { width: 100%; max-width: 500px; }
    .menu-panel h1 { font-size: clamp(63px, 22vw, 96px); }
    .menu-panel h2 { margin: 9px 0 13px; font-size: clamp(18px, 6vw, 29px); }
    .intro { font-size: 13px; line-height: 1.4; }
    .feature-row { grid-template-columns: 1fr; gap: 4px; margin: 15px 0; }
    .feature-row article { padding: 7px 9px; }
    .feature-row span { font-size: 9px; }
    .primary-button { min-height: 56px; }
    .desktop-help { display: none; }
    .menu-command { width: 100%; max-width: 500px; }
    .menu-command section { background: rgba(17,13,8,.94); }
    .secondary-actions { justify-content: center; }
    .settings-grid { grid-template-columns: 1fr; }
    .settings-grid button { min-height: 52px; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 14px; }
    .leaderboard-row { grid-template-columns: 28px 1fr auto; }
    .leaderboard-row span { display: none; }
    .screen:not(.menu-screen) { padding: 13px; }
    .compact-panel { padding: 25px 18px; }
    .comic-bubble { right: 7%; bottom: 37%; max-width: 155px; font-size: 13px; }
    .toast { top: 24%; width: calc(100vw - 36px); font-size: clamp(15px, 5.4vw, 22px); line-height: 1.12; text-shadow: 0 2px #482316, 0 0 16px #ee8b25; }
}

@media (max-height: 560px) and (orientation: landscape) {
    .mission-strip { display: none; }
    .status-rail { bottom: 6px; }
    .touch-controls { left: auto; width: 55%; }
    .menu-screen { padding: 16px 24px; }
    .menu-panel h1 { font-size: 62px; }
    .menu-panel h2 { font-size: 21px; margin: 5px 0 8px; }
    .intro { font-size: 11px; margin: 5px 0; }
    .feature-row { display: none; }
    .primary-button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
