:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #11131a;
  --panel-2: #171923;
  --line: #2a2d3a;
  --text: #f5f6fb;
  --muted: #a8adbd;
  --accent: #ff1a75;
  --accent-2: #41b8ff;
  --warn: #f5bf4b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.announcement {
  background: var(--accent);
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.55rem 1rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.65rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(8, 9, 13, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  order: 3;
}

.brand img {
  display: block;
  width: min(220px, 54vw);
  max-height: 58px;
  object-fit: contain;
}

.menu-button {
  display: none;
}

.search-toggle {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border-radius: 999px;
  line-height: 1;
}

.search-toggle span {
  position: relative;
  width: 0.92rem;
  height: 0.92rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.search-toggle span::after {
  content: "";
  position: absolute;
  right: -0.36rem;
  bottom: -0.28rem;
  width: 0.45rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-search-panel {
  position: absolute;
  top: calc(100% - 1px);
  right: clamp(1rem, 3vw, 2.5rem);
  width: min(440px, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 26, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.site-search-panel[hidden] {
  display: none;
}

.menu a {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
}

.menu a:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  padding: clamp(2.25rem, 5vw, 4.2rem) 0 clamp(1.2rem, 3vw, 1.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(260px, 42vw);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-copy {
  max-width: 840px;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 0.55rem;
  font-size: clamp(2.9rem, 6vw, 4.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

.admin-hero {
  padding: clamp(2.2rem, 6vw, 4.5rem) 0 1rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.6rem;
  max-width: 920px;
  font-size: clamp(2.65rem, 8vw, 5.8rem);
  line-height: 0.94;
  font-weight: 900;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.hero-tagline {
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: clamp(1.08rem, 2.4vw, 1.55rem);
  font-weight: 850;
  line-height: 1.12;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.45;
}

.hero-panel {
  display: grid;
  gap: 0.65rem;
}

.panel-stat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.78rem 0.86rem;
  background: linear-gradient(135deg, rgba(65, 184, 255, 0.08), rgba(255, 26, 117, 0.06)), rgba(17, 19, 26, 0.92);
}

.panel-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.panel-stat strong {
  display: block;
  margin: 0.2rem 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.6rem, 5vw, 2rem);
  line-height: 1;
}

.weekly-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 1rem;
  align-items: stretch;
  margin: 1rem 0;
  border: 1px solid rgba(255, 26, 117, 0.42);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(65, 184, 255, 0.1) inset,
    0 18px 45px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(255, 26, 117, 0.12);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 26, 117, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 26, 117, 0.15), rgba(65, 184, 255, 0.09)),
    var(--panel);
}

.weekly-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.weekly-spotlight[hidden] {
  display: none;
}

.weekly-spotlight-copy {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: clamp(1.05rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.35rem) clamp(1.05rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 1.65rem);
}

#weeklySpotlightKicker {
  justify-self: start;
  margin: 0;
  border: 1px solid rgba(255, 26, 117, 0.42);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  background: linear-gradient(90deg, rgba(255, 26, 117, 0.28), rgba(65, 184, 255, 0.16));
  color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 26, 117, 0.18);
  font-size: 0.78rem;
}

.weekly-spotlight h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.weekly-spotlight p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.weekly-spotlight-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.weekly-spotlight-stats span {
  border: 1px solid rgba(65, 184, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(12, 14, 20, 0.76);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.spotlight-button {
  justify-self: start;
  min-height: 2.35rem;
  border-color: rgba(255, 26, 117, 0.55);
  padding: 0.55rem 0.9rem;
  background: rgba(255, 26, 117, 0.18);
  color: var(--text);
}

.weekly-spotlight-media {
  position: relative;
  min-height: 230px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 26, 117, 0.32), transparent 45%),
    linear-gradient(315deg, rgba(65, 184, 255, 0.26), transparent 45%),
    #20222d;
  cursor: pointer;
}

.weekly-spotlight-media:hover {
  border-left-color: rgba(65, 184, 255, 0.55);
}

.weekly-spotlight-media > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
}

.weekly-spotlight-media.has-photo > span {
  display: none;
}

.weekly-spotlight-media > img:not(.mugshot-watermark) {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-spotlight-media.has-photo > img:not(.mugshot-watermark) {
  display: block;
}

.destination-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-updates-section {
  margin: 1rem 0;
  border: 1px solid rgba(65, 184, 255, 0.2);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.25rem);
  background:
    linear-gradient(135deg, rgba(65, 184, 255, 0.08), rgba(255, 26, 117, 0.04)),
    var(--panel);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0.18rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.section-heading > a {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-updates-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.site-update-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 9, 13, 0.58);
}

