:root {
  --bg: #0d0f11;
  --bg-soft: #15181b;
  --panel: rgba(25, 29, 32, 0.92);
  --panel-strong: rgba(31, 35, 39, 0.96);
  --text: #eff4f8;
  --muted: #aeb7bf;
  --accent: #bef3c7;
  --accent-strong: #8fdaa1;
  --border: rgba(76, 84, 92, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(190, 243, 199, 0.05), transparent 18%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--bg-soft);
}

a {
  color: inherit;
}

.page-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.18;
  z-index: -1;
}

.page-glow-left {
  top: -8rem;
  left: -10rem;
  background: rgba(190, 243, 199, 0.45);
}

.page-glow-right {
  top: 10rem;
  right: -12rem;
  background: rgba(126, 229, 186, 0.18);
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(18, 21, 23, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(190, 243, 199, 0.18), rgba(143, 218, 161, 0.1));
  border: 1px solid rgba(190, 243, 199, 0.12);
  overflow: hidden;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.topbar-actions,
.hero-actions,
.hero-points,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  color: #111315;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 24px rgba(190, 243, 199, 0.16);
}

.ghost-button {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ghost-button:hover {
  border-color: rgba(190, 243, 199, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.large {
  min-height: 50px;
  padding: 0 24px;
}

.hero,
.feature-strip,
.info-section,
.process-section,
.cta-band {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero {
  padding: 34px;
  margin-bottom: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(190, 243, 199, 0.12), transparent 28%),
    var(--panel);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 30px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.cta-band h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1;
  font-weight: 700;
}

.hero-text {
  max-width: 37ch;
  margin: 16px 0 22px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1rem;
}

.hero-actions {
  gap: 16px;
  margin-bottom: 20px;
}

.hero-points {
  gap: 12px;
  margin-bottom: 10px;
}

.hero-points span,
.panel-mini-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 38rem;
  margin-top: 16px;
}

.hero-meta article {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-meta strong {
  font-size: 0.96rem;
}

.hero-meta span,
.mini-text,
.panel-label,
.panel-section p,
.feature-strip span,
.info-card p,
.process-card p,
.cta-text,
.footer,
.footer a {
  color: var(--muted);
}

.hero-meta span {
  font-size: 0.92rem;
  line-height: 1.55;
}

.panel-preview-wrap {
  padding: 18px;
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-chip,
.feature-index,
.info-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(190, 243, 199, 0.14);
}

.panel-preview {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 18, 20, 0.52);
}

.panel-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.panel-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-preview-header h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.panel-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(190, 243, 199, 0.18), rgba(143, 218, 161, 0.12));
  border: 1px solid rgba(190, 243, 199, 0.12);
}

.panel-avatar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.panel-copy {
  max-width: 30ch;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.93rem;
}

.panel-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-section p {
  margin: 0 0 12px;
  font-weight: 700;
}

.fake-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.97rem;
}

.panel-mini-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
  border-radius: 26px;
}

.feature-strip article,
.info-card,
.process-card {
  display: grid;
  gap: 8px;
}

.feature-strip article {
  align-content: start;
  grid-template-rows: auto auto 1fr;
}

.feature-strip strong,
.info-card h3,
.process-card h3 {
  font-size: 1rem;
  margin: 0;
}

.feature-strip span {
  font-size: 0.94rem;
  line-height: 1.55;
}

.info-section,
.process-section,
.cta-band {
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  max-width: 26ch;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.info-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-kicker {
  display: inline-block;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.info-card,
.process-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.info-card p,
.process-card p {
  margin: 0;
  line-height: 1.6;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: rgba(190, 243, 199, 0.14);
  color: var(--accent);
  font-weight: 800;
}

.cta-band {
  background:
    radial-gradient(circle at top right, rgba(190, 243, 199, 0.14), transparent 28%),
    var(--panel-strong);
}

.cta-centered {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.cta-band h2 {
  max-width: 14ch;
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  line-height: 1.02;
}

.cta-text {
  max-width: 34ch;
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero:hover,
.info-section:hover,
.process-section:hover,
.cta-band:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 243, 199, 0.14);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.panel-preview-wrap:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 243, 199, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 18px 40px rgba(0, 0, 0, 0.24);
}

.info-card:hover,
.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 243, 199, 0.16);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.legal-hero,
.legal-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: 32px;
  margin-bottom: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(190, 243, 199, 0.12), transparent 26%),
    var(--panel);
}

