/* Nagesh City - interface.
   Type is deliberately hoarding-like: heavy condensed caps for anything VANTA
   would print, and a quieter serif for the people underneath it. */

:root {
  --ink: #e8eef6;
  --dim: #9aa6b6;
  --gold: #ffd23f;
  --cyan: #4ad8ff;
  --green: #6dff8a;
  --red: #ff4a4a;
  --owed: #ff7a5a;
  --panel: rgba(10, 13, 18, 0.88);
  --edge: rgba(255, 255, 255, 0.12);
  --ui: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Arial Black", "Segoe UI Black", Impact, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; height: 100%; overflow: hidden;
  background: #06080c; color: var(--ink);
  font-family: var(--ui);
  user-select: none;
  -webkit-user-select: none;
}

canvas#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
canvas#nav { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

.hidden { display: none !important; }
kbd {
  display: inline-block; min-width: 1.5em; padding: 1px 6px; margin: 0 2px;
  border: 1px solid var(--edge); border-bottom-width: 2px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.08); font: 600 0.85em var(--ui); text-align: center;
}

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: block; width: 100%; margin: 6px 0; padding: 13px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--edge); border-radius: 3px;
  color: var(--ink); font: 700 15px/1 var(--ui); letter-spacing: 0.16em;
  cursor: pointer; text-align: left; position: relative;
  transition: background 0.14s, transform 0.1s, border-color 0.14s, letter-spacing 0.18s;
}
.btn::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); opacity: 0; transition: opacity 0.14s;
}
.btn:hover {
  background: rgba(255, 210, 63, 0.14); border-color: rgba(255, 210, 63, 0.5);
  letter-spacing: 0.22em; transform: translateX(3px);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateX(3px) scale(0.985); }
.btn.disabled { opacity: 0.32; pointer-events: none; }

/* ---------------------------------------------------------------- boot --- */
#boot, #menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1100px 700px at 50% 35%, #2a2016 0%, #0a0b0f 62%, #06080c 100%);
}
#boot { cursor: pointer; }
#boot.leaving { opacity: 0; transition: opacity 0.4s; pointer-events: none; }

.boot-inner, .menu-inner { text-align: center; max-width: 560px; padding: 24px; }

.logo {
  margin: 0; font-family: var(--display);
  font-size: clamp(46px, 9vw, 96px); line-height: 0.92; letter-spacing: -0.02em;
  color: #f4efe2; text-shadow: 0 0 40px rgba(255, 190, 90, 0.35);
}
.logo span { display: block; color: var(--gold); }
.tag {
  margin: 14px 0 30px; font-family: var(--serif); font-size: 16px;
  font-style: italic; color: var(--dim);
}
.boot-cta {
  margin-top: 26px; font: 700 14px var(--ui); letter-spacing: 0.4em;
  color: var(--gold); animation: pulse 1.9s ease-in-out infinite;
}
.boot-note { margin-top: 40px; font-size: 12px; color: #5f6a78; letter-spacing: 0.08em; }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.menu-btns { margin: 26px auto 0; max-width: 320px; }
.vols {
  margin: 26px auto 0; max-width: 320px; display: grid; gap: 8px;
  font: 600 11px var(--ui); letter-spacing: 0.2em; color: var(--dim);
}
.vols label { display: flex; align-items: center; gap: 12px; }
.slider { flex: 1; accent-color: var(--gold); }
.menu-foot {
  margin-top: 26px; font-family: var(--serif); font-size: 12.5px; font-style: italic;
  color: #6b7686; line-height: 1.6;
}

/* ------------------------------------------------------------- loading --- */
#loading { position: fixed; inset: 0; z-index: 45; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12vh; background: #06080c; }
.load-wrap { width: min(420px, 70vw); text-align: center; }
#load-text { font: 600 11px var(--ui); letter-spacing: 0.34em; color: var(--dim); margin-bottom: 12px; }
.load-track { height: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
#load-bar { height: 100%; width: 0; background: var(--gold); transition: width 0.35s ease; }

/* -------------------------------------------------------------- panels --- */
.panel {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 10, 0.82); backdrop-filter: blur(3px);
}
.panel-box {
  width: min(620px, 92vw); max-height: 84vh; overflow: auto; padding: 30px 34px;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 4px;
}
.panel-box h2 { margin: 0 0 20px; font-family: var(--display); font-size: 26px; letter-spacing: 0.06em; color: var(--gold); }
.ctrl-grid { display: grid; grid-template-columns: auto 1fr; gap: 11px 22px; align-items: center; font-size: 14px; }
.ctrl-grid > div:nth-child(even) { color: var(--dim); }
.panel-note, .credit-line {
  margin-top: 22px; font-family: var(--serif); font-size: 13.5px; line-height: 1.7; color: #9aa6b6;
}
.credit-line strong { color: var(--ink); font-family: var(--ui); font-size: 12px; letter-spacing: 0.1em; }
.panel-close { margin-top: 26px; max-width: 180px; }

/* ----------------------------------------------------------------- hud --- */
#hud { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
#hud > * { pointer-events: none; }

/* While a conversation is up, the read-outs get out of the way. */
#hud.cinematic #map-corner,
#hud.cinematic #stats,
#hud.cinematic #health-wrap,
#hud.cinematic #armour-wrap,
#hud.cinematic #body-wrap,
#hud.cinematic #speedo,
#hud.cinematic #objective,
#hud.cinematic #veh-prompt,
#hud.cinematic #whistle-prompt,
#hud.cinematic #progress,
#hud.cinematic #weapon,
#hud.cinematic #killfeed,
#hud.cinematic #interact { opacity: 0; }
#map-corner, #stats, #health-wrap, #armour-wrap, #body-wrap, #speedo, #objective,
#veh-prompt, #whistle-prompt, #progress, #weapon, #killfeed, #interact { transition: opacity 0.35s ease; }

#objective {
  position: absolute; top: 22px; left: 24px; max-width: 340px;
  padding: 12px 16px; background: linear-gradient(90deg, rgba(8,11,16,0.86), rgba(8,11,16,0.35));
  border-left: 3px solid var(--gold);
}
#obj-title { font: 700 10px var(--ui); letter-spacing: 0.28em; color: var(--gold); margin-bottom: 5px; }
#obj-text { font-size: 15px; font-weight: 600; line-height: 1.35; }
#obj-count { margin-top: 6px; font-size: 11px; letter-spacing: 0.1em; color: #6b7686; }

