:root {
  color-scheme: dark;
  --bg: #0b100e;
  --panel: rgba(14, 20, 17, .82);
  --panel-solid: #111915;
  --line: rgba(201, 207, 190, .16);
  --muted: #9aa398;
  --text: #e8e8df;
  --accent: #d1a46c;
  --accent-bright: #edc18a;
  --green: #a7b18f;
  --danger: #c77962;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); }
body { color: var(--text); }
button, select, input { font: inherit; }
button { color: inherit; }
#app { position: relative; width: 100%; height: 100%; min-height: 560px; overflow: hidden; isolation: isolate; background: #111813; }
#renderCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: none; }
.world-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 9, 7, .80) 0%, rgba(5, 9, 7, .55) 35%, rgba(5, 9, 7, .18) 72%, rgba(5, 9, 7, .5) 100%), linear-gradient(0deg, rgba(5, 9, 7, .65), transparent 38%, rgba(5, 9, 7, .15)); }
.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .105; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); }

.screen, .modal, .pause-screen, .game-hud, .loading-screen { position: absolute; inset: 0; }
.menu-screen { z-index: 5; display: flex; flex-direction: column; padding: 30px clamp(24px, 5.3vw, 88px) 25px; animation: fade-in .8s ease both; }
.topbar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-symbol { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(211, 166, 111, .72); color: var(--accent-bright); font: 600 21px/1 "Barlow Condensed", sans-serif; transform: rotate(-45deg); }
.brand-symbol::first-letter { transform: rotate(45deg); }
.brand-name { font: 700 21px/1 "Barlow Condensed", sans-serif; letter-spacing: .2em; }
.brand-dot, .title-period { color: var(--accent); }
.topbar-meta { display: flex; align-items: center; gap: 25px; color: rgba(216, 221, 208, .58); font: 500 9px/1 Inter, sans-serif; letter-spacing: .16em; }
.live-indicator { display: inline-flex; align-items: center; gap: 9px; }
.live-indicator i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #b2b889; box-shadow: 0 0 11px rgba(178, 184, 137, .7); }
.build-number { padding-left: 23px; border-left: 1px solid var(--line); }

