:root {
  --bg: #0a0c12;
  --bg-panel: #0c0e14;
  --card: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
  --text: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.3);
  --gold: #d4a853;
  --gold-light: #e8c078;
  --green: #a8d5a2;
  --teal: #7ec8c8;
  --teal-strong: #5bb8c4;
  --purple: #c8a0d0;
  --red: #ff3c3c;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.install-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.ptr-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -60px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dim);
  z-index: 200;
  transition: transform 0.15s ease;
  pointer-events: none;
}

.ptr-indicator.ptr-ready {
  color: var(--gold);
  border-color: var(--gold);
}

.ptr-indicator.ptr-spinning span {
  display: inline-block;
  animation: ptr-spin 0.7s linear infinite;
}

@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}

.install-banner span {
  flex: 1;
  font-size: 13px;
  color: var(--text);
}

.install-banner .btn {
  padding: 6px 14px;
  font-size: 13px;
  width: auto;
}

.install-banner button#install-banner-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(120, 60, 200, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(200, 100, 60, 0.12) 0%, transparent 55%);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding-bottom: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-panel);
  position: relative;
}

.app-header {
  padding: 24px 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, #160b28 0%, var(--bg-panel) 100%);
}

.app-header-logo {
  width: 380px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  /* fc-logo.png is a dark wordmark made for light backgrounds; invert for the dark theme. */
  filter: invert(1) brightness(1.6);
}

.app-header h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #b8903e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header .subtitle {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin: 20px 0 10px;
}

.section-header h2,
.section-header h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header .see-all {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
}

.page-title {
  padding: 24px 20px 4px;
}

.page-title h2 {
  margin: 0;
  font-size: 20px;
}

.page-title p {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 13px;
}

.card {
  margin: 0 16px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px;
}

.guest-banner {
  margin: 0 16px 14px;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guest-banner .gb-title {
  font-weight: 700;
  font-size: 13px;
}

.guest-banner .gb-sub {
  color: var(--text-dim);
  font-size: 11px;
  margin-top: 2px;
}

.gb-btn {
  margin-left: auto;
  background: var(--gold);
  color: #201203;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.status-banner {
  margin: 0 16px 14px;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-banner .sb-icon {
  font-size: 20px;
  line-height: 1;
  flex: none;
}

.status-banner .gb-title {
  font-weight: 700;
  font-size: 13px;
}

.status-banner .gb-sub {
  color: var(--text-dim);
  font-size: 11px;
  margin-top: 2px;
}

.status-banner.status-success {
  background: rgba(168, 213, 162, 0.08);
  border: 1px solid rgba(168, 213, 162, 0.3);
}

.status-banner.status-success .gb-title {
  color: var(--green);
}

.status-banner.status-info {
  background: rgba(126, 200, 200, 0.08);
  border: 1px solid rgba(126, 200, 200, 0.3);
}

.status-banner.status-info .gb-title {
  color: var(--teal);
}

.status-banner.status-urgent {
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.35);
}

.status-banner.status-urgent .gb-title {
  color: #ff6b6b;
}

.notification-item.notification-unread {
  border-left: 3px solid var(--gold);
}

.live-banner {
  margin: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 30, 30, 0.12), rgba(180, 0, 0, 0.08));
  border: 1px solid rgba(255, 60, 60, 0.3);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-badge {
  background: linear-gradient(135deg, #ff2020, #cc0000);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.live-info .live-title {
  font-size: 13px;
  font-weight: 700;
}

.live-info .live-sub {
  color: var(--text-dim);
  font-size: 11px;
  margin-top: 2px;
}

.live-viewers {
  color: #ff7777;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 10px;
}

.quick-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px 6px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.quick-btn .q-icon {
  font-size: 24px;
  line-height: 1;
}

.quick-btn .q-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
}

.devotional-card {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, rgba(24, 10, 48, 0.9), rgba(12, 12, 30, 0.9));
  border: 1px solid rgba(200, 160, 208, 0.2);
  border-radius: 20px;
  padding: 20px;
}