#stats {
  position: absolute; top: 22px; right: 24px; text-align: right;
  padding: 10px 14px 8px; border-radius: 3px;
  background: linear-gradient(270deg, rgba(8,11,16,0.72), rgba(8,11,16,0.12));
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.stat-row { display: flex; gap: 14px; justify-content: flex-end; align-items: baseline; margin-bottom: 3px; }
.stat-k { font: 700 10px var(--ui); letter-spacing: 0.24em; color: #9aa6b6; }
.stat-v { font: 700 18px var(--display); letter-spacing: 0.02em; min-width: 90px; }
.stat-k.owed { color: var(--owed); }
.stat-v.owed { color: var(--owed); text-shadow: 0 0 14px rgba(255, 122, 90, 0.4); }

#health-wrap { position: absolute; bottom: 26px; right: 26px; width: 190px; }
#armour-wrap { position: absolute; bottom: 66px; right: 26px; width: 190px; }
#body-wrap { position: absolute; bottom: 106px; right: 26px; width: 190px; }
.bar-label { font: 700 9px var(--ui); letter-spacing: 0.3em; color: #b3bdcb; margin-bottom: 4px; text-shadow: 0 1px 5px rgba(0,0,0,0.9); }
.bar { height: 7px; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--edge); }
#health-fill, #body-fill, #armour-fill { height: 100%; width: 100%; background: var(--green); transition: width 0.18s linear, background 0.3s; }
#body-fill { background: var(--cyan); }
#armour-fill { background: #8fd0ff; }

/* -------------------------------------------------------------- gunplay --- */
/* Top of the right-hand column, above the bars. Keeping it out of the centre
   means it never fights the progress bar at any window width. */
#weapon {
  position: absolute; bottom: 150px; right: 26px; text-align: right; width: 190px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
#wpn-name { font: 700 11px var(--ui); letter-spacing: 0.22em; color: var(--dim); }
#wpn-ammo { font: 700 30px var(--display); line-height: 1.05; letter-spacing: 0.02em; }
#wpn-ammo.dry { color: var(--red); animation: blink 0.7s steps(2) infinite; }
#wpn-hint { font: 600 10px var(--ui); letter-spacing: 0.14em; color: #5f6a78; }

#crosshair {
  position: fixed; left: 50%; top: 50%; width: 0; height: 0; z-index: 6;
  pointer-events: none; --gap: 10px;
}
#crosshair i {
  position: absolute; background: rgba(240, 246, 255, 0.9); display: block;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
}
#crosshair .ch-t, #crosshair .ch-b { width: 2px; height: 9px; left: -1px; }
#crosshair .ch-l, #crosshair .ch-r { width: 9px; height: 2px; top: -1px; }
#crosshair .ch-t { bottom: var(--gap); }
#crosshair .ch-b { top: var(--gap); }
#crosshair .ch-l { right: var(--gap); }
#crosshair .ch-r { left: var(--gap); }
#crosshair.hit i { background: #ff6a4a; box-shadow: 0 0 8px rgba(255, 90, 60, 0.9); }

