/* Tiles theme - shared by every page.
   Soft colour block per service, rounded corners, pill buttons, Space Grotesk headings over Inter. */
:root {
  --ground: #FAFAF7;
  --panel: #FFFFFF;
  --soft: #F3F3EF;
  --track: #EDEDE8;
  --track-hover: #E3E3DC;
  --line: #ECECE6;
  --ink: #141414;
  --muted: #55565A;
  --soft-text: #6A6B6F;

  /* Tiles */
  --peach: #FFE5D4;
  --peach-deep: #F0C4A6;
  --peach-ink: #5B4436;
  --sage: #DFEBDC;
  --sage-deep: #C9DDBF;
  --sage-ink: #3E5139;
  --butter: #F6E9C9;
  --butter-deep: #EDD69F;
  --butter-ink: #5E4A1A;
  --lilac: #E8E4F5;
  --lilac-ink: #4A4362;
  --sky: #DCE9F5;
  --sky-deep: #C3D8EC;
  --sky-ink: #2F4F6B;

  --accent: #FF7A45;       /* Rust orange: lively buttons on light or dark */
  --accent-hover: #FF8F63;
  --accent-deep: #141414;  /* focus rings */
  --bad: #B3261E;
  --warn: #9A5A0C;
  --ok: #1F7A45;

  --dark: #1C1E21;
  --dark-2: #26292D;
  --dark-line: #34373B;
  --dark-muted: #B4B6B9;
  --dark-text: #F3F3F1;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 1px 0 #ECECE6, 0 12px 32px rgba(20, 20, 20, .05);

  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.wb {
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
/* While a pop-up is open the page behind stays put (nav.js adds dlg-lock); scrolling stays inside the pop-up */
html:has(dialog[open]), html.dlg-lock { overflow: hidden; }
html.dlg-lock body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
dialog { overscroll-behavior: contain; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.wide { font-family: var(--display); }

/* ---------- Building blocks ---------- */
.wb-stripes, .login-stripes { display: none; }
.wb-panel { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.wb-dark { background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); }
.wb-muted { color: var(--muted); }
.wb-error { color: var(--bad); font-weight: 600; margin: 0; }

.wb-btn {
  appearance: none; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 0; background: var(--track); color: var(--ink); white-space: nowrap;
  transition: background-color .15s;
}
.wb-btn:hover:not(:disabled) { background: var(--track-hover); }
.wb-btn:disabled { opacity: .45; cursor: not-allowed; }
.wb-btn-dark { background: var(--ink); color: #FFFFFF; }
.wb-btn-dark:hover:not(:disabled) { background: #2C2E32; }
.wb-btn-white { background: #FFFFFF; color: var(--ink); }
.wb-btn-white:hover:not(:disabled) { background: #F5F5F2; }
.wb-btn-accent { background: var(--accent); color: var(--ink); }
.wb-btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.wb-btn-danger { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bad); color: var(--bad); }
.wb-btn-danger:hover:not(:disabled) { background: rgba(179, 38, 30, .07); }
.wb-btn-solid-danger { background: var(--bad); color: #FFFFFF; }
.wb-btn-solid-danger:hover:not(:disabled) { background: #9C1F18; }
.wb-btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px #45484D; color: var(--dark-text); font-weight: 500; }
.wb-btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .07); }
.wb-btn-small { min-height: 38px; padding: 0 15px; font-size: 14px; }
.wb-btn-wide { width: 100%; }
.wb-dark .wb-btn:not(.wb-btn-accent):not(.wb-btn-ghost):not(.wb-btn-dark) { background: #34373B; color: var(--dark-text); }
.wb-dark .wb-btn:not(.wb-btn-accent):not(.wb-btn-ghost):not(.wb-btn-dark):hover:not(:disabled) { background: #3F4247; }

.wb-tag { display: inline-block; font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--track); color: var(--ink); white-space: nowrap; }
.wb-tag.online { background: #CDEFD7; color: #0F4D2A; }
.wb-tag.starting { background: var(--butter); color: var(--butter-ink); }
.wb-tag.offline { background: var(--track); color: var(--muted); }
.wb-dark .wb-tag { background: #34373B; color: #D7D8DA; }
.wb-dark .wb-tag.online { background: #CDEFD7; color: #0F4D2A; }
.wb-dark .wb-tag.starting { background: var(--butter); color: var(--butter-ink); }

input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--soft);
  border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 11px 14px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #FFFFFF; }
input::placeholder, textarea::placeholder { color: #8A8B8F; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=radio], input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; padding: 0; }

/* ---------- Site header (every signed-in page) ---------- */
.site-bar {
  max-width: 1200px; margin: 0 auto; padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap;
}
.site-name {
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; text-transform: lowercase;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); padding: 9px 16px; border-radius: 999px; font-weight: 500;
  transition: background-color .15s;
}
.site-nav a:hover { background: var(--track); }
.site-nav a[aria-current="page"] { background: var(--ink); color: #FFFFFF; }
.site-who { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.site-logout {
  appearance: none; font: inherit; font-weight: 500; color: var(--muted); background: none; border: 0;
  padding: 9px 4px; cursor: pointer;
}
.site-logout:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.role-tag { margin-left: 6px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #FFFFFF; }

/* Older header pieces, still used in places */
.wb-bar { max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wb-bar-left { display: flex; align-items: center; gap: 14px; }
.wb-wordmark { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wb-who { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.wb-nav-link { color: var(--muted); font-weight: 600; }
.wb-nav-link:hover { color: var(--ink); }

.wb-wrap { max-width: 1200px; margin: 0 auto; padding: 8px 32px 96px; display: flex; flex-direction: column; gap: 24px; }
.wb-h1 {
  margin: 8px 0 0; font-family: var(--display); font-size: clamp(40px, 6vw, 64px); line-height: 1;
  font-weight: 600; letter-spacing: -0.035em;
}
.wb-h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Sign in and invite ---------- */
.login-split { min-height: 100vh; display: flex; flex-wrap: wrap; padding: 16px; gap: 16px; }
.login-brand {
  flex: 1 1 380px; background: var(--peach); border-radius: 32px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; overflow: hidden; position: relative;
}
.login-brand::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 280px; height: 280px; border-radius: 50%;
  background: var(--peach-deep); opacity: .7;
}
.login-brand-text { padding: 44px 44px; position: relative; z-index: 1; }
.login-brand-text p { margin: 0; font-weight: 600; font-size: 16px; color: var(--peach-ink); }
.login-name {
  margin-top: 16px; font-family: var(--display); font-size: clamp(52px, 7vw, 92px); line-height: .95;
  font-weight: 600; letter-spacing: -0.04em; max-width: 8ch; text-transform: lowercase;
}
.login-form-wrap { flex: 1 1 380px; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.login-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.login-form h1 { margin: 0 0 4px; font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.login-form input { font-size: 17px; padding: 13px 16px; }
.login-form .wb-btn { min-height: 52px; font-size: 16px; }
.login-form p { margin: 0; }
.login-note { margin: 0; color: var(--muted); font-size: 14px; }
.field-hint { color: var(--muted); font-weight: 400; font-size: 13px; }
.invite-can { background: var(--sage); color: var(--sage-ink); border-radius: var(--r); padding: 16px 18px; }
.invite-can strong { color: var(--ink); }
.invite-can ul { margin: 8px 0 0; padding-left: 20px; }
.invite-can li { margin: 2px 0; }

/* ---------- Homepage ---------- */
.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 28px; flex-wrap: wrap; }
.machine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; color: var(--muted); font-size: 14px; }
.machine-up { display: inline-flex; align-items: center; gap: 8px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #9A9B9F; flex: none; }
.led.on { background: #23A35A; box-shadow: 0 0 0 4px rgba(35, 163, 90, .15); }
.led.stale { background: #D08A1E; box-shadow: 0 0 0 4px rgba(208, 138, 30, .18); }
.machine-name { color: var(--ink); font-weight: 600; }
.machine-spec { display: none; }
.ring { display: inline-flex; }
.ring svg { display: none; }
.ring-label { display: inline-flex; gap: 5px; align-items: baseline; }
.ring-label strong { color: var(--ink); font-weight: 600; }
.ring.high .ring-label strong { color: var(--warn); }
.ring.full .ring-label strong { color: var(--bad); }

.bays { display: flex; flex-wrap: wrap; gap: 16px; }
.bay {
  flex: 1 1 300px; min-width: 0; border-radius: var(--r-lg); padding: 28px; min-height: 200px;
  display: flex; flex-direction: column; gap: 10px; background: var(--panel); box-shadow: var(--shadow);
}
.bay h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.bay p { margin: 0; color: var(--muted); }
.bay .grow { flex: 1; }
.bay .wb-btn { align-self: flex-start; margin-top: auto; }
.bay.wb-panel { box-shadow: var(--shadow); }
.bay-trails { background: var(--sage); box-shadow: none; }
.bay-trails p { color: var(--sage-ink); }
.bay-people { background: var(--lilac); box-shadow: none; }
.bay-people p { color: var(--lilac-ink); }
.bay-service { background: var(--butter); box-shadow: none; }
.bay-service p { color: var(--butter-ink); }
.bay-empty { background: transparent; box-shadow: none; border: 2px dashed #D6D6D0; justify-content: center; }
.bay-empty h2 { font-size: 22px; }
.bay-empty h2, .bay-empty p { color: var(--soft-text); }

/* Kitchen: the big peach tile */
.bay-kitchen { flex: 3 1 520px; background: var(--peach); box-shadow: none; flex-direction: row; flex-wrap: wrap; gap: 24px; }
.bay-kitchen .k-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.bay-kitchen .k-badge { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #FFFFFF; }
.bay-kitchen .k-tonight { margin: 4px 0 0; font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.bay-kitchen p { color: var(--peach-ink); }
.bay-kitchen .k-photo {
  flex: 1 1 220px; min-height: 220px; border-radius: var(--r); background: var(--peach-deep);
  overflow: hidden; position: relative;
}
.bay-kitchen .k-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Rust: the dark tile */
.bay-rust { flex: 2 1 340px; padding: 28px; gap: 14px; box-shadow: none; }
.bay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bay-rust h2 { font-size: 26px; }
.rust-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rust-num { font-family: var(--display); font-size: 72px; line-height: 1; font-weight: 600; color: var(--accent); }
.rust-label { font-size: 17px; color: var(--dark-muted); }
.rust-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--dark-line); padding-top: 16px; margin: 0; }
.rust-stats div { min-width: 0; }
.rust-stats dt { font-size: 13px; color: var(--dark-muted); }
.rust-stats dd { margin: 0; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bay-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.bay-actions .wb-btn { margin-top: 0; }

/* ---------- Rust panel ---------- */
.status-band { overflow: hidden; }
.status-body { padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: flex-end; justify-content: space-between; }
.status-title h1 {
  margin: 14px 0 4px; font-family: var(--display); font-size: clamp(32px, 4.5vw, 52px); line-height: 1;
  font-weight: 600; letter-spacing: -0.03em; overflow-wrap: anywhere;
}
.status-title .meta { color: var(--dark-muted); }
.status-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.status-stats .label { display: block; font-size: 13px; color: var(--dark-muted); }
.status-stats .value { display: block; font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.status-stats .value.hot { color: var(--accent); }
.status-connect { margin: 0 16px 16px; padding: 14px 18px; border-radius: var(--r); background: var(--dark-2); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--dark-muted); }
.status-connect code { font-family: var(--mono); color: var(--dark-text); background: #121315; padding: 6px 12px; border-radius: 10px; overflow-wrap: anywhere; }

.pill { display: inline-block; font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #34373B; color: #D7D8DA; }
.pill.online { background: #CDEFD7; color: #0F4D2A; }
.pill.starting { background: var(--butter); color: var(--butter-ink); }
.pill.offline { background: #34373B; color: #D7D8DA; }

.banner, .result { border-radius: var(--r); padding: 14px 18px; font-weight: 500; }
.banner { background: var(--butter); color: var(--butter-ink); }
.result.ok { background: #DDF1E3; color: #124D2C; }
.result.fail { background: #F8E0DE; color: #7A1913; }

.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.controls .wb-btn { min-height: 56px; font-size: 16px; }
.controls .wb-btn:not(.wb-btn-accent):not(.wb-btn-dark):not(.wb-btn-danger) { background: var(--panel); box-shadow: var(--shadow); }
.controls .wb-btn:not(.wb-btn-accent):not(.wb-btn-dark):not(.wb-btn-danger):hover:not(:disabled) { background: #FFFFFF; box-shadow: 0 0 0 1.5px var(--ink); }
.controls-hint { margin: -6px 0 0; color: var(--muted); font-size: 14px; }

.split { display: flex; flex-wrap: wrap; gap: 16px; }
.split > * { min-width: 0; }
.card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card p.note { margin: 0; color: var(--muted); font-size: 14px; }
.players-card { flex: 1 1 340px; }
.console-card { flex: 999 1 520px; }
.players { list-style: none; margin: 0; padding: 0; }
.players li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.players li:last-child { border-bottom: 0; }
.players li span:first-child { font-weight: 600; }
.players li.muted { color: var(--muted); }
.players li.muted span:first-child { font-weight: 400; }
.players .meta { color: var(--muted); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }
.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; flex-wrap: wrap; font-size: 15px; }
.check .sub { color: var(--muted); font-weight: 400; }
.console-card .check { color: var(--dark-muted); font-size: 14px; }
.console-card input[type=checkbox] { accent-color: var(--accent); }
.console {
  margin: 0; background: #121315; border-radius: var(--r); padding: 16px 18px; height: 320px; overflow: auto;
  font: 13px/1.6 var(--mono); color: #C9CDD1; white-space: pre-wrap; overflow-wrap: anywhere;
}
.console .panel { color: var(--accent); }
.console .rcon { color: #F2C77B; }
.console-card input:not([type=checkbox]) { background: var(--dark-2); color: var(--dark-text); font-family: var(--mono); font-size: 14px; }
.console-card input:not([type=checkbox]):focus { border-color: var(--accent); background: var(--dark-2); }

.half { flex: 1 1 420px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-weight: 600; margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seed-input { width: 170px; padding: 7px 12px; }

/* ---------- Sign-in extras ---------- */
.turnstile-box { min-height: 65px; }
.code-input { font-family: var(--mono); font-size: 26px !important; letter-spacing: .25em; text-align: center; }
.login-form .check { font-size: 15px; }

/* ---------- Security page ---------- */
.wb-bar.narrow, .wb-wrap.narrow { max-width: 860px; }
.sec-title { font-size: clamp(40px, 6vw, 60px); }
.sec-lede { color: var(--muted); margin: 12px 0 0; max-width: 54ch; }
.sec-card { overflow: hidden; }
.sec-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sec-body p { margin: 0; }
.sec-body code { font-family: var(--mono); background: var(--soft); padding: 2px 8px; border-radius: 8px; overflow-wrap: anywhere; }
.sec-steps { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 26px; width: 100%; }
.sec-steps li::marker { font-family: var(--display); font-weight: 600; font-size: 20px; }
.sec-steps h3 { margin: 0 0 6px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.sec-steps p { color: var(--muted); margin: 0 0 10px; }
.sec-qr { display: block; width: 240px; height: 240px; border-radius: var(--r); background: #fff; margin: 4px 0 14px; padding: 8px; box-shadow: var(--shadow); image-rendering: pixelated; }
.sec-key { display: inline-block; font-size: 20px !important; letter-spacing: .08em; padding: 8px 14px !important; background: var(--peach) !important; color: var(--ink); }
.sec-form { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 380px; }
.sec-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 20;
  background: var(--ink); color: #FFFFFF; padding: 12px 20px; border-radius: 999px; font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25); max-width: calc(100% - 32px);
}
.toast.bad { background: var(--bad); }

/* ---------- Smaller screens ---------- */
@media (max-width: 640px) {
  .site-bar, .wb-bar { padding: 16px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -4px; }
  .site-nav a { padding: 8px 13px; flex: none; }
  .wb-wrap { padding: 4px 16px 56px; gap: 18px; }
  .status-body { padding: 22px; }
  .bay { padding: 22px; }
  .rust-num { font-size: 60px; }
  .rust-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-stats .value { font-size: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .login-split { padding: 10px; gap: 10px; }
  .login-brand { min-height: 220px; border-radius: 26px; }
  .login-brand-text { padding: 28px 26px; }
  .card { padding: 20px; }
  .sec-body { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Tiles that are dark (Rust) */
.bay.wb-dark { background: var(--dark); color: var(--dark-text); box-shadow: none; }
.bay.wb-dark p { color: var(--dark-muted); }
.bay-actions .wb-btn { max-width: 100%; white-space: normal; text-align: center; min-height: 44px; padding-top: 8px; padding-bottom: 8px; overflow-wrap: anywhere; }

/* ---------- Homepage previews ---------- */
.bay-split { flex-direction: row; flex-wrap: wrap; gap: 24px; }
.bay-split .b-text { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.bay-split .b-text .wb-btn { margin-top: auto; }
.b-label { font-size: 13px; font-weight: 600; color: var(--sage-ink); }
.b-big { margin: -6px 0 0 !important; font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--ink) !important; }

/* Trails: mini map */
.bay-trails.bay-split { flex: 3 1 520px; }
.bay-run { background: var(--sky); box-shadow: none; }
.bay-run p { color: var(--sky-ink); }
.bay-run.bay-split { flex: 2 1 420px; }
.run-map-mini { background: #EEF4FA; }
.t-map { flex: 1 1 260px; min-height: 200px; border-radius: var(--r); background: #F0F5EE; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.t-map svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.t-map-empty { color: var(--sage-ink); font-size: 14px; padding: 20px; text-align: center; }

/* People: who's been on */
.bay-people { flex: 2 1 320px; }
.p-preview { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.p-preview li { display: flex; align-items: center; gap: 12px; }
.p-preview li.paused { opacity: .55; }
.p-av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #FFFFFF; color: var(--lilac-ink); font-family: var(--display); font-weight: 600; font-size: 17px;
}
.p-av.admin { background: var(--peach); color: var(--peach-ink); }
.p-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.p-n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-s { font-size: 13px; color: var(--lilac-ink); }
.p-more { font-size: 13px; color: var(--lilac-ink) !important; margin-top: -4px !important; }

/* Rust: who's playing */
.r-online { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.r-player { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 5px 12px 5px 10px; border-radius: 999px; background: #2C2F33; color: var(--dark-text); }
.r-player::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3DD27A; }
.r-player.more::before { display: none; }
.r-none { font-size: 14px; color: var(--dark-muted); }

/* Receipts tile */
.bay-receipts { background: var(--butter); box-shadow: none; flex: 2 1 340px; }
.bay-receipts > p { color: var(--butter-ink); }
.rc-owe { display: flex; flex-direction: column; }
.rc-who { font-weight: 600; color: var(--butter-ink); }
.rc-amt { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.rc-thumbs { display: flex; gap: 8px; }
.rc-thumbs img { width: 64px; height: 84px; object-fit: cover; object-position: top; border-radius: 12px; background: #FFFFFF; }
