:root {
  --void: #07080c;
  --panel: #101218;
  --panel-2: #161922;
  --metal: #c8ced8;
  --metal-bright: #e8ecf2;
  --muted: #8b93a3;
  --line: rgba(200, 206, 216, 0.14);
  --line-strong: rgba(200, 206, 216, 0.28);
  --red: #ff2a2a;
  --red-hot: #ff5a4a;
  --red-dim: #9e0a0a;
  --red-glow: rgba(255, 42, 42, 0.45);
  /* Logo: piros neon + ezüst fém */
  --vt-red: #ff2a2a;
  --vt-red-hot: #ff5a4a;
  --vt-red-dim: #9e0a0a;
  --vt-red-glow: rgba(255, 42, 42, 0.45);
  --vt-frame: #2a2d33;
  --accept: #1faa6c;
  --accept-bg: rgba(31, 170, 108, 0.12);
  --reject: #e10600;
  --reject-bg: rgba(225, 6, 0, 0.12);
  --pending: #d4a017;
  --pending-bg: rgba(212, 160, 23, 0.12);
  --discord: #5865f2;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-ui: "Rajdhani", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  cursor: none;
}

html.native-cursor,
html.native-cursor * {
  cursor: auto;
}

html.native-cursor a,
html.native-cursor button,
html.native-cursor summary,
html.native-cursor .btn {
  cursor: pointer;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--metal-bright);
  background-color: var(--void);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 42, 42, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 40% at 80% 100%, rgba(255, 42, 42, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0d12 0%, var(--void) 40%, #050608 100%);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.65);
  z-index: 0;
}

p,
h1,
h2,
dl,
ol,
ul {
  margin: 0;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea,
a {
  font: inherit;
  cursor: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 6;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* —— custom cursor: animated circle + center dot —— */
.arp-cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 2147483646;
  opacity: 0;
  transition: opacity 120ms ease;
  will-change: transform;
}

.arp-cur.is-on {
  opacity: 1;
}

.arp-cur__ring,
.arp-cur__pulse,
.arp-cur__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.arp-cur__ring {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 42, 42, 0.9);
  box-shadow:
    0 0 10px rgba(255, 42, 42, 0.45),
    inset 0 0 8px rgba(255, 42, 42, 0.18);
  animation: none;
  transition:
    width 160ms ease,
    height 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.arp-cur__pulse {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 42, 42, 0.55);
  animation: none;
  opacity: 0.55;
}

.arp-cur__dot {
  width: 5px;
  height: 5px;
  background: #fff;
  box-shadow:
    0 0 0 1.5px rgba(255, 42, 42, 0.95),
    0 0 10px rgba(255, 42, 42, 0.85);
  animation: none;
  transition: width 140ms ease, height 140ms ease, background 140ms ease;
}

.arp-cur.is-hover .arp-cur__ring {
  width: 36px;
  height: 36px;
  border-color: #ff5a4a;
  box-shadow:
    0 0 16px rgba(255, 42, 42, 0.7),
    inset 0 0 10px rgba(255, 42, 42, 0.28);
  animation-duration: 1s;
}

.arp-cur.is-hover .arp-cur__pulse {
  width: 36px;
  height: 36px;
  animation-duration: 1.1s;
}

.arp-cur.is-hover .arp-cur__dot {
  width: 6px;
  height: 6px;
  background: #ff5a4a;
}

.arp-cur.is-down .arp-cur__ring {
  width: 22px;
  height: 22px;
  animation: none;
}

.arp-cur.is-down .arp-cur__pulse {
  opacity: 0;
  animation: none;
}

.arp-cur.is-down .arp-cur__dot {
  width: 7px;
  height: 7px;
  background: #ff5a4a;
}

@keyframes arp-ring-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes arp-ring-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
}

@keyframes arp-dot-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1.5px rgba(255, 42, 42, 0.95),
      0 0 8px rgba(255, 42, 42, 0.65);
  }
  50% {
    box-shadow:
      0 0 0 1.5px rgba(255, 42, 42, 1),
      0 0 14px rgba(255, 42, 42, 0.95);
  }
}


@media (pointer: coarse) {
  html,
  body,
  a,
  button,
  input,
  select,
  textarea {
    cursor: auto;
  }
  .arp-cur {
    display: none !important;
  }
}

/* —— layout —— */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vh, 48px) 20px 40px;
}

.sheet {
  width: min(780px, 100%);
  margin: 0 auto;
}

.sheet-wide {
  width: min(940px, 100%);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 28px;
  padding: 10px 12px;
  background: rgba(16, 18, 24, 0.82);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(22, 25, 34, 0.95);
  color: var(--metal-bright);
  flex-shrink: 0;
}

.nav-backdrop {
  display: none;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 200ms ease, opacity 160ms ease;
  transform-origin: center;
}

