:root {
  color-scheme: dark;
  --bg: #121722;
  --ink: #f7f3ea;
  --muted: #c9c1b2;
  --line: #111;
  --panel: #1c2433;
  --chip: #2a3142;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

button, .count, .mode {
  font: inherit;
}

h2, p { margin: 0; }

.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.count, .mode, .clock, .need, #panel-close {
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--line);
}

.count {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  background: var(--chip);
}

.count.alex { background: #6d3418; }

.mode {
  min-height: 36px;
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-weight: 700;
}

.mode.live { background: #1f8a4c; color: #fff; }
.mode.poll { background: #2a6fdb; color: #fff; }
.mode.demo { background: #f0c14a; color: #1b1408; }
.mode.stale { background: #b5651d; color: #fff; }
.mode.loading { background: #4a5160; color: #fff; }

.clock {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #241c33;
}

#mode-note {
  margin: 0;
  padding: 0 12px;
  min-height: 0;
  color: #f0c14a;
  background: #0e131c;
}

#mode-note:empty { display: none; }

#usage-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  background: #0e131c;
}

#usage {
  position: relative;
  flex: 1;
  max-width: 420px;
  height: 12px;
  border: 2px solid var(--line);
  background: #1b2333;
}

#usage-fill {
  display: flex;
  height: 100%;
  width: 0;
  background: #3f8f5a;
  overflow: hidden;
}

#usage.soft #usage-fill { background: #b8862b; }
#usage.hard #usage-fill { background: #b03a3a; }
#usage.stale #usage-fill { background: #6a6a72; }
#usage.stale #usage-text, #usage.stale { color: #9aa7b8; font-style: italic; }

.usage-slice { height: 100%; border-right: 1px solid #0e131c; }

#usage .cap {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
}

#usage .cap.soft { background: #f0c14a; }
#usage .cap.hard { background: #ff5a5a; }

#usage-text {
  flex: none;
  color: var(--ink);
  font-size: 13px;
}

#history-btn,
#history-close {
  flex: none;
  padding: 4px 10px;
  border: 2px solid var(--line);
  background: var(--chip);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

#history {
  position: fixed;
  z-index: 8;
  left: 12px;
  top: 120px;
  width: min(460px, calc(100vw - 24px));
  max-height: 60vh;
  overflow: auto;
  padding: 10px 12px;
  border: 3px solid #d8dde8;
  background: #1c2a4a;
  color: var(--ink);
}

#history[hidden] { display: none; }

.history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

#history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

#history-list li { padding: 3px 0; border-bottom: 1px solid #2c3d63; }
#history-list li.muted { color: #9aa7b8; }

#needs {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 8px 12px;
  background: #18110d;
  border-bottom: 3px solid var(--line);
  touch-action: pan-x;
}

#needs[hidden] { display: none; }

.needs-label {
  flex: none;
  color: #f0c14a;
  padding-right: 4px;
}

.need {
  flex: none;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 12px;
  background: #3d4d66;
  color: var(--ink);
  cursor: pointer;
}

.need.urgent { background: #8f2d2d; }
.need.question { background: #24527a; }

#viewport {
  flex: 1;
  min-height: 0;
  position: relative;
}

#stage {
  position: absolute;
  inset: 0;
  overflow: auto;
  background: #10151f;
  touch-action: none;
}

#map-wrap {
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#map-wrap.centered {
  align-items: center;
  justify-content: center;
}

#zoom-controls {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#zoom-in,
#zoom-out {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--line);
  background: var(--chip);
  color: var(--ink);
  font: 700 28px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  cursor: pointer;
}

#town {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  touch-action: none;
  flex: none;
  background: #16301c;
}

#panel[hidden] { display: none; }

#panel {
  position: fixed;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px;
}

.panel-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: var(--panel);
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  padding: 14px 14px 16px;
}

#panel-close {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 44px;
  min-height: 44px;
  background: #3a2430;
  color: var(--ink);
  cursor: pointer;
}

