

:root {
  --obsidian: #05070a;
  --obsidian-deep: #030407;
  --obsidian-elevated: #090d14;

  --glass-surface: rgba(10, 14, 22, 0.65);
  --glass-surface-hover: rgba(16, 22, 36, 0.78);
  --glass-surface-active: rgba(22, 30, 48, 0.88);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(99, 174, 255, 0.38);
  --glass-blur: 24px;

  --azure: #63aeff;
  --azure-glow: rgba(99, 174, 255, 0.35);
  --azure-dim: rgba(99, 174, 255, 0.12);
  --azure-bright: #9cd0ff;
  --azure-deep: #1d3e6d;

  --text-primary: #f0f4fa;
  --text-secondary: #8ea3bf;
  --text-muted: #5e718d;

  --danger: #ff5c77;
  --danger-dim: rgba(255, 92, 119, 0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 9999px;

  --shadow-glass: 0 16px 40px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 28px -4px var(--azure-glow);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background-color: var(--obsidian);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--azure);
  color: #030407;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

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

ul, ol {
  list-style: none;
}

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

code, pre, .mono {
  font-family: var(--font-mono);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-weight: 700;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--azure);
}

#withered-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.withered-grain {
  display: none; 
}

.ambient-orb {
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(99, 174, 255, 0.18) 0%, rgba(30, 60, 110, 0.05) 55%, transparent 75%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  animation: orbBreathe 10s ease-in-out infinite alternate;
}

@keyframes orbBreathe {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.text-muted { color: var(--text-secondary); }
.text-moss { color: var(--azure); }
.text-bone { color: var(--text-primary); }
.text-blood { color: var(--danger); }

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.flex-wrap { flex-wrap: wrap; }
.stack-sm { display: flex; flex-direction: column; gap: 0.5rem; }
.stack-md { display: flex; flex-direction: column; gap: 0.95rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.4rem; }

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--azure);
  border-color: var(--azure-bright);
  color: #03060c;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(99, 174, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  background: #79bcff;
  border-color: #c4e3ff;
  color: #020408;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(99, 174, 255, 0.58), inset 0 1px 0 #fff;
}

.btn-blood {
  background: var(--danger-dim);
  border-color: rgba(255, 92, 119, 0.3);
  color: #ffa1b1;
}

.btn-blood:hover {
  background: rgba(255, 92, 119, 0.25);
  border-color: var(--danger);
  color: #fff;
}

.btn-discord {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.45);
  color: #fff;
  font-weight: 600;
}

.btn-discord:hover {
  background: #5865F2;
  border-color: #7983f5;
  color: #fff;
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.45);
  transform: translateY(-1.5px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: none;
}

.btn-sm {
  height: 32px;
  padding: 0 0.85rem;
  font-size: 0.78rem;
  border-radius: var(--r-xs);
}

.btn-lg {
  height: 44px;
  padding: 0 1.4rem;
  font-size: 0.9rem;
  border-radius: var(--r-md);
}

.btn-pill {
  border-radius: var(--r-pill);
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--r-xs);
}

