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

* {
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --bg: #040404;
  --bg-soft: #090909;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --panel-soft: rgba(255, 255, 255, 0.028);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --line-hot: rgba(255, 255, 255, 0.36);
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --quiet: #707070;
  --black: #000;
  --white: #fff;
  --nova-violet: #b998ff;
  --nova-violet-soft: rgba(185, 152, 255, 0.14);
  --nova-ice: #bde8ff;
  --nova-mint: #caffca;
  --nova-danger: #ff9f9f;
  --nova-warning: #ffd38a;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "DM Mono", monospace;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 16% 18%, rgba(202, 169, 255, 0.075), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(202, 255, 202, 0.042), transparent 30rem),
    linear-gradient(180deg, #060606 0%, #030303 46%, #070707 100%);
  background-size: 100% 100%, 120% 120%, 120% 120%, 100% 100%;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  animation: pageLoad 0.95s var(--ease) both, pageAuraDrift 18s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.075), transparent 42%),
    radial-gradient(ellipse at 18% 82%, rgba(202, 169, 255, 0.055), transparent 38%),
    radial-gradient(ellipse at 84% 90%, rgba(202, 255, 202, 0.035), transparent 42%);
  opacity: 0.9;
  animation: pageVeilDrift 22s ease-in-out infinite alternate;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

[hidden] {
  display: none !important;
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

::selection {
  background: var(--white);
  color: var(--black);
}

.page {
  min-height: calc(100vh - 74px);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  min-height: 74px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(24px);
  animation: navLoad 0.82s 0.04s var(--ease) both;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand {
  justify-self: start;
}

.brand span:last-child,
.footer-brand span:last-child {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 5px;
}

.brand-mark,
.icon-square,
.icon-badge,
.unknown-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px 24px 16px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.55s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-10deg) scale(1.05);
  border-color: var(--line-hot);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 12px 38px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lucide,
.brand-mark svg,
.btn svg,
.icon-square svg,
.icon-badge svg,
.unknown-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.brand-logo-img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
  transform: scale(1);
  transition: transform 0.55s var(--ease), filter 0.25s ease;
}

.brand:hover .brand-logo-img,
.footer-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(14deg);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.5));
}

.nav-links {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 4px;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.nav-links::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 6px;
  width: var(--nav-bubble-w, 0);
  height: calc(100% - 12px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 232, 232, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(0, 0, 0, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  opacity: var(--nav-bubble-opacity, 0);
  transform: translateX(var(--nav-bubble-x, 0));
  transition: var(--nav-bubble-transition, transform 0.56s var(--ease), width 0.56s var(--ease), opacity 0.22s ease);
  pointer-events: none;
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.24s ease, background 0.24s ease, transform 0.34s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--black);
  transform: translateY(-1px);
}

.nav-links:hover a.active:not(:hover),
.nav-links:focus-within a.active:not(:focus-visible) {
  color: var(--muted);
}

.nav-links a.active:hover {
  transform: translateY(-1px);
}

.nav-link-label {
  display: inline-flex;
  align-items: center;
  min-height: 1em;
  transition: opacity 0.26s ease, transform 0.34s var(--ease), filter 0.26s ease;
}

.nav-link-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -34%) scale(0.72) rotate(-8deg);
  transition: opacity 0.26s ease, transform 0.34s var(--ease);
}

.nav-links a:hover .nav-link-label,
.nav-links a:focus-visible .nav-link-label {
  opacity: 0;
  transform: translateY(8px) scale(0.86);
}

.nav-links a:hover .nav-link-icon,
.nav-links a:focus-visible .nav-link-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12) rotate(0deg);
}

.nav-links:not(.nav-ready) a.active {
  background: var(--white);
}

.nav-links.nav-ready a:not(.active):not(:hover):not(:focus-visible) {
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  position: relative;
}

.account-menu {
  position: relative;
}

.account-menu-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(0, 0, 0, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transition: transform 0.28s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
  overflow: hidden;
}

.account-menu-button:hover,
.account-menu.open .account-menu-button {
  background: rgba(5, 5, 5, 0.88);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.nav-actions .account-menu-button:hover,
.nav-actions .account-menu.open .account-menu-button {
  background: rgba(5, 5, 5, 0.88);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.account-avatar-large {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15) 28%, transparent 29%),
    linear-gradient(135deg, #f7f7f7, #8f8f8f);
  color: var(--black);
  font-weight: 900;
}

.account-avatar-large {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 18px;
  object-fit: cover;
}

.account-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 30;
  width: 274px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025)),
    rgba(7, 7, 7, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.24s ease, transform 0.34s var(--ease);
}

.account-menu.open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.account-dropdown::before {
  content: none;
}

.notification-menu {
  position: relative;
}

.mobile-notification-action {
  display: none;
}

.notification-button {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(0, 0, 0, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transition: transform 0.28s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
  overflow: hidden;
}

.notification-button:hover,
.notification-menu.open .notification-button {
  background: rgba(5, 5, 5, 0.88);
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.34);
}

.notification-badge {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid rgba(5, 5, 5, 0.95);
  border-radius: 999px;
  background: #ff3b57;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 24px rgba(255, 59, 87, 0.42);
}

.notification-badge.is-counting {
  animation: notificationBadgeCount 0.52s var(--ease);
}

.notification-button.is-live-pulse {
  animation: notificationBellLive 0.86s var(--ease);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 31;
  width: min(360px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025)),
    rgba(7, 7, 7, 0.97);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px) scale(0.985);
  transform-origin: top right;
  transition: opacity 0.24s ease, transform 0.34s var(--ease);
}

.notification-menu.open .notification-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-head strong {
  color: var(--white);
}

.notification-head button,
.notification-head span {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.notification-items {
  display: grid;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
  scrollbar-width: none;
  padding-top: 10px;
}

.notification-items::-webkit-scrollbar {
  display: none;
}

.notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.026);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.24s var(--ease);
}

.notification-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.notification-item.unread {
  border-color: rgba(255, 59, 87, 0.26);
  background: rgba(255, 59, 87, 0.07);
}

.notification-item.notification-live-new {
  animation: notificationLiveIn 0.58s var(--ease);
}

.notification-item-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.notification-item strong,
.notification-item em,
.notification-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-item strong {
  color: var(--white);
  white-space: nowrap;
}

.notification-item em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.notification-item small {
  margin-top: 6px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.notification-approval-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.notification-approval-form .input {
  min-height: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

.notification-approval-form button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.22s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.notification-approval-form button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.notification-approval-form button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-approval-form button.approve {
  border-color: rgba(184, 255, 202, 0.22);
  color: #dfffe7;
}

.notification-approval-form button.deny {
  border-color: rgba(255, 122, 122, 0.22);
  color: #ffd7d7;
}

.notification-approval-form button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 520px) {
  .notification-approval-form {
    grid-template-columns: 1fr;
  }

  .notification-approval-form .input {
    grid-column: 1 / -1;
  }
}

.notification-empty {
  padding: 18px 10px;
  color: var(--muted);
  text-align: center;
}

@keyframes notificationBadgeCount {
  0% {
    transform: translateY(-2px) scale(0.82);
    filter: blur(1px);
  }
  55% {
    transform: translateY(-3px) scale(1.18);
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes notificationBellLive {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -8px 18px rgba(0, 0, 0, 0.12),
      0 0 0 rgba(255, 255, 255, 0);
  }
  45% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -8px 18px rgba(0, 0, 0, 0.12),
      0 0 34px rgba(255, 255, 255, 0.22);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      inset 0 -8px 18px rgba(0, 0, 0, 0.12),
      0 12px 36px rgba(255, 255, 255, 0.08);
  }
}

@keyframes notificationLiveIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    filter: blur(2px);
    border-color: rgba(184, 255, 202, 0.36);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.account-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
}

.account-name,
.account-username {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-name {
  color: var(--white);
  font-weight: 800;
}

.account-username {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
}

.logout-button {
  width: 100%;
  margin-top: 8px;
}

main {
  animation: contentLoad 0.78s 0.06s var(--ease) both;
}

.mobile-nav-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  justify-self: end;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 55px rgba(0, 0, 0, 0.3);
}

.mobile-nav-actions a {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.26s var(--ease), background 0.22s ease, color 0.22s ease;
}

.mobile-nav-actions a:hover,
.mobile-nav-actions a.active {
  color: var(--black);
  transform: translateY(-1px);
}

.mobile-nav-actions::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: var(--mobile-bubble-w, 38px);
  height: 38px;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(var(--mobile-bubble-x, 0));
  transition: var(--mobile-bubble-transition, transform 0.28s var(--ease), width 0.28s var(--ease));
  pointer-events: none;
}

.mobile-account-action {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 55px rgba(0, 0, 0, 0.3);
  transition: transform 0.26s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.mobile-account-action.logged-in,
.mobile-account-action:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 55px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.mobile-nova-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 8, 8, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
}

.mobile-nova-brand,
.mobile-nova-actions,
.mobile-nova-actions a {
  display: inline-flex;
  align-items: center;
}

.mobile-nova-brand {
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.mobile-nova-brand span:last-child {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 4px;
}

.mobile-nova-actions {
  gap: 8px;
}

.mobile-nova-actions a {
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.26s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.mobile-nova-actions a:hover,
.mobile-nova-actions a.primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.notice-stack {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 90;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.notice-toast {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022)),
    rgba(7, 7, 7, 0.95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(24px);
  overflow: hidden;
  pointer-events: auto;
  animation: toastIn 0.42s var(--ease) both;
}

.notice-toast.is-leaving {
  animation: toastOut 0.32s ease both;
}

.notice-toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--white);
}

.notice-icon,
.notice-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.notice-icon svg {
  width: 17px;
  height: 17px;
}

.notice-toast .notice-icon {
  display: grid;
  margin-top: 0;
}

.notice-toast[data-variant="success"],
.notice-toast[data-variant="true"] {
  border-color: rgba(202, 255, 202, 0.24);
}

.notice-toast[data-variant="success"]::before,
.notice-toast[data-variant="true"]::before {
  background: #caffca;
}

.notice-toast[data-variant="success"] .notice-icon,
.notice-toast[data-variant="true"] .notice-icon {
  color: #caffca;
  border-color: rgba(202, 255, 202, 0.24);
  background: rgba(202, 255, 202, 0.075);
}

.notice-toast[data-variant="error"],
.notice-toast[data-variant="false"] {
  border-color: rgba(255, 181, 181, 0.28);
}

.notice-toast[data-variant="error"]::before,
.notice-toast[data-variant="false"]::before {
  background: #ffb5b5;
}

.notice-toast[data-variant="error"] .notice-icon,
.notice-toast[data-variant="false"] .notice-icon {
  color: #ffb5b5;
  border-color: rgba(255, 181, 181, 0.3);
  background: rgba(255, 181, 181, 0.08);
}

.notice-toast[data-variant="warning"]::before {
  background: #ffe7a8;
}

.notice-toast[data-variant="warning"] .notice-icon {
  color: #ffe7a8;
  border-color: rgba(255, 231, 168, 0.3);
  background: rgba(255, 231, 168, 0.08);
}

.notice-toast strong,
.notice-toast span {
  display: block;
}

.notice-toast strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.25;
}

.notice-toast span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.notice-toast .notice-icon {
  display: grid;
  margin-top: 0;
  color: var(--white);
  font-size: initial;
  line-height: 1;
}

.btn,
.text-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease;
}

.btn:hover,
.text-button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.btn-primary,
.text-button.primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover,
.text-button.primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--line-hot);
}

.btn-ghost,
.text-button,
.icon-button {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost:hover,
.text-button:hover,
.icon-button:hover,
.btn-ghost.active {
  border-color: var(--line-hot);
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
}

.icon-square,
.icon-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.icon-square {
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.28s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.nav-actions .icon-square {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav-actions .icon-square:hover {
  transform: translateY(-2px) rotate(-4deg);
  background: transparent;
  color: var(--white);
  border-color: var(--line-hot);
}

.nav-actions > a.icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav-actions > a.icon-square:hover,
.nav-actions > a.icon-square:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-actions > a.icon-square:hover svg,
.nav-actions > a.icon-square:focus-visible svg {
  color: var(--white);
  stroke: currentColor;
}

.nav-actions .account-menu-button,
.nav-actions .account-menu-button.icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav-actions .account-menu-button:hover,
.nav-actions .account-menu.open .account-menu-button,
.nav-actions .account-menu-button.icon-square:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-actions .account-menu-button:hover svg,
.nav-actions .account-menu.open .account-menu-button svg,
.nav-actions .account-menu-button.icon-square:hover svg {
  color: var(--white);
  stroke: currentColor;
}

.nav-actions .notification-button,
.nav-actions .notification-button.icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(0, 0, 0, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transform: none;
}

.nav-actions .notification-button:hover,
.nav-actions .notification-menu.open .notification-button,
.nav-actions .notification-button.icon-square:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-actions .notification-button:hover svg,
.nav-actions .notification-menu.open .notification-button svg {
  color: var(--white);
  stroke: currentColor;
}

.hero,
.page-hero {
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-manifesto {
  min-height: calc(100svh - 74px);
  padding: 86px 32px 72px;
}

.manifesto-wrap,
.page-hero-inner,
.section-inner,
.legal-wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.manifesto-wrap,
.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manifesto-title,
.page-title,
.section-title,
.auth-head h1,
.unknown-panel h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 2.5px;
  text-wrap: balance;
}

.manifesto-title {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(72px, 10vw, 156px);
  animation: titleIn 0.9s var(--ease) both;
}

.page-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(68px, 8vw, 118px);
  animation: titleIn 0.85s var(--ease) both;
}

.section-title {
  font-size: clamp(48px, 5.8vw, 86px);
}

.outline {
  color: rgba(255, 255, 255, 0.09);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
  text-shadow: none;
}

.hero-manifesto .manifesto-title .outline {
  opacity: 1;
  visibility: visible;
  animation: hollowFlicker 3.15s 0.34s ease-in-out both;
}

.manifesto-copy,
.page-copy,
.section-copy,
.hero-sub,
.auth-head p,
.auth-note,
.disclaimer,
.unknown-panel p,
.row-main p,
.executor-copy,
.card p,
.promise p,
.flow-step p,
.legal-section p,
.legal-section li,
.staff-stat-sub,
.setting p,
.staff-page-head p {
  color: var(--muted);
  font-weight: 400;
}

.manifesto-copy,
.page-copy {
  width: min(100%, 760px);
  margin-top: 30px;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.8;
  text-wrap: pretty;
  animation: fadeUp 0.85s 0.12s var(--ease) both;
}

.manifesto-copy strong,
.page-copy strong,
.section-copy strong {
  color: var(--white);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  animation: fadeUp 0.85s 0.2s var(--ease) both;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: 22px;
  width: min(100%, 1040px);
  margin-top: 54px;
}

.loader-codebox {
  scroll-margin-top: calc(50vh - 42px);
  width: min(100%, 1040px);
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(202, 255, 202, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(202, 255, 202, 0.11), rgba(255, 255, 255, 0.035) 32%, rgba(0, 0, 0, 0.32)),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.loader-codebox::before {
  content: "";
  position: absolute;
  inset: -20% -44% -20% auto;
  width: 56%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, rgba(202, 255, 202, 0.58), rgba(116, 255, 153, 0.22) 42%, transparent 72%);
  opacity: 0;
  transform: translateX(42%) scaleX(0.62);
  pointer-events: none;
  z-index: 0;
}

.loader-codebox > * {
  position: relative;
  z-index: 1;
}

.loader-codebox.copy-burst::before {
  animation: loaderCopyBurst 0.72s var(--ease) both;
}

.loader-codebox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #caffca;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.loader-codebox-label svg,
.loader-copy-button svg {
  width: 16px;
  height: 16px;
}

.loader-codebox code {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.6vw, 13px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loader-codebox .code-fn {
  color: #caffca;
}

.loader-codebox .code-obj {
  color: #d8e7ff;
}

.loader-codebox .code-str {
  color: #ffd8a8;
}

.loader-codebox .code-punc {
  color: rgba(255, 255, 255, 0.82);
}

.loader-copy-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(202, 255, 202, 0.32);
  border-radius: 12px;
  background: rgba(202, 255, 202, 0.08);
  color: #caffca;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.loader-copy-button:hover,
.loader-copy-button.copied {
  border-color: #caffca;
  background: #caffca;
  color: #050505;
  transform: translateY(-1px);
}

.loader-copy-button.copy-failed {
  border-color: rgba(255, 120, 120, 0.72);
  background: rgba(255, 120, 120, 0.14);
  color: #ffb8b8;
}

.loader-copy-button.copied svg,
.loader-copy-button.copy-failed svg {
  animation: iconSwapIn 0.32s var(--ease) both;
}

.loader-copy-button.copy-reset svg {
  animation: iconSwapReset 0.28s var(--ease) both;
}

.manifesto-panel,
.signal-panel,
.promise,
.flow-step,
.card,
.list-row,
.executor-card,
.legal-section,
.key-box,
.unknown-panel,
.auth-panel,
.discord-card,
.staff-panel,
.staff-stat,
.setting,
.quick-search,
.access-state,
.metric,
.key-value,
.status-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.manifesto-panel::after,
.signal-panel::after,
.promise::after,
.flow-step::after,
.card::after,
.list-row::after,
.executor-card::after,
.legal-section::after,
.key-box::after,
.auth-panel::after,
.staff-panel::after,
.staff-stat::after {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(255, 255, 255, 0.13), transparent 58%);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.34s ease, transform 0.44s var(--ease);
  pointer-events: none;
}

.manifesto-panel,
.signal-panel {
  padding: 36px;
  border-radius: 24px;
}

.manifesto-panel {
  --glow-origin-x: 50%;
  --glow-origin-y: 0%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  align-self: center;
  padding: 38px 42px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.78);
}

.manifesto-panel .card-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 2px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1.8px;
}

.manifesto-panel p {
  max-width: 58ch;
  margin: 18px auto 0;
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1.75;
}

.manifesto-panel p + p {
  max-width: 54ch;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #d4d4d4;
}

.card-kicker,
.mini-num,
.eyebrow,
.status-pill,
.tag,
.record-status span,
.executor-score span,
.metric span,
.form-label,
.staff-nav-label,
.nav-count,
.pill,
.unknown-code {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card-kicker,
.mini-num,
.eyebrow {
  color: var(--quiet);
}

.signal-panel {
  display: grid;
  gap: 0;
}

.nova-metrics {
  align-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -24%, rgba(255, 255, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82);
}

.nova-metrics .signal-row:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 86px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.signal-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 18px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nova-metrics .signal-row:nth-child(odd):not(:last-child) {
  border-right: 1px solid var(--line);
}

.nova-metrics .signal-row:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.nova-metrics .signal-row {
  min-height: 92px;
}

.nova-metrics .signal-row strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 1.2px;
}

.nova-metrics .signal-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8d8d8d;
}

.nova-metrics .signal-row > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.42);
}

.nova-metrics .signal-row:last-child strong {
  font-size: clamp(24px, 2.3vw, 30px);
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.4px;
}

.metric-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, filter 0.18s ease;
}

.metric-link:hover,
.metric-link:focus-visible {
  color: #caffca;
  filter: drop-shadow(0 0 10px rgba(202, 255, 202, 0.28));
  outline: none;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
}

.stat {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 22px;
  background: rgba(7, 7, 7, 0.88);
  text-align: center;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.9;
  font-weight: 400;
}

.stat span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section {
  padding: 76px 32px;
}

.section.alt {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head.compact-head {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.compact-head .section-copy {
  max-width: 560px;
  margin-left: auto;
}

.section-copy {
  max-width: 690px;
  font-size: 17px;
  line-height: 1.8;
}

.promise-grid,
.flow,
.card-grid,
.record-list,
.executor-grid,
.metric-grid,
.settings-grid,
.staff-stats {
  display: grid;
  gap: 18px;
}

.promise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.promise,
.flow-step,
.card {
  min-width: 0;
  padding: 26px;
  text-align: center;
  transition: transform 0.28s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.promise:hover,
.flow-step:hover,
.card:hover,
.list-row:hover,
.executor-card:hover,
.legal-section:hover,
.staff-panel:hover,
.staff-stat:hover {
  transform: translateY(-4px);
  border-color: var(--line-hot);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.82);
}

.manifesto-panel:hover::after,
.signal-panel:hover::after,
.promise:hover::after,
.flow-step:hover::after,
.card:hover::after,
.list-row:hover::after,
.executor-card:hover::after,
.legal-section:hover::after,
.key-box:hover::after,
.auth-panel:hover::after,
.staff-panel:hover::after,
.staff-stat:hover::after {
  opacity: 1;
  transform: scale(1);
}

.promise strong,
.flow-step strong,
.card h2,
.list-row h2,
.executor-card h2,
.legal-section h2 {
  display: block;
  color: var(--white);
  font-size: 21px;
  line-height: 1.18;
}

.promise p,
.flow-step p,
.card p {
  margin-top: 12px;
  line-height: 1.7;
}

.icon-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 14px 22px 14px 22px;
}

.page-hero {
  min-height: 390px;
  padding: 74px 32px 54px;
  border-bottom: 1px solid var(--line);
}

.content-page .page {
  padding: 64px 24px 0;
  text-align: left;
  overflow-x: clip;
}

.content-page .page-hero {
  min-height: auto;
  padding: 0 0 28px;
  border-bottom: 0;
}

.content-page .page-hero-inner {
  width: min(100%, 720px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.content-page .page-hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 44%);
  opacity: 0.34;
}

.content-page .page-hero-inner > * {
  position: relative;
  z-index: 1;
}

.content-page .page-title {
  font-size: clamp(58px, 8vw, 98px);
}

.content-page .section {
  padding-top: 22px;
}

.content-page .list-toolbar {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.content-page .record-list,
.content-page .executor-grid {
  margin-top: 18px;
}

.content-page .list-row,
.content-page .executor-card,
.content-page .legal-section {
  border-radius: var(--radius-xl);
}

.game-record-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 82px;
  transition:
    transform 0.32s var(--ease),
    border-color 0.24s ease,
    background 0.24s ease,
    padding 0.42s var(--ease),
    min-height 0.52s var(--ease),
    border-radius 0.42s var(--ease),
    margin 0.42s var(--ease),
    box-shadow 0.32s ease;
}

.game-record-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.88), rgba(18, 18, 18, 0.55)),
    var(--game-thumb, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.62) saturate(0.72) contrast(1.08);
  opacity: 0.72;
  transform: scale(1.02);
}

.game-record-card > * {
  position: relative;
  z-index: 1;
}

.game-record-card > .row-main,
.game-record-card > .record-status {
  max-height: 280px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.42s var(--ease),
    opacity 0.28s ease,
    transform 0.42s var(--ease);
}

.game-card-name {
  color: var(--white);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.game-card-summary {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.game-details-toggle {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 38px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.28s ease;
}

.game-details-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: var(--white);
  color: var(--black);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 54px rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.34);
}

.game-details-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
  transition: transform 0.34s var(--ease), filter 0.28s ease;
}

.game-record-card.is-expanded {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-height: clamp(620px, 74vh, 860px);
  padding: clamp(24px, 3.5vw, 44px);
  gap: 0;
  margin-block: 10px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 36px;
  z-index: 4;
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.game-record-card.is-layout-animating {
  z-index: 8;
  will-change: transform;
}

.game-record-card.is-expanded:hover {
  transform: none;
}

.game-record-card.is-expanded > .row-main,
.game-record-card.is-expanded > .record-status {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    max-height 0.42s var(--ease),
    opacity 0.28s ease,
    transform 0.42s var(--ease);
}

.game-record-card.is-expanded .game-details-toggle {
  top: 26px;
  right: 26px;
  bottom: auto;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.game-record-card.is-expanded .game-details-toggle svg {
  transform: rotate(90deg) scale(0.94);
}

.game-expanded-card {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 28px;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(255, 255, 255, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.024)),
    rgba(8, 8, 8, 0.78);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.965);
  transform-origin: 50% 0;
  clip-path: inset(0 0 100% 0 round 28px);
  transition:
    min-height 0.72s var(--ease),
    max-height 0.72s var(--ease),
    opacity 0.34s ease,
    transform 0.62s var(--ease),
    border-color 0.3s ease,
    clip-path 0.72s var(--ease),
    visibility 0s linear 0.72s;
}

.game-record-card.is-expanded .game-expanded-card {
  width: min(100%, 1120px);
  min-height: clamp(520px, 62vh, 760px);
  max-height: 860px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  align-self: center;
  justify-self: center;
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0 round 28px);
  border-color: rgba(255, 255, 255, 0.14);
  transition-delay: 0s;
}

.game-record-card.is-expanded .game-expanded-media,
.game-record-card.is-expanded .game-expanded-thumb {
  min-height: clamp(520px, 62vh, 760px);
}

.game-expanded-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.game-expanded-thumb {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  opacity: 0.82;
  transform: scale(1.04);
  transition: transform 0.7s var(--ease), opacity 0.4s ease, filter 0.4s ease;
}

.game-record-card.is-expanded .game-expanded-thumb {
  transform: scale(1);
  opacity: 0.96;
  filter: saturate(1.04) contrast(1.04);
}

.game-expanded-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(8, 8, 8, 0.22)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.game-expanded-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: 64px;
  height: 64px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.58);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.game-record-card.is-expanded .game-expanded-icon {
  width: 92px;
  height: 92px;
  right: 26px;
  top: 26px;
  bottom: auto;
  border-radius: 28px;
}

.game-expanded-content {
  display: grid;
  align-content: center;
  gap: 13px;
  min-width: 0;
  padding: 30px;
  text-align: left;
}

.game-expanded-content h3 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: 0;
}

.game-expanded-content p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.65;
}

.game-expanded-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.game-expanded-meta div {
  display: grid;
  gap: 6px;
  min-height: 76px;
  align-content: center;
  padding: 14px;
  background: rgba(6, 6, 6, 0.46);
}

.game-expanded-meta span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.game-expanded-meta strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.35;
}

.content-page .executor-card {
  background:
    radial-gradient(circle at 50% -22%, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.016)),
    rgba(8, 8, 8, 0.86);
  background-clip: padding-box;
}

.content-page .executor-card:hover {
  background:
    radial-gradient(circle at 50% -22%, rgba(255, 255, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.023)),
    rgba(10, 10, 10, 0.9);
}

.content-page .executor-card .metric-grid {
  gap: 0;
  background: rgba(255, 255, 255, 0.018);
  border-radius: 22px;
  overflow: clip;
  clip-path: inset(0 round 22px);
  isolation: isolate;
}

.content-page .executor-card .metric {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 7, 0.92);
}

.content-page .executor-card .metric + .metric {
  border-left-color: var(--line);
}

.content-page .legal-wrap {
  width: min(100%, 840px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.dot.warn,
.status-warn,
.warn {
  color: #d4d4d4;
}

.dot.warn {
  background: #c8c8c8;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.list-toolbar p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.executor-status-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

.executor-status-toolbar > div:first-child {
  min-width: 0;
  display: grid;
  justify-items: start;
}

.executor-status-toolbar > div:first-child p {
  max-width: 68ch;
}

.status-pill,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

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

.game-state-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.game-state-section + .game-state-section {
  margin-top: 10px;
}

.game-state-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.game-state-head strong {
  color: var(--white);
  font: inherit;
}

.game-state-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.premium-pill,
.premium-game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  width: fit-content;
  padding: 0 13px;
  border: 1px solid rgba(202, 169, 255, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(202, 169, 255, 0.18), rgba(202, 169, 255, 0.055)),
    rgba(255, 255, 255, 0.025);
  color: #e5d5ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(154, 92, 255, 0.12);
}

.btn.is-loading svg {
  animation: spin 0.8s linear infinite;
}

.premium-pill svg,
.premium-game-badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.premium-page .page {
  padding-top: 54px;
}

.premium-hero-inner {
  width: min(100%, 920px) !important;
  text-align: center;
  background:
    radial-gradient(circle at 50% -18%, rgba(202, 169, 255, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82) !important;
}

.premium-eyebrow {
  border-color: rgba(202, 169, 255, 0.26);
  color: #ded0ff;
}

.premium-eyebrow .dot {
  background: #d9c5ff;
  box-shadow: 0 0 18px rgba(202, 169, 255, 0.58);
}

.premium-section {
  padding-top: 12px;
}

.premium-home-band {
  padding-top: 18px;
  padding-bottom: 44px;
}

.premium-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: 20px;
  align-items: stretch;
}

.premium-price-card,
.premium-game-feature,
.premium-feedback-card,
.premium-perk,
.premium-roadmap,
.premium-home-section,
.premium-trial-card,
.premium-catalog-note {
  --glow-origin-x: 18%;
  --glow-origin-y: 16%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% -22%, rgba(202, 169, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.premium-price-card::after,
.premium-game-feature::after,
.premium-feedback-card::after,
.premium-perk::after,
.premium-roadmap::after,
.premium-home-section::after,
.premium-trial-card::after,
.premium-catalog-note::after {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(202, 169, 255, 0.16), transparent 58%);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.34s ease, transform 0.44s var(--ease);
  pointer-events: none;
}

.premium-price-card:hover::after,
.premium-game-feature:hover::after,
.premium-feedback-card:hover::after,
.premium-perk:hover::after,
.premium-roadmap:hover::after,
.premium-home-section:hover::after,
.premium-trial-card:hover::after,
.premium-catalog-note:hover::after {
  opacity: 1;
  transform: scale(1);
}

.premium-price-card {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 100%;
  padding: 34px;
  border-color: rgba(202, 169, 255, 0.28);
}

.premium-price-card h2,
.premium-game-feature h2,
.premium-feedback-card h2,
.premium-roadmap h2,
.premium-catalog-note h2 {
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.premium-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 18px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-price strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 1px;
}

.premium-price span {
  padding-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.premium-price-card p,
.premium-game-feature p,
.premium-feedback-card p,
.premium-perk p,
.premium-roadmap p,
.premium-home-section p,
.premium-trial-card p,
.premium-catalog-note p {
  color: var(--muted);
  line-height: 1.72;
}

.premium-price-card p strong {
  color: var(--white);
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.premium-details {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.premium-game-feature {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.premium-feedback-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-color: rgba(202, 169, 255, 0.24);
}

.premium-feedback-head,
.premium-feedback-entry-head,
.premium-feedback-staff-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.premium-feedback-head {
  justify-content: space-between;
  gap: 18px;
}

.premium-feedback-head h2 {
  margin-top: 6px;
  font-size: clamp(22px, 2.5vw, 34px);
}

.premium-feedback-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(202, 169, 255, 0.24);
  border-radius: 999px;
  color: #e5d5ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-feedback-copy {
  margin: 0;
}

.premium-feedback-locked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(202, 169, 255, 0.18);
  border-radius: 20px;
  background: rgba(202, 169, 255, 0.055);
  color: #d9c5ff;
}

.premium-feedback-locked svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.premium-feedback-form {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-feedback-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.premium-feedback-author strong,
.premium-feedback-entry-head strong,
.premium-feedback-staff-head strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.premium-feedback-author small,
.premium-feedback-entry-head small,
.premium-feedback-staff-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.premium-feedback-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 900;
  object-fit: cover;
}

.nova-reply-avatar {
  padding: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.premium-feedback-tags,
.premium-feedback-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-feedback-tags label,
.premium-feedback-tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(202, 169, 255, 0.18);
  border-radius: 999px;
  background: rgba(202, 169, 255, 0.045);
  color: #d9c5ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.premium-feedback-tags input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.premium-feedback-tags label:has(input:checked) {
  border-color: rgba(202, 169, 255, 0.58);
  background: rgba(202, 169, 255, 0.18);
  color: var(--white);
}

.premium-feedback-message {
  min-height: 132px;
  resize: vertical;
}

.premium-feedback-thread {
  display: grid;
  gap: 12px;
}

.premium-feedback-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--muted);
}

.premium-feedback-entry,
.premium-feedback-reply {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.premium-feedback-entry {
  animation: feedbackCardIn 0.42s var(--ease) both;
}

.premium-feedback-entry-body {
  display: grid;
  gap: 10px;
}

.premium-feedback-entry-body > strong,
.premium-feedback-current-reply > strong {
  color: var(--white);
}

.premium-feedback-entry-body p,
.premium-feedback-reply p,
.premium-feedback-current-reply p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.premium-feedback-reply {
  margin-left: 24px;
  border-color: rgba(202, 255, 202, 0.16);
  background: rgba(202, 255, 202, 0.04);
}

.premium-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.premium-game-tags .tag {
  border-color: rgba(202, 169, 255, 0.2);
  background: rgba(202, 169, 255, 0.06);
  color: #d9c5ff;
}

.premium-perk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.premium-perk {
  min-width: 0;
  padding: 24px;
  text-align: left;
  transition: transform 0.28s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.premium-perk:hover,
.premium-home-section:hover,
.premium-trial-card:hover,
.premium-catalog-note:hover,
.premium-price-card:hover,
.premium-game-feature:hover,
.premium-feedback-card:hover,
.premium-roadmap:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 169, 255, 0.34);
}

.premium-perk .icon-badge {
  margin: 0 0 16px;
  border-color: rgba(202, 169, 255, 0.24);
  color: #e5d5ff;
}

.premium-perk strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  line-height: 1.22;
}

.premium-perk p {
  margin-top: 9px;
  font-size: 14px;
}

.premium-roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding: 30px;
}

