:root {
  --bg: #0c0809;
  --bg-panel: #17100f;
  --bg-panel-2: #211714;
  --bg-panel-3: #2a1e1a;
  --accent: #8b1a2b;
  --accent-bright: #c33342;
  --gold: #b0894e;
  --gold-dim: #7a5f33;
  --text: #e9ddd2;
  --text-dim: #a2897c;
  --border: #3b2a27;
  --good: #6a9a5f;

  --font-display: 'Pirata One', 'Georgia', serif;
  --font-head: 'Cinzel', 'Georgia', serif;
  /* EB Garamond is the actually-loaded web font (see includes/header.php's Google Fonts link)
     and the intended body face — it must lead the stack. A prior ordering put system-only
     cursive fonts (Monotype Corsiva / Segoe Script) first, so on any Windows machine that
     happens to have them installed (most do, via Office), EVERY label/list/table/paragraph
     site-wide silently rendered as hard-to-read cursive script instead of the clean serif
     already used (correctly) for the Play chat log. Never reintroduce a system font ahead
     of the web font here. */
  --font-body: 'EB Garamond', 'Georgia', 'Times New Roman', serif;
}
* { box-sizing: border-box; }
/* Root font-size scales the WHOLE UI (nearly every size is in rem). Bumped from the 16px browser
   default to 19px so all of the project's text grows proportionally — Monotype Corsiva reads small,
   and this keeps the rest of the interface in step with the enlarged chat. */
html { font-size: 19px; }
body {
  background:
    radial-gradient(120% 80% at 50% -10%, #241413 0%, rgba(36,20,19,0) 55%),
    radial-gradient(100% 60% at 50% 120%, #1a0d10 0%, rgba(26,13,16,0) 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}

/* ---------------- Header / nav ---------------- */
header.site {
  padding: 1.4rem 2rem 1rem;
  border-bottom: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, #1c1311 0%, var(--bg) 100%);
  box-shadow: 0 1px 0 rgba(176,137,78,0.15);
}
header.site h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
  text-shadow: 0 0 18px rgba(195,51,66,0.35);
}
header.site nav {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
}
header.site nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.15s;
}
header.site nav a:hover { color: var(--gold); }
.nav-user { margin-left: auto; display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: var(--text-dim); font-size: 0.95rem; }

main { max-width: 1280px; margin: 0 auto; padding: 2rem; }

/* ---------------- Cards / section banners ---------------- */
.card {
  background: linear-gradient(180deg, #1a1210 0%, #140e0d 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.1rem 1.35rem 1.25rem;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(176,137,78,0.06), 0 2px 10px rgba(0,0,0,0.35);
  /* Lets .sheet-cols below respond to THIS card's actual width (container query), not the
     viewport — so a narrower card automatically drops to fewer internal columns instead of
     overflowing, regardless of how wide the browser window is. */
  container-type: inline-size;
}
.card h2, .card h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.card h2 { font-size: 1.5rem; color: var(--accent-bright); }
.card h2::before, .card h3::before {
  content: '\25C6'; /* ◆ */
  color: var(--gold-dim);
  font-size: 0.7em;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }

/* ---------------- Empty states ---------------- */
/* One consistent, calm pattern for "nothing here yet" — a short line plus a clear
   action — instead of a lone italic sentence in an otherwise-bare card. */
.empty-state { text-align: center; padding: 1.6rem 1rem 1.9rem; }
.empty-state p { color: var(--text-dim); margin: 0 0 0.9rem; }
.empty-state .btn { margin: 0; }

/* Clickable summary cards (character list, session picker) */
.card.card-link { display: block; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.card.card-link:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.card.card-link h3 { color: var(--accent-bright); }

/* ---------------- Buttons ---------------- */
button, .btn {
  background: linear-gradient(180deg, #9c2130, #741320);
  color: var(--text);
  border: 1px solid var(--accent-bright);
  padding: 0.55rem 1.15rem;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: filter 0.15s, background 0.15s;
}
button:hover, .btn:hover { filter: brightness(1.15); }
button:disabled { opacity: 0.4; cursor: not-allowed; filter: none; }
button.secondary, .btn.secondary {
  background: transparent; border: 1px solid var(--gold-dim); color: var(--gold);
}
button.secondary:hover { background: rgba(176,137,78,0.1); }

/* ---------------- Forms ---------------- */
input, select, textarea {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.6rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(176,137,78,0.2); }
label { display: block; margin: 0.7rem 0 0.2rem; font-family: var(--font-head); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); }

/* ---------------- The sheet: dots, pips, trait rows ---------------- */
.dots, .pips { display: inline-flex; gap: 4px; flex: none; }
.dots { cursor: pointer; }
.dot, .pip {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--gold-dim);
  background: radial-gradient(circle at 35% 30%, #2b1f1c, #130d0c);
  display: inline-block;
}
.dot.filled, .pip.filled {
  background: radial-gradient(circle at 35% 30%, var(--accent-bright), var(--accent) 72%);
  border-color: var(--accent-bright);
  box-shadow: 0 0 5px rgba(195,51,66,0.5);
}
.dots:hover .dot { border-color: var(--gold); }

.trait-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.22rem 0; }
.t-name { white-space: nowrap; color: var(--text); }
.t-name .star { color: var(--gold); font-size: 0.8em; }
.t-name .cur { color: var(--text-dim); font-style: italic; }
.t-lead { flex: 1 1 auto; min-width: 10px; border-bottom: 1px dotted var(--gold-dim); align-self: center; height: 0; transform: translateY(-1px); opacity: 0.55; }
.t-ctrl { flex: none; display: inline-flex; gap: 0.3rem; }
.t-ctrl button { padding: 0.2rem 0.5rem; font-size: 0.7rem; }

/* Three-column sheet sections */
.sheet-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1.6rem; }
/* Trait names use white-space:nowrap (see .t-name) so a long one (Investigation,
   Self-Control, Obtenebration…) needs real room — drop to 2, then 1 column as the card's
   OWN width shrinks, whatever the reason (a narrow viewport, or a narrower card layout). */
@container (max-width: 620px) { .sheet-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 360px) { .sheet-cols { grid-template-columns: minmax(0, 1fr); } }
.sheet-col h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-align: center;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.3rem;
}
.sheet-col .prio { width: 100%; margin-bottom: 0.5rem; font-size: 0.8rem; }
@media (max-width: 760px) { .sheet-cols { grid-template-columns: 1fr; } }

