:root {
  --bg: #080d13;
  --bg-soft: #0f1822;
  --panel: rgba(15, 22, 31, 0.92);
  --panel-2: rgba(19, 29, 40, 0.96);
  --panel-3: rgba(255, 255, 255, 0.04);
  --text: #edf3fb;
  --muted: #98a7b9;
  --line: rgba(158, 184, 214, 0.14);
  --line-strong: rgba(176, 206, 239, 0.24);
  --accent: #d6b46d;
  --accent-2: #f0d289;
  --danger: #b65959;
  --success: #4e8b64;
  --warning: #9b7c36;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; min-width: 0; }
html { color-scheme: dark; }
html.nav-lock,
html.nav-lock body {
  overflow: hidden;
}
body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(41, 67, 96, 0.34) 0%, rgba(15, 24, 34, 0.08) 32%, transparent 58%),
    linear-gradient(180deg, #081018 0%, #070c12 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
code {
  background: rgba(8, 13, 19, 0.86);
  border: 1px solid var(--line);
  padding: .15rem .4rem;
  border-radius: .5rem;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
textarea, select, input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 13, 18, 0.88);
  color: var(--text);
  padding: .9rem 1rem;
  border-radius: 1rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
textarea:focus, select:focus, input:focus {
  border-color: rgba(214, 180, 109, 0.55);
  box-shadow: 0 0 0 4px rgba(214, 180, 109, 0.12);
}
textarea { resize: vertical; min-height: 120px; }
img, video, canvas, svg { max-width: 100%; }
h1, h2, h3, h4, p, li, a, button, .button, .badge, .tag-pill, code, strong {
  overflow-wrap: anywhere;
  word-break: normal;
}

.shell { width: min(1360px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 3rem; }
main { display: grid; gap: 1.2rem; }

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0 1.6rem;
  position: relative;
  z-index: 30;
}
.header-copy {
  max-width: min(100%, 42rem);
}
.primary-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-section {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  position: relative;
}
.nav-section-title {
  display: none;
}
.primary-navigation a,
.primary-navigation button {
  padding: .62rem .82rem;
  border-radius: .7rem;
  border: 1px solid transparent;
  color: #f7fbff;
  background: transparent;
  min-height: 2.5rem;
  white-space: nowrap;
}
.primary-navigation a:hover,
.primary-navigation button:hover,
.primary-navigation a.active,
.nav-dropdown.active > .nav-dropdown-toggle,
.nav-dropdown.open > .nav-dropdown-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.primary-navigation .nav-cta {
  border-color: rgba(214, 180, 109, .32);
  background: rgba(214, 180, 109, .11);
}
.nav-dropdown-toggle {
  gap: .48rem;
}
.nav-caret {
  width: .46rem;
  height: .46rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
  opacity: .72;
}
.nav-dropdown.open .nav-caret {
  transform: translateY(.1rem) rotate(225deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .48rem);
  right: 0;
  z-index: 80;
  display: none;
  min-width: 13.5rem;
  gap: .2rem;
  padding: .42rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: rgba(9, 15, 22, .98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}
.nav-dropdown-menu-account {
  min-width: 15rem;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}
.nav-dropdown-menu a,
.nav-dropdown-menu button {
  width: 100%;
  justify-content: flex-start;
  border-radius: .45rem;
  min-height: 2.35rem;
}
.nav-dropdown-menu .inline-form {
  width: 100%;
}
.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-left: .35rem;
  padding: 0 .36rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: .78rem;
  font-weight: 900;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: .65rem;
  padding: .74rem .92rem;
  border-radius: 999px;
  margin-top: .85rem;
}
html.js .menu-toggle { display: none; }
.menu-toggle-lines {
  width: 1.1rem;
  display: grid;
  gap: .22rem;
}
.menu-toggle-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
body.nav-open .menu-toggle-lines span:nth-child(1) { transform: translateY(.32rem) rotate(45deg); }
body.nav-open .menu-toggle-lines span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle-lines span:nth-child(3) { transform: translateY(-.32rem) rotate(-45deg); }
html.js body.nav-open .menu-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 70;
}
.nav-backdrop {
  display: none;
}
.brand {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
  display: inline-block;
}
.header-subtitle { margin: .25rem 0 0; color: var(--muted); font-size: .97rem; }