.btn-block {
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.field-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.input,
.textarea {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 0.85rem;
  background: rgba(6, 9, 15, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  transition: all var(--transition);
}

.input[type="file"] {
  height: 40px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: rgba(10, 14, 24, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.input[type="file"]:hover {
  border-color: var(--azure);
  background: rgba(99, 174, 255, 0.05);
  color: #fff;
}

.input[type="file"]::file-selector-button {
  height: 32px;
  padding: 0 1rem;
  margin-right: 0.85rem;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.input[type="file"]::file-selector-button:hover {
  background: var(--azure);
  border-color: var(--azure-bright);
  color: #03060c;
  box-shadow: 0 4px 14px rgba(99, 174, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.input[type="file"]::-webkit-file-upload-button {
  height: 32px;
  padding: 0 1rem;
  margin-right: 0.85rem;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--azure);
  border-color: var(--azure-bright);
  color: #03060c;
  box-shadow: 0 4px 14px rgba(99, 174, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}

.input:hover,
.textarea:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--azure);
  background: rgba(10, 15, 25, 0.9);
  box-shadow: 0 0 0 3px var(--azure-dim);
}

.textarea {
  height: auto;
  min-height: 80px;
  padding: 0.65rem 0.85rem;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 2rem 0 0.85rem;
  background-color: rgba(6, 9, 15, 0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238ea3bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
}

.select:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.select:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px var(--azure-dim);
}

.select option {
  background: #090d14;
  color: #fff;
}

.w-select-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.grid-2,
.grid-3,
.grid-4,
.field-group,
form {
  position: relative;
}

.w-select-wrap.open,
.field-group:has(.w-select-wrap.open),
.grid-2:has(.w-select-wrap.open),
.grid-3:has(.w-select-wrap.open),
.grid-4:has(.w-select-wrap.open),
form:has(.w-select-wrap.open),
.w-accordion-body:has(.w-select-wrap.open),
details.w-accordion:has(.w-select-wrap.open),
.stack-sm:has(.w-select-wrap.open),
.stack-md:has(.w-select-wrap.open),
.card-panel:has(.w-select-wrap.open) {
  z-index: 100000 !important;
  position: relative;
  overflow: visible !important;
}

.w-select-trigger {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 0.85rem;
  background: rgba(6, 9, 15, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.w-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.w-select-wrap.open .w-select-trigger {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px var(--azure-dim);
}

.w-select-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
}

.w-select-chevron {
  color: var(--text-secondary);
  transition: transform 180ms ease;
}

.w-select-wrap.open .w-select-chevron {
  transform: rotate(180deg);
}

.w-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
  z-index: 100000 !important;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.w-select-menu.drop-up {
  top: auto;
  bottom: calc(100% + 4px);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.w-select-wrap.open .w-select-menu {
  display: block !important;
  animation: menuIn 140ms ease;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.w-select-option {
  padding: 0.65rem 0.95rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 120ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.w-select-option:last-child {
  border-bottom: none;
}

.w-select-option:hover {
  background: rgba(99, 174, 255, 0.14);
  color: #fff;
}

.w-select-option.selected {
  background: rgba(99, 174, 255, 0.22);
  color: var(--azure-bright);
  font-weight: 600;
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(6, 9, 15, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 0 0.65rem;
  height: 38px;
}

.color-picker-wrap input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-wrap input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--azure);
  cursor: pointer;
  box-shadow: 0 0 10px var(--azure-glow);
  transition: transform 120ms ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.toggle-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 180ms ease;
}

.toggle-row input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms ease;
}

.toggle-row input[type="checkbox"]:checked {
  background: var(--azure);
}

.toggle-row input[type="checkbox"]:checked::after {
  transform: translateX(16px);
}

.selectable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.selectable-card {
  position: relative;
  padding: 0.9rem;
  padding-right: 2.25rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.selectable-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.selectable-card.selected {
  background: var(--azure-dim);
  border-color: var(--azure);
  box-shadow: 0 0 16px var(--azure-dim);
}

.selectable-card input[type="checkbox"],
.selectable-card input[type="radio"] {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  outline: none;
  background: transparent;
}

.selectable-card input[type="radio"] {
  border-radius: 50%;
}

.selectable-card.selected input[type="checkbox"],
.selectable-card.selected input[type="radio"] {
  background: var(--azure);
  border-color: var(--azure);
}

details.w-accordion {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 0.5rem;
}

details.w-accordion:not([open]) {
  overflow: hidden;
}

details.w-accordion[open] {
  overflow: visible !important;
  position: relative;
}

details.w-accordion:has(.w-select-wrap.open) {
  overflow: visible !important;
  position: relative;
  z-index: 100000 !important;
}

details.w-accordion summary {
  padding: 0.65rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.w-accordion summary::-webkit-details-marker { display: none; }

details.w-accordion summary::after {
  content: "+";
  font-size: 1rem;
  color: var(--azure);
}

details.w-accordion[open] summary::after {
  content: "−";
}

.w-accordion-body {
  padding: 0.95rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  overflow: visible !important;
  position: relative;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.eyebrow-pill.moss {
  background: var(--azure-dim);
  border-color: rgba(99, 174, 255, 0.35);
  color: var(--azure-bright);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 10px var(--azure);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.status-online { background: #3ba55d; box-shadow: 0 0 8px rgba(59, 165, 93, 0.6); }
.status-idle { background: #faa81a; box-shadow: 0 0 8px rgba(250, 168, 26, 0.6); }
.status-dnd { background: #ed4245; box-shadow: 0 0 8px rgba(237, 66, 69, 0.6); }
.status-offline { background: #747f8d; }

.flash-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 400px;
  pointer-events: none;
}

.flash-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 0, 0, 0.4);
  font-size: 0.835rem;
  color: #f1f5f9;
  animation: toastIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 200ms ease;
  user-select: none;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.flash-toast.dismissing {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: all 180ms ease;
}

.flash-toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flash-toast-success .flash-toast-icon {
  background: rgba(99, 174, 255, 0.14);
  color: var(--azure-bright);
  border: 1px solid rgba(99, 174, 255, 0.3);
}

.flash-toast-error .flash-toast-icon {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flash-toast-info .flash-toast-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.flash-toast-content {
  flex: 1;
  min-width: 0;
}

.flash-toast-msg {
  font-weight: 500;
  line-height: 1.35;
  color: #e2e8f0;
}

.flash-toast-close {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 140ms ease;
  padding: 0;
}

.flash-toast-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header {
  position: fixed;
  top: 1.15rem;
  left: 0;
  right: 0;
  z-index: 700;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

.nav-pill-shell {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  height: 54px;
  padding: 0 0.85rem 0 1.25rem;
  border-radius: var(--r-pill);
  background: rgba(10, 14, 22, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--transition);
}

.nav-pill-shell:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: #fff;
}

.brand-sigil {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
}
.brand-sigil img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand-logo .domain-tld {
  color: var(--azure);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--glass-border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 36px;
  padding: 0 1rem 0 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-dash-pill svg {
  color: var(--azure);
  transition: transform 180ms ease, color 180ms ease;
  flex-shrink: 0;
}

.nav-dash-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 180ms ease, color 180ms ease;
  margin-left: -0.15rem;
}

.nav-dash-pill:hover {
  background: rgba(99, 174, 255, 0.14);
  border-color: rgba(99, 174, 255, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 16px var(--azure-dim);
}

.nav-dash-pill:hover svg {
  color: #fff;
  transform: scale(1.1);
}

.nav-dash-pill:hover .nav-dash-arrow {
  color: var(--azure-bright);
  transform: translate(2px, -2px);
}

.nav-dash-pill:active {
  transform: translateY(0);
}

.site-footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(3, 5, 8, 0.8);
  font-size: 0.84rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--azure);
}

.hero-section {
  padding: 8.5rem 0 4.5rem;
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 1.1rem 0 1rem;
  color: #fff;
}

.hero-title .moss-grad {
  background: linear-gradient(135deg, #fff 0%, #a6d3ff 45%, #63aeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.claim-box {
  display: flex;
  align-items: center;
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.4rem 0.35rem 1.25rem;
  max-width: 450px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.claim-box:focus-within {
  border-color: var(--azure);
  background: rgba(12, 17, 28, 0.9);
  box-shadow: 0 0 0 3px var(--azure-dim), 0 16px 40px rgba(0, 0, 0, 0.65);
}

.claim-prefix {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
  user-select: none;
}

.claim-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  padding: 0.45rem 0.5rem;
  width: 100%;
}

.claim-input:focus { outline: none; }

.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 1.25rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #74b9ff 0%, #4a98f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #03060c;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99, 174, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.claim-btn svg {
  transition: transform 160ms var(--ease);
}

.claim-btn:hover {
  background: linear-gradient(135deg, #8eccff 0%, #63aeff 100%);
  border-color: #fff;
  color: #010307;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 174, 255, 0.6), inset 0 1px 0 #fff;
}

.claim-btn:hover svg {
  transform: translateX(2.5px);
}

.claim-btn:active {
  transform: translateY(0);
}

.claim-status {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  min-height: 1.2em;
}

.hero-metrics-row {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-metric-item strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.hero-metric-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-metric-divider {
  width: 1px;
  height: 26px;
  background: var(--glass-border);
}

.hero-floating-card {
  animation: heroFloat 5.5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.section-block {
  padding: 5.5rem 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0.65rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

.bento-card {
  grid-column: span 4;
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.bento-card:hover {
  background: var(--glass-surface-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2.5px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75), 0 0 24px -6px var(--azure-glow);
}

.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }

@media (max-width: 800px) {
  .bento-card, .bento-card.span-6, .bento-card.span-7, .bento-card.span-5 {
    grid-column: span 12;
  }
}

.bento-visual {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 1.1rem;
}

.bento-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.bento-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.biolink-card {
  position: relative;
  width: 100%;
  background: var(--p-card-rgba, rgba(12, 16, 26, 0.72));
  backdrop-filter: blur(var(--p-card-blur, 24px)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--p-card-blur, 24px)) saturate(180%);
  border-style: var(--p-border-style, solid);
  border-width: 1px;
  border-color: var(--p-border-color, rgba(255, 255, 255, 0.12));
  border-radius: var(--p-border-radius, 20px) !important;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.8),
    0 0 32px -4px var(--azure-glow),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: transform 180ms ease-out, border-color 250ms ease, box-shadow 250ms ease;
  transform-style: preserve-3d;
  text-align: center;
}

.biolink-banner {
  height: 135px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.biolink-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 14, 22, 0.9) 100%);
}

.layout-minimal .biolink-banner { display: none; }

.biolink-corner-left,
.biolink-corner-right {
  position: absolute;
  top: 0.85rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
}

.biolink-corner-left { left: 0.85rem; }
.biolink-corner-right { right: 0.85rem; }

.biolink-body {
  padding: 0 1.75rem 1.75rem;
  margin-top: -46px;
  position: relative;
  z-index: 3;
}

.layout-minimal .biolink-body {
  margin-top: 0;
  padding-top: 2rem;
}

.biolink-avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 0.75rem;
}

.biolink-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--obsidian);
  border: 2px solid var(--p-accent-color, var(--azure));
  box-shadow: 0 0 24px var(--azure-glow), 0 8px 24px rgba(0, 0, 0, 0.75);
}

.avatar-status-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #0c101a;
}

.biolink-username {
  font-family: var(--p-font-family, var(--font-display));
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sparkle-text {
  display: inline-block;
  background: linear-gradient(90deg, #fff 0%, #b8dcff 40%, #63aeff 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  animation: shimmerText 5s linear infinite;
}

.username-glow {
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 12px var(--p-accent-color, #63aeff), 0 0 24px var(--p-accent-color, #63aeff);
}

.fire-text {
  display: inline-block;
  background: linear-gradient(90deg, #ffedd5 0%, #f97316 35%, #ef4444 70%, #ffedd5 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  animation: fireShift 4s ease infinite;
}

@keyframes fireShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rainbow-text {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b6b 0%, #feca57 20%, #48dbfb 40%, #ff9ff3 60%, #54a0ff 80%, #ff6b6b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  animation: rainbowShift 6s linear infinite;
}

@keyframes rainbowShift {
  to { background-position: 200% center; }
}

.glitch-text {
  display: inline-block;
  color: #fff;
  position: relative;
  text-shadow: 0 0 8px var(--p-accent-color, #63aeff);
  animation: glitchPulse 3s infinite ease-in-out;
}

@keyframes glitchPulse {
  0%, 100% { text-shadow: 0 0 8px var(--p-accent-color, #63aeff); }
  45% { text-shadow: -2px 0 #ef4444, 2px 0 #38bdf8; }
  50% { text-shadow: 2px 0 #ef4444, -2px 0 #38bdf8; }
  55% { text-shadow: 0 0 8px var(--p-accent-color, #63aeff); }
}

@keyframes shimmerText {
  to { background-position: 200% center; }
}

.biolink-badge-tray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.45rem auto 0.6rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-icon-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--badge-color, var(--azure));
  filter: drop-shadow(0 0 5px var(--badge-color, var(--azure-glow)));
  cursor: pointer;
  transition: transform 160ms var(--ease);
}

.badge-icon-item:hover {
  transform: scale(1.25);
}

.badge-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: #090d14;
  border: 1px solid var(--glass-border);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 150ms var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  z-index: 30;
}

.badge-icon-item:hover .badge-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.biolink-bio {
  font-size: 0.88rem;
  color: var(--p-text-color, var(--text-primary));
  max-width: 420px;
  margin: 0.2rem auto 0.65rem;
  line-height: 1.55;
}

.typewriter-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--p-accent-color, var(--azure));
  margin-left: 2px;
  vertical-align: middle;
  animation: blinkCaret 0.8s step-end infinite;
}

@keyframes blinkCaret { 50% { opacity: 0; } }

.biolink-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--p-muted-color, var(--text-secondary));
  margin-bottom: 0.95rem;
}

.lanyard-card,
.discord-presence-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  margin: 0.75rem 0;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  text-align: left;
  transition: all var(--transition);
}

.lanyard-card:hover,
.discord-presence-card:hover {
  border-color: rgba(99, 174, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.lanyard-avatar-wrap,
.discord-presence-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.lanyard-avatar,
.discord-presence-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lanyard-dot,
.discord-presence-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #0c101a;
}

.lanyard-info,
.discord-presence-info {
  flex: 1;
  min-width: 0;
}

.lanyard-name,
.discord-presence-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
}

.lanyard-activity,
.discord-presence-activity {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--p-muted-color, var(--text-secondary));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-icon-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0.75rem;
}

.dock-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.dock-icon-btn:hover {
  transform: translateY(-2px) scale(1.08);
  color: #fff;
  border-color: var(--link-accent, var(--p-accent-color, var(--azure)));
  box-shadow: 0 0 18px var(--azure-glow);
  background: rgba(255, 255, 255, 0.08);
}

.biolink-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  text-align: left;
}

.layout-card .biolink-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
}

.glass-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.glass-link-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--link-accent, var(--p-accent-color, var(--azure)));
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px var(--azure-dim);
}

.glass-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.glass-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--link-accent, var(--p-accent-color, var(--azure)));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.glass-link-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.glass-link-sub {
  font-size: 0.72rem;
  color: var(--p-muted-color, var(--text-secondary));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.nuvex-audio-card {
  margin-top: 0.85rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.audio-disc {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(99, 174, 255, 0.1);
  border: 1px solid rgba(99, 174, 255, 0.35);
  display: grid;
  place-items: center;
  color: var(--azure);
  flex-shrink: 0;
}

.audio-disc.spinning svg {
  animation: spinDisc 6s linear infinite;
}

@keyframes spinDisc { to { transform: rotate(360deg); } }

.audio-meta {
  flex: 1;
  min-width: 0;
}

.audio-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.audio-track-name {
  font-size: 0.79rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-timecode {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.audio-progress-wrap {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  margin-top: 0.35rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: height 140ms ease;
}

.audio-progress-wrap:hover {
  height: 7px;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--azure);
  box-shadow: 0 0 10px var(--azure);
  transition: width 150ms linear;
}

.audio-ctrl-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.audio-ctrl-btn:hover {
  background: var(--azure);
  color: #03060c;
}

.profile-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.dir-card {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
}

.dir-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.dir-banner {
  height: 95px;
  background-size: cover;
  background-position: center;
}

.dir-content {
  padding: 0 1.35rem 1.35rem;
  margin-top: -30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dir-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--azure);
  background: var(--obsidian);
  object-fit: cover;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 840px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition);
}

.pricing-card.premium {
  border-color: rgba(99, 174, 255, 0.45);
  background: radial-gradient(circle at 50% 0%, rgba(99, 174, 255, 0.16) 0%, rgba(10, 14, 24, 0.8) 75%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 32px var(--azure-dim);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0;
}

.pricing-list {
  margin: 1.35rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.profile-viewport {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem;
  background-color: var(--p-bg-color, var(--obsidian));
  background-image: var(--p-bg-gradient, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--p-text-color, var(--text-primary));
  font-family: var(--p-font-family, var(--font-sans));
}

.profile-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.enter-gate {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(3, 5, 8, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: opacity 550ms var(--ease), transform 550ms var(--ease), visibility 550ms;
}

.enter-gate.unsealed {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

.enter-gate-prompt {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 24px var(--azure-dim);
  animation: softPulse 2.2s infinite ease-in-out;
}

@keyframes softPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.floating-volume-pill {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 600;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: rgba(10, 14, 22, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: width 220ms var(--ease), background 200ms ease;
}

.floating-volume-pill:hover,
.floating-volume-pill:focus-within {
  background: rgba(14, 18, 30, 0.85);
  border-color: rgba(255, 255, 255, 0.16);
}

.volume-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition);
}

.volume-icon-btn:hover { color: #fff; }

.volume-slider-drawer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 220ms var(--ease), opacity 180ms ease;
}

.floating-volume-pill:hover .volume-slider-drawer,
.floating-volume-pill:focus-within .volume-slider-drawer {
  width: 140px;
  opacity: 1;
  pointer-events: auto;
  padding-right: 8px;
  margin-left: 4px;
}

.volume-slider-drawer input[type="range"] {
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.volume-pct-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  min-width: 30px;
}

.profile-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
  perspective: 1200px;
}

.profile-shell.layout-minimal { max-width: 440px; }
.profile-shell.layout-modern { max-width: 620px; }
.profile-shell.layout-modular {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.widgets-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.layout-modular .widgets-column { margin-top: 0; }

.widget-box {
  background: var(--p-card-rgba, rgba(12, 16, 26, 0.72));
  backdrop-filter: blur(var(--p-card-blur, 24px)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--p-card-blur, 24px)) saturate(180%);
  border: 1px solid var(--p-border-color, var(--glass-border));
  border-radius: var(--p-border-radius, 18px);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-glass);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p-muted-color, var(--text-secondary));
  margin-bottom: 0.75rem;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(ellipse at 20% 0%, rgba(99, 174, 255, 0.08) 0%, #04060a 65%);
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.15rem 0.85rem 1rem;
  background: rgba(8, 12, 19, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 20;
}

.dash-sidebar::-webkit-scrollbar {
  width: 4px;
}
.dash-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.dash-sidebar-top {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.dash-brand-row {
  display: flex;
  align-items: center;
  padding: 0.15rem 0.35rem 0.65rem;
}

.dash-brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  user-select: none;
}

.dash-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(99, 174, 255, 0.22), rgba(99, 174, 255, 0.05));
  border: 1px solid rgba(99, 174, 255, 0.4);
  display: grid;
  place-items: center;
  color: var(--azure);
  box-shadow: 0 0 12px rgba(99, 174, 255, 0.25);
  transition: all 160ms ease;
}

.dash-brand-link:hover .dash-brand-icon {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(99, 174, 255, 0.45);
}

.dash-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.dash-brand-tld {
  color: var(--azure-bright);
  font-weight: 700;
}

.dash-search-row {
  margin: 0.35rem 0 0.85rem;
  width: 100%;
}

.dash-jump-btn {
  width: 100%;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.65rem;
  color: #637794;
  font-size: 0.81rem;
  cursor: pointer;
  transition: all 150ms ease;
  user-select: none;
}

.dash-jump-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #94a3b8;
}

.dash-jump-icon {
  color: #556885;
  flex-shrink: 0;
}

.dash-jump-placeholder {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-jump-kbd {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #637794;
}

.dash-nav-scrollable {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.dash-nav-details {
  margin-bottom: 0.25rem;
  width: 100%;
}

.dash-details-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  color: #8fa0b8;
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.dash-details-summary::-webkit-details-marker {
  display: none;
}

.dash-details-summary:hover {
  color: #fff;
}

.dash-summary-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dash-summary-icon {
  color: var(--azure);
  flex-shrink: 0;
}

.dash-details-chevron {
  color: #637794;
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.dash-nav-details[open] .dash-details-chevron {
  transform: rotate(0deg);
}

.dash-nav-details:not([open]) .dash-details-chevron {
  transform: rotate(180deg);
}

.dash-details-items {
  margin: 0.25rem 0 0.5rem 0.95rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-direct {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.dash-tab-btn {
  position: relative;
  width: 100%;
  height: 35px;
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #8b9cb5;
  font-size: 0.835rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 140ms ease;
  user-select: none;
  text-align: left;
}

.dash-tab-btn-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.dash-tab-btn-left svg {
  color: #61738c;
  transition: color 140ms ease;
  flex-shrink: 0;
}

.dash-tab-btn:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.dash-tab-btn:hover .dash-tab-btn-left svg {
  color: #fff;
}

.dash-tab-btn.active {
  background: #141722;
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.dash-tab-btn.active .dash-tab-btn-left svg {
  color: #fff;
}

.dash-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 8px rgba(99, 174, 255, 0.9);
  flex-shrink: 0;
  display: none;
}

.dash-tab-btn.active .dash-active-dot {
  display: block;
}

.dash-item-chevron {
  color: #556885;
  flex-shrink: 0;
}

.dash-sidebar-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.dash-help-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(13, 17, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  cursor: pointer;
  transition: all 140ms ease;
  width: 100%;
}

.dash-help-card:hover {
  background: rgba(19, 25, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.dash-help-card-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #8fa0b8;
  flex-shrink: 0;
}

.dash-help-card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dash-help-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.dash-help-sub {
  font-size: 0.7rem;
  color: #637794;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-help-external {
  color: #637794;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-user-dropdown-wrap {
  position: relative;
  width: 100%;
}

.dash-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(13, 17, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  user-select: none;
  transition: all 140ms ease;
  width: 100%;
}

.dash-user-card:hover {
  background: rgba(19, 25, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

.dash-user-card-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.dash-avatar-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.dash-avatar-wrapper img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #090d14;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.dash-user-meta {
  min-width: 0;
  flex: 1;
}

.dash-user-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-handle {
  font-size: 0.72rem;
  color: #637794;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-card-arrows {
  color: #637794;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-user-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.35rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
  gap: 2px;
}

.dash-user-popover.open {
  display: flex;
}

.dash-user-popover-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: all 130ms ease;
}

.dash-user-popover-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dash-user-popover-item.danger {
  color: #f87171;
}

.dash-user-popover-item.danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.dash-user-popover-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.25rem 0;
}

.dash-jump-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
}

.dash-jump-modal {
  width: 90%;
  max-width: 480px;
  background: #0c1018;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 174, 255, 0.15);
  overflow: hidden;
  animation: jumpModalIn 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes jumpModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.dash-jump-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-jump-modal-header svg {
  color: #637794;
  flex-shrink: 0;
}

.dash-jump-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.dash-jump-modal-esc kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.18rem 0.42rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #637794;
  cursor: pointer;
}

.dash-jump-modal-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-jump-modal-list::-webkit-scrollbar {
  width: 4px;
}
.dash-jump-modal-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.dash-jump-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 0.84rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: all 120ms ease;
}

.dash-jump-item svg {
  color: #637794;
  flex-shrink: 0;
  transition: color 120ms ease;
}

.dash-jump-item:hover, .dash-jump-item.focused {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.dash-jump-item:hover svg, .dash-jump-item.focused svg {
  color: var(--azure);
}

.dash-jump-item-title {
  flex: 1;
  font-weight: 500;
}

.dash-jump-item-badge {
  font-size: 0.68rem;
  color: #637794;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.dash-main {
  padding: 1.75rem 2.5rem 4rem;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.65rem;
  border-radius: var(--r-md);
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.dash-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 0.79rem;
  color: #fff;
  transition: all var(--transition);
}

.dash-url-pill:hover {
  border-color: var(--azure);
  box-shadow: 0 0 14px var(--azure-dim);
}

.dash-url-pill span.domain { color: var(--text-muted); }
.dash-url-pill span.handle { color: var(--azure); font-weight: 500; }

.dash-panel { display: none; }
.dash-panel.active {
  display: block;
  animation: fadeUp 180ms ease;
}

.dash-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.dash-page-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.dash-page-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.card-panel {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.45rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: visible;
  transition: all var(--transition);
}

.card-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.card-panel:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--glass-border);
}

.card-panel-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.card-panel-title svg {
  width: 17px;
  height: 17px;
  color: var(--azure);
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-box {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 174, 255, 0.3), transparent);
}

.stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px var(--azure-dim);
}

.stat-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--azure-dim);
  border: 1px solid rgba(99, 174, 255, 0.25);
  color: var(--azure);
  display: grid;
  place-items: center;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

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

.quick-action-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.quick-action-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px var(--azure-dim);
}

.quick-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--azure-dim);
  border: 1px solid rgba(99, 174, 255, 0.25);
  color: var(--azure);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quick-action-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
}

.quick-action-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.platform-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.platform-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 38px;
  padding: 0 0.8rem;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.79rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--transition);
}