.topbar.is-nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar.is-nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.topbar.is-nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.top-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-hot), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.22, 0.8, 0.2, 1);
  opacity: 0.85;
}

.top-nav a:hover {
  color: var(--metal-bright);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

.top-nav a.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--vt-red), var(--vt-red-dim));
  border-color: var(--vt-red);
  box-shadow: 0 0 18px var(--vt-red-glow);
  text-shadow: none;
}

.top-nav a.is-active::after {
  display: none;
}

.account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-name {
  color: var(--metal);
  font-size: 15px;
  font-weight: 600;
}

.notif-wrap {
  position: relative;
  z-index: 40;
}

.notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(22, 25, 34, 0.95);
  color: var(--metal);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.notif-btn svg {
  width: 18px;
  height: 18px;
}

.notif-btn:hover,
.notif-wrap.is-open .notif-btn {
  color: #fff;
  border-color: var(--red);
  background: rgba(255, 42, 42, 0.18);
  box-shadow: 0 0 14px rgba(255, 42, 42, 0.28);
}

.notif-wrap.has-unread .notif-btn {
  animation: notif-pulse 1.8s ease-in-out infinite;
}

@keyframes notif-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 42, 42, 0);
  }
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red-hot);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 42, 42, 0.55);
}

.notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 28px));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  background: rgba(12, 14, 20, 0.98);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.22, 0.8, 0.2, 1),
    visibility 180ms ease;
  overflow: hidden;
}

.notif-wrap.is-open .notif-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.notif-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal-bright);
}

.notif-mark-all {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 2px 0;
  transition: color 160ms ease;
}

.notif-mark-all:hover {
  color: var(--red-hot);
}

.notif-list {
  overflow-y: auto;
  flex: 1;
}

.notif-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.notif-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  transition: background 160ms ease;
}

.notif-item:hover {
  background: rgba(255, 42, 42, 0.08);
}

.notif-item.is-unread {
  background: rgba(255, 42, 42, 0.1);
  box-shadow: inset 3px 0 0 var(--red);
}

.notif-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.notif-item-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--metal-bright);
}

.notif-item-time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.notif-item-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.avatar {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border: 1px solid var(--red-dim);
  box-shadow: 0 0 10px rgba(255, 42, 42, 0.35);
}

.masthead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  align-items: center;
  margin-top: 8px;
}

.seal {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 50%;
  border: 2px solid var(--vt-red);
  box-shadow:
    0 0 0 4px var(--vt-frame),
    0 0 0 5px rgba(255, 42, 42, 0.28),
    0 0 28px var(--vt-red-glow);
  background: #050608;
}

.page-admin .seal {
  width: 72px;
  height: 72px;
}

.hero-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 18px 0 6px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 40px rgba(255, 42, 42, 0.25);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--red-glow);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--metal-bright);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 24px rgba(255, 42, 42, 0.25);
}

.page-admin h1 {
  font-size: clamp(28px, 5vw, 40px);
}

.subbrand {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.lead {
  margin-top: 18px;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.45;
  color: var(--metal);
}

.server-status {
  margin-top: 20px;
  padding: 16px 18px 18px;
  background:
    linear-gradient(120deg, rgba(255, 42, 42, 0.14), transparent 46%),
    var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

/* —— Shared app chrome (same polish as status) —— */
.page-app,
.page-status {
  overflow-x: hidden;
}

.bc-shell--wide {
  width: min(980px, calc(100% - 32px));
}

.panel-card {
  margin-top: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 42, 42, 0.06), transparent 30%),
    rgba(16, 18, 24, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.panel-card--center {
  text-align: center;
}

.panel-card--center .btn {
  margin-top: 8px;
}

.panel-card .gate-lead {
  margin-bottom: 16px;
}

.page-status .topbar,
.page-home .topbar,
.page-apply .topbar,
.page-app .topbar {
  background: rgba(16, 18, 24, 0.88);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow);
  padding: 10px 12px;
}

.page-apply .bc-shell--apply {
  width: min(720px, calc(100% - 28px));
}

.page-apply #apply-panel,
.page-apply #apply-gate,
.page-apply #apply-success {
  margin-top: 14px;
}

.panel-card--apply {
  padding: 14px 14px 12px;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.apply-steps__btn {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.55);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: none;
}

.apply-steps__btn.is-active {
  color: #fff;
  border-color: var(--vt-red);
  background: linear-gradient(180deg, var(--vt-red), var(--vt-red-dim));
}

.apply-steps__btn.is-done:not(.is-active) {
  color: var(--metal-bright);
  border-color: rgba(255, 255, 255, 0.22);
}

.apply-step-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.apply-page[hidden] {
  display: none !important;
}

.apply-nav {
  gap: 8px;
}

.page-apply .form-block {
  margin-bottom: 0;
  padding: 14px 12px 12px;
}

.page-apply .field,
.page-apply .field-row {
  margin-top: 10px;
}