.legal-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-intro,
.legal-meta,
.legal-block p {
  color: var(--muted);
}

.legal-intro {
  max-width: 44rem;
  margin: 16px 0 10px;
  line-height: 1.72;
}

.legal-meta {
  margin: 0;
  font-size: 0.92rem;
}

.legal-card {
  padding: 26px;
  border-radius: 28px;
  display: grid;
  gap: 18px;
}

.legal-block {
  padding: 18px 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.legal-block h2 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.legal-block p {
  margin: 0;
  line-height: 1.72;
}

.legal-block p + p {
  margin-top: 10px;
}



.status-hero,
.status-grid,
.status-note {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.status-hero {
  padding: 32px;
  margin-bottom: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(190, 243, 199, 0.12), transparent 26%),
    var(--panel);
}

.status-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.status-intro,
.status-meta,
.status-card p,
.status-footer-row,
.status-note p {
  color: var(--muted);
}

.status-intro {
  max-width: 44rem;
  margin: 16px 0 18px;
  line-height: 1.72;
}

.stream-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.stream-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 0 0 rgba(174, 183, 191, 0.38);
}

.stream-indicator.is-live {
  color: #bef3c7;
}

.stream-indicator.is-live .stream-indicator-dot {
  background: #86efac;
  animation: statusPulse 1.8s ease-out infinite;
}

.stream-indicator.is-connecting {
  color: #fcd34d;
}

.stream-indicator.is-connecting .stream-indicator-dot {
  background: #fcd34d;
  animation: statusPulse 1.4s ease-out infinite;
}

.stream-indicator.is-offline {
  color: #fca5a5;
}

.stream-indicator.is-offline .stream-indicator-dot {
  background: #fca5a5;
  box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.28);
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(190, 243, 199, 0.34);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(190, 243, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(190, 243, 199, 0);
  }
}

.status-overview {
  display: grid;
  gap: 4px;
  padding: 18px 18px 19px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.status-overview strong {
  font-size: 1rem;
}

.status-overview .status-meta {
  font-size: 0.92rem;
}


.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  margin-bottom: 22px;
  border-radius: 28px;
}