.menu-content { display: grid; grid-template-columns: minmax(400px, 1.2fr) minmax(350px, .8fr); gap: clamp(50px, 10vw, 180px); align-items: center; width: min(1180px, 100%); flex: 1; margin: 0 auto; padding: 45px 0 65px; }
.intro-block { max-width: 620px; padding-top: 20px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 11px; margin: 0; color: #bdc1b0; font-size: 9px; font-weight: 600; letter-spacing: .22em; }
.eyebrow-line { width: 27px; height: 1px; background: var(--accent); }
.intro-block h1 { margin: 22px 0 11px -5px; color: #f0eee4; font: 700 clamp(88px, 12vw, 158px)/.82 "Barlow Condensed", Impact, sans-serif; letter-spacing: -.025em; text-shadow: 0 10px 50px rgba(0,0,0,.35); }
.intro-lead { margin: 29px 0 17px; color: #e1e2d8; font: 500 clamp(27px, 3vw, 37px)/1.08 "Barlow Condensed", sans-serif; letter-spacing: .01em; text-transform: uppercase; }
.intro-copy { max-width: 430px; margin: 0; color: rgba(210, 216, 203, .68); font-size: 12px; line-height: 1.9; letter-spacing: .015em; }
.intro-coordinates { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 45px; color: rgba(220, 222, 211, .56); font: 500 9px/1.4 "Barlow Condensed", sans-serif; letter-spacing: .13em; }
.coord-separator { color: var(--accent); }
.coord-status { margin-left: 12px; padding-left: 13px; border-left: 1px solid var(--line); color: #c18e69; }

.mode-panel { width: 100%; max-width: 470px; justify-self: end; padding-top: 45px; }
.section-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 17px; }
.section-heading .section-kicker { white-space: nowrap; color: rgba(220, 224, 212, .48); }
.section-rule { height: 1px; flex: 1; background: var(--line); }
.mode-card { position: relative; display: flex; align-items: center; width: 100%; min-height: 78px; margin-bottom: 9px; padding: 14px 17px; border: 1px solid rgba(211, 218, 202, .14); background: rgba(11, 17, 14, .56); text-align: left; cursor: pointer; transition: border-color .22s ease, background .22s ease, transform .22s ease; backdrop-filter: blur(12px); }
.mode-card:hover { border-color: rgba(215, 174, 122, .55); background: rgba(30, 36, 29, .79); transform: translateX(3px); }
.mode-card-featured { min-height: 91px; border-color: rgba(210, 164, 108, .48); background: linear-gradient(105deg, rgba(95, 73, 48, .36), rgba(17, 24, 19, .77) 72%); }
.mode-card-featured::before { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); content: ""; }
.mode-index { display: flex; align-items: center; align-self: stretch; width: 39px; color: rgba(215, 177, 130, .75); font: 500 17px/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; }
.mode-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.mode-copy strong { color: #e6e6dc; font: 600 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .13em; }
.mode-copy small { color: rgba(203, 211, 197, .54); font-size: 9px; letter-spacing: .06em; }
.mode-arrow { color: var(--accent-bright); font-size: 22px; transition: transform .2s ease; }
.mode-card:hover .mode-arrow { transform: translate(3px, -3px); }
.mode-status { color: rgba(193, 197, 183, .38); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.mode-card-disabled { cursor: not-allowed; opacity: .65; }
.mode-card-disabled:hover { transform: none; border-color: rgba(211, 218, 202, .14); background: rgba(11, 17, 14, .56); }
.menu-secondary { display: flex; align-items: center; gap: 18px; margin-top: 25px; }
.text-button { border: 0; padding: 7px 0; background: transparent; color: rgba(215, 220, 209, .62); font-size: 9px; font-weight: 600; letter-spacing: .16em; cursor: pointer; transition: color .2s ease; }
.text-button:hover { color: var(--accent-bright); }
.button-icon { margin-right: 7px; color: var(--accent); font-size: 13px; }
.menu-divider { width: 1px; height: 13px; background: var(--line); }
.menu-footer { display: flex; align-items: center; justify-content: space-between; min-height: 22px; color: rgba(208, 214, 201, .38); font-size: 8px; font-weight: 500; letter-spacing: .15em; }
.footer-left { display: flex; align-items: center; gap: 9px; }
.footer-mark { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.footer-center { margin-left: 50px; }
.footer-right { font-family: "Barlow Condensed", sans-serif; letter-spacing: .2em; }

.modal { z-index: 15; display: grid; place-items: center; padding: 22px; background: rgba(3, 6, 5, .72); backdrop-filter: blur(14px); }
.modal-card { width: min(510px, 100%); padding: 30px; border: 1px solid rgba(210, 164, 108, .3); background: #111814; box-shadow: 0 22px 90px rgba(0,0,0,.45); animation: modal-in .25s ease both; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 27px; }
.modal-header h2 { margin: 9px 0 0; font: 600 36px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; }
.icon-button { width: 31px; height: 31px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.icon-button:hover { color: var(--accent-bright); border-color: var(--accent); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 11px; font-weight: 600; }
.setting-row small { margin-top: 6px; color: var(--muted); font-size: 9px; }
.setting-row select { min-width: 140px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 0; background: #1b241e; color: var(--text); font-size: 10px; }
.range-wrap { display: flex; align-items: center; gap: 10px; }
.range-wrap input { width: 120px; accent-color: var(--accent); }
.range-wrap span { min-width: 35px; color: var(--accent-bright); font: 500 13px "Barlow Condensed", sans-serif; }
.modal-note { margin: 18px 0 22px; color: rgba(196, 204, 190, .5); font-size: 10px; line-height: 1.7; }
.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 17px; border: 1px solid var(--accent); background: var(--accent); color: #1b1b15; font-size: 10px; font-weight: 700; letter-spacing: .17em; cursor: pointer; transition: background .2s, border-color .2s; }
.primary-button:hover { border-color: var(--accent-bright); background: var(--accent-bright); }
.primary-button span { font-size: 17px; }
.about-text { margin: 0 0 26px; color: #c6ccbf; font-size: 12px; line-height: 1.8; }
.about-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.about-meta span { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.about-meta b { color: #d9ddcf; font-size: 9px; letter-spacing: .08em; }
.modal-action { margin-top: 23px; }

.game-hud { z-index: 6; pointer-events: none; }
.hud-top { position: absolute; top: 25px; left: 34px; right: 34px; display: flex; align-items: flex-start; justify-content: space-between; }
.location-label { display: flex; flex-direction: column; gap: 5px; padding-left: 13px; border-left: 2px solid var(--accent); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.location-overline { color: rgba(218, 224, 208, .58); font-size: 8px; font-weight: 600; letter-spacing: .19em; }
.location-label strong { color: #e8e8dd; font: 600 20px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; }
.compass-wrap { position: absolute; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.compass-caption { color: rgba(215, 222, 208, .55); font-size: 8px; letter-spacing: .18em; }
.compass { display: flex; align-items: center; gap: 17px; color: rgba(218, 222, 213, .62); font: 500 11px "Barlow Condensed", sans-serif; }
.compass span:first-child { color: var(--accent-bright); }
.compass i { width: 3px; height: 3px; border-radius: 50%; background: rgba(219, 226, 208, .35); }
.hud-pause { pointer-events: auto; width: 34px; height: 34px; border: 1px solid rgba(228, 231, 220, .28); background: rgba(8, 12, 10, .32); color: #d9dfd2; cursor: pointer; }
.hud-pause:hover { border-color: var(--accent); color: var(--accent-bright); }
.mission-panel { position: absolute; top: 112px; left: 34px; width: 250px; padding: 14px 16px 16px; border: 1px solid rgba(219, 226, 208, .12); border-left: 2px solid rgba(210, 164, 108, .75); background: rgba(8, 13, 10, .55); backdrop-filter: blur(8px); }
.mission-label { display: flex; align-items: center; gap: 7px; color: rgba(217, 223, 211, .52); font-size: 8px; font-weight: 600; letter-spacing: .17em; }
.mission-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(210,164,108,.8); }
.mission-panel strong { display: block; margin-top: 11px; color: #eceade; font: 600 16px/1.1 "Barlow Condensed", sans-serif; letter-spacing: .1em; }
.mission-panel p { margin: 8px 0 13px; color: rgba(218, 222, 211, .68); font-size: 9px; line-height: 1.65; }
.mission-progress { height: 2px; background: rgba(218, 224, 211, .13); }
.mission-progress span { display: block; width: 22%; height: 100%; background: var(--accent); transition: width .5s ease; }
.hud-bottom-left { position: absolute; bottom: 36px; left: 34px; }
.status-bars { display: flex; flex-direction: column; gap: 10px; width: 190px; padding: 12px 14px; border: 1px solid rgba(219, 226, 208, .1); background: rgba(8, 13, 10, .46); backdrop-filter: blur(8px); }
.status-item { display: grid; grid-template-columns: 18px 1fr 22px; align-items: center; gap: 8px; }
.status-icon { color: var(--accent-bright); font: 600 15px "Barlow Condensed", sans-serif; }
.status-item small { display: block; margin-bottom: 5px; color: rgba(217, 223, 211, .5); font-size: 7px; letter-spacing: .13em; }
.status-item b { color: #d9dfd2; font: 500 12px "Barlow Condensed", sans-serif; text-align: right; }
.bar { height: 3px; background: rgba(220, 225, 215, .15); }
.bar i { display: block; height: 100%; background: #a5b092; transition: width .2s; }
.stamina-bar i { background: var(--accent); }
.hud-bottom-right { position: absolute; right: 34px; bottom: 36px; }
.weapon-info { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; padding: 12px 14px; border-right: 2px solid rgba(210, 164, 108, .65); background: rgba(8, 13, 10, .4); text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.weapon-info span, .weapon-info small { color: rgba(217, 223, 211, .47); font-size: 7px; letter-spacing: .15em; }
.weapon-info strong { color: #e1e4d8; font: 600 19px "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.interaction-prompt { position: absolute; left: 50%; bottom: 19%; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid rgba(225, 228, 215, .2); background: rgba(9, 13, 10, .75); color: #e5e7dc; font-size: 9px; font-weight: 600; letter-spacing: .12em; transform: translateX(-50%); backdrop-filter: blur(8px); }
.key-cap { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(210, 164, 108, .8); color: var(--accent-bright); font: 600 12px "Barlow Condensed", sans-serif; }
.crosshair { position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; transform: translate(-50%, -50%); opacity: .75; }
.crosshair i, .crosshair b { position: absolute; display: block; background: rgba(238, 239, 227, .78); }
.crosshair i { top: 6px; left: 0; width: 13px; height: 1px; }
.crosshair b { top: 0; left: 6px; width: 1px; height: 13px; }
.toast { position: absolute; top: 24%; left: 50%; max-width: min(450px, 82vw); padding: 13px 19px; border: 1px solid rgba(210, 164, 108, .36); background: rgba(9, 14, 11, .87); color: #e8e8dd; font-size: 10px; line-height: 1.7; text-align: center; transform: translateX(-50%); backdrop-filter: blur(12px); }
.controls-hint { position: absolute; bottom: 14px; left: 50%; display: flex; align-items: center; gap: 8px; color: rgba(228, 232, 219, .68); font: 600 8px "Barlow Condensed", sans-serif; letter-spacing: .11em; white-space: nowrap; transform: translateX(-50%); text-shadow: 0 2px 8px #000; }
.controls-hint span { margin-right: 3px; color: rgba(215, 222, 210, .45); font: 400 8px Inter, sans-serif; letter-spacing: 0; }
.controls-hint i { width: 2px; height: 2px; margin: 0 4px; border-radius: 50%; background: var(--accent); }
.pause-screen { z-index: 12; display: grid; place-items: center; background: rgba(4, 7, 5, .7); backdrop-filter: blur(9px); }
.pause-card { width: min(420px, calc(100% - 40px)); padding: 36px; border: 1px solid rgba(210, 164, 108, .34); background: rgba(14, 20, 16, .95); box-shadow: 0 24px 90px rgba(0,0,0,.5); }
.pause-card h2 { margin: 12px 0 5px; color: #ecebdf; font: 700 65px/.9 "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.pause-card h2 span { color: var(--accent); }
.pause-card > p:not(.section-kicker) { margin: 13px 0 28px; color: rgba(210, 216, 203, .6); font-size: 11px; }
.pause-return { width: 100%; margin-top: 15px; text-align: center; }
.loading-screen { z-index: 30; display: grid; place-items: center; background: #101612; transition: opacity .6s ease, visibility .6s ease; }
.loading-screen.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-inner { display: flex; flex-direction: column; align-items: center; }
.loading-symbol { display: grid; width: 49px; height: 49px; place-items: center; border: 1px solid rgba(210, 164, 108, .6); color: var(--accent-bright); font: 600 27px "Barlow Condensed", sans-serif; transform: rotate(-45deg); }
.loading-title { margin-top: 21px; color: #e8e9df; font: 700 29px "Barlow Condensed", sans-serif; letter-spacing: .25em; }
.loading-title span { color: var(--accent); }
.loading-track { width: 145px; height: 1px; margin-top: 23px; overflow: hidden; background: rgba(210, 217, 205, .13); }
.loading-track i { display: block; width: 40%; height: 100%; background: var(--accent); animation: loading 1.4s ease-in-out infinite; }
.loading-inner p { margin-top: 13px; color: rgba(204, 212, 199, .44); font-size: 8px; letter-spacing: .22em; }
.hidden { display: none !important; }

@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loading { 0% { transform: translateX(-150%); } 100% { transform: translateX(360%); } }

@media (max-width: 900px) {
  .menu-content { grid-template-columns: 1fr minmax(310px, .9fr); gap: 35px; }
  .intro-block h1 { font-size: clamp(80px, 13vw, 125px); }
  .intro-copy { max-width: 350px; }
  .footer-center { display: none; }
}
@media (max-width: 680px) {
  #app { min-height: 520px; }
  .menu-screen { padding: 19px 19px 17px; }
  .topbar-meta { gap: 0; }
  .build-number { display: none; }
  .live-indicator { font-size: 7px; }
  .brand-symbol { width: 30px; height: 30px; }
  .brand-name { font-size: 18px; }
  .menu-content { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 20px; padding: 30px 0 30px; }
  .intro-block { padding-top: 0; }
  .eyebrow { font-size: 7px; }
  .intro-block h1 { margin: 17px 0 8px -3px; font-size: clamp(77px, 20vw, 115px); }
  .intro-lead { margin: 15px 0 10px; font-size: 24px; }
  .intro-copy { max-width: 430px; font-size: 10px; line-height: 1.55; }
  .intro-coordinates { margin-top: 15px; font-size: 8px; }
  .coord-status { display: none; }
  .mode-panel { max-width: none; padding-top: 0; }
  .section-heading { margin-bottom: 10px; }
  .mode-card { min-height: 60px; margin-bottom: 6px; padding: 10px 12px; }
  .mode-card-featured { min-height: 68px; }
  .mode-index { width: 30px; font-size: 14px; }
  .mode-copy strong { font-size: 13px; }
  .mode-copy small { font-size: 8px; }
  .mode-status { font-size: 7px; }
  .menu-secondary { margin-top: 12px; }
  .menu-footer { font-size: 7px; }
  .footer-right { display: none; }
  .mission-panel { top: 88px; left: 14px; width: min(225px, calc(100% - 28px)); padding: 10px 12px; }
  .hud-top { top: 14px; left: 14px; right: 14px; }
  .location-label strong { font-size: 17px; }
  .compass-wrap { top: 45px; }
  .hud-bottom-left { bottom: 17px; left: 14px; }
  .hud-bottom-right { right: 14px; bottom: 17px; }
  .status-bars { width: 158px; padding: 9px 10px; }
  .weapon-info { padding: 9px; }
  .weapon-info strong { font-size: 16px; }
  .controls-hint { bottom: 5px; gap: 5px; font-size: 7px; }
  .controls-hint span { font-size: 7px; }
  .interaction-prompt { bottom: 23%; max-width: 90%; font-size: 8px; }
  .modal-card { padding: 22px; }
}
@media (max-height: 700px) and (min-width: 681px) {
  .menu-content { padding: 25px 0 35px; }
  .intro-block h1 { font-size: 108px; }
  .intro-lead { margin-top: 20px; }
  .intro-coordinates { margin-top: 25px; }
  .mode-panel { padding-top: 15px; }
}


/* 0.0.2 visual rebuild — cleaner contrast, less artificial haze, stronger hierarchy */
.world-vignette {
  background:
    linear-gradient(90deg, rgba(7, 11, 9, .48) 0%, rgba(7, 11, 9, .17) 43%, rgba(7, 11, 9, .10) 72%, rgba(7, 11, 9, .42) 100%),
    linear-gradient(0deg, rgba(7, 11, 9, .42) 0%, transparent 32%, rgba(7, 11, 9, .04) 100%);
}
.grain { display: none !important; }

.menu-screen {
  padding: 28px clamp(28px, 5vw, 78px) 23px;
}
.topbar {
  position: relative;
  z-index: 2;
}
.brand-symbol {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(218, 179, 126, .85);
  color: #e1c092;
  background: rgba(10, 16, 13, .26);
  box-shadow: 0 0 25px rgba(0,0,0,.12);
}
.brand-name {
  font-size: 22px;
  letter-spacing: .24em;
}
.topbar-meta {
  color: rgba(239, 238, 224, .7);
}
.live-indicator i {
  background: #d6bd83;
  box-shadow: 0 0 10px rgba(214, 189, 131, .75);
}
.menu-content {
  width: min(1420px, 100%);
  grid-template-columns: minmax(420px, 1.15fr) minmax(370px, .75fr);
  gap: clamp(55px, 9vw, 150px);
  align-items: center;
  padding: 25px 0 44px;
}
.intro-block {
  max-width: 690px;
  padding: 15px 0 0;
}
.eyebrow {
  color: rgba(235, 232, 216, .78);
  font-size: 9px;
  letter-spacing: .24em;
}
.eyebrow-line {
  width: 34px;
  height: 1px;
  background: #d8b47e;
}
.intro-block h1 {
  margin: 25px 0 16px -3px;
  font-size: clamp(102px, 11.4vw, 166px);
  line-height: .76;
  letter-spacing: -.035em;
  color: #f1eee2;
  text-shadow: 0 8px 35px rgba(0,0,0,.2);
}
.title-period { color: #d2a96f; }
.intro-lead {
  margin: 31px 0 18px;
  color: #f0eee4;
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: .045em;
}
.intro-copy {
  max-width: 420px;
  color: rgba(232, 233, 221, .82);
  font-size: 12px;
  line-height: 1.85;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.intro-coordinates {
  margin-top: 37px;
  color: rgba(236, 235, 221, .68);
  font-size: 10px;
}
.coord-status {
  color: #e0b783;
}

.mode-panel {
  max-width: 470px;
  padding: 25px 25px 21px;
  border: 1px solid rgba(225, 226, 210, .2);
  background: linear-gradient(150deg, rgba(15, 22, 18, .82), rgba(11, 17, 14, .67));
  box-shadow: 0 24px 65px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.section-heading {
  margin-bottom: 19px;
}
.section-heading .section-kicker {
  color: rgba(230, 231, 215, .68);
  font-size: 9px;
}
.section-rule {
  background: rgba(222, 226, 208, .2);
}
.mode-card {
  min-height: 76px;
  margin-bottom: 8px;
  padding: 14px 15px;
  border-color: rgba(225, 230, 216, .14);
  background: rgba(235, 237, 220, .035);
  backdrop-filter: none;
}
.mode-card:hover {
  border-color: rgba(222, 183, 131, .72);
  background: rgba(208, 171, 119, .1);
  transform: translateX(2px);
}
.mode-card-featured {
  min-height: 86px;
  border-color: rgba(218, 177, 124, .64);
  background: linear-gradient(100deg, rgba(122, 91, 55, .28), rgba(211, 180, 133, .07));
}
.mode-index {
  width: 42px;
  color: #d8b47e;
  font-size: 18px;
}
.mode-copy {
  gap: 7px;
}
.mode-copy strong {
  color: #f0eee4;
  font-size: 16px;
  letter-spacing: .12em;
}
.mode-copy small {
  color: rgba(222, 228, 213, .64);
  font-size: 9px;
}
.mode-arrow {
  color: #e2c18d;
}
.mode-status {
  color: rgba(214, 218, 204, .55);
  font-size: 8px;
}
.menu-secondary {
  margin-top: 20px;
}
.text-button {
  color: rgba(228, 231, 215, .72);
}
.menu-footer {
  color: rgba(229, 230, 216, .56);
  text-shadow: 0 1px 5px rgba(0,0,0,.25);
}

.loading-screen {
  background: #161e18;
}
.loading-symbol {
  border-color: rgba(218, 177, 124, .7);
  color: #e2bf8c;
}
.loading-title { color: #f0eee2; }
.loading-track { background: rgba(225, 231, 213, .2); }

.pause-screen {
  background: rgba(8, 13, 10, .64);
}
.pause-card {
  background: rgba(14, 20, 16, .92);
  backdrop-filter: blur(18px);
}

@media (max-width: 900px) {
  .menu-content {
    grid-template-columns: minmax(300px, 1fr) minmax(315px, .92fr);
    gap: 32px;
  }
  .mode-panel { padding: 20px; }
}
@media (max-width: 680px) {
  .menu-screen { padding: 18px 17px 15px; }
  .menu-content { gap: 18px; padding: 24px 0; }
  .intro-block h1 { margin: 14px 0 8px -2px; font-size: clamp(76px, 18vw, 110px); }
  .intro-lead { margin: 16px 0 10px; font-size: 26px; }
  .intro-copy { font-size: 10px; }
  .mode-panel { padding: 15px 13px 12px; }
  .mode-card { min-height: 56px; }
  .mode-card-featured { min-height: 64px; }
}

/* Keep the interface above the world-lighting overlays. */
.menu-screen { z-index: 5; }
.world-vignette { z-index: 1; }
.grain { z-index: 2; }

/* The refreshed interface is intentionally quieter and lets the landscape do the work. */
.mode-panel {
  border-radius: 2px;
}
.mode-card {
  border-radius: 1px;
}
.mode-card-featured {
  box-shadow: inset 0 0 28px rgba(199, 158, 103, .055);
}
.brand-symbol {
  transform: none;
  border-radius: 50%;
  font-family: "Barlow Condensed", sans-serif;
}
.brand-symbol::first-letter { transform: none; }
.menu-secondary .text-button {
  transition: color .18s ease, letter-spacing .18s ease;
}
.menu-secondary .text-button:hover {
  letter-spacing: .19em;
}
@media (min-width: 1200px) {
  .menu-content {
    transform: translateY(-6px);
  }
}

.world-vignette { transition: opacity .35s ease; }
#app.playing .world-vignette { opacity: 0; }
#app.playing .menu-screen { pointer-events: none; }
#app.playing .grain { display: none !important; }