/* ---------------- Stat tracks (blood/willpower/humanity/stress) ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { text-align: center; }
.stat .stat-label { font-family: var(--font-head); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--gold); margin-bottom: 0.4rem; }
.stat .stat-num { font-size: 1.1rem; color: var(--text); }
.track { display: inline-flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
.box { width: 15px; height: 15px; border: 1.5px solid var(--gold-dim); background: #130d0c; }
.box.round { border-radius: 50%; }
.box.filled { background: var(--accent); border-color: var(--accent-bright); box-shadow: 0 0 4px rgba(195,51,66,0.4); }
.box.stress.filled { background: #6c6a2a; border-color: #9a9740; box-shadow: 0 0 4px rgba(154,151,64,0.4); }
.box.expo.filled { background: #7a3d16; border-color: #b3632b; box-shadow: 0 0 4px rgba(179,99,43,0.4); }

/* ---------------- Clan hint / info ---------------- */
.hint {
  background: linear-gradient(180deg, rgba(139,26,43,0.14), rgba(139,26,43,0.05));
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent-bright);
  border-radius: 3px; padding: 0.8rem 1rem; margin-bottom: 1.1rem;
}
.hint strong { font-family: var(--font-head); letter-spacing: 0.06em; color: var(--gold); }

/* ---------------- Step nav / points ---------------- */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6rem; gap: 1rem; }
#step-indicator { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; }
.points-remaining { font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.05em; color: var(--gold); text-align: center; }
.points-remaining.zero { color: var(--good); }
.points-remaining.over { color: var(--accent-bright); font-weight: bold; }

.small { font-size: 0.88rem; color: var(--text-dim); }
.muted { color: var(--text-dim); opacity: .7; }
.linklike { background: none; border: 0; padding: 0; margin: 0; color: var(--gold);
  font: inherit; cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--accent-bright); }
a { color: var(--gold); }

/* ---------------- Single-page creation ---------------- */
.id-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem 1.2rem; }
.id-grid label { margin-top: 0.3rem; }
@media (max-width: 700px) { .id-grid { grid-template-columns: 1fr; } }
.sect-status { margin-left: auto; font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  font-size: 0.9rem; color: var(--text-dim); font-weight: normal; }
.sect-status.ok { color: var(--good); }
.sect-status b { color: var(--text); font-weight: 600; }
.sect-status.ok b { color: var(--good); }
h4.fb-head { font-family: var(--font-head); color: var(--gold); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.78rem; margin: 1.1rem 0 0.5rem; border-bottom: 1px solid var(--gold-dim); padding-bottom: 0.3rem; }
.sheet-footer {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.3rem; margin: 0 -2rem -2rem;
  background: linear-gradient(0deg, #14100f 60%, rgba(20,16,15,0.92));
  border-top: 1px solid var(--gold-dim);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}
.sheet-footer #pool-summary { text-align: left; margin: 0; flex: 1; font-size: 0.92rem; }
.sheet-footer button { flex: none; }

/* ---------------- Merits & Flaws ---------------- */
.mf-grid { gap: 0.8rem 1.6rem; }
.mf-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0;
  margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--text-dim); cursor: pointer; }