.notice {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.notice.success { background: rgba(78, 139, 100, .13); border-color: rgba(78, 139, 100, .36); }
.notice.error { background: rgba(182, 89, 89, .13); border-color: rgba(182, 89, 89, .34); }
.notice.warning { background: rgba(155, 124, 54, .16); border-color: rgba(155, 124, 54, .34); }
.notice.info { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.coin-policy-note {
  margin: .9rem 0 1rem;
  color: #dbe7f5;
}
.coin-policy-inline {
  max-width: 72ch;
  margin-top: .8rem;
}

.hero, .grid.two, .grid.three, .grid.four, .grid.five { display: grid; gap: 1.2rem; }
.hero { grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr); align-items: stretch; }
.compact-hero { grid-template-columns: minmax(0, 760px); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dashboard-metrics { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 180, 109, .07), transparent 28%, transparent 70%, rgba(107, 143, 199, .07));
  pointer-events: none;
}
.narrow { width: 100%; max-width: 760px; }
.form-card { margin: 0 auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
}
.hero-panel { padding: .2rem 0; }
.hero-copy { padding: .3rem 0; }
.hero h1 {
  font-size: 4.5rem;
  line-height: .98;
  margin: .5rem 0 .9rem;
  letter-spacing: 0;
  max-width: 14ch;
}
.lede, .muted { color: var(--muted); }
.lede { max-width: 62ch; font-size: 1.08rem; }
.small { font-size: .9rem; }
.cta-row { display: flex; gap: .8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.button, button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: .9rem 1.08rem;
  border-radius: 1rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.18;
  min-height: 2.9rem;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover, button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.button.primary, button.primary {
  background: linear-gradient(180deg, var(--accent-2), #c79f54);
  color: #111;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(214, 180, 109, 0.24);
}
.button.danger, button.danger {
  background: linear-gradient(180deg, #c56c6c, #9d4c4c);
  color: #fff;
  border-color: transparent;
}
.button.disabled,
.button[aria-disabled="true"],
.button:disabled,
button:disabled {
  opacity: .58;
  cursor: not-allowed;
  pointer-events: auto;
  transform: none;
}
.button.small,
button.small {
  min-height: 2.3rem;
  padding: .55rem .8rem;
  border-radius: .75rem;
  font-size: .86rem;
}
.download-panel {
  width: 100%;
  max-width: 860px;
}
.download-panel h1 {
  margin: .35rem 0 .7rem;
  font-size: 3.3rem;
  line-height: 1.03;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin: 1.1rem 0 .8rem;
}
label { display: grid; gap: .45rem; color: var(--muted); }
.stack { display: grid; gap: 1rem; }
.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status-stack { display: grid; gap: 1rem; }
.status-panel { min-height: 100%; align-content: start; }
.status-item h2,
.metrics-grid h2 { font-size: clamp(1.8rem, 2.5vw, 2.45rem); margin: .28rem 0 0; }
.inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  max-width: 100%;
}
.inline-form input,
.inline-form select {
  min-width: min(100%, 14rem);
}
ul { margin: 0; padding-left: 1.1rem; }
.table-wrap { max-width: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.card > .table-wrap { position: relative; z-index: 1; }
.admin-users-table { min-width: 860px; }
.admin-users-table td:last-child { min-width: 16rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .82rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #d7e4f4; font-weight: 700; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: .85rem 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.section-head > * {
  min-width: 0;
}
.section-head > a,
.section-head > .button,
.section-head > .badge,
.section-head > .muted,
.section-head > .align-right {
  flex: 0 0 auto;
  max-width: 100%;
}
.section-head h1,
.section-head h2,
.section-head h3 {
  margin-top: 0;
  margin-bottom: 0;
}
.list-item + .list-item { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.server-row, .server-main { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.server-row { padding: .2rem 0; }
.server-card {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, .022);
}
.align-right { text-align: right; }
.player-pill {
  margin-top: .55rem;
  padding: .48rem .78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-block;
  background: rgba(255, 255, 255, .03);
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-transform: capitalize;
  white-space: nowrap;
  min-width: 5.75rem;
  background: rgba(255, 255, 255, .03);
}
.badge.success { background: rgba(78, 139, 100, .13); border-color: rgba(78, 139, 100, .35); }
.badge.warning { background: rgba(155, 124, 54, .16); border-color: rgba(155, 124, 54, .34); }
.badge.danger { background: rgba(182, 89, 89, .13); border-color: rgba(182, 89, 89, .34); }
.badge.muted { background: rgba(255, 255, 255, .03); }
.replay-card { display: grid; gap: 1rem; }
.replay-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.replay-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background: #000;
  border: 1px solid var(--line);
}
.replay-preview {
  min-height: 160px;
  align-content: center;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.inline-actions .inline-form,
.button-row .inline-form {
  display: flex;
}
.check-row,
.checkbox-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: rgba(255, 255, 255, .024);
  color: var(--text);
}
.check-row input,
.checkbox-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .16rem;
}
.check-grid { display: grid; gap: .8rem; }
.two-col-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two-col-form .check-grid, .two-col-form button { grid-column: 1 / -1; }
.compact-form { min-width: 240px; }
.admin-grid { align-items: start; }
button[disabled] { opacity: .55; cursor: not-allowed; }

.admin-user-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(140px, .75fr)) auto auto;
  gap: .85rem;
  align-items: end;
  margin: 1rem 0;
}
.admin-user-filter-form .button {
  min-height: 3rem;
}
.admin-user-quick-links,
.pagination-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.admin-user-quick-links {
  justify-content: flex-end;
}
.tag-pill.active {
  border-color: rgba(214, 180, 109, .5);
  background: rgba(214, 180, 109, .1);
  color: var(--accent-2);
}
.pagination-row {
  justify-content: space-between;
  margin-top: 1rem;
}
.admin-user-list {
  display: grid;
  gap: 1rem;
}
.admin-user-card {
  display: grid;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, .024);
}
.admin-user-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: start;
}
.admin-user-identity h3 {
  margin: .16rem 0 .1rem;
  font-size: 1.05rem;
}
.admin-user-identity p {
  margin: 0;
}
.admin-user-badges,
.admin-permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.admin-user-badges {
  justify-content: flex-end;
}
.admin-user-editor {
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}
.admin-user-editor summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .75rem .95rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.admin-user-editor summary::-webkit-details-marker {
  display: none;
}
.admin-user-edit-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  align-items: end;
  margin-top: .85rem;
}
.admin-user-edit-form .check-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.admin-user-delete-form {
  display: flex;
  margin-top: .75rem;
}