#p-name { font-size: 20px; padding-right: 72px; }
#p-role, #p-task, #p-time, #p-project, #p-drive { color: var(--muted); margin-top: 6px; }
#p-task { color: var(--ink); }
#p-drive a {
  color: #9fd0ff;
  font-weight: 700;
  text-decoration: underline;
}

.panel-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 2px solid var(--line);
  background: #333;
  text-transform: lowercase;
}

.tag.s-working { background: #1f6b4a; }
.tag.s-talking { background: #1f5a6b; }
.tag.s-waiting { background: #8a6420; }
.tag.s-blocked { background: #8f2d2d; }
.tag.s-done { background: #2a6f3a; }
.tag.s-walking { background: #24527a; }
.tag.s-idle { background: #3d4454; }

#p-need { color: #f0c14a; }

.fatal {
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 6;
  padding: 12px;
  background: #6d1d1d;
  border: 2px solid var(--line);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 900px) {
  #panel {
    top: 0;
    bottom: 0;
    left: auto;
    width: 340px;
    padding: 12px;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
  }
  #panel[hidden] { display: none; }
  .panel-card {
    pointer-events: auto;
    width: 100%;
    margin: 0;
  }
}




/* ---- town-v2 ---- */
#stage { overflow: hidden; }
#map-wrap { width: 100%; height: 100%; display: block; min-width: 0; min-height: 0; }
#town { display: block; }
#label-size { font-size: 14px; }
/* The panel wrapper spans the screen width; only the card takes taps, so taps on the map reach the map. */
#panel { pointer-events: none; }
#panel .panel-card { pointer-events: auto; }
/* Needs Alex: full text, wrapped, no ellipsis. */
#needs { flex-wrap: wrap; overflow-x: visible; touch-action: auto; }
/* Top UI messages: each one gets its own full-width line and wraps (no ellipsis). */
.need { flex: 1 1 100%; max-width: none; white-space: normal; overflow: visible; text-overflow: clip; text-align: left; overflow-wrap: anywhere; min-height: 0; }
.needs-label, .needs-none { flex: 1 1 100%; margin: 0; }
#mode-note { display: block; width: 100%; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; padding: 4px 12px; }
#mode-note:empty { display: none; }
.tag.s-sleeping { background: #4b4a7a; color: #fff; }
/* ?view=list */
body.list-view #viewport, body.list-view #panel, body.list-view #mode-note { display: none !important; }
#list-view { flex: 1; overflow: auto; padding: 8px 10px 24px; }
#list-view[hidden] { display: none; }
#bot-list { list-style: none; margin: 0; padding: 0; }
#bot-list li { border: 2px solid var(--line); border-left: 6px solid var(--dot, #888); background: #18202e; margin: 0 0 8px; padding: 8px 10px; font-size: 15px; line-height: 1.35; }
#bot-list .row1 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
#bot-list .nm { font-weight: bold; }
#bot-list .st { font-size: 13px; padding: 1px 6px; background: #2c3d63; white-space: nowrap; }
#bot-list .st.s-working { background: #2f6a3a; }
#bot-list .st.s-waiting { background: #24527a; }
#bot-list .st.s-blocked { background: #8f2d2d; }
#bot-list .st.s-done { background: #6b5a1e; }
#bot-list .st.s-sleeping { background: #4b4a7a; }
#bot-list .tk { margin-top: 3px; overflow-wrap: anywhere; }
#bot-list .meta { margin-top: 2px; font-size: 12px; color: #9aa7b8; }
body.list-view #usage-row, body.list-view #clock, body.list-view #needs, body.list-view #needs-btn { display: none !important; }
/* Phones: zoom and label buttons sit in a bar under the map, so they never cover the town. */
@media (max-width: 640px) {
  #stage { bottom: 48px; }
  #zoom-controls { right: 8px; bottom: 4px; flex-direction: row; gap: 6px; }
  #zoom-in, #zoom-out, #label-size { width: 40px; height: 40px; font-size: 22px; }
  #label-size { font-size: 14px; }
}

/* Tip popup: full text of a table task, monster name or question. */
#tip {
  position: fixed;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 40;
  max-width: min(420px, calc(100vw - 24px));
  background: #1b1730;
  color: #fff8e6;
  border: 2px solid #c9a23a;
  border-radius: 6px;
  padding: 10px 34px 10px 12px;
  font: 13px/1.4 ui-monospace, monospace;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
#tip[hidden] { display: none; }
#tip .tip-title { display: block; color: #ffe14a; margin-bottom: 4px; }
#tip .tip-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#tip .tip-close { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: #fff8e6; font-size: 18px; cursor: pointer; }

/* ---- castle UI: top bar (History, Needs Alex), map, fixed bottom strip ---- */
#topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #0e131c;
  border-bottom: 3px solid var(--line);
}
#topbar button, #history-close {
  flex: none;
  min-height: 36px;
  padding: 4px 10px;
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--line);
  background: var(--chip);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
#needs-btn b { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 0 4px; background: #0e131c; text-align: center; }
#needs-btn.has { background: #24527a; }
#needs-btn.urgent { background: #8f2d2d; }
#needs {
  position: fixed;
  z-index: 7;
  top: 52px;
  left: 8px;
  right: 8px;
  max-width: 640px;
  max-height: 30vh;
  overflow: auto;
  flex-direction: column;
  align-items: stretch;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
}
#needs .need { flex: none; }
@media (max-width: 640px) {
  #needs { top: 46px; padding: 6px; gap: 4px; }
  #needs .need { font-size: 13px; padding: 4px 6px 0; border-bottom: 4px solid transparent; min-height: 36px; }
}
.needs-none { color: var(--muted); }
#strip {
  order: 5;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  background: #0e131c;
  border-top: 3px solid var(--line);
}
#strip .counts { flex: none; }
#strip .count, #strip .mode, #strip .clock { min-height: 30px; font-size: 13px; padding: 2px 8px; }
#strip #usage-row { flex: 1 1 200px; padding: 0; background: none; }
#history { top: 56px; }
#tip { bottom: 84px; }
/* Panel: scrolls when long, Back button, Drive folder button. */
.panel-card { max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
#panel-close { position: sticky; float: right; top: 0; min-width: 72px; }
#p-folders { margin-top: 10px; border-top: 2px solid var(--line); padding-top: 6px; }
#p-folders h3 { font-size: 13px; color: var(--ink); }
#p-folder-list { list-style: none; margin: 4px 0 0; padding: 0; max-height: 180px; overflow-y: auto; overscroll-behavior: contain; }
#p-folder-list li { padding: 3px 0; color: var(--muted); font-size: 13px; }
#p-folder-list li b { color: var(--ink); font-weight: 700; }
#p-drive .drive-btn.off { background: #3a3f4a; color: #b9bfcc; cursor: default; }
#p-drive a.drive-btn, #p-drive span.drive-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 12px;
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--line);
  background: #24527a;
  color: #fff;
  text-decoration: none;
}
@media (min-width: 900px) {
  #panel { top: 56px; bottom: 60px; }
  #panel .panel-card { max-height: 100%; }
}
@media (max-width: 899px) {
  #panel { display: flex; flex-direction: column; justify-content: flex-end; }
  #panel .panel-card { max-height: min(55vh, 100%); width: 100%; }
}
@media (max-width: 640px) {
  #topbar { gap: 6px; padding: 5px 6px; }
  #topbar button { font-size: 12px; padding: 2px 6px; }
  #strip { gap: 4px 6px; padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); }
  #strip .counts { gap: 3px; }
  #strip .count, #strip .mode, #strip .clock { min-height: 24px; font-size: 11px; padding: 1px 4px; box-shadow: none; }
  #strip #usage-row { flex-basis: 100%; font-size: 11px; }
  #tip { bottom: 120px; }
  .panel-card { max-height: 55vh; }
}

/* Vault map: its own scene with a full-width bar holding the way back. */
#scene-bar { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #2a2210; color: #ffd34d; font-weight: 700; }
#scene-bar[hidden] { display: none; }
#vault-back { background: #ffd34d; color: #2a2210; border: 0; border-radius: 6px; padding: 8px 14px; font: inherit; font-weight: 700; min-height: 40px; cursor: pointer; }
#wonka-go { margin-left: auto; background: #3b3324; color: #ffd34d; border: 2px solid #ffd34d; border-radius: 6px; padding: 6px 12px; font: inherit; font-weight: 700; min-height: 40px; cursor: pointer; }
#wonka-go[hidden] { display: none; }
#fade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 5; }
#fade.on { opacity: 1; }
/* Needs Alex is an in-page strip under the top bar again (old behaviour), not a dropdown over the map. */
#needs { position: static; max-width: none; max-height: 30vh; flex: none; border-width: 0 0 3px; box-shadow: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
#needs .need, #needs .needs-label, #needs .needs-none { flex: none; width: 100%; box-sizing: border-box; }
@media (max-height: 499px) {
  #needs { max-height: 25vh; }
}
#needs .need {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* padding moved to transparent border so a peeking 3rd line is clipped */
  padding-bottom: 0;
  border-bottom: 8px solid transparent;
}
/* Hide all and Show all sit immediately after the label. They do not sit inside a card. */
#needs .needs-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  flex: none;
}
#needs .needs-head .needs-label { width: auto; flex: 0 1 auto; }
#needs .needs-hide-all,
#needs .needs-show-all {
  flex: none;
  min-height: 32px;
  padding: 2px 10px;
  border: 2px solid var(--line);
  background: #0e131c;
  color: #f0c14a;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