.site-update-card.empty {
  grid-column: 1 / -1;
  padding: 1rem;
}

.site-update-card.empty p {
  margin: 0;
  color: var(--muted);
}

.site-update-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: var(--panel-2);
}

.site-update-copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.9rem;
}

.site-update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-update-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.18;
}

.site-update-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-update-details summary {
  cursor: pointer;
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 900;
}

.site-update-details div {
  margin-top: 0.55rem;
  color: var(--text);
  line-height: 1.55;
}

.daily-brief,
.quick-actions,
.notification-panel,
.engagement-lane article,
.resources-panel,
.trust-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.daily-brief,
.quick-actions,
.notification-panel,
.engagement-lane article,
.resources-panel {
  padding: 1.15rem;
}

.daily-brief p,
.quick-actions p,
.notification-panel p,
.resources-panel p,
.trust-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.lineup-card {
  display: grid;
  gap: 0.28rem;
  min-height: 5.2rem;
  border: 1px solid rgba(65, 184, 255, 0.22);
  border-radius: 6px;
  padding: 0.72rem 0.78rem;
  background: linear-gradient(90deg, rgba(65, 184, 255, 0.1), rgba(255, 26, 117, 0.05));
  color: var(--text);
  text-align: left;
}

.lineup-card:nth-child(1) {
  grid-row: span 2;
  align-content: center;
}

.lineup-card small {
  color: var(--accent-2);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.lineup-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.94rem;
  line-height: 1.18;
  font-weight: 750;
}

.lineup-card em {
  color: var(--muted);
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 750;
}

button.lineup-card {
  cursor: pointer;
}

button.lineup-card:hover {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.12);
}

.quick-actions {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.quick-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  background: #0c0e14;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
}

.quick-actions a::after {
  content: ">";
  color: var(--accent-2);
}

.quick-actions a:hover {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.1);
}

.notification-panel {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.notification-panel-prominent {
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 0.45fr) auto minmax(160px, 0.45fr);
  align-items: center;
  margin: -0.45rem 0 1rem;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(90deg, rgba(255, 26, 117, 0.14), rgba(65, 184, 255, 0.08)),
    var(--panel);
}

.notification-panel-prominent h2 {
  margin: 0.08rem 0;
  font-size: 1.15rem;
}

.notification-panel-prominent .ghost-button {
  min-height: 2.6rem;
  white-space: nowrap;
}

.notification-panel p {
  margin: 0;
}

.notification-panel label {
  display: grid;
  gap: 0.35rem;
}

.notification-panel label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-panel select {
  min-height: 2.6rem;
  padding: 0.58rem 0.72rem;
}

.install-app-actions {
  display: grid;
  gap: 0.35rem;
  min-width: 150px;
}

