/* Built from the same surfaces, type, and proportions as rookery (ui/design/*). */

@font-face {
  font-family: 'Red Hat Text';
  src: url('/fonts/redhattext_regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Red Hat Text';
  src: url('/fonts/redhattext_medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Red Hat Text';
  src: url('/fonts/redhattext_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Mono';
  src: url('/fonts/atkinsonmono_regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Mono';
  src: url('/fonts/atkinsonmono_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root,
[data-surface="slate"] {
  --bg: #27302d;
  --panel: #2a3431;
  --well: #222a28;
  --strip-top: #3c4945;
  --strip-bot: #2e3935;
  --line: #66736d;
  --line-dark: #151b19;
  --btn-top: #4a5753;
  --btn-bot: #333e3a;
  --sel-top: #cbd8d0;
  --sel-bot: #9caea4;
  --sel-ink: #1b2220;
  --sel-dim: #34413b;
}

[data-surface="felt"] {
  --bg: #24402f;
  --panel: #26432f;
  --well: #1f3727;
  --strip-top: #3a5c46;
  --strip-bot: #2c4a37;
  --line: #6a8a74;
  --line-dark: #151b19;
  --btn-top: #47684f;
  --btn-bot: #30503b;
  --sel-top: #d3e3cc;
  --sel-bot: #a3bd9c;
  --sel-ink: #1b2220;
  --sel-dim: #34413b;
}

[data-surface="black"] {
  --bg: #050606;
  --panel: #0b0e0d;
  --well: #060807;
  --strip-top: #1f2624;
  --strip-bot: #141a18;
  --line: #66736d;
  --line-dark: #151b19;
  --btn-top: #2a3330;
  --btn-bot: #1a201e;
  --sel-top: #cbd8d0;
  --sel-bot: #9caea4;
  --sel-ink: #1b2220;
  --sel-dim: #34413b;
}

:root {
  --ink: #eef1ee;
  --ink-dim: #9fada6;
  --head: #c9d5cd;
  --pink: #ff69b4;
  --gold: #ffd75e;
  --bad: #ff7a8a;
  --lavender: #b19cd9;
  --ice: #8ec3e6;
  --dnf-top: #ff9ccc;
  --dnf-bot: #e8559e;
  --dnf-ink: #2a0a19;
  --check-top: #1a201e;
  --check-bot: #2b3431;
  --pb-top: #ffe48a;
  --pb-bot: #e0b232;
  --pb-edge: #8a6d14;
  --pb-ink: #3b2b00;
  --font-sans: 'Red Hat Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Atkinson Mono', ui-monospace, monospace;
  --emboss-dark: 0 1px 0 rgba(0, 0, 0, 0.55);
  --emboss-light: 0 1px 0 rgba(255, 255, 255, 0.4);
  --gap: 14px;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--head); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hidden { display: none !important; }
.grow { flex: 1 1 auto; }
.dim { color: var(--ink-dim); }
.gold { color: var(--gold); }
.bad { color: var(--bad); }

/* ---- Header (mirrors ui/shell/Header.kt) ---- */
.site-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 16px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  user-select: none;
}
.wordmark:hover { color: var(--ink); }

.wordmark canvas {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55));
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--line-dark);
  background: var(--well);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  color: var(--ink-dim);
}
.header-status.is-live { color: var(--ink); }

/* Indicator lamps (from overlay-web/index.html) */
.lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 38% 34%, #ffffff1f 18%, #3c4643 22%);
}
.lamp.green {
  background: radial-gradient(circle at 38% 34%, #ffffff99 18%, #45e36f 22%);
  box-shadow: 0 0 5px #45e36f88;
}
.lamp.red {
  background: radial-gradient(circle at 38% 34%, #ffffff99 18%, #ff4a3d 22%);
  box-shadow: 0 0 5px #ff4a3d88;
}
.lamp.amber {
  background: radial-gradient(circle at 38% 34%, #ffffff99 18%, #ffb830 22%);
  box-shadow: 0 0 5px #ffb83088;
}

/* ---- Framed Box (mirrors RkBox.kt + Surfaces.kt) ---- */
.box {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 3px;
  padding: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line-dark);
  display: flex;
  flex-direction: column;
}

.box-inner {
  border-radius: 1px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.strip {
  min-height: 33px;
  padding: 4px 8px 5px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--strip-top), var(--strip-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}
.strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.strip-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15px;
  color: var(--head);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  white-space: nowrap;
}

.box-footer {
  padding: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  border-top: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Groove separator between rows inside a box */
.groove {
  border-top: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Sunken well (mirrors Modifier.well) */
.well {
  background: var(--well);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* ---- Glossy Boxed Buttons & Segmented Controls (mirrors RkButton.kt + RkSegmented.kt) ---- */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 3px 10px;
  min-height: 26px;
  border-radius: 3px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  text-shadow: var(--emboss-dark);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--btn-top), var(--btn-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: transform 80ms ease;
}
.btn:hover:not(:disabled):not(.selected) {
  filter: brightness(1.08);
}
.btn:active:not(:disabled) {
  transform: scale(0.97);
  background: linear-gradient(180deg, var(--btn-bot), var(--btn-top));
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}
.btn:focus-visible {
  outline: 1px dashed var(--pink);
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.btn-mini {
  padding: 1px 7px;
  min-height: 22px;
  font-size: 12px;
}

.btn-nav {
  padding: 5px 14px;
  min-height: 32px;
  font-size: 15px;
  font-weight: 500;
}

.btn.selected {
  color: var(--sel-ink);
  text-shadow: var(--emboss-light);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--sel-top), var(--sel-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn.tone-dnf {
  color: var(--dnf-ink);
  text-shadow: var(--emboss-light);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--dnf-top), var(--dnf-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
}

.seg {
  display: inline-flex;
  align-items: stretch;
}
.seg > .btn {
  border-radius: 0;
  margin-left: -1px;
}
.seg > .btn:first-child {
  margin-left: 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.seg > .btn:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.seg > .btn.selected {
  position: relative;
  z-index: 2;
}

/* ---- Sunken Text Field & Select (mirrors RkTextField.kt) ---- */
.field {
  appearance: none;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--well);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 5px 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  caret-color: var(--pink);
  outline: none;
}
.field::placeholder { color: var(--ink-dim); }
.field:focus {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 -2px 0 var(--pink);
}
.field.mono { font-family: var(--font-mono); font-size: 13px; }

select.field {
  padding-right: 24px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 13px) 52%, calc(100% - 8px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* ---- Sunken 16px Checkbox with pink 'x' (mirrors RkCheckbox.kt) ---- */
.rk-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--ink);
}
.rk-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rk-check .box-sq {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, var(--check-top), var(--check-bot));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: transparent;
}
.rk-check input:checked + .box-sq { color: var(--pink); }
.rk-check input:focus-visible + .box-sq {
  outline: 1px dashed var(--pink);
  outline-offset: 2px;
}

/* ---- Page Grid ---- */
.page {
  max-width: 1440px;
  margin: 6px auto 0;
  padding: 0 16px 24px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--gap);
  align-items: start;
}

@media (max-width: 960px) {
  .watch-layout { grid-template-columns: 1fr; }
}

/* ---- Video Viewport & Transport ---- */
.video-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070908;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.video-viewport video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050606;
}

.standby-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(42, 52, 49, 0.42) 0%, rgba(7, 9, 8, 0.92) 75%);
  z-index: 2;
  color: var(--ink-dim);
  text-shadow: var(--emboss-dark);
}

.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.stage-plaque {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  padding: 8px 24px;
  border-radius: 3px;
  border: 1px solid var(--pb-edge);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--pb-top), var(--pb-bot));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  text-align: center;
  pointer-events: none;
}
.stage-plaque .plaque-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--pb-ink);
  text-shadow: var(--emboss-light);
}
.stage-plaque .plaque-detail {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--pb-ink);
  margin-top: 2px;
}

