:root {
  --bg: #0c162b;
  --surface: #14223d;
  --surface-2: #1a2c4f;
  --border: rgba(255, 255, 255, 0.11);
  --text: #f3f6fc;
  --muted: #98abc9;
  --accent: #f6c744;
  --red: #e04d4f;
  --green: #42be7e;
  --blue: #52a9ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

/* Login Screen */
.login-screen {
  min-block-size: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  inline-size: 100%;
  max-inline-size: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.login-badge {
  display: inline-block;
  background: rgba(246, 199, 68, 0.14);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-block-end: 12px;
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

.login-sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-block: 4px;
}

.pin-dot {
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.pin-dot.is-filled {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.12);
}

.pin-input {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.45em;
  padding-inline: 18px;
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pin-key {
  min-block-size: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.1s ease, background-color 0.15s ease;
}

.pin-key:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.14);
}

.pin-key-action {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.pin-key-submit {
  background: linear-gradient(180deg, #fae078 0%, #eab042 100%);
  color: #2c211c;
  border-color: transparent;
}

.pin-key:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.admin-input,
.admin-select {
  inline-size: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
}

.admin-input:focus,
.admin-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.login-error {
  margin: 2px 0;
  color: #ff7b7d;
  font-size: 13px;
  font-weight: 700;
}

.login-footer {
  margin-block-start: 16px;
  text-align: center;
}

.back-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger {
  border: none;
  border-radius: 11px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(180deg, #fae078 0%, #eab042 100%);
  color: #2c211c;
  margin-block-start: 6px;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-danger {
  background: rgba(224, 77, 79, 0.2);
  color: #ff9a9c;
  border: 1px solid rgba(224, 77, 79, 0.35);
}

/* Header */
.admin-shell {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border-block-end: 1px solid var(--border);
}

.header-left,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-pill {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
}

.admin-identity {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.live-dot {
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Main Content */
.admin-main {
  inline-size: 100%;
  max-inline-size: 1240px;
  margin-inline: auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.kpi-value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.kpi-online {
  color: var(--green);
}

.kpi-hint {
  font-size: 12px;
  color: var(--muted);
}

.stats-sanity-banner {
  background: rgba(247, 201, 72, 0.14);
  border: 1px solid rgba(247, 201, 72, 0.45);
  color: #fde69a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.stats-accuracy-note {
  margin: -10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Stars Payments Panel */
.payments-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-block-end: 14px;
}

.pay-stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pay-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.pay-stat-val {
  font-size: 20px;
  font-weight: 800;
}

.pay-stat-val.pay-ok {
  color: var(--green);
}

.pay-stat-val.pay-warn {
  color: #ffb4b6;
}

.payments-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 14px;
}

.pay-filter-group {
  display: inline-flex;
  gap: 6px;
  background: var(--bg);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pay-filter-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
}

.pay-filter-btn.is-active {
  background: var(--surface-2);
  color: var(--accent);
}

.reconcile-box {
  background: rgba(88, 184, 240, 0.1);
  border: 1px solid rgba(88, 184, 240, 0.38);
  border-radius: 14px;
  padding: 12px 14px;
  margin-block-end: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.reconcile-box.has-diff {
  background: rgba(247, 201, 72, 0.14);
  border-color: rgba(247, 201, 72, 0.45);
}

.payments-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}

.payment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-card.is-paid {
  border-color: rgba(66, 190, 126, 0.45);
  background: rgba(66, 190, 126, 0.06);
}

.payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.payment-card-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
}

.payment-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.payment-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.payment-charge-chip {
  display: block;
  word-break: break-all;
  font-size: 11px;
  user-select: all;
}

/* Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-input {
  flex: 2 1 260px;
}

.admin-select {
  flex: 1 1 180px;
  max-inline-size: 260px;
}

/* Accessible Tabs */
.tabs-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.tablist {
  display: flex;
  overflow-x: auto;
  border-block-end: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding-inline: 8px;
  gap: 4px;
}

.tab-btn {
  position: relative;
  flex: none;
  border: none;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn[aria-selected='true'] {
  color: var(--accent);
}

.tab-btn[aria-selected='true']::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3px solid var(--accent);
}

.tab-count {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 999px;
}

.tab-panel {
  padding: 14px;
}

/* Responsive Tables */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 68dvh);
  container-type: inline-size;
  overscroll-behavior: contain;
}

table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--surface-2);
}

th,
td {
  text-align: start;
  padding: 11px 12px;
  border-block-end: 1px solid var(--border);
  vertical-align: middle;
}

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

button.badge {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.badge-enter { background: rgba(66, 190, 126, 0.16); color: #6be0a3; }
.badge-leave { background: rgba(224, 77, 79, 0.16); color: #ff8e90; }
.badge-tree { background: rgba(246, 199, 68, 0.16); color: #ffd96a; }
.badge-correct { background: rgba(66, 190, 126, 0.16); color: #6be0a3; }
.badge-wrong { background: rgba(224, 77, 79, 0.16); color: #ff8e90; }
.badge-done { background: rgba(82, 169, 255, 0.18); color: #84c1ff; }
.badge-wish { background: rgba(217, 83, 143, 0.18); color: #ff8ec1; }
.badge-offline { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.badge-admin { background: rgba(246, 199, 68, 0.16); color: #ffd96a; border: 1px solid rgba(246, 199, 68, 0.4); }

.dialog-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dialog-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.tg-link {
  color: #6cc2ff;
  font-weight: 700;
  text-decoration: none;
}

.tg-link:hover {
  text-decoration: underline;
}

.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 7px;
  color: var(--accent);
}

/* Question Stats Cards */
.question-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-block-end: 16px;
}

.q-stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.q-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-block-end: 8px;
}

.q-bar-track {
  block-size: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-block-end: 6px;
}

.q-bar-fill {
  block-size: 100%;
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.q-stat-meta {
  font-size: 12px;
  color: var(--muted);
}

/* Stacked Mobile Table Layout */
@container (width < 640px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-block-end: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    padding: 6px 10px;
  }

  td {
    border-block-end: 1px solid rgba(255, 255, 255, 0.05);
    padding: 7px 4px;
  }

  td:last-child {
    border-block-end: none;
  }

  td[data-label]::before {
    content: attr(data-label) ': ';
    font-weight: 700;
    color: var(--muted);
    font-size: 12px;
  }
}

/* Modal Dialog */
dialog.admin-dialog {
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  max-inline-size: min(94vw, 760px);
  inline-size: 100%;
  max-block-size: 88dvh;
}

dialog.admin-dialog:modal {
  overscroll-behavior: contain;
}

dialog.admin-dialog::backdrop {
  background: rgba(6, 11, 22, 0.78);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  max-block-size: 88dvh;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-block-end: 1px solid var(--border);
}

.dialog-title {
  margin: 0;
  font-size: 18px;
}

.dialog-body {
  padding: 18px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-section h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--accent);
}

.qa-pill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.qa-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 13px;
}

.friend-attempt-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-block-end: 10px;
}

.friend-attempt-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 8px;
  font-weight: 700;
}

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-chip {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mini-chip.ok {
  background: rgba(66, 190, 126, 0.14);
  color: #7ee8b0;
}

.mini-chip.bad {
  background: rgba(224, 77, 79, 0.14);
  color: #ff9c9e;
}

/* ---------------- Broadcast (Xabar yuborish) ---------------- */
.broadcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.broadcast-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-inline-size: 0;
}

.bc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bc-field > .admin-select,
.bc-field > .admin-input {
  flex: none;
  max-inline-size: none;
}

.bc-row .admin-select {
  flex: 1 1 240px;
  max-inline-size: 360px;
}

.bc-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.bc-textarea {
  resize: vertical;
  min-block-size: 150px;
  line-height: 1.5;
}

.bc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bc-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

#bc-counter.is-over {
  color: #ff7b7d;
  font-weight: 700;
}

.bc-extra {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 10px 14px;
}

.bc-extra summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.bc-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-block-start: 12px;
}

.bc-span-2 {
  grid-column: 1 / -1;
}

.bc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bc-actions .btn-primary {
  margin-block-start: 0;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bc-status {
  margin: 0;
  min-block-size: 1.2em;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.bc-status.is-ok {
  color: #6be0a3;
}

.bc-status.is-error {
  color: #ff8e90;
}

.bc-progress {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.bc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--muted);
}

.bc-stats strong {
  color: var(--text);
}

.broadcast-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  align-self: start;
}

.bc-preview-title {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--accent);
}

.tg-chat {
  background: linear-gradient(160deg, #1b2a40 0%, #22374f 100%);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.tg-bubble {
  max-inline-size: 92%;
  background: #2b5278;
  border-radius: 14px 14px 14px 4px;
  overflow: hidden;
}

.tg-bubble-img {
  display: block;
  inline-size: 100%;
  max-block-size: 260px;
  object-fit: cover;
}

.tg-bubble-text {
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tg-bubble-text a {
  color: #8cc8ff;
}

.tg-inline-btn {
  max-inline-size: 92%;
  inline-size: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.bc-tips {
  margin: 14px 0 0;
  padding-inline-start: 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------- Desktop / Computer layout ---------------- */
@media (min-width: 1100px) {
  .admin-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 30;
    padding: 14px 32px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  }

  .admin-main {
    max-inline-size: 1680px;
    padding: 24px 32px 48px;
    gap: 20px;
  }

  .kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .kpi-card {
    padding: 18px 20px;
  }

  .kpi-value {
    font-size: 34px;
  }

  .search-input {
    flex: 0 1 520px;
  }

  /* Tabs become a left sidebar */
  .tabs-container {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    overflow: visible;
  }

  .tablist {
    position: sticky;
    inset-block-start: 84px;
    flex-direction: column;
    overflow: visible;
    border-block-end: none;
    border-inline-end: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
    background: transparent;
    align-self: stretch;
  }

  .tab-btn {
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    text-align: start;
  }

  .tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }

  .tab-btn[aria-selected='true'] {
    background: rgba(246, 199, 68, 0.1);
  }

  .tab-btn[aria-selected='true']::after {
    inset: 8px auto 8px 0;
    border-block-end: none;
    border-inline-start: 3px solid var(--accent);
    border-radius: 3px;
  }

  .tab-panel {
    padding: 18px 22px;
    min-inline-size: 0;
  }

  .table-wrapper {
    max-block-size: calc(100dvh - 330px);
    min-block-size: 380px;
  }

  table {
    font-size: 14px;
  }

  th,
  td {
    padding: 12px 14px;
  }

  tbody tr {
    transition: background 0.12s ease;
  }

  .question-stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  dialog.admin-dialog {
    max-inline-size: min(92vw, 1120px);
  }

  .qa-pill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .broadcast-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    gap: 24px;
  }

  .broadcast-preview {
    position: sticky;
    inset-block-start: 84px;
  }
}

@media (min-width: 1500px) {
  .qa-pill-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (hover: hover) {
  .btn-secondary:hover:not(:disabled) {
    background: #22385f;
  }

  .btn-primary:hover:not(:disabled) {
    filter: brightness(1.05);
  }
}