.install-app-actions span {
  display: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.install-app-actions span.active {
  display: block;
  border: 1px solid rgba(65, 184, 255, 0.24);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  background: rgba(65, 184, 255, 0.08);
}

.notification-status {
  min-height: 1.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.sister-site-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1rem;
  border: 1px solid rgba(255, 26, 117, 0.35);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(135deg, rgba(255, 26, 117, 0.16), rgba(65, 184, 255, 0.09)),
    var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.sister-site-promo h2 {
  margin: 0.12rem 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.sister-site-promo p:not(.eyebrow) {
  max-width: 58rem;
  margin: 0;
  color: #d7dbe8;
  line-height: 1.55;
}

.sister-site-promo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border: 1px solid rgba(65, 184, 255, 0.48);
  border-radius: 8px;
  padding: 0.62rem 0.9rem;
  background: rgba(65, 184, 255, 0.12);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.sister-site-promo a::after {
  content: ">";
  margin-left: 0.55rem;
  color: var(--accent-2);
}

.sister-site-promo a:hover {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.2);
}

.resources-panel {
  margin: 0 0 1rem;
}

.resources-page {
  padding-bottom: 2rem;
}

.resource-hero {
  padding: clamp(1.8rem, 5vw, 3.4rem) 0 1rem;
}

.resource-hero h1 {
  max-width: 900px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 0.45rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.resource-card {
  display: grid;
  gap: 0.28rem;
  min-height: 7.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  background: #0c0e14;
}

.resource-card:hover {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.1);
}

.resource-card span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.resource-card em {
  align-self: end;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.resource-card::after {
  content: "Open search >";
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.resource-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-page {
  padding-bottom: 2rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: var(--panel);
}

.policy-nav a {
  border-radius: 6px;
  padding: 0.56rem 0.65rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.policy-nav a:hover {
  background: rgba(65, 184, 255, 0.1);
  color: var(--text);
}

.policy-content {
  display: grid;
  gap: 0.85rem;
}

.policy-section h2 {
  margin-bottom: 0.65rem;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: var(--accent-2);
  font-weight: 800;
}

.newsletter-page {
  padding-bottom: 2rem;
}

.newsletter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 1rem;
  align-items: start;
}

.newsletter-form,
.newsletter-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--panel);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.newsletter-options {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  border: 1px solid rgba(65, 184, 255, 0.18);
  border-radius: 8px;
  padding: 0.8rem;
}

.newsletter-options legend {
  padding: 0 0.35rem;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.newsletter-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  background: #0c0e14;
}

.newsletter-options input {
  width: auto;
  margin-top: 0.18rem;
}

.newsletter-options strong,
.newsletter-options small {
  display: block;
}

.newsletter-options small {
  margin-top: 0.22rem;
  color: var(--muted);
  line-height: 1.4;
}

.newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.newsletter-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.newsletter-admin-panel {
  display: grid;
  gap: 0.8rem;
}

.compact-heading {
  margin: 0;
}

.newsletter-test-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, auto) auto;
  gap: 0.5rem;
  align-items: end;
}

.newsletter-test-form input,
.newsletter-test-form select,
.newsletter-test-form button {
  min-height: 2.45rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
}

.newsletter-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.newsletter-admin-summary span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  background: #0c0e14;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.newsletter-admin-summary strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.county-resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
}

.county-resource-list a {
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  background: #0c0e14;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.county-resource-list a:hover {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.1);
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: end;
  padding: 0.75rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.search-label span,
.admin-token-form span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  background: #0c0e14;
  color: var(--text);
  font: inherit;
}

select {
  min-width: 112px;
  font-weight: 800;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

.sort-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sort-controls button {
  white-space: nowrap;
}

button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.78rem 0.95rem;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button.active,
button:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(255, 26, 117, 0.16);
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.feed-status {
  min-height: 1.45rem;
  margin: -0.3rem 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0;
}

.load-more-button {
  min-width: min(260px, 100%);
}

.load-more-button[hidden] {
  display: none;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.mugshot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 26, 117, 0.32), transparent 45%),
    linear-gradient(315deg, rgba(65, 184, 255, 0.26), transparent 45%),
    #20222d;
}

.mugshot:hover {
  border-color: transparent;
}

.mugshot::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
}

.mugshot.has-photo::before {
  display: none;
}

.mugshot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mugshot-watermark {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  width: 34%;
  opacity: 0.42;
  z-index: 2;
}

.post-body {
  padding: 1rem;
}

.post-body h3 {
  line-height: 1.3;
}

.meta,
.charge,
.stats {
  color: var(--muted);
  font-size: 0.85rem;
}