.premium-home-section:hover {
  border-color: rgba(202, 169, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(202, 169, 255, 0.16),
    0 26px 80px rgba(0, 0, 0, 0.46),
    0 0 38px rgba(154, 92, 255, 0.12);
}

.premium-home-section {
  --glow-origin-x: 18%;
  --glow-origin-y: 14%;
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 22px;
  margin-top: 22px;
  padding: 30px;
  text-align: left;
  border-color: rgba(202, 169, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(202, 169, 255, 0.095), rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.05)),
    rgba(8, 8, 8, 0.84);
}

.premium-home-intro {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.premium-home-intro .btn {
  width: fit-content;
  min-width: 164px;
}

.premium-home-section h2,
.premium-trial-card h2 {
  color: var(--white);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

.premium-home-section p {
  max-width: 620px;
}

.premium-home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.premium-home-feature-grid article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(202, 169, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(202, 169, 255, 0.045);
  transition: border-color 0.22s ease, transform 0.26s var(--ease), background 0.22s ease;
}

.premium-home-feature-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(202, 169, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.024)),
    rgba(202, 169, 255, 0.07);
}

.premium-home-feature-grid .icon-badge {
  width: 42px;
  height: 42px;
  margin: 0;
  border-color: rgba(202, 169, 255, 0.24);
  color: #e5d5ff;
}

.premium-home-feature-grid strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.premium-home-feature-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.premium-home-feature-grid svg {
  width: 16px;
  height: 16px;
}

.premium-home-section,
.premium-trial-card,
.premium-catalog-note,
.home-games-section,
.home-game-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.premium-home-section::after,
.premium-trial-card::after,
.premium-catalog-note::after,
.home-games-section::after,
.home-game-card::after {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), var(--card-glow, rgba(202, 169, 255, 0.16)), transparent 58%);
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
  transition: opacity 0.34s ease, transform 0.44s var(--ease);
}

.premium-home-section:hover::after,
.premium-trial-card:hover::after,
.premium-catalog-note:hover::after,
.home-games-section:hover::after,
.home-game-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.premium-home-section > *,
.premium-trial-card > *,
.premium-catalog-note > *,
.home-games-section > *,
.home-game-card > * {
  position: relative;
  z-index: 1;
}

.home-games-section {
  --glow-origin-x: 82%;
  --glow-origin-y: 18%;
  --card-glow: rgba(202, 255, 202, 0.13);
  display: grid;
  gap: 26px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(202, 255, 202, 0.075), rgba(255, 255, 255, 0.022) 46%, rgba(202, 169, 255, 0.07)),
    rgba(8, 8, 8, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-games-head {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  text-align: left;
}

.home-games-head .section-title {
  font-size: clamp(42px, 5vw, 72px);
}

.home-games-head .section-copy {
  max-width: 620px;
  margin-top: 10px;
}

.home-games-marquee {
  min-width: 0;
  overflow: hidden;
  padding: 8px 0 10px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.home-games-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: homeGamesMarquee 36s linear infinite;
}

.home-games-marquee:hover .home-games-track {
  animation-play-state: paused;
}

.home-game-card {
  --center-scale: 0.88;
  --center-opacity: 0.64;
  --game-bg: url("/assets/img/nova_logo.png");
  flex: 0 0 clamp(220px, 26vw, 320px);
  min-height: clamp(168px, 20vw, 228px);
  display: grid;
  align-content: end;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.18) 36%, rgba(5, 5, 5, 0.84) 100%),
    var(--game-bg) center / cover no-repeat,
    rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  opacity: var(--center-opacity);
  transform: translateY(calc((1 - var(--center-scale)) * 22px)) scale(var(--center-scale));
  transition:
    opacity 0.38s ease,
    transform 0.38s var(--ease),
    border-color 0.22s ease,
    filter 0.28s ease;
}

.home-game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.16), transparent 36%);
  pointer-events: none;
}

.home-game-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  filter: saturate(1.08) contrast(1.04);
}

.home-game-card strong {
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.72);
}

.home-game-card small {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.56);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.home-game-card.is-loading {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .home-game-card {
    --center-scale: 1;
    --center-opacity: 1;
  }
}

.premium-trial-card {
  --glow-origin-x: 14%;
  --glow-origin-y: 18%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border-color: rgba(202, 169, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82);
}

.premium-trial-card .icon-badge {
  margin: 0;
  border-color: rgba(202, 169, 255, 0.26);
  color: #e5d5ff;
}

.premium-trial-card h2 {
  margin-top: 6px;
  font-size: clamp(22px, 2.4vw, 32px);
}

.premium-trial-card .btn {
  min-width: 156px;
}

.premium-trial-card .btn.is-disabled {
  opacity: 0.62;
  cursor: default;
  pointer-events: none;
}

.premium-catalog-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 24px;
}

.premium-catalog-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(202, 169, 255, 0.28);
  border-radius: 22px;
  background: rgba(202, 169, 255, 0.08);
  color: #e5d5ff;
}

.premium-catalog-icon svg {
  width: 25px;
  height: 25px;
}

.premium-catalog-note h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-top: 4px;
}

.premium-catalog-note p {
  margin-top: 6px;
}

.premium-game-card {
  border-color: rgba(202, 169, 255, 0.24);
}

.premium-game-card::before {
  filter: grayscale(0.38) saturate(0.92) contrast(1.08);
}

.premium-game-card .row-main {
  display: grid;
  gap: 7px;
}

.premium-game-badge {
  margin-top: 8px;
}

.news-toolbar {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.news-tabs {
  --news-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.news-tabs::-webkit-scrollbar {
  display: none;
}

.news-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease);
}

.news-tabs button svg {
  width: 14px;
  height: 14px;
}

.news-tabs button:hover,
.news-tabs button.active {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
}

.news-filter-shell {
  position: relative;
  justify-self: end;
  align-self: start;
}

.news-filter-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.24s var(--ease), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.news-filter-button svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.24s var(--ease);
}

.news-filter-button:hover,
.news-filter-shell.open .news-filter-button {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.news-filter-shell.open .news-filter-button {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.news-filter-button:hover svg,
.news-filter-shell.open .news-filter-button svg {
  color: var(--white);
  transform: rotate(-8deg);
}

.news-filter-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 30;
  width: min(260px, calc(100vw - 32px));
  max-height: 178px;
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.03)),
    rgba(6, 6, 6, 0.985);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  transform: translateY(-2px) scaleY(0.985);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.28s var(--ease);
}

.news-filter-dropdown::-webkit-scrollbar {
  display: none;
}

.news-filter-shell.open .news-filter-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.news-filter-dropdown button {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.22s var(--ease);
}

.news-filter-dropdown button svg {
  width: 15px;
  height: 15px;
}

.news-filter-dropdown button:hover,
.news-filter-dropdown button.active {
  background: var(--white);
  color: var(--black);
  transform: translateX(2px);
}

.news-update-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.news-update-strip div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
    rgba(6, 6, 6, 0.94);
}

.news-update-strip span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.news-update-strip strong {
  min-width: 0;
  color: var(--white);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  margin-top: 18px;
}

.news-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 30px 4px;
  color: var(--muted);
  text-align: left;
}

.news-empty-state span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
}

.news-empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.news-empty-error span {
  color: #ffb3bf;
}

.news-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-card-top,
.news-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.news-card h2 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
}

.news-card-thumb {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  opacity: 0.86;
  filter: saturate(0.78) contrast(1.05);
}

.news-body {
  color: var(--muted);
  line-height: 1.72;
}

.news-body p {
  margin: 0;
}

.news-body p + p {
  margin-top: 14px;
}

.news-body strong {
  color: var(--white);
}

.news-card-game_release {
  border-color: rgba(202, 255, 202, 0.18);
}

.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.28s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.row-main p {
  max-width: 34ch;
  margin: 12px auto 0;
}

.row-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.record-status strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.9;
  font-weight: 400;
}

.game-record-card .record-status strong {
  max-width: 10ch;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 0.94;
  text-wrap: balance;
}

.record-status span {
  color: var(--quiet);
}

.executor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.executor-card {
  padding: 32px;
  text-align: center;
  overflow: hidden;
  contain: paint;
  background-clip: padding-box;
  transition: transform 0.28s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.executor-card h2 {
  margin-top: 4px;
  font-size: 24px;
}

.executor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  text-align: left;
}

.executor-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.executor-star {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 36px;
  flex: 0 0 88px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.24s ease;
}

.executor-star svg {
  width: 15px;
  height: 15px;
  position: relative;
  z-index: 2;
}

.executor-star.active svg {
  fill: currentColor;
}

.executor-star span {
  max-width: 48px;
  z-index: 1;
  order: -1;
  margin-right: 8px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.executor-star:hover,
.executor-star.active {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.executor-star:not(.active):hover {
  color: #ffe7a8;
}

.executor-star.active {
  color: #caffca;
  border-color: rgba(202, 255, 202, 0.28);
  background: rgba(202, 255, 202, 0.07);
}

.executor-star.just-set {
  animation: executorSetPulse 0.58s var(--ease);
}

.executor-score {
  width: 118px;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.13), transparent 48%),
    rgba(255, 255, 255, 0.025);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.88;
  text-align: center;
  white-space: nowrap;
}

.executor-score.green {
  border-color: rgba(202, 255, 202, 0.24);
}

.executor-score.yellow {
  border-color: rgba(255, 231, 168, 0.28);
}

.executor-score.red {
  border-color: rgba(255, 181, 181, 0.28);
}

.executor-score span {
  display: block;
  margin-top: 8px;
  color: var(--quiet);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.executor-copy {
  max-width: 38ch;
  margin-top: 10px;
  line-height: 1.65;
}

.selected-executor-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1120px);
  margin: 0 auto 22px;
}

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

.selected-executor-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  align-items: stretch;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(202, 255, 202, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 58px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.selected-executor-main {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  text-align: left;
}

.selected-executor-main h2 {
  margin-top: 6px;
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 0.95;
}

.selected-executor-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.selected-executor-detail-grid div {
  min-width: 0;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 13px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
    rgba(6, 6, 6, 0.94);
}

.selected-executor-detail-grid span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.selected-executor-detail-grid strong {
  min-width: 0;
  color: var(--white);
  font-size: 13px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  overflow: hidden;
  clip-path: inset(0 round 24px);
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
}

.metric {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 14px 8px;
  border: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 7, 0.9);
  box-shadow: none;
}

.metric:nth-child(4n + 1) {
  border-left: 0;
}

.metric:nth-child(-n + 4) {
  border-top: 0;
}

.metric strong {
  color: var(--white);
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(11px, 1.2rem, 14px);
  line-height: 1.15;
  text-align: center;
}

.metric span {
  color: #dcdcdc;
}

.executor-range {
  --range-count: 4;
  --range-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--range-count), minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 4px;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}

.executor-range::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--range-count));
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(255, 255, 255, 0.12);
  transform: translateX(calc(var(--range-index) * 100%));
  transition: transform 0.34s var(--ease), box-shadow 0.22s ease;
  z-index: 0;
}

.executor-range button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: visible;
  transition: color 0.22s ease, transform 0.18s ease;
  z-index: 1;
}

.executor-range button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.executor-range button span {
  max-width: none;
  white-space: nowrap;
  opacity: 1;
  transform: none;
}

.executor-range button:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.executor-range button.active {
  color: var(--black);
}

.executor-toolbar-right {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(230px, 0.58fr) minmax(180px, 0.42fr);
  align-items: stretch;
  justify-content: stretch;
  gap: 10px;
  margin-left: 0;
  width: 100%;
}

.executor-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.executor-cache-state {
  width: 100%;
  min-height: 46px;
  justify-content: space-between;
  padding: 0 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
}

.executor-cache-state strong {
  color: var(--white);
  font: inherit;
  letter-spacing: 1.2px;
  text-transform: none;
}

.executor-cache-state[data-variant="live"] .dot {
  background: #caffca;
  box-shadow: 0 0 16px rgba(202, 255, 202, 0.38);
}

.executor-cache-state[data-variant="cache"] .dot {
  background: #ffe7a8;
  box-shadow: 0 0 16px rgba(255, 231, 168, 0.34);
}

.executor-search:focus-within {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055);
}

.executor-search svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex: 0 0 auto;
}

.executor-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
}

.executor-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status-chip.green { color: #caffca; border-color: rgba(202, 255, 202, 0.28); }
.status-chip.yellow { color: #ffe7a8; border-color: rgba(255, 231, 168, 0.3); }
.status-chip.red { color: #ffb5b5; border-color: rgba(255, 181, 181, 0.32); }
.status-chip.gray { color: #b8b8b8; border-color: rgba(184, 184, 184, 0.24); }

.uptime-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
  gap: 4px;
  margin-top: 14px;
}

.uptime-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.uptime-day.good { background: rgba(202, 255, 202, 0.22); }
.uptime-day.warn { background: repeating-linear-gradient(135deg, rgba(255, 231, 168, 0.24) 0 5px, rgba(255, 255, 255, 0.05) 5px 10px); }
.uptime-day.bad { background: rgba(255, 181, 181, 0.2); }
.uptime-day.empty {
  border-color: rgba(255, 181, 181, 0.28);
  background:
    repeating-linear-gradient(135deg, rgba(255, 181, 181, 0.18) 0 4px, rgba(255, 255, 255, 0.025) 4px 9px),
    rgba(255, 255, 255, 0.03);
}

.uptime-day.empty::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 181, 181, 0.82);
}

.executor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.executor-link-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.executor-actions a,
.executor-actions button {
  color: var(--white);
  text-decoration: none;
}

.executor-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 104px;
  height: 36px;
  flex: 0 0 104px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.executor-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.035);
  transition: width 0.24s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.executor-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  transition: transform 0.24s var(--ease);
}

.executor-link span {
  position: relative;
  z-index: 1;
  max-width: 68px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.2s var(--ease), opacity 0.18s ease, transform 0.18s ease;
}

.executor-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.executor-link:hover::before {
  background: rgba(255, 255, 255, 0.04);
}

.executor-link:hover svg {
  transform: translateY(-1px) scale(1.08);
}

.staff-dashboard-link {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 12px;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.offsite-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  animation: toastIn 0.2s var(--ease);
}

.offsite-dialog {
  width: min(100%, 460px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.96);
  box-shadow: var(--shadow);
}

.offsite-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
}

.offsite-dialog h2 {
  color: var(--white);
  font-size: 24px;
}

.offsite-dialog p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.offsite-dialog code {
  display: block;
  margin-top: 16px;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 12px;
}

.offsite-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.staff-mfa-dialog {
  width: min(100%, 540px);
  max-height: min(760px, calc(100vh - 32px));
  scrollbar-width: none;
}

.staff-mfa-dialog::-webkit-scrollbar {
  display: none;
}

.staff-mfa-qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.025);
}

.staff-mfa-qr {
  width: 184px;
  height: 184px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.staff-mfa-qr canvas,
.staff-mfa-qr img {
  width: 168px;
  height: 168px;
  image-rendering: crisp-edges;
}

.staff-mfa-qr span {
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.staff-mfa-qr-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.staff-mfa-qr-card button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.staff-mfa-guide {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.staff-mfa-guide span {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.staff-mfa-guide strong {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.staff-mfa-guide em,
.staff-mfa-guide code {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-mfa-guide code {
  border: 0;
  background: transparent;
  font-size: 12px;
}

.staff-mfa-guide .icon-button {
  width: 34px;
  height: 34px;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), filter 0.18s var(--ease);
}

.staff-mfa-guide .icon-button.copied {
  color: #b8ffca;
  border-color: rgba(184, 255, 202, 0.42);
  filter: blur(0.2px);
}

.staff-mfa-form {
  margin-top: 18px;
}

.staff-mfa-form label {
  display: grid;
  gap: 8px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.staff-mfa-form input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font: 800 22px/1 var(--font-mono);
  letter-spacing: 6px;
  outline: none;
}

.staff-mfa-form input:focus {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.staff-mfa-form .text-button {
  gap: 9px;
}

.dev-approval-context span {
  grid-template-columns: 88px minmax(0, 1fr);
}

.dev-approval-dialog .offsite-actions .text-button {
  min-width: 0;
}

@media (max-height: 760px) {
  .offsite-modal {
    align-items: start;
    padding: 12px;
  }

  .staff-mfa-dialog {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .staff-mfa-dialog .offsite-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }

  .staff-mfa-dialog h2 {
    font-size: 20px;
  }

  .staff-mfa-dialog p {
    margin-top: 6px;
    line-height: 1.45;
  }

  .staff-mfa-qr-card,
  .staff-mfa-guide,
  .staff-mfa-form {
    margin-top: 12px;
  }

  .staff-mfa-qr-card {
    padding: 12px;
  }

  .staff-mfa-qr {
    width: 148px;
    height: 148px;
    border-radius: 14px;
  }

  .staff-mfa-qr canvas,
  .staff-mfa-qr img {
    width: 132px;
    height: 132px;
  }

  .staff-mfa-guide span {
    padding: 8px 10px;
  }

  .staff-mfa-form input {
    padding: 12px 14px;
    font-size: 18px;
  }

  .staff-mfa-form .offsite-actions {
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .offsite-modal {
    padding: 10px;
  }

  .staff-mfa-dialog {
    padding: 16px;
  }

  .staff-mfa-guide span {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .staff-mfa-guide strong {
    grid-column: 1 / -1;
  }

  .staff-mfa-form input {
    letter-spacing: 4px;
  }
}

@media (max-height: 600px) {
  .staff-mfa-dialog {
    padding: 14px;
  }

  .staff-mfa-qr-card {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
  }

  .staff-mfa-qr {
    width: 116px;
    height: 116px;
    padding: 6px;
  }

  .staff-mfa-qr canvas,
  .staff-mfa-qr img {
    width: 104px;
    height: 104px;
  }

  .staff-mfa-qr-card small {
    text-align: left;
  }
}

.uptime-area {
  margin-top: 26px;
}

.uptime-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.uptime-track {
  display: grid;
  grid-template-columns: repeat(24, minmax(7px, 1fr));
  gap: 4px;
  padding: 2px 0;
}

.uptime-segment {
  aspect-ratio: 1;
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.uptime-segment.ok {
  background: var(--white);
  border-color: var(--white);
}

.uptime-segment.warn {
  background: repeating-linear-gradient(135deg, #fff 0 4px, #777 4px 8px);
  border-color: rgba(255, 255, 255, 0.45);
}

.uptime-segment.down {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.18);
}

.key-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 20px;
}

.key-box {
  padding: 34px;
  text-align: center;
}

.key-only-wrap {
  align-items: start;
  padding: clamp(62px, 9vh, 108px) 24px 88px;
}

.key-simple-panel {
  width: min(100%, 590px);
}

.key-page-panel {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.2vw, 34px);
  padding: clamp(32px, 5vw, 48px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% -6%, rgba(255, 255, 255, 0.105), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 7, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 90px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.key-page-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 44px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  opacity: 0.85;
}

.key-page-panel > * {
  position: relative;
  z-index: 1;
}

.key-page-panel .auth-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-bottom: 0;
  text-align: center;
}

.key-page-panel .auth-head h1 {
  font-size: clamp(74px, 11vw, 116px);
  line-height: 0.88;
  letter-spacing: 2px;
}

.key-page-panel .auth-head p {
  max-width: 560px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.68);
}

.key-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.key-adaptive {
  display: grid;
  justify-items: center;
  gap: 0;
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.key-adaptive-panel {
  display: none;
  width: 100%;
  justify-items: center;
  gap: 18px;
  animation: panelIn 0.24s var(--ease) both;
}

.key-adaptive-panel.active {
  display: grid;
}

.key-adaptive-panel[hidden] {
  display: none !important;
}

.key-adaptive .btn {
  justify-content: center;
  gap: 0;
  padding-left: 34px;
  padding-right: 34px;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.24s var(--ease),
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    box-shadow 0.3s ease,
    filter 0.24s ease;
  will-change: transform, box-shadow;
}

.key-adaptive .btn > span {
  min-width: 0;
}

.key-adaptive .btn:hover {
  transform: translate3d(0, -1px, 0);
  filter: brightness(1.04);
}

.key-adaptive .btn:active {
  transform: translate3d(0, 0, 0);
  filter: brightness(0.98);
}

.key-login-button,
.key-discord-button {
  min-width: 268px;
  min-height: 52px;
  padding-inline: 28px;
  border-color: rgba(88, 101, 242, 0.34);
  background:
    linear-gradient(180deg, rgba(88, 101, 242, 0.18), rgba(88, 101, 242, 0.06)),
    rgba(255, 255, 255, 0.035);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.key-login-button:hover,
.key-discord-button:hover {
  border-color: #5865f2;
  background: #5865f2;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(88, 101, 242, 0.24);
}

.key-adaptive-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.key-adaptive-copy > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
}

.key-discord-copy {
  color: rgba(174, 186, 255, 0.86);
}

.key-discord-copy svg {
  color: #8ea1ff;
}

.key-boost-note {
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d9c4ff;
  box-shadow: none;
}

.key-boost-note > svg {
  width: 16px;
  height: 16px;
  color: #d9c4ff;
}

.key-boost-note strong {
  color: #efe6ff;
}

.key-boost-note button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  margin-left: 1px;
  border: 1px solid rgba(218, 196, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(218, 196, 255, 0.14), rgba(116, 73, 194, 0.08)),
    rgba(218, 196, 255, 0.06);
  color: #efe6ff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s var(--ease);
}

.key-boost-note button:hover {
  border-color: rgba(223, 202, 255, 0.62);
  background: rgba(203, 170, 255, 0.14);
  transform: translateY(-1px);
}

.key-boost-note button svg {
  width: 12px;
  height: 12px;
}

.boost-info-modal .offsite-icon {
  color: #d9c4ff;
  border-color: rgba(203, 170, 255, 0.34);
  background: rgba(116, 73, 194, 0.16);
}

.boost-info-modal .offsite-dialog {
  border-color: rgba(203, 170, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(140, 94, 220, 0.15), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.96);
}

.key-trial-modal {
  align-items: center;
  padding: 18px;
  overflow-y: auto;
}

.key-trial-dialog {
  position: relative;
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(24px, 4.4vw, 38px);
  border-color: rgba(196, 151, 255, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 4%, rgba(166, 102, 255, 0.26), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.024)),
    rgba(7, 7, 8, 0.97);
  text-align: center;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(202, 169, 255, 0.08);
  overflow: hidden;
  animation: feedbackDialogIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.key-trial-modal.is-leaving .key-trial-dialog {
  animation: feedbackDialogOut 0.22s ease both;
}

.key-trial-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.92);
}

.key-trial-glow {
  position: absolute;
  inset: auto -18% -28% -18%;
  height: 44%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(159, 92, 255, 0.34), transparent 62%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0.72;
  filter: blur(2px);
}

.key-trial-icon {
  width: 58px;
  height: 58px;
  color: #eadcff;
  border-color: rgba(202, 169, 255, 0.42);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.32), transparent 34%),
    rgba(154, 92, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 38px rgba(154, 92, 255, 0.26);
}

.key-trial-dialog h2 {
  max-width: 380px;
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 0.96;
}

.key-trial-dialog p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.key-trial-scope {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.key-trial-scope span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(202, 169, 255, 0.18);
  border-radius: 16px;
  background: rgba(202, 169, 255, 0.055);
  color: rgba(238, 229, 255, 0.86);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.key-trial-scope svg {
  width: 15px;
  height: 15px;
  color: #d9c4ff;
}

.key-trial-dialog .offsite-actions {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 10px;
}

.key-trial-dialog .text-button {
  justify-content: center;
  min-height: 44px;
}

.key-field-row {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 0;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.16);
}

.key-rule-card,
.booster-incentive {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 172px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.026);
  text-align: left;
}

.key-rule-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.booster-incentive {
  grid-template-columns: minmax(0, 1fr);
  border-color: rgba(190, 142, 255, 0.38);
  background:
    radial-gradient(circle at 0% 0%, rgba(160, 92, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(141, 83, 255, 0.105), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.026);
  box-shadow: inset 0 1px 0 rgba(213, 184, 255, 0.1);
}

.booster-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.key-rule-icon,
.booster-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.key-rule-icon {
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.036)),
    rgba(255, 255, 255, 0.035);
}

.booster-mark {
  color: #d9c4ff;
  border-color: rgba(203, 170, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(204, 174, 255, 0.2), rgba(121, 70, 255, 0.16)),
    rgba(128, 74, 255, 0.12);
  box-shadow: 0 0 24px rgba(146, 91, 255, 0.16);
}

.key-rule-card strong,
.booster-incentive strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  line-height: 1.25;
}

.booster-incentive strong {
  color: #decaff;
}

.key-rule-card p,
.booster-incentive p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.booster-incentive p {
  color: rgba(225, 211, 255, 0.74);
}

.key-rule-card .text-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
}

.booster-info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  align-self: end;
  max-width: none;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(203, 170, 255, 0.3);
  border-radius: 16px;
  background: rgba(42, 25, 74, 0.48);
  color: rgba(235, 225, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.booster-info-card svg {
  width: 15px;
  height: 15px;
  color: #d9c4ff;
}

.booster-info-card span {
  min-width: 0;
  font-size: 11px;
  line-height: 1.4;
}

.key-field-row .key-value {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.key-field-label {
  display: none;
  margin-bottom: 10px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.key-title {
  margin-top: 14px;
  font-size: clamp(42px, 5vw, 64px);
}

.key-message {
  margin-top: 18px;
}

.key-actions {
  margin-top: 0;
  align-items: center;
  justify-content: center;
}

.key-actions .btn {
  min-width: 206px;
}

[data-generate-key] {
  min-width: 206px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

[data-generate-key].is-generating {
  pointer-events: none;
}

[data-generate-key].is-generating svg {
  animation: spin 0.8s linear infinite;
}

[data-generate-key].is-copy-mode {
  background: #caffca;
  color: #050505;
  border-color: #caffca;
}

.key-steps {
  grid-template-columns: 1fr;
}

.key-value {
  width: 100%;
  margin-top: 0;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.28);
  overflow-wrap: anywhere;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.8vw, 18px);
  letter-spacing: 1.4px;
  text-align: center;
}

.key-value.locked {
  color: var(--quiet);
}

.key-page-panel .auth-note {
  justify-self: center;
  max-width: 560px;
  margin-top: -4px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.key-page-panel .btn-primary {
  min-height: 48px;
  padding-inline: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 42px rgba(255, 255, 255, 0.08);
}

.access-state {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  padding: 0;
  background: var(--line);
}

.access-state > div {
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(5, 5, 5, 0.92);
}

.access-state span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.access-state strong,
.live,
.status-ok {
  color: var(--white);
}

.auth-wrap,
.unknown-wrap {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 74px 24px;
}

.auth-panel,
.unknown-panel {
  width: min(100%, 560px);
  padding: 34px;
  text-align: center;
}

.auth-head h1,
.unknown-panel h1 {
  margin-top: 18px;
  font-size: clamp(54px, 8vw, 92px);
}

.auth-head p,
.unknown-panel p {
  max-width: 430px;
  margin: 20px auto 0;
}

.auth-form {
  margin-top: 28px;
}

.discord-card {
  padding: 22px;
}

.discord-button {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.discord-button:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: var(--white);
}

.btn[data-discord-login]:not(:disabled):hover {
  background: #5865f2;
  border-color: #5865f2;
  color: var(--white);
}

.disclaimer {
  margin-top: 16px;
  font-size: 14px;
}

.auth-note {
  margin-top: 18px;
  font-size: 14px;
}

.auth-note strong,
.disclaimer strong {
  color: var(--white);
}

.field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.field + .field,
.staff-form .field,
.staff-form-row {
  margin-top: 14px;
}

.form-label {
  color: var(--quiet);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  transition: border-color 0.22s ease, background 0.22s ease;
}

select.input[data-customized] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  color: var(--white);
  cursor: pointer;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -14px 28px rgba(0, 0, 0, 0.12);
  transition: border-color 0.22s ease, border-radius 0.24s var(--ease), background 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.custom-select-button svg {
  width: 16px;
  height: 16px;
  color: var(--quiet);
  transition: color 0.2s ease, transform 0.24s var(--ease);
}

.custom-select.open .custom-select-button {
  border-color: rgba(255, 255, 255, 0.42);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.058);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 38px rgba(0, 0, 0, 0.28);
  transform: none;
}

.custom-select.open .custom-select-button svg {
  color: var(--white);
  transform: rotate(180deg);
}

.custom-select[data-dropdown-direction="up"].open .custom-select-button {
  border-radius: 0 0 20px 20px;
}

.custom-select[data-dropdown-direction="up"].open .custom-select-button svg {
  transform: rotate(0deg);
}

.custom-select-menu {
  position: fixed;
  top: var(--custom-select-top, 0);
  left: var(--custom-select-left, 0);
  width: var(--custom-select-width, 220px);
  max-height: var(--custom-select-max-height, 250px);
  z-index: 10020;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 0 0 var(--custom-select-origin-radius, 20px) var(--custom-select-origin-radius, 20px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 8, 0.985);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(28px);
  opacity: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  pointer-events: none;
  transform: translateY(-2px) scaleY(0.985);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.28s var(--ease), border-color 0.2s ease;
}

.custom-select-menu[data-dropdown-direction="up"] {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: var(--custom-select-origin-radius, 20px) var(--custom-select-origin-radius, 20px) 0 0;
  transform: translateY(2px) scaleY(0.985);
  transform-origin: bottom center;
}

.custom-select-menu::-webkit-scrollbar {
  display: none;
}

.custom-select-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.custom-select-menu button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.22s var(--ease), box-shadow 0.2s ease, filter 0.2s ease;
}

.custom-select-menu button:hover,
.custom-select-menu button.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.custom-select-menu button.active::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
  flex: 0 0 auto;
}

textarea.input {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.staff-form.is-planned-game .code-input {
  opacity: 0.55;
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  cursor: not-allowed;
}

.input:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.065);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.dotted-links {
  gap: 10px;
}

.dotted-links .text-link {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.confirm-dialog {
  animation: toastIn 0.18s var(--ease);
}

.ban-reason-dialog {
  width: min(100%, 500px);
}

.ban-reason-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.ban-reason-field span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.ban-reason-field textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  color: var(--white);
  font: 500 14px/1.55 var(--font-body);
}

.ban-reason-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055);
}

.danger-action {
  border-color: rgba(255, 181, 181, 0.34) !important;
  color: #ffb5b5 !important;
}

.dotted-links .text-link + .text-link {
  margin-left: 12px;
}

.dotted-links .text-link + .text-link::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--quiet);
  transform: translateY(-50%);
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.staff-login-panel {
  padding: 42px 34px 36px;
}

.staff-login-panel .auth-head {
  margin-bottom: 30px;
}

.staff-login-panel .auth-form {
  margin-top: 0;
}

.staff-login-panel .btn[type="submit"] {
  min-width: 142px;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 32px;
}

.typing-title {
  display: inline-block;
  width: 10.5ch;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
  text-wrap: nowrap;
  border-right: 2px solid var(--white);
  animation:
    typing 0.85s steps(11, end) both,
    caret 0.9s step-end infinite;
}