.mf-row input { width: auto; margin: 0; accent-color: var(--accent-bright); cursor: pointer; }
.mf-row .mf-name { flex: 1; }
.mf-row.on .mf-name { color: var(--text); }
.mf-cost { flex: none; min-width: 1.4em; text-align: center; font-family: var(--font-head);
  font-size: 0.8rem; color: var(--gold); border: 1px solid var(--gold-dim); border-radius: 3px; padding: 0 0.35rem; }
.mf-detail { margin: 0.1rem 0 0.5rem 1.7rem; width: calc(100% - 1.7rem); font-size: 0.9rem;
  padding: 0.35rem 0.5rem; border-color: var(--accent); background: var(--bg-panel); }

/* ---------------- Progressive reveal + locking ---------------- */
.sect.reveal { animation: sectIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
@keyframes sectIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.reveal-hint {
  text-align: center; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.72rem; color: var(--gold-dim);
  margin: 0.4rem 0 1.2rem; animation: hintPulse 1.9s ease-in-out infinite;
}
.reveal-hint::before { content: '\25BE'; margin-right: 0.5rem; }
@keyframes hintPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

.card.locked { opacity: 0.82; }
.card.locked .dots, .card.locked select.prio { pointer-events: none; opacity: 0.75; }
.card.locked .dots:hover .dot { border-color: var(--gold-dim); }
.lock-btn { margin-left: 0.6rem; padding: 0.15rem 0.6rem; font-size: 0.68rem;
  background: transparent; border: 1px solid var(--gold-dim); color: var(--gold); }
.lock-btn:hover { background: rgba(176,137,78,0.12); filter: none; }

@media (prefers-reduced-motion: reduce) {
  .sect.reveal { animation: none; }
  .reveal-hint { animation: none; opacity: 0.7; }
}

/* Per-section Confirm button */
.sect-confirm {
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
}
.sect-confirm .confirm-note { margin: 0; }
.sect-confirm button { font-size: 0.78rem; }

/* Freebie ledger */
.ledger {
  background: rgba(176,137,78,0.06); border: 1px solid var(--gold-dim);
  border-radius: 4px; padding: 0.4rem 0.9rem 0.7rem; margin-bottom: 1.2rem;
}
.ledger .fb-head { margin-top: 0.5rem; border-color: rgba(176,137,78,0.4); }
.ledger-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0; }
.ledger-cost { flex: none; font-family: var(--font-head); font-size: 0.8rem; color: var(--accent-bright); min-width: 2.4em; text-align: right; }
.ledger-cost.gain { color: var(--good); }
.lg-btn { flex: none; padding: 0.1rem 0.5rem; font-size: 0.72rem; line-height: 1; }

/* ---------------- Auth pages ---------------- */
body.auth-page { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-box { max-width: 420px; width: 100%; }
.auth-box h1 { font-family: var(--font-display); color: var(--accent-bright); text-align: center;
  font-size: 2.6rem; font-weight: 400; letter-spacing: 0.02em; text-shadow: 0 0 18px rgba(195,51,66,0.35); margin-bottom: 0.6rem; }
.auth-box form button { width: 100%; margin-top: 1.1rem; }
.error { background: rgba(199,48,66,0.12); border: 1px solid var(--accent); color: #f0c9cd;
  padding: 0.6rem 0.8rem; border-radius: 3px; font-size: 0.92rem; }
.notice { background: rgba(106,154,95,0.12); border: 1px solid var(--good); color: #cfe6cf;
  padding: 0.6rem 0.8rem; border-radius: 3px; font-size: 0.92rem; }

/* ---------------- Role badges ---------------- */
.badge { font-family: var(--font-head); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.16rem 0.55rem; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; display: inline-block; }
.badge.role-admin { background: var(--accent); color: var(--text); border-color: var(--accent-bright); }
.badge.role-storyteller { background: rgba(199,48,66,0.15); color: var(--accent-bright); border-color: var(--accent); }
.badge.role-player { background: var(--bg-panel-2); color: var(--text-dim); }

/* ---------------- Data tables ---------------- */
table.data { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
table.data th, table.data td { text-align: left; padding: 0.4rem 0.45rem; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
table.data select { font-size: inherit; padding: 0.15rem 0.2rem; }
table.data th { font-family: var(--font-head); color: var(--gold); font-weight: 500; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
/* A header label should never wrap mid-word just because a sibling column (a long
   description, a wide action cell) claims most of the row's width — nowrap it and let
   the table scroll horizontally in its own box on truly narrow viewports instead. */
.table-scroll { overflow-x: auto; }
.row-actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline; }

/* Tab bar (campaign-view sections) */
.tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 1.2rem; border-bottom: 1px solid var(--gold-dim); }
.tab-btn { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); background: transparent; border: 1px solid transparent; border-bottom: none;
  padding: 0.5rem 0.95rem; border-radius: 5px 5px 0 0; cursor: pointer; margin-bottom: -1px; line-height: 1; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent-bright); background: var(--bg-panel);
  border-color: var(--gold-dim); border-bottom-color: var(--bg-panel); }