.charge {
  min-height: 2.4rem;
  margin: 0.65rem 0 0.9rem;
  line-height: 1.45;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.comment-open-button {
  min-height: 2.15rem;
  padding: 0.42rem 0.55rem;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
}

.post-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.post-actions > .reaction-picker,
.post-actions > .quick-comment-box {
  grid-column: 1 / -1;
}

.post-card-link {
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.post-card-link:hover {
  color: var(--text);
}

.reaction-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0e14;
}

.reaction-picker button {
  display: grid;
  gap: 0.18rem;
  justify-items: center;
  padding: 0.55rem 0.35rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.reaction-picker button span:first-child {
  font-size: 1.15rem;
  line-height: 1;
}

.quick-comment-box {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0e14;
}

.quick-comment-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.quick-comment-box span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-comment-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.quick-comment-actions button {
  min-width: 7.5rem;
}

.comment-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.comment-preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.comment-preview-topline strong {
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comment-preview-topline button,
.comment-preview-more {
  border: 0;
  padding: 0;
  color: var(--accent-2);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.comment-preview-list {
  display: grid;
  gap: 0.58rem;
}

.comment-preview-item {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.comment-preview-avatar,
.comment-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 26, 117, 0.34), rgba(65, 184, 255, 0.22));
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 900;
}

.comment-preview-avatar {
  width: 1.75rem;
  height: 1.75rem;
}

.comment-preview-content {
  min-width: 0;
  border-radius: 8px;
  padding: 0.52rem 0.64rem;
  background: rgba(255, 255, 255, 0.045);
}

.comment-preview-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.comment-preview-byline strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-preview-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.18rem 0 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #d5d9e6;
  font-size: 0.86rem;
  line-height: 1.45;
}

.comment-preview-actions,
.comment-preview-item small,
.comment-preview-note {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.comment-preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.comment-preview-actions button,
.preview-reply-prompt button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.preview-reply-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.preview-reply-form div {
  justify-content: flex-end;
}

.preview-reply-form button {
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
}

.preview-reply-prompt {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.comment-preview-note {
  margin: 0;
}

.comment-preview-more {
  justify-self: start;
}

.post-link {
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.68rem 0.8rem;
  color: var(--muted);
  font-weight: 800;
}

.post-link:hover {
  color: var(--text);
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.12);
}

.empty-feed {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--panel);
}

.empty-feed p {
  margin-bottom: 0;
  color: var(--muted);
}

.post-detail {
  margin: 1rem 0;
}

.post-detail[hidden] {
  display: none;
}

.detail-back-button {
  margin-bottom: 0.75rem;
}

.post-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 26, 117, 0.32), transparent 45%),
    linear-gradient(315deg, rgba(65, 184, 255, 0.26), transparent 45%),
    #20222d;
}

.detail-media::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 5rem;
  font-weight: 900;
}

.detail-media.has-photo::before {
  display: none;
}

.detail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-watermark {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: min(190px, 38%);
  opacity: 0.42;
}

.detail-copy {
  padding: 1.25rem;
}

.detail-copy h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
}

.detail-stats {
  margin: 1rem 0;
}

.post-detail-content {
  color: var(--muted);
  line-height: 1.65;
}

.local-post-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  margin: 1rem 0;
}

.local-post-summary div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.68rem 0.75rem;
  background: rgba(255, 255, 255, 0.035);
}

.local-post-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.local-post-summary strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.post-detail-content img,
.post-detail-content iframe {
  max-width: 100%;
}