.devo-tag {
  color: var(--purple);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.devo-verse {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.devo-ref {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
}

.devo-share-btn {
  margin-top: 12px;
  background: rgba(200, 160, 208, 0.12);
  border: 1px solid rgba(200, 160, 208, 0.3);
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.share-btn {
  flex: none;
  background: rgba(200, 160, 208, 0.12);
  border: 1px solid rgba(200, 160, 208, 0.3);
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.progress-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--teal));
}

.events-scroll {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  overflow-x: auto;
}

.event-card {
  min-width: 175px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px;
  flex-shrink: 0;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.event-date .day {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.event-date .month {
  color: var(--text-faint);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.event-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.event-time {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .events-scroll {
    flex-direction: column;
    overflow-x: visible;
    padding: 0 20px 16px;
  }

  .event-card {
    min-width: 0;
    width: 100%;
  }
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 20px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: #201203;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--gold);
}

.btn-green {
  background: rgba(168, 213, 162, 0.15);
  color: var(--green);
  border: 1px solid rgba(168, 213, 162, 0.3);
}

.btn-locked {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-faint);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.bible-locked-block {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.bible-locked-content {
  filter: blur(5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

.bible-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(6, 10, 8, 0.15);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.badge {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-open {
  background: rgba(168, 213, 162, 0.12);
  color: var(--green);
  border: 1px solid rgba(168, 213, 162, 0.2);
}

.badge-full {
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.2);
}

.badge-new {
  background: rgba(126, 200, 200, 0.12);
  color: var(--teal);
  border: 1px solid rgba(126, 200, 200, 0.2);
}

.badge-locked {
  background: rgba(200, 169, 110, 0.08);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.2);
}

.prayer-card {
  margin: 0 16px 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px;
}

.prayer-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.prayer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.prayer-name {
  font-weight: 700;
  font-size: 13px;
}

.prayer-time-ago {
  color: var(--text-faint);
  font-size: 11px;
}

.prayer-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.prayer-actions {
  display: flex;
  gap: 8px;
}

.prayer-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.prayer-action-btn.prayed {
  background: rgba(200, 169, 110, 0.15);
  border-color: rgba(200, 169, 110, 0.4);
  color: var(--gold);
}

form.inline {
  margin: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 12px;
}

/* The dropdown popup ignores the page background and defaults to white,
   so <option> needs an explicit dark background or it renders white-on-white. */
select option {
  background: var(--bg-panel);
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 600;
}

.error-msg {
  color: #ff8888;
  font-size: 13px;
  margin: 0 16px 12px;
}

.success-msg {
  color: var(--green);
  font-size: 13px;
  margin: 0 16px 12px;
}

.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.auth-logo {
  width: 440px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
  /* fc-logo.png is a dark wordmark made for light backgrounds; invert for the dark theme. */
  filter: invert(1) brightness(1.6);
}

.auth-page h1 {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  margin: 0 0 4px;
}

.auth-page .subtitle {
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.auth-form {
  width: 100%;
  max-width: 340px;
  text-align: left;
}

.auth-links {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.auth-links a {
  color: var(--gold);
  font-weight: 600;
}

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  height: 76px;
  background: rgba(9, 9, 18, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
}

.tab-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 14px;
  font-family: inherit;
}

.tab-btn .tab-icon {
  font-size: 22px;
  position: relative;
  display: inline-block;
}

.tab-live-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff2020;
  border: 1.5px solid var(--bg-panel);
  animation: tab-live-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes tab-live-dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 32, 32, 0.6);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(255, 32, 32, 0);
  }
}

.tab-btn.active {
  color: var(--gold);
  background: rgba(200, 169, 110, 0.08);
}

.radio-player {
  text-align: center;
}

.radio-now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 0 20px;
}

.radio-disc {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 160, 208, 0.28), rgba(138, 111, 168, 0.22));
  border: 1px solid rgba(200, 160, 208, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.radio-disc.spinning {
  animation: radio-disc-spin 6s linear infinite;
}

@keyframes radio-disc-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.radio-track-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.radio-track-artist {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.radio-ctrl-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(200, 160, 208, 0.14);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.radio-play-btn {
  width: 58px;
  height: 58px;
  background: var(--gold);
  color: #201203;
  font-size: 20px;
}

.radio-list-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 13px;
  padding: 10px 4px;
  cursor: pointer;
}

.radio-list-item:last-child {
  border-bottom: none;
}

.radio-list-item.active {
  color: var(--gold);
  font-weight: 700;
}


.locked-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
}

.locked-wrap .lock-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.settings-list .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--card-border);
}

.settings-list .item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(200, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.qr-share-card {
  text-align: center;
}

.qr-share-img {
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.qr-share-credit {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.qr-share-credit:hover {
  color: var(--gold);
}

.video-frame {
  margin: 0 16px 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.checkbox-row input {
  width: auto;
  margin: 0;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.amount-grid label {
  margin: 0;
}

.amount-option {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-weight: 700;
}

.amount-option input {
  display: none;
}

.amount-option input:checked + span,
.amount-option:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 110, 0.1);
}

/* ---------------------------------------------------------------------- */
/* Admin                                                                   */
/* ---------------------------------------------------------------------- */

.admin-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 16px;
}

.admin-nav a {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}

.admin-nav a.active {
  background: var(--gold);
  color: #201203;
  border-color: var(--gold);
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px 16px;
}

.admin-summary-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.admin-summary-card .n {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.admin-summary-card .l {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.admin-summary-card .hint {
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.7;
  margin-top: 6px;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 16px 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--card-border);
  vertical-align: middle;
}

.data-table th {
  color: var(--text-faint);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table td.actions {
  white-space: nowrap;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 11px;
  margin: 2px 4px 2px 0;
}

.btn-red {
  background: rgba(255, 90, 90, 0.12);
  color: #ff6666;
  border: 1px solid rgba(255, 90, 90, 0.3);
}

.pill {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-active {
  background: rgba(168, 213, 162, 0.12);
  color: var(--green);
}

.pill-paused {
  background: rgba(255, 90, 90, 0.12);
  color: #ff6666;
}

.pill-admin {
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold);
}

details.admin-subpanel {
  margin-top: 8px;
}

details.admin-subpanel summary {
  cursor: pointer;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.admin-form-grid .full {
  grid-column: 1 / -1;
}