.legal-wrap {
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 30px;
  text-align: center;
}

.legal-section h2 {
  margin-top: 10px;
}

.legal-section p,
.legal-section li {
  max-width: 760px;
  margin: 14px auto 0;
}

.unknown-icon {
  width: 82px;
  height: 82px;
  margin: 18px auto 10px;
  border-radius: 24px 40px 24px 40px;
}

.unknown-icon svg {
  width: 34px;
  height: 34px;
}

.unknown-code {
  color: var(--quiet);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 32px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  justify-self: start;
}

.footer-brand span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.footer-copy {
  justify-self: center;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.24s var(--ease);
}

.footer-links a:hover {
  border-color: var(--line-hot);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transform: translateY(-1px);
}

.staff-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.staff-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(202, 255, 202, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(22px);
  overflow-y: auto;
}

.staff-nav-label {
  margin-top: 34px;
  color: var(--quiet);
}

.staff-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.staff-nav button {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.staff-nav button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 52%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 0.24s ease, transform 0.3s var(--ease);
}

.staff-nav button span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.staff-nav button svg {
  width: 15px;
  height: 15px;
}

.staff-nav button:hover,
.staff-nav button.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateX(2px);
  box-shadow: 0 12px 26px rgba(255, 255, 255, 0.1);
}

.staff-nav button:hover::before,
.staff-nav button.active::before {
  opacity: 1;
  transform: translateX(0);
}

.nav-count {
  color: inherit;
  opacity: 0.72;
}

.staff-main {
  min-width: 0;
  padding: 26px;
  background:
    radial-gradient(circle at 85% 0%, rgba(202, 255, 202, 0.035), transparent 34%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.026), transparent 30%);
}

.staff-topbar,
.staff-page-head,
.staff-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.staff-topbar {
  min-height: 62px;
  margin-bottom: 28px;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.staff-notification-menu {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.staff-notification-menu .notification-button,
.staff-notification-menu .notification-button.icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.24);
}

.staff-notification-menu .notification-button:hover,
.staff-notification-menu.open .notification-button,
.staff-notification-menu .notification-button.icon-square:hover {
  background: rgba(8, 8, 8, 0.92);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.34);
}

.queue-change-button,
.queue-push-button {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 44px;
}

.premium-feedback-manager {
  border-color: rgba(202, 169, 255, 0.18);
}

.premium-feedback-staff-list {
  display: grid;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  scrollbar-width: none;
}

.premium-feedback-staff-list::-webkit-scrollbar {
  display: none;
}

.premium-feedback-staff-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--muted);
}

.ticket-empty {
  min-height: 112px;
  align-self: start;
}

.premium-feedback-staff-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--glow-x, 16%) var(--glow-y, 16%), rgba(202, 169, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  animation: feedbackCardIn 0.42s var(--ease) both;
}

.premium-feedback-staff-head {
  justify-content: space-between;
}

.premium-feedback-staff-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.premium-feedback-staff-body {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
}

.premium-feedback-staff-body > strong {
  color: var(--white);
}

.premium-feedback-current-reply {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(202, 255, 202, 0.14);
  border-radius: 18px;
  background: rgba(202, 255, 202, 0.035);
}

.premium-feedback-current-reply small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.premium-feedback-reply-form {
  display: grid;
  gap: 10px;
}

.premium-feedback-reply-form textarea {
  min-height: 96px;
  resize: vertical;
}

.premium-feedback-reply-form > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.premium-feedback-reply-form select {
  max-width: 170px;
}

.queue-change-button.is-queued,
.queue-push-button.is-queued {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 58%),
    rgba(255, 255, 255, 0.075);
}

.queue-push-button [data-queue-count] {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.queue-push-button.is-working svg {
  animation: spin 0.9s linear infinite;
}

.staff-page-head {
  align-items: end;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.78);
  box-shadow: var(--shadow);
}

.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(202, 255, 202, 0.085), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(202, 169, 255, 0.115), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.86);
}

.overview-hero::after {
  content: "";
  position: absolute;
  inset: auto 28px 0 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.72;
}

.overview-copy,
.overview-head-controls {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.overview-head-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.52fr);
  gap: 14px;
  align-items: stretch;
}

.overview-head-controls .quick-search {
  width: 100%;
  height: 100%;
}

.staff-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: 2px;
  font-weight: 400;
}

[data-staff-panel][hidden] {
  display: none !important;
}

.value-updated {
  animation: valuePulse 0.42s var(--ease);
}

.value-flip {
  animation: valueFlip 0.52s var(--ease);
  filter: blur(0);
}

.is-spinning svg {
  animation: spin 0.8s linear infinite;
}

.operations-shell.is-refreshing-data .staff-panel,
.operations-shell.is-refreshing-data .staff-stat {
  transition: transform 0.28s var(--ease), border-color 0.22s ease, background 0.22s ease, opacity 0.18s ease;
}

.head-copy {
  max-width: 760px;
  margin-top: 18px;
}

.quick-search {
  align-self: start;
  justify-self: end;
  width: min(100%, 320px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.82);
}

.quick-search .form-label {
  grid-column: 1 / -1;
}

.quick-search svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.quick-search .input {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.lookup-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 5, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  animation: toastIn 0.18s var(--ease);
}

.lookup-results button,
.role-result,
.setting,
.deploy-log-entry {
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.24s var(--ease);
}

.lookup-results button:hover,
.role-result:hover,
.setting:hover,
.deploy-log-entry:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}

.lookup-results section {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.lookup-results strong {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.lookup-results button,
.lookup-results p {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  text-align: left;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lookup-results button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.lookup-results small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
}

.staff-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.ops-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-stats .staff-stat {
  min-height: 214px;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle 310px at var(--glow-x, 82%) var(--glow-y, 18%), rgba(202, 255, 202, 0.095), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.016)),
    rgba(8, 8, 8, 0.82);
}

.ops-stats .staff-stat:nth-child(7),
.ops-stats .staff-stat:nth-child(8) {
  border-color: rgba(202, 169, 255, 0.22);
  background:
    radial-gradient(circle 310px at var(--glow-x, 82%) var(--glow-y, 18%), rgba(202, 169, 255, 0.15), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.86);
}

.analytics-range {
  max-width: none;
}

.staff-stat {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.staff-stat::before,
.staff-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x, 16%) var(--glow-y, 16%), rgba(202, 255, 202, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(202, 255, 202, 0.065), transparent 34%, rgba(255, 255, 255, 0.034));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.staff-stat:hover::before,
.staff-panel:hover::before {
  opacity: 1;
}

.operations-shell .staff-panel::after,
.operations-shell .staff-stat::after {
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle 285px at var(--glow-x, 50%) var(--glow-y, 42%), rgba(255, 255, 255, 0.115), transparent 74%);
  transform: none;
  transition: opacity 0.24s ease;
}

.operations-shell .staff-panel:hover::after,
.operations-shell .staff-stat:hover::after {
  opacity: 0.72;
  transform: none;
}

.staff-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.staff-stat-value {
  margin-top: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.88;
}

.spark {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 46px;
}

.spark canvas {
  width: 100% !important;
  height: 100% !important;
}

.spark span {
  flex: 1;
  min-width: 4px;
  border-radius: 999px 999px 4px 4px;
  background: var(--white);
}

.staff-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.staff-grid.two {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.ops-summary-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.72fr) minmax(240px, 0.6fr) minmax(240px, 0.68fr);
}

.staff-panel {
  padding: 26px;
  border-radius: 24px;
  overflow: visible;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.staff-section-head {
  align-items: start;
  margin-bottom: 20px;
}

.staff-section-head.has-table-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  align-items: start;
  gap: 16px;
  overflow: visible;
}

.staff-section-head.has-table-controls > div:first-child {
  min-width: 0;
}

.staff-section-head h2 {
  color: var(--white);
  font-size: 24px;
}

.staff-chart {
  position: relative;
  display: block;
  height: 210px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(255, 255, 255, 0.025);
}

.value-chart.tall {
  height: 260px;
}

.compact-chart {
  height: 230px;
}

.staff-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.staff-stat-sub[data-trend="good"] {
  color: #caffca;
}

.staff-stat-sub[data-trend="bad"] {
  color: #ffb5b5;
}

.executor-uptime-chart {
  height: 128px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(255, 255, 255, 0.025);
}

.executor-uptime-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.uptime-fallback {
  height: 100%;
  display: flex;
  align-items: end;
  gap: 5px;
}

.uptime-fallback span {
  flex: 1 1 0;
  min-width: 4px;
  border-radius: 999px 999px 4px 4px;
  background: rgba(255, 255, 255, 0.72);
}

.uptime-fallback span.empty {
  border: 1px solid rgba(255, 181, 181, 0.28);
  background: repeating-linear-gradient(135deg, rgba(255, 181, 181, 0.22) 0 4px, rgba(255, 255, 255, 0.07) 4px 8px);
}

.setting.field {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: visible;
  z-index: 4;
}

.maintenance-settings .setting.field {
  padding-top: 12px;
}

.maintenance-settings .setting.field .input,
.maintenance-settings .setting.field .custom-select {
  margin-top: 4px;
}

.setting.field:has(.custom-select.open) {
  z-index: 20;
}

.activity-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.activity-list li > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.activity-list i {
  width: 18px;
  height: 18px;
  color: var(--muted);
  justify-self: center;
}

.activity-list strong {
  display: block;
  color: var(--white);
  overflow-wrap: anywhere;
}

.activity-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.rank-list,
.ops-list,
.state-grid {
  display: grid;
  gap: 10px;
}

.rank-list div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.rank-list span,
.ops-list span,
.state-grid span {
  color: var(--muted);
}

.rank-list strong,
.ops-list strong,
.state-grid strong {
  color: var(--white);
}

.rank-list i {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: var(--white);
  opacity: 0.88;
}

.ops-list {
  list-style: none;
}

.ops-list li,
.state-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.security-priority-panel {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 140, 140, 0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(7, 7, 7, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 60px rgba(0, 0, 0, 0.24);
}

.security-priority-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 18px;
}

.security-priority-head div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.security-priority-head i {
  width: 18px;
  height: 18px;
  color: #ffb3b3;
}

.security-priority-head span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.security-priority-head strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
}

.security-priority-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.security-priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-priority-card {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    rgba(9, 9, 9, 0.86);
  overflow: hidden;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.security-priority-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.92);
}

.security-priority-card.review-hold {
  border-color: rgba(255, 160, 160, 0.32);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 84, 84, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.018)),
    rgba(12, 8, 8, 0.9);
}

.security-priority-card.soft-signal {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.72);
}

.security-priority-card-head {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.security-priority-card-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.security-priority-card-head i {
  width: 16px;
  height: 16px;
}

.security-priority-card-head strong {
  min-width: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-priority-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.security-priority-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.security-priority-meta span,
.security-identifier-strip span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-priority-meta b {
  display: block;
  margin-bottom: 4px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.security-identifier-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.security-identifier-strip span {
  max-width: 100%;
}

.security-priority-empty {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.security-priority-empty i {
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.security-priority-empty strong {
  color: var(--white);
  font-size: 1.1rem;
}

.security-summary-grid,
.tamper-grid {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
}

.mini-metrics div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.76);
  overflow: hidden;
}

.session-summary-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.014)),
    rgba(6, 6, 6, 0.82);
}

.session-summary-grid div::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.security-card {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.014)),
    rgba(8, 8, 8, 0.82);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.security-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 10, 0.9);
}

.security-card i {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.mini-metrics span,
.security-card span {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.mini-metrics strong,
.security-card strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.9;
  font-weight: 400;
}

.security-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.security-card.warn {
  border-color: rgba(255, 231, 168, 0.24);
}

.security-card.critical {
  border-color: rgba(255, 181, 181, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02)),
    rgba(14, 14, 14, 0.84);
}

.security-subhead {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.security-subhead.compact {
  margin-top: 16px;
}

.security-subhead h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

#security .table-wrap {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(9, 9, 9, 0.74);
}

#security .table-wrap + .table-wrap {
  margin-top: 16px;
}

#security [data-ban-link-table] td,
#security [data-ban-link-table] th {
  padding: 16px 18px;
}

.table-controls {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 42px minmax(210px, auto) 42px;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 80;
}

#audit {
  min-width: 0;
}

#audit .table-wrap {
  max-width: 100%;
}

#audit .staff-table {
  table-layout: fixed;
}

#audit .staff-table td {
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.audit-details-cell {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readable-dialog {
  width: min(100%, 620px);
}

.readable-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.readable-list span {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.table-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  min-width: 0;
}

.table-search svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.table-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
}

.table-pager {
  min-height: 46px;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 30px rgba(0, 0, 0, 0.16);
}

.table-pager span {
  min-width: 118px;
  padding: 0 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.1px;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-pager .icon-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
}

.table-pager .icon-button:not(:disabled):hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: none;
}

.table-pager .icon-button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.filter-control {
  position: relative;
  min-width: 0;
  width: 42px;
}

.table-controls .filter-button {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.028);
  color: var(--muted);
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s var(--ease);
}

.table-controls .filter-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.table-controls .filter-button.active {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.065);
}

.table-controls .filter-button:hover,
.table-controls .filter-button.is-open {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.038)),
    rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.floating-filter-menu {
  position: fixed;
  z-index: 10000;
  width: 218px;
  max-height: min(168px, calc(100vh - 24px));
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 8, 0.985);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  opacity: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  pointer-events: none;
  transform: translateY(-2px) scaleY(0.985);
  filter: blur(2px);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.28s var(--ease), filter 0.2s ease;
}

.floating-filter-menu[data-dropdown-direction="up"] {
  border-radius: 20px 20px 0 0;
  transform: translateY(2px) scaleY(0.985);
  transform-origin: bottom right;
}

.floating-filter-menu::-webkit-scrollbar {
  display: none;
}

.floating-filter-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.floating-filter-menu button {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.2s var(--ease);
}

.floating-filter-menu button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.floating-filter-menu button:hover,
.floating-filter-menu button.active {
  background: var(--white);
  color: var(--black);
  transform: translateX(2px);
}

.floating-filter-menu button.active {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (max-width: 1320px) {
  .staff-section-head.has-table-controls {
    grid-template-columns: 1fr;
  }

  .table-controls {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .table-controls {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .table-search {
    grid-column: 1 / -1;
  }

}

@media (max-width: 560px) {
  .table-controls {
    grid-template-columns: 1fr 1fr;
  }

  .table-pager,
  .table-controls > [data-export-table] {
    grid-column: 1 / -1;
  }

}

.page-loader {
  display: none !important;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.page-loader i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  animation: page-dot 0.72s ease-in-out infinite;
}

.page-loader i:nth-child(2) { animation-delay: 0.12s; }
.page-loader i:nth-child(3) { animation-delay: 0.24s; }

.operations-shell.is-refreshing-data .page-loader {
  display: none !important;
  opacity: 0;
}

@keyframes page-dot {
  0%, 100% { transform: translateY(3px); opacity: 0.35; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes executorSetPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(202, 255, 202, 0); }
  45% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(202, 255, 202, 0.08); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(202, 255, 202, 0); }
}

.ops-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.code-input {
  min-height: 170px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.wide-table {
  min-width: 0;
}

.ops-table th,
.ops-table td {
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-settings {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 14px;
}

.settings-section-wide {
  grid-column: 1 / -1;
}

.loader-source-input {
  min-height: 260px;
}

.sources-section {
  gap: 16px;
}

.sources-section .token-control {
  padding: 14px 16px;
}

.module-manager {
  display: grid;
  gap: 16px;
  padding: 18px 16px 16px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.compact-module-head {
  padding-bottom: 14px;
  margin-bottom: 6px;
}

.module-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
  margin-bottom: 4px;
}

.source-save-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.source-save-row .text-button.primary {
  min-height: 44px;
}

.module-source-input {
  min-height: 220px;
  resize: vertical;
}

.module-manager .source-save-row {
  justify-self: start;
  margin-top: 8px;
}

.module-source-input[readonly] {
  color: rgba(255, 255, 255, 0.82);
  cursor: text;
}

.embed-composer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 14px;
}

.news-composer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(260px, 1fr);
  gap: 14px;
}

.news-composer-grid [data-news-field] {
  transition: opacity 0.2s ease, transform 0.22s var(--ease), max-height 0.24s var(--ease);
}

.news-composer-grid [data-news-field].news-adaptive-hidden {
  display: none;
}

.communications-news-manager {
  margin-bottom: 18px;
}

.communications-news-manager + .communications-embed-manager,
.communications-embed-manager {
  margin-top: 18px;
}

.embed-json-input {
  min-height: 260px;
  resize: vertical;
}

.news-body-input {
  min-height: 180px;
  resize: vertical;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.22s var(--ease);
}

.inline-check input {
  appearance: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.inline-check input::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  opacity: 0;
  transform: rotate(-45deg) scale(0.68);
  transition: opacity 0.16s ease, transform 0.2s var(--ease);
}

.inline-check input:checked {
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
}

.inline-check input:checked::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.inline-check:hover,
.inline-check:has(input:focus-visible) {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-1px);
}

.news-preview-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.news-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.news-preview-card > strong {
  min-width: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.news-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.news-preview-meta .tag,
.news-card-actions .tag {
  min-width: 0;
}

.news-preview-body {
  min-width: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.news-preview-body p {
  margin: 0;
}

.news-preview-body p + p {
  margin-top: 12px;
}

.news-preview-body strong,
.news-preview-body b {
  color: var(--white);
}

.news-preview-body a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 3px;
}

.news-preview-body code {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.news-preview-body pre {
  max-width: 100%;
  margin: 8px 0 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.38);
  overflow: auto;
  scrollbar-width: none;
}

.news-preview-body pre::-webkit-scrollbar {
  display: none;
}

.news-preview-body pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.news-preview-body blockquote {
  margin: 8px 0 0;
  padding: 8px 0 8px 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.78);
}

.embed-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-embed-history {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  scrollbar-width: none;
  margin-top: 14px;
}

.discord-embed-history::-webkit-scrollbar {
  display: none;
}

.discord-embed-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.discord-embed-entry strong,
.discord-embed-entry span {
  display: block;
  max-width: min(62vw, 920px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-embed-entry span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.developer-signal-grid div {
  min-height: 112px;
}

.developer-signal-grid strong {
  font-size: 30px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.docs-tabs {
  --doc-index: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.docs-tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 84px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(calc(var(--doc-index) * 92px));
  transition: transform 0.34s var(--ease), width 0.24s ease;
  pointer-events: none;
}

.docs-tabs button {
  position: relative;
  z-index: 1;
  width: 84px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease;
}

.docs-tabs button:hover,
.docs-tabs button.active {
  transform: translateY(-1px);
  color: var(--black);
}

.docs-tabs svg {
  width: 14px;
  height: 14px;
}

.docs-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.76);
}

.docs-card h3 {
  color: var(--white);
  font-size: 18px;
}

.docs-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.docs-card pre {
  margin-top: 14px;
  padding: 14px;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.34);
}

.docs-card code {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.staff-docs-locked .docs-tabs button {
  opacity: 0.42;
  pointer-events: none;
}

.docs-locked-card {
  border-color: rgba(255, 255, 255, 0.18);
  filter: saturate(0.65);
}

.staff-readonly .text-button.is-disabled,
.staff-readonly .mini-actions button.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.staff-readonly .staff-form input:disabled,
.staff-readonly .staff-form textarea:disabled,
.staff-readonly .staff-form select:disabled {
  opacity: 0.66;
  cursor: not-allowed;
}

.settings-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  overflow: visible;
}

.settings-section:first-child {
  grid-row: span 1;
}

.settings-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.settings-section-head h3 {
  color: var(--white);
  font-size: 18px;
}

.settings-section-head p {
  color: var(--muted);
}

.settings-wide {
  grid-column: span 2;
}

.role-manager {
  display: grid;
  gap: 14px;
  position: relative;
  overflow: visible;
  z-index: 4;
}

.deploy-manager {
  display: grid;
  gap: 14px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.deploy-actions .text-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
}

.deploy-log {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  scrollbar-width: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

.deploy-log::-webkit-scrollbar,
.release-history::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.release-history {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}

.release-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(202, 255, 202, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.022);
}

.release-card span,
.release-card small {
  min-width: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.release-card strong {
  min-width: 0;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.release-card small {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-card.is-empty {
  opacity: 0.62;
}

.deploy-log div,
.deploy-log-entry {
  overflow-wrap: anywhere;
}

.deploy-log-entry {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(90px, 0.55fr) minmax(90px, 0.55fr) minmax(160px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.deploy-log-entry strong,
.deploy-log-entry em {
  color: var(--white);
  font-style: normal;
}

.deploy-log-entry span,
.deploy-log-entry small {
  color: var(--muted);
}

.role-search {
  max-width: 520px;
  margin-left: auto;
}

.role-search-results {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 7, 7, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.role-search-results:empty {
  display: none;
}

.role-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s var(--ease);
  overflow: visible;
}

.role-result:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-1px);
}

.role-result strong {
  display: block;
  color: var(--white);
}

.role-result span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.role-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
  z-index: 5;
}

.role-manager .table-wrap {
  overflow: visible;
  padding-bottom: 72px;
}

.role-manager .staff-table {
  min-width: 0;
  overflow: visible;
}

.role-manager .staff-table tbody,
.role-manager .staff-table tr,
.role-manager .staff-table td {
  overflow: visible;
}

.role-user-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.role-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.role-select-wrap .custom-select {
  width: 100%;
  min-width: 132px;
}

.role-select-wrap .custom-select-button {
  min-height: 38px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.role-select-wrap .custom-select-menu {
  z-index: 10020;
  border-radius: 14px;
}

.compact-select {
  min-height: 38px;
  min-width: 120px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.role-save-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
}

.staff-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
}

.staff-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.staff-form .text-button.primary,
.staff-form .text-button.ghost {
  min-height: 44px;
  padding: 0 18px;
  gap: 8px;
}

.staff-form .text-button.ghost {
  min-width: 136px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.staff-form .text-button.primary svg,
.staff-form .text-button.ghost svg {
  width: 16px;
  height: 16px;
}

.staff-form {
  border-radius: var(--radius-md);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.staff-form.is-editing {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 18px 54px rgba(255, 255, 255, 0.035);
}

.premium-preview-editor {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(190, 128, 255, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(168, 85, 247, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-preview-head .form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eadcff;
}

.premium-preview-head svg {
  width: 15px;
  height: 15px;
  color: #c084fc;
}

.premium-preview-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.premium-preview-head strong {
  max-width: 220px;
  padding: 8px 10px;
  border: 1px solid rgba(190, 128, 255, 0.22);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  color: #eadcff;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.compact-code-input {
  min-height: 170px;
}

.preview-actions {
  margin-top: 2px;
}

.preview-save-button {
  border-color: rgba(190, 128, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  scrollbar-width: none;
}

.staff-panel.is-panel-loading .table-wrap::after,
.staff-panel.is-panel-loading .game-admin-grid::after,
.staff-panel.is-panel-loading .security-grid::after {
  content: "Updating";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  pointer-events: none;
  animation: panelIn 180ms var(--ease) both;
  z-index: 8;
}

.game-admin-grid,
.security-grid {
  position: relative;
}

.staff-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.session-table-wrap {
  overflow-x: hidden;
  padding-bottom: 0;
}

.session-table {
  min-width: 0;
  table-layout: fixed;
}

.session-table th,
.session-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.session-table td strong,
.meta-line {
  display: block;
}

.session-table td strong {
  color: var(--white);
}

.meta-line {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.staff-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.table-wrap::-webkit-scrollbar-thumb,
.staff-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.table-wrap::-webkit-scrollbar-track,
.staff-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.035);
}

.staff-table th,
.staff-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.staff-table th {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.staff-table td {
  color: var(--muted);
  vertical-align: top;
}

.staff-table tr:last-child td {
  border-bottom: 0;
}

.staff-table strong {
  color: var(--white);
}

.truncate-cell {
  display: inline-block;
  max-width: min(22ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.row-actions {
  margin-top: 8px;
  justify-content: flex-start;
  min-width: 34px;
  max-width: 34px;
}

.record-dialog {
  width: min(100%, 760px);
}

.record-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 18px;
  max-height: min(58vh, 560px);
  overflow: auto;
  scrollbar-width: none;
}

.record-detail-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.record-detail-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.record-detail-grid span {
  display: block;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.record-detail-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.staff-panel,
.staff-stat,
.settings-section,
.table-wrap,
.game-admin-card {
  will-change: transform, opacity;
}

.staff-panel:not([hidden]),
.staff-panel.is-entering {
  animation: panelIn 380ms var(--ease) both;
}

.operations-shell.is-tab-switching .staff-main {
  transition: filter 0.28s ease;
  filter: saturate(1.05);
}

.staff-table tbody tr,
.game-admin-card,
.security-card,
.staff-stat {
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.staff-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.028);
}

.staff-table tbody tr:hover,
.staff-stat:hover {
  transform: translateY(-1px);
}

.staff-readonly .sensitive-hidden,
.staff-readonly [data-sensitive-hidden] {
  filter: blur(5px);
  opacity: 0.55;
  user-select: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mini-actions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
}

.mini-actions button {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  overflow: visible;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.mini-actions button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.mini-actions button span {
  display: none;
}

.mini-actions button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateY(-1px);
}

.floating-tooltip {
  position: fixed;
  z-index: 9999;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.95);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-4px);
  transition: opacity 0.16s ease, transform 0.18s ease;
}

.floating-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(0);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-cell strong {
  min-width: 0;
}

.user-cell.is-premium strong,
.premium-user-name {
  color: #d7b7ff;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.38);
}

.staff-table tr.is-premium-user {
  background:
    radial-gradient(circle at 0 50%, rgba(168, 85, 247, 0.09), transparent 42%),
    rgba(168, 85, 247, 0.018);
}

.staff-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(190, 128, 255, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(115, 76, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
  color: #eadcff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 28px rgba(124, 58, 237, 0.13);
  white-space: nowrap;
}

.staff-premium-badge svg {
  width: 13px;
  height: 13px;
  color: #d7b7ff;
  stroke-width: 2.4;
}

.premium-user-pill {
  border-color: rgba(190, 128, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(255, 255, 255, 0.045));
  color: #eadcff;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.game-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 6px;
  object-fit: cover;
  vertical-align: middle;
}

.game-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px;
  min-width: 0;
}

.game-admin-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 14px;
  min-width: 0;
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 24px;
  isolation: isolate;
  background: rgba(8, 8, 8, 0.92);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.2);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease);
  animation: cardIn 420ms var(--ease) both;
}

.game-admin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.23);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 72px rgba(0, 0, 0, 0.3);
}

.game-record-card.game-state-active .record-status strong,
.game-admin-card.game-state-active .game-admin-kicker,
.game-admin-card.game-state-active .game-admin-state-pill {
  color: #caffca;
}

.game-record-card.game-state-feedback_preview .record-status strong,
.game-admin-card.game-state-feedback_preview .game-admin-kicker,
.game-admin-card.game-state-feedback_preview .game-admin-state-pill {
  color: #d7c7ff;
}

.game-admin-card.game-state-feedback_preview {
  border-color: rgba(167, 132, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 64px rgba(102, 64, 190, 0.13);
}

.game-record-card.game-state-down .record-status strong,
.game-admin-card.game-state-down .game-admin-kicker,
.game-admin-card.game-state-down .game-admin-state-pill {
  color: #ffb5b5;
}

.game-record-card.game-state-in_development .record-status strong,
.game-admin-card.game-state-in_development .game-admin-kicker,
.game-admin-card.game-state-in_development .game-admin-state-pill {
  color: #ffe7a8;
}

.game-record-card.game-state-planned .record-status strong,
.game-admin-card.game-state-planned .game-admin-kicker,
.game-admin-card.game-state-planned .game-admin-state-pill {
  color: #b9d7ff;
}

.game-admin-card.game-state-down {
  border-color: rgba(255, 181, 181, 0.24);
}

.game-admin-card.game-state-in_development {
  border-color: rgba(255, 231, 168, 0.22);
}

.game-admin-card.game-state-planned {
  border-color: rgba(185, 215, 255, 0.2);
}

.game-admin-card.has-premium-preview {
  border-color: rgba(190, 128, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(124, 58, 237, 0.16);
}

.game-admin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.04), rgba(8, 8, 8, 0.8) 72%),
    var(--game-bg, none) center / cover no-repeat;
  opacity: 0.44;
  filter: saturate(1.05) contrast(0.92);
  z-index: 0;
  transition: opacity 240ms var(--ease), filter 240ms var(--ease), transform 360ms var(--ease);
}

.game-admin-card:hover::before {
  opacity: 0.54;
  filter: saturate(1.18) contrast(0.96);
  transform: scale(1.015);
}

.game-admin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 260px at var(--glow-x, 18%) var(--glow-y, 12%), rgba(255, 255, 255, 0.12), transparent 62%),
    linear-gradient(145deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.68) 58%, rgba(18, 18, 18, 0.9)),
    rgba(120, 120, 120, 0.065);
  z-index: 0;
}

.game-admin-card.has-premium-preview::after {
  background:
    radial-gradient(circle 280px at var(--glow-x, 18%) var(--glow-y, 12%), rgba(216, 180, 254, 0.18), transparent 64%),
    linear-gradient(145deg, rgba(8, 8, 8, 0.94), rgba(20, 12, 30, 0.72) 58%, rgba(10, 8, 13, 0.92)),
    rgba(120, 120, 120, 0.08);
}

.game-admin-card > * {
  position: relative;
  z-index: 1;
}

.game-admin-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  min-width: 0;
}

.game-admin-title-copy {
  min-width: 0;
}

.game-admin-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  object-fit: cover;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.24);
}

.game-admin-title strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-admin-title span {
  display: block;
  margin-top: 5px;
}

.game-admin-title span:not(.game-admin-kicker) {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-admin-kicker,
.game-admin-state-pill,
.game-admin-source-pill,
.game-admin-branch {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-admin-kicker {
  margin: 0 0 10px;
}

.game-admin-kicker svg,
.game-admin-state-pill svg,
.game-admin-source-pill svg,
.game-admin-branch svg,
.game-admin-preview svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.game-admin-topline,
.game-admin-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.game-admin-topline {
  padding-bottom: 2px;
}

.game-admin-source-pill {
  color: rgba(255, 255, 255, 0.72);
}

.game-admin-branch {
  color: rgba(255, 255, 255, 0.62);
}

.game-admin-branch.is-preview-live {
  border-color: rgba(190, 128, 255, 0.32);
  background: rgba(168, 85, 247, 0.12);
  color: #eadcff;
}

.game-admin-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.game-admin-meta div,
.game-admin-source > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.03);
}