.stage-says {
  position: absolute;
  z-index: 7;
  padding: 2px 8px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}

.transport-bar {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.readout {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid var(--line-dark);
  background: var(--well);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}

/* VOD Timeline Scrubber */
.scrubber {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.scrubber-well {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 2px;
  background: var(--well);
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.65);
}

.scrubber-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(180deg, var(--sel-top), var(--sel-bot));
}

.scrubber-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scrubber-tick {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 11px;
  margin-left: -1.5px;
  background: var(--head);
  border-left: 1px solid var(--line-dark);
  pointer-events: auto;
  cursor: pointer;
}
.scrubber-tick.pb {
  width: 5px;
  margin-left: -2.5px;
  top: -4px;
  height: 13px;
  background: linear-gradient(180deg, var(--pb-top), var(--pb-bot));
  border: 1px solid var(--pb-edge);
  z-index: 3;
}
.scrubber-tick.dnf {
  background: linear-gradient(180deg, var(--dnf-top), var(--dnf-bot));
}

/* ---- Side Panel (Chat & Solves) ---- */
.side-box {
  height: calc(100vh - 78px);
  min-height: 480px;
  max-height: 760px;
}

.scroll-well {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px;
}

/* Chat lines inside the well: quiet, scannable, zero nested card clutter */
.chat-line {
  padding: 4px 7px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.38;
  word-wrap: break-word;
}
.chat-line:hover {
  background: rgba(255, 255, 255, 0.035);
}
.chat-line.notice {
  color: var(--ink-dim);
  font-size: 13px;
  font-style: italic;
}
.chat-nick {
  font-weight: 700;
  margin-right: 6px;
  text-shadow: var(--emboss-dark);
}
.chat-host-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0 4px;
  margin-right: 5px;
  border-radius: 2px;
  border: 1px solid var(--pb-edge);
  background: linear-gradient(180deg, var(--pb-top), var(--pb-bot));
  color: var(--pb-ink);
  vertical-align: 1px;
}
.chat-ts {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  margin-right: 6px;
}
.chat-del {
  float: right;
  margin-left: 6px;
  color: var(--ink-dim);
  font-size: 12px;
  cursor: pointer;
  opacity: 0.6;
}
.chat-del:hover { color: var(--bad); opacity: 1; }