.platform-pill-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.platform-pill-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.platform-pill-btn.active {
  color: #fff;
  font-weight: 600;
  background: var(--azure-dim);
  border-color: var(--azure);
  box-shadow: 0 0 16px var(--azure-dim);
}

.platform-pill-btn.active svg { color: var(--azure); }

.nuwex-subtabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  border-radius: var(--r-pill);
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.nuwex-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 34px;
  padding: 0 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.nuwex-subtab-btn svg { width: 14px; height: 14px; color: var(--text-muted); }

.nuwex-subtab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nuwex-subtab-btn.active {
  color: #fff;
  background: var(--azure-dim);
  border-color: rgba(99, 174, 255, 0.35);
  font-weight: 600;
}

.nuwex-subtab-btn.active svg { color: var(--azure); }

.nuwex-subpanel { display: none; }
.nuwex-subpanel.active { display: block; animation: fadeUp 160ms ease; }

.customizer-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1220px) {
  .customizer-split {
    grid-template-columns: 1fr;
  }
  .customizer-preview-col {
    order: -1;
    margin-bottom: 2rem;
  }
}

.customizer-preview-col {
  width: 100%;
}

.customizer-preview-sticky {
  position: sticky;
  top: 5rem;
}

.live-profile-preview {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.4rem;
  background-color: var(--p-bg-color, #080b12);
  background-image: var(--p-bg-gradient, none);
  background-size: cover;
  background-position: center;
}

.live-profile-preview .profile-shell {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.live-profile-preview .biolink-card {
  width: 100%;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 28px -4px var(--azure-glow);
}

.live-profile-preview .biolink-banner {
  height: 110px;
}

.live-profile-preview .biolink-body {
  padding: 0 1.5rem 1.6rem;
  margin-top: -42px;
}

.live-profile-preview .biolink-avatar-wrap {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin: 0 auto 0.5rem;
  position: relative;
}

.live-profile-preview .biolink-avatar {
  width: 84px !important;
  height: 84px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block;
}

.live-profile-preview .biolink-username {
  font-size: 1.35rem;
  min-height: 1.8rem;
  margin: 0.2rem 0 0.45rem;
  color: var(--p-text-color, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-profile-preview .biolink-username span {
  display: inline-block;
  max-width: 100%;
}

.live-profile-preview .biolink-bio {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.live-profile-preview .biolink-meta-row {
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.live-profile-preview .glass-link-row {
  padding: 0.6rem 0.95rem;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.live-profile-preview .glass-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.live-profile-preview .glass-link-icon svg {
  width: 18px;
  height: 18px;
}

.live-profile-preview .glass-link-title {
  font-size: 0.88rem;
}

.live-profile-preview .nuvex-audio-card {
  margin-top: 0.75rem;
  padding: 0.6rem 0.95rem;
  gap: 0.75rem;
}

.live-profile-preview .audio-disc {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.live-profile-preview .audio-disc svg {
  width: 15px;
  height: 15px;
}

.live-profile-preview .audio-track-name {
  font-size: 0.82rem;
}

.live-profile-preview .audio-timecode {
  font-size: 0.72rem;
}

.live-profile-preview .audio-ctrl-btn {
  width: 32px;
  height: 32px;
}

.live-profile-preview .audio-ctrl-btn svg {
  width: 13px;
  height: 13px;
}

.live-profile-preview .dock-icon-btn {
  width: 34px;
  height: 34px;
}

.live-profile-preview .dock-icon-btn svg {
  width: 16px;
  height: 16px;
}

.live-profile-preview .profile-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.color-presets-panel {
  margin-bottom: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.color-presets-header {
  margin-bottom: 0.85rem;
}

.color-presets-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.color-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.color-preset-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.color-preset-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.color-preset-pill.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--azure, #63aeff);
  box-shadow: 0 0 16px rgba(99, 174, 255, 0.35);
  color: #fff;
}

.preset-swatch {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  display: inline-block;
}

.preset-name {
  line-height: 1;
}

.biolink-avatar.avatar-shape-circle,
.biolink-avatar-wrap.avatar-shape-circle,
.biolink-avatar-wrap.avatar-shape-circle .biolink-avatar,
.avatar-shape-circle .biolink-avatar,
img.biolink-avatar.avatar-shape-circle {
  border-radius: 50% !important;
}

.biolink-avatar.avatar-shape-squircle,
.biolink-avatar-wrap.avatar-shape-squircle,
.biolink-avatar-wrap.avatar-shape-squircle .biolink-avatar,
.avatar-shape-squircle .biolink-avatar,
img.biolink-avatar.avatar-shape-squircle {
  border-radius: 28% !important;
}

.biolink-avatar.avatar-shape-rounded,
.biolink-avatar-wrap.avatar-shape-rounded,
.biolink-avatar-wrap.avatar-shape-rounded .biolink-avatar,
.avatar-shape-rounded .biolink-avatar,
img.biolink-avatar.avatar-shape-rounded {
  border-radius: 16px !important;
}

.card-glow-neon {
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.85), 0 0 35px -5px var(--p-accent-color, rgba(99, 174, 255, 0.4)) !important;
}

.card-glow-subtle {
  box-shadow: 0 28px 65px -10px rgba(0, 0, 0, 0.95) !important;
}

.card-glow-glass {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.card-glow-none {
  box-shadow: none !important;
}

.links-style-outline .glass-link-row {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.links-style-outline .glass-link-row:hover {
  border-color: var(--p-accent-color, #63aeff) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.links-style-solid .glass-link-row {
  background: #0d121c !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.links-style-neon .glass-link-row {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.links-style-neon .glass-link-row:hover {
  border-color: var(--p-accent-color, #63aeff) !important;
  box-shadow: 0 0 20px -4px var(--p-accent-color, rgba(99, 174, 255, 0.45)) !important;
}

.cursor-default { cursor: default; }
.cursor-crosshair, .cursor-crosshair * { cursor: crosshair !important; }
.cursor-pointer, .cursor-pointer * { cursor: pointer !important; }
.cursor-cell, .cursor-cell * { cursor: cell !important; }
.cursor-grab, .cursor-grab * { cursor: grab !important; }
.cursor-text, .cursor-text * { cursor: text !important; }
.cursor-sigil, .cursor-sigil * { cursor: crosshair !important; }
.cursor-bone, .cursor-bone * { cursor: pointer !important; }

.sticky-save-bar {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 0.85rem 0.65rem 1.15rem;
  width: calc(100% - 2.5rem);
  max-width: 540px;
  border-radius: 14px;
  background: rgba(12, 16, 26, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(99, 174, 255, 0.08);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
}

.sticky-save-bar.visible {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.save-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.save-bar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azure, #63aeff);
  box-shadow: 0 0 10px rgba(99, 174, 255, 0.8);
  flex-shrink: 0;
  animation: savePulse 2s infinite ease-in-out;
}

@keyframes savePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.45;
  }
}

.save-bar-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.save-bar-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.25;
}

.save-bar-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-save-reset {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.79rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 140ms ease;
}

.btn-save-reset:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
}

.btn-save-submit {
  background: #63aeff;
  color: #060b14;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.46rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 174, 255, 0.32);
  transition: all 150ms ease;
  letter-spacing: -0.01em;
}

.btn-save-submit:hover {
  background: #7bbaff;
  box-shadow: 0 6px 20px rgba(99, 174, 255, 0.45);
  transform: translateY(-1px);
}

.btn-save-submit:active {
  transform: translateY(0);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  height: 175px;
  padding: 0.75rem 0.25rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 0.35rem;
  min-width: 0;
}

.chart-bar-wrap {
  width: 100%;
  max-width: 32px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.chart-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--azure) 0%, var(--azure-deep) 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 0 12px var(--azure-glow);
  transition: height 250ms ease;
}

.dash-open-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.46rem 1.15rem;
  border-radius: 9999px;
  background: var(--azure);
  color: #04060A;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(99, 174, 255, 0.45);
  transition: all 150ms ease;
  user-select: none;
}

.dash-open-page-btn:hover {
  background: #7bbaff;
  box-shadow: 0 0 24px rgba(99, 174, 255, 0.65);
  transform: translateY(-1px);
}

.dash-home-hero {
  position: relative;
  min-height: 195px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(20, 27, 48, 0.7) 50%, rgba(9, 13, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background-size: cover;
  background-position: center;
}

.dash-home-hero-overlay {
  position: absolute;
  inset: -16px;
  transform: scale(1.06);
  transform-origin: center;
  background: linear-gradient(0deg, rgba(4, 7, 13, 0.92) 0%, rgba(4, 7, 13, 0.45) 50%, rgba(4, 7, 13, 0.2) 100%);
  z-index: 1;
}

.dash-home-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.dash-home-hero-user {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.dash-home-hero-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  object-fit: cover;
  background: #080B12;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.dash-home-hero-greetings {
  display: flex;
  flex-direction: column;
}

.dash-home-hero-greet-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.dash-home-hero-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.dash-home-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.dash-hero-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 1.05rem;
  border-radius: 9999px;
  background: rgba(6, 9, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: all 140ms ease;
}

.dash-hero-link-pill:hover {
  background: rgba(12, 18, 30, 0.9);
  border-color: rgba(99, 174, 255, 0.4);
  color: var(--azure);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(99, 174, 255, 0.2);
}

.dash-hero-link-pill:active {
  transform: scale(0.97);
}

.dash-hero-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 140ms ease;
}

.dash-hero-action-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.dash-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .dash-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dash-metric-grid {
    grid-template-columns: 1fr;
  }
}

.dash-metric-card {
  background: rgba(12, 16, 26, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 160ms ease;
  position: relative;
  overflow: hidden;
}

.dash-metric-card:hover {
  border-color: rgba(99, 174, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.dash-metric-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dash-metric-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #637794;
}

.dash-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #637794;
}

.dash-metric-val-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}

.dash-metric-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.dash-metric-growth-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.dash-metric-sub {
  font-size: 0.74rem;
  color: #637794;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-split-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .dash-split-2col {
    grid-template-columns: 1fr;
  }
}

.dash-card {
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.85), rgba(8, 12, 22, 0.75));
  backdrop-filter: blur(22px);
  border: 1px solid rgba(99, 174, 255, 0.12);
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8), 0 0 40px -20px rgba(99, 174, 255, 0.25);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dash-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 174, 255, 0.35);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 50px -18px rgba(99, 174, 255, 0.4);
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.dash-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-card-action-link {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #637794;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: color 150ms ease, transform 150ms ease;
}

.dash-card-action-link:hover {
  color: var(--azure);
  transform: translateX(2px);
}

.dash-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.15rem;
}