.game-admin-meta .is-primary {
  border-color: rgba(202, 255, 202, 0.16);
  background:
    radial-gradient(circle at 100% 0, rgba(202, 255, 202, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.game-admin-meta span,
.game-admin-source span,
.game-admin-preview span {
  display: block;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.game-admin-meta strong,
.game-admin-source strong,
.game-admin-preview strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.game-admin-source {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 8px;
}

.game-admin-source strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.game-admin-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(190, 128, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.13), transparent 54%),
    rgba(255, 255, 255, 0.03);
}

.game-admin-preview > svg {
  width: 28px;
  height: 28px;
  padding: 7px;
  border: 1px solid rgba(190, 128, 255, 0.28);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
}

.game-admin-preview strong {
  color: #eadcff;
  font-size: 0.8rem;
}

.game-admin-foot,
.game-admin-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.game-admin-action-group.is-preview {
  padding: 4px;
  border: 1px solid rgba(190, 128, 255, 0.16);
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.07);
}

.game-admin-action-group .mini-action-button {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.game-admin-action-group.is-preview .mini-action-button {
  border-color: rgba(190, 128, 255, 0.22);
  color: #d8b4fe;
}

.game-admin-action-group .mini-action-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.game-admin-action-group.is-preview .mini-action-button:hover {
  background: rgba(168, 85, 247, 0.15);
}

.game-admin-actions {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.game-admin-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.game-admin-action-row.is-source {
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.game-admin-action-row.is-ops {
  justify-content: flex-end;
}

.game-action-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.game-action-button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.game-action-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.game-action-button.is-primary {
  border-color: rgba(202, 255, 202, 0.18);
  color: #dfffdc;
}

.game-action-button.is-preview {
  border-color: rgba(190, 128, 255, 0.25);
  background:
    radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.15), transparent 58%),
    rgba(168, 85, 247, 0.08);
  color: #eadcff;
}

.game-action-button.is-danger {
  border-color: rgba(255, 120, 120, 0.2);
  color: #ffc2c2;
}

@media (max-width: 720px) {
  .game-admin-action-row,
  .game-admin-action-row.is-ops {
    justify-content: stretch;
  }

  .game-action-button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

.premium-preview-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #d7b7ff;
}

.premium-preview-inline svg {
  width: 12px;
  height: 12px;
  color: #c084fc;
}

.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

html,
body,
.staff-sidebar,
.staff-main,
.table-wrap,
.docs-card pre {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.staff-sidebar::-webkit-scrollbar,
.staff-main::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.docs-card pre::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (max-width: 720px) {
  .game-admin-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-admin-foot {
    grid-template-columns: 1fr;
  }

  .game-admin-foot .mini-actions {
    justify-content: flex-start;
  }
}

.muted-inline {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
}

.detail-row td {
  background: rgba(255, 255, 255, 0.018);
  max-width: none;
  overflow: visible;
  white-space: normal;
}

.detail-row .user-data-sheet {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.24s var(--ease),
    max-height 0.28s var(--ease),
    padding 0.24s ease;
}

.detail-row.is-open .user-data-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 3200px;
}

.detail-row.is-closing .user-data-sheet {
  opacity: 0;
  transform: translateY(-8px) scale(0.99);
  max-height: 0;
}

.detail-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  animation: toastIn 0.18s var(--ease);
}

.info-sheet {
  grid-template-columns: 1fr;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(5, 5, 5, 0.34);
}

.user-data-sheet {
  gap: 16px;
}

.user-sheet-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(202, 255, 202, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.026);
}

.user-sheet-head div {
  min-width: 0;
}

.user-sheet-head strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.user-sheet-head span:not(.pill) {
  display: block;
  margin-top: 3px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.user-sheet-avatar {
  width: 46px;
  height: 46px;
}

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

.user-info-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-grid div {
  min-height: 74px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
}

.info-grid span {
  padding: 0;
  border: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.info-grid strong {
  grid-column: auto;
  overflow-wrap: anywhere;
}

.detail-sheet strong {
  grid-column: 1 / -1;
}

.detail-sheet span {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
}

.roblox-account-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.roblox-sheet {
  display: grid;
  gap: 10px;
}

.sheet-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiet);
}

.sheet-subhead strong {
  color: var(--white);
}

.sheet-subhead span {
  padding: 0;
  border: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.roblox-account-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(202, 255, 202, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.026);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.24s var(--ease);
}

.roblox-account-list article:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.roblox-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.roblox-account-list article div {
  min-width: 0;
}

.roblox-account-list article span,
.roblox-account-list article small {
  display: block;
  color: var(--quiet);
  overflow-wrap: anywhere;
}

.user-readable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.user-readable-section,
.advanced-data-sheet {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.055), transparent 44%),
    rgba(255, 255, 255, 0.022);
}

.user-readable-section.wide {
  grid-column: 1 / -1;
}

.user-data-sheet .sheet-subhead strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: auto;
}

.user-data-sheet .sheet-subhead svg {
  width: 15px;
  height: 15px;
}

.user-info-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.user-metric-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 5px 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.02);
}

.user-metric-card svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.64);
}

.user-metric-card span {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.user-metric-card strong {
  grid-column: 1 / -1;
  min-width: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.user-metric-card small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-cloud span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.025);
}

.client-fingerprint-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.client-fingerprint-strip span {
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.026);
}

.client-fingerprint-strip small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.user-activity-list {
  display: grid;
  gap: 8px;
}

.user-activity-list p,
.advanced-record-list p {
  margin: 0;
  color: var(--muted);
}

.user-activity-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.user-activity-row svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 2px;
}

.user-activity-row div {
  min-width: 0;
}

.user-activity-row strong {
  display: block;
  grid-column: auto;
  color: var(--white);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.user-activity-row span {
  display: block;
  margin-top: 3px;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.advanced-data-sheet {
  padding: 0;
  overflow: hidden;
}

.advanced-data-sheet summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
}

.advanced-data-sheet summary::-webkit-details-marker {
  display: none;
}

.advanced-data-sheet summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--white);
  font-weight: 800;
}

.advanced-data-sheet summary svg {
  width: 16px;
  height: 16px;
}

.advanced-data-sheet summary small {
  color: var(--quiet);
  text-align: right;
  line-height: 1.35;
}

.advanced-data-grid {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  max-height: 720px;
  overflow-y: auto;
  scrollbar-width: none;
}

.advanced-data-grid::-webkit-scrollbar {
  display: none;
}

.advanced-group {
  display: grid;
  gap: 9px;
}

.advanced-record-list {
  display: grid;
  gap: 8px;
}

.advanced-record {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.advanced-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.advanced-record-head strong {
  grid-column: auto;
  color: var(--white);
  font-size: 12px;
}

.advanced-record-head span {
  padding: 0;
  border: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.advanced-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.advanced-field-grid div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.advanced-field-grid span {
  display: block;
  padding: 0;
  border: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.advanced-field-grid strong {
  display: block;
  grid-column: auto;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .user-readable-grid {
    grid-template-columns: 1fr;
  }

  .user-info-grid.compact,
  .advanced-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .user-readable-section,
  .advanced-data-sheet,
  .roblox-sheet {
    padding: 12px;
  }

  .user-info-grid.compact,
  .advanced-field-grid {
    grid-template-columns: 1fr;
  }

  .advanced-data-sheet {
    padding: 0;
  }

  .advanced-data-sheet summary {
    display: grid;
    justify-items: start;
    padding: 14px;
  }

  .advanced-data-sheet summary small {
    text-align: left;
  }

  .advanced-data-grid {
    max-height: 62vh;
    padding: 0 12px 12px;
  }

  .user-metric-card {
    min-height: 78px;
  }
}

.audit-read-action {
  justify-content: center;
  min-width: 34px;
  max-width: 34px;
}

.audit-read-action .mini-action-button,
.row-actions .mini-action-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 12px;
}

.version-sheet {
  gap: 12px;
}

.version-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.version-head span {
  padding: 0;
  border: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.version-list {
  display: grid;
  gap: 10px;
  max-height: min(54vh, 620px);
  overflow: auto;
  scrollbar-width: none;
}

.version-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.version-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.022);
}

.version-list article span,
.version-list article small {
  display: block;
  color: var(--quiet);
  overflow-wrap: anywhere;
}

.timed-ban-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.timed-ban-options .text-button {
  min-width: 0;
  justify-content: center;
  padding-inline: 12px;
}

.timed-ban-options .text-button.active {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.maintenance-grid {
  grid-template-columns: minmax(250px, 0.95fr) minmax(260px, 0.95fr) minmax(150px, 0.48fr) minmax(320px, 1.25fr) minmax(180px, 0.58fr);
  align-items: stretch;
  gap: 10px;
}

.maintenance-settings .settings-wide {
  grid-column: auto;
}

.maintenance-save {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.maintenance-save .text-button {
  width: min(100%, 190px);
  min-height: 44px;
  padding-inline: 18px;
}

.setting {
  min-height: 92px;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(5, 5, 5, 0.34);
  box-shadow: none;
}

.maintenance-toggles {
  display: grid;
  align-content: stretch;
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.setting-toggle-row {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 1px solid var(--line);
}

.maintenance-toggles .staff-card-label {
  min-height: 34px;
}

.setting-note {
  color: var(--quiet);
  font-size: 12px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 26px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.toggle span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--quiet);
  transition: transform 0.22s var(--ease), background 0.22s ease;
}

.toggle.on span {
  transform: translateX(19px);
  background: var(--white);
}

.construction-hero {
  min-height: calc(100svh - 74px);
  display: grid;
  place-items: center;
  padding: 76px 24px;
  text-align: center;
}

.status-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 50% -12%, var(--status-glow, rgba(255, 255, 255, 0.12)), transparent 42%),
    var(--bg);
  background-size: 82px 82px, 82px 82px, auto, auto;
}

.status-page {
  --status-tint: rgba(255, 255, 255, 0.16);
  --status-glow: rgba(255, 255, 255, 0.1);
}

.status-ban {
  --status-tint: rgba(255, 110, 110, 0.34);
  --status-glow: rgba(255, 72, 72, 0.18);
}

.status-maintenance {
  --status-tint: rgba(255, 210, 126, 0.32);
  --status-glow: rgba(255, 190, 88, 0.14);
}

.status-launching {
  --status-tint: rgba(185, 220, 255, 0.34);
  --status-glow: rgba(160, 210, 255, 0.15);
}

.status-card {
  width: min(100%, 940px);
  display: grid;
  gap: clamp(18px, 2.8vw, 26px);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026) 45%, rgba(255, 255, 255, 0.045)),
    rgba(8, 8, 8, 0.86);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  animation: statusCardIn 0.78s var(--ease) both;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, var(--status-tint), transparent) top left / 100% 1px no-repeat,
    radial-gradient(circle at var(--glow-x, 15%) var(--glow-y, 0%), var(--status-glow), transparent 35%);
}

.status-hero-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4.6vw, 42px);
  position: relative;
  z-index: 1;
}

.status-icon {
  width: clamp(92px, 13vw, 136px);
  height: clamp(92px, 13vw, 136px);
  display: grid;
  place-items: center;
  border: 1px solid var(--status-tint);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 10%, var(--status-glow), transparent 58%),
    rgba(255, 255, 255, 0.045);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 22px 55px rgba(0, 0, 0, 0.32);
}

.status-icon svg {
  width: clamp(44px, 7vw, 68px);
  height: clamp(44px, 7vw, 68px);
  stroke-width: 1.7;
}

.status-copy {
  min-width: 0;
  text-align: left;
}

.status-copy .page-title {
  max-width: 760px;
  margin: 6px 0 0;
  font-size: clamp(58px, 8vw, 108px);
}

.status-summary {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
}

.status-summary span,
.status-summary strong {
  display: block;
}

.status-summary strong {
  color: var(--white);
  font-weight: 760;
}

.status-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}

.status-ban .status-meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-meta-grid div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
}

.status-meta-grid span {
  display: block;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.status-meta-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.status-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.hero-sub {
  max-width: 610px;
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.8;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 750;
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.975);
  filter: blur(8px);
  transition:
    opacity 1.02s var(--ease),
    transform 1.02s var(--ease),
    filter 0.92s var(--ease);
  transition-delay: calc(var(--reveal-index, 0) * 58ms);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pageAuraDrift {
  from {
    background-position: 50% 0%, 0% 8%, 100% 28%, 50% 50%;
  }
  to {
    background-position: 50% 0%, 8% 14%, 92% 36%, 50% 50%;
  }
}

@keyframes pageVeilDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.82;
  }
  to {
    transform: translate3d(0, -18px, 0) scale(1.025);
    opacity: 1;
  }
}

@keyframes homeGamesMarquee {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes statusCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes navLoad {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentLoad {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hollowFlicker {
  0% {
    opacity: 0.38;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.16);
    text-shadow: none;
  }
  8% {
    opacity: 0.95;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
  }
  14% {
    opacity: 0.56;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.24);
    text-shadow: none;
  }
  24% {
    opacity: 1;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.18);
  }
  36% {
    opacity: 0.7;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
  }
  52% {
    opacity: 1;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.13);
  }
  68% {
    opacity: 0.86;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.36);
    text-shadow: none;
  }
  84%, 100% {
    opacity: 1;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.42);
    text-shadow: none;
  }
}

@keyframes iconSwapIn {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: scale(0.72) rotate(-18deg);
  }
  60% {
    opacity: 1;
    filter: blur(1px);
    transform: scale(1.12) rotate(4deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) rotate(0deg);
  }
}