.tab-pane[hidden] { display: none; }

/* ---------------- Advancement (advance.php) ---------------- */
.adv-head h2 { font-family: var(--font-display); color: var(--accent-bright); margin: 0; font-size: 2rem; }
.adv-xp { margin: 0.4rem 0; }
.adv-xp-big { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); letter-spacing: 0.05em; }
.adv-msg { min-height: 1.1em; color: var(--accent-bright); margin: 0.3rem 0 0.6rem; }
.adv-sec { margin-top: 1.3rem; }
.adv-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.25rem 0; border-bottom: 1px dotted var(--border); flex-wrap: wrap; }
.adv-name { flex: 1; min-width: 0; }
/* Selects (morality path, generation, etc.) must size to content — the global
   input/select width:100% otherwise makes them demand the whole row and spill out. */
.adv-row select, .adv-sec select { width: auto; max-width: 100%; flex: 0 1 auto; }
.adv-cur { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-dim); min-width: 3em; text-align: center; }
.adv-cost { font-family: var(--font-head); font-size: 0.78rem; color: var(--gold); min-width: 4.5em; text-align: right; }
.adv-buy { min-width: 2.2em; padding: 0.15rem 0.5rem; }

/* Storyteller free-adjust (no XP) controls */
.adv-st-note { color: var(--gold); border: 1px dashed var(--border); border-radius: 4px;
  padding: 0.4rem 0.6rem; margin: 0.2rem 0 0.6rem; background: rgba(198,160,74,0.06); }
.st-adj { display: inline-flex; align-items: center; gap: 0.25rem; }
.st-adj-tag { font-family: var(--font-head); font-size: 0.6rem; letter-spacing: 0.08em;
  color: var(--gold); opacity: 0.75; }
.st-btn { min-width: 1.9em; padding: 0.1rem 0.45rem; font-size: 0.85rem; line-height: 1;
  background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.st-btn:hover:not(:disabled) { background: var(--gold); color: #1a1410; }
.st-btn:disabled { opacity: 0.3; cursor: default; }

/* ================= Session runner (play.php) ================= */
/* Full-bleed: the runner uses the whole viewport, with responsive gutters. */
main:has(#play-root) { max-width: none; padding: 1.25rem clamp(1rem, 2.4vw, 3.5rem) 1.5rem; }

/* Masthead */
.play-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding-bottom: 0.9rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--gold-dim);
  position: relative; }
.play-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 40%, transparent 60%, var(--gold-dim) 100%);
  opacity: 0.6; }
.play-head-l { min-width: 0; }
.play-head h2 { font-family: var(--font-display); color: var(--accent-bright); font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 400; margin: 0; line-height: 1;
  animation: candleGlow 5s ease-in-out infinite; }
@keyframes candleGlow {
  0%, 100% { text-shadow: 0 0 16px rgba(195,51,66,0.32), 0 0 34px rgba(195,51,66,0.1); }
  50%      { text-shadow: 0 0 20px rgba(195,51,66,0.42), 0 0 44px rgba(195,51,66,0.16); }
}
@media (prefers-reduced-motion: reduce) { .play-head h2 { animation: none; text-shadow: 0 0 16px rgba(195,51,66,0.32); } }
.play-sub { margin: 0.3rem 0 0; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-dim); font-size: 0.72rem; }
.play-head-r { display: flex; flex-direction: column; align-items: flex-end; gap: 0.45rem; flex: none; }
.play-back { color: var(--text-dim); text-decoration: none; }
.play-back:hover { color: var(--gold); }
.play-vitals { display: flex; gap: 0.5rem; align-items: center; margin: 0;
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold); }
.play-vitals span:not(.badge) { border: 1px solid var(--border); border-radius: 3px;
  padding: 0.12rem 0.5rem; background: var(--bg-panel-2); }

/* Layout: Journal (left) · Chat stage (center) · Vitals+Gear+Rolls (right).
   Full-bleed — the three columns hug both screen edges (space-between distributes
   any extra ultrawide space into the gutters), while the chat is capped so lines
   stay readable and the side panels get room to breathe. */
.play-layout { display: grid;
  grid-template-columns: clamp(300px, 21vw, 440px) minmax(0, 860px) clamp(320px, 22vw, 460px);
  gap: clamp(1rem, 1.6vw, 2.25rem); justify-content: space-between; align-items: start; }
/* The side columns flow with the page — NO column-level scroll box. They're collapsible
   accordions (short by default); if you open a lot, the whole page scrolls naturally. */
.play-journal-col, .play-side { min-width: 0; }