.dash-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--azure), #38BDF8);
  transition: width 300ms ease;
}

.dash-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dash-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(6, 9, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #FFFFFF;
  user-select: none;
}

.dash-checklist-item.done {
  color: #FFFFFF;
}

.dash-checklist-item.pending {
  color: #8c9eb5;
  border-style: dashed;
}

.dash-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-checklist-item.done .dash-check-circle {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.dash-checklist-item.pending .dash-check-circle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dash-country-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--azure);
  background: rgba(99, 174, 255, 0.12);
  border: 1px solid rgba(99, 174, 255, 0.28);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  letter-spacing: 0.04em;
}

.dash-connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-connection-row:last-child {
  border-bottom: none;
}

.dash-connection-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.dash-pill-connected {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.dash-pill-disconnected {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #637794;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.dash-svg-chart-wrap {
  width: 100%;
  height: 145px;
  position: relative;
}

.dash-svg-chart {
  width: 100%;
  height: 110px;
  overflow: visible;
}

.dash-chart-dates-row {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #637794;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-segmented-subtabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.5rem;
}

.dash-subtab-btn {
  padding: 0.42rem 1.05rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8c9eb5;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 140ms ease;
}

.dash-subtab-btn:hover {
  color: #FFFFFF;
}

.dash-subtab-btn.active {
  background: rgba(99, 174, 255, 0.15);
  border: 1px solid rgba(99, 174, 255, 0.35);
  color: #FFFFFF;
  font-weight: 700;
}

.dash-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(6, 9, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-info-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #637794;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.dash-info-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dash-change-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.dash-change-btn:hover {
  background: rgba(99, 174, 255, 0.15);
  border-color: rgba(99, 174, 255, 0.35);
  color: var(--azure);
}

.dash-discord-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.25);
  margin-bottom: 1rem;
}