.server-meta-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: .95rem;
}
.server-meta {
  padding: .9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
}
.server-meta strong { display: block; font-size: 1rem; margin: .25rem 0; }
.span-2 { grid-column: 1 / -1; }
.compact-actions { margin-top: 1rem; align-items: start; }
.pill-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: #dce8f6;
  font-size: .92rem;
}
.empty-state {
  display: grid;
  gap: .45rem;
  justify-items: start;
  padding: 1.05rem;
  border: 1px dashed rgba(214, 180, 109, 0.28);
  border-radius: 1.15rem;
  background: rgba(214, 180, 109, 0.05);
}
.empty-state h2,
.empty-state h3 { margin: 0; }
.empty-state p { margin: 0; color: var(--muted); max-width: 60ch; }

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

.player-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .58fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.15rem, 3.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(90deg, rgba(8, 13, 19, .96), rgba(8, 13, 19, .76)),
    url("/assets/img/backrooms-hero.png");
  background-size: cover;
  background-position: center right;
  box-shadow: var(--shadow);
}
.player-hub-copy {
  display: grid;
  align-content: end;
  gap: .8rem;
  min-height: clamp(360px, 45vh, 560px);
}
.player-hub-copy h1 {
  margin: .2rem 0;
  max-width: 100%;
  font-size: clamp(2.25rem, 5.5vw, 6.2rem);
  line-height: .92;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hub-readiness-card {
  display: grid;
  gap: .9rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(8, 13, 19, .78);
  backdrop-filter: blur(14px);
}
.readiness-meter {
  height: .68rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}
.readiness-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.readiness-list,
.activity-list,
.entity-list {
  display: grid;
  gap: .75rem;
}
.readiness-item,
.activity-item,
.entity-panel,
.plan-panel,
.setting-tile {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .025);
}
.readiness-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .85rem;
}
.readiness-item small {
  display: block;
  margin-top: .18rem;
  color: var(--muted);
  line-height: 1.4;
}
.readiness-item.needs-work {
  border-color: rgba(155, 124, 54, .34);
  background: rgba(155, 124, 54, .08);
}
.hub-main-grid {
  align-items: stretch;
}
.characters-layout {
  align-items: start;
}
.selected-character-card,
.hub-summary-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.character-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.hub-focus-form,
.character-actions,
.replay-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: end;
}
.character-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
  margin-top: 1rem;
}
.character-actions .compact-form {
  min-width: 0;
}
.danger-zone {
  padding: .85rem;
  border: 1px solid rgba(182, 89, 89, .28);
  border-radius: 1rem;
  background: rgba(182, 89, 89, .08);
}
.entity-panel,
.plan-panel {
  display: grid;
  gap: .85rem;
  padding: 1rem;
}
.private-server-plans-card {
  grid-column: 1 / -1;
}
.private-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}
.private-plan-grid .plan-panel {
  min-width: 0;
  overflow: hidden;
  align-content: start;
}
.private-plan-grid .plan-panel .eyebrow {
  white-space: normal;
  overflow-wrap: anywhere;
}
.private-plan-grid .plan-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.private-plan-grid .compact-form,
.private-plan-grid .button {
  width: 100%;
  min-width: 0;
}
.entity-panel.selected {
  border-color: rgba(214, 180, 109, .42);
  background: rgba(214, 180, 109, .07);
}
.activity-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .85rem;
}
.activity-item.is-read {
  opacity: .72;
}
.setting-tile {
  padding: .95rem;
}
.setting-tile strong {
  display: block;
  margin: .3rem 0 .2rem;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}