@keyframes iconSwapReset {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.78) rotate(16deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) rotate(0deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes valuePulse {
  0% { transform: translateY(0); color: var(--white); }
  45% { transform: translateY(-2px); color: #caffca; }
  100% { transform: translateY(0); color: var(--white); }
}

@keyframes valueFlip {
  0% { opacity: 0.58; transform: translateY(8px) scale(0.98); filter: blur(5px); }
  55% { opacity: 1; transform: translateY(-2px) scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 10.5ch;
  }
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes loaderCopyBurst {
  0% {
    opacity: 0;
    transform: translateX(42%) scaleX(0.62);
    filter: blur(10px);
  }
  28% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
    filter: blur(3px);
  }
  100% {
    opacity: 0;
    transform: translateX(-128%) scaleX(1.26);
    filter: blur(14px);
  }
}

@keyframes feedbackCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1180px) {
  .promise-grid,
  .flow,
  .staff-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-grid,
  .security-grid,
  .docs-grid,
  .lookup-results,
  .card-grid,
  .ops-summary-grid,
	  .ops-settings,
	  .premium-layout,
	  .premium-roadmap,
	  .premium-home-section,
	  .premium-feedback-card,
	  .premium-trial-card {
		    grid-template-columns: 1fr;
		  }

	  .release-history,
	  .user-info-grid {
	    grid-template-columns: 1fr;
	  }

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

  .overview-head-controls {
    width: 100%;
  }

		  .table-controls {
	    grid-template-columns: 1fr;
	  }

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

@media (max-width: 980px) {
  .site-nav {
    --mobile-nav-right: 24px;
    --mobile-nav-gap: 8px;
    --mobile-nav-size: 46px;
    --mobile-nav-width: 266px;
    display: flex !important;
    justify-content: flex-start;
    gap: 16px;
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions.mobile-account-open {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    z-index: 60;
  }

  .nav-actions.mobile-account-open > .btn {
    display: none;
  }

  .nav-actions.mobile-account-open .account-menu-button {
    display: none;
  }

  .nav-actions.mobile-account-open > .notification-menu {
    display: none;
  }

  .nav-actions.mobile-account-open .account-dropdown {
    position: fixed;
    top: 72px;
    left: 14px;
    right: auto;
    width: min(292px, calc(100vw - 28px));
    padding: 10px;
    border-radius: 20px;
    transform-origin: top left;
  }

  .nav-actions.mobile-account-open .account-dropdown::before {
    display: none;
  }

  .nav-actions.mobile-account-open .account-card {
    padding: 8px;
  }

  .nav-actions.mobile-account-open .account-avatar-large {
    width: 46px;
    height: 46px;
  }

  .mobile-nav-actions {
    display: inline-flex;
    flex: 0 0 auto;
    position: absolute;
    top: 50%;
    right: var(--mobile-nav-right);
    margin-left: 0;
    z-index: 3;
    transform: translateY(-50%);
  }

  .mobile-account-action {
    display: grid;
    position: absolute;
    top: 50%;
    right: calc(var(--mobile-nav-right) + var(--mobile-nav-width) + var(--mobile-nav-gap));
    width: var(--mobile-nav-size);
    height: var(--mobile-nav-size);
    z-index: 4;
    transform: translateY(-50%);
  }

  .mobile-notification-action.logged-in {
    display: block;
    position: absolute;
    top: 50%;
    right: 350px;
    z-index: 3;
    transform: translateY(-50%);
  }

  .mobile-notification-action .notification-button {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 55px rgba(0, 0, 0, 0.3);
  }

  .mobile-notification-action .notification-button:hover,
  .mobile-notification-action.open .notification-button {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 55px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
  }

  .mobile-notification-action .notification-dropdown {
    position: fixed;
    top: 72px;
    left: 14px;
    right: auto;
    width: min(360px, calc(100vw - 28px));
    transform-origin: top left;
  }

  .mobile-account-action:hover,
  .mobile-account-action.logged-in {
    transform: translateY(calc(-50% - 1px));
  }

  .hero-manifesto {
    min-height: auto;
  }

  .manifesto-grid,
  .section-head,
  .record-list,
  .executor-grid,
  .key-layout,
  .staff-grid.two,
  .staff-split {
    grid-template-columns: 1fr;
  }

  .section-head.compact-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .compact-head .section-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .executor-head,
  .staff-page-head,
  .staff-topbar,
  .staff-section-head {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .executor-head {
    text-align: left;
  }

  .content-page .executor-head,
  .content-page .executor-status-line,
  .content-page .executor-card h2 {
    text-align: left;
    justify-content: flex-start;
  }

  .executor-toolbar-right {
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: stretch;
    margin-left: 0;
  }

  .executor-status-toolbar {
    grid-template-columns: 1fr;
  }

  .executor-cache-state {
    grid-column: auto;
  }

  .content-page .list-row,
  .content-page .executor-card,
  .content-page .legal-section,
  .content-page .page-hero-inner,
  .content-page .section-head,
  .content-page .list-toolbar {
    text-align: left;
  }

  .content-page .page-hero-inner,
  .content-page .section-head,
  .content-page .list-toolbar {
    align-items: flex-start;
  }

  .executor-score,
  .quick-search {
    width: 100%;
  }

  .staff-shell {
    grid-template-columns: 1fr;
  }

  .staff-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .game-record-card {
    padding-bottom: 78px;
  }

  .game-record-card.is-expanded {
    min-height: auto;
    padding: 18px;
    border-radius: 28px;
  }

  .game-expanded-card {
    grid-template-columns: 1fr;
  }

  .game-record-card.is-expanded .game-expanded-card {
    min-height: 0;
    max-height: 900px;
    grid-template-columns: 1fr;
  }

  .game-expanded-media,
  .game-expanded-thumb {
    min-height: 210px;
  }

  .game-record-card.is-expanded .game-expanded-media,
  .game-record-card.is-expanded .game-expanded-thumb {
    min-height: 250px;
  }

  .game-expanded-content {
    padding: 22px;
    text-align: center;
  }

  .game-expanded-meta {
    grid-template-columns: 1fr;
  }

  .game-expanded-icon {
    right: 16px;
    bottom: 16px;
    transform: none;
  }

  .game-record-card.is-expanded .game-expanded-icon {
    width: 70px;
    height: 70px;
    top: 16px;
    right: 76px;
    bottom: auto;
    border-radius: 22px;
  }

  .game-record-card.is-expanded .game-details-toggle {
    top: 14px;
    right: 14px;
  }

  .home-games-section {
    padding: 22px;
    border-radius: 28px;
  }

  .home-games-head {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: center;
  }

  .home-games-head .eyebrow,
  .home-games-head .btn {
    justify-self: center;
  }

  .home-games-head .section-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .home-games-marquee {
    margin-left: -10px;
    margin-right: -10px;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  }

  .home-game-card {
    flex-basis: min(72vw, 260px);
    min-height: 172px;
    padding: 17px;
    border-radius: 22px;
  }

  .premium-feedback-head,
  .premium-feedback-staff-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-feedback-state {
    width: 100%;
  }

  .premium-feedback-reply {
    margin-left: 0;
  }

  .premium-feedback-reply-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .premium-feedback-reply-form select,
  .premium-feedback-reply-form .custom-select,
  .premium-feedback-reply-form .text-button {
    width: 100%;
    max-width: none;
  }

  .role-search {
    max-width: none;
    margin-left: 0;
  }

  .role-result {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .role-result .role-control {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .role-result .role-select-wrap,
  .role-result .compact-select,
  .role-result .role-save-button {
    width: 100%;
  }

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

  .deploy-actions .text-button {
    width: 100%;
  }

  .release-history {
    grid-template-columns: 1fr;
  }

  .deploy-log-entry {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .session-table {
    display: block;
  }

  .session-table thead {
    display: none;
  }

  .session-table tbody,
  .session-table tr,
  .session-table td {
    display: block;
    width: 100%;
  }

  .session-table tr {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .session-table td {
    padding: 9px 0;
    border-bottom: 0;
  }

  .session-table td + td {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  html,
  body,
  .page,
  main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .site-nav {
    --mobile-nav-right: 14px;
    --mobile-nav-size: 34px;
    --mobile-nav-width: 196px;
    min-height: 0;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    padding: 10px 14px 12px;
    overflow: visible;
  }

  .brand span:last-child {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px 20px 13px 20px;
  }

  .brand-logo-img {
    width: 26px;
    height: 26px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav.has-mobile-notifications .brand {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-nav-actions {
    position: absolute;
    top: 50%;
    right: var(--mobile-nav-right);
    order: initial;
    display: grid;
    grid-template-columns: repeat(6, 30px);
    gap: 2px;
    padding: 3px;
    width: auto;
    max-width: 100%;
    transform: translateY(-50%);
  }

  .mobile-account-action {
    right: calc(var(--mobile-nav-right) + var(--mobile-nav-width) + var(--mobile-nav-gap));
    width: var(--mobile-nav-size);
    height: var(--mobile-nav-size);
  }

  .mobile-notification-action.logged-in {
    right: 254px;
  }

  .mobile-notification-action .notification-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
  }

  .mobile-notification-action .notification-button .lucide {
    width: 15px;
    height: 15px;
  }

  .mobile-notification-action .notification-dropdown {
    top: 66px;
    left: 10px;
    width: calc(100vw - 20px);
  }

  .mobile-account-action .lucide {
    width: 15px;
    height: 15px;
  }

  .mobile-nav-actions a {
    width: 30px;
    height: 30px;
  }

  .mobile-nav-actions::before {
    top: 3px;
    left: 3px;
    width: var(--mobile-bubble-w, 30px);
    height: 30px;
  }

  .mobile-nav-actions .lucide {
    width: 14px;
    height: 14px;
  }

  .notice-stack {
    top: 78px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .hero-manifesto,
  .page-hero,
  .section,
  .auth-wrap,
  .unknown-wrap,
  .construction-hero {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

  .content-page .page {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .content-page .page-hero,
  .content-page .section {
    width: 100%;
    max-width: 100%;
  }

  .content-page .section-inner,
  .content-page .page-hero-inner,
  .content-page .list-toolbar,
  .content-page .record-list,
  .content-page .selected-executor-panel,
  .content-page .executor-grid {
    width: min(100%, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .executor-toolbar-right {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .executor-range {
    width: 100%;
  }

  .executor-actions {
    align-items: flex-start;
  }

  .executor-link-group {
    justify-content: flex-start;
  }

  .manifesto-wrap,
  .page-hero-inner,
  .section-inner,
  .legal-wrap,
  .auth-panel,
  .unknown-panel,
  .status-panel {
    width: calc(100vw - 32px) !important;
    max-width: 430px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .content-page .page-hero-inner,
  .content-page .section-inner,
  .content-page .list-toolbar,
  .content-page .record-list,
  .content-page .selected-executor-panel,
  .content-page .executor-grid {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: 430px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .selected-executor-card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
  }

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

  .info-grid,
  .status-meta-grid,
  .developer-signal-grid,
  .roblox-account-list {
    grid-template-columns: 1fr;
  }

  .status-hero-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .status-card {
    text-align: center;
    border-radius: 24px;
  }

  .status-copy {
    text-align: center;
  }

  .status-copy .page-title,
  .status-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .timed-ban-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-grid,
  .promise-grid,
  .flow,
  .card-grid,
  .record-list,
  .executor-grid,
  .key-layout,
  .premium-layout,
  .premium-perk-grid,
  .premium-roadmap,
  .premium-home-section,
  .home-games-section,
  .home-games-head,
  .premium-home-feature-grid,
  .premium-trial-card,
  .premium-catalog-note,
  .game-state-list {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-manifesto {
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .manifesto-title {
    width: 100%;
    font-size: clamp(42px, 11vw, 48px);
    letter-spacing: 1.5px;
    overflow-wrap: anywhere;
  }

  .manifesto-title .outline {
    display: block;
    font-size: 0.78em;
  }

  .page-title {
    width: 100%;
    font-size: clamp(42px, 12vw, 52px);
    letter-spacing: 1.5px;
    overflow-wrap: anywhere;
  }

  .page-title .outline {
    font-size: 0.88em;
  }

  .section-title,
  .staff-page-head h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .manifesto-copy,
  .page-copy,
  .section-copy,
  .hero-sub {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .hero-actions .btn,
  .discord-button {
    width: 100%;
    max-width: 100%;
  }

  .key-field-row .key-value {
    min-height: 58px;
  }

  .hero-actions {
    max-width: min(100%, 390px);
  }

  .manifesto-grid {
    margin-top: 38px;
  }

  .nova-metrics {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .nova-metrics .signal-row:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
  }

  .nova-metrics .signal-row,
  .signal-row {
    min-height: 82px;
  }

  .nova-metrics .signal-row:nth-child(odd):not(:last-child) {
    border-right: 0;
  }

  .nova-metrics .signal-row:nth-child(-n + 2),
  .nova-metrics .signal-row {
    border-bottom: 1px solid var(--line);
  }

  .nova-metrics .signal-row:last-child {
    border-bottom: 0;
  }

  .manifesto-panel,
  .signal-panel,
  .promise,
  .flow-step,
  .card,
  .list-row,
  .executor-card,
  .legal-section,
	  .premium-price-card,
	  .premium-game-feature,
	  .premium-feedback-card,
	  .premium-perk,
  .premium-roadmap,
  .premium-home-section,
  .home-games-section,
  .premium-trial-card,
  .premium-catalog-note,
  .key-box,
  .auth-panel,
  .unknown-panel,
  .staff-panel,
  .staff-stat,
  .staff-page-head,
  .status-panel {
    padding: 22px;
    border-radius: 24px;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .manifesto-panel {
    padding: 24px 22px;
  }

  .premium-page .page {
    padding-top: 24px;
  }

  .premium-price {
    align-items: baseline;
    flex-wrap: wrap;
  }

  .premium-actions,
  .premium-actions .btn,
  .premium-home-section .btn,
  .premium-trial-card .btn,
  .premium-catalog-note .btn {
    width: 100%;
  }

  .premium-home-section,
  .premium-trial-card {
    justify-items: stretch;
    gap: 16px;
  }

  .premium-home-intro .btn {
    width: 100%;
  }

  .premium-catalog-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .stat-strip,
  .promise-grid,
  .flow,
  .metric-grid,
  .access-state,
  .staff-stats,
  .staff-form-row {
    grid-template-columns: 1fr;
  }

  .content-page .executor-card .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .content-page .executor-card .metric:first-child {
    border-top: 0;
  }

  .stat-strip {
    width: calc(100% - 48px);
  }

  .list-toolbar {
    flex-direction: column;
    text-align: center;
  }

  .content-page .list-toolbar {
    align-items: flex-start;
    text-align: left;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-copy,
  .footer-links {
    justify-self: center;
  }

  .list-toolbar {
    align-items: center;
  }

  .content-page .list-toolbar {
    align-items: flex-start;
  }

  .footer-links,
  .staff-actions {
    justify-content: center;
  }

  .uptime-track {
    grid-template-columns: repeat(12, 1fr);
  }

  .staff-main {
    padding: 18px;
  }

  .staff-nav {
    grid-template-columns: 1fr;
  }

  .staff-table {
    min-width: 0;
  }

  .dotted-links .text-link + .text-link {
    margin-left: 0;
  }

  .dotted-links .text-link + .text-link::before {
    display: none;
  }

  .typing-title {
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    border-right: 0;
    animation: titleIn 0.72s var(--ease) both;
  }
}

@media (max-width: 760px) {
  .operations-shell {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-size: 34px 34px;
  }

  .operations-shell .staff-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 12px 12px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.97), rgba(8, 8, 8, 0.9)),
      rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(18px);
  }

  .operations-shell .staff-sidebar .brand {
    min-height: 38px;
    margin-bottom: 10px;
  }

  .operations-shell .staff-sidebar .brand span:last-child {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .operations-shell .staff-nav-label {
    display: none;
  }

  .operations-shell .staff-nav {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    padding: 0 2px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }

  .operations-shell .staff-nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .operations-shell .staff-nav button {
    width: auto;
    min-width: 112px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .operations-shell .staff-nav button span {
    gap: 7px;
    font-size: 11px;
    white-space: nowrap;
  }

  .operations-shell .staff-nav button svg {
    width: 15px;
    height: 15px;
  }

  .operations-shell .staff-nav .nav-count {
    display: none;
  }

  .operations-shell .staff-main {
    width: 100%;
    max-width: 100vw;
    padding: 14px;
    overflow-x: hidden;
  }

  .operations-shell .staff-topbar,
  .operations-shell .staff-page-head,
  .operations-shell .staff-section-head {
    align-items: stretch;
    gap: 14px;
    text-align: left;
  }

  .operations-shell .staff-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0 0 4px;
  }

  .operations-shell .staff-actions {
    justify-content: flex-end;
  }

  .operations-shell .staff-actions .text-button span {
    display: none;
  }

  .operations-shell .staff-page-head {
    padding: 18px;
    border-radius: 22px;
  }

  .operations-shell .staff-page-head h1 {
    font-size: clamp(36px, 13vw, 50px);
    line-height: 0.95;
    letter-spacing: 1.5px;
  }

  .operations-shell .staff-page-head .outline {
    display: block;
  }

  .operations-shell .head-copy,
  .operations-shell .staff-stat-sub,
  .operations-shell .staff-section-head p {
    max-width: 100%;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .operations-shell .quick-search,
  .operations-shell .lookup-results {
    width: 100%;
    min-width: 0;
  }

  .operations-shell .staff-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .operations-shell .staff-stat {
    min-height: 174px;
    padding: 16px;
    border-radius: 20px;
  }

  .operations-shell .staff-card-label {
    gap: 8px;
    align-items: start;
  }

  .operations-shell .staff-card-label span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .staff-card-label span:last-child {
    white-space: nowrap;
  }

  .operations-shell .staff-stat-value {
    font-size: clamp(34px, 13vw, 48px);
  }

  .operations-shell .spark {
    height: 48px;
  }

  .operations-shell .staff-grid,
  .operations-shell .staff-grid.two,
  .operations-shell .ops-summary-grid,
  .operations-shell .settings-grid,
  .operations-shell .maintenance-grid,
  .operations-shell .security-grid,
  .operations-shell .docs-grid,
  .operations-shell .staff-split,
  .operations-shell .staff-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .staff-panel {
    padding: 16px;
    border-radius: 22px;
    overflow: hidden;
  }

  .operations-shell .staff-section-head.has-table-controls {
    grid-template-columns: 1fr;
  }

  .operations-shell .table-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    justify-items: stretch;
  }

  .operations-shell .table-search {
    width: 100%;
    min-width: 0;
  }

  .operations-shell .table-pager {
    min-width: 0;
    padding: 3px;
  }

  .operations-shell .table-pager span {
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .table-controls > [data-export-table] {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
  }

  .operations-shell .table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .operations-shell .staff-table,
  .operations-shell .staff-table tbody,
  .operations-shell .staff-table tr,
  .operations-shell .staff-table td {
    display: block;
    width: 100%;
  }

  .operations-shell .staff-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: auto;
  }

  .operations-shell .staff-table thead {
    display: none;
  }

  .operations-shell .staff-table tbody tr {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
      rgba(255, 255, 255, 0.022);
    overflow: hidden;
  }

  .operations-shell .staff-table tbody tr.detail-row {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .operations-shell .staff-table td {
    display: grid;
    grid-template-columns: minmax(78px, 32%) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 34px;
    max-width: none;
    padding: 9px 0;
    border-bottom: 0;
    color: var(--white);
    white-space: normal;
    overflow: hidden;
  }

  .operations-shell .staff-table td + td {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .operations-shell .staff-table td::before {
    content: attr(data-label);
    min-width: 0;
    color: var(--quiet);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.15px;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .operations-shell .staff-table td[data-label=""],
  .operations-shell .staff-table td:not([data-label]) {
    grid-template-columns: 1fr;
  }

  .operations-shell .staff-table td[data-label=""]::before,
  .operations-shell .staff-table td:not([data-label])::before {
    display: none;
  }

  .operations-shell .staff-table td > *,
  .operations-shell .staff-table td strong,
  .operations-shell .staff-table td span,
  .operations-shell .truncate-cell,
  .operations-shell .meta-line,
  .operations-shell .muted-inline {
    min-width: 0;
    max-width: 100%;
  }

  .operations-shell .truncate-cell,
  .operations-shell .meta-line,
  .operations-shell .muted-inline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .staff-table td strong {
    overflow-wrap: anywhere;
  }

  .operations-shell .mini-actions,
  .operations-shell .row-actions,
  .operations-shell .audit-read-action {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }

  .operations-shell .detail-row td {
    display: block;
    padding: 0;
  }

  .operations-shell .detail-row td::before {
    display: none;
  }

  .operations-shell .info-grid,
  .operations-shell .user-info-grid,
  .operations-shell .roblox-account-list,
  .operations-shell .record-detail-grid,
  .operations-shell .release-history,
  .operations-shell .deploy-grid,
  .operations-shell .deploy-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .user-sheet-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .operations-shell .user-sheet-head .pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .operations-shell .staff-form,
  .operations-shell .setting,
  .operations-shell .settings-section {
    min-width: 0;
  }

  .operations-shell .code-input {
    min-height: 210px;
    font-size: 12px;
  }

  .operations-shell .form-actions,
  .operations-shell .deploy-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .form-actions .text-button,
  .operations-shell .deploy-actions .text-button,
  .operations-shell .maintenance-save .text-button {
    width: 100%;
  }

  .operations-shell .docs-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .operations-shell .docs-tabs button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .operations-shell .docs-card pre {
    max-width: 100%;
    overflow-x: auto;
  }

  .operations-shell .game-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .game-admin-card {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .operations-shell .game-admin-title {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .operations-shell .game-admin-title strong,
  .operations-shell .game-admin-title span,
  .operations-shell .game-admin-foot span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .game-admin-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-shell .game-admin-foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .game-admin-foot .mini-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .operations-shell .role-result,
  .operations-shell .role-control {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .role-control {
    width: 100%;
  }

  .operations-shell .role-select-wrap,
  .operations-shell .compact-select,
  .operations-shell .role-save-button {
    width: 100%;
  }
}

/* Home catalog motion and executor data-source refinement. */
.home-games-track {
  animation-delay: -11s;
  animation-play-state: running;
  animation-fill-mode: both;
}

.home-game-card,
.home-game-card.is-loading {
  transition: opacity 0.14s linear, filter 0.16s linear, color 0.22s ease;
}

.executor-toolbar-right {
  grid-template-columns: minmax(230px, 1fr) minmax(190px, 0.55fr) minmax(230px, 0.72fr) minmax(180px, 0.48fr);
}

.executor-source-badge {
  min-width: 0;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(189, 232, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 0%, rgba(189, 232, 255, 0.12), transparent 52%),
    rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.28s var(--ease);
}

.executor-source-badge span,
.executor-source-badge small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.executor-source-badge span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.executor-source-badge span strong {
  color: var(--nova-ice);
  font-size: 12px;
}

.executor-source-badge small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.executor-source-badge svg {
  width: 14px;
  height: 14px;
}

.executor-source-badge:hover,
.executor-source-badge:focus-visible {
  color: var(--white);
  border-color: rgba(189, 232, 255, 0.38);
  background: rgba(189, 232, 255, 0.07);
  transform: translateY(-1px);
  outline: none;
}

.executor-card::after {
  inset: 1px;
  background: radial-gradient(circle 180px at var(--glow-x, 50%) var(--glow-y, 42%), rgba(189, 232, 255, 0.1), transparent 72%);
}

.executor-card:hover::after {
  opacity: 0.62;
  transform: none;
}

@media (max-width: 1180px) {
  .executor-toolbar-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .executor-toolbar-right {
    grid-template-columns: 1fr;
  }

  .executor-source-badge {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .operations-shell .staff-main {
    padding: 10px;
  }

  .operations-shell .staff-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .operations-shell .table-controls > [data-export-table] {
    grid-column: 2;
  }

  .operations-shell .staff-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .operations-shell .staff-table td::before {
    display: block;
  }

  .operations-shell .game-admin-meta,
  .operations-shell .mini-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .operations-shell {
    --mobile-pad: clamp(10px, 3.4vw, 14px);
  }

  .operations-shell .staff-sidebar {
    padding-left: var(--mobile-pad);
    padding-right: var(--mobile-pad);
  }

  .operations-shell .staff-nav {
    gap: 6px;
    padding-bottom: 2px;
  }

  .operations-shell .staff-nav button {
    min-width: 104px;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 15px;
  }

  .operations-shell .staff-main {
    display: grid;
    gap: 14px;
    padding: var(--mobile-pad);
  }

  .operations-shell .staff-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .operations-shell .eyebrow {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .staff-actions {
    gap: 7px;
  }

  .operations-shell .staff-notification-menu,
  .operations-shell .staff-notification-menu .notification-button,
  .operations-shell .staff-notification-menu .notification-button.icon-square {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 50%;
  }

  .operations-shell .staff-page-head,
  .operations-shell .staff-panel,
  .operations-shell .staff-stat {
    padding: clamp(14px, 4.2vw, 18px);
  }

	  .operations-shell .staff-page-head {
	    gap: 12px;
	  }

  .operations-shell .overview-head-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

	  .operations-shell .staff-page-head h1 {
	    margin-bottom: 6px;
	  }

  .operations-shell .quick-search {
    padding: 0;
  }

  .operations-shell .quick-search .input,
  .operations-shell .table-search,
  .operations-shell .input {
    min-height: 44px;
  }

  .operations-shell .lookup-results {
    position: static;
    margin-top: 10px;
    max-height: 48vh;
    overflow: auto;
  }

  .operations-shell .staff-stats,
  .operations-shell .staff-grid {
    gap: 12px;
  }

  .operations-shell .staff-chart {
    height: 220px;
  }

  .operations-shell .compact-chart {
    height: 190px;
  }

  .operations-shell .staff-section-head {
    margin-bottom: 12px;
  }

  .operations-shell .staff-section-head h2 {
    font-size: 22px;
  }

  .operations-shell .table-controls {
    align-items: center;
  }

  .operations-shell .table-controls .filter-button,
  .operations-shell .table-pager .icon-button,
  .operations-shell .table-controls > [data-export-table] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
  }

  .operations-shell .table-pager {
    border-radius: 16px;
  }

  .operations-shell .staff-table tbody tr {
    padding: 14px;
    border-radius: 20px;
  }

  .operations-shell .staff-table td:first-child {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2px;
  }

  .operations-shell .staff-table td:first-child::before {
    display: none;
  }

  .operations-shell .staff-table td:first-child > strong,
  .operations-shell .staff-table td:first-child .user-cell strong,
  .operations-shell .staff-table td:first-child strong:first-child {
    font-size: 15px;
  }

  .operations-shell .pill {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .operations-shell .mini-action-button,
  .operations-shell .icon-button {
    flex: 0 0 auto;
  }

  .operations-shell .setting {
    min-height: 0;
    padding: 13px;
    border-radius: 16px;
  }

  .operations-shell .maintenance-toggles {
    gap: 8px;
  }

  .operations-shell .setting-toggle-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .operations-shell .settings-section-head {
    gap: 4px;
    margin-bottom: 12px;
  }

  .operations-shell .deploy-manager,
  .operations-shell .settings-section {
    gap: 12px;
  }

  .operations-shell .deploy-log-entry {
    padding: 12px;
    border-radius: 14px;
  }

  .operations-shell .docs-card {
    padding: 14px;
    border-radius: 18px;
  }

  .operations-shell .docs-card pre {
    padding: 12px;
    font-size: 11px;
  }

  .operations-shell .security-card,
  .operations-shell .mini-metrics div,
  .operations-shell .info-grid div {
    min-height: 0;
    padding: 13px;
    border-radius: 16px;
  }

  .operations-shell .user-sheet-head,
  .operations-shell .roblox-account-list article {
    padding: 12px;
    border-radius: 16px;
  }

  .operations-shell .version-list article {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .operations-shell .staff-sidebar {
    padding-top: 10px;
  }

  .operations-shell .staff-sidebar .brand {
    margin-bottom: 8px;
  }

  .operations-shell .staff-nav button {
    min-width: 44px;
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .operations-shell .staff-nav button span {
    gap: 0;
    font-size: 0;
  }

  .operations-shell .staff-nav button svg {
    width: 17px;
    height: 17px;
  }

  .operations-shell .staff-topbar {
    grid-template-columns: 1fr;
  }

  .operations-shell .staff-actions {
    justify-content: flex-start;
  }

  .operations-shell .staff-chart {
    height: 190px;
  }

  .operations-shell .compact-chart {
    height: 172px;
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .operations-shell .table-pager span {
    max-width: 54px;
  }

  .operations-shell .staff-table tbody tr {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.token-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.token-control code {
  display: block;
  margin-top: 6px;
  max-width: min(72vw, 860px);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.tamper-grid {
  margin-bottom: 18px;
}

[data-tamper-table] .meta-line,
[data-ban-link-table] .meta-line {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .text-button {
    width: 100%;
  }

  .game-admin-foot {
    grid-template-columns: 1fr;
  }

  .game-admin-foot .mini-actions {
    justify-content: flex-start;
    max-width: 100%;
  }

  .token-control {
    align-items: flex-start;
    flex-direction: column;
  }

  .embed-composer-grid {
    grid-template-columns: 1fr;
  }

  .discord-embed-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .discord-embed-entry strong,
  .discord-embed-entry span {
    max-width: 100%;
  }
}

@media (min-width: 981px) {
  .nav-actions .account-menu .account-menu-button.icon-square {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: var(--white) !important;
    color: var(--black) !important;
    border-color: var(--white) !important;
  }

  .nav-actions .account-menu.open .account-menu-button.icon-square {
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 12px 36px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px) !important;
  }

  .nav-actions .account-menu .account-menu-button.icon-square:hover {
    background: rgba(5, 5, 5, 0.88) !important;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.58) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 14px 36px rgba(0, 0, 0, 0.34) !important;
    transform: translateY(-2px) !important;
  }

  .nav-actions .account-menu.open .account-menu-button.icon-square svg {
    color: var(--white) !important;
    stroke: currentColor !important;
  }

  .nav-actions .account-menu .account-menu-button.icon-square:hover svg {
    color: var(--white) !important;
    stroke: currentColor !important;
  }
}

@media (max-width: 760px) {
  .key-simple-panel {
    width: 100%;
  }

  .key-rule-card,
  .booster-incentive {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 14px;
    border-radius: 18px;
  }

  .booster-incentive {
    grid-template-columns: minmax(0, 1fr);
  }

  .booster-copy {
    align-items: start;
  }

  .key-rule-card .text-button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .booster-info-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 14px;
  }

  .key-actions .btn,
  [data-generate-key] {
    width: 100%;
    min-width: 0;
  }

  .key-value {
    padding: 16px 12px;
    font-size: 12px;
    letter-spacing: 0.7px;
  }

  .operations-shell .staff-sidebar .brand span:last-child {
    display: none;
  }

  .operations-shell .staff-sidebar .brand {
    width: 44px;
  }

  .operations-shell .staff-nav,
  .floating-filter-menu,
  .operations-shell .role-search-results,
  .operations-shell .lookup-results,
  .operations-shell .account-dropdown {
    scrollbar-width: none;
  }

  .operations-shell .staff-nav::-webkit-scrollbar,
  .floating-filter-menu::-webkit-scrollbar,
  .operations-shell .role-search-results::-webkit-scrollbar,
  .operations-shell .lookup-results::-webkit-scrollbar,
  .operations-shell .account-dropdown::-webkit-scrollbar {
    display: none;
  }

  .operations-shell .staff-panel,
  .operations-shell .staff-stat,
  .operations-shell .staff-page-head,
  .operations-shell .settings-section,
  .operations-shell .staff-form,
  .operations-shell .game-admin-card,
  .operations-shell .security-card {
    padding: clamp(16px, 4.5vw, 20px);
  }

  .operations-shell .staff-panel {
    overflow: visible;
  }

  .operations-shell .staff-grid,
  .operations-shell .staff-stats,
  .operations-shell .settings-grid,
  .operations-shell .security-grid,
  .operations-shell .docs-grid,
  .operations-shell .game-admin-grid,
  .operations-shell .staff-split {
    gap: clamp(14px, 4vw, 18px);
  }

  .operations-shell .table-wrap {
    overflow: visible;
    padding-bottom: 10px;
  }

  .operations-shell .staff-table tbody tr {
    margin-bottom: 12px;
    overflow: visible;
  }

  .operations-shell .staff-table tbody tr.detail-row {
    margin-top: -4px;
    margin-bottom: 14px;
    overflow: visible;
  }

  .operations-shell .staff-table td {
    overflow: visible;
  }

  .operations-shell .detail-row .user-data-sheet {
    width: 100%;
  }

  .operations-shell .detail-row.is-open .user-data-sheet {
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .operations-shell .detail-row.is-closing .user-data-sheet {
    max-height: 0;
    overflow: hidden;
  }

  .operations-shell .user-data-sheet,
  .operations-shell .roblox-sheet {
    gap: 14px;
  }

  .operations-shell .staff-section-head.has-table-controls {
    gap: 16px;
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center;
  }

  .operations-shell .table-search {
    grid-column: 1 / -1;
    width: 100%;
  }

  .operations-shell .table-pager {
    justify-self: end;
  }

  .operations-shell .filter-control {
    justify-self: start;
  }

  .floating-filter-menu {
    max-width: min(290px, calc(100vw - 24px));
    max-height: min(360px, 58vh);
    overflow-y: auto;
  }

  .operations-shell .role-search-results,
  .operations-shell .lookup-results,
  .operations-shell .account-dropdown {
    max-height: min(420px, 62vh);
    overflow-y: auto;
  }

  .operations-shell .roblox-account-list {
    gap: 10px;
  }

  .operations-shell .roblox-account-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .operations-shell .table-controls {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .operations-shell .table-search {
    grid-column: 1 / -1;
  }

  .operations-shell .table-pager {
    grid-column: 2;
    justify-self: stretch;
  }

  .operations-shell .table-pager span {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .news-list,
  .news-composer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-update-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .news-update-strip div {
    min-height: 74px;
    padding: 14px;
  }

  .news-toolbar {
    gap: 16px;
  }

  .news-filter-shell {
    width: 100%;
    justify-self: stretch;
  }

  .news-filter-button {
    width: 100%;
    justify-content: space-between;
  }

  .news-filter-dropdown {
    left: 0;
    right: auto;
    width: 100%;
  }

  .news-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .news-tabs button {
    flex: 0 0 auto;
  }

  .selected-executor-card {
    grid-template-columns: 1fr;
  }

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

  .game-state-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-state-head {
    min-height: 38px;
    padding: 0 13px;
    font-size: 9px;
    letter-spacing: 1.25px;
  }

  .key-only-wrap {
    padding: 34px 14px 66px;
  }

  .key-page-panel {
    gap: 18px;
    padding: 20px;
    border-radius: 26px;
  }

  .key-page-panel .auth-head {
    gap: 8px;
  }

  .key-page-panel .auth-head h1 {
    font-size: clamp(60px, 19vw, 84px);
    letter-spacing: 1px;
  }

  .key-page-logo {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .key-page-logo img {
    width: 34px;
    height: 34px;
  }

  .key-access-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .key-login-button,
  .key-discord-button,
  .key-adaptive-panel [data-generate-key] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }

  .key-adaptive .btn {
    padding-left: 24px;
    padding-right: 24px;
  }

  .key-boost-note {
    width: auto;
    max-width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
    border-radius: 0;
    text-align: center;
  }

  .key-rule-card,
  .booster-incentive {
    min-height: 0;
    padding: 15px;
    border-radius: 18px;
  }

  .key-rule-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .key-rule-card .text-button {
    width: 100%;
    justify-self: stretch;
  }

  .key-rule-icon,
  .booster-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .key-rule-card strong,
  .booster-incentive strong {
    font-size: 14px;
  }

  .key-rule-card p,
  .booster-incentive p {
    font-size: 12px;
  }

  .booster-info-card {
    padding: 10px 11px;
  }

  .key-field-row .key-value {
    min-height: 64px;
    justify-content: center;
  }

  .key-page-panel .auth-note {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .key-page-panel {
    padding: 17px;
    border-radius: 24px;
  }

  .booster-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .booster-mark {
    margin-bottom: 2px;
  }

	  .key-value {
	    font-size: 11px;
	    letter-spacing: 0.45px;
	  }
	
	  .key-boost-note {
	    flex-wrap: wrap;
	  }

	  .key-trial-dialog {
	    padding: 22px 16px;
	    border-radius: 24px;
	  }

	  .key-trial-dialog .offsite-actions {
	    grid-template-columns: 1fr;
	  }
	}

@media (max-width: 760px) {
  .operations-shell .staff-main {
    gap: clamp(16px, 4.8vw, 22px);
  }

  .operations-shell .staff-grid,
  .operations-shell .staff-stats,
  .operations-shell .settings-grid,
  .operations-shell .security-grid,
  .operations-shell .security-priority-grid,
  .operations-shell .docs-grid,
  .operations-shell .game-admin-grid,
  .operations-shell .staff-split,
  .operations-shell .ops-summary-grid {
    gap: clamp(16px, 4.8vw, 22px);
  }

  .operations-shell [data-staff-panel]:not([hidden]) + [data-staff-panel]:not([hidden]) {
    margin-top: clamp(4px, 1.8vw, 10px);
  }

  .operations-shell .security-priority-panel {
    padding: 10px;
    border-radius: 22px;
  }

  .operations-shell .security-priority-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 8px 8px 14px;
  }

  .operations-shell .security-priority-head p {
    text-align: left;
  }

  .operations-shell .security-priority-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .security-priority-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-shell .security-priority-card {
    padding: 16px;
    border-radius: 18px;
  }

  .operations-shell .staff-panel,
  .operations-shell .staff-stat,
  .operations-shell .staff-page-head,
  .operations-shell .settings-section,
  .operations-shell .staff-form,
  .operations-shell .game-admin-card,
  .operations-shell .security-card {
    padding: clamp(18px, 5vw, 22px);
    overflow: visible;
  }

  .operations-shell .staff-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 14px;
  }

  .operations-shell .eyebrow {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 9px;
    letter-spacing: 1.65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .operations-shell .staff-actions {
    display: grid;
    grid-template-columns: repeat(3, 40px);
    gap: 8px;
    justify-content: end;
  }

  .operations-shell .staff-actions .icon-button,
  .operations-shell .staff-actions .text-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 15px;
  }

  .operations-shell .staff-actions .text-button span {
    display: none;
  }

  .operations-shell .staff-section-head.has-table-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .operations-shell .table-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    grid-template-areas:
      "search filter export"
      "pager pager pager";
    gap: 8px;
    align-items: center;
  }

  .operations-shell .table-search {
    grid-area: search;
    grid-column: auto !important;
    min-height: 38px;
    padding: 0 11px;
  }

  .operations-shell .table-search svg {
    width: 15px;
    height: 15px;
  }

  .operations-shell .table-search input {
    font-size: 13px;
  }

  .operations-shell .filter-control {
    grid-area: filter;
    width: 38px;
    justify-self: end;
  }

  .operations-shell .table-controls .filter-button,
  .operations-shell .table-controls > [data-export-table] {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 14px;
  }

  .operations-shell .table-controls > [data-export-table] {
    grid-area: export;
    grid-column: auto !important;
    justify-self: end;
  }

  .operations-shell .table-pager {
    grid-area: pager;
    grid-column: auto !important;
    width: 100%;
    min-height: 40px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
    justify-self: stretch;
    padding: 3px;
    border-radius: 16px;
  }

  .operations-shell .table-pager .icon-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 13px;
  }

  .operations-shell .table-pager span {
    min-width: 0;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .operations-shell .table-wrap {
    overflow: visible;
    padding-bottom: 12px;
  }

  .operations-shell .staff-table tbody tr {
    display: block;
    margin-bottom: 14px;
    overflow: visible;
  }

  .operations-shell .staff-table tbody tr.detail-row {
    margin-top: -6px;
    margin-bottom: 18px;
    overflow: visible;
  }

  .operations-shell .staff-table td {
    overflow: visible;
  }

  .operations-shell .detail-row .user-data-sheet {
    width: 100%;
    overflow: visible;
  }

  .operations-shell .detail-row.is-open .user-data-sheet {
    max-height: none;
    overflow: visible;
    padding: 16px;
  }

  .operations-shell .detail-row.is-closing .user-data-sheet {
    max-height: 0;
    overflow: hidden;
  }

  .operations-shell .user-sheet-head,
  .operations-shell .info-grid div,
  .operations-shell .roblox-account-list article,
  .operations-shell .record-detail-grid div {
    padding: 14px;
  }

  .record-dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 18px;
    overflow-y: auto;
  }

  .record-dialog .offsite-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .record-detail-grid {
    max-height: none;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
  }

  .record-detail-grid strong {
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .operations-shell .staff-main {
    gap: 14px;
    padding: 12px;
  }

  .operations-shell .staff-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .operations-shell .eyebrow {
    min-height: 38px;
    padding: 0 12px;
    font-size: 8px;
    letter-spacing: 1.35px;
  }

  .operations-shell .staff-actions {
    grid-template-columns: repeat(3, 38px);
    gap: 7px;
  }

  .operations-shell .staff-notification-menu,
  .operations-shell .staff-notification-menu .notification-button,
  .operations-shell .staff-notification-menu .notification-button.icon-square {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 50%;
  }

  .operations-shell .staff-actions .icon-button,
  .operations-shell .staff-actions .text-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) 36px 36px !important;
    gap: 7px;
  }

  .operations-shell .table-search {
    min-height: 36px;
  }

  .operations-shell .filter-control,
  .operations-shell .table-controls .filter-button,
  .operations-shell .table-controls > [data-export-table] {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .operations-shell .table-pager {
    min-height: 38px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }
}

@media (max-width: 760px) {
  .operations-shell .staff-sidebar {
    padding: 8px 10px 9px;
  }

  .operations-shell .staff-sidebar .brand {
    display: none;
  }

  .operations-shell .staff-nav {
    padding: 0;
  }

  .operations-shell .staff-main {
    padding-top: 10px;
  }

  .operations-shell .staff-topbar {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 40px;
    margin: 0 0 10px;
    padding: 0;
  }

  .operations-shell .eyebrow {
    width: 100%;
    height: 40px;
    min-height: 40px;
    min-width: 0;
    justify-content: flex-start;
    padding: 0 13px;
    line-height: 1;
  }

  .operations-shell .eyebrow .dot {
    flex: 0 0 auto;
  }

  .operations-shell .staff-actions {
    align-items: center;
    grid-template-columns: repeat(2, 40px);
    gap: 8px;
  }

  .operations-shell .staff-actions .icon-button,
  .operations-shell .staff-actions .text-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    grid-template-areas:
      "search filter export"
      "pager pager pager";
  }

  .operations-shell .table-pager {
    grid-area: pager;
    grid-column: auto !important;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    box-sizing: border-box;
  }
}

@media (max-width: 430px) {
  .operations-shell .staff-sidebar {
    padding: 7px 9px 8px;
  }

  .operations-shell .staff-main {
    padding-top: 9px;
  }

  .operations-shell .staff-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .operations-shell .eyebrow {
    height: 38px;
    min-height: 38px;
    padding: 0 11px;
    font-size: 7.5px;
    letter-spacing: 1.15px;
  }

  .operations-shell .staff-actions {
    grid-template-columns: repeat(2, 38px);
    gap: 7px;
  }

  .operations-shell .staff-actions .icon-button,
  .operations-shell .staff-actions .text-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) 36px 36px !important;
    grid-template-areas:
      "search filter export"
      "pager pager pager";
  }

  .operations-shell .table-pager {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }
}

@media (max-width: 760px) {
  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) 42px 42px !important;
    grid-template-areas:
      "search filter export"
      "pager pager pager";
    gap: 10px;
  }

  .operations-shell .table-search {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 14px;
  }

  .operations-shell .filter-control,
  .operations-shell .table-controls .filter-button,
  .operations-shell .table-controls > [data-export-table] {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
  }

  .operations-shell .table-pager {
    grid-area: pager;
    grid-column: auto !important;
    width: 100%;
    max-width: none;
    min-height: 50px;
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
    justify-self: stretch;
    padding: 4px;
    border-radius: 999px;
  }

  .operations-shell .table-pager .icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
  }

  .operations-shell .table-pager span {
    min-width: 0;
    max-width: none;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 1.15px;
  }
}

@media (max-width: 430px) {
  .operations-shell .table-controls {
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    gap: 9px;
  }

  .operations-shell .table-search {
    min-height: 42px;
  }

  .operations-shell .filter-control,
  .operations-shell .table-controls .filter-button,
  .operations-shell .table-controls > [data-export-table] {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .operations-shell .table-pager {
    min-height: 48px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .operations-shell .table-pager .icon-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .table-controls {
    grid-template-columns: minmax(0, 1fr) 42px minmax(210px, auto) 42px !important;
  }

  .table-search,
  .table-pager,
  .table-controls > [data-export-table] {
    grid-column: auto !important;
  }
}

@media (max-width: 760px) {
  .operations-shell .staff-actions.has-queued-updates {
    grid-template-columns: repeat(4, 40px);
  }

  .operations-shell .queue-push-button,
  .operations-shell .queue-change-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 50%;
  }
}

@media (max-width: 430px) {
  .operations-shell .staff-actions.has-queued-updates {
    grid-template-columns: repeat(4, 38px);
  }

  .operations-shell .queue-push-button,
  .operations-shell .queue-change-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }
}

@media (max-width: 360px) {
  .site-nav {
    --mobile-nav-width: 184px;
  }

  .mobile-nav-actions {
    grid-template-columns: repeat(6, 28px);
    gap: 2px;
  }

  .mobile-nav-actions a,
  .mobile-nav-actions::before {
    width: 28px;
    height: 28px;
  }

  .mobile-notification-action.logged-in {
    right: 240px;
  }
}

/* Nova 2026 visual system: premium marketing, catalog motion, and staff clarity. */
.hero-eyebrow {
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(189, 232, 255, 0.18);
  border-radius: 999px;
  background: rgba(189, 232, 255, 0.045);
  color: #d9f2ff;
}

.hero-eyebrow .dot {
  background: var(--nova-ice);
  box-shadow: 0 0 18px rgba(189, 232, 255, 0.55);
}

.btn-premium {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 210, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(219, 198, 255, 0.96) 46%, rgba(171, 126, 255, 0.94));
  box-shadow: 0 14px 38px rgba(139, 84, 234, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #110b1d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, filter 0.28s ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  inset: -100% 58% -100% -18%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-120%) rotate(12deg);
  transition: transform 0.64s var(--ease);
}

.btn-premium:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 20px 48px rgba(139, 84, 234, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.btn-premium:hover::before {
  transform: translateX(250%) rotate(12deg);
}

.btn-premium:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.home-games-band {
  padding-top: 26px;
  padding-bottom: 28px;
}

.home-games-section {
  width: min(100%, 1120px);
  background:
    radial-gradient(circle at 88% 4%, rgba(189, 232, 255, 0.1), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(185, 152, 255, 0.1), transparent 38%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 9, 0.9);
}

.home-games-marquee:focus-within .home-games-track {
  animation-play-state: paused;
}

.home-game-card:focus-visible {
  opacity: 1;
  outline: 2px solid var(--nova-ice);
  outline-offset: 4px;
  transform: translateY(0) scale(1);
}

.premium-home-intro p strong {
  color: #eee5ff;
}

.premium-page .premium-marketing-main {
  padding: 0;
}

.premium-marketing-hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.premium-marketing-hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto;
  height: 86%;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 38%, rgba(165, 112, 255, 0.24), transparent 30%),
    radial-gradient(circle at 28% 18%, rgba(189, 232, 255, 0.1), transparent 30%);
  filter: blur(8px);
}

.premium-marketing-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.premium-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
}

.premium-hero-copy h1 {
  max-width: 800px;
  margin-top: 24px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(70px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: 2px;
}

.premium-hero-copy p {
  max-width: 680px;
  margin-top: 28px;
  color: #c2c2c7;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
}

.premium-price-lockup {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 30px;
}

.premium-price-lockup strong {
  color: #f4eeff;
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.76;
  text-shadow: 0 0 42px rgba(185, 152, 255, 0.2);
}

.premium-price-lockup span {
  padding-bottom: 2px;
  color: #a99dbd;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.premium-hero-copy .premium-actions {
  margin-top: 32px;
}

.premium-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
  color: #8f899a;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.premium-trust-line span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--nova-violet);
}

.premium-trust-line svg {
  width: 15px;
  height: 15px;
  color: #d9c5ff;
}

.premium-orbit {
  position: relative;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 152, 255, 0.18), transparent 28%),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.12), transparent 16%),
    rgba(255, 255, 255, 0.012);
  box-shadow: inset 0 0 80px rgba(185, 152, 255, 0.04), 0 0 110px rgba(139, 84, 234, 0.12);
}

.premium-orbit::before,
.premium-orbit::after,
.premium-orbit-ring {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(216, 198, 255, 0.13);
  border-radius: 50%;
}

.premium-orbit::after {
  inset: 27%;
  border-style: dashed;
  animation: premiumOrbitSpin 24s linear infinite reverse;
}

.premium-orbit-ring.ring-one {
  inset: 5% 18%;
  transform: rotate(58deg);
}

.premium-orbit-ring.ring-two {
  inset: 18% 5%;
  transform: rotate(-42deg);
}

.premium-orbit-core {
  position: absolute;
  inset: 35%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 222, 255, 0.5);
  border-radius: 38% 62% 42% 58%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, rgba(223, 204, 255, 0.34), rgba(119, 67, 214, 0.42)),
    #160e24;
  color: #f5efff;
  box-shadow: 0 0 70px rgba(185, 152, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  animation: premiumCoreFloat 5s ease-in-out infinite alternate;
}

.premium-orbit-core svg {
  width: 36%;
  height: 36%;
}

.premium-orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(9, 7, 13, 0.78);
  backdrop-filter: blur(16px);
  color: #d8d2e2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}

.premium-orbit-chip svg { width: 14px; height: 14px; color: #d8c5ff; }
.premium-orbit-chip.chip-key { top: 8%; left: -2%; }
.premium-orbit-chip.chip-features { top: 44%; right: -14%; }
.premium-orbit-chip.chip-preview { bottom: 7%; left: 3%; }

.premium-benefit-section,
.premium-compare-section,
.premium-faq-section {
  position: relative;
}

.premium-dot {
  background: var(--nova-violet) !important;
  box-shadow: 0 0 18px rgba(185, 152, 255, 0.55) !important;
}

.premium-benefit-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.premium-benefit-card {
  min-height: 270px;
  display: grid;
  align-content: space-between;
  gap: 34px;
  padding: 28px;
  border: 1px solid rgba(185, 152, 255, 0.15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(185, 152, 255, 0.1), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 10, 0.84);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.3);
  transition: transform 0.34s var(--ease), border-color 0.28s ease, background 0.28s ease;
}

.premium-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 152, 255, 0.38);
}

.premium-benefit-card.benefit-wide {
  grid-column: span 2;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
}

.premium-benefit-card .icon-badge {
  margin: 0;
  border-color: rgba(185, 152, 255, 0.28);
  color: #e4d7ff;
}

.premium-benefit-card h3,
.premium-plan-card h3,
.premium-account-gate h2 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.08;
}

.premium-benefit-card p,
.premium-plan-card p,
.premium-account-gate p,
.premium-faq-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.premium-compare-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.premium-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.premium-plan-card {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(8, 8, 10, 0.78);
  box-shadow: var(--shadow);
}

.premium-plan-card.premium-plan {
  border-color: rgba(185, 152, 255, 0.36);
  background:
    radial-gradient(circle at 90% 0%, rgba(185, 152, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(185, 152, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 7, 13, 0.9);
}

.premium-plan-price {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.premium-plan-price strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.8;
}

.premium-plan-price span {
  max-width: 150px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.premium-plan-card ul {
  display: grid;
  gap: 13px;
  list-style: none;
}

.premium-plan-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #cacaca;
}

.premium-plan-card li svg {
  width: 16px;
  height: 16px;
  color: var(--nova-mint);
}

.premium-plan-card .btn,
.premium-plan-card .btn-premium {
  width: fit-content;
  margin-top: auto;
}

.premium-account-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(185, 152, 255, 0.22);
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(185, 152, 255, 0.1), rgba(255, 255, 255, 0.02) 52%),
    rgba(8, 8, 10, 0.84);
  box-shadow: var(--shadow);
}

.premium-account-gate .premium-diamond-orb {
  margin: 0;
}

.premium-faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
}

.premium-faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.premium-faq-list details {
  border-bottom: 1px solid var(--line);
}

.premium-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.premium-faq-list summary::-webkit-details-marker { display: none; }
.premium-faq-list summary svg { width: 17px; height: 17px; transition: transform 0.28s var(--ease); }
.premium-faq-list details[open] summary svg { transform: rotate(45deg); }
.premium-faq-list details p { max-width: 720px; margin: -6px 0 24px; }

.content-page:not(.premium-page) .page-hero-inner {
  width: min(100%, 1120px);
  align-items: flex-start;
  padding: clamp(32px, 5vw, 56px);
  text-align: left;
  background:
    radial-gradient(circle at 92% 0%, rgba(189, 232, 255, 0.07), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.016)),
    rgba(8, 8, 9, 0.82);
}

.content-page:not(.premium-page) .page-title,
.content-page:not(.premium-page) .page-copy {
  margin-left: 0;
  margin-right: 0;
}

.content-page:not(.premium-page) .page-copy {
  max-width: 760px;
}

.staff-nav-group {
  margin: 14px 10px 0;
  color: #66636c;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.staff-nav-group:first-child {
  margin-top: 0;
}

.staff-environment-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.staff-environment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(202, 255, 202, 0.24);
  border-radius: 999px;
  background: rgba(202, 255, 202, 0.055);
  color: #caffca;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.staff-environment-badge.is-staging {
  border-color: rgba(255, 211, 138, 0.38);
  background: rgba(255, 211, 138, 0.08);
  color: var(--nova-warning);
}

.staff-staging-preview .staff-sidebar {
  border-right-color: rgba(255, 211, 138, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 211, 138, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(5, 5, 5, 0.92);
}

.operations-shell .ops-stats .staff-stat {
  min-height: 190px;
  padding: 22px;
}

.operations-shell .ops-stats .staff-stat:nth-child(n + 5) {
  min-height: 166px;
  background: rgba(255, 255, 255, 0.026);
}

@keyframes premiumOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes premiumCoreFloat {
  from { transform: translateY(-7px) rotate(-3deg); }
  to { transform: translateY(8px) rotate(4deg); }
}

@media (max-width: 980px) {
  .premium-marketing-hero-inner,
  .premium-compare-head,
  .premium-faq-layout {
    grid-template-columns: 1fr;
  }

  .premium-marketing-hero-inner {
    text-align: center;
  }

  .premium-hero-copy {
    justify-items: center;
  }

  .premium-hero-copy p {
    text-align: center;
  }

  .premium-orbit {
    width: min(78vw, 460px);
  }

  .premium-benefit-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-benefit-card.benefit-wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .premium-marketing-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .premium-hero-copy h1 {
    font-size: clamp(58px, 18vw, 92px);
  }

  .premium-trust-line {
    justify-content: center;
  }

  .premium-orbit-chip.chip-features { right: -4%; }

  .premium-benefit-bento,
  .premium-compare-grid {
    grid-template-columns: 1fr;
  }

  .premium-benefit-card.benefit-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .premium-account-gate {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .premium-account-gate .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .premium-orbit {
    width: 86vw;
  }

  .premium-orbit-chip {
    padding: 8px 10px;
    font-size: 7px;
  }

  .premium-orbit-chip.chip-key { left: 0; }
  .premium-orbit-chip.chip-features { right: -1%; }
  .premium-orbit-chip.chip-preview { left: 1%; }

  .premium-price-lockup {
    align-items: center;
  }

  .premium-plan-card {
    border-radius: 26px;
  }

  .content-page:not(.premium-page) .page-hero-inner {
    padding: 28px 22px;
    border-radius: 26px;
  }
}

/* Staging Premium polish pass */
.manifesto-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
}

.manifesto-panel,
.signal-panel {
  height: 100%;
}

.nova-metrics {
  align-content: stretch;
  padding: 14px;
}

.nova-metrics .signal-row,
.signal-row {
  min-height: 74px;
}

.notification-button,
.notification-menu,
.nav-actions .notification-button,
.nav-actions .notification-button.icon-square,
.staff-notification-menu .notification-button,
.staff-notification-menu .notification-button.icon-square,
.mobile-notification-action .notification-button {
  overflow: visible;
}

.notification-badge {
  right: -7px;
  top: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-width: 2px;
  font-size: 9px;
  z-index: 3;
}

.account-card {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.account-premium-badge {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(205, 174, 255, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(180deg, rgba(205, 174, 255, 0.22), rgba(115, 65, 220, 0.18)),
    rgba(80, 40, 150, 0.3);
  color: #eadcff;
  box-shadow: 0 0 28px rgba(154, 92, 255, 0.24);
  text-decoration: none;
  transition: transform 0.24s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.account-premium-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 220, 255, 0.78);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.38), transparent 35%),
    linear-gradient(180deg, rgba(215, 190, 255, 0.3), rgba(125, 70, 235, 0.24)),
    rgba(95, 46, 180, 0.42);
}

.premium-price-card {
  align-content: stretch;
}

.premium-membership-visual {
  --glow-origin-x: 18%;
  --glow-origin-y: 22%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(202, 169, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--glow-x, 18%) var(--glow-y, 22%), rgba(202, 169, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(202, 169, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
}

.premium-diamond-orb {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 199, 255, 0.5);
  border-radius: 50%;
  color: #eadcff;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    rgba(133, 82, 235, 0.22);
  box-shadow: 0 0 34px rgba(154, 92, 255, 0.22);
}

.premium-membership-visual strong,
.premium-membership-visual small {
  display: block;
  min-width: 0;
}

.premium-membership-visual strong {
  color: var(--white);
  font-size: 15px;
}

.premium-membership-visual small {
  margin-top: 4px;
  color: #d8c7ff;
  line-height: 1.35;
}

.premium-feedback-card {
  scroll-margin-top: 110px;
}

.premium-feedback-card.is-premium-active {
  border-color: rgba(202, 169, 255, 0.38);
}

.premium-home-feature-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.premium-home-feature-grid article::after {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(202, 169, 255, 0.16), transparent 58%);
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.34s var(--ease);
}

.premium-home-feature-grid article:hover::after {
  opacity: 1;
  transform: scale(1);
}

.premium-home-feature-grid article > * {
  position: relative;
  z-index: 1;
}

.game-feedback-fab,
.game-premium-feedback {
  position: relative;
  border: 1px solid rgba(202, 169, 255, 0.38);
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 36%),
    rgba(118, 72, 220, 0.18);
  color: #eadcff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 14px rgba(154, 92, 255, 0.1);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.24s ease, color 0.22s ease, box-shadow 0.28s ease;
}

.game-feedback-fab::after,
.game-premium-feedback::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(202, 169, 255, 0.22), transparent 58%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.game-feedback-fab > *,
.game-premium-feedback > * {
  position: relative;
  z-index: 1;
}

.game-feedback-fab {
  position: absolute;
  right: 74px;
  bottom: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.game-feedback-fab:hover,
.game-premium-feedback:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 218, 255, 0.72);
  background: rgba(144, 86, 255, 0.28);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), 0 0 18px rgba(154, 92, 255, 0.15);
}

.game-feedback-fab:hover::after,
.game-premium-feedback:hover::after {
  opacity: 1;
}

.game-premium-feedback {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 15px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.game-record-card.is-expanded .game-feedback-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.86);
}

.premium-thanks-dialog {
  position: relative;
  overflow: hidden;
  border-color: rgba(202, 169, 255, 0.34);
  background:
    radial-gradient(circle at 50% -12%, rgba(154, 92, 255, 0.26), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(7, 7, 7, 0.98);
}

.premium-thanks-icon {
  color: #eadcff;
  border-color: rgba(202, 169, 255, 0.46);
  background: rgba(125, 70, 235, 0.18);
}

.premium-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.premium-confetti span {
  position: absolute;
  left: calc(50% + (var(--x) * 28px));
  top: 38px;
  width: 7px;
  height: 13px;
  border-radius: 4px;
  background: hsl(calc(260 + var(--i) * 3) 92% 76%);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: premiumConfetti 1.18s calc(var(--i) * 16ms) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loader-codebox.copy-burst::before {
  animation-duration: 0.42s;
}

@keyframes premiumConfetti {
  0% {
    opacity: 0;
    transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.72);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--x) * 14px), calc(118px + var(--d) * 12px), 0) rotate(calc(160deg + var(--i) * 19deg)) scale(1);
  }
}

@media (max-width: 760px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .game-feedback-fab {
    right: 74px;
    bottom: 22px;
    width: 44px;
    height: 44px;
  }
}

.ticket-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ticket-type-grid article {
  position: relative;
  min-height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.ticket-type-grid article::after,
.ticket-inbox::after,
.ticket-detail-card::after,
.ticket-assist-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle 210px at var(--glow-x, 50%) var(--glow-y, 42%), rgba(255, 255, 255, 0.1), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.ticket-type-grid article:hover::after,
.ticket-inbox:hover::after,
.ticket-detail-card:hover::after,
.ticket-assist-card:hover::after {
  opacity: 0.68;
}

.ticket-type-grid article svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.88);
}

.ticket-type-grid article strong {
  font-size: 1rem;
}

.ticket-type-grid article span {
  color: var(--muted);
  line-height: 1.55;
}

.ticket-staff-list {
  min-width: 0;
}

.ticket-workspace {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.ticket-inbox,
.ticket-detail-card,
.ticket-assist-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at var(--glow-x, 10%) var(--glow-y, 0%), rgba(202, 169, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
  animation: feedbackCardIn 0.34s var(--ease) both;
  height: 100%;
}

.ticket-inbox {
  grid-column: 1 / 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  min-height: 520px;
}

.ticket-detail-card {
  grid-column: 2 / 4;
}

.ticket-assist-card {
  grid-column: 4 / 5;
}

.ticket-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-inbox-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ticket-inbox-head strong {
  font-size: 1rem;
}

.ticket-inbox-head span:not(.pill) {
  color: var(--muted);
  font-size: 0.86rem;
}

.ticket-selector {
  display: grid;
  align-content: start;
  grid-auto-rows: min-content;
  gap: 8px;
  min-height: 0;
  max-height: min(650px, 68vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: none;
}

.ticket-selector::-webkit-scrollbar {
  display: none;
}

.ticket-select-card {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 11px;
  color: var(--white);
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  align-self: start;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}

.ticket-select-card:hover,
.ticket-select-card.active {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.07);
}

.ticket-select-card:hover {
  transform: translateY(-1px);
}

.ticket-select-card.active {
  box-shadow: inset 0 0 0 1px rgba(202, 169, 255, 0.2);
}

.ticket-select-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ticket-select-main strong,
.ticket-select-main small,
.ticket-select-main em,
.ticket-select-side small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-select-main strong {
  font-size: 0.94rem;
}

.ticket-select-main small,
.ticket-select-side small {
  color: var(--muted);
  font-size: 0.78rem;
}

.ticket-select-main em {
  color: var(--quiet);
  font-size: 0.78rem;
  font-style: normal;
}

.ticket-select-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 84px;
}

.ticket-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ticket-status-pill.is-open {
  border-color: rgba(99, 255, 169, 0.26);
  background: rgba(99, 255, 169, 0.08);
}

.ticket-status-pill.is-answered {
  border-color: rgba(202, 169, 255, 0.3);
  background: rgba(202, 169, 255, 0.1);
}

.ticket-status-pill.is-closed {
  color: rgba(255, 255, 255, 0.64);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.ticket-detail-card {
  display: grid;
  grid-template-rows: auto auto minmax(420px, 1fr) auto;
  gap: 14px;
  padding: 16px;
}

.ticket-assist-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.ticket-assist-head,
.ticket-assist-title {
  display: flex;
  align-items: center;
}

.ticket-assist-head {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-assist-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ticket-assist-head span,
.ticket-assist-title {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ticket-assist-head strong {
  overflow: hidden;
  color: var(--white);
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-assist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ticket-assist-metric {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.ticket-assist-metric svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.ticket-assist-metric span,
.ticket-assist-metric small,
.ticket-assist-row small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticket-assist-metric strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-assist-metric small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-assist-section,
.ticket-automation {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-assist-title {
  gap: 7px;
}

.ticket-assist-title svg {
  width: 14px;
  height: 14px;
}

.ticket-assist-row,
.ticket-assist-empty {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.028);
}

.ticket-assist-row span,
.ticket-assist-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-assist-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.ticket-assist-row strong {
  color: var(--white);
  font-size: 0.86rem;
}

.ticket-assist-empty {
  margin: 0;
  color: var(--quiet);
  line-height: 1.45;
}

.ticket-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ticket-template-preview {
  min-height: 76px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(202, 169, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.032);
  color: var(--muted);
  line-height: 1.52;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.ticket-template-preview[data-active="true"] {
  border-color: rgba(202, 169, 255, 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(202, 169, 255, 0.18), transparent 52%),
    rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.ticket-template-grid .text-button {
  width: 100%;
  min-height: 38px;
  padding-inline: 10px;
  justify-content: center;
}

.ticket-detail-head,
.ticket-detail-controls,
.ticket-detail-user,
.ticket-detail-meta,
.ticket-compose-actions {
  display: flex;
  align-items: center;
}

.ticket-detail-head {
  justify-content: space-between;
  gap: 14px;
}

.ticket-detail-user {
  min-width: 0;
  gap: 12px;
}

.ticket-detail-user > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ticket-detail-user span,
.ticket-detail-user small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ticket-detail-user strong {
  overflow: hidden;
  color: var(--white);
  font-size: 1.2rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-detail-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ticket-detail-meta {
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticket-detail-meta svg {
  width: 14px;
  height: 14px;
}

.ticket-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 420px;
  max-height: none;
  overflow: auto;
  padding: 2px;
  scrollbar-width: none;
}

.ticket-thread::-webkit-scrollbar {
  display: none;
}

.ticket-message {
  display: grid;
  gap: 8px;
  width: min(100%, 760px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.ticket-message.is-staff {
  margin-left: auto;
  border-color: rgba(202, 169, 255, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 169, 255, 0.13), transparent 46%),
    rgba(202, 169, 255, 0.04);
}

.ticket-message.is-system {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.ticket-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticket-message-meta strong {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-message p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ticket-muted {
  color: var(--quiet);
}

.ticket-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-attachments a {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
}

.ticket-reply-form textarea {
  min-height: 96px;
}

.ticket-compose {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-compose textarea {
  min-height: 112px;
  resize: vertical;
}

.ticket-compose-actions {
  justify-content: space-between;
  gap: 12px;
}

.ticket-compose-actions span {
  color: var(--quiet);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .ticket-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ticket-workspace {
    grid-template-columns: 1fr;
  }

  .ticket-inbox,
  .ticket-detail-card,
  .ticket-assist-card {
    grid-column: 1 / -1;
  }

  .ticket-inbox {
    min-height: 0;
  }

  .ticket-selector {
    max-height: 360px;
  }

  .ticket-detail-card {
    grid-template-rows: auto;
  }

  .ticket-thread {
    min-height: 260px;
    max-height: 360px;
  }

  .ticket-message {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .ticket-type-grid {
    grid-template-columns: 1fr;
  }

  .ticket-message-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ticket-select-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ticket-select-side {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
    min-width: 0;
  }

  .ticket-detail-head,
  .ticket-compose-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ticket-detail-controls {
    justify-content: flex-start;
  }

  .ticket-assist-grid,
  .ticket-template-grid {
    grid-template-columns: 1fr;
  }
}

/* Staging Premium account-card rework */
.premium-page-main {
  padding-top: 86px;
}

.premium-login-gate {
  min-height: calc(100svh - 160px);
  display: grid;
  place-items: center;
}

.premium-login-card {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(202, 169, 255, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 92, 255, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(8, 8, 8, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.premium-login-card h1,
.premium-control-card h1 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 118px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 2px;
}

.premium-login-card p {
  max-width: 480px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.premium-launch-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.premium-control-column,
.premium-feature-column {
  display: grid;
  gap: 18px;
  height: 100%;
  min-width: 0;
}

.premium-control-card {
  min-height: 620px;
  align-content: start;
}

.premium-status-card {
  padding: 24px;
}

.premium-feature-hero {
  min-height: 316px;
  border: 1px solid rgba(202, 169, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 169, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.84);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.premium-feature-hero h2 {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1;
}

.premium-feature-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.premium-feature-diamond {
  width: clamp(86px, 12vw, 142px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(202, 169, 255, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.32), transparent 32%),
    linear-gradient(145deg, rgba(202, 169, 255, 0.22), rgba(98, 52, 190, 0.2)),
    rgba(202, 169, 255, 0.08);
  color: #eadcff;
  box-shadow: 0 0 54px rgba(154, 92, 255, 0.24);
}

.premium-feature-diamond svg {
  width: 42%;
  height: 42%;
}

.premium-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.account-premium-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(202, 169, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(202, 169, 255, 0.14), transparent 46%),
    rgba(202, 169, 255, 0.045);
}

.account-premium-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.account-premium-card strong {
  display: block;
  color: var(--white);
  line-height: 1.15;
}

.account-premium-card small {
  display: block;
  margin-top: 3px;
  color: #cdb8ff;
  line-height: 1.35;
}

.account-premium-orb {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(202, 169, 255, 0.42);
  border-radius: 50%;
  background: rgba(154, 92, 255, 0.18);
  color: #eadcff;
}

.account-premium-feedback {
  width: 100%;
  min-height: 40px;
}

.premium-feedback-modal {
  align-items: flex-start;
  padding: min(7vh, 54px) 18px 28px;
  overflow-y: auto;
}

.premium-feedback-dialog {
  width: min(100%, 820px);
  max-height: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.premium-feedback-dialog .premium-feedback-card {
  padding: clamp(22px, 4vw, 34px);
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  scrollbar-width: none;
}

.premium-feedback-dialog .premium-feedback-card::-webkit-scrollbar {
  display: none;
}

.premium-feedback-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

@media (max-width: 900px) {
  .premium-page-main {
    padding-top: 66px;
  }

  .premium-launch-layout,
  .premium-feature-hero {
    grid-template-columns: 1fr;
  }

  .premium-control-card {
    min-height: 0;
  }

  .premium-control-column,
  .premium-feature-column,
  .premium-feature-grid {
    height: auto;
  }

  .premium-feature-grid {
    grid-template-rows: none;
  }

  .premium-feature-diamond {
    width: 84px;
  }
}

@media (max-width: 620px) {
  .premium-feature-grid {
    grid-template-columns: 1fr;
  }

  .premium-actions {
    display: grid;
  }

  .premium-feedback-close {
    top: -10px;
    right: -10px;
  }
}

/* Staging Premium interaction polish */
.premium-price-card,
.premium-game-feature,
.premium-feedback-card,
.premium-perk,
.premium-roadmap,
.premium-home-section,
.premium-trial-card,
.premium-catalog-note,
.premium-membership-visual,
.premium-login-card {
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
  will-change: transform;
}

.premium-price-card:hover,
.premium-game-feature:hover,
.premium-feedback-card:hover,
.premium-perk:hover,
.premium-roadmap:hover,
.premium-home-section:hover,
.premium-trial-card:hover,
.premium-catalog-note:hover,
.premium-login-card:hover {
  transform: translate3d(0, -4px, 0);
}

.premium-home-section {
  perspective: 1100px;
  overflow: visible;
}

.premium-home-feature-grid {
  perspective: 1000px;
}

.premium-home-feature-grid article {
  transform-style: preserve-3d;
  transform: perspective(900px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
  transition:
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
  will-change: transform;
}

.premium-home-feature-grid article:hover {
  transform: perspective(900px) translate3d(0, -7px, 18px) rotateX(3deg) rotateY(-4deg);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26), 0 0 34px rgba(154, 92, 255, 0.12);
}

.premium-home-feature-grid article:nth-child(even):hover {
  transform: perspective(900px) translate3d(0, -7px, 18px) rotateX(3deg) rotateY(4deg);
}

.premium-home-feature-grid article::after {
  inset: -30px;
  transition: opacity 0.34s ease, transform 0.46s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-feedback-modal {
  overflow-x: hidden;
}

.premium-feedback-dialog {
  overflow: visible;
  padding: 22px;
}

.premium-feedback-dialog .premium-feedback-card {
  max-height: none;
  overflow: visible;
}

.premium-feedback-game-field {
  min-width: 0;
}

.premium-feedback-game-field .custom-select,
.premium-feedback-game-field select.input {
  width: 100%;
}

.account-dropdown {
  gap: 10px;
}

.account-premium-card {
  margin: 2px 4px 4px;
  padding: 16px;
}

.account-premium-feedback {
  justify-content: center;
}

/* Staging topbar, notifications, and Premium motion polish */
.footer-dot {
  display: inline-block;
  margin: 0 8px;
  color: var(--white);
  font-weight: 900;
  transform: translateY(-1px);
}

.account-dropdown {
  display: grid;
  gap: 10px;
  width: 292px;
  padding: 11px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 18%, rgba(154, 92, 255, 0.14), transparent 30%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.022)),
    rgba(6, 6, 7, 0.97);
  overflow: hidden;
}

.account-card {
  padding: 12px;
  border-radius: 23px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.025);
}

.account-avatar-large {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.account-name {
  font-size: 15px;
  letter-spacing: 0;
}

.account-username {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.account-premium-badge {
  width: 42px;
  height: 42px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 30px rgba(154, 92, 255, 0.28);
}

.account-premium-card {
  margin: 0;
  padding: 15px;
  border-radius: 24px;
  border-color: rgba(202, 169, 255, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(202, 169, 255, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(202, 169, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(202, 169, 255, 0.035);
}

.account-premium-orb {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.32), transparent 34%),
    rgba(154, 92, 255, 0.24);
  box-shadow: 0 0 30px rgba(154, 92, 255, 0.2);
}

.account-premium-feedback,
.logout-button,
.staff-dashboard-link {
  min-height: 42px;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
}

.logout-button {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

.account-dropdown .staff-dashboard-link {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.account-dropdown .staff-dashboard-link:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.14);
}

.notification-button {
  isolation: isolate;
}

.notification-button > svg {
  position: relative;
  z-index: 1;
}

.notification-button::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(202, 169, 255, 0.18) 38%, transparent 64%);
  opacity: 0;
  transform: scale(0.62);
  pointer-events: none;
}

.notification-button.is-live-pulse::after {
  animation: notificationRoundBurst 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-dropdown {
  width: min(382px, calc(100vw - 28px));
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at var(--glow-x, 74%) var(--glow-y, 18%), rgba(202, 169, 255, 0.16), transparent 36%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022)),
    rgba(7, 7, 8, 0.98);
  overflow: hidden;
}

.notification-head {
  padding: 7px 8px 12px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.notification-head button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s var(--ease);
}

.notification-head button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.notification-items {
  max-height: min(292px, calc(100svh - 188px));
  padding: 10px 2px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.notification-item {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.055), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
  isolation: isolate;
}

.notification-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(100deg, transparent 0%, rgba(202, 169, 255, 0.23) 34%, rgba(255, 255, 255, 0.14) 50%, transparent 72%);
  opacity: 0;
  transform: translateX(-76%) scaleX(0.58);
}

.notification-item:hover {
  transform: translateY(-2px);
  border-color: rgba(202, 169, 255, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 169, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.052);
}

.notification-item.unread {
  border-color: rgba(202, 169, 255, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(202, 169, 255, 0.15), transparent 42%),
    rgba(202, 169, 255, 0.06);
}

.notification-item.notification-reading {
  border-color: rgba(184, 255, 202, 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(184, 255, 202, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.038);
}

.notification-item.notification-live-new::before {
  animation: notificationPersonaScan 0.86s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-item-icon {
  border-color: rgba(202, 169, 255, 0.18);
  background: rgba(202, 169, 255, 0.07);
  color: #e5d5ff;
}

.premium-home-section::after,
.premium-feedback-card::after,
.premium-home-feature-grid article::after,
.premium-feature-grid .premium-perk::after {
  inset: 0;
  border-radius: inherit;
}

.premium-home-feature-grid article,
.premium-feature-grid .premium-perk {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
  transform: perspective(900px) translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
  will-change: transform;
}

.premium-home-feature-grid article:hover,
.premium-home-feature-grid article:nth-child(even):hover,
.premium-feature-grid .premium-perk:hover {
  transform: perspective(900px) translate3d(0, -6px, 16px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(154, 92, 255, 0.13);
}

.premium-feedback-card::after {
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(202, 169, 255, 0.13), transparent 56%);
}

.promise-grid .promise {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
  transform: perspective(900px) translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
  will-change: transform;
}

.promise-grid .promise::after,
.premium-feedback-dialog .premium-feedback-card::after {
  inset: 0;
}

.promise-grid .promise:hover {
  transform: perspective(900px) translate3d(0, -6px, 14px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(255, 255, 255, 0.08);
}

.premium-feedback-card,
.premium-feedback-dialog .premium-feedback-card {
  isolation: isolate;
}

.premium-feedback-modal {
  animation: feedbackBackdropIn 0.22s ease both;
}

.premium-feedback-modal.is-leaving {
  animation: feedbackBackdropOut 0.22s ease both;
}

.premium-feedback-dialog {
  animation: feedbackDialogIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.premium-feedback-modal.is-leaving .premium-feedback-dialog {
  animation: feedbackDialogOut 0.22s ease both;
}

.premium-feedback-dialog .premium-feedback-card {
  border-radius: 30px;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(202, 169, 255, 0.08);
}

.premium-page .premium-control-card {
  min-height: 620px;
  height: 100%;
}

.premium-page .premium-feature-column,
.premium-page .premium-feature-grid {
  height: 100%;
}

.premium-page .premium-feature-grid {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-height: 100%;
  align-content: stretch;
}

.premium-page .premium-feature-grid .premium-perk {
  min-height: 0;
  height: 100%;
  align-content: start;
}

.premium-membership-visual {
  --glow-x: 18%;
  --glow-y: 22%;
}

@media (max-width: 900px) {
  .premium-page .premium-control-card {
    min-height: 0;
  }

  .premium-page .premium-feature-column,
  .premium-page .premium-feature-grid {
    height: auto;
  }

  .premium-page .premium-feature-grid {
    grid-template-rows: none;
  }
}

.premium-actions .btn.is-premium-thanks,
.premium-actions .btn.is-premium-thanks:hover,
.premium-actions .btn.is-premium-thanks:disabled {
  cursor: default;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  transform: none;
}

.premium-actions .btn.is-premium-thanks svg {
  color: #d9c5ff;
}

.news-card-premium {
  border-color: rgba(202, 169, 255, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(202, 169, 255, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82);
}

.hero-manifesto .manifesto-title .outline {
  opacity: 1;
  visibility: visible;
  animation: none;
  color: rgba(255, 255, 255, 0.12);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.12);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.48);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.nav-actions .account-menu-button,
.nav-actions .notification-button,
.nav-actions .notification-button.icon-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
}

.nav-actions .account-menu-button svg,
.nav-actions .notification-button svg,
.mobile-account-action svg,
.mobile-notification-action .notification-button svg {
  width: 18px;
  height: 18px;
}

.mobile-account-action,
.mobile-notification-action .notification-button {
  border-radius: 999px;
}

.mobile-account-action {
  position: relative;
  isolation: isolate;
}

.mobile-account-action > svg {
  position: relative;
  z-index: 1;
}

.mobile-account-action::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(202, 169, 255, 0.18) 38%, transparent 64%);
  opacity: 0;
  transform: scale(0.62);
  pointer-events: none;
}

.mobile-account-action.is-live-pulse::after {
  animation: notificationRoundBurst 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-account-action .notification-badge {
  z-index: 2;
}

@keyframes feedbackBackdropIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(18px);
  }
}

@keyframes feedbackBackdropOut {
  from {
    opacity: 1;
    backdrop-filter: blur(18px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0);
  }
}

@keyframes feedbackDialogIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.965);
    filter: blur(10px);
  }
  64% {
    opacity: 1;
    transform: translateY(-2px) scale(1.006);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes feedbackDialogOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.975);
    filter: blur(8px);
  }
}

@keyframes notificationRoundBurst {
  0% {
    opacity: 0;
    transform: scale(0.54);
    filter: blur(4px);
  }
  42% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.26);
    filter: blur(7px);
  }
}

@keyframes notificationPersonaScan {
  0% {
    opacity: 0;
    transform: translateX(-76%) scaleX(0.58);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(72%) scaleX(1);
  }
}

@media (max-width: 620px) {
  .account-dropdown {
    width: min(304px, calc(100vw - 20px));
  }

  .account-avatar-large {
    width: 50px;
    height: 50px;
  }

  .notification-dropdown,
  .mobile-notification-action .notification-dropdown {
    width: calc(100vw - 20px);
    max-width: none;
  }

  .notification-items {
    max-height: min(292px, calc(100svh - 164px));
  }
}

/* Staging Premium/support polish */
.premium-feedback-close {
  top: -14px;
  right: -14px;
}

.premium-feedback-dialog {
  position: relative;
}

.game-feedback-fab {
  right: 74px;
  bottom: 22px;
  width: 44px;
  height: 44px;
}

@media (max-width: 980px) {
  .site-nav.has-mobile-notifications .mobile-account-action {
    left: auto;
    right: calc(var(--mobile-nav-right) + var(--mobile-nav-width) + var(--mobile-nav-gap));
  }

  .site-nav.has-mobile-notifications .mobile-notification-action.logged-in {
    left: 14px;
    right: auto;
  }

  .site-nav.has-mobile-notifications .mobile-notification-action .notification-dropdown {
    left: 14px;
    right: auto;
    transform-origin: top left;
  }
}

@media (max-width: 760px) {
  .game-feedback-fab {
    right: 74px;
    bottom: 22px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 620px) {
  .site-nav.has-mobile-notifications .mobile-account-action {
    left: auto;
  }

  .site-nav.has-mobile-notifications .mobile-notification-action.logged-in {
    left: 10px;
  }

  .site-nav.has-mobile-notifications .mobile-notification-action .notification-dropdown {
    left: 10px;
  }

  .premium-feedback-close {
    top: -10px;
    right: -10px;
  }
}

/* Merged account and notification menu */
.merged-account-menu .account-menu-button {
  position: relative;
  isolation: isolate;
}

.merged-account-menu .account-menu-button > svg {
  position: relative;
  z-index: 1;
}

.merged-account-menu .account-menu-button::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(202, 169, 255, 0.18) 38%, transparent 64%);
  opacity: 0;
  transform: scale(0.62);
  pointer-events: none;
}

.merged-account-menu .account-menu-button.is-live-pulse::after {
  animation: notificationRoundBurst 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.merged-account-menu .account-menu-button .notification-badge {
  z-index: 2;
}

.merged-account-menu .account-dropdown {
  width: min(420px, calc(100vw - 28px));
  max-height: min(760px, calc(100svh - 92px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.merged-account-menu .account-dropdown::-webkit-scrollbar {
  display: none;
}

.account-summary-panel,
.account-notification-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.024);
}

.account-info-grid {
  display: grid;
  gap: 8px;
}

.account-info-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.026);
}

.account-info-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
}

.account-info-icon svg {
  width: 16px;
  height: 16px;
}

.account-info-row span:last-child,
.account-roblox-list article span {
  min-width: 0;
}

.account-info-row strong,
.account-info-row em,
.account-info-row small,
.account-roblox-list strong,
.account-roblox-list small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-info-row strong,
.account-mini-head span {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.account-info-row em {
  margin-top: 3px;
  color: var(--white);
  font-style: normal;
  font-weight: 800;
}

.account-info-row small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.account-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.account-mini-head strong {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
}

.account-roblox-panel {
  display: grid;
  gap: 8px;
}

.account-roblox-list {
  display: grid;
  gap: 8px;
}

.account-roblox-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.account-roblox-list img,
.account-roblox-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.account-roblox-list strong {
  color: var(--white);
  font-weight: 800;
}

.account-roblox-list small,
.account-roblox-list p {
  color: rgba(255, 255, 255, 0.48);
}

.account-roblox-list p {
  margin: 0;
  padding: 8px 2px;
}

.account-notification-panel {
  padding: 0;
  overflow: hidden;
}

.account-notification-panel .notification-head {
  padding: 12px 12px 10px;
}

.account-notification-panel .notification-items {
  max-height: 284px;
  padding: 10px 10px 12px;
}

.account-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-action-grid .btn {
  min-width: 0;
  margin-top: 0;
  padding-inline: 12px;
}

.account-unbind-button {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .nav-actions.mobile-account-open .merged-account-menu {
    display: block;
  }

  .nav-actions.mobile-account-open .merged-account-menu.account-menu {
    position: static;
  }

  .nav-actions.mobile-account-open .merged-account-menu > .account-menu-button {
    display: none;
  }

  .nav-actions.mobile-account-open .merged-account-menu .account-dropdown {
    width: min(420px, calc(100vw - 28px));
    max-height: calc(100svh - 88px);
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .merged-account-menu .account-dropdown {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 84px);
  }

  .nav-actions.mobile-account-open .merged-account-menu .account-dropdown {
    top: 66px;
    left: 10px;
    width: calc(100vw - 20px);
  }

  .account-action-grid {
    grid-template-columns: 1fr;
  }

  .account-notification-panel .notification-items {
    max-height: 236px;
  }
}

/* Final mobile header layout: keep account separate and locked beside tab group. */
@media (max-width: 980px) {
  .site-nav {
    --mobile-nav-right: 24px;
    --mobile-nav-gap: 8px;
    --mobile-nav-control-size: 38px;
    --mobile-nav-width: 260px;
  }

  .site-nav .mobile-nav-actions {
    position: absolute !important;
    top: 50% !important;
    right: var(--mobile-nav-right) !important;
    transform: translateY(-50%) !important;
    z-index: 7;
  }

  .site-nav .mobile-account-action {
    display: inline-grid !important;
    place-items: center;
    position: absolute !important;
    top: 50% !important;
    left: auto !important;
    right: calc(var(--mobile-nav-right) + var(--mobile-nav-width) + var(--mobile-nav-gap)) !important;
    width: var(--mobile-nav-control-size) !important;
    height: var(--mobile-nav-control-size) !important;
    min-width: var(--mobile-nav-control-size) !important;
    min-height: var(--mobile-nav-control-size) !important;
    padding: 0;
    border-radius: 999px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) !important;
    z-index: 8;
  }

  .site-nav .mobile-account-action:hover,
  .site-nav .mobile-account-action.logged-in {
    transform: translateY(calc(-50% - 1px)) !important;
  }
}

@media (max-width: 760px) {
  .site-nav {
    --mobile-nav-right: 14px;
    --mobile-nav-control-size: 30px;
    --mobile-nav-width: 196px;
  }

  .site-nav .mobile-account-action svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 360px) {
  .site-nav {
    --mobile-nav-control-size: 28px;
    --mobile-nav-width: 184px;
  }
}

/* Refined Home catalog flow and Premium grid geometry. */
.home-games-band {
  position: relative;
  width: 100%;
  padding: clamp(74px, 9vw, 132px) 0 clamp(82px, 10vw, 144px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(189, 232, 255, 0.055), transparent 38%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012) 48%, transparent);
}

.home-games-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 0 32px;
}

.home-games-heading .section-title {
  max-width: 920px;
  margin-top: 14px;
}

.home-games-heading .section-copy {
  max-width: 690px;
  margin-top: 18px;
}

.home-games-marquee {
  width: 100vw;
  margin: clamp(52px, 7vw, 92px) 0 0 calc(50% - 50vw);
  padding: 34px 0 42px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 7%, black 28%, black 72%, rgba(0, 0, 0, 0.2) 93%, transparent 100%);
}

.home-games-track {
  gap: clamp(54px, 7.5vw, 126px);
  animation-duration: 42s;
}

.home-game-card,
.home-game-card.is-loading {
  --center-scale: 0.62;
  --center-opacity: 0.2;
  --center-blur: 3px;
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: var(--center-opacity);
  filter: blur(var(--center-blur));
  transform: scale(var(--center-scale));
  transform-origin: center;
  transition: opacity 0.2s linear, filter 0.2s linear, transform 0.2s linear, color 0.22s ease;
}

.home-game-card::before,
.home-game-card::after {
  display: none;
}

.home-game-card strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(64px, 8.2vw, 136px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 0 42px rgba(189, 232, 255, 0.08);
}

.home-game-card small {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 2.2px;
}

.home-game-card:hover,
.home-game-card:focus-visible {
  color: var(--nova-ice);
  filter: blur(0) saturate(1);
  outline: none;
}

.home-game-card:hover strong,
.home-game-card:focus-visible strong {
  color: var(--nova-ice);
  text-shadow: 0 0 48px rgba(189, 232, 255, 0.24);
}

.premium-benefit-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(278px, auto);
  gap: 14px;
}

.premium-benefit-card,
.premium-benefit-card.benefit-wide {
  grid-column: span 4;
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  justify-items: start;
  gap: 22px;
  min-height: 100%;
  padding: clamp(26px, 3.2vw, 38px);
}

.premium-benefit-card:nth-child(1) {
  grid-column: span 7;
  background:
    radial-gradient(circle at 86% 4%, rgba(185, 152, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(185, 152, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 10, 0.9);
}

.premium-benefit-card:nth-child(2) {
  grid-column: span 5;
}

.premium-benefit-card:nth-child(3),
.premium-benefit-card:nth-child(4),
.premium-benefit-card:nth-child(5) {
  grid-column: span 4;
}

.premium-benefit-card .icon-badge {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 16px;
  transform: none;
}

.premium-benefit-card > div {
  align-self: start;
}

.premium-benefit-card h3 {
  margin-top: 10px;
}

.premium-benefit-card p {
  max-width: 62ch;
}

.premium-faq-list details {
  overflow: hidden;
  will-change: height;
}

.premium-faq-list summary {
  transition: color 0.28s ease, padding-left 0.34s var(--ease);
}

.premium-faq-list summary:hover {
  padding-left: 8px;
  color: #e9ddff;
}

.premium-faq-list summary svg {
  width: 32px;
  height: 32px;
  padding: 8px;
  flex: 0 0 32px;
  border: 1px solid rgba(185, 152, 255, 0.2);
  border-radius: 50%;
  background: rgba(185, 152, 255, 0.055);
  color: #d8c5ff;
  transition: transform 0.42s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.premium-faq-list details[open] summary svg {
  transform: rotate(135deg) scale(1.08);
  border-color: rgba(185, 152, 255, 0.48);
  background: rgba(185, 152, 255, 0.18);
  color: var(--white);
}

.premium-faq-list details.is-closing summary svg {
  transform: rotate(0) scale(1);
}

.premium-faq-list details[open] p {
  animation: premiumFaqContentIn 0.38s var(--ease) both;
}

@keyframes premiumFaqContentIn {
  from { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 980px) {
  .premium-benefit-card,
  .premium-benefit-card.benefit-wide,
  .premium-benefit-card:nth-child(1),
  .premium-benefit-card:nth-child(2),
  .premium-benefit-card:nth-child(3),
  .premium-benefit-card:nth-child(4) {
    grid-column: span 6;
  }

  .premium-benefit-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home-games-heading {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 0 22px;
    text-align: left;
  }

  .home-games-heading .btn {
    justify-self: start;
  }

  .home-games-marquee {
    margin-top: 42px;
  }

  .home-games-track {
    gap: 48px;
  }

  .home-game-card strong {
    font-size: clamp(54px, 18vw, 88px);
  }

  .premium-benefit-card,
  .premium-benefit-card.benefit-wide,
  .premium-benefit-card:nth-child(1),
  .premium-benefit-card:nth-child(2),
  .premium-benefit-card:nth-child(3),
  .premium-benefit-card:nth-child(4),
  .premium-benefit-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-games-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    transform: none !important;
  }

  .home-game-card,
  .home-game-card.is-loading {
    --center-scale: 1;
    --center-opacity: 1;
    --center-blur: 0px;
  }
}

/* Premium comparison alignment, benefit motion, and FAQ edge safety. */
.premium-compare-grid {
  align-items: stretch;
}

.premium-plan-card {
  height: 100%;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  align-content: stretch;
}

.premium-plan-card ul {
  align-self: start;
}

.premium-plan-card .btn,
.premium-plan-card .btn-premium {
  align-self: end;
  margin-top: auto;
}

.premium-benefit-card.reveal {
  --benefit-delay: 0ms;
  opacity: 0;
  filter: blur(10px);
  transform: perspective(900px) translateY(46px) scale(0.94) rotateX(6deg);
  transition:
    opacity 0.78s var(--ease) var(--benefit-delay),
    filter 0.72s var(--ease) var(--benefit-delay),
    transform 0.86s var(--ease) var(--benefit-delay),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}

.premium-benefit-card:nth-child(1) { --benefit-delay: 0ms; }
.premium-benefit-card:nth-child(2) { --benefit-delay: 90ms; }
.premium-benefit-card:nth-child(3) { --benefit-delay: 60ms; }
.premium-benefit-card:nth-child(4) { --benefit-delay: 140ms; }
.premium-benefit-card:nth-child(5) { --benefit-delay: 220ms; }

.premium-benefit-card.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: perspective(900px) translateY(0) scale(1) rotateX(0);
}

.premium-benefit-card.reveal.visible:hover {
  transform: perspective(900px) translateY(-7px) scale(1.012) rotateX(0);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.38), 0 0 42px rgba(154, 92, 255, 0.1);
}

.premium-benefit-card.reveal .icon-badge {
  opacity: 0;
  transform: translateY(16px) rotate(-9deg) scale(0.84);
  transition: opacity 0.56s ease calc(var(--benefit-delay) + 180ms), transform 0.7s var(--ease) calc(var(--benefit-delay) + 160ms), background 0.28s ease, border-color 0.28s ease;
}

.premium-benefit-card.reveal.visible .icon-badge {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

.premium-benefit-card.reveal.visible:hover .icon-badge {
  transform: translateY(-3px) rotate(5deg) scale(1.06);
  border-color: rgba(185, 152, 255, 0.54);
  background: rgba(185, 152, 255, 0.14);
}

.premium-benefit-card.reveal > div {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.56s ease calc(var(--benefit-delay) + 230ms), transform 0.68s var(--ease) calc(var(--benefit-delay) + 210ms);
}

.premium-benefit-card.reveal.visible > div {
  opacity: 1;
  transform: translateY(0);
}

.premium-faq-list {
  padding-right: 7px;
}

.premium-faq-list summary {
  padding-right: 4px;
}

.premium-faq-list details[open] summary svg {
  transform: rotate(135deg) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .premium-benefit-card.reveal,
  .premium-benefit-card.reveal .icon-badge,
  .premium-benefit-card.reveal > div {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Live catalog thumbnails, slower motion, and hover-to-center behavior. */
.home-games-heading {
  align-items: center;
}

.home-games-heading .btn {
  align-self: center;
  justify-self: end;
}

.home-games-track {
  --home-games-hover-shift: 0px;
  animation-duration: 84s;
  translate: var(--home-games-hover-shift) 0;
  transition: translate 0.9s var(--ease);
  will-change: transform, translate;
}

.home-game-card,
.home-game-card.is-loading {
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  align-content: center;
  justify-items: start;
  gap: clamp(18px, 2.4vw, 34px);
}

.home-game-card.is-loading {
  grid-template-columns: 1fr;
  justify-items: center;
}

.home-game-thumbnail {
  width: clamp(86px, 10vw, 152px);
  aspect-ratio: 16 / 11;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(22px, 2.6vw, 38px);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-3deg) scale(0.94);
  transition: transform 0.68s var(--ease), border-color 0.34s ease, box-shadow 0.42s ease, filter 0.34s ease;
}

.home-game-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.04);
  transition: transform 0.8s var(--ease), filter 0.42s ease;
}

.home-game-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.home-game-card strong {
  font-size: clamp(58px, 7.2vw, 120px);
}

.home-game-card.is-hover-target .home-game-thumbnail,
.home-game-card:hover .home-game-thumbnail,
.home-game-card:focus-visible .home-game-thumbnail {
  border-color: rgba(189, 232, 255, 0.58);
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.48), 0 0 44px rgba(189, 232, 255, 0.14);
  transform: rotate(0) scale(1.03);
}

.home-game-card.is-hover-target .home-game-thumbnail img,
.home-game-card:hover .home-game-thumbnail img,
.home-game-card:focus-visible .home-game-thumbnail img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.12);
}

.home-game-card.is-hover-target strong {
  color: var(--nova-ice);
  text-shadow: 0 0 48px rgba(189, 232, 255, 0.24);
}

.premium-faq-list details[open] p {
  animation: none;
}

@media (max-width: 720px) {
  .home-games-heading .btn {
    justify-self: start;
  }

  .home-game-thumbnail {
    width: clamp(72px, 24vw, 112px);
    border-radius: 22px;
  }

  .home-game-card strong {
    font-size: clamp(46px, 15vw, 78px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-games-track {
    translate: none;
  }

  .home-game-thumbnail,
  .home-game-thumbnail img {
    transform: none;
  }
}

/* Artwork-first Home catalog composition. */
.home-games-marquee {
  padding-top: 54px;
  padding-bottom: 64px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 5%, black 26%, black 74%, rgba(0, 0, 0, 0.08) 95%, transparent 100%);
}

.home-games-track {
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
}

.home-game-card,
.home-game-card.is-loading {
  --center-score: 0;
  min-width: clamp(330px, 38vw, 640px);
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  gap: clamp(22px, 2.6vw, 34px);
}

.home-game-thumbnail {
  position: relative;
  width: clamp(270px, 31vw, 520px);
  aspect-ratio: 16 / 9;
  border-color: rgba(255, 255, 255, calc(0.12 + var(--center-score) * 0.28));
  border-radius: clamp(28px, 3.4vw, 50px);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, calc(0.3 + var(--center-score) * 0.24)),
    0 0 64px rgba(189, 232, 255, calc(var(--center-score) * 0.12)),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(calc((1 - var(--center-score)) * 10px)) scale(calc(0.96 + var(--center-score) * 0.04));
}

.home-game-thumbnail::before,
.home-game-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

.home-game-thumbnail::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(3, 3, 5, 0.12)),
    radial-gradient(circle at 50% 110%, rgba(189, 232, 255, 0.16), transparent 44%);
  opacity: calc(0.36 + var(--center-score) * 0.5);
}

.home-game-thumbnail::after {
  inset: auto 12% -28px;
  height: 34px;
  border-radius: 50%;
  background: rgba(189, 232, 255, 0.18);
  filter: blur(24px);
  opacity: calc(var(--center-score) * 0.72);
}

.home-game-thumbnail img {
  position: relative;
  z-index: 0;
  filter: saturate(calc(0.68 + var(--center-score) * 0.42)) contrast(1.06) brightness(calc(0.7 + var(--center-score) * 0.3));
  transform: scale(calc(1.08 - var(--center-score) * 0.04));
}

.home-game-copy {
  width: min(100%, 620px);
  justify-items: center;
  gap: 13px;
  text-align: center;
}

.home-game-card strong {
  max-width: 100%;
  color: rgba(255, 255, 255, calc(0.56 + var(--center-score) * 0.44));
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.9;
  letter-spacing: 1.5px;
  white-space: normal;
  text-wrap: balance;
}

.home-game-card small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, calc(0.08 + var(--center-score) * 0.14));
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.48);
  color: rgba(255, 255, 255, calc(0.36 + var(--center-score) * 0.42));
  backdrop-filter: blur(12px);
}