.dash-discord-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #5865F2;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-badge-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dash-badge-progress-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-badge-pct-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--azure);
  background: rgba(99, 174, 255, 0.1);
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--azure);
  box-shadow: 0 0 14px rgba(99, 174, 255, 0.25);
}

.dash-badge-count-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dash-badge-count-sub {
  font-size: 0.74rem;
  color: #637794;
}

.dash-badge-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 140ms ease;
}

.dash-badge-discord-link:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: #5865F2;
  color: #ffffff;
}

.dash-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(6, 9, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 140ms ease;
}

.dash-badge-row:hover {
  border-color: rgba(99, 174, 255, 0.25);
  background: rgba(9, 14, 24, 0.75);
}

.dash-badge-row-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dash-badge-drag-handle {
  color: #475569;
  cursor: grab;
  user-select: none;
}

.dash-badge-thumb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--azure);
  flex-shrink: 0;
}

.dash-badge-info-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dash-badge-info-desc {
  font-size: 0.73rem;
  color: #637794;
}

.dash-toggle-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.dash-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dash-toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-toggle-input:checked + .dash-toggle-slider {
  background: var(--azure);
  border-color: var(--azure);
  box-shadow: 0 0 12px rgba(99, 174, 255, 0.4);
}

.dash-toggle-input:checked + .dash-toggle-slider::after {
  transform: translateX(20px);
  background: #04060A;
}