/* Inline canvas/plaque emotes */
.inline-sprite {
  display: inline-block;
  vertical-align: -4px;
  image-rendering: pixelated;
}

.plaque-tag {
  display: inline-block;
  padding: 0 6px;
  line-height: 17px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 2px;
  color: var(--pb-ink);
  border: 1px solid var(--pb-edge);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 50%),
    linear-gradient(180deg, var(--pb-top), var(--pb-bot));
  text-shadow: none;
}
.plaque-tag.dnf {
  color: var(--dnf-ink);
  border-color: var(--line-dark);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 50%),
    linear-gradient(180deg, var(--dnf-top), var(--dnf-bot));
}

/* ---- Solve List Rows (mirrors RkListRow + TimesBox) ---- */
.solve-row {
  padding: 6px 8px;
  border-radius: 2px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}
.solve-row:last-child { border-bottom: none; }
.solve-row:hover { background: rgba(255, 255, 255, 0.055); }
.solve-row.selected {
  color: var(--sel-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 50%, transparent 50.5%),
    linear-gradient(180deg, var(--sel-top), var(--sel-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 1px rgba(0, 0, 0, 0.5);
}

.solve-row-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.solve-row-time {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-shadow: var(--emboss-dark);
}
.solve-row-time.pb { color: var(--gold); }
.solve-row-time.dnf { color: var(--bad); }
.solve-row.selected .solve-row-time { color: var(--sel-ink); text-shadow: var(--emboss-light); }

.solve-row-scr {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.35;
}
.solve-row.selected .solve-row-scr { color: var(--sel-dim); }

/* ---- Settings / Admin Rows (mirrors SettingRows.kt) ---- */
.admin-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--gap);
  align-items: start;
}

.setting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
}
.setting-row + .setting-row {
  border-top: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.setting-label {
  min-width: 112px;
  font-size: 14px;
  color: var(--ink-dim);
}

/* ---- VOD Archive Grid ---- */
.vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.vod-item {
  text-decoration: none;
  color: inherit;
}
.vod-item:hover .strip-title { color: var(--ink); }

.vod-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #070908;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.vod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vod-stamp {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: rgba(11, 14, 13, 0.86);
  border: 1px solid var(--line-dark);
}

/* Meter bar */
.meter-well {
  flex: 1 1 180px;
  height: 12px;
  border-radius: 2px;
  background: var(--well);
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background: linear-gradient(180deg, var(--sel-top), var(--sel-bot));
}

/* Toast (mirrors RkToast.kt) */
.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 6px 14px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  text-shadow: var(--emboss-dark);
}

/* ---- OBS Transparent Browser Source ---- */
html.obs-root, body.obs-mode {
  background: transparent !important;
  background-image: none !important;
  overflow: hidden;
}
.obs-stage-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.obs-chat-stack {
  position: fixed;
  left: 12px;
  bottom: 12px;
  width: 360px;
  max-width: calc(100vw - 24px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}
.obs-chat-row {
  padding: 5px 9px;
  font-size: 14px;
  line-height: 1.32;
  color: var(--ink);
  text-shadow: var(--emboss-dark);
}