#killfeed {
  position: absolute; top: 96px; right: 24px; text-align: right;
  display: flex; flex-direction: column; gap: 4px;
}
.kf-row {
  font: 700 11px var(--ui); letter-spacing: 0.16em; color: #ffb8a8;
  background: rgba(8, 11, 16, 0.7); border-right: 2px solid var(--red);
  padding: 4px 10px; animation: kfIn 0.22s ease;
}
@keyframes kfIn { from { opacity: 0; transform: translateX(14px); } }

#boom {
  position: fixed; inset: 0; z-index: 24; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 55%, rgba(255, 190, 90, 0.85), rgba(180, 70, 20, 0.35) 55%, rgba(0,0,0,0) 78%);
}
#boom.go { animation: boomOut 0.55s ease-out; }
@keyframes boomOut { 0% { opacity: 0.95; } 100% { opacity: 0; } }

#map-corner { position: absolute; bottom: 22px; left: 24px; width: 210px; }
#minimap { width: 210px; height: 210px; display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6)); }
#district-name {
  margin-top: 6px; text-align: center; font: 700 11px var(--ui);
  letter-spacing: 0.26em; color: var(--ink); text-shadow: 0 2px 8px #000;
}

/* The right-hand column, bottom up: health, vest, panels, weapon, speed. */
#speedo { position: absolute; bottom: 214px; right: 26px; text-align: right; }
#speed-val { font: 700 44px var(--display); line-height: 0.9; color: var(--ink); text-shadow: 0 3px 14px rgba(0,0,0,0.8); }
.speed-unit { font: 700 9px var(--ui); letter-spacing: 0.34em; color: #6b7686; }
#speed-name { margin-top: 4px; font: 600 11px var(--ui); letter-spacing: 0.16em; color: var(--cyan); }

#timer {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  font: 700 34px var(--display); letter-spacing: 0.04em;
  padding: 6px 22px; background: rgba(8, 11, 16, 0.7); border-bottom: 2px solid var(--cyan);
}
#timer.urgent { color: var(--red); border-bottom-color: var(--red); animation: blink 0.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.45; } }

#progress { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: min(380px, 44vw); text-align: center; }
#prog-label { font: 700 11px var(--ui); letter-spacing: 0.2em; margin-bottom: 6px; text-shadow: 0 2px 8px #000; }
.prog-track { height: 6px; background: rgba(0, 0, 0, 0.65); border: 1px solid var(--edge); }
#prog-fill { height: 100%; width: 0; background: var(--gold); transition: width 0.12s linear; }

#hint {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%);
  font: 700 13px var(--ui); letter-spacing: 0.16em; color: var(--gold);
  text-shadow: 0 2px 10px #000;
}

#toast {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  padding: 9px 20px; background: rgba(8, 11, 16, 0.8); border: 1px solid var(--edge);
  font-size: 14px; max-width: 60vw; text-align: center;
}
/* Overheard dialogue reads as speech, not as a system notice. */
#toast.speech {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  color: #dce4ef; border-color: rgba(74, 216, 255, 0.35);
  border-left: 3px solid var(--cyan);
}
#toast.pop { animation: toastIn 0.3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -10px); } }

#interact, #veh-prompt, #whistle-prompt {
  position: absolute; bottom: 130px; left: 50%; transform: translateX(-50%);
  padding: 8px 18px; background: rgba(8, 11, 16, 0.8); border: 1px solid var(--edge);
  font: 600 13px var(--ui); letter-spacing: 0.08em; white-space: nowrap;
}
/* The whistle sits under the other prompts so they never stack on one line. */
#whistle-prompt {
  bottom: 96px; color: var(--dim); font-size: 12px;
  background: rgba(8, 11, 16, 0.62); border-color: rgba(255, 255, 255, 0.07);
}
#whistle-prompt kbd { color: var(--gold); }