.filter-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.filter-tab {
  display: flex;
  gap: .55rem;
  justify-content: space-between;
  align-items: center;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .025);
}
.filter-tab.active {
  border-color: rgba(214, 180, 109, .45);
  background: rgba(214, 180, 109, .1);
}
.filter-tab strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}
.replay-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.replay-action-grid .inline-form,
.replay-action-grid button,
.replay-action-grid .button {
  width: 100%;
}
.replay-convert-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.settings-grid {
  align-items: start;
}
.account-settings-grid {
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.4fr);
}
.account-settings-grid .form-card {
  width: 100%;
  max-width: none;
  margin: 0;
}
.account-settings-grid .form-card:nth-child(n + 3) {
  grid-column: span 1;
}
.account-settings-grid .checkbox-row {
  align-items: start;
}
.account-security-grid {
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1.25fr);
}
.account-security-grid .form-card {
  width: 100%;
  max-width: none;
  margin: 0;
}
.mfa-setup-panel {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.mfa-qr {
  display: block;
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  border-radius: .85rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: .55rem;
}
.manual-secret {
  display: block;
  max-width: 100%;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(0, 0, 0, .25);
  overflow-wrap: anywhere;
  white-space: normal;
}
.recovery-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .6rem;
  margin: 1rem 0;
}
.recovery-code-grid code {
  padding: .7rem .8rem;
  border: 1px solid rgba(214, 180, 109, .28);
  border-radius: .75rem;
  background: rgba(214, 180, 109, .08);
  overflow-wrap: anywhere;
}
.security-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.session-revoke-all {
  margin: .75rem 0 1rem;
}
.security-session-group {
  display: grid;
  gap: .75rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.session-group-heading,
.security-session-item {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
}
.session-group-heading h2 {
  margin: 0;
  font-size: 1rem;
}
.security-session-list {
  display: grid;
  gap: .65rem;
}
.security-session-item {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: rgba(255, 255, 255, .025);
}
.security-session-item > div {
  min-width: 0;
}
.security-session-item p {
  margin: .2rem 0 0;
  overflow-wrap: anywhere;
}
.security-session-item .inline-form {
  flex: 0 0 auto;
}
.empty-state.compact {
  padding: .85rem;
  min-height: auto;
}

.cinematic-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(520px, 66vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .62fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  padding: clamp(1.15rem, 4.2vw, 3.4rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 12, .96) 0%, rgba(5, 8, 12, .82) 31%, rgba(5, 8, 12, .35) 62%, rgba(5, 8, 12, .7) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, .08), rgba(5, 8, 12, .8)),
    url("/assets/img/backrooms-hero.png");
  background-size: cover;
  background-position: center right;
  box-shadow: var(--shadow);
}
.cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(214, 180, 109, .08), transparent 38%),
    radial-gradient(circle at 78% 24%, rgba(240, 210, 137, .18), transparent 24%);
  pointer-events: none;
}
.cinematic-copy {
  max-width: 760px;
}
.cinematic-copy h1 {
  max-width: 12ch;
  margin: .45rem 0 1rem;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: .9;
  letter-spacing: 0;
}
.cinematic-copy .lede {
  max-width: 52ch;
  color: #d2dde9;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.35rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.hero-proof .tag-pill {
  background: rgba(2, 7, 11, .38);
  border-color: rgba(214, 180, 109, .25);
}
.hero-status-panel,
.download-status-card,
.server-status-panel,
.feature-panel,
.status-callout {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(8, 13, 19, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-status-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  align-self: end;
}
.hero-status-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.status-dot {
  width: .68rem;
  height: .68rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 .34rem rgba(78, 139, 100, .16);
  flex: 0 0 auto;
}
.status-dot.warning { background: var(--warning); box-shadow: 0 0 0 .34rem rgba(155, 124, 54, .16); }
.status-dot.danger { background: var(--danger); box-shadow: 0 0 0 .34rem rgba(182, 89, 89, .16); }
.hero-stat-grid,
.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.hero-stat,
.status-tile {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .035);
}
.hero-stat strong,
.status-tile strong {
  display: block;
  margin-top: .25rem;
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  white-space: nowrap;
  overflow-wrap: normal;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-panel {
  display: grid;
  gap: .8rem;
  padding: 1.2rem;
}
.feature-panel h2,
.feature-panel h3,
.download-status-card h2,
.server-status-panel h2 {
  margin: 0;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .25rem;
}
.status-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(214, 180, 109, .12), rgba(255, 255, 255, .025));
}
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
  gap: 1rem;
  align-items: start;
}
.download-main-card {
  width: 100%;
  max-width: none;
}
.download-main-card h1 {
  font-size: clamp(2.1rem, 5.5vw, 4.6rem);
  line-height: .95;
  margin: .35rem 0 .85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.download-status-card {
  display: grid;
  gap: .85rem;
  padding: 1.2rem;
}
.download-steps {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}
.download-step {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .025);
}
.download-step span:first-child {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(214, 180, 109, .15);
  color: var(--accent-2);
  font-weight: 900;
}
.release-grid {
  display: grid;
  gap: .65rem;
}
.release-item {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .025);
}
.release-item strong {
  display: block;
  margin-top: .2rem;
}
.file-token {
  display: block;
  max-width: 100%;
  margin-top: .22rem;
  font-family: Consolas, Monaco, monospace;
  font-size: .85rem;
  color: #dbe7f5;
  overflow-wrap: anywhere;
}
.download-release-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.download-release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .55fr);
  gap: 1rem;
  align-items: end;
  min-width: 0;
}
.download-release-hero h1 {
  max-width: 14ch;
  margin: .35rem 0 .8rem;
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  line-height: .94;
  overflow-wrap: anywhere;
}
.download-lock-panel {
  display: grid;
  gap: .75rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(182, 89, 89, .32);
  border-radius: 1rem;
  background: rgba(182, 89, 89, .08);
}
.download-release-hero p,
.download-lock-panel p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.download-lock-panel strong {
  display: block;
  margin-top: .2rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.planned-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}