.dash-badge-style-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.dash-badge-style-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-badge-style-row:last-child {
  border-bottom: none;
}

.asset-file-hidden {
  display: none !important;
}

.nuwex-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .nuwex-assets-grid {
    grid-template-columns: 1fr;
  }
}

.nuwex-asset-slot {
  background: rgba(12, 16, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 160ms ease;
}

.nuwex-asset-slot:hover {
  border-color: rgba(99, 174, 255, 0.25);
  background: rgba(15, 20, 32, 0.85);
}

.nuwex-asset-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nuwex-asset-dropzone {
  position: relative;
  background: rgba(7, 10, 16, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: all 160ms ease;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nuwex-asset-dropzone:hover,
.nuwex-asset-dropzone.dragover {
  border-color: var(--azure);
  background: rgba(99, 174, 255, 0.05);
  box-shadow: 0 0 20px rgba(99, 174, 255, 0.12);
}

.nuwex-avatar-stage {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0.4rem auto;
  border-radius: 50%;
  overflow: hidden;
}

.nuwex-avatar-stage .media-preview-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--azure);
  box-shadow: 0 0 16px rgba(99, 174, 255, 0.4);
  transition: transform 160ms ease;
}

.nuwex-stage-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 160ms ease;
}

.nuwex-avatar-stage:hover .nuwex-stage-overlay,
.nuwex-asset-dropzone:hover .nuwex-stage-overlay {
  opacity: 1;
}

.nuwex-banner-stage {
  position: relative;
  width: 100%;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nuwex-banner-stage .media-preview-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nuwex-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 160ms ease;
}

.nuwex-banner-stage:hover .nuwex-banner-overlay,
.nuwex-asset-dropzone:hover .nuwex-banner-overlay {
  opacity: 1;
}

.nuwex-overlay-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(9, 13, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.nuwex-overlay-pill svg {
  color: var(--azure);
}

.nuwex-empty-stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #637794;
  text-align: center;
  padding: 0.5rem;
}

.nuwex-empty-stage svg {
  color: #556885;
}

.empty-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.empty-sub {
  font-size: 0.7rem;
  color: #556885;
}

.nuwex-dropzone-hint {
  font-size: 0.75rem;
  color: #718198;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
}

.nuwex-file-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.nuwex-file-name.selected {
  color: var(--azure-bright);
  font-weight: 600;
}

.btn-clear-asset {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 140ms ease;
}

.btn-clear-asset:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fff;
}