.page-apply input[type="text"],
.page-apply input[type="number"],
.page-apply textarea {
  min-height: 40px;
  padding: 9px 11px;
  font-size: 14px;
}

.page-apply textarea {
  min-height: 84px;
}

@media (max-width: 700px) {
  .apply-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-admin #admin-desk,
.page-admin #admin-gate,
.page-settings #settings-desk,
.page-settings #settings-gate {
  margin-top: 20px;
}

.panel-card--compact {
  margin-top: 0;
  padding: 8px 12px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  min-height: 0;
}

.admin-toolbar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal-bright);
}

.admin-toolbar__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
}

.admin-toolbar__filter select {
  min-height: 30px;
  min-width: 140px;
  padding: 4px 10px;
  font-size: 13px;
}

.page-admin .admin-empty {
  margin: 10px 0 0;
  font-size: 14px;
}

.page-admin .records {
  margin-top: 8px;
  padding: 0 2px;
}

.page-admin .record {
  padding: 10px 0;
}

.apply-switch-card.panel-card--compact {
  padding: 8px 12px;
}

.apply-switch-card.panel-card--compact .apply-switch__text h2 {
  font-size: 13px;
  font-weight: 600;
}

.apply-switch-card.panel-card--compact .apply-switch__text p {
  margin-top: 2px;
  font-size: 13px;
}

.settings-hint {
  margin: 8px 0 0;
  font-size: 13px;
}

.settings-page-head {
  margin: 6px 0 14px;
}

.settings-page-head .bc-chart-card__title {
  margin: 0;
}

.until-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.until-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
  margin: 0;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.until-field input[type="datetime-local"] {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 14px;
  color-scheme: dark;
}

.until-hint {
  flex: 1 1 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.page-status .dossier,
.page-home .dossier {
  animation: rise 420ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.bc-hero--compact {
  min-height: auto;
  padding: clamp(28px, 6vh, 48px) 16px 18px;
}

.bc-hero--compact .bc-hero__logo {
  width: 100px;
  height: 100px;
}

.home-board {
  margin-top: 18px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 42, 42, 0.05), transparent 28%),
    rgba(16, 18, 24, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.home-board__head {
  margin-bottom: 14px;
}

.home-board__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-board__head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.home-board .home-cta {
  margin-top: 8px;
}

/* —— Status landing (Black City layout + Algorithm motion) —— */

.bc-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%);
  /* Statikus — a folyamatos drift lagolt */
  animation: none;
}

.bc-orb,
.bc-scan {
  display: none !important;
}

.page-status .bc-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  min-height: 100dvh;
  box-sizing: border-box;
}

.page-status .bc-topbar {
  margin-bottom: 6px;
}

.page-status:not(.page-home):not(.page-admin) .bc-shell {
  padding-top: 12px;
}

.page-status:not(.page-home):not(.page-admin) .bc-topbar {
  margin-bottom: 18px;
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 4px;
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat {
  padding: 14px 12px 12px;
  transform: none !important;
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat:hover {
  transform: none !important;
  border-color: rgba(255, 42, 42, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat.is-in {
  transform: none !important;
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat__num {
  font-size: clamp(26px, 4vw, 34px);
  text-shadow: 0 0 12px var(--red-glow);
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat__label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-live-dot {
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
}

.page-status:not(.page-home):not(.page-admin) .bc-divider {
  margin: 16px 0 10px;
}

.page-status:not(.page-home):not(.page-admin) .bc-chart-card {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms cubic-bezier(0.22, 0.8, 0.2, 1),
    transform 520ms cubic-bezier(0.22, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-reveal="left"] {
  transform: translateX(-28px) scale(0.98);
}

.reveal[data-reveal="right"] {
  transform: translateX(28px) scale(0.98);
}

.reveal[data-reveal="zoom"] {
  transform: scale(0.86);
}

.reveal.is-in,
.reveal[data-reveal="left"].is-in,
.reveal[data-reveal="right"].is-in,
.reveal[data-reveal="zoom"].is-in {
  opacity: 1;
  transform: none;
}

.bc-hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 10vh, 96px) 16px 36px;
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bc-hero::before {
  display: none;
}

.bc-hero__glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(560px, 96vw);
  height: 420px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 42, 42, 0.22), transparent 62%),
    radial-gradient(ellipse at 50% 55%, rgba(255, 42, 42, 0.16), transparent 72%);
  pointer-events: none;
  animation: none;
}

.bc-hero__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin: 0 auto 8px;
  flex-shrink: 0;
}

.bc-hero__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 42, 42, 0.35);
  pointer-events: none;
  animation: bc-spin 22s linear infinite;
  will-change: transform;
}

.bc-hero__ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--vt-red);
  box-shadow: 0 0 14px var(--vt-red-glow);
}

.bc-hero__ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 42, 0.18);
  animation: none;
}

