:root {
  --panel: rgba(22, 30, 20, 0.82);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #eef2e6;
  --muted: #a9b6a0;
  --accent: #f2c14e;
  --accent2: #7fc77a;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #2f5223; color: var(--text); }
canvas#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }

#hud { position: fixed; inset: 0; pointer-events: none; }
.panel {
  position: absolute; background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 10px; padding: 10px 12px; backdrop-filter: blur(6px); pointer-events: auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}
#status { top: 14px; left: 14px; min-width: 260px; }
#status .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
#status .mode { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
#status .time { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 700; color: var(--accent); }
#status .time.warn { color: #ff7b5c; }
#status .phase { font-size: 18px; font-weight: 700; margin-top: 4px; }
#status .hint { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
table.score { width: 100%; border-collapse: collapse; font-size: 12px; }
table.score td { padding: 1px 0; }
table.score td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.score tr.active td { color: var(--accent); font-weight: 700; }
table.score tr.total td { border-top: 1px solid var(--panel-border); padding-top: 4px; font-weight: 700; }
table.score tr.stats td { padding-top: 4px; color: var(--muted); }

#commands { left: 14px; bottom: 14px; width: 360px; }
.cmd-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.cmd-title .sub { text-transform: none; letter-spacing: 0; margin-left: 6px; opacity: 0.8; }
.cmd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
button.cmd {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border); color: var(--text);
  border-radius: 8px; padding: 6px 7px; cursor: pointer; font: inherit; text-align: left; min-height: 58px;
}
button.cmd:hover { background: rgba(255,255,255,0.12); }
button.cmd.active { background: rgba(242,193,78,0.22); border-color: var(--accent); }
button.cmd.toggle.on { background: rgba(127,199,122,0.25); border-color: var(--accent2); }
button.cmd b { font-size: 13px; }
button.cmd kbd { font-size: 10px; background: rgba(0,0,0,0.35); padding: 1px 5px; border-radius: 4px; color: var(--accent); }
button.cmd small { font-size: 10px; color: var(--muted); }

#minimap-wrap { right: 14px; bottom: 14px; padding: 6px; display: flex; align-items: flex-end; gap: 6px; }
#zoom-controls { display: flex; flex-direction: column; gap: 6px; }
button.zoom-btn {
  width: 32px; height: 32px; padding: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border); color: var(--text);
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1;
}
button.zoom-btn:hover { background: rgba(255,255,255,0.12); }
button.zoom-btn:active { background: rgba(242,193,78,0.22); border-color: var(--accent); }
#minimap { display: block; border-radius: 6px; }

#overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10, 18, 8, 0.55); }
#overlay.hidden { display: none; }
.card {
  background: #1b2618; border: 1px solid var(--panel-border); border-radius: 14px; padding: 26px 30px;
  max-width: 720px; width: calc(100% - 40px); max-height: calc(100% - 40px); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.card h2 { margin: 0 0 8px; }
.card h3 { margin: 14px 0 6px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Title screen */
#overlay.title {
  background:
    radial-gradient(ellipse at 70% 55%, transparent 20%, rgba(8, 14, 6, 0.45) 100%),
    linear-gradient(90deg, rgba(8, 14, 6, 0.8) 0%, rgba(8, 14, 6, 0.35) 45%, transparent 75%);
  justify-content: flex-start;
}
.title-screen {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  height: 100%; padding: 40px clamp(16px, 8vw, 120px); max-width: 640px;
  animation: title-in 0.6s ease-out both;
}
@keyframes title-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
.logo {
  margin: 0; font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-weight: 400;
  font-size: clamp(52px, 10vw, 104px); line-height: 0.88; letter-spacing: 0.01em;
  display: flex; flex-direction: column; color: #fff6dc;
  text-shadow: 0 4px 0 #6b4a12, 0 8px 0 rgba(0,0,0,0.35), 0 14px 30px rgba(0,0,0,0.5);
}
.logo span:last-child { color: var(--accent); padding-left: 0.6em; }
.title-screen .tag { margin: 14px 0 0; font-size: 16px; color: var(--text); opacity: 0.85; font-style: italic; }
.menu-list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.menu-item {
  position: relative; background: none; border: none; color: rgba(238, 242, 230, 0.72); cursor: pointer;
  font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-size: clamp(24px, 4vw, 34px); letter-spacing: 0.02em;
  padding: 6px 18px 6px 44px; text-shadow: 0 2px 0 rgba(0,0,0,0.5);
  transition: color 0.15s, transform 0.15s;
}
.menu-item::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 0; height: 0; margin-top: -8px;
  border-left: 14px solid var(--accent); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  opacity: 0; transform: translateX(-8px); transition: opacity 0.15s, transform 0.15s;
}
.menu-item.selected { color: var(--accent); transform: translateX(8px); }
.menu-group { margin-top: 8px; padding-left: 44px; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent2); }
.menu-item.drill { font-size: clamp(19px, 2.6vw, 24px); padding-top: 2px; padding-bottom: 2px; }
/* Options and How to Play: a quieter tier below the modes, set off by a short rule. */
.menu-sep { width: 48px; height: 1px; margin: 12px 0 6px 44px; background: rgba(238, 242, 230, 0.22); }
.menu-item.util { font-size: clamp(16px, 2vw, 19px); padding-top: 1px; padding-bottom: 1px; color: rgba(238, 242, 230, 0.55); }
.menu-item.util::before { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-top: -6px; left: 18px; }
.menu-item.util.selected { color: var(--accent); }
.menu-item.selected::before { opacity: 1; transform: none; animation: nudge 0.9s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.menu-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.menu-desc { margin: 0; min-height: 3em; max-width: 420px; padding-left: 44px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#menu .menu-desc, #options .menu-desc { margin-top: -12px; color: var(--text); opacity: 0.8; font-size: 15px; }
.menu-desc.desc-in { animation: desc-in 0.22s ease-out; }
@keyframes desc-in { from { opacity: 0; transform: translateY(4px); } }
.menu-hint { padding-left: 44px; font-size: 12px; color: var(--muted); opacity: 0.8; }
.menu-hint kbd { margin-right: 2px; }
#overlay.title #help { margin-left: auto; margin-right: auto; }
.logo.logo-sm { font-size: clamp(40px, 6.5vw, 68px); }
.map-back { margin-top: 6px; font-size: clamp(16px, 2.2vw, 20px) !important; }
@media (max-height: 560px) { .title-screen { gap: 14px; } .menu-desc { min-height: 0; } }

/* Field choice: the live field fills the screen, its details sit top-left and the fields are a strip of cards along the bottom. */
#overlay.title.fields {
  background:
    linear-gradient(180deg, rgba(8, 14, 6, 0.72) 0%, rgba(8, 14, 6, 0.2) 34%, transparent 55%, rgba(8, 14, 6, 0.55) 78%, rgba(8, 14, 6, 0.8) 100%),
    linear-gradient(90deg, rgba(8, 14, 6, 0.5) 0%, transparent 45%);
}
#maps.field-select {
  max-width: none; width: 100%; justify-content: space-between; gap: 16px;
  padding: 36px clamp(16px, 6vw, 96px) 24px;
}
.fs-info { max-width: 560px; }
.fs-info.desc-in { animation: desc-in 0.25s ease-out; }
.fs-info .eyebrow { margin-bottom: 6px; }
.fs-name {
  margin: 0 0 6px; font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-weight: 400;
  font-size: clamp(38px, 5.5vw, 66px); line-height: 1; letter-spacing: 0.01em; color: #fff6dc;
  text-shadow: 0 3px 0 #6b4a12, 0 6px 0 rgba(0,0,0,0.3), 0 10px 24px rgba(0,0,0,0.5);
}
.map-loc { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent2); min-height: 1.2em; }
.fs-desc {
  margin: 10px 0 0; max-width: 540px; font-size: 15px; line-height: 1.5; color: var(--text); opacity: 0.88; text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.map-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.map-stats .stat { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: 8px; background: rgba(8, 14, 6, 0.6); border: 1px solid var(--panel-border); min-width: 84px; }
.stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

.fs-bottom { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fs-strip {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; scroll-snap-type: x proximity;
  margin: 0 calc(-1 * clamp(16px, 6vw, 96px)); padding: 14px clamp(16px, 6vw, 96px) 6px;
}
.fs-strip::-webkit-scrollbar { display: none; }
.fs-card {
  flex: 0 0 auto; width: 124px; display: flex; flex-direction: column; gap: 3px; padding: 6px 6px 8px; scroll-snap-align: center;
  background: rgba(8, 14, 6, 0.62); border: 2px solid rgba(255, 255, 255, 0.12); border-radius: 12px;
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: transform 0.18s ease-out, border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.fs-card:hover { border-color: rgba(255, 255, 255, 0.3); }
.fs-thumb { display: block; width: 100%; aspect-ratio: 5 / 6; border-radius: 7px; background: #2b4a22; margin-bottom: 3px; }
.fs-card-loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Names get two lines, and every card keeps room for two so the strip stays level. */
.fs-card-name {
  font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-size: 15px; line-height: 1.15; letter-spacing: 0.02em;
  min-height: 2.3em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.fs-card-loc { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fs-card:not(.selected) .fs-thumb { filter: saturate(0.65) brightness(0.8); }
.fs-card.selected {
  transform: translateY(-8px); border-color: var(--accent); background: rgba(22, 32, 16, 0.9);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(242, 193, 78, 0.2);
}
.fs-card.selected .fs-card-name { color: var(--accent); }
.fs-card.selected .fs-card-loc { color: var(--accent2); }
.fs-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.fs-bar { display: flex; align-items: center; gap: 18px; }
.fs-bar .menu-hint { padding-left: 0; }
.fs-back {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 10px; cursor: pointer;
  background: rgba(8, 14, 6, 0.6); border: 1px solid var(--panel-border); color: var(--text);
  font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-size: 17px; letter-spacing: 0.02em;
}
.fs-back:hover { border-color: rgba(255, 255, 255, 0.35); }
.fs-back kbd { font-family: "Avenir Next", system-ui, sans-serif; font-size: 11px; }
.map-start {
  margin-left: auto; padding: 11px 28px; border: none; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: #1b1b12; font-family: "Lilita One", "Avenir Next", system-ui, sans-serif; font-size: 20px; letter-spacing: 0.02em;
  box-shadow: 0 3px 0 #6b4a12; transition: filter 0.15s;
}
.map-start:hover { filter: brightness(1.08); }
.map-start:active { transform: translateY(2px); box-shadow: 0 1px 0 #6b4a12; }

/* Options */
#options .menu-group { margin-top: 0; }
.menu-item.opt-row { display: flex; align-items: center; gap: 18px; font-size: clamp(20px, 2.8vw, 26px); padding-top: 4px; padding-bottom: 4px; cursor: default; }
.opt-name { min-width: 7.5em; }
.opt-value { min-width: 3.2em; font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; font-size: 14px; font-weight: 700; color: var(--muted); text-shadow: none; font-variant-numeric: tabular-nums; }
.opt-row.selected .opt-value { color: var(--accent); }
.opt-row input[type=range] {
  -webkit-appearance: none; appearance: none; width: clamp(140px, 22vw, 240px); height: 8px; border-radius: 4px; cursor: pointer; margin: 0;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255,255,255,0.15) var(--fill, 50%));
}
.opt-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff6dc; border: 3px solid #6b4a12; }
.opt-row input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff6dc; border: 3px solid #6b4a12; }
.opt-row:not(.selected) input[type=range] { filter: saturate(0.3) brightness(0.8); }

.help ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; }
.help p { font-size: 13px; color: var(--muted); line-height: 1.5; }
kbd { font-family: inherit; background: rgba(0,0,0,0.4); padding: 1px 6px; border-radius: 4px; font-size: 12px; color: var(--accent); }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row button {
  background: var(--accent); color: #1b1b12; border: none; border-radius: 8px; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer;
}
.btn-row button:nth-child(n+2) { background: rgba(255,255,255,0.1); color: var(--text); }
#result-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
#result-table td { padding: 4px 0; border-bottom: 1px solid var(--panel-border); }
#result-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
#result-table tr.total td { font-weight: 700; font-size: 18px; color: var(--accent); border-bottom: none; }
#result-notes { font-size: 12px; color: var(--muted); padding-left: 18px; max-height: 180px; overflow: auto; }
#toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--panel-border);
  padding: 10px 18px; border-radius: 10px; font-weight: 700; pointer-events: none; transition: opacity 0.3s;
}

/* Touch / phone */
canvas#game, #hud { touch-action: none; }
button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.label-touch, .touch-only { display: none; }
#stick {
  position: fixed; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.35); box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
#stick .knob {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(242,193,78,0.85); border: 2px solid #6b4a12;
}

@media (pointer: coarse), (max-width: 720px), (max-height: 500px) {
  .label-full, .menu-hint, #status .hint, .cmd-title, button.cmd kbd, button.cmd small, .help ul:not(.touch-only), .btn-row kbd { display: none; }
  .help h3:first-child { display: none; }
  .label-touch { display: inline; }
  .touch-only { display: block; }

  /* In-game HUD: a slim status strip, zoom top right, a compact command pad at the bottom. */
  #status {
    top: calc(8px + env(safe-area-inset-top)); left: calc(8px + env(safe-area-inset-left));
    min-width: 0; max-width: calc(100% - 172px); padding: 6px 10px;
  }
  #status .mode { font-size: 10px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  #status .time { font-size: 18px; }
  #status .phase { font-size: 14px; margin-top: 0; }
  /* Only the current section and the running total; the full card is on the result screen. */
  #hud-score { margin-top: 3px; font-size: 11px; }
  #hud-score tr:not(.active):not(.total) { display: none; }
  #hud-score tr.total td { padding-top: 2px; }
  #minimap-wrap {
    top: calc(8px + env(safe-area-inset-top)); right: calc(8px + env(safe-area-inset-right)); bottom: auto; padding: 4px;
    align-items: flex-start; gap: 4px;
  }
  #zoom-controls { gap: 4px; }
  button.zoom-btn { width: 38px; height: 38px; }
  #commands {
    left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; padding: 6px;
  }
  .cmd-grid { gap: 5px; }
  button.cmd { min-height: 44px; padding: 4px; align-items: center; justify-content: center; text-align: center; }
  button.cmd b { font-size: 13px; line-height: 1.1; }
  button.cmd:hover { background: rgba(255,255,255,0.06); }
  button.cmd:active { background: rgba(242,193,78,0.3); }

  /* Title screens scroll when they don't fit. */
  .title-screen {
    justify-content: flex-start; gap: 16px; overflow-y: auto; touch-action: pan-y; max-width: none; width: 100%;
    padding: calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
  }
  .title-screen > * { flex-shrink: 0; }
  .logo { font-size: clamp(40px, 12vw, 72px); }
  .logo.logo-sm { font-size: clamp(32px, 9vw, 52px); }
  .title-screen .tag { font-size: 14px; }
  .menu-item { font-size: 24px; padding-left: 36px; }
  .menu-item::before { left: 10px; }
  .menu-item.selected { transform: translateX(4px); }
  .menu-group, .menu-desc { padding-left: 36px; }
  .menu-sep { margin-left: 36px; }
  #menu .menu-desc, #options .menu-desc { margin-top: 0; }
  .menu-item.util { font-size: 18px; }
  .menu-item.util::before { left: 13px; }
  .menu-item { max-width: 100%; text-align: left; }
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  /* Field choice fits one screen: details on top, cards and buttons at the bottom. */
  #maps.field-select {
    overflow: hidden; justify-content: space-between; gap: 10px;
    padding: calc(18px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  }
  .fs-name { font-size: clamp(30px, 9vw, 44px); }
  .fs-desc { font-size: 13px; line-height: 1.45; margin-top: 6px; -webkit-line-clamp: 3; line-clamp: 3; }
  .map-stats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; margin: 10px -16px 0; padding: 0 16px; gap: 6px; }
  .map-stats::-webkit-scrollbar { display: none; }
  .map-stats .stat { flex-shrink: 0; min-width: 0; padding: 4px 8px; }
  .stat-value { font-size: 14px; }
  .fs-strip { gap: 10px; margin: 0 -16px; padding: 12px 16px 4px; }
  .fs-card { width: 96px; padding: 5px 5px 7px; }
  .fs-card-name { font-size: 13px; }
  .fs-bar { gap: 10px; }
  .fs-back { padding: 12px 16px; font-size: 18px; }
  .fs-back kbd { display: none; }
  .map-start { flex: 1; padding: 13px 16px; }
  .opt-row input[type=range] { width: clamp(110px, 35vw, 200px); }
  .opt-row input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; }
  .menu-item.opt-row { gap: 12px; }
  .opt-name { min-width: 0; }
  #overlay.title { background: linear-gradient(90deg, rgba(8, 14, 6, 0.82) 0%, rgba(8, 14, 6, 0.5) 60%, rgba(8, 14, 6, 0.25) 100%); }
  .card { padding: 18px 18px; width: calc(100% - 24px); max-height: calc(100% - 24px); touch-action: pan-y; }
  .btn-row { flex-wrap: wrap; }
  .btn-row button { padding: 12px 16px; flex: 1 1 auto; }
}