.post-detail-content a {
  color: var(--accent-2);
  font-weight: 800;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.comments-panel {
  margin: 1rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.comments-panel[hidden] {
  display: none;
}

.comments-heading,
.signed-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-actions {
  display: flex;
  align-items: end;
  gap: 0.75rem;
}

.api-mode-control {
  display: grid;
  gap: 0.35rem;
  min-width: 112px;
}

.api-mode-control span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-api-mode {
  width: min(180px, 100%);
  margin-bottom: 0.85rem;
}

.comments-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.comments-heading p,
.comment-status,
.magic-link-result,
.comment-item p {
  color: var(--muted);
  line-height: 1.5;
}

.ghost-button {
  background: transparent;
}

.comment-auth,
.comment-form,
.comments-list {
  margin-top: 1rem;
}

.magic-link-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0e14;
}

.magic-link-form span,
.comment-form span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.notify-replies-option {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.notify-replies-option input {
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  accent-color: var(--accent);
}

.notify-replies-option span,
.quick-comment-box .notify-replies-option span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.magic-link-result {
  margin-top: 0.7rem;
}

.comment-form {
  display: grid;
  gap: 0.75rem;
}

.comment-form[hidden] {
  display: none;
}

.comment-form button {
  justify-self: end;
}

.comments-list {
  display: grid;
  gap: 0.95rem;
}

.comment-item {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.62rem;
  align-items: start;
}

.comment-avatar {
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.08rem;
}

.comment-main {
  min-width: 0;
}

.comment-bubble {
  width: fit-content;
  max-width: min(100%, 46rem);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px 8px 8px 2px;
  padding: 0.7rem 0.82rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.comment-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--text);
  font-size: 0.86rem;
}

.comment-topline strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-topline span {
  color: var(--muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.comment-bubble p {
  margin: 0.3rem 0 0;
  color: #d7dbe8;
  line-height: 1.48;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.62rem;
  margin: 0.35rem 0 0 0.2rem;
}

.comment-actions button {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.comment-actions button:hover {
  color: var(--accent-2);
  background: transparent;
}

.reply-list {
  display: grid;
  gap: 0.72rem;
  margin: 0.82rem 0 0 0.15rem;
  padding-left: 0.82rem;
  border-left: 2px solid rgba(65, 184, 255, 0.2);
}

.reply-list .comment-avatar {
  width: 1.86rem;
  height: 1.86rem;
  font-size: 0.62rem;
}

.reply-list .comment-item {
  grid-template-columns: 1.86rem minmax(0, 1fr);
  gap: 0.5rem;
}

.reply-list .comment-bubble {
  padding: 0.58rem 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.inline-reply-form {
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
  margin-top: 0.75rem;
}

.inline-reply-form textarea,
.preview-reply-form textarea,
.quick-comment-box textarea,
.comment-form textarea {
  border-radius: 8px;
}

.inline-reply-form button {
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  color: var(--muted);
  font-size: 0.76rem;
  justify-self: start;
}

.admin-panel,
.moderation-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.admin-panel {
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-token-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.6rem 0 0.8rem;
}

.admin-section-heading h2 {
  margin: 0;
}

.queue-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.queue-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.request-review-controls {
  display: flex;
  align-items: end;
  gap: 0.8rem;
}

.request-filter-control {
  display: grid;
  gap: 0.32rem;
  min-width: 170px;
}

.request-filter-control span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-filter-control select {
  min-height: 2.35rem;
  padding: 0.48rem 0.65rem;
  font-size: 0.82rem;
}

.admin-status {
  min-height: 1.4rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.queue-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.72rem;
  margin: 1.2rem 0 1.5rem;
}

.queue-summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.78rem 0.85rem;
  background: linear-gradient(135deg, rgba(20, 23, 34, 0.98), rgba(23, 14, 30, 0.92));
  min-width: 0;
}

.queue-summary-card span,
.queue-summary-card small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.queue-summary-card span {
  text-transform: uppercase;
}

.queue-summary-card strong {
  display: block;
  margin: 0.15rem 0 0.05rem;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
}

.queue-summary-card small {
  overflow-wrap: anywhere;
}

.draft-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(180px, 1.4fr) auto;
  gap: 0.7rem;
  align-items: end;
}

.draft-filter-panel label span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draft-filter-panel input,
.draft-filter-panel select {
  min-height: 2.55rem;
  padding: 0.58rem 0.7rem;
  font-size: 0.86rem;
}

.draft-filter-panel button {
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.draft-filter-summary {
  grid-column: 1 / -1;
  margin: 0;
  min-height: auto;
  font-size: 0.82rem;
}

.draft-pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.draft-pagination span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.draft-pagination button {
  min-height: 2.25rem;
  padding: 0.42rem 0.7rem;
}

.draft-pagination-bottom {
  margin: -0.8rem 0 2rem;
  justify-content: center;
}

.moderation-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.update-editor-panel {
  margin-bottom: 0.85rem;
}

.site-update-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.site-update-form label {
  display: grid;
  gap: 0.4rem;
}

.site-update-form input,
.site-update-form textarea {
  min-width: 0;
}

.update-social-toggle {
  align-self: center;
}

.site-update-item {
  border-color: rgba(65, 184, 255, 0.25);
}

.site-update-thumb {
  width: min(240px, 100%);
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--panel-2);
}

.moderation-item {
  padding: 1rem;
}

.queue-hidden-note {
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.moderation-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.moderation-topline strong,
.moderation-topline span {
  display: block;
}

.moderation-topline span,
.moderation-meta,
.moderation-item p {
  color: var(--muted);
}

.moderation-item p {
  margin: 0.85rem 0;
  line-height: 1.55;
}

.moderation-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.moderation-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: #0c0e14;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.moderation-badges .status-needs_review {
  border-color: rgba(255, 209, 102, 0.36);
  background: rgba(255, 209, 102, 0.12);
  color: #ffd166;
}

.moderation-badges .status-published,
.moderation-badges .draft-social-badge {
  border-color: rgba(23, 210, 126, 0.34);
  background: rgba(23, 210, 126, 0.12);
  color: #7df0b2;
}

.moderation-badges .status-rejected {
  border-color: rgba(255, 91, 110, 0.34);
  background: rgba(255, 91, 110, 0.12);
  color: #ff8b9b;
}

.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.moderation-actions button {
  padding: 0.58rem 0.72rem;
  font-size: 0.82rem;
}

.moderation-actions .send-subscriber-button {
  border-color: rgba(255, 26, 117, 0.46);
  background: rgba(255, 26, 117, 0.16);
  color: var(--text);
}

.request-hero {
  padding: clamp(2.2rem, 6vw, 4.5rem) 0 1rem;
}

.request-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}

.request-shell {
  display: grid;
  gap: 1rem;
  width: min(760px, 100%);
  margin: 0 auto 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--panel);
}

.request-type-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.request-type-picker button {
  min-height: 2.5rem;
  color: var(--muted);
  background: #0c0e14;
}

.request-type-picker button.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 26, 117, 0.12);
}