.home-game-card.is-hover-target .home-game-thumbnail,
.home-game-card:hover .home-game-thumbnail,
.home-game-card:focus-visible .home-game-thumbnail {
  transform: translateY(-5px) scale(1.035);
}

.home-game-card.is-hover-target strong,
.home-game-card:hover strong,
.home-game-card:focus-visible strong {
  color: var(--white);
}

@media (max-width: 720px) {
  .home-games-marquee {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .home-game-card,
  .home-game-card.is-loading {
    min-width: min(84vw, 390px);
    gap: 22px;
  }

  .home-game-thumbnail {
    width: min(78vw, 350px);
    border-radius: 28px;
  }

  .home-game-card strong {
    font-size: clamp(40px, 13vw, 66px);
  }
}

/* Staging account center and notification inbox refinement. */
.merged-account-menu .account-menu-button {
  overflow: visible;
  z-index: 2;
}

.merged-account-menu .account-menu-button .notification-badge {
  top: -7px;
  right: -7px;
  z-index: 20;
}

.merged-account-menu .account-dropdown {
  width: min(440px, calc(100vw - 28px));
  gap: 12px;
  padding: 12px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 54px rgba(154, 92, 255, 0.08);
}

.merged-account-menu .account-card {
  min-height: 94px;
  padding: 15px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(202, 169, 255, 0.17), transparent 36%),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
}