/* ------------------------------------------------------------ dialogue --- */
#dialogue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: min(860px, 92vw); display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; pointer-events: auto; cursor: pointer;
  background: linear-gradient(180deg, rgba(9, 12, 17, 0.94), rgba(6, 8, 12, 0.97));
  border: 1px solid var(--edge); border-left: 3px solid var(--cyan);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.7);
  animation: dlgIn 0.24s ease;
}
@keyframes dlgIn { from { opacity: 0; transform: translate(-50%, 14px); } }
#dlg-portrait { flex: 0 0 auto; width: 84px; height: 84px; border: 1px solid var(--edge); overflow: hidden; }
#dlg-portrait canvas { width: 84px; height: 84px; display: block; image-rendering: auto; }
.dlg-body { flex: 1; min-height: 84px; }
#dlg-name { font: 700 11px var(--ui); letter-spacing: 0.26em; color: var(--cyan); margin-bottom: 8px; }
#dlg-text { font-family: var(--serif); font-size: 17px; line-height: 1.55; min-height: 1.6em; }
#dlg-text.nagesh-line { font-family: var(--display); font-size: 30px; letter-spacing: 0.02em; color: var(--gold); }
#dlg-cue { margin-top: 7px; font-family: var(--serif); font-style: italic; font-size: 13px; color: #6b7686; }
#dlg-next { align-self: flex-end; color: var(--cyan); font-size: 13px; opacity: 0; transition: opacity 0.2s; animation: nudge 1.1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* -------------------------------------------------------- title cards --- */
/* Sits clear above the minimap - it used to be printed straight over it,
   which is why nobody could tell what it was. */
#titlecard {
  position: absolute; left: 26px; bottom: 278px; max-width: 400px;
  padding: 10px 0 10px 14px; border-left: 3px solid var(--gold);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
#titlecard.show { opacity: 1; transform: none; }
#tc-label { font: 700 10px var(--ui); letter-spacing: 0.34em; color: var(--gold); margin-bottom: 5px; }
#tc-title { font-family: var(--display); font-size: 34px; line-height: 1.05; letter-spacing: -0.01em; text-shadow: 0 4px 22px rgba(0,0,0,0.9); }
#tc-brief { margin-top: 6px; font-family: var(--serif); font-size: 15px; color: #c3ccd8; text-shadow: 0 2px 12px #000; }

.banner {
  position: absolute; top: 34%; left: 50%; transform: translate(-50%, -20px);
  text-align: center; opacity: 0; transition: opacity 0.4s, transform 0.4s;
}
.banner.show { opacity: 1; transform: translate(-50%, 0); }
#banner-title { font-family: var(--display); font-size: clamp(36px, 6vw, 66px); letter-spacing: 0.03em; text-shadow: 0 6px 30px rgba(0,0,0,0.9); }
#banner-sub { margin-top: 6px; font-family: var(--serif); font-size: 16px; color: #c3ccd8; }
.banner.good #banner-title { color: var(--green); }
.banner.bad #banner-title { color: var(--red); }

/* --------------------------------------------------------- chapter card -- */
#chapter {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 5, 8, 0.9); opacity: 0; transition: opacity 0.9s;
}
#chapter.show { opacity: 1; }
.ch-inner { text-align: center; padding: 30px; }
#ch-num { font: 700 12px var(--ui); letter-spacing: 0.55em; color: var(--gold); }
#ch-name { margin: 16px 0 14px; font-family: var(--display); font-size: clamp(38px, 8vw, 82px); letter-spacing: -0.01em; }
#ch-line { font-family: var(--serif); font-style: italic; font-size: 17px; color: #9aa6b6; }

/* -------------------------------------------------------------- map --- */
#fullmap { position: fixed; inset: 0; z-index: 35; background: rgba(3, 5, 8, 0.95); display: flex; align-items: center; justify-content: center; }
#fullmap-canvas { width: 100%; height: 100%; display: block; }
.map-foot { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }

/* -------------------------------------------------------------- shop --- */
#shop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 4, 8, 0.88); backdrop-filter: blur(3px);
}
.shop-inner {
  width: min(680px, 94vw); max-height: 88vh; overflow: auto; padding: 26px 30px;
  background: var(--panel); border: 1px solid var(--edge); border-top: 3px solid var(--gold);
}
.shop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
#shop-name { font-family: var(--display); font-size: 27px; letter-spacing: 0.02em; color: var(--gold); }
#shop-blurb { margin-top: 5px; font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--dim); }
.shop-wallet { text-align: right; flex: 0 0 auto; }
.shop-wallet-k { font: 700 9px var(--ui); letter-spacing: 0.24em; color: #6b7686; }
#shop-cash { font: 700 22px var(--display); color: var(--green); }
#shop-line {
  margin: 16px 0 4px; padding-left: 12px; border-left: 2px solid var(--cyan);
  font-family: var(--serif); font-style: italic; font-size: 14px; color: #c3ccd8;
}
#shop-list { margin-top: 14px; }
.shop-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 16px; padding: 12px 16px; letter-spacing: 0;
}
.si-name { font: 700 14px var(--ui); letter-spacing: 0.1em; grid-column: 1; }
.si-desc { grid-column: 1; font: 400 12.5px var(--serif); color: var(--dim); }
.si-price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font: 700 17px var(--display); color: var(--green); letter-spacing: 0.02em;
}
.si-price.broke { color: var(--owed); }
.shop-close { margin-top: 16px; text-align: center; }
.shop-foot {
  margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 12.5px;
  color: #6b7686; text-align: center;
}