#needs .needs-hide-all[aria-pressed="true"],
#needs .needs-show-all[aria-pressed="true"] { background: #24527a; color: #fff; }
/* Chip row (scrolls sideways), full width (the search box was removed 2026-11-03). */
#chiprow { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #0e131c; border-bottom: 3px solid var(--line); }
#filters { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; touch-action: pan-x; padding-bottom: 2px; }
#filters .chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 2px 10px; border: 2px solid var(--line); background: var(--chip); color: var(--ink); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
#filters .chip:not(.all)::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #888); flex: none; }
#filters .chip.on { background: #24527a; border-color: #8fc0ff; }
#filters .chip.all.on { background: #f0c14a; color: #1a1408; border-color: #f0c14a; font-weight: 700; }
body.list-view #chiprow { display: none !important; }
/* Full bot list opened by the "All" chip: one button per bot, wraps, scrolls if long. */
#all-bots { position: fixed; z-index: 8; left: 8px; right: 8px; max-height: 40vh; overflow: auto; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #0e131c; border: 3px solid var(--line); box-shadow: 4px 4px 0 var(--line); }
#all-bots[hidden] { display: none; }
#all-bots .bot-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 2px 10px; border: 2px solid var(--line); background: var(--chip); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
#all-bots .bot-btn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #888); flex: none; }
body.list-view #all-bots { display: none !important; }
@media (max-width: 640px) { #filters .chip { font-size: 12px; min-height: 30px; padding: 2px 8px; } }

/* fix 40: "Play <game>?" confirm box (AgentTown.confirmBox), big enough for a phone or a Tesla screen */
#confirm-box {
  max-width: min(92vw, 420px);
  width: min(92vw, 420px);
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  margin: auto;
  padding: 16px 18px 18px;
  background: #2a2210;
  border: 3px solid #ffd34d;
  border-radius: 12px;
  color: #ffd34d;
  text-align: center;
}
#vault-back[aria-disabled="true"] { opacity: 0.5; cursor: default; }
#confirm-box::backdrop { background: rgba(0, 0, 0, 0.55); }
#confirm-box h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 6vw, 32px);
  line-height: 1.2;
  color: #ffd34d;
  white-space: normal;
  overflow-wrap: anywhere;
}
#confirm-box .confirm-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#confirm-box .confirm-buttons button {
  min-height: 56px;
  min-width: 120px;
  padding: 8px 18px;
  font: inherit;
  font-size: 22px;
  font-weight: bold;
  color: #ffd34d;
  background: #3b3324;
  border: 2px solid #ffd34d;
  border-radius: 10px;
  cursor: pointer;
}
#confirm-box .confirm-buttons button small { display: block; font-size: 14px; font-weight: normal; }
#confirm-box .confirm-buttons button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#confirm-box .confirm-buttons button:disabled,
#confirm-box .confirm-buttons button[aria-disabled="true"] { color: #8a8a96; border-color: #8a8a96; cursor: default; }
/* W3: the Wonkavator destination menu: big stacked full-width buttons (min 48 px) at every size */
#confirm-box.confirm-menu .confirm-buttons { flex-direction: column; gap: 8px; }
#confirm-box.confirm-menu .confirm-buttons button { width: 100%; min-height: 48px; padding: 6px 14px; }
@media (max-width: 640px), (max-height: 499px) {
  #confirm-box .confirm-buttons { flex-direction: column; }
  #confirm-box .confirm-buttons button { width: 100%; }
}
@media (max-height: 499px) {
  #confirm-box { padding: 10px 14px 12px; }
  #confirm-box h2 { margin-bottom: 8px; font-size: clamp(22px, 6vh, 28px); }
  #confirm-box .confirm-buttons { gap: 8px; }
}