.request-form,
.request-field-group {
  display: grid;
  gap: 0.9rem;
}

.request-field-group[hidden] {
  display: none;
}

.request-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.request-status {
  min-height: 1.4rem;
  color: var(--muted);
  font-weight: 800;
}

.request-upload {
  border: 1px dashed rgba(65, 184, 255, 0.34);
  border-radius: 8px;
  padding: 0.8rem;
  background: rgba(65, 184, 255, 0.06);
}

.request-upload input {
  padding: 0.65rem;
  background: #0c0e14;
}

.request-upload small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.request-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.request-meta-grid > div {
  min-width: 0;
}

.request-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.request-meta-grid strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.request-review-card {
  padding: 0;
  overflow: hidden;
}

.request-card-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
}

.request-card-image {
  width: 92px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050609;
}

.request-card-image.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.request-card-content {
  min-width: 0;
}

.request-card-topline {
  margin: 0;
}

.request-summary-grid {
  display: grid;
  grid-template-columns: minmax(88px, 0.75fr) minmax(150px, 1.35fr) minmax(120px, 0.9fr) minmax(110px, 0.8fr);
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.request-summary-grid > div {
  min-width: 0;
}

.request-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.request-summary-grid strong {
  display: block;
  margin-top: 0.1rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.request-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.request-readiness span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.46rem;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-readiness .ready {
  border-color: rgba(39, 213, 131, 0.28);
  color: #8df0bc;
  background: rgba(39, 213, 131, 0.08);
}

.request-readiness .missing {
  border-color: rgba(255, 209, 102, 0.3);
  color: #ffd166;
  background: rgba(255, 209, 102, 0.08);
}

.request-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.7rem;
}

.request-action {
  min-height: 2rem;
  border-color: var(--line);
  padding: 0.35rem 0.58rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  font-weight: 900;
}

.request-action.primary {
  border-color: rgba(65, 184, 255, 0.35);
  color: #ffffff;
  background: rgba(65, 184, 255, 0.16);
}

.request-action.warning {
  border-color: rgba(255, 209, 102, 0.28);
  color: #ffd166;
  background: rgba(255, 209, 102, 0.07);
}

.request-action.danger {
  border-color: rgba(255, 91, 119, 0.3);
  color: #ff9bad;
  background: rgba(255, 91, 119, 0.07);
}

.request-review-details {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0.85rem 0.85rem;
  background: rgba(5, 6, 9, 0.28);
}

.request-review-details > summary,
.request-status-more > summary,
.request-raw-submission > summary {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.request-raw-submission {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  background: rgba(12, 14, 20, 0.62);
}

.request-raw-submission p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.request-status-more {
  margin-top: 0.75rem;
}

.moderation-actions.compact {
  margin-top: 0.6rem;
}

.moderation-actions.compact button {
  min-height: 1.9rem;
  padding: 0.3rem 0.52rem;
  font-size: 0.72rem;
}

.request-search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.request-search-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  color: var(--accent-2);
  background: #0c0e14;
  font-size: 0.78rem;
  font-weight: 800;
}

.request-admin-note {
  width: 100%;
  min-height: 4.5rem;
  margin-top: 0.85rem;
}

.request-edit-panel {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
  background: rgba(12, 14, 20, 0.72);
}

.request-edit-panel summary {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.request-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.request-edit-grid label {
  display: grid;
  gap: 0.32rem;
}

.request-edit-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-edit-grid input,
.request-edit-grid textarea {
  min-height: 2.45rem;
  padding: 0.58rem 0.7rem;
  font-size: 0.86rem;
}

.request-edit-wide {
  grid-column: 1 / -1;
}

.draft-item .request-extracted-body {
  margin-top: 0.85rem;
}

.draft-health {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: rgba(12, 14, 20, 0.62);
}

.draft-health div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.draft-health span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draft-health strong {
  color: var(--text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.draft-health .draft-warning {
  color: #ffd166;
}

.possible-matches-panel {
  margin-top: 0.75rem;
  border: 1px solid rgba(65, 184, 255, 0.22);
  border-radius: 8px;
  padding: 0.75rem;
  background: rgba(65, 184, 255, 0.06);
}

.possible-matches-panel summary {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.possible-matches-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.possible-match {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem;
  background: rgba(12, 14, 20, 0.58);
}

.possible-match img {
  width: 4.2rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.possible-match strong,
.possible-match span,
.possible-match p {
  display: block;
}

.possible-match strong {
  color: var(--text);
  font-size: 0.94rem;
}

.possible-match span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.possible-match p {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-size: 0.86rem;
}

.possible-match a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.draft-body-editor {
  min-height: 9rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  line-height: 1.45;
}

.request-extracted {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  border: 1px solid rgba(65, 184, 255, 0.24);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(65, 184, 255, 0.06);
}

.request-extracted-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.request-extracted-topline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  color: var(--accent-2);
  background: #0c0e14;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-extracted-body {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.request-extracted-body.no-image {
  grid-template-columns: 1fr;
}

.request-extracted-body.no-image .request-meta-grid {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
}

.request-extracted-body img {
  width: 110px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050609;
}

.request-draft-preview {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
}

.request-draft-preview span,
.request-draft-preview summary {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.request-draft-preview strong {
  color: var(--text);
}

.request-draft-preview pre {
  overflow: auto;
  max-height: 260px;
  margin: 0.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  background: #0c0e14;
  color: var(--muted);
  white-space: pre-wrap;
}

.engagement-lane {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.top-engagement {
  margin: 0 0 1rem;
}

.insight-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.ranked-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.ranked-list li {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: #0c0e14;
}

.ranked-list button {
  display: grid;
  width: 100%;
  gap: 0.22rem;
  border: 0;
  padding: 0.68rem 0.75rem;
  background: transparent;
  text-align: left;
}

.ranked-list strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranked-list span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.heat-list {
  display: grid;
  gap: 0.55rem;
}

.heat-list > button,
.heat-list > span {
  display: grid;
  grid-template-columns: 112px 70px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.58rem 0.68rem;
  background: #0c0e14;
  color: var(--muted);
  text-align: left;
}

.heat-list > button {
  cursor: pointer;
}

.heat-list > button:hover,
.heat-list > button.active {
  border-color: var(--accent-2);
  background: rgba(65, 184, 255, 0.1);
}

.heat-list strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heat-list > button span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

meter {
  width: 100%;
  height: 12px;
}

.county-strip,
.migration {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.county-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.county-list button,
.trust-actions a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  background: var(--panel-2);
  color: var(--muted);
  font-weight: 800;
}

.county-list button span {
  color: var(--accent-2);
  font-size: 0.78rem;
}

.county-list button.active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 26, 117, 0.16);
}

.county-empty {
  color: var(--muted);
  font-weight: 700;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1.25rem;
}

.trust-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.migration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.migration article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #0c0e14;
}

.migration article span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--warn);
  font-weight: 900;
}

.migration article p {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 820px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  main {
    width: min(100% - 1rem, 680px);
  }

  .announcement {
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .site-header {
    align-items: center;
    min-height: 64px;
    padding: 0.52rem 0.75rem;
  }

  .site-tools {
    gap: 0.35rem;
  }

  .brand img {
    width: min(176px, 56vw);
    max-height: 48px;
  }

  .menu-button {
    display: block;
    min-height: 2.25rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.82rem;
  }

  .menu {
    position: absolute;
    top: calc(100% - 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: min(70vh, 520px);
    padding: 0.6rem;
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  .site-search-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .menu a {
    padding: 0.72rem 0.75rem;
  }

  .menu.open {
    display: flex;
  }

  .hero {
    gap: 0.9rem;
    padding: 1.25rem 0 0.85rem;
  }

  .hero h1 {
    font-size: 2.3rem;
    line-height: 1;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .panel-stat {
    padding: 0.78rem;
  }

  .panel-stat strong {
    font-size: 1.45rem;
  }

  .weekly-spotlight-media {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero,
  .weekly-spotlight,
  .admin-token-form,
  .policy-layout,
  .newsletter-shell,
  .newsletter-test-form,
  .newsletter-admin-summary,
  .request-two-column,
  .toolbar,
  .destination-grid,
  .engagement-lane,
  .resource-grid,
  .resource-grid-featured,
  .sister-site-promo,
  .trust-panel,
  .migration-grid,
  .post-detail-card {
    grid-template-columns: 1fr;
  }

  .destination-grid,
  .engagement-lane {
    gap: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-updates-list {
    grid-template-columns: 1fr;
  }

  .site-update-image {
    aspect-ratio: 16 / 9;
  }

  .notification-panel-prominent {
    grid-template-columns: 1fr;
    align-items: stretch;
    margin-top: 0;
  }

  .daily-brief,
  .quick-actions,
  .notification-panel,
  .sister-site-promo,
  .engagement-lane article,
  .resources-panel,
  .trust-panel,
  .county-strip,
  .migration {
    padding: 0.9rem;
  }

  .lineup-grid {
    grid-template-columns: 1fr;
  }

  .sister-site-promo a {
    width: 100%;
  }

  .lineup-card:nth-child(1) {
    grid-row: auto;
  }

  .resource-hero {
    padding: 1.25rem 0 0.85rem;
  }

  .policy-nav {
    position: static;
  }

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

  .toolbar {
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .detail-media {
    min-height: 300px;
  }

  .sort-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .sort-controls button {
    min-height: 2.25rem;
    padding: 0.4rem 0.35rem;
    font-size: 0.74rem;
  }

  .post-body {
    padding: 0.85rem;
  }

  .post-body h3 {
    font-size: 0.98rem;
  }

  .charge {
    min-height: 0;
    margin-bottom: 0.75rem;
  }

  .stats {
    gap: 0.45rem 0.65rem;
    font-size: 0.78rem;
  }

  .post-actions {
    gap: 0.35rem;
    margin-top: 0.7rem;
  }

  .comment-open-button {
    min-height: 2rem;
    padding: 0.35rem 0.35rem;
    font-size: 0.76rem;
  }

  .reaction-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.45rem;
  }

  .reaction-picker button {
    padding: 0.45rem 0.25rem;
    font-size: 0.7rem;
  }

  .quick-comment-box,
  .comment-preview {
    gap: 0.5rem;
  }

  .quick-comment-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-comment-actions button {
    min-width: 0;
  }

  .comment-preview-byline,
  .comment-preview-actions,
  .preview-reply-prompt {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .comment-preview-actions button,
  .preview-reply-prompt button {
    min-height: auto;
  }

  .detail-copy {
    padding: 0.95rem;
  }

  .detail-copy h2 {
    font-size: 1.55rem;
  }

  .detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-actions .reaction-picker {
    grid-column: 1 / -1;
  }

  .local-post-summary {
    grid-template-columns: 1fr;
  }

  .post-link {
    min-height: 2.2rem;
    padding: 0.48rem 0.55rem;
    font-size: 0.78rem;
  }

  .comments-panel {
    padding: 0.9rem;
  }

  .comment-item {
    grid-template-columns: 1.9rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .comment-avatar {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.62rem;
  }

  .comment-bubble {
    max-width: 100%;
    padding: 0.62rem 0.68rem;
  }

  .comment-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.12rem;
  }

  .reply-list {
    margin-left: 0;
    padding-left: 0.55rem;
  }

  .reply-list .comment-item {
    grid-template-columns: 1.65rem minmax(0, 1fr);
  }

  .reply-list .comment-avatar {
    width: 1.65rem;
    height: 1.65rem;
  }

  .magic-link-form,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .comments-heading,
  .moderation-topline,
  .admin-section-heading,
  .panel-actions,
  .signed-in,
  .request-review-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .request-card-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.7rem;
  }

  .request-card-image {
    width: 72px;
  }

  .request-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-action {
    min-width: 0;
    padding-inline: 0.35rem;
  }

  .queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .queue-summary-card {
    padding: 0.7rem;
  }

  .queue-summary-card strong {
    font-size: 1.42rem;
  }

  .request-review-details {
    padding: 0.7rem;
  }

  .draft-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .site-update-form {
    grid-template-columns: 1fr;
  }

  .draft-filter-search,
  .draft-filter-panel button,
  .draft-filter-summary {
    grid-column: 1 / -1;
  }

  .comment-form button,
  .admin-token-form button {
    justify-self: stretch;
  }

  .moderation-badges {
    justify-content: flex-start;
  }

  .request-type-picker,
  .request-meta-grid,
  .request-edit-grid,
  .draft-health {
    grid-template-columns: 1fr;
  }

  .possible-match {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .possible-match img {
    width: 3.5rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  main {
    width: calc(100% - 0.75rem);
  }

  h1 {
    font-size: 1.95rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .sort-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .heat-list > button,
  .heat-list > span {
    grid-template-columns: 92px 62px minmax(0, 1fr);
  }

  .county-resource-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