.bc-hero__logo {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  border: 2px solid var(--vt-red);
  box-shadow:
    0 0 0 6px var(--vt-frame),
    0 0 0 8px rgba(255, 42, 42, 0.35),
    0 0 42px var(--vt-red-glow);
  margin: 0;
  display: block;
}

.bc-hero__mark.is-in .bc-hero__logo {
  animation:
    bc-logo-pop 900ms cubic-bezier(0.22, 0.8, 0.2, 1) both,
    bc-logo-breathe 3.4s ease-in-out 900ms infinite;
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vt-red-hot);
  text-shadow: 0 0 12px var(--vt-red-glow);
}

.page-home .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vt-red);
  box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.55);
  animation: bc-live-green 1.8s ease-out infinite;
}

.bc-hero__title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 78px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}

.bc-title-word {
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 42, 42, 0.35);
  animation: none;
}

.bc-hero__tag {
  position: relative;
  max-width: 34em;
  margin: 16px auto 0;
  color: var(--metal);
  font-size: 18px;
  line-height: 1.5;
}

.bc-hero__cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.bc-hero__cta .btn {
  transition:
    transform 220ms cubic-bezier(0.22, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.bc-hero__cta .btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-pulse {
  animation: none;
}

.bc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 28px;
}

.bc-stat {
  position: relative;
  text-align: center;
  padding: 22px 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), rgba(16, 18, 24, 0.78);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.22, 0.8, 0.2, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.bc-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.bc-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.bc-stat.is-in::after {
  animation: bc-stat-shine 1.2s ease 0.35s both;
}

.bc-stat:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 42, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.bc-stat:hover::before {
  opacity: 1;
}

.bc-stat--accent {
  border-color: rgba(255, 42, 42, 0.5);
  box-shadow: 0 0 34px rgba(255, 42, 42, 0.14);
  animation: none;
}

.bc-live-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8b93a3;
  box-shadow: 0 0 0 0 rgba(31, 170, 108, 0.5);
}

.is-server-online .bc-live-dot {
  background: #1faa6c;
  animation: bc-live 1.6s ease-out infinite;
}

.bc-stat__num {
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 0 18px var(--red-glow);
  transition: text-shadow 300ms ease, transform 300ms ease;
}

.bc-stat.is-in .bc-stat__num {
  animation: none;
}

.bc-stat__label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bc-divider {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}

.bc-divider span {
  width: 11px;
  height: 11px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--red-glow);
  animation: none;
}

/* Háttérfül: szüneteltessük az animációkat */
html.is-page-hidden .bc-hero__ring,
html.is-page-hidden .bc-hero__mark.is-in .bc-hero__logo,
html.is-page-hidden .arp-cur,
html.is-page-hidden .arp-cur__ring,
html.is-page-hidden .arp-cur__pulse,
html.is-page-hidden .arp-cur__dot,
html.is-page-hidden .bc-live-dot,
html.is-page-hidden .page-home .eyebrow::before {
  animation-play-state: paused !important;
}

.bc-chart-card {
  margin-top: 18px;
  padding: 20px 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 42, 42, 0.06), transparent 28%),
    rgba(16, 18, 24, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
  overflow: hidden;
  box-sizing: border-box;
}

.bc-chart-card.is-in {
  animation: bc-card-settle 900ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.bc-chart-card:hover {
  border-color: rgba(255, 42, 42, 0.45);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 0 28px rgba(255, 42, 42, 0.12);
}

.bc-chart-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bc-chart-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bc-chart-card__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.bc-range {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--void);
  overflow: hidden;
}

.bc-range__btn {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  transition: background 160ms ease, color 160ms ease;
}

.bc-range__btn.is-active,
.bc-range__btn:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--vt-red), var(--vt-red-dim));
}

.bc-chart-wrap {
  position: relative;
  width: 100%;
  min-height: 360px;
}

.bc-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 360px;
}