.play-chat { display: flex; flex-direction: column; min-width: 0; }
/* The manuscript page: a warm pool of candlelight at the top fading into shadow at the
   edges, instead of a flat tinted rectangle — this is the one place the redesign spends
   its atmosphere, since it's where players actually spend their attention. */
.play-log { flex: 1 1 auto; height: calc(100vh - 12rem); min-height: 360px; overflow-y: auto;
  padding: 1.35rem clamp(1.1rem, 2.5%, 2.2rem);
  border: 1px solid var(--border); border-radius: 6px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(139,26,43,0.09) 0%, rgba(139,26,43,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.16));
  box-shadow: inset 0 0 70px rgba(0,0,0,0.55), inset 0 1px 0 rgba(176,137,78,0.08);
  scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }

/* Messages */
.msg { margin: 0 0 1.3rem; }
.msg-who { font-family: var(--font-head); font-size: 0.64rem; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 0.32rem; display: flex; align-items: center; gap: 0.4rem; }
.msg-body { white-space: pre-wrap; line-height: 1.65; font-size: 1.15rem;
  font-family: 'EB Garamond', 'Georgia', 'Times New Roman', serif; }
.msg-storyteller { position: relative; padding-left: 1.15rem; }
.msg-storyteller::before { content: ''; position: absolute; left: 0; top: 0.15rem; bottom: 0.1rem; width: 2px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 70%, transparent);
  box-shadow: 0 0 8px rgba(195,51,66,0.35); }
.msg-storyteller .msg-who { color: var(--accent-bright); }
.msg-storyteller .msg-who::before { content: '\25C6'; font-size: 0.75em; color: var(--gold-dim); }
.msg-storyteller .msg-body { color: var(--text); }
.msg-player { text-align: right; }
.msg-player .msg-who { color: var(--gold); justify-content: flex-end; }
.msg-player .msg-body { display: inline-block; text-align: left;
  background: linear-gradient(165deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--border); border-top-color: rgba(176,137,78,0.18);
  border-radius: 9px 9px 2px 9px; padding: 0.6rem 0.9rem;
  max-width: 82%; box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.02); }
.msg-system .msg-body { display: inline-block; font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem; color: var(--gold); background: rgba(176,137,78,0.08);
  border: 1px solid var(--border); border-left: 2px solid var(--gold-dim); border-radius: 3px;
  padding: 0.35rem 0.6rem; }
.msg-private .msg-who { font-style: italic; }
.msg-storyteller.msg-private::before { background: repeating-linear-gradient(180deg, var(--gold-dim) 0 4px, transparent 4px 8px); box-shadow: none; }
.msg-storyteller.msg-private .msg-body { color: var(--text-dim); }

/* Input — textarea spans the full width, Send / Continue sit in a row beneath it. */
.play-input { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.85rem; }
.play-input textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 3.4rem;
  /* Match the chat's readable serif (not the cursive body font) so typing is easy to read. */
  font-family: 'EB Garamond', 'Georgia', 'Times New Roman', serif; font-size: 1.1rem; line-height: 1.5;
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.12)), var(--bg-panel-2);
  transition: border-color 0.15s, box-shadow 0.15s; }
.play-input textarea:focus { box-shadow: 0 0 0 2px rgba(176,137,78,0.2), inset 0 1px 6px rgba(0,0,0,0.3); }
.play-input-btns { display: flex; flex-direction: row; gap: 0.55rem; }
.play-input-btns .btn { flex: 1 1 0; }
.play-input-btns .btn:not(.secondary) { box-shadow: 0 2px 10px rgba(139,26,43,0.3), inset 0 1px 0 rgba(255,255,255,0.08); }
.play-status { min-height: 1.2em; margin-top: 0.4rem; color: var(--accent-bright);
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.06em; }

/* Journal (left) & the stacked Vitals/Rolls (right) reuse the .card look, but the play
   screen is where players spend a whole session — give its panels a touch more weight
   than an admin table's plain card: a fine top accent and a slightly deeper shadow. */
.play-side { display: flex; flex-direction: column; }
.play-panel { margin-bottom: 1.2rem; }
.play-side .play-panel:last-child { margin-bottom: 0; }
.play-side .btn { width: 100%; margin-top: 0.3rem; }
.play-journal-col .card, .play-side .card {
  position: relative; box-shadow: inset 0 0 0 1px rgba(176,137,78,0.06), 0 3px 14px rgba(0,0,0,0.4);
}
.play-journal-col .card::before, .play-side .card::before {
  content: ''; position: absolute; top: 0; left: 1rem; right: 1rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
  opacity: 0.5;
}

/* Collapsible side panels (native <details> accordion) — keeps the play columns short. */
details.play-panel > summary { cursor: pointer; list-style: none; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--gold);
  padding-bottom: 0.3rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--gold-dim);
  display: flex; align-items: center; gap: 0.45rem; transition: color 0.15s; }