.status-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.status-pill-live {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.status-card.is-operational .status-pill-live {
  background: rgba(134, 239, 172, 0.14);
  color: #bef3c7;
}

.status-card.is-degraded .status-pill-live {
  background: rgba(252, 211, 77, 0.14);
  color: #fcd34d;
}

.status-card.is-outage .status-pill-live {
  background: rgba(252, 165, 165, 0.14);
  color: #fca5a5;
}

.status-card.is-pending .status-pill-live {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.status-card h2 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.12;
}

.status-card p {
  margin: 0;
  line-height: 1.65;
}

.status-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.status-note {
  padding: 22px 24px;
  border-radius: 24px;
}

.status-note p {
  margin: 0;
  line-height: 1.7;
}

.status-note code {
  color: var(--accent);
}


.shard-summary-grid,
.shard-grid-shell {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.shard-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  margin-bottom: 22px;
  border-radius: 28px;
}

.shard-summary-card,
.shard-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.shard-summary-label,
.shard-label,
.shard-metrics span,
.shard-grid-note {
  color: var(--muted);
}

.shard-summary-label,
.shard-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shard-summary-card strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.shard-summary-card span:last-child {
  font-size: 0.92rem;
  line-height: 1.5;
}

.shard-grid-shell {
  padding: 26px;
  border-radius: 28px;
}

.shard-heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.shard-grid-note {
  margin: 0;
  max-width: 28ch;
  line-height: 1.6;
  text-align: right;
}

.shard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shard-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.shard-card-top h3 {
  margin: 6px 0 0;
  font-size: 1.04rem;
  line-height: 1.24;
}

.shard-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.shard-card.is-ready .shard-badge {
  background: rgba(134, 239, 172, 0.14);
  color: #bef3c7;
}

.shard-card.is-down .shard-badge {
  background: rgba(252, 211, 77, 0.14);
  color: #fcd34d;
}

.shard-card.is-pending .shard-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.shard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shard-metrics div {
  display: grid;
  gap: 4px;
}

.shard-metrics span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shard-metrics strong {
  font-size: 0.98rem;
}

@media (max-width: 1040px) {
  .site-shell {
    padding: 20px 20px 56px;
  }

  .hero-grid,
  .feature-strip,
  .info-grid,
  .process-grid,
  .status-grid,
  .shard-summary-grid,
  .shard-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .panel-preview-wrap {
    margin-top: 0;
    max-width: 100%;
  }

  .feature-strip,
  .info-section,
  .process-section,
  .cta-band,
  .legal-hero,
  .legal-card,
  .status-hero,
  .status-grid,
  .status-note,
  .shard-summary-grid,
  .shard-grid-shell {
    padding: 24px;
  }
}

@media (max-width: 840px) {
  .topbar {
    position: static;
    padding: 14px 16px;
    margin-bottom: 24px;
    border-radius: 18px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
  }

  .panel-preview-wrap {
    padding: 16px;
    border-radius: 20px;
  }

  .panel-preview {
    padding: 18px;
    border-radius: 18px;
  }

  .panel-preview-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-copy {
    max-width: none;
  }

  .section-heading h2,
  .legal-hero h1,
  .status-hero h1,
  .cta-band h2,
  .hero h1 {
    max-width: none;
  }

  .status-footer-row {
    flex-wrap: wrap;
  }

  .shard-heading-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .shard-grid-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page-glow {
    width: 24rem;
    height: 24rem;
    opacity: 0.12;
  }

  .site-shell {
    padding: 14px 14px 34px;
  }

  .topbar {
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    flex: 0 0 auto;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .topbar-actions,
  .hero-actions,
  .hero-points,
  .footer-links,
  .cta-actions {
    width: 100%;
  }

  .topbar-actions {
    width: auto;
    margin-left: auto;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .topbar-actions a {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .hero-actions a,
  .cta-actions a {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero {
    padding: 20px;
    margin-bottom: 18px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .hero-text {
    max-width: none;
    margin: 14px 0 18px;
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .hero-actions {
    margin-bottom: 14px;
  }

  .hero-points {
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-points span,
  .panel-mini-actions span {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.84rem;
  }

  .hero-meta {
    margin-top: 14px;
  }

  .hero-meta article {
    padding-top: 12px;
  }

  .hero-meta span {
    font-size: 0.9rem;
  }

  .hero-card-top {
    margin-bottom: 12px;
  }

  .mini-chip,
  .info-kicker,
  .feature-index {
    font-size: 0.74rem;
  }

  .mini-text {
    font-size: 0.88rem;
  }

  .panel-preview-header h2,
  .status-card h2 {
    font-size: 1.12rem;
  }

  .panel-avatar {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .panel-avatar img {
    width: 34px;
    height: 34px;
  }

  .fake-select {
    min-height: 48px;
    padding: 0 13px;
    font-size: 0.92rem;
  }

  .feature-strip,
  .info-section,
  .process-section,
  .cta-band,
  .legal-hero,
  .legal-card,
  .status-hero,
  .status-grid,
  .status-note,
  .shard-summary-grid,
  .shard-grid-shell {
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .feature-strip {
    gap: 14px;
  }

  .feature-strip article,
  .info-card,
  .process-card,
  .status-card,
  .legal-block {
    gap: 7px;
  }

  .info-card,
  .process-card,
  .status-card,
  .legal-block,
  .shard-summary-card,
  .shard-card {
    padding: 18px;
    border-radius: 18px;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 16px;
  }

  .section-heading h2,
  .cta-band h2,
  .legal-hero h1,
  .status-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    line-height: 1.04;
  }

  .cta-centered {
    gap: 12px;
  }

  .cta-text,
  .legal-intro,
  .status-intro,
  .legal-block p,
  .status-card p,
  .status-note p {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .status-overview {
    padding: 16px;
    border-radius: 16px;
  }

  .shard-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .status-footer-row {
    font-size: 0.84rem;
  }

  .footer {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .footer-links {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    padding: 12px 12px 28px;
  }

  .topbar {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .hero,
  .feature-strip,
  .info-section,
  .process-section,
  .cta-band,
  .legal-hero,
  .legal-card,
  .status-hero,
  .status-grid,
  .status-note,
  .shard-summary-grid,
  .shard-grid-shell {
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 10.5vw, 2.35rem);
  }

  .hero-text,
  .cta-text,
  .legal-intro,
  .status-intro {
    font-size: 0.92rem;
  }

  .topbar-actions {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
    flex-direction: column;
  }

  .topbar-actions a,
  .hero-actions a,
  .cta-actions a {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .panel-preview-wrap {
    padding: 14px;
  }

  .panel-preview,
  .info-card,
  .process-card,
  .status-card,
  .legal-block,
  .shard-summary-card,
  .shard-card {
    padding: 16px;
  }

  .panel-mini-actions {
    gap: 8px;
  }

  .status-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 720px) {
  .shard-summary-grid,
  .shard-grid {
    grid-template-columns: 1fr;
  }
}

.guide-list {
  margin: 12px 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.guide-list li {
  line-height: 1.7;
}

.legal-block code {
  padding: 0.14rem 0.42rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.92em;
}

.dashboard-shell {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 26px;
  border-radius: 28px;
  margin-bottom: 22px;
}

.dashboard-alert {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(252, 165, 165, 0.18);
  background: rgba(252, 165, 165, 0.08);
  color: #fca5a5;
  font-size: 0.9rem;
  font-weight: 600;
}

.dashboard-empty {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-empty-left {
  justify-items: start;
  text-align: left;
}

.dashboard-empty strong,
.dashboard-session-bar strong,
.guild-card h3,
.dashboard-info-card strong {
  font-size: 1.05rem;
}

.dashboard-note,
.dashboard-session-bar span,
.guild-card p,
.dashboard-info-card span {
  color: var(--muted);
}

.dashboard-inline-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.dashboard-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 18px;
}

.dashboard-user,
.guild-card-ident {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-user-avatar,
.guild-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(190, 243, 199, 0.16), rgba(143, 218, 161, 0.1));
  color: var(--accent);
  font-weight: 800;
}

.dashboard-user-meta {
  display: grid;
  gap: 4px;
}

.dashboard-user-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.4;
}

.dashboard-user-meta i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  display: inline-block;
  flex: 0 0 auto;
}
.dashboard-user-avatar img,
.guild-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guild-grid,
.dashboard-info-grid {
  display: grid;
  gap: 18px;
}

.guild-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guild-card,
.dashboard-info-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.guild-card {
  display: grid;
  gap: 14px;
}

.guild-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.guild-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guild-card h3,
.guild-card p,
.dashboard-info-card strong,
.dashboard-info-card span {
  margin: 0;
}

.dashboard-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.dashboard-info-card {
  display: grid;
  gap: 6px;
}

@media (max-width: 1040px) {
  .guild-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-shell {
    padding: 18px;
    border-radius: 22px;
    margin-bottom: 18px;
  }

  .dashboard-session-bar,
  .guild-card,
  .dashboard-info-card,
  .dashboard-empty {
    padding: 18px;
    border-radius: 18px;
  }

  .dashboard-session-bar,
  .guild-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .guild-card-actions {
    width: 100%;
  }

  .guild-card-actions .ghost-button,
  .guild-card-actions .primary-button {
    flex: 1;
  }

  .dashboard-info-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-hero {
  display: grid;
  gap: 16px;
}

.dashboard-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.05rem, 3vw, 2.95rem);
  line-height: 1.01;
}

.dashboard-hero .status-intro {
  max-width: 52rem;
  margin: 0;
}

.dashboard-alert[hidden] {
  display: none !important;
}

.dashboard-shell {
  padding: 22px;
}

.dashboard-empty {
  min-height: 220px;
  align-content: center;
}

.dashboard-empty strong {
  font-size: 1.15rem;
}

.dashboard-note {
  max-width: 46ch;
  margin: 0;
  line-height: 1.65;
}

.dashboard-session-bar {
  margin-bottom: 20px;
}

.guild-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.guild-card:hover {
  transform: translateY(-3px);
  border-color: rgba(190, 243, 199, 0.16);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .dashboard-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.05rem, 3vw, 2.95rem);
  line-height: 1.01;
}

  .dashboard-shell {
    padding: 18px;
  }

  .dashboard-empty {
    min-height: 0;
  }
}


.dashboard-form,
.dashboard-form-section,
.dashboard-form-grid,
.dashboard-toggle-grid {
  display: grid;
}

.dashboard-form {
  gap: 18px;
}

.dashboard-form-section {
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-form-heading {
  display: grid;
  gap: 4px;
}

.dashboard-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.dashboard-form label {
  display: grid;
  gap: 8px;
  align-content: start;
}

.dashboard-form label > span,
.dashboard-save-message,
.dashboard-toggle span {
  color: var(--muted);
}

.dashboard-form input[type="text"],
.dashboard-form input[type="number"],
.dashboard-form select {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.dashboard-form input:focus,
.dashboard-form select:focus {
  outline: none;
  border-color: rgba(190, 243, 199, 0.28);
  box-shadow: 0 0 0 3px rgba(190, 243, 199, 0.08);
}

.dashboard-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-check-row input,
.dashboard-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #bef3c7;
}

.dashboard-toggle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-save-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.dashboard-save-message {
  min-height: 24px;
  margin: 0;
}

@media (max-width: 840px) {
  .dashboard-form-grid,
  .dashboard-toggle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-form-section {
    padding: 18px;
    border-radius: 18px;
  }

  .dashboard-save-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

  .dashboard-save-row .primary-button {
    width: 100%;
  }
}

.dashboard-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.05rem, 3vw, 2.95rem);
  line-height: 1.01;
}

.dashboard-hero .status-intro {
  max-width: 52rem;
  margin: 0;
}

.dashboard-editor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
}

.dashboard-editor-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.dashboard-summary-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-summary-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-summary-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(190, 243, 199, 0.16), rgba(143, 218, 161, 0.1));
  color: var(--accent);
  font-weight: 800;
}

.dashboard-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-summary-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-summary-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
}

.dashboard-summary-badges,
.dashboard-summary-chip-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-summary-chip,
.dashboard-summary-empty {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.88rem;
}

.dashboard-summary-chip {
  color: var(--accent);
  background: rgba(190, 243, 199, 0.08);
}

.dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-mini-stat {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-mini-stat span,
.dashboard-mini-stat small {
  color: var(--muted);
}

.dashboard-mini-stat span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-mini-stat strong {
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-mini-stat small {
  font-size: 0.82rem;
  line-height: 1.45;
}

.dashboard-outputs-stack {
  display: grid;
  gap: 0;
}

.dashboard-outputs-stack > * + * {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-output-group {
  display: grid;
  gap: 14px;
}
.dashboard-form-section:hover,
.dashboard-summary-card:hover,
.dashboard-toggle:hover {
  border-color: rgba(190, 243, 199, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-form select,
.dashboard-form input[type="text"],
.dashboard-form input[type="number"] {
  width: 100%;
}

.dashboard-save-row .primary-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 1040px) {
  .dashboard-editor-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-editor-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .dashboard-mini-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-card,
  .dashboard-form-section {
    padding: 18px;
    border-radius: 18px;
  }
}

.dashboard-label-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-help-button,
.dashboard-help-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.dashboard-help-button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(190, 243, 199, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.dashboard-help-button:hover {
  background: rgba(190, 243, 199, 0.18);
}

.dashboard-help-popover[hidden] {
  display: none !important;
}

.dashboard-help-popover {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 9, 10, 0.55);
  backdrop-filter: blur(8px);
}

.dashboard-help-card {
  width: min(100%, 460px);
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 28, 31, 0.98);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.dashboard-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-help-header strong {
  font-size: 1.04rem;
}

.dashboard-help-close {
  width: 30px;
  height: 30px;
  padding: 0;
  line-height: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-help-close:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.dashboard-help-list {
  display: grid;
  gap: 10px;
}

.dashboard-help-list article,
.dashboard-help-example {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-help-list code,
.dashboard-help-example strong {
  color: var(--accent);
  font-family: inherit;
  font-weight: 700;
}

.dashboard-help-list span,
.dashboard-help-example span {
  color: var(--muted);
  line-height: 1.55;
}
.dashboard-native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-custom-select {
  position: relative;
}

.dashboard-custom-trigger {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.dashboard-custom-trigger:hover,
.dashboard-custom-select.is-open .dashboard-custom-trigger {
  border-color: rgba(190, 243, 199, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-custom-trigger-icon {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.dashboard-custom-trigger-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-custom-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 28, 31, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.dashboard-custom-select.is-open .dashboard-custom-menu {
  display: grid;
  gap: 6px;
}

.dashboard-custom-option {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dashboard-custom-option:hover,
.dashboard-custom-option.is-selected {
  background: rgba(190, 243, 199, 0.12);
  color: var(--accent);
}



.dashboard-switch-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-switch-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.dashboard-switch-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.dashboard-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}

.dashboard-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.dashboard-switch-slider {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 160ms ease, border-color 160ms ease;
}

.dashboard-switch-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f4f7fb;
  transition: transform 160ms ease, background 160ms ease;
}

.dashboard-switch input:checked + .dashboard-switch-slider {
  background: rgba(190, 243, 199, 0.22);
  border-color: rgba(190, 243, 199, 0.34);
}

.dashboard-switch input:checked + .dashboard-switch-slider::after {
  transform: translateX(20px);
  background: #bef3c7;
}









.dashboard-inline-warning {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(252, 211, 77, 0.18);
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
  line-height: 1.6;
}



.dashboard-session-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-session-actions .ghost-button[disabled] {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}



.dashboard-session-actions .ghost-button {
  min-width: 0;
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}



.admin-hero h1 {
  max-width: 12ch;
}

.admin-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-alert.is-success {
  border-color: rgba(134, 239, 172, 0.18);
  background: rgba(134, 239, 172, 0.08);
  color: #bef3c7;
}

.dashboard-alert.is-warning {
  border-color: rgba(252, 211, 77, 0.18);
  background: rgba(252, 211, 77, 0.08);
  color: #fcd34d;
}

.premium-hero h1 {
  max-width: 12ch;
}

.premium-shell {
  background:
    radial-gradient(circle at 18% 18%, rgba(190, 243, 199, 0.08), transparent 32%),
    var(--panel);
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.premium-plan-card,
.premium-checkout-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  overflow: visible;
}

.premium-plan-card {
  background:
    linear-gradient(150deg, rgba(190, 243, 199, 0.1), rgba(255, 255, 255, 0.025) 42%),
    rgba(255, 255, 255, 0.03);
}

.premium-plan-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.premium-plan-card h2 small {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.premium-plan-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.premium-plan-heading h2 {
  margin: 0;
}

.plan-sep {
  color: var(--accent);
  opacity: 0.5;
}

.plan-servers-label {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pf-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 182px;
  width: auto;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(190, 243, 199, 0.15);
  background: rgba(190, 243, 199, 0.07);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.pf-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(190, 243, 199, 0.4);
}

.premium-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

.premium-feature-list span.pf-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.12);
}

.premium-feature-list span.pf-tier::before {
  display: none;
}

.premium-feature-list span.pf-tier strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.pf-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 160px;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(190, 243, 199, 0.15);
  background: rgba(190, 243, 199, 0.07);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.pf-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(190, 243, 199, 0.4);
}

.premium-feature-list span.pf-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(190, 243, 199, 0.1);
  background: rgba(190, 243, 199, 0.05);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.8;
}

.premium-feature-list span.pf-note::before {
  display: none;
}

.premium-checkout-head,
.premium-message {
  display: grid;
  gap: 8px;
}

.premium-checkout-head strong,
.premium-message strong {
  font-size: 1.25rem;
}

.premium-server-select {
  display: grid;
  gap: 9px;
}

.premium-server-select .dashboard-custom-select {
  z-index: 50;
}

.premium-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.premium-tier-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.premium-tier-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 243, 199, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.premium-tier-card.is-selected {
  border-color: rgba(190, 243, 199, 0.36);
  background: rgba(190, 243, 199, 0.07);
  box-shadow: 0 0 0 1px rgba(190, 243, 199, 0.18), 0 10px 28px rgba(0, 0, 0, 0.2);
}

.premium-tier-card span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(190, 243, 199, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-tier-card strong {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.premium-tier-card small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: auto;
}

.premium-server-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.premium-server-head > div {
  display: grid;
  gap: 4px;
}

.premium-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid rgba(190, 243, 199, 0.14);
  background: rgba(190, 243, 199, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.premium-guild-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.premium-guild-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

.premium-guild-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.premium-guild-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.premium-guild-option strong,
.premium-guild-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-guild-option small {
  color: var(--muted);
}

.premium-server-select span {
  color: var(--muted);
  font-size: 0.94rem;
}

.premium-server-select select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 20, 22, 0.9);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.premium-server-select select:focus {
  border-color: rgba(190, 243, 199, 0.36);
  box-shadow: 0 0 0 4px rgba(190, 243, 199, 0.08);
}

.premium-price-strip {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.premium-price-strip strong {
  color: var(--accent);
  line-height: 1.2;
}

.premium-price-strip .status-meta {
  display: block;
  line-height: 1.45;
}

.premium-paypal-buttons {
  min-height: 52px;
}

@media (max-width: 820px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-tier-grid,
  .premium-guild-list {
    grid-template-columns: 1fr;
  }

  .premium-plan-card,
  .premium-checkout-card {
    padding: 20px;
    border-radius: 20px;
  }
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.admin-main-stack,
.admin-sidebar-stack {
  display: grid;
  gap: 22px;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-heading h2 {
  margin: 4px 0 0;
  font-size: 1.2rem;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-overview-card,
.admin-maintenance-card,
.admin-allowlist-entry,
.admin-result-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.admin-overview-card span,
.admin-maintenance-copy span,
.admin-maintenance-copy small,
.admin-allowlist-entry span,
.admin-result-card span,
.admin-guild-lines span,
.admin-guild-stats article span,
.admin-allowlist-note {
  color: var(--muted);
}

.admin-overview-card span,
.admin-guild-stats article span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-overview-card strong {
  font-size: 1.28rem;
  line-height: 1.05;
}

.admin-maintenance-card {
  gap: 16px;
}

.admin-maintenance-copy {
  display: grid;
  gap: 8px;
}

.admin-allowlist-form,
.admin-guild-form {
  display: grid;
  gap: 14px;
}

.admin-allowlist-form label,
.admin-guild-form label {
  display: grid;
  gap: 8px;
}

.admin-allowlist-form label > span,
.admin-guild-form label > span {
  color: var(--muted);
}

.admin-allowlist-form input,
.admin-guild-form input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.admin-allowlist-form input:focus,
.admin-guild-form input:focus {
  outline: none;
  border-color: rgba(190, 243, 199, 0.28);
  box-shadow: 0 0 0 3px rgba(190, 243, 199, 0.08);
}

.admin-inline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-guild-actions {
  display: grid;
  gap: 12px;
}

.admin-guild-actions-primary {
  display: flex;
  align-items: center;
}

.admin-guild-actions-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-guild-actions-primary .primary-button,
.admin-guild-actions-secondary .ghost-button {
  width: 100%;
}

.admin-inline-button {
  min-height: 38px;
  padding: 0 14px;
}

.admin-allowlist-list {
  display: grid;
  gap: 12px;
}

.admin-allowlist-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.admin-allowlist-entry strong {
  display: block;
  margin-bottom: 4px;
}

.admin-result-card {
  min-height: 160px;
  align-content: start;
}

.admin-guild-result-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.admin-guild-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-guild-stats article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.admin-guild-lines {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

@media (max-width: 1040px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-overview-grid,
  .admin-guild-stats {
    grid-template-columns: 1fr;
  }

  .admin-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-guild-actions-secondary {
    grid-template-columns: 1fr;
  }

  .admin-inline-actions .ghost-button,
  .admin-inline-actions .primary-button,
  .admin-allowlist-form .primary-button {
    width: 100%;
  }

  .admin-allowlist-entry {
    grid-template-columns: 1fr;
  }
}

.admin-guild-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-guild-title-row > i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  display: inline-block;
  flex: 0 0 auto;
}

.admin-guild-result-head .status-meta {
  display: inline-flex;
  align-items: center;
}

.dashboard-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.dashboard-form textarea:focus {
  outline: none;
  border-color: rgba(190, 243, 199, 0.28);
  box-shadow: 0 0 0 3px rgba(190, 243, 199, 0.08);
}

.dashboard-form-section {
  overflow: visible;
}

.dashboard-summary-chip.is-premium {
  color: #111315;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-color: rgba(190, 243, 199, 0.18);
}

.dashboard-premium-grid,
.dashboard-premium-uploads {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
}

.dashboard-premium-upload,
.dashboard-premium-locked-card {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-premium-preview {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-width: 180px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-premium-preview.is-banner {
  aspect-ratio: 16 / 6;
  max-width: 320px;
}

.dashboard-premium-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-premium-preview span {
  padding: 0 18px;
  color: var(--muted);
  text-align: center;
}

.dashboard-premium-upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-premium-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-premium-upload-actions .ghost-button,
.dashboard-premium-upload-actions .dashboard-file-button {
  min-width: 108px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.dashboard-file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dashboard-file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dashboard-premium-locked-card strong {
  font-size: 1rem;
}

.admin-guild-premium-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .dashboard-premium-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-premium-upload-actions .ghost-button,
.dashboard-premium-upload-actions .dashboard-file-button {
  min-width: 108px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

  .dashboard-premium-upload-actions .ghost-button,
  .dashboard-premium-upload-actions .dashboard-file-button {
    width: 100%;
  }
}





.dashboard-premium-upload-actions .ghost-button,
.dashboard-premium-upload-actions .dashboard-file-button {
  width: 140px;
  justify-content: center;
}

@media (max-width: 720px) {
  .dashboard-premium-upload-actions .ghost-button,
  .dashboard-premium-upload-actions .dashboard-file-button {
    width: 100%;
  }
}

.dashboard-premium-upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 140px));
  gap: 10px;
  justify-content: start;
}

.dashboard-premium-upload-actions .ghost-button,
.dashboard-premium-upload-actions .dashboard-file-button {
  width: 140px;
  min-width: 140px;
  min-height: 40px;
  padding: 0 16px;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}

.dashboard-premium-upload-actions button.ghost-button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.dashboard-premium-upload-actions button.ghost-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .dashboard-premium-upload-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-premium-upload-actions .ghost-button,
  .dashboard-premium-upload-actions .dashboard-file-button {
    width: 100%;
    min-width: 0;
  }
}


.dashboard-save-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.dashboard-save-message {
  min-height: 24px;
  margin: 0;
}

.dashboard-save-row .primary-button {
  justify-self: end;
}

@media (max-width: 720px) {
  .dashboard-save-row {
    grid-template-columns: 1fr;
  }

  .dashboard-save-row .primary-button {
    width: 100%;
    justify-self: stretch;
  }
}

.admin-guild-premium-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(190, 243, 199, 0.1);
  background:
    radial-gradient(circle at top right, rgba(190, 243, 199, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.admin-guild-premium-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-guild-premium-head > div {
  display: grid;
  gap: 4px;
}

.admin-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-guild-premium-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-guild-premium-details span {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .admin-guild-premium-head {
    align-items: stretch;
  }

  .admin-guild-premium-head .primary-button,
  .admin-guild-premium-head .ghost-button {
    width: 100%;
  }

  .admin-guild-premium-details {
    grid-template-columns: 1fr;
  }
}

.admin-guild-config-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.admin-guild-config-head {
  display: grid;
  gap: 4px;
}

.admin-guild-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-guild-config-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.08);
}

.admin-guild-config-grid article span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-guild-config-grid article strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .admin-guild-config-grid {
    grid-template-columns: 1fr;
  }
}

.admin-payments-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
  margin: 16px 0;
}

.admin-payments-search,
.admin-payments-limit {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-payments-search input,
.admin-payments-limit select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.admin-payments-search input:focus,
.admin-payments-limit select:focus {
  border-color: rgba(190, 243, 199, 0.36);
  box-shadow: 0 0 0 4px rgba(190, 243, 199, 0.08);
}

.admin-payments-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-payments-pagination[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .admin-payments-controls {
    grid-template-columns: 1fr;
  }

  .admin-payments-pagination {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-payments-limit input[type="hidden"] {
  display: none;
}

.admin-payments-limit-select {
  z-index: 45;
}

.admin-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.admin-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.admin-ops-panels {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.admin-ops-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.admin-ops-panel-head {
  display: grid;
  gap: 4px;
}

.admin-ops-alert-list {
  display: grid;
  gap: 10px;
}

.admin-ops-alert-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.08);
}

.admin-ops-alert-card span,
.admin-ops-alert-card small {
  color: var(--muted);
}

.admin-ops-shard-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-ops-shard-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-ops-shard-table th,
.admin-ops-shard-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.admin-ops-shard-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-result-card {
  width: min(100%, 440px);
}

.premium-result-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.premium-result-state span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.04);
}

.premium-result-state.is-success span {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(190, 243, 199, 0.12);
}

.premium-result-state.is-checking span,
.premium-result-state.is-cancelled span {
  background: #f5d85f;
  box-shadow: 0 0 0 5px rgba(245, 216, 95, 0.12);
}

.premium-result-state.is-failed span {
  background: #ff7b7b;
  box-shadow: 0 0 0 5px rgba(255, 123, 123, 0.12);
}

.premium-result-actions {
  margin-top: 2px;
}

@media (max-width: 720px) {
  .admin-ops-grid {
    grid-template-columns: 1fr;
  }

  .admin-ops-actions {
    flex-direction: column;
  }

  .admin-ops-actions .ghost-button,
  .admin-ops-actions .primary-button {
    width: 100%;
  }
}