/* fix 41: gold play hint left of the zoom buttons (castle view only; static, no animation) */
#play-hint {
  position: absolute;
  z-index: 3;
  right: 72px;
  bottom: 12px;
  max-width: calc(100% - 84px);
  margin: 0;
  pointer-events: none;
  text-align: right;
  color: #ffd34d;
  font: 700 clamp(14px, 2.2vw, 22px)/1.2 ui-monospace, monospace;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-text-stroke: 1px #1a1206;
  paint-order: stroke fill;
  text-shadow: -1px -1px 0 #1a1206, 1px -1px 0 #1a1206, -1px 1px 0 #1a1206, 1px 1px 0 #1a1206, 0 2px 4px rgba(0, 0, 0, 0.6);
}
@media (max-width: 640px) {
  #play-hint { left: 8px; right: 148px; bottom: 4px; height: 40px; max-width: none; display: flex; align-items: center; justify-content: flex-end; font-size: clamp(11px, 3.3vw, 14px); line-height: 1.15; }
}
/* fix 41b: phones sideways: the hint sits in the empty stage margin left of the framed map, clear of names */
@media (max-height: 499px) and (min-width: 641px) {
  #play-hint { left: 8px; right: auto; bottom: 8px; max-width: calc(50vw - 47vh + 70px); text-align: left; }
}
body.in-vault #play-hint, body.not-castle #play-hint, body.list-view #play-hint { display: none; }