.planned-download-card {
  display: grid;
  gap: .95rem;
  align-content: start;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018));
  box-shadow: var(--shadow);
}
.planned-download-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.planned-download-head .badge {
  max-width: 100%;
  white-space: normal;
}
.planned-download-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.planned-download-card p {
  margin: 0;
}
.planned-download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}
.planned-download-meta > div {
  min-width: 0;
  padding: .78rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .024);
}
.planned-download-meta strong {
  display: block;
  margin-top: .22rem;
  overflow-wrap: anywhere;
}
.planned-download-button {
  width: 100%;
  white-space: normal;
}
.server-status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: 1rem;
  align-items: end;
}
.server-status-panel {
  display: grid;
  gap: .85rem;
  padding: 1rem;
}
.server-label-line {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  align-items: center;
}
.server-separator {
  color: rgba(237, 243, 251, .35);
}

@media (max-width: 1100px) {
  .grid.five, .grid.four, .grid.three, .onboarding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero,
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .two-col-form,
  .player-hub-hero,
  .cinematic-hero,
  .download-layout,
  .download-release-hero,
  .server-status-hero,
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
  .mfa-setup-panel,
  .security-action-grid {
    grid-template-columns: 1fr;
  }
  .session-group-heading,
  .security-session-item {
    align-items: stretch;
    flex-direction: column;
  }
  .site-header {
    display: block;
    gap: .85rem;
  }
  .header-copy { max-width: 100%; }
  html.js .menu-toggle { display: inline-flex; }
  .primary-navigation {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    gap: .45rem;
    padding: .55rem;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: rgba(9, 15, 22, .92);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
  }
  html.js .primary-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 25rem);
    height: 100dvh;
    display: grid;
    align-content: start;
    overflow-y: auto;
    padding: 1rem;
    border-width: 0 0 0 1px;
    border-radius: 0;
    background: rgba(8, 13, 19, .98);
    transform: translateX(105%);
    transition: transform .2s ease;
    z-index: 60;
  }
  html.js body.nav-open .primary-navigation { transform: translateX(0); }
  html.js .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, .46);
    backdrop-filter: blur(2px);
  }
  html.js body.nav-open .nav-backdrop { display: block; }
  .nav-section {
    display: grid;
    gap: .45rem;
    padding: .35rem 0 .85rem;
    border-bottom: 1px solid var(--line);
  }
  .primary-navigation .nav-dropdown-toggle {
    display: none;
  }
  .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: .45rem;
  }
  .nav-dropdown-menu-account {
    min-width: 0;
  }
  .nav-section:last-child { border-bottom: 0; }
  .nav-section-title {
    display: block;
    padding: .2rem .2rem .25rem;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .primary-navigation a,
  .primary-navigation button,
  .primary-navigation .inline-form {
    width: 100%;
  }
  .primary-navigation a,
  .primary-navigation button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-color: var(--line);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .025);
    white-space: normal;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head > .button,
  .section-head > a.button {
    width: auto;
  }
  .cinematic-hero {
    min-height: auto;
    background-position: 58% center;
  }
  .hero-stat-grid,
  .status-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .status-callout {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 3.4rem; }
  .download-panel h1 { font-size: 2.65rem; }
  .align-right { text-align: left; }
  .server-row, .server-main { flex-direction: column; }
  .replay-badges { justify-content: flex-start; }
  .player-hub-copy {
    min-height: auto;
  }
  .character-stats-grid,
  .filter-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-focus-form,
  .character-actions,
  .replay-action-grid,
  .replay-convert-form {
    grid-template-columns: 1fr;
  }
  .planned-download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 1.25rem, 1360px); }
  .site-header { gap: .65rem; }
  .card { border-radius: 1.2rem; padding: 1rem; }
  .brand { font-size: 1.55rem; }
  .header-subtitle { max-width: 20rem; font-size: .95rem; }
  .menu-toggle {
    width: 2.9rem;
    min-height: 2.9rem;
    padding: .72rem;
    border-radius: 999px;
  }
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .hero h1 { font-size: 2.75rem; }
  .download-panel h1 { font-size: 2.1rem; }
  .cinematic-hero {
    padding: 1rem;
    background-image:
      linear-gradient(180deg, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .72) 42%, rgba(5, 8, 12, .92) 100%),
      url("/assets/img/backrooms-hero.png");
  }
  .cinematic-copy h1 { font-size: clamp(2.6rem, 15vw, 4.2rem); }
  .cinematic-copy .lede { max-width: 20rem; }
  .hero-actions .button,
  .hero-actions .badge,
  .feature-actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-stat-grid,
  .status-summary-grid {
    grid-template-columns: 1fr;
  }
  .button, button, .badge, .tag-pill {
    white-space: normal;
  }
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .section-head > a,
  .section-head > .button,
  .section-head > a.button,
  .section-head > .align-right {
    width: 100%;
  }
  .cta-row,
  .download-actions,
  .inline-actions,
  .button-row {
    align-items: stretch;
  }
  .cta-row .button,
  .download-actions .button,
  .download-actions .badge,
  .inline-actions .button,
  .inline-actions button,
  .button-row .button,
  .button-row button {
    flex: 1 1 100%;
    justify-content: center;
  }
  .inline-actions .inline-form,
  .button-row .inline-form {
    width: 100%;
  }
  .player-hub-hero {
    padding: 1rem;
    background-image:
      linear-gradient(180deg, rgba(5, 8, 12, .92), rgba(5, 8, 12, .78) 42%, rgba(5, 8, 12, .95)),
      url("/assets/img/backrooms-hero.png");
  }
  .player-hub-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
    line-height: 1;
  }
  .character-stats-grid,
  .filter-tabs,
  .planned-download-meta {
    grid-template-columns: 1fr;
  }
  .download-release-hero {
    gap: .85rem;
  }
  .download-release-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.6vw, 2.35rem);
    line-height: .98;
  }
  .download-lock-panel {
    padding: .9rem;
  }
  .planned-download-head {
    display: grid;
    justify-content: start;
    justify-items: start;
  }
  .hub-focus-form .button,
  .character-actions .button,
  .replay-action-grid .button,
  .replay-action-grid button,
  .filter-tab {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.35rem; }
  .download-panel h1 { font-size: 1.82rem; }
  .download-release-hero h1 { font-size: 1.9rem; }
  .brand { font-size: 1.42rem; }
}