details.play-panel > summary::-webkit-details-marker { display: none; }
details.play-panel > summary::before { content: '▸'; color: var(--gold-dim); font-size: 0.9em; transition: transform .2s; }
details.play-panel[open] > summary::before { transform: rotate(90deg); }
details.play-panel > summary:hover { color: var(--accent-bright); }
details.play-panel > summary:hover::before { color: var(--accent-bright); }
/* Offline-players sub-accordion inside the (always-visible) Players panel. */
.presence-acc { margin-top: 0.5rem; }
.presence-acc > summary { cursor: pointer; list-style: none; color: var(--text-dim); font-size: 0.85rem;
  letter-spacing: 0.04em; padding: 0.2rem 0; display: flex; align-items: center; gap: 0.35rem; }
.presence-acc > summary::-webkit-details-marker { display: none; }
.presence-acc > summary::before { content: '▸'; color: var(--gold-dim); transition: transform .15s; }
.presence-acc[open] > summary::before { transform: rotate(90deg); }

/* Dice controls */
.dice-field { margin-bottom: 0.7rem; }
.dice-field label { display: block; font-family: var(--font-head); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.25rem; }
.dice-row { display: flex; gap: 0.6rem; }
.dice-row .dice-field { flex: 1; }
.dice-out { margin-top: 0.7rem; text-align: center; font-family: var(--font-head);
  letter-spacing: 0.08em; color: var(--accent-bright); min-height: 1.2em; }
.dice-note { color: var(--text-dim); margin: 0.2rem 0 0.5rem; min-height: 1em; font-style: italic; font-size: 0.85rem; }
.dice-sep { font-family: var(--font-head); font-size: 0.64rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-dim); border-top: 1px solid var(--border);
  margin: 0.9rem 0 0.7rem; padding-top: 0.55rem; }

/* Players / presence */
.presence-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; }
.presence-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); flex: none; }
.presence-dot.on { background: var(--good); box-shadow: 0 0 6px rgba(106,154,95,0.8); }
.presence-name { flex: 1; font-size: 1.08rem; }
.presence-row button, .presence-invite button { padding: 0.16rem 0.55rem; font-size: 0.7rem; }
.presence-invite { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0.45rem 0;
  border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); margin: 0.4rem 0; }
.presence-invite > span { flex: 1 1 100%; color: var(--accent-bright); font-size: 0.9rem; }

#play-toasts { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 9999; }
.toast { background: linear-gradient(180deg,#241413,#160d0c); border: 1px solid var(--accent-bright);
  color: var(--text); padding: 0.6rem 0.9rem; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,0.55);
  font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.04em; transition: opacity 0.4s, transform 0.4s; }
.toast.out { opacity: 0; transform: translateY(8px); }

/* Gear / Store */
.gear-body { margin-bottom: 0.4rem; }
.gear-row { display: flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0; border-bottom: 1px dotted var(--border); }
.gear-name { flex: 1; font-size: 1.08rem; }
.gear-row button { padding: 0.12rem 0.45rem; font-size: 0.68rem; }
.give-box { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding: 0.4rem 0; }
.give-box > span { flex: 1 1 100%; }
.shop-body { border-top: 1px solid var(--gold-dim); margin-top: 0.5rem; padding-top: 0.4rem; }
.shop-row { display: flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0; }
.shop-name { flex: 1; font-size: 1.04rem; }
.shop-res { font-family: var(--font-head); font-size: 0.66rem; color: var(--gold); white-space: nowrap; }
.shop-row button { padding: 0.12rem 0.5rem; font-size: 0.68rem; }

/* Journal panel */
.journal-body { margin-bottom: 0.5rem; }
.journal-entry { display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.42rem 0; border-bottom: 1px dotted var(--border); font-size: 0.95rem; line-height: 1.5; }
.journal-entry:last-child { border-bottom: 0; }
.journal-text { flex: 1; min-width: 0; }
.journal-title { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.03em; color: var(--gold); }
.journal-note { color: var(--text); font-size: 1.06rem; }
.journal-del { flex: none; padding: 0.05rem 0.4rem; font-size: 0.7rem; line-height: 1.4;
  color: var(--text-dim); border-color: var(--border); }
.journal-del:hover:not(:disabled) { color: var(--accent-bright); border-color: var(--accent); background: rgba(139,26,43,0.12); }

/* Places as a stylized district "map" board (not real geography) — a dark schematic panel
   with a faint grid; each known place is a gilded pin, grouped by Athens neighbourhood. */
.place-map { position: relative; border: 1px solid var(--gold-dim); border-radius: 6px;
  padding: 0.7rem 0.75rem; margin-bottom: 0.5rem;
  background:
    radial-gradient(130% 80% at 20% 0%, rgba(176,137,78,0.10), rgba(176,137,78,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.14)),
    var(--bg-panel-2); }