/* Welcome overlay (pure DOM, never pauses the game loop) */
#welcome-overlay { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.82); overflow: hidden; box-sizing: border-box; padding: 2vh 3vw; cursor: pointer; }
#welcome-overlay .wo-inner { max-width: 94vw; max-height: 96vh; text-align: center; font-family: system-ui, sans-serif; font-weight: 900; }
#welcome-overlay .wo-title { margin: 0; animation: wo-rainbow 2s linear infinite; font-size: clamp(18px, min(6vw, 10vh), 72px); line-height: 1.1; }
#welcome-overlay .wo-text { margin: 1.1em 0 0; color: #fff; animation: none; text-shadow: 0 0 3px #000, 0 0 6px #000, 2px 2px 0 #000, -1px -1px 0 #000; font-size: clamp(15px, min(3.64vw, 6.44vh), 48px); line-height: 1.25; }
#welcome-overlay .wo-gold { color: #ffd34d; }
#welcome-overlay .wo-blue { color: #4db8ff; }
@keyframes wo-rainbow { 0% { color: #ff3b3b; } 17% { color: #ff9f1a; } 33% { color: #ffe81a; } 50% { color: #3bff5a; } 67% { color: #3bc8ff; } 83% { color: #b45bff; } 100% { color: #ff3b3b; } }