.admin-hub-card h1 {
  margin: .35rem 0 .4rem;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}
.admin-hub-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr);
  gap: 1rem;
  align-items: start;
}
.admin-hub-copy { max-width: 68ch; }
.admin-focus-card {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.admin-focus-card strong {
  display: block;
  font-size: 1.15rem;
  margin: .25rem 0 .3rem;
}
.admin-tab-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.2rem;
}
.admin-tab-link {
  display: grid;
  gap: .28rem;
  padding: .95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.admin-tab-link span {
  font-weight: 800;
  color: #f5fbff;
}
.admin-tab-link small {
  color: var(--muted);
  line-height: 1.45;
}
.admin-tab-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.05);
}
.admin-tab-link.active {
  border-color: rgba(214,180,109,.42);
  background: rgba(214,180,109,.09);
  box-shadow: 0 14px 34px rgba(214,180,109,.11);
}
.slim-stack { gap: .8rem; }
.compact-list-item p { margin: .35rem 0 0; }
.profile-card {
  display: grid;
  gap: .8rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.024);
}
.profile-card.selected {
  border-color: rgba(214,180,109,.42);
  background: rgba(214,180,109,.07);
}
.profile-card-head,
.profile-card-actions,
.button-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.button-row { justify-content: flex-end; }
@media (max-width: 1100px) {
  .admin-tab-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-hub-head,
  .admin-tab-nav { grid-template-columns: 1fr; }
  .account-settings-grid,
  .admin-user-filter-form {
    grid-template-columns: 1fr;
  }
  .admin-user-topline {
    grid-template-columns: 1fr;
  }
  .admin-user-badges {
    justify-content: flex-start;
  }
  .admin-user-editor summary,
  .admin-user-delete-form,
  .admin-user-delete-form button {
    width: 100%;
  }
}