.merged-account-menu .account-card::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -44px;
  width: 150px;
  height: 66px;
  border-radius: 50%;
  background: rgba(154, 92, 255, 0.18);
  filter: blur(34px);
  pointer-events: none;
}

.account-card-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.account-card-kicker,
.account-summary-head small,
.notification-head-copy > small {
  display: block;
  color: rgba(255, 255, 255, 0.43);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-card-kicker {
  margin-bottom: 4px;
}

.account-status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.account-status-line > i,
.account-client-state > i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8ee6aa;
  box-shadow: 0 0 12px rgba(142, 230, 170, 0.62);
}

.account-status-line.has-unread > i {
  background: #d4b8ff;
  box-shadow: 0 0 12px rgba(202, 169, 255, 0.72);
  animation: accountStatusPulse 2s ease-in-out infinite;
}

.account-summary-panel {
  gap: 12px;
  padding: 13px;
}

.account-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 3px 1px;
}

.account-summary-head strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: -0.15px;
}

.account-client-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-client-state > i {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.account-client-state.is-connected {
  border-color: rgba(142, 230, 170, 0.18);
  color: #baf1ca;
  background: rgba(142, 230, 170, 0.045);
}

.account-client-state.is-connected > i {
  background: #8ee6aa;
  box-shadow: 0 0 10px rgba(142, 230, 170, 0.5);
}

.account-info-row {
  min-height: 58px;
  padding: 10px;
  transition: transform 0.25s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.account-info-row:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 169, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.account-notification-panel .notification-head {
  min-height: 78px;
  padding: 14px 15px 12px;
}

.notification-head-copy {
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
  text-transform: none;
}

.notification-head-copy > strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  letter-spacing: -0.2px;
  line-height: 1.1;
  text-transform: none;
}

.notification-head-copy > em {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.7px;
  line-height: 1.2;
  text-transform: uppercase;
}

.notification-head button:disabled {
  cursor: default;
  opacity: 0.38;
  pointer-events: none;
}

.account-notification-panel .notification-items {
  gap: 9px;
  max-height: 326px;
  padding: 10px;
}

.account-notification-panel .notification-item {
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 11px;
  min-height: 104px;
  padding: 13px;
  align-items: center;
}

.account-notification-panel .notification-item.notification-approval {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
}

.notification-item-copy {
  min-width: 0;
}

.notification-item-topline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.notification-item-topline > small {
  margin: 0;
  color: rgba(202, 169, 255, 0.72);
  font-size: 8px;
  line-height: 1;
}

.notification-unread-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d8c0ff;
  box-shadow: 0 0 12px rgba(202, 169, 255, 0.78);
}

.notification-item .notification-item-time {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.36);
}

.notification-item-arrow {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s ease, transform 0.3s var(--ease);
}

.notification-item:hover .notification-item-arrow {
  color: rgba(255, 255, 255, 0.84);
  transform: translateX(3px);
}

.account-notification-panel .notification-empty {
  min-height: 146px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
}

.account-notification-panel .notification-empty svg {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  color: rgba(202, 169, 255, 0.74);
}

.account-notification-panel .notification-empty strong,
.account-notification-panel .notification-empty span {
  display: block;
}

.account-notification-panel .notification-empty strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.account-notification-panel .notification-empty span {
  font-size: 11px;
}

@keyframes accountStatusPulse {
  0%, 100% { opacity: 0.58; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 980px) {
  .site-nav {
    --mobile-nav-gap: 12px;
  }

  .site-nav .mobile-account-action {
    overflow: visible !important;
    z-index: 20;
  }

  .site-nav .mobile-account-action .notification-badge {
    top: -7px;
    right: auto;
    left: -7px;
    z-index: 30;
  }

  .nav-actions.mobile-account-open .merged-account-menu .account-dropdown {
    width: min(440px, calc(100vw - 28px));
  }
}

@media (max-width: 520px) {
  .merged-account-menu .account-dropdown,
  .nav-actions.mobile-account-open .merged-account-menu .account-dropdown {
    width: calc(100vw - 20px);
  }

  .account-client-state span {
    display: none;
  }

  .account-client-state {
    width: 26px;
    padding: 0;
    justify-content: center;
  }

  .account-notification-panel .notification-items {
    max-height: 278px;
  }

  .account-notification-panel .notification-item {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    min-height: 98px;
    padding: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-status-line.has-unread > i {
    animation: none;
  }
}

/* Staging 2026 site-wide flow and hierarchy system. */
.site-nav {
  transition:
    min-height 0.34s var(--ease),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.site-nav.is-scrolled {
  min-height: 66px;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(4, 4, 5, 0.94);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.site-progress {
  --site-progress: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--nova-ice), var(--white) 46%, var(--nova-violet));
  box-shadow: 0 0 18px rgba(189, 232, 255, 0.42);
  transform: scaleX(var(--site-progress));
  transform-origin: left center;
  transition: transform 0.1s linear;
}

.site-return {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 38;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.8);
  color: var(--white);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.82);
  transition: opacity 0.24s ease, transform 0.34s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.site-return.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-return:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.04);
}

.site-return svg {
  width: 17px;
  height: 17px;
}

.content-page .page {
  padding-top: clamp(42px, 5vw, 72px);
}

.content-page:not(.premium-page) .page-hero {
  padding-bottom: clamp(30px, 4vw, 48px);
}

.content-page:not(.premium-page) .page-hero-inner {
  min-height: 470px;
  justify-content: center;
  padding: clamp(42px, 6vw, 72px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 86% 12%, rgba(189, 232, 255, 0.095), transparent 28%),
    radial-gradient(circle at 8% 100%, rgba(185, 152, 255, 0.075), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.014)),
    rgba(7, 7, 9, 0.9);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.content-page:not(.premium-page) .page-title {
  margin-top: 22px;
  font-size: clamp(72px, 8vw, 116px);
}

.content-page:not(.premium-page) .page-copy {
  max-width: 720px;
  margin-top: 26px;
  background: transparent;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.content-page .section {
  padding-top: clamp(26px, 4vw, 54px);
  padding-bottom: clamp(78px, 8vw, 120px);
}

.content-page .list-toolbar {
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.07), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    rgba(7, 7, 8, 0.82);
}

.site-cta,
.home-endcap {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 92px);
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 0%, rgba(189, 232, 255, 0.11), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(185, 152, 255, 0.1), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.016)),
    rgba(7, 7, 9, 0.9);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.34);
}

.site-cta::after,
.home-endcap::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -70px;
  width: 280px;
  height: 100px;
  border-radius: 50%;
  background: rgba(189, 232, 255, 0.13);
  filter: blur(46px);
  pointer-events: none;
}

.site-cta > *,
.home-endcap > * {
  position: relative;
  z-index: 1;
}

.site-cta-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.site-cta-icon svg {
  width: 22px;
  height: 22px;
}

.site-cta h2,
.home-endcap h2 {
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 0.94;
}

.site-cta p,
.home-endcap p {
  max-width: 680px;
  margin-top: 11px;
  color: var(--muted);
  line-height: 1.65;
}

.premium-site-cta {
  border-color: rgba(185, 152, 255, 0.28);
  background:
    radial-gradient(circle at 88% 0%, rgba(185, 152, 255, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(185, 152, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(8, 7, 11, 0.92);
}

.premium-site-cta .site-cta-icon {
  border-color: rgba(185, 152, 255, 0.34);
  background: rgba(185, 152, 255, 0.11);
  color: #eadfff;
}

.footer {
  position: relative;
  min-height: 150px;
  padding: 42px 34px;
  border-top-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 12% 100%, rgba(185, 152, 255, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(0, 0, 0, 0.22));
}

.footer-brand {
  display: grid;
  gap: 7px;
}

.footer-brand > span:first-child {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3.5px;
  line-height: 1;
}

.footer-brand > .footer-tagline {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Home becomes the concise product story. */
.hero-manifesto {
  min-height: auto;
  padding-top: clamp(86px, 8vw, 118px);
  padding-bottom: clamp(64px, 7vw, 94px);
}

.hero-manifesto .manifesto-title {
  max-width: 980px;
  font-size: clamp(74px, 8.2vw, 124px);
}

.hero-manifesto .manifesto-copy {
  max-width: 700px;
  margin-top: 24px;
  background: transparent;
}

.hero-manifesto .hero-actions {
  margin-top: 28px;
}

.hero-manifesto .manifesto-grid {
  margin-top: 42px;
}

.hero-manifesto .loader-codebox {
  margin-top: 14px;
}

.home-games-band.reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.home-games-band {
  padding-top: clamp(74px, 7vw, 104px);
  padding-bottom: clamp(76px, 7vw, 110px);
}

.home-games-heading .section-title {
  font-size: clamp(54px, 6vw, 88px);
}

.home-games-marquee {
  margin-top: clamp(42px, 5vw, 66px);
  padding-top: 46px;
  padding-bottom: 58px;
}

.home-game-card,
.home-game-card.is-loading {
  min-width: clamp(300px, 34vw, 520px);
  gap: clamp(18px, 2vw, 28px);
}

.home-game-thumbnail {
  width: clamp(250px, 27vw, 420px);
}

.home-game-card strong {
  font-size: clamp(40px, 4.6vw, 68px);
}

.home-endcap {
  margin-top: clamp(48px, 6vw, 76px);
}

.home-endcap-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* News is summarized first, with full stories available on demand. */
.news-list {
  align-items: start;
}

.news-card {
  align-self: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  transition: transform 0.34s var(--ease), border-color 0.24s ease, background 0.24s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
}

.news-card h2 {
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1;
}

.news-body.is-collapsible {
  position: relative;
  max-height: 14.2em;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
  transition: max-height 0.7s var(--ease), mask-image 0.25s ease;
}

.news-card.is-expanded .news-body.is-collapsible {
  max-height: 2200px;
  mask-image: none;
}

.news-read-toggle {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.24s var(--ease);
}

.news-read-toggle:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.news-read-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.34s var(--ease);
}

.news-card.is-expanded .news-read-toggle svg {
  transform: rotate(180deg);
}

.news-more-card,
.executor-load-more {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 250px;
  padding: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 100%, rgba(189, 232, 255, 0.075), transparent 42%),
    rgba(255, 255, 255, 0.018);
  text-align: center;
}

.news-more-card strong,
.executor-load-more strong {
  color: var(--white);
  font-size: 22px;
}

.news-more-card p,
.executor-load-more p {
  max-width: 390px;
  color: var(--muted);
}

.news-more-card .btn,
.executor-load-more .btn {
  margin-top: 6px;
}

/* Executor cards surface the useful comparison and tuck away deep specs. */
.executor-grid {
  align-items: start;
}

.executor-card {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 26px;
  contain: layout paint;
}

.executor-card .executor-primary-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.executor-card .executor-primary-metrics .metric {
  min-height: 72px;
}

.executor-specs {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.024);
}

.executor-specs summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.executor-specs summary::-webkit-details-marker {
  display: none;
}

.executor-specs summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.executor-specs summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.34s var(--ease), color 0.2s ease;
}

.executor-specs[open] summary > svg {
  color: var(--white);
  transform: rotate(180deg);
}

.executor-secondary-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 10px 10px;
}

.executor-secondary-metrics .metric {
  min-height: 68px;
}

.executor-load-more {
  min-height: 230px;
  margin-top: 22px;
}

.executor-uptime-chart {
  height: 116px;
}

/* Authentication has a visible, reassuring path. */
.auth-panel {
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.018);
}

.auth-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-path > span {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(8, 8, 9, 0.94);
  color: rgba(255, 255, 255, 0.42);
}

.auth-path > span.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.auth-path > span.complete {
  color: #caffca;
  background: rgba(202, 255, 202, 0.035);
}

.auth-path > span.complete i {
  border-color: rgba(202, 255, 202, 0.24);
  background: rgba(202, 255, 202, 0.08);
}

.auth-path i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
}

.auth-path strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.6px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.key-auth-path {
  margin-top: 0;
}

.premium-final-section {
  padding-top: 18px;
}