.nuwex-audio-dropzone {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  background: rgba(7, 10, 16, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  cursor: pointer;
  user-select: none;
  transition: all 160ms ease;
  margin-top: 0.35rem;
  width: 100%;
}

.nuwex-audio-dropzone:hover {
  border-color: var(--azure);
  background: rgba(99, 174, 255, 0.05);
}

.nuwex-audio-dropzone svg {
  color: var(--azure);
  flex-shrink: 0;
}

.nuwex-audio-dropzone-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.audio-main-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

.audio-sub-label {
  font-size: 0.7rem;
  color: #637794;
}

.podium-card {
  cursor: pointer;
}

.podium-card.gold-glow:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.8) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.35) !important;
}

.podium-card.silver-glow:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 163, 184, 0.7) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(148, 163, 184, 0.25) !important;
}

.podium-card.bronze-glow:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 127, 50, 0.7) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(205, 127, 50, 0.25) !important;
}

@media (max-width: 1024px) {
  .dash-2col-layout {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .dash-editor-col {
    width: 100%;
    max-width: 100%;
  }

  .dash-preview-col {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: static;
  }

  .dash-preview-sticky {
    position: static;
    top: auto;
  }

  .live-preview-device {
    margin: 0 auto;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0.75rem;
  }

  .nav-pill-shell {
    padding: 0.35rem 0.65rem;
    gap: 0.5rem;
  }

  .nav-left {
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links {
    gap: 0.4rem;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .podium-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }

  .podium-col {
    width: 100% !important;
    max-width: 340px !important;
  }

  .podium-col.gold {
    order: -1 !important;
  }

  .podium-pedestal {
    height: 48px !important;
    font-size: 1.6rem !important;
  }

  .biolink-card {
    width: 93vw !important;
    max-width: 410px !important;
    margin: 1rem auto;
  }

  .sticky-save-bar {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    transform: none !important;
    width: auto !important;
    padding: 0.75rem 1rem !important;
  }

  .dash-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
  }

  .dash-tab-link {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem 1.15rem;
  }

  .leaderboard-wrapper, .premium-page-wrapper, .admin-wrapper {
    padding: 1.25rem 0.75rem 4rem !important;
  }

  .btn {
    min-height: 42px;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  background: #04060A;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem 0.9rem 1.15rem;
  background: rgba(7, 11, 18, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 30;
}

@media (max-width: 960px) {
  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.admin-sidebar-top {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.admin-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  user-select: none;
}

.admin-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(99, 174, 255, 0.25), rgba(99, 174, 255, 0.05));
  border: 1px solid rgba(99, 174, 255, 0.4);
  display: grid;
  place-items: center;
  color: var(--azure);
  box-shadow: 0 0 14px rgba(99, 174, 255, 0.3);
}

.admin-brand-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.admin-brand-sub {
  color: var(--azure);
  font-weight: 700;
}

.admin-brand-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  background: rgba(99, 174, 255, 0.12);
  border: 1px solid rgba(99, 174, 255, 0.25);
  color: var(--azure);
  text-transform: uppercase;
}

.admin-staff-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(14, 20, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-staff-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.admin-staff-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(99, 174, 255, 0.4);
}

.admin-staff-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #070B12;
  box-shadow: 0 0 8px #10B981;
}

.admin-staff-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.admin-staff-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-staff-role-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.admin-staff-role-pill.role-management { color: #FCD34D; }
.admin-staff-role-pill.role-senior_support { color: #D8B4FE; }
.admin-staff-role-pill.role-junior_support { color: #7DD3FC; }

.admin-nav-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52637a;
  padding: 0.5rem 0.65rem 0.3rem;
  user-select: none;
}

.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: #8c9eb5;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 140ms ease;
  user-select: none;
}

.admin-nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-nav-item-icon {
  width: 17px;
  height: 17px;
  color: #637794;
  transition: color 140ms ease;
  flex-shrink: 0;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.admin-nav-item:hover .admin-nav-item-icon {
  color: #FFFFFF;
}

.admin-nav-item.active {
  background: linear-gradient(90deg, rgba(99, 174, 255, 0.15), rgba(99, 174, 255, 0.04));
  border: 1px solid rgba(99, 174, 255, 0.35);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(99, 174, 255, 0.12);
}

.admin-nav-item.active .admin-nav-item-icon {
  color: var(--azure);
}

.admin-nav-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #8c9eb5;
}

.admin-nav-item.active .admin-nav-badge {
  background: rgba(99, 174, 255, 0.25);
  color: #FFFFFF;
}

.admin-sidebar-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-health-indicator {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.72rem;
  color: #34D399;
  font-weight: 600;
}

.admin-health-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: adminPulse 2s infinite ease-in-out;
}

@keyframes adminPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.admin-main-area {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  background: radial-gradient(ellipse at 40% 0%, rgba(99, 174, 255, 0.06) 0%, #030509 60%);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  height: 66px;
  padding: 0 2rem;
  background: rgba(5, 8, 14, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .admin-topbar {
    padding: 0 1rem;
    height: auto;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    flex-wrap: wrap;
  }
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.admin-breadcrumb-root {
  color: #556885;
  font-weight: 600;
}

.admin-breadcrumb-sep {
  color: #384558;
}

.admin-breadcrumb-cur {
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-system-clock {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #6d82a6;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-body {
  padding: 2.25rem 2.25rem 6rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .admin-body {
    padding: 1.25rem 1rem 4rem;
  }
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 1100px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.admin-kpi-card {
  background: rgba(12, 17, 28, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: all 180ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.admin-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--azure), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 174, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 174, 255, 0.1);
}

.admin-kpi-card:hover::before {
  opacity: 1;
}

.admin-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-kpi-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #637794;
}

.admin-kpi-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #637794;
}

.admin-kpi-card:hover .admin-kpi-icon-pill {
  color: var(--azure);
  border-color: rgba(99, 174, 255, 0.3);
}

.admin-kpi-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.admin-kpi-sub {
  font-size: 0.74rem;
  color: #556885;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-card {
  background: rgba(12, 17, 28, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .admin-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}

.admin-card-sub {
  font-size: 0.82rem;
  color: #637794;
  margin: 0.25rem 0 0 0;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-search-icon {
  position: absolute;
  left: 0.85rem;
  color: #556885;
  pointer-events: none;
}

.admin-search-input {
  background: rgba(6, 9, 16, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 11px !important;
  padding-left: 2.35rem !important;
  height: 40px !important;
  font-size: 0.84rem !important;
  color: #FFFFFF !important;
  font-family: "JetBrains Mono", monospace !important;
  transition: all 150ms ease !important;
}

.admin-search-input:focus {
  border-color: var(--azure) !important;
  box-shadow: 0 0 0 3px var(--azure-dim) !important;
}

.admin-segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(6, 9, 16, 0.95);
  padding: 4px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-segmented-btn {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #637794;
  text-decoration: none;
  transition: all 140ms ease;
  font-family: "JetBrains Mono", monospace;
}

.admin-segmented-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.admin-segmented-btn.active {
  background: var(--azure);
  color: #04060A;
  box-shadow: 0 0 12px rgba(99, 174, 255, 0.35);
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.45rem;
}

.admin-table th {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #556885;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.admin-table tbody tr {
  background: rgba(10, 15, 25, 0.65);
  transition: all 140ms ease;
}

.admin-table tbody tr:hover {
  background: rgba(18, 26, 44, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-table td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px 0 0 12px;
}

.admin-table td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0 12px 12px 0;
}

.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(99, 174, 255, 0.3);
  flex-shrink: 0;
  background: #080B12;
}

.admin-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-user-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.admin-user-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  color: var(--azure);
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-status-chip.active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.admin-status-chip.suspended {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
}

.admin-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.admin-status-chip.active .admin-status-dot {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.admin-status-chip.suspended .admin-status-dot {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.admin-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-role-chip.management {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FCD34D;
}

.admin-role-chip.senior_support {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #D8B4FE;
}

.admin-role-chip.junior_support {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7DD3FC;
}

.admin-role-chip.user {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8c9eb5;
}

.admin-handle-badge {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
}

.admin-handle-badge.rare-2l {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #FDE68A;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.admin-handle-badge.rare-3l {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(126, 34, 206, 0.35));
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #E9D5FF;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.admin-handle-badge.rare-4l {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #BAE6FD;
}

.admin-handle-badge.standard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8c9eb5;
}

.admin-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .admin-dual-grid {
    grid-template-columns: 1fr;
  }
}

.admin-badge-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-badge-card {
  background: rgba(10, 15, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all 140ms ease;
}

.admin-badge-card:hover {
  border-color: rgba(99, 174, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.admin-badge-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-badge-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.admin-badge-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.admin-badge-card-desc {
  font-size: 0.72rem;
  color: #556885;
}

.admin-badge-count-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--azure);
  background: rgba(99, 174, 255, 0.12);
  border: 1px solid rgba(99, 174, 255, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}

.admin-user-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.admin-hero-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.admin-hero-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--azure), #1E3A8A);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(99, 174, 255, 0.25);
}

.admin-hero-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #080B12;
}

.admin-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-hero-name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-hero-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.admin-hero-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  color: var(--azure);
  font-weight: 600;
}

.admin-hero-badges-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #637794;
  flex-wrap: wrap;
}

.admin-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .admin-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-insight-box {
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-insight-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #637794;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-insight-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
}

.admin-chart-box {
  background: rgba(8, 12, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem;
}

.admin-bars-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 125px;
  padding-top: 1rem;
  gap: 0.5rem;
}

.admin-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 0.4rem;
  height: 100%;
  justify-content: flex-end;
}