/* ------------------------------------------------------------ choice --- */
#choice { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(2, 3, 6, 0.92); }
.choice-inner { width: min(620px, 92vw); }
#choice-label { font: 700 11px var(--ui); letter-spacing: 0.4em; color: var(--cyan); margin-bottom: 18px; text-align: center; }
.choice-btn { padding: 20px 24px; }
.choice-btn .ct { display: block; font-family: var(--display); font-size: 20px; letter-spacing: 0.04em; }
.choice-btn .ch { display: block; margin-top: 7px; font: 400 13px var(--serif); font-style: italic; letter-spacing: 0; color: var(--dim); }

/* ------------------------------------------------------------ ending --- */
#ending { position: fixed; inset: 0; z-index: 55; background: #04050a; display: flex; align-items: center; justify-content: center; overflow: auto; }
.end-inner { width: min(700px, 90vw); padding: 8vh 0; }
#end-title { font-family: var(--display); font-size: clamp(34px, 6vw, 62px); color: var(--gold); letter-spacing: 0.04em; margin-bottom: 28px; }
#end-body p { font-family: var(--serif); font-size: 17px; line-height: 1.75; color: #d2d9e3; margin: 0 0 20px; animation: fadeUp 1.1s ease both; }
#end-epi { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--edge); font-family: var(--serif); font-style: italic; font-size: 15px; color: #8a95a6; animation: fadeUp 1.2s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------- pause --- */
#pause { position: fixed; inset: 0; z-index: 52; display: flex; align-items: center; justify-content: center; background: rgba(4, 6, 10, 0.86); backdrop-filter: blur(4px); }
.pause-inner { width: min(320px, 86vw); }
.pause-inner h2 { margin: 0 0 22px; font-family: var(--display); font-size: 30px; letter-spacing: 0.16em; color: var(--gold); text-align: center; }

/* ------------------------------------------------------- full-screen fx -- */
#flash { position: fixed; inset: 0; z-index: 25; background: #fff; opacity: 0; pointer-events: none; }
#flash.go { animation: flashOut 0.4s ease-out; }
@keyframes flashOut { 0% { opacity: 0.9; } 100% { opacity: 0; } }

#vignette {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  transition: opacity 0.25s;
  background: radial-gradient(ellipse at center, rgba(180, 20, 20, 0) 42%, rgba(150, 12, 12, 0.9) 100%);
}

#fade { position: fixed; inset: 0; z-index: 58; background: #04050a; opacity: 0; pointer-events: none; }

/* --------------------------------------------------------- small screens - */
@media (max-width: 820px) {
  #map-corner { width: 140px; }
  #minimap { width: 140px; height: 140px; }
  #objective { max-width: 220px; font-size: 13px; }
  #titlecard { bottom: 190px; max-width: 60vw; }
  #tc-title { font-size: 24px; }
  #speed-val { font-size: 32px; }
  #dialogue { bottom: 14px; padding: 13px 15px; gap: 12px; }
  #dlg-portrait, #dlg-portrait canvas { width: 60px; height: 60px; }
  #dlg-text { font-size: 15px; }
  #dlg-text.nagesh-line { font-size: 24px; }
  /* Tighten the right-hand column so the whole stack still fits above the fold. */
  #health-wrap, #armour-wrap, #body-wrap, #weapon { width: 140px; }
  #armour-wrap { bottom: 58px; }
  #body-wrap { bottom: 90px; }
  #weapon { bottom: 124px; }
  #wpn-ammo { font-size: 22px; }
  #speedo { bottom: 176px; }
  #killfeed { top: 76px; }
  .kf-row { font-size: 10px; padding: 3px 8px; }
  .shop-row { padding: 10px 12px; }
  .si-price { font-size: 15px; }
}