@media (max-width: 980px) {
  .site-cta,
  .home-endcap {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-cta > .btn,
  .home-endcap-actions {
    grid-column: 2;
    justify-self: start;
  }

  .home-endcap-actions {
    justify-content: flex-start;
  }

  .executor-card .executor-primary-metrics,
  .executor-secondary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav.is-scrolled {
    min-height: 58px;
  }

  .site-return {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .content-page .page {
    padding-top: 32px;
  }

  .content-page:not(.premium-page) .page-hero-inner {
    min-height: 0;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .content-page:not(.premium-page) .page-title {
    margin-top: 18px;
    font-size: clamp(52px, 16vw, 72px);
  }

  .content-page:not(.premium-page) .page-copy {
    margin-top: 20px;
  }

  .page-hero-actions,
  .page-hero-actions .btn {
    width: 100%;
  }

  .page-hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .content-page .section {
    padding-top: 20px;
    padding-bottom: 76px;
    overflow: visible;
  }

  .content-page .list-toolbar {
    padding: 24px;
    border-radius: 26px;
  }

  .site-cta,
  .home-endcap {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    margin-top: 46px;
    padding: 26px;
    border-radius: 28px;
  }

  .site-cta > .btn,
  .home-endcap-actions {
    grid-column: auto;
    width: 100%;
  }

  .home-endcap-actions {
    display: grid;
  }

  .site-cta .btn,
  .home-endcap .btn {
    width: 100%;
  }

  .site-cta h2,
  .home-endcap h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .footer {
    min-height: 0;
    gap: 22px;
    padding: 34px 20px 92px;
  }

  .footer-brand {
    justify-items: center;
  }

  .footer-brand > .footer-tagline {
    text-align: center;
  }

  .hero-manifesto {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .hero-manifesto .manifesto-title {
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-manifesto .manifesto-copy {
    margin-top: 20px;
  }

  .hero-manifesto .manifesto-grid {
    gap: 12px;
    margin-top: 30px;
  }

  .hero-manifesto .manifesto-panel {
    padding: 24px 20px;
  }

  .hero-manifesto .manifesto-panel p + p {
    margin-top: 14px;
    padding-top: 14px;
  }

  .hero-manifesto .nova-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-manifesto .nova-metrics .signal-row {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
  }

  .hero-manifesto .nova-metrics .signal-row:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--line);
  }

  .hero-manifesto .nova-metrics .signal-row:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 66px;
    border-right: 0;
    border-bottom: 0;
  }

  .hero-manifesto .nova-metrics .signal-row strong {
    font-size: 28px;
  }

  .home-games-band {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .home-games-marquee {
    margin-top: 34px;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .home-game-card,
  .home-game-card.is-loading {
    min-width: min(82vw, 340px);
    gap: 18px;
  }

  .home-game-thumbnail {
    width: min(78vw, 320px);
  }

  .home-game-card strong {
    font-size: clamp(38px, 13vw, 58px);
  }

  .premium-benefit-card,
  .premium-benefit-card.benefit-wide,
  .premium-benefit-card:nth-child(n) {
    min-height: 0;
    gap: 18px;
    padding: 24px;
  }

  .premium-benefit-card p {
    line-height: 1.6;
  }

  .news-list {
    gap: 14px;
  }

  .news-card {
    padding: 22px;
    border-radius: 26px;
  }

  .news-body.is-collapsible {
    max-height: 12em;
  }

  .news-more-card,
  .executor-load-more {
    min-height: 220px;
    padding: 26px;
    border-radius: 26px;
  }

  .executor-card {
    gap: 14px;
    padding: 22px;
  }

  .executor-card .executor-primary-metrics,
  .executor-secondary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .executor-card .executor-primary-metrics .metric,
  .executor-secondary-metrics .metric {
    min-height: 68px;
    padding: 11px 9px;
  }

  .executor-uptime-chart {
    height: 104px;
  }

  .auth-path > span {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 64px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .auth-path strong {
    font-size: 7px;
  }

  .site-cta-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-progress,
  .site-return,
  .news-body.is-collapsible,
  .news-read-toggle svg,
  .executor-specs summary svg {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-game-thumbnail,
  .home-game-thumbnail img {
    filter: none;
    transform: none;
  }
}

/* Smooth catalog speed ramp and unclipped artwork glow. */
.home-games-marquee {
  padding-top: 96px;
  padding-bottom: 108px;
}

.home-games-marquee:hover .home-games-track {
  animation-play-state: running;
}

.home-games-track {
  transition: translate 1.05s var(--ease);
}

.home-game-card,
.home-game-copy {
  overflow: visible;
}

.home-game-thumbnail {
  overflow: visible;
  isolation: isolate;
}

.home-game-thumbnail img {
  z-index: 1;
  border-radius: inherit;
  clip-path: inset(0 round clamp(28px, 3.4vw, 50px));
}

.home-game-thumbnail::before {
  z-index: 2;
}

.home-game-thumbnail::after {
  z-index: 0;
  inset: auto 7% -42px;
  height: 52px;
  filter: blur(30px);
}

@media (max-width: 720px) {
  .home-games-marquee {
    padding-top: 68px;
    padding-bottom: 80px;
  }

  .home-game-thumbnail img {
    clip-path: inset(0 round 28px);
  }
}

/* Final Home rhythm authority after legacy catalog polish. */
.home-games-marquee {
  padding-top: 46px;
  padding-bottom: 58px;
}

@media (max-width: 720px) {
  .home-games-marquee {
    padding-top: 34px;
    padding-bottom: 42px;
  }
}

/* Staging touchups: card actions, safe dropdowns, podium, and expandable detail flow. */
.site-return {
  bottom: calc(22px + var(--site-return-lift, 0px));
  transition:
    bottom 0.16s linear,
    opacity 0.24s ease,
    transform 0.34s var(--ease),
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-return.is-footer-lifted {
  border-color: rgba(189, 232, 255, 0.28);
  background: rgba(8, 8, 10, 0.94);
}

.footer-brand > .footer-tagline {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.footer-brand > .footer-tagline strong {
  color: inherit;
  font: inherit;
  font-weight: 800;
}

.home-endcap {
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: clamp(30px, 5vw, 68px);
}

.home-endcap > div:first-child {
  min-width: 0;
}

.home-endcap h2 {
  max-width: 880px;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 0.98;
}

.home-endcap-actions {
  min-width: 210px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 10px;
}

.home-endcap-actions .btn,
.site-cta > .btn {
  width: 100%;
  min-width: 190px;
  justify-content: center;
  padding-inline: 24px;
  white-space: nowrap;
}

.site-cta {
  grid-template-columns: 58px minmax(0, 1fr) minmax(190px, auto);
  gap: clamp(22px, 3vw, 38px);
}

.site-cta > .btn {
  justify-self: end;
}

.site-cta h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 0.98;
}

/* Keep compact menus above the content that follows them. */
.content-page .list-toolbar.news-toolbar,
.news-toolbar,
.news-filter-shell,
.executor-status-toolbar {
  overflow: visible;
}

.news-toolbar {
  position: relative;
  z-index: 24;
}

.news-filter-shell {
  z-index: 26;
}

.news-filter-button {
  min-width: 148px;
  white-space: nowrap;
}

.news-filter-shell.open .news-filter-button {
  border-radius: 999px;
}

.news-filter-dropdown {
  top: calc(100% + 10px);
  z-index: 40;
  max-height: min(340px, calc(100svh - 120px));
  border-radius: 20px;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
}

.news-filter-shell.open .news-filter-dropdown {
  transform: translateY(0) scale(1);
}

.news-update-strip {
  position: relative;
  z-index: 1;
}

.floating-filter-menu,
.floating-filter-menu[data-dropdown-direction="up"] {
  border-radius: 20px;
}

.floating-filter-menu {
  max-height: min(320px, calc(100svh - 24px));
}

/* Let the Premium aura continue under the sticky header without a hard edge. */
.premium-page .premium-marketing-main,
.premium-marketing-hero {
  overflow: visible;
}

.premium-marketing-hero {
  isolation: isolate;
}

.premium-marketing-hero::before {
  top: -190px;
  bottom: auto;
  height: calc(86% + 250px);
  opacity: 0.96;
  mask-image: linear-gradient(to bottom, transparent 0, black 120px, black 82%, transparent 100%);
}

/* Aggregate community usage podium. */
.executor-podium-section {
  position: relative;
  margin-bottom: clamp(54px, 7vw, 88px);
}

.executor-podium-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  align-items: end;
  gap: 34px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.executor-podium-head .section-title {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(48px, 5.4vw, 78px);
}

.executor-podium-head .section-copy {
  justify-self: end;
  max-width: 560px;
}

.executor-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 15px;
}

.executor-podium-card {
  --podium-accent: 189, 232, 255;
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(var(--podium-accent), 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--podium-accent), 0.14), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(7, 7, 9, 0.9);
  box-shadow: 0 26px 84px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  transition:
    opacity 0.62s ease,
    transform 0.72s var(--ease),
    border-color 0.26s ease,
    box-shadow 0.3s ease;
}

.executor-podium-section.visible .executor-podium-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.executor-podium-section.visible .rank-2 { transition-delay: 70ms; }
.executor-podium-section.visible .rank-1 { transition-delay: 150ms; }
.executor-podium-section.visible .rank-3 { transition-delay: 220ms; }

.executor-podium-card:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(var(--podium-accent), 0.48);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.44), 0 0 42px rgba(var(--podium-accent), 0.08);
}

.executor-podium-card.rank-1 {
  --podium-accent: 185, 152, 255;
  order: 2;
  min-height: 356px;
  border-color: rgba(185, 152, 255, 0.44);
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 152, 255, 0.25), transparent 44%),
    linear-gradient(145deg, rgba(185, 152, 255, 0.1), rgba(255, 255, 255, 0.018)),
    rgba(8, 7, 12, 0.94);
}

.executor-podium-card.rank-2 {
  order: 1;
  min-height: 316px;
}

.executor-podium-card.rank-3 {
  --podium-accent: 255, 211, 138;
  order: 3;
  min-height: 286px;
}

.executor-podium-rank {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--podium-accent), 0.34);
  border-radius: 18px;
  background: rgba(var(--podium-accent), 0.09);
  color: rgb(var(--podium-accent));
}

.executor-podium-rank svg {
  width: 18px;
  height: 18px;
}

.executor-podium-rank strong {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
}

.executor-podium-copy h3 {
  max-width: 100%;
  margin-top: 9px;
  overflow: hidden;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 0.92;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.executor-podium-copy .status-chip {
  margin-top: 14px;
}

.executor-podium-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.executor-podium-stats > span {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px;
  background: rgba(7, 7, 9, 0.9);
}

.executor-podium-stats strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.executor-podium-stats small,
.executor-podium-note {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.executor-podium-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nova-warning);
}

.executor-podium-note svg {
  width: 13px;
  height: 13px;
}

.executor-podium-loading,
.executor-podium-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: var(--muted);
  text-align: center;
}

.executor-podium-loading svg {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

.executor-podium-empty strong {
  color: var(--white);
  font-size: 20px;
}

.executor-podium-empty span {
  max-width: 460px;
}

/* Technical detail cards expand beyond their former paint boundary. */
.content-page .executor-grid,
.executor-grid,
.executor-card {
  overflow: visible;
}

.executor-card {
  contain: layout;
}

.executor-specs {
  overflow: hidden;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.32s ease;
}

.executor-specs[open],
.executor-specs.is-expanding {
  overflow: visible;
  border-color: rgba(189, 232, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.executor-specs.is-closing {
  overflow: hidden;
}

.executor-specs summary {
  position: relative;
  z-index: 2;
  border-radius: 19px;
  transition: color 0.24s ease, background 0.24s ease;
}

.executor-specs summary:hover,
.executor-specs[open] summary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.executor-secondary-metrics {
  position: relative;
  z-index: 1;
  margin: 2px 10px 10px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.executor-secondary-metrics .metric {
  background: rgba(7, 7, 8, 0.96);
}

.key-auth-path {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .site-cta {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .site-cta > .btn {
    grid-column: 2;
    justify-self: start;
    width: auto;
  }

  .home-endcap {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
  }

  .executor-podium-head {
    grid-template-columns: 1fr;
  }

  .executor-podium-head .section-copy {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-return {
    bottom: calc(16px + var(--site-return-lift, 0px));
  }

  .footer-brand > .footer-tagline {
    max-width: 330px;
  }

  .home-endcap,
  .site-cta {
    grid-template-columns: 1fr;
  }

  .home-endcap-actions,
  .site-cta > .btn {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }

  .home-endcap-actions {
    min-width: 0;
  }

  .news-filter-shell {
    width: 100%;
  }

  .news-filter-button {
    width: 100%;
  }

  .news-filter-dropdown {
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: 100%;
    transform-origin: top center;
  }

  .premium-marketing-hero::before {
    top: -130px;
    height: calc(78% + 190px);
  }

  .executor-podium-head {
    gap: 18px;
    margin-bottom: 30px;
  }

  .executor-podium-head .section-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .executor-podium {
    grid-template-columns: 1fr;
  }

  .executor-podium-card,
  .executor-podium-card.rank-1,
  .executor-podium-card.rank-2,
  .executor-podium-card.rank-3 {
    order: initial;
    min-height: 0;
    padding: 22px;
  }

  .executor-podium-card.rank-1 { order: 1; }
  .executor-podium-card.rank-2 { order: 2; }
  .executor-podium-card.rank-3 { order: 3; }

  .executor-podium-copy h3 {
    font-size: 44px;
  }

  .executor-secondary-metrics {
    margin-inline: 7px;
    margin-bottom: 7px;
  }

  .key-auth-path > span {
    min-height: 70px;
    padding-inline: 6px;
  }

  .key-auth-path strong {
    font-size: 6.5px;
    letter-spacing: 0.3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .executor-podium-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Staging: compact news metrics and the private My Premium experience. */
.footer-brand > .footer-tagline {
  max-width: 260px;
}

.news-update-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: rgba(255, 255, 255, 0.12);
}

.news-update-strip .news-summary-item {
  position: relative;
  min-height: 102px;
  padding: 20px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 14% 0%, rgba(189, 232, 255, 0.055), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012)),
    #080809;
}

.news-update-strip .news-summary-item:last-child {
  border-right: 0;
}

.news-update-strip .news-summary-item span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.news-update-strip .news-summary-item span svg {
  width: 13px;
  height: 13px;
  color: rgba(189, 232, 255, 0.75);
}

.news-update-strip .news-summary-item strong {
  font-size: clamp(19px, 1.7vw, 25px);
}

.news-update-strip .news-summary-latest {
  background:
    radial-gradient(circle at 8% 0%, rgba(189, 232, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.016)),
    #080809;
}

.news-update-strip .news-summary-latest strong {
  font-size: clamp(15px, 1.35vw, 20px);
  white-space: normal;
  text-overflow: clip;
}

.account-premium-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-premium-actions .btn {
  min-width: 0;
  min-height: 40px;
  padding-inline: 11px;
  justify-content: center;
}

.my-premium-main {
  position: relative;
  padding-top: 0;
  overflow: visible;
}

.my-premium-main::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 0;
  width: 100%;
  height: 760px;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 18%, rgba(154, 92, 255, 0.22), transparent 31%),
    radial-gradient(circle at 18% 25%, rgba(189, 232, 255, 0.08), transparent 29%);
  mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 74%, transparent);
}

.my-premium-loading {
  min-height: calc(100vh - 190px);
  display: grid;
  align-items: center;
}

.my-premium-gate-card {
  max-width: 760px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(202, 169, 255, 0.24);
  border-radius: 34px;
  background: rgba(10, 9, 13, 0.88);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.44), 0 0 80px rgba(154, 92, 255, 0.08);
}

.my-premium-gate-card h1 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 1px;
  line-height: 0.95;
}

.my-premium-gate-card p {
  margin-top: 12px;
  color: var(--muted);
}

.my-premium-hero {
  padding-top: clamp(92px, 11vw, 150px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.my-premium-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
}

.my-premium-identity {
  display: grid;
  justify-items: start;
}

.my-premium-identity > .card-kicker {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.54);
}

.my-premium-identity > .card-kicker strong {
  color: #e6d9ff;
}

.my-premium-identity h1 {
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(78px, 12vw, 160px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 0.75;
}

.my-premium-identity h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(225, 211, 255, 0.82);
}

.my-premium-identity > p {
  max-width: 670px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}

.my-premium-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.my-premium-status-card {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: end;
  gap: 20px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(218, 196, 255, 0.3);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 4%, rgba(221, 202, 255, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(160, 101, 255, 0.13), rgba(255, 255, 255, 0.025) 62%),
    rgba(9, 8, 12, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 80px rgba(154, 92, 255, 0.13);
}

.my-premium-status-card::before {
  content: '';
  position: absolute;
  inset: -45% 25% 48%;
  border-radius: 50%;
  background: rgba(216, 193, 255, 0.14);
  filter: blur(28px);
}

.my-premium-status-orb {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 223, 255, 0.5);
  border-radius: 24px;
  color: #f4edff;
  background: rgba(176, 122, 255, 0.18);
  box-shadow: 0 0 44px rgba(176, 122, 255, 0.24);
}

.my-premium-status-orb svg {
  width: 31px;
  height: 31px;
}

.my-premium-status-card > div {
  position: relative;
}

.my-premium-status-card > div span,
.my-premium-status-card > div small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.my-premium-status-card > div strong {
  display: block;
  margin: 7px 0;
  color: var(--white);
  font-size: 30px;
}

.my-premium-live {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dfffe7;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.my-premium-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9dffb0;
  box-shadow: 0 0 14px rgba(157, 255, 176, 0.74);
}

.my-premium-dates-section,
.my-premium-news-section {
  padding-top: 36px;
}

.my-premium-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.my-premium-date-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), transparent 45%),
    rgba(8, 8, 10, 0.88);
  transition: transform 0.36s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.my-premium-date-card:hover {
  z-index: 2;
  transform: translateY(-6px);
  border-color: rgba(218, 198, 255, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(154, 92, 255, 0.09);
}

.my-premium-date-card.is-current {
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 232, 255, 0.12), transparent 48%),
    rgba(8, 9, 11, 0.92);
}

.my-premium-date-card.is-renewal {
  border-color: rgba(202, 169, 255, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 111, 255, 0.17), transparent 50%),
    rgba(10, 8, 13, 0.94);
}

.my-premium-date-icon {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  color: #e8dcff;
  background: rgba(255, 255, 255, 0.045);
}

.my-premium-date-card > strong {
  margin-top: 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(86px, 9vw, 126px);
  font-weight: 400;
  line-height: 0.72;
}

.my-premium-date-card h3 {
  margin-top: 18px;
  color: #e8dcff;
  font-size: clamp(20px, 2vw, 27px);
}

.my-premium-date-card p {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
}

.my-premium-benefits-section {
  padding-top: 34px;
  padding-bottom: 24px;
}

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

.my-premium-benefit-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.my-premium-benefit-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #e4d5ff;
  background: rgba(177, 124, 255, 0.1);
}

.my-premium-benefit-grid small,
.my-premium-benefit-grid strong {
  display: block;
}

.my-premium-benefit-grid small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.my-premium-benefit-grid strong {
  margin-top: 5px;
  color: var(--white);
}

.my-premium-benefit-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.my-premium-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.my-premium-news-card,
.my-premium-news-empty {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(202, 169, 255, 0.17);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(174, 119, 255, 0.11), transparent 48%),
    rgba(9, 8, 12, 0.9);
}

.my-premium-news-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.34s var(--ease), border-color 0.26s ease;
}

.my-premium-news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 199, 255, 0.36);
}

.my-premium-news-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-premium-news-card > div small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
}

.my-premium-news-card > .card-kicker {
  margin-top: 28px;
}

.my-premium-news-card h3 {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
}

.my-premium-news-card > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.my-premium-news-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: #ded0ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.my-premium-news-card > a svg {
  width: 14px;
  height: 14px;
}

.my-premium-news-empty {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.my-premium-news-empty svg {
  width: 30px;
  height: 30px;
  color: #d8c4ff;
}

.my-premium-news-empty strong {
  color: var(--white);
  font-size: 21px;
}

.my-premium-final-section {
  padding-top: 44px;
}

@media (max-width: 1080px) {
  .news-update-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-update-strip .news-summary-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .news-update-strip .news-summary-item:nth-child(3n) {
    border-right: 0;
  }

  .news-update-strip .news-summary-item:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .my-premium-hero-inner {
    grid-template-columns: 1fr;
  }

  .my-premium-status-card {
    min-height: 260px;
  }

  .my-premium-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .my-premium-gate-card,
  .my-premium-date-grid,
  .my-premium-news-grid {
    grid-template-columns: 1fr;
  }

  .my-premium-hero {
    padding-top: 74px;
  }

  .my-premium-identity h1 {
    font-size: clamp(72px, 27vw, 112px);
  }

  .my-premium-date-card {
    min-height: 280px;
  }

  .my-premium-date-card > strong {
    font-size: 96px;
  }
}

@media (max-width: 560px) {
  .news-update-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-update-strip .news-summary-item,
  .news-update-strip .news-summary-item:nth-child(3n) {
    min-height: 88px;
    padding: 16px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .news-update-strip .news-summary-item:nth-child(2n) {
    border-right: 0;
  }

  .news-update-strip .news-summary-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .news-update-strip .news-summary-item span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .my-premium-status-card {
    min-height: 300px;
    padding: 24px;
    border-radius: 30px;
  }

  .my-premium-live {
    top: 20px;
    right: 20px;
  }

  .my-premium-hero-actions,
  .my-premium-hero-actions .btn {
    width: 100%;
  }

  .account-premium-actions {
    grid-template-columns: 1fr;
  }
}

/* My Premium visual refinement. */
.my-premium-main [data-my-premium-shell] {
  position: relative;
}

.my-premium-main [data-my-premium-shell]::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 470px 0 auto;
  height: 980px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 38%, rgba(189, 232, 255, 0.045), transparent 35%),
    radial-gradient(circle at 82% 46%, rgba(154, 92, 255, 0.08), transparent 37%);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.my-premium-hero {
  padding-top: clamp(82px, 9vw, 126px);
  padding-bottom: clamp(52px, 6vw, 76px);
}

.my-premium-hero-inner {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.72fr);
}

.my-premium-status-card {
  --membership-cycle-progress: 0%;
  min-height: 390px;
  align-content: end;
  gap: 23px;
  padding: 34px;
  isolation: isolate;
  border-color: rgba(218, 196, 255, 0.36);
  background:
    radial-gradient(circle at 52% -2%, rgba(225, 208, 255, 0.28), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(154, 92, 255, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(160, 101, 255, 0.14), rgba(255, 255, 255, 0.022) 62%),
    rgba(9, 8, 13, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 36px 110px rgba(0, 0, 0, 0.48),
    0 0 100px rgba(154, 92, 255, 0.15);
}

.my-premium-status-card::after {
  content: 'N+';
  position: absolute;
  z-index: -1;
  top: 44px;
  right: 26px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(235, 223, 255, 0.07);
  transform: rotate(-4deg);
}

.my-premium-status-card > div:not(.my-premium-cycle) strong {
  font-size: 36px;
}

.my-premium-cycle {
  position: relative;
  display: grid;
  gap: 10px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.my-premium-cycle > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.my-premium-cycle > div span,
.my-premium-cycle > div strong,
.my-premium-cycle > small {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.my-premium-cycle > div span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 1.3px;
}

.my-premium-cycle > div strong {
  color: #eee5ff;
  font-size: 11px;
  letter-spacing: 0.8px;
}

.my-premium-cycle-track {
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.my-premium-cycle-track i {
  display: block;
  width: var(--membership-cycle-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bfa2ff, #f2eaff);
  box-shadow: 0 0 18px rgba(194, 164, 255, 0.5);
  transition: width 0.9s var(--ease);
}

.my-premium-cycle > small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.34);
  font-size: 7px;
  letter-spacing: 0.55px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-premium-dates-section {
  position: relative;
  padding: clamp(66px, 7vw, 94px) 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(90deg, transparent, rgba(154, 92, 255, 0.025) 50%, transparent),
    rgba(255, 255, 255, 0.006);
}

.my-premium-date-grid {
  position: relative;
  gap: 14px;
}

.my-premium-date-grid::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 51px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(189, 232, 255, 0.2), rgba(217, 198, 255, 0.28), rgba(167, 106, 255, 0.3));
  box-shadow: 0 0 18px rgba(184, 150, 255, 0.13);
}

.my-premium-date-card {
  min-height: 350px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.my-premium-date-card:first-child {
  background:
    radial-gradient(circle at 12% 0%, rgba(189, 232, 255, 0.1), transparent 48%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), transparent 45%),
    rgba(8, 9, 11, 0.92);
}

.my-premium-date-card.is-current {
  border-color: rgba(208, 228, 255, 0.18);
}

.my-premium-date-card.is-renewal {
  border-color: rgba(202, 169, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 0 50px rgba(154, 92, 255, 0.07);
}

.my-premium-date-icon {
  z-index: 1;
  border-color: rgba(225, 211, 255, 0.19);
  background: rgba(15, 13, 20, 0.9);
  box-shadow: 0 0 28px rgba(154, 92, 255, 0.09);
}

.my-premium-benefits-section {
  padding: 38px 0 clamp(68px, 7vw, 94px);
}

.my-premium-benefit-grid {
  gap: 12px;
}

.my-premium-benefit-grid article {
  min-height: 150px;
  align-content: center;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 55%),
    rgba(8, 8, 10, 0.84);
  transition: transform 0.32s var(--ease), border-color 0.26s ease, background 0.26s ease;
}

.my-premium-benefit-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 179, 255, 0.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(167, 107, 255, 0.09), transparent 46%),
    rgba(9, 8, 12, 0.92);
}

.my-premium-news-section {
  position: relative;
  padding: clamp(70px, 8vw, 104px) 0 clamp(70px, 8vw, 100px);
  border-top: 1px solid rgba(202, 169, 255, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 92, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(154, 92, 255, 0.015), transparent 45%);
}

.my-premium-news-section .section-head .btn {
  width: fit-content;
  justify-self: end;
}

.my-premium-news-card {
  min-height: 310px;
  padding: 28px;
  border-color: rgba(202, 169, 255, 0.22);
  background:
    radial-gradient(circle at 8% 0%, rgba(187, 145, 255, 0.16), transparent 43%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(9, 8, 13, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.my-premium-news-card:nth-child(2) {
  background:
    radial-gradient(circle at 8% 0%, rgba(189, 232, 255, 0.1), transparent 43%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(8, 9, 12, 0.96);
}

.my-premium-final-section {
  padding: 72px 0 96px;
}

.executor-podium-copy {
  align-self: end;
}

.executor-podium-copy h3 {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .my-premium-hero-inner {
    grid-template-columns: 1fr;
  }

  .my-premium-status-card {
    min-height: 350px;
  }

  .my-premium-news-section .section-head .btn {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .my-premium-hero {
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .my-premium-status-card {
    min-height: 350px;
    padding: 26px;
  }

  .my-premium-cycle > small {
    white-space: normal;
  }

  .my-premium-dates-section {
    padding: 56px 0 28px;
  }

  .my-premium-date-grid::before {
    top: 8%;
    bottom: 8%;
    left: 28px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(189, 232, 255, 0.2), rgba(217, 198, 255, 0.28), rgba(167, 106, 255, 0.3));
  }

  .my-premium-date-card {
    min-height: 290px;
  }

  .my-premium-benefits-section {
    padding: 26px 0 66px;
  }

  .my-premium-benefit-grid article {
    min-height: 132px;
    padding: 22px;
  }

  .my-premium-news-section {
    padding: 62px 0 72px;
  }

  .my-premium-news-section .section-head .btn {
    width: 100%;
  }

  .my-premium-news-card {
    min-height: 270px;
  }

  .my-premium-final-section {
    padding: 58px 0 80px;
  }
}

/* Final authority for the automatic Home catalog and compact executor glow. */
.home-games-marquee {
  padding-top: clamp(112px, 10vw, 154px);
  padding-bottom: clamp(104px, 9vw, 142px);
}

.home-games-track {
  animation-delay: -11s;
  animation-play-state: running;
  animation-fill-mode: both;
}

.home-game-card,
.home-game-card.is-loading {
  transition: opacity 0.14s linear, filter 0.16s linear, color 0.22s ease;
}

.executor-card::after {
  inset: 1px;
  background: radial-gradient(circle 180px at var(--glow-x, 50%) var(--glow-y, 42%), rgba(189, 232, 255, 0.1), transparent 72%);
}

.executor-card:hover::after {
  opacity: 0.62;
  transform: none;
}

@media (max-width: 720px) {
  .home-games-marquee {
    padding-top: 88px;
    padding-bottom: 94px;
  }
}

/* Performance-first Nova Operations redesign. */
body:has(.operations-shell) {
  background: #070809;
}

.operations-shell {
  --staff-surface: #0c0e10;
  --staff-surface-raised: #111417;
  --staff-border: rgba(255, 255, 255, 0.085);
  --staff-accent: #caffca;
  grid-template-columns: 252px minmax(0, 1fr);
  background: #070809;
}

.operations-shell .staff-sidebar {
  padding: 20px 16px;
  border-color: var(--staff-border);
  background: #090b0d;
  backdrop-filter: none;
}

.operations-shell .staff-sidebar .brand {
  min-height: 48px;
  padding: 0 10px;
}

.operations-shell .staff-nav-label {
  margin: 22px 10px 0;
  font-size: 9px;
  letter-spacing: 1.8px;
}

.operations-shell .staff-nav {
  gap: 4px;
  margin-top: 10px;
}

.operations-shell .staff-nav-group {
  margin: 16px 10px 6px;
  padding: 0;
  border: 0;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.operations-shell .staff-nav button {
  min-height: 42px;
  padding: 0 12px;
  border-color: transparent;
  border-radius: 11px;
  background: transparent;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.operations-shell .staff-nav button::before {
  inset: 8px auto 8px 0;
  width: 2px;
  border-radius: 4px;
  background: var(--staff-accent);
  transform: none;
}

.operations-shell .staff-nav button:hover {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.operations-shell .staff-nav button.active {
  border-color: rgba(202, 255, 202, 0.12);
  background: rgba(202, 255, 202, 0.07);
  color: #eaffea;
  transform: none;
  box-shadow: none;
}

.operations-shell .staff-main {
  padding: 0 24px 40px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #070809;
  background-size: 42px 42px;
}

.operations-shell .staff-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 68px;
  margin: 0 -24px 22px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--staff-border);
  background: rgba(7, 8, 9, 0.97);
}

.operations-shell .staff-environment-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.operations-shell .staff-console-status {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.operations-shell .staff-console-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(202, 255, 202, 0.16);
  border-radius: 10px;
  background: rgba(202, 255, 202, 0.06);
  color: var(--staff-accent);
}

.operations-shell .staff-console-icon svg {
  width: 15px;
  height: 15px;
}

.operations-shell .staff-console-status > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.operations-shell .staff-console-status strong {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.operations-shell .staff-console-status small {
  overflow: hidden;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-shell .staff-page-head,
.operations-shell .staff-panel,
.operations-shell .staff-stat,
.operations-shell .settings-section,
.operations-shell .table-wrap,
.operations-shell .game-admin-card,
.operations-shell .security-card,
.operations-shell .ticket-inbox,
.operations-shell .ticket-detail-card,
.operations-shell .ticket-assist-card {
  border-color: var(--staff-border);
  background: var(--staff-surface);
  box-shadow: none;
  backdrop-filter: none;
}

.operations-shell .staff-page-head::before,
.operations-shell .staff-page-head::after,
.operations-shell .staff-panel::before,
.operations-shell .staff-panel::after,
.operations-shell .staff-stat::before,
.operations-shell .staff-stat::after {
  display: none;
}

.operations-shell .staff-page-head {
  min-height: 0;
  padding: 24px;
  border-radius: 18px;
}

.operations-shell .overview-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  background:
    linear-gradient(135deg, rgba(202, 255, 202, 0.055), transparent 42%),
    var(--staff-surface);
}

.operations-shell .staff-page-head h1 {
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.92;
}

.operations-shell .head-copy {
  max-width: 620px;
  margin-top: 10px;
  font-size: 14px;
}

.operations-shell .overview-head-controls {
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 0.55fr);
  gap: 10px;
}

.operations-shell .quick-search {
  padding: 12px 14px;
  border: 1px solid var(--staff-border);
  border-radius: 13px;
  background: #0a0c0e;
  box-shadow: none;
}

.operations-shell .staff-stats,
.operations-shell .ops-stats {
  gap: 10px;
  margin-top: 10px;
}

.operations-shell .ops-stats .staff-stat,
.operations-shell .ops-stats .staff-stat:nth-child(n) {
  min-height: 148px;
  gap: 10px;
  padding: 18px;
  border-radius: 15px;
  background: var(--staff-surface);
}

.operations-shell .staff-stat-value {
  margin-top: 4px;
  font-size: 44px;
}

.operations-shell .spark {
  height: 28px;
}

.operations-shell .spark span {
  opacity: 0.72;
  background: var(--staff-accent);
}

.operations-shell .spark.is-negative span {
  background: #ffb5b5;
}

.operations-shell .staff-grid {
  gap: 10px;
  margin-top: 10px;
}

.operations-shell .staff-panel {
  padding: 20px;
  border-radius: 16px;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.operations-shell .staff-panel:hover,
.operations-shell .staff-stat:hover,
.operations-shell .game-admin-card:hover,
.operations-shell .staff-table tbody tr:hover {
  transform: none;
}

.operations-shell .staff-panel:hover,
.operations-shell .staff-stat:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--staff-surface-raised);
}

.operations-shell .settings-section {
  border-radius: 14px;
}

.operations-shell .table-wrap {
  padding-bottom: 12px;
  border-radius: 13px;
  overflow-x: auto;
}

.operations-shell .staff-table th,
.operations-shell .staff-table td {
  padding: 11px 12px;
}

.operations-shell .game-admin-grid {
  gap: 10px;
}

.operations-shell .game-admin-card {
  min-height: 330px;
  border-radius: 16px;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.operations-shell .game-admin-card::before {
  opacity: 0.24;
  filter: none;
  transition: none;
}

.operations-shell .game-admin-card::after {
  background: linear-gradient(145deg, rgba(8, 8, 8, 0.94), rgba(12, 14, 16, 0.86));
}

.operations-shell .staff-panel,
.operations-shell .staff-stat,
.operations-shell .settings-section,
.operations-shell .table-wrap,
.operations-shell .game-admin-card {
  will-change: auto;
}

.operations-shell .staff-panel:not([hidden]),
.operations-shell .staff-panel.is-entering,
.operations-shell .game-admin-card,
.operations-shell .premium-feedback-staff-card {
  animation: none;
}

.operations-shell.is-tab-switching .staff-main {
  filter: none;
  transition: none;
}

.operations-shell .value-updated,
.operations-shell .value-flip {
  animation: none;
}

@media (max-width: 1180px) {
  .operations-shell .overview-hero {
    grid-template-columns: 1fr;
  }

  .operations-shell .overview-head-controls {
    max-width: 720px;
  }
}

@media (max-width: 980px) {
  .operations-shell {
    grid-template-columns: 1fr;
  }

  .operations-shell .staff-sidebar {
    position: relative;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--staff-border);
  }

  .operations-shell .staff-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .operations-shell .staff-main {
    padding: 0 14px 28px;
  }

  .operations-shell .staff-topbar {
    margin: 0 -14px 14px;
    padding: 9px 14px;
  }

  .operations-shell .overview-head-controls,
  .operations-shell .staff-nav {
    grid-template-columns: 1fr;
  }

  .operations-shell .staff-page-head,
  .operations-shell .staff-panel {
    padding: 16px;
  }
}