.admin-bar-pill {
  width: 22px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--azure) 0%, rgba(99, 174, 255, 0.25) 100%);
  transition: all 200ms ease;
}

.admin-bar-pill:hover {
  filter: brightness(1.3);
  box-shadow: 0 0 12px var(--azure);
}

.admin-bar-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: #637794;
}

.admin-bar-date {
  font-size: 0.68rem;
  color: #637794;
  white-space: nowrap;
}

.admin-progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.admin-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.admin-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 300ms ease;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .admin-action-grid {
    grid-template-columns: 1fr;
  }
}

.admin-action-panel {
  background: rgba(12, 17, 28, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
}

.admin-action-panel-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-action-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.admin-banner-notice {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.admin-banner-notice.active {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6EE7B7;
}

.admin-banner-notice.suspended {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

.admin-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
  background: rgba(9, 13, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.76rem;
  color: #FFFFFF;
  transition: all 140ms ease;
}

.admin-badge-chip:hover {
  border-color: rgba(99, 174, 255, 0.3);
}

.admin-badge-revoke-btn {
  background: transparent;
  border: none;
  color: #EF4444;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 0.2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 120ms ease;
}

.admin-badge-revoke-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.admin-tx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
}

.admin-tx-pill.finished, .admin-tx-pill.confirmed {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.admin-tx-pill.waiting, .admin-tx-pill.confirming {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FCD34D;
}

.admin-tx-pill.expired, .admin-tx-pill.failed {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

.admin-diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .admin-diag-grid {
    grid-template-columns: 1fr;
  }
}

.admin-diag-card {
  background: rgba(8, 12, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-diag-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #556885;
}

.admin-diag-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dash-main .dash-page-header { margin-bottom: 1.6rem; }
.dash-main .dash-page-title {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.dash-main .dash-page-sub { font-size: 0.86rem; color: #637794; margin-top: 0.35rem; }

.dash-main .card-panel {
  background: rgba(10, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dash-main .card-panel::before { display: none; }
.dash-main .card-panel:hover { border-color: rgba(99, 174, 255, 0.2); }
.dash-main .card-panel-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.1rem;
}
.dash-main .card-panel-title { font-size: 0.98rem; font-weight: 700; }
.dash-main .card-panel-title svg {
  width: 30px; height: 30px; padding: 7px;
  border-radius: 9px;
  background: rgba(99, 174, 255, 0.12);
  border: 1px solid rgba(99, 174, 255, 0.28);
  color: var(--azure);
}

.dash-main .input,
.dash-main .select {
  background: rgba(6, 9, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
}
.dash-main .input:hover,
.dash-main .select:hover { border-color: rgba(255, 255, 255, 0.16); }
.dash-main .input:focus,
.dash-main .select:focus {
  border-color: rgba(99, 174, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 174, 255, 0.12);
}
.dash-main .field-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #8c9eb5;
}

.dash-main .nuwex-subtabs {
  display: flex;
  width: 100%;
  gap: 0.3rem;
  padding: 0 0 0.7rem;
  margin-bottom: 1.4rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.dash-main .nuwex-subtab-btn { height: 36px; padding: 0 1rem; font-size: 0.82rem; }
.dash-main .nuwex-subtab-btn.active {
  background: rgba(99, 174, 255, 0.14);
  border-color: rgba(99, 174, 255, 0.4);
  color: #fff;
}

.customizer-split { display: block; }
.customizer-preview-col {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  z-index: 10020;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(6, 9, 16, 0.97);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  order: 0;
  margin: 0;
}
.customizer-preview-col.open { transform: translateX(0); }
.customizer-preview-col .customizer-preview-sticky { position: static; }
.customizer-preview-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.customizer-preview-close {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9b8cf;
  cursor: pointer;
  transition: all 140ms ease;
}
.customizer-preview-close:hover { color: #fff; border-color: rgba(99, 174, 255, 0.5); }
.customizer-preview-backdrop {
  position: fixed; inset: 0;
  z-index: 10010;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.customizer-preview-backdrop.open { opacity: 1; pointer-events: auto; }

.dash-live-preview-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: var(--azure);
  color: #04060A;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(99, 174, 255, 0.4);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}
.dash-live-preview-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 174, 255, 0.55); }
.dash-live-preview-fab.hidden { opacity: 0; pointer-events: none; }

body:has(.dash-panel[data-dash-panel="customize"].active) .flash-stack { bottom: 5rem; }
body:has(.dash-panel[data-dash-panel="customize"].active) .sticky-save-bar { bottom: 5rem; }

.dash-main [data-dash-panel="badges"] .selectable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}
@media (max-width: 1100px) {
  .dash-main [data-dash-panel="badges"] .selectable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  .dash-main [data-dash-panel="badges"] .selectable-grid { grid-template-columns: 1fr !important; }
}
.dash-main [data-dash-panel="badges"] .selectable-card {
  background: rgba(10, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
}
.dash-main [data-dash-panel="badges"] .selectable-card:hover { border-color: rgba(99, 174, 255, 0.3); }
.dash-main [data-dash-panel="badges"] .selectable-card.selected {
  border-color: rgba(99, 174, 255, 0.55);
  background: rgba(99, 174, 255, 0.07);
}
.dash-main [data-dash-panel="badges"] .selectable-card.locked { opacity: 0.55; }

.dash-country-flag {
  width: 22px;
  height: 16px;
  border-radius: 3.5px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  background: #101524;
  position: relative;
}

.dash-country-flag .fi {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  display: block;
}
.dash-country-flag .fi:before {
  content: "" !important;
}

.dash-card:hover { transform: translateY(-2px); }
.dash-checklist-item { cursor: pointer; transition: transform .15s ease, background .15s ease; }
.dash-checklist-item:hover { transform: translateX(2px); }
.dash-connection-row { transition: transform .15s ease, background .15s ease; }
.dash-connection-row:hover { transform: translateX(2px); }