.bc-tooltip {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -120%);
  padding: 6px 10px;
  background: rgba(7, 8, 12, 0.92);
  border: 1px solid rgba(255, 42, 42, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.bc-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.bc-chart-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.bc-chart-meta__slots {
  color: var(--metal);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-team-only .bc-team {
  margin-top: 14px;
  flex: 1 0 auto;
}

.bc-team {
  margin-top: 14px;
  margin-bottom: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bc-team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.bc-team__groups {
  display: grid;
  gap: 16px;
}

.bc-team__rank-title {
  margin: 0 0 8px;
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bc-team__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}

.bc-team__member {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  background: rgba(16, 18, 24, 0.88);
  border: 1px solid var(--line);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.bc-team__member:hover {
  border-color: rgba(255, 42, 42, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.bc-team__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.bc-team__avatar {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 42, 42, 0.55);
  box-shadow: 0 0 10px rgba(255, 42, 42, 0.22);
}

.bc-team__avatar--empty {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
}

.bc-team__status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #101218;
  background: #6b7280;
}

.bc-team__status--online {
  background: #23a559;
  box-shadow: 0 0 8px rgba(35, 165, 89, 0.65);
}

.bc-team__status--idle {
  background: #f0b232;
}

.bc-team__status--idle-icon {
  background:
    radial-gradient(circle at 65% 35%, #101218 0 45%, transparent 46%),
    #f0b232;
}

.bc-team__status--dnd {
  background: #f23f43;
}

.bc-team__status--dnd-icon {
  background:
    linear-gradient(#101218, #101218) center / 7px 2px no-repeat,
    #f23f43;
}

.bc-team__status--offline {
  background: #80848e;
}

.bc-team__meta {
  min-width: 0;
}

.bc-team__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-team__avail {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bc-team__avail.is-on {
  color: #23a559;
}

.bc-team__avail--idle.is-on {
  color: #f0b232;
}

.bc-team__avail--dnd.is-on {
  color: #f23f43;
}

.bc-team__avail--offline {
  color: var(--muted);
}

.bc-team__member.is-away {
  opacity: 0.72;
}

.bc-team__empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.bc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.bc-card {
  position: relative;
  display: block;
  padding: 22px 18px 18px;
  background: rgba(16, 18, 24, 0.88);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bc-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 42, 42, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.bc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 42, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(255, 42, 42, 0.16);
}

.bc-card:hover::after {
  opacity: 1;
}

.bc-card__idx {
  display: block;
  margin-bottom: 10px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.bc-card h3 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--metal-bright);
}

.bc-card p {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.bc-foot {
  margin-top: auto;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.bc-foot .foot-note {
  max-width: none;
}

.foot-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.foot-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 14, 20, 0.85);
  color: var(--metal-bright);
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  animation: bc-social-in 520ms cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
  animation-delay: var(--social-delay, 0ms);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.foot-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.foot-social:hover {
  border-color: rgba(255, 42, 42, 0.65);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 42, 42, 0.28);
  transform: translateY(-2px);
}

.foot-social.is-pending {
  opacity: 0.55;
}

.foot-social.is-pending:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transform: none;
  color: var(--metal-bright);
}

@keyframes bc-grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(56px);
  }
}

@keyframes bc-orb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.08);
  }
}

@keyframes bc-scan-sweep {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

@keyframes bc-hero-line {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.25;
  }
  50% {
    transform: translateX(8%);
    opacity: 0.75;
  }
}

@keyframes bc-glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes bc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bc-logo-pop {
  0% {
    transform: scale(0.72) rotate(-8deg);
    filter: blur(4px);
  }
  60% {
    transform: scale(1.06) rotate(2deg);
    filter: blur(0);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes bc-logo-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 8px rgba(7, 8, 12, 0.65),
      0 0 40px rgba(255, 42, 42, 0.45);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 8px rgba(7, 8, 12, 0.65),
      0 0 60px rgba(255, 42, 42, 0.65);
  }
}

@keyframes bc-title-shine {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(255, 42, 42, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(255, 42, 42, 0.55));
  }
}

@keyframes bc-title-sweep {
  0%,
  100% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
}

@keyframes bc-btn-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 42, 42, 0.35);
  }
  50% {
    box-shadow: 0 0 34px rgba(255, 42, 42, 0.7);
  }
}

@keyframes bc-live {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 170, 108, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(31, 170, 108, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 170, 108, 0);
  }
}

@keyframes bc-live-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 42, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0);
  }
}

@keyframes bc-live-green {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 42, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0);
  }
}

@keyframes bc-diamond {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(1.2);
  }
}

@keyframes bc-stat-shine {
  0% {
    left: -40%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes bc-stat-glow {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(255, 42, 42, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.22);
  }
}

@keyframes bc-num-pulse {
  0%,
  100% {
    text-shadow: 0 0 16px var(--red-glow);
  }
  50% {
    text-shadow: 0 0 28px rgba(255, 42, 42, 0.75);
  }
}

@keyframes bc-card-settle {
  from {
    transform: translateY(16px);
  }
  to {
    transform: none;
  }
}

@keyframes bc-social-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px) {
  .bc-stats,
  .bc-cards {
    grid-template-columns: 1fr;
  }

  .bc-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .bc-chart-wrap,
  .bc-chart-wrap canvas {
    min-height: 280px;
    height: 280px;
  }
}