/* Phone upright. */
@media (max-width: 720px) and (orientation: portrait) {
  #menu .menu-desc { min-height: 4.5em; }
}

/* Phone on its side: little height, so the commands become a two-column pad on the right. */
@media (orientation: landscape) and (max-height: 500px) {
  #commands { left: auto; width: 210px; }
  .cmd-grid { grid-template-columns: repeat(2, 1fr); }
  button.cmd { min-height: 40px; }
  #minimap-wrap { top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); left: calc(8px + env(safe-area-inset-left)); right: auto; align-items: flex-end; }
  #zoom-controls { flex-direction: row; }
  .title-screen { gap: 10px; padding-top: calc(12px + env(safe-area-inset-top)); }
  #menu .title-block .tag, #menu .eyebrow { display: none; }
  .logo { font-size: 44px; flex-direction: row; gap: 0.3em; }
  .logo span:last-child { padding-left: 0; }
  .menu-item { font-size: 22px; padding-top: 2px; padding-bottom: 2px; }
  .menu-item.drill { font-size: 18px; }
  .menu-item.util { font-size: 16px; }
  .menu-sep { margin-top: 6px; margin-bottom: 2px; }
  #maps.field-select { gap: 6px; padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .fs-info .eyebrow { display: none; }
  .fs-name { font-size: 28px; margin-bottom: 2px; }
  .fs-desc { -webkit-line-clamp: 2; line-clamp: 2; max-width: 560px; }
  .map-stats { margin-top: 6px; }
  .fs-strip { padding-top: 10px; }
  .fs-card { width: 84px; }
  .fs-thumb { aspect-ratio: 4 / 3; }
  .fs-back, .map-start { padding-top: 8px; padding-bottom: 8px; }
  .map-start { flex: 0 1 auto; padding-left: 32px; padding-right: 32px; }
}