.place-map::before { content: ''; position: absolute; inset: 0; border-radius: 6px; pointer-events: none;
  opacity: 0.25;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(176,137,78,0.10) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(176,137,78,0.10) 21px 22px); }
/* Divider before the out-of-city places, so a trip abroad reads as clearly elsewhere. */
.map-zone-label { position: relative; font-family: var(--font-head); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-dim);
  margin: 0.5rem 0 0.6rem; padding-top: 0.5rem; border-top: 1px dashed var(--gold-dim);
  display: flex; align-items: center; gap: 0.4rem; }
.map-zone-label::before { content: '\27E1'; color: var(--accent); }
.map-district { position: relative; margin-bottom: 0.7rem; }
.map-district:last-child { margin-bottom: 0; }
.map-district-name { font-family: var(--font-head); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.35rem; }
.map-district-name::before { content: '\25C6'; color: var(--gold-dim); font-size: 0.8em; }
.map-pins { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.map-pin { position: relative; display: flex; align-items: flex-start; gap: 0.4rem;
  flex: 1 1 46%; min-width: 150px; box-sizing: border-box;
  background: linear-gradient(165deg, rgba(36,20,19,0.9), rgba(22,13,12,0.9));
  border: 1px solid var(--border); border-top-color: rgba(176,137,78,0.2);
  border-radius: 5px; padding: 0.42rem 0.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.map-pin-mark { color: var(--accent-bright); font-size: 0.9rem; line-height: 1.3; flex: none;
  text-shadow: 0 0 6px rgba(195,51,66,0.45); }
.map-pin-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.map-pin-name { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em; color: var(--gold);
  font-size: 0.92rem; }
.map-pin-note { color: var(--text-dim); font-size: 0.9rem; line-height: 1.4; margin-top: 0.1rem; }
.map-pin .journal-del { position: absolute; top: 0.2rem; right: 0.25rem; opacity: 0; transition: opacity 0.15s; }
.map-pin:hover .journal-del { opacity: 1; }

/* Thin gilded scrollbars for the runner columns (WebKit). */
.play-log::-webkit-scrollbar { width: 8px; }
.play-log::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }
.play-log::-webkit-scrollbar-track { background: transparent; }

/* Medium screens: three columns get cramped → stack to one. */
@media (max-width: 1180px) {
  .play-layout { grid-template-columns: 1fr; justify-content: stretch; }
  .play-log { height: 60vh; }
}
/* Narrow screens: tighten, shrink the log, and make the chat comfortable to read on a phone. */
@media (max-width: 820px) {
  main:has(#play-root) { padding: 0.75rem; }
  .play-log { height: 58vh; padding: 0.75rem 0.85rem; }
  .play-head { flex-direction: column; align-items: flex-start; }
  .play-head-r { align-items: flex-start; }
  .msg { margin-bottom: 0.85rem; }
  .msg-body { font-size: 1.05rem; line-height: 1.5; }
  .msg-player .msg-body { max-width: 92%; }
  .play-input textarea { min-height: 4rem; font-size: 1rem; } /* ≥16px keeps iOS from zooming on focus */
}

/* Vitals panel (blood / willpower / health) */
.vitals-body .vital { margin-bottom: 0.9rem; }
.vitals-body .vital:last-child { margin-bottom: 0; }
.vital-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.vital-name { font-family: var(--font-head); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); }
.vital-num { font-size: 0.9rem; color: var(--text); }
.vital-status { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.04em; }
.vitals-body .track { justify-content: flex-start; margin-bottom: 0.4rem; }
.vitals-body .box { width: 13px; height: 13px; }
.vital-ctrls { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.vital-ctrls button { padding: 0.2rem 0.5rem; font-size: 0.7rem; }
.vital-ctrls .vstep { min-width: 2rem; }
.vital-ctrls select { width: auto; padding: 0.22rem 0.4rem; font-size: 0.75rem; }

/* One-click feeding button under the Blood Pool track */
.feed-btn { width: 100%; margin-top: 0.15rem; padding: 0.32rem 0.5rem; font-size: 0.78rem;
  border-color: #6a1220; color: #e7b3bb; }
.feed-btn:hover:not(:disabled) { background: #6a1220; color: #fff; border-color: #8a1a2c; }
.feed-btn:disabled { opacity: 0.4; cursor: default; }

/* Reflexive-heal button under the Health track — compact so it clears the boxes. */
.heal-btn { width: 100%; margin-top: 0.4rem; padding: 0.26rem 0.5rem; font-size: 0.72rem;
  line-height: 1.2; border-color: #3a5a34; color: #a9c99f; }
.heal-btn:hover:not(:disabled) { background: #24401d; color: #fff; border-color: #4a6f42; }
.heal-btn:disabled { opacity: 0.45; cursor: default; }

/* health-track damage colours by worst type present */
.box.hp.bashing { background: #6c6a2a; border-color: #9a9740; box-shadow: 0 0 4px rgba(154,151,64,0.35); }
.box.hp.lethal { background: var(--accent); border-color: var(--accent-bright); box-shadow: 0 0 4px rgba(195,51,66,0.4); }
.box.hp.aggravated { background: #2b0a0d; border-color: var(--accent-bright);
  box-shadow: inset 0 0 0 2px var(--accent-bright); }
.health-none { color: var(--good); }
.health-bashing { color: #c9c56a; }
.health-lethal, .health-aggravated { color: var(--accent-bright); }

/* ---- Open-world admin panel ------------------------------------------ */
.ow-adds { display: grid; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.ow-add { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  background: var(--bg-panel-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.6rem; }
.ow-add .k { font-family: var(--font-head); font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); min-width: 3.2em; }
.ow-add input[type=text], .ow-add select { padding: 0.3rem 0.45rem; }
/* A bare <select> (owner/parent pickers) has no .grow class, so it must NOT inherit the
   global form-control width:100% — that stretches it to the whole row and forces every
   later field onto its own line, turning one small "add a place" form into six stacked
   rows. Size it to its own content instead; only .grow fields (Name/Description) expand. */
.ow-add select { width: auto; flex: 0 1 auto; }
.ow-add .grow { flex: 1 1 11em; min-width: 9em; }
.ow-add .ow-go { margin-left: auto; }

.ow-group { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem; margin: 1.1rem 0 0.45rem; }
.ow-group .count { color: var(--text-dim); font-size: 0.85em; }
.ow-empty { color: var(--text-dim); font-style: italic; font-size: 0.85rem; margin: 0.2rem 0 0.5rem; }

.ow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.ow-item { background: var(--bg-panel-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.45rem 0.6rem; }
.ow-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ow-name { font-weight: 600; color: var(--text); }
.ow-chips { display: flex; gap: 0.3rem; flex-wrap: wrap; align-items: center; }
.ow-chip { font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.08rem 0.4rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-dim); white-space: nowrap; }
.ow-chip.owned { color: var(--gold); border-color: var(--gold-dim); }
.ow-chip.core  { color: var(--accent-bright); border-color: var(--accent); }
.ow-chip.dead  { color: var(--accent-bright); border-color: var(--accent); }
.ow-edit { margin-left: auto; }
.ow-edit > summary { cursor: pointer; color: var(--text-dim); font-size: 0.72rem;
  list-style: none; user-select: none; padding: 0.12rem 0.5rem;
  border: 1px solid var(--border); border-radius: 6px; }
.ow-edit > summary::-webkit-details-marker { display: none; }
.ow-edit > summary:hover { color: var(--gold); border-color: var(--gold-dim); }
.ow-edit[open] > summary { color: var(--gold); border-color: var(--gold-dim); }
.ow-tools { display: grid; gap: 0.5rem; margin-top: 0.55rem;
  padding-top: 0.55rem; border-top: 1px dashed var(--border); }
.ow-row { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.ow-row .k { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-dim); min-width: 3.6em; }
.ow-tools select { font-size: 0.8rem; padding: 0.25rem 0.4rem; width: auto; }
.ow-tools textarea { width: 100%; box-sizing: border-box; font-family: var(--font-body);
  font-size: 0.9rem; padding: 0.4rem 0.5rem; }
.ow-btn { padding: 0.2rem 0.55rem; font-size: 0.76rem; }
button.secondary.ow-danger { color: var(--accent-bright); border-color: var(--accent); }
button.secondary.ow-danger:hover { background: rgba(139,26,43,0.18); }

/* ---- Unified NPC editor (roomy) ---- */
.ow-npc-edit[open] { display: block; }
.ow-npc-form { display: grid; gap: 0.6rem; margin: 0.55rem 0 0.2rem;
  padding-top: 0.55rem; border-top: 1px dashed var(--border); }
.ow-f { display: grid; gap: 0.2rem; }
.ow-f > span { font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); }
.ow-f textarea, .ow-f input[type=text] { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 0.92rem; padding: 0.4rem 0.5rem; }
.ow-f3 { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; }
.ow-f3 > label { display: grid; gap: 0.2rem; flex: 1 1 8rem; }
.ow-f3 > label > span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.ow-f3 select { padding: 0.3rem 0.4rem; }
.ow-f3 label.ow-cap { flex: 0 0 auto; display: flex; flex-direction: row; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-dim); padding-bottom: 0.4rem; }
.ow-ties { display: grid; gap: 0.4rem; padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; background: rgba(0,0,0,0.15); }
.ow-ties-h { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }
.ow-tie { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.ow-tie select { padding: 0.3rem 0.4rem; width: auto; }
.ow-tie input[type=text] { flex: 1 1 10rem; padding: 0.3rem 0.4rem; box-sizing: border-box; }
.ow-npc-actions { display: flex; gap: 0.5rem; }