/* —— Telefon / keskeny képernyő —— */
@media (max-width: 760px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .arp-cur {
    display: none !important;
  }

  html,
  body,
  a,
  button,
  input,
  select,
  textarea {
    cursor: auto;
  }

  .bc-shell,
  .bc-shell--wide,
  .page-status .bc-shell,
  .page-home .bc-shell,
  .page-app .bc-shell,
  .sheet,
  .sheet-wide {
    width: calc(100% - 16px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .stage {
    padding: 16px 12px calc(28px + env(safe-area-inset-bottom, 0));
  }

  .topbar,
  .page-status .topbar,
  .page-home .topbar,
  .page-apply .topbar,
  .page-app .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(7, 8, 12, 0.55);
    border: 1px solid rgba(200, 206, 216, 0.1);
    border-top: 2px solid var(--red);
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }

  .nav-toggle {
    display: inline-flex;
    order: 0;
  }

  .account {
    order: 2;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .account .avatar {
    display: block;
    flex-shrink: 0;
  }

  .account-name {
    display: none;
  }

  .account .btn-small {
    padding: 7px 10px;
    font-size: 12px;
  }

  .top-nav {
    display: none;
    position: absolute;
    left: -1px;
    right: -1px;
    top: 100%;
    order: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 8px;
    background: rgba(10, 12, 18, 0.97);
    border: 1px solid rgba(200, 206, 216, 0.1);
    border-top: 1px solid rgba(200, 206, 216, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    z-index: 60;
  }

  .topbar.is-nav-open {
    border-bottom-color: transparent;
    border-radius: 0;
  }

  .topbar.is-nav-open .top-nav {
    display: flex;
  }

  .top-nav a {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    letter-spacing: 0.1em;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
  }

  .top-nav a.is-active {
    box-shadow: none;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-backdrop {
    display: block;
  }

  /* Sticky sáv ne vágjon éles csíkot a háttérbe */
  .page-status .bc-shell {
    background: transparent;
  }

  .notif-panel {
    right: -8px;
    width: min(320px, calc(100vw - 24px));
    max-height: min(60vh, 380px);
  }

  .bc-hero {
    margin-top: 0;
    min-height: auto;
    padding: 28px 8px 24px;
  }

  .bc-hero__mark {
    width: min(240px, 72vw);
    height: min(240px, 72vw);
  }

  .bc-hero__logo {
    width: 96px;
    height: 96px;
  }

  .bc-hero__title {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: 0.08em;
  }

  .bc-hero__tag {
    font-size: 15px;
    margin-top: 12px;
    padding: 0 4px;
  }

  .bc-hero__cta {
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin-top: 20px;
    box-sizing: border-box;
  }

  .bc-hero__cta .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .bc-stats,
  .page-home .bc-stats,
  .page-status .bc-stats--status,
  .page-status:not(.page-home):not(.page-admin) .bc-stats--status {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }

  .bc-stat,
  .bc-stats .bc-stat,
  .page-status:not(.page-home):not(.page-admin) .bc-stats--status .bc-stat {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px 12px 14px;
    transform: none !important;
    justify-self: stretch;
  }

  .bc-stat__num {
    font-size: clamp(28px, 9vw, 36px);
  }

  .bc-chart-card {
    padding: 14px 12px 16px;
  }

  .bc-chart-card__head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bc-chart-card__title {
    font-size: 16px;
  }

  .bc-range {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .bc-range__btn {
    width: 100%;
    text-align: center;
    padding: 10px 6px;
  }

  .bc-chart-wrap,
  .bc-chart-wrap canvas {
    min-height: 240px;
    height: 240px;
  }

  .bc-chart-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bc-team__list {
    grid-template-columns: 1fr;
  }

  .bc-team__member {
    padding: 12px;
  }

  .site-foot,
  .bc-foot,
  .site-foot.bc-foot {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .foot-socials {
    justify-content: center;
    width: 100%;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar__filter {
    width: 100%;
    justify-content: space-between;
  }

  .admin-toolbar__filter select {
    flex: 1;
    min-width: 0;
  }

  .panel-card {
    padding: 16px 14px;
  }

  .apply-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .bc-stats {
    grid-template-columns: 1fr;
  }

  .apply-steps {
    grid-template-columns: 1fr;
  }

  .account .avatar {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-grid,
  .bc-orb,
  .bc-scan,
  .bc-hero::before,
  .bc-hero__glow,
  .bc-hero__ring,
  .bc-hero__ring::after,
  .bc-hero__logo,
  .bc-hero__mark.is-in .bc-hero__logo,
  .bc-title-word,
  .btn-pulse,
  .bc-live-dot,
  .page-home .eyebrow::before,
  .bc-divider span,
  .bc-stat--accent,
  .bc-stat.is-in .bc-stat__num,
  .bc-stat.is-in::after,
  .bc-chart-card.is-in,
  .foot-social {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .foot-social {
    opacity: 1;
    transform: none;
  }
}

.server-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.server-status__label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-status__badge {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.server-status__badge.is-loading {
  color: var(--pending);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.35);
  animation: status-blink 1s ease-in-out infinite;
}

.server-status__badge.is-online {
  color: #fff;
  background: var(--vt-red);
  border-color: var(--vt-red);
  box-shadow: 0 0 14px var(--vt-red-glow);
}

.server-status__badge.is-offline,
.server-status__badge.is-unknown {
  color: var(--muted);
  background: transparent;
  border-color: rgba(139, 147, 163, 0.55);
  box-shadow: none;
}

.server-status__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  align-items: center;
}

.server-status__chart {
  position: relative;
  width: 120px;
  height: 120px;
  flex: none;
}

.server-status__gauge {
  display: block;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 10px rgba(255, 42, 42, 0.35));
}

.server-status__track,
.server-status__arc {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.server-status__track {
  stroke: rgba(200, 206, 216, 0.12);
}

.server-status__arc {
  stroke: url(#none);
  stroke: #ff5a4a;
  stroke-dasharray: 301.59;
  stroke-dashoffset: 301.59;
  transition: stroke-dashoffset 700ms cubic-bezier(0.22, 0.8, 0.2, 1), stroke 300ms ease;
}

.server-status__arc.is-online {
  stroke: #1faa6c;
  filter: drop-shadow(0 0 6px rgba(31, 170, 108, 0.65));
}

.server-status__arc.is-busy {
  stroke: #ff5a4a;
  filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.65));
}

.server-status__arc.is-offline {
  stroke: #8b93a3;
  filter: none;
}

.server-status__chart-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.server-status__pct {
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.server-status__pct-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-status__text {
  color: var(--metal-bright);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.server-status__bars {
  margin-top: 12px;
}

.server-status__bar-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.server-status__bar-top span:last-child {
  color: var(--red-hot);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.server-status__bar {
  height: 10px;
  background: rgba(200, 206, 216, 0.1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.server-status__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9e0a0a, #ff5a4a);
  box-shadow: 0 0 12px rgba(255, 42, 42, 0.55);
  transition: width 700ms cubic-bezier(0.22, 0.8, 0.2, 1), background 300ms ease;
}

.server-status__fill.is-online {
  background: linear-gradient(90deg, #0f6b45, #1faa6c);
  box-shadow: 0 0 12px rgba(31, 170, 108, 0.45);
}

.server-status__kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.server-status__kpi-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.server-status__kpi-value {
  margin-top: 2px;
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.server-status__actions {
  margin-top: 14px;
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .server-status__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .server-status__stats {
    width: 100%;
  }

  .server-status__bar-top {
    justify-content: center;
    gap: 16px;
  }

  .server-status__actions .btn {
    width: 100%;
  }
}

.lead-inline {
  margin-bottom: 14px;
  color: var(--metal);
  font-size: 17px;
}

.flash {
  margin-top: 16px;
  padding: 12px 14px;
  color: #ffc9c6;
  background: var(--reject-bg);
  border: 1px solid rgba(255, 42, 42, 0.45);
  border-left: 3px solid var(--red);
  font-size: 15px;
}

.flash-warn {
  color: #ffe3a3;
  background: var(--pending-bg);
  border-color: rgba(212, 160, 23, 0.45);
  border-left-color: var(--pending);
}

.flash--home {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-cta,
.cta-row {
  margin-top: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row.after-result {
  margin-top: 16px;
}

.panel,
.search-panel {
  margin-top: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 42, 42, 0.06), transparent 28%),
    var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-pill {
  position: relative;
  flex: 1 1 140px;
  cursor: none;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--void);
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.choice-pill input:checked + span {
  border-color: rgba(255, 42, 42, 0.7);
  background: rgba(255, 42, 42, 0.16);
  box-shadow: 0 0 16px rgba(255, 42, 42, 0.22);
  color: #fff;
}

.choice-pill input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.linked-account {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.1);
}

.linked-account__label {
  color: #aab0ff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.linked-account__name {
  margin-top: 4px;
  color: var(--metal-bright);
  font-size: 18px;
  font-weight: 700;
}

.linked-account__note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.form-block {
  margin: 0 0 22px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.22);
}

.form-block legend {
  padding: 0 8px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-block__lead {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-block--rules {
  border-color: rgba(255, 42, 42, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 42, 42, 0.08);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  color: var(--metal);
  font-size: 15px;
  line-height: 1.45;
  cursor: none;
}

.check-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--red);
  cursor: none;
}

.field,
.field-row {
  margin-top: 14px;
}

.form-block > .field:first-of-type,
.form-block > .field-row:first-of-type {
  margin-top: 10px;
}

.desk-form .field:first-child {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--metal-bright);
  background: var(--void);
  border: 1px solid var(--line-strong);
  border-radius: 0;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--vt-red);
  border-radius: 0;
  background: linear-gradient(180deg, var(--vt-red), var(--vt-red-dim));
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: none;
  box-shadow: 0 0 20px rgba(255, 42, 42, 0.35);
  transition:
    transform 220ms cubic-bezier(0.22, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.btn:hover {
  background: linear-gradient(180deg, var(--vt-red-hot), var(--vt-red));
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 42, 42, 0.55);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 11px;
}

.btn-ghost {
  background: transparent;
  color: var(--metal-bright);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: #fff;
  background: rgba(255, 42, 42, 0.12);
  box-shadow: 0 0 16px rgba(255, 42, 42, 0.25);
}

.btn-danger {
  background: transparent;
  color: #ffb4ab;
  border-color: rgba(255, 42, 42, 0.65);
  box-shadow: none;
}

.btn-danger:hover {
  background: rgba(255, 42, 42, 0.18);
  color: #fff;
}

.btn-discord {
  background: linear-gradient(180deg, #6a75f5, #4752c4);
  border-color: #5865f2;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: linear-gradient(180deg, #7b85ff, #5865f2);
}

.form-actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.field-error {
  margin-top: 10px;
  color: #ffb4ab;
  font-size: 15px;
}

.quiet {
  color: var(--muted);
  font-size: 15px;
}

.gate-lead {
  margin-bottom: 16px;
  color: var(--metal);
}

.result {
  margin-top: 22px;
  min-height: 1.5em;
}

/* —— case file —— */
.dossier {
  animation: rise 220ms ease both;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 42, 42, 0.08);
  overflow: hidden;
}

.paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: start;
  padding: 22px 22px 18px;
  background:
    linear-gradient(135deg, rgba(255, 42, 42, 0.08), transparent 40%),
    var(--panel-2);
  color: var(--metal-bright);
}

.paper-main {
  display: contents;
}

.file-kicker {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-chip {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 14px currentColor;
}

.status-chip[data-status="elfogadva"] {
  color: var(--accept);
  background: var(--accept-bg);
}

.status-chip[data-status="elutasitva"] {
  color: var(--reject);
  background: var(--reject-bg);
}

.status-chip[data-status="folyamatban"] {
  color: var(--pending);
  background: var(--pending-bg);
}

.applicant {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 42, 42, 0.45);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.facts dt {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts dd {
  margin: 3px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.staff-note,
.pending-copy {
  grid-column: 1 / -1;
}

.staff-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.note-label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.staff-note p:last-child,
.pending-copy {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--metal);
}

.next-step {
  padding: 18px 22px 20px;
  background: linear-gradient(90deg, rgba(255, 42, 42, 0.28), rgba(16, 18, 24, 0.95));
  color: var(--metal-bright);
  border-top: 1px solid rgba(255, 42, 42, 0.45);
}

.next-step > p:first-child {
  margin-bottom: 14px;
  line-height: 1.45;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(16, 18, 24, 0.9);
}

.steps li {
  padding: 16px;
  color: var(--metal);
  font-size: 15px;
  line-height: 1.4;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: none;
}

.num {
  display: block;
  margin-bottom: 8px;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px var(--red-glow);
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.site-foot.bc-foot {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
}

.page-home .bc-stats {
  margin-bottom: 40px;
}

.page-status:not(.page-home) .bc-stats--status {
  margin-top: 0;
  margin-bottom: 0;
}

.foot-brand {
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.foot-note {
  margin-top: 4px;
  max-width: 42em;
  color: var(--muted);
  font-size: 14px;
}

.desk-link {
  color: var(--red-hot);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.desk-link:hover {
  text-shadow: 0 0 10px var(--red-glow);
}

.apply-switch-card {
  margin-bottom: 18px;
}

.apply-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.apply-switch__text h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal-bright);
}

.apply-switch__text p {
  margin-top: 6px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 132px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0c0e14;
  color: var(--metal-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.toggle__track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #2a2f3a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d7dbe6;
  transition: left 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.toggle.is-on {
  border-color: rgba(255, 42, 42, 0.55);
  box-shadow: 0 0 18px rgba(255, 42, 42, 0.25);
}

.toggle.is-on .toggle__track {
  background: linear-gradient(90deg, #6e0606, var(--red));
}

.toggle.is-on .toggle__knob {
  left: 23px;
  background: #fff;
}

.toggle__label {
  min-width: 2.5em;
}

.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.list-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--metal-bright);
}

.filter-field {
  min-width: 180px;
  margin-top: 0;
}

.records {
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.record {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.record-name {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.record-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.admin-record {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.admin-detail summary {
  cursor: none;
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

.admin-detail summary::-webkit-details-marker {
  display: none;
}

.admin-detail-body {
  margin-top: 14px;
}

.admin-actions {
  margin-top: 14px;
  padding: 14px;
  background: var(--void);
  border: 1px solid var(--line);
}

.admin-actions .field {
  margin-top: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .field-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: none;
  }

  .paper {
    display: flex;
    flex-direction: column;
  }

  .status-chip {
    align-self: flex-start;
    margin-bottom: 8px;
  }

  .cta-row .btn,
  .next-step .btn,
  .form-actions .btn {
    width: 100%;
  }

  .masthead {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