.host-command-table {
  min-width: 1100px;
}
.host-command-table th,
.host-command-table td {
  white-space: normal;
  word-break: break-word;
}
.host-command-table th:nth-child(1),
.host-command-table td:nth-child(1) {
  min-width: 8.5rem;
}
.host-command-table th:nth-child(2),
.host-command-table td:nth-child(2) {
  min-width: 5.5rem;
}
.host-command-table th:nth-child(3),
.host-command-table td:nth-child(3),
.host-command-table th:nth-child(4),
.host-command-table td:nth-child(4) {
  min-width: 8rem;
}
.host-command-table th:nth-child(5),
.host-command-table td:nth-child(5) {
  min-width: 7rem;
}
.host-command-table th:nth-child(6),
.host-command-table td:nth-child(6) {
  min-width: 8rem;
}
.host-command-table th:nth-child(7),
.host-command-table td:nth-child(7) {
  min-width: 18rem;
}

.table-empty-state {
  width: 100%;
  margin: .35rem 0;
}
.actions-col {
  width: 1%;
  white-space: nowrap;
}
.deployment-actions {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.deployment-actions .button {
  white-space: nowrap;
}
.action-link {
  display: inline-block;
  line-height: 1.45;
}

@media (max-width: 1300px) {
  .admin-tab-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.liveops-grid, .liveops-stack { display: grid; gap: 1rem; }
.liveops-stack { align-items: start; }

.qa-smoke-form {
  margin-top: 1rem;
}
.qa-command {
  margin: 1rem 0 0;
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(0,0,0,.24);
  color: var(--text);
}
.qa-check-list {
  display: grid;
  gap: .85rem;
}
.qa-check-row {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(255,255,255,.025);
}
.qa-check-row h3 {
  margin: .55rem 0 .25rem;
}
.qa-excerpts {
  display: grid;
  gap: .45rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}
.qa-excerpts li {
  padding: .6rem .7rem;
  border: 1px dashed rgba(214,180,109,.34);
  border-radius: .6rem;
  color: var(--muted);
  background: rgba(0,0,0,.18);
  overflow-wrap: anywhere;
}
