﻿:root {
  --bg: #050505;
  --panel: rgba(10, 12, 14, 0.82);
  --panel-strong: rgba(8, 10, 12, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(78, 186, 245, 0.36);
  --text: #f5f7fa;
  --muted: #8c939d;
  --dim: #575d66;
  --primary: #38bdf8;
  --primary-2: #147dac;
  --green: #18d47c;
  --pink: #d23d81;
  --radius: 8px;
  --font-inter: Inter, Arial, sans-serif;
  --font-monospace: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-outfit: Outfit, Arial, sans-serif;
  --font-playfair: "Playfair Display", Georgia, serif;
  --font-poppins: Poppins, Arial, sans-serif;
  --font-bebas: "Bebas Neue", Impact, sans-serif;
  --font-montserrat: Montserrat, Arial, sans-serif;
  --font-jetbrains: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --font-syne: Syne, Arial, sans-serif;
  --font-pacifico: Pacifico, cursive;
  --font-roboto: Roboto, Arial, sans-serif;
  --font-hacked: Creepster, "Rubik Glitch", monospace;
  --font-minecraft: "Press Start 2P", monospace;
  --font-pokemon: "Press Start 2P", Bangers, fantasy;
  --font-mario: Bangers, "Bebas Neue", fantasy;
  --font-gta: Oswald, Impact, sans-serif;
  --font-death-note: "Cinzel Decorative", Georgia, serif;
  --font-jersey: "Jersey 10", Impact, sans-serif;
  --font-unbounded: Unbounded, Arial, sans-serif;
  font-family: Inter, Outfit, Poppins, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(39, 160, 220, 0.16), transparent 34%),
    radial-gradient(circle at 78% 42%, rgba(15, 130, 96, 0.12), transparent 32%),
    #050505;
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  z-index: 0;
}

.nav {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  height: 62px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 22, 27, 0.92), rgba(9, 10, 12, 0.84));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 170px;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links,
.auth-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: rgba(255,255,255,0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.nav a:hover {
  color: white;
}

.auth-links {
  gap: 18px;
}

.pill-button,
.nav .register-button,
.form-button {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: white;
  color: #020203;
  padding: 13px 25px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.nav .register-button {
  color: #050505;
  min-width: 100px;
  text-align: center;
  padding: 12px 18px;
}

.mobile-toggle {
  display: none;
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.section {
  position: relative;
  z-index: 1;
  width: min(1150px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 430px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(42, 143, 205, 0.08), rgba(0,0,0,0.2)),
    linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transform: rotate(-8deg);
  opacity: 0.45;
  filter: blur(0.2px);
}

.hero::before {
  left: -56px;
  top: 245px;
}

.hero::after {
  right: -65px;
  top: 300px;
  transform: rotate(8deg);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.23);
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 980px;
  margin-top: 28px;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.94;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
}

.blue {
  color: var(--primary);
}

.hero p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
}

.claim {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(505px, 100%);
  height: 58px;
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.claim label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  padding-left: 22px;
  font-size: 15px;
}

.claim input {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  min-width: 120px;
}

.claim button,
.cta-blue {
  border: 0;
  color: white;
  background: linear-gradient(180deg, #4cc6fb, #259fd7);
  border-left: 1px solid rgba(255,255,255,0.16);
  padding: 0 28px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.checks {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.checks span::before,
.list li::before {
  content: ">";
  color: var(--primary);
  margin-right: 8px;
}

.ticker {
  width: 100vw;
  margin-top: 88px;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide 38s linear infinite;
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

.mini-profile {
  width: 210px;
  height: 66px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,13,16,0.62);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}

.mini-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.mini-profile strong {
  display: block;
  color: white;
  font-size: 12px;
  font-style: italic;
  text-transform: uppercase;
}

.mini-profile span {
  display: block;
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2,
.split h2 {
  margin-top: 22px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  text-transform: uppercase;
}

.section-head p,
.split p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat,
.card,
.feature-card,
.auth-card,
.legal-card,
.sandbox,
.footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15,18,20,0.82), rgba(6,7,8,0.68));
  border-radius: var(--radius);
  box-shadow: inset 0 1px rgba(255,255,255,0.04);
}

.stat {
  padding: 31px 20px;
  text-align: center;
}

.stat strong {
  color: var(--primary);
  font-size: 38px;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-top: 9px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 14px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-card.large {
  min-height: 300px;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 19px;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.layout-preview {
  display: grid;
  gap: 10px;
}

.fake-input,
.integration-row,
.metric-row,
.bar {
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
}

.fake-input {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.integration-row,
.metric-row {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
}

.integration-row span,
.metric-row span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.chart {
  height: 160px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(56,189,248,0.16), transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255,255,255,0.045) 32px);
  clip-path: polygon(0 62%, 12% 70%, 24% 50%, 38% 58%, 51% 40%, 64% 46%, 78% 28%, 91% 42%, 100% 22%, 100% 100%, 0 100%);
}

.secure-stack {
  display: grid;
  gap: 10px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: #c5cbd2;
}

.analytics-panel {
  min-height: 360px;
  padding: 28px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.range-buttons {
  display: flex;
  gap: 8px;
}

.range-buttons button {
  height: 30px;
  min-width: 42px;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  font-size: 11px;
}

.range-buttons button.active {
  color: var(--primary);
  border-color: rgba(56,189,248,0.32);
  background: rgba(56,189,248,0.13);
}

.line-chart {
  height: 235px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(56,189,248,0.12), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 47px);
  position: relative;
  overflow: hidden;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.theme-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.theme-card {
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 32%, rgba(56,189,248,0.22), transparent 38%), rgba(10,12,14,0.72);
}

.theme-card.portfolio {
  background: radial-gradient(circle at 50% 32%, rgba(56,206,112,0.18), transparent 38%), rgba(10,12,14,0.72);
}

.avatar-skeleton {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  margin-bottom: 28px;
}

.bar {
  height: 12px;
  width: 150px;
  margin: 5px;
}

.theme-card strong {
  margin-top: 48px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.integration-cards {
  display: grid;
  gap: 12px;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12,14,17,0.78);
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2aa8e6, #1c3348);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.app-card small {
  color: var(--muted);
  display: block;
  margin-top: 5px;
}

.app-card button {
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(56,189,248,0.12);
  padding: 10px 14px;
}

.center-cta {
  text-align: center;
}

.cursor-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: stretch;
}

.effects {
  display: grid;
  gap: 14px;
}

.effect-btn {
  width: 100%;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12,14,17,0.7);
  color: white;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  text-align: left;
}

.effect-btn.active {
  border-color: var(--line-strong);
  background: rgba(56,189,248,0.12);
  box-shadow: inset 5px 0 0 rgba(56,189,248,0.8);
}

.effect-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.effect-btn strong {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.effect-btn span:last-child {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 13px;
}

.sandbox {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.24);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.trail,
.star,
.aura {
  position: absolute;
  pointer-events: none;
}

.trail {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
  animation: fade 0.7s linear forwards;
}

.star {
  color: white;
  animation: fade 0.9s linear forwards;
}

.aura {
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.45);
  box-shadow: 0 0 55px rgba(56,189,248,0.4);
  animation: aura 0.55s linear forwards;
}

@keyframes fade {
  to { opacity: 0; transform: scale(2); }
}

@keyframes aura {
  to { opacity: 0; transform: scale(1.7); }
}

.faq {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10,12,14,0.78);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: white;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: none;
  color: var(--muted);
  padding: 0 20px 20px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  padding: 72px min(64px, 6vw) 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 55px;
  width: min(1150px, 100%);
  margin: 0 auto;
}

.footer h4 {
  color: white;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-style: italic;
  font-size: 12px;
}

.footer ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.trust {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: white;
  font-weight: 900;
}

.stars span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 3px;
  background: #00b67a;
  border-radius: 2px;
  color: white;
  font-size: 12px;
}

.footer-bottom {
  width: min(1150px, 100%);
  margin: 54px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e684;
  margin-right: 8px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(130px);
  opacity: 0.16;
}

.auth-page::before {
  left: -120px;
  top: 40px;
  background: var(--primary);
}

.auth-page::after {
  right: -120px;
  bottom: 30px;
  background: #16a34a;
}

.auth-card {
  width: min(445px, 100%);
  padding: 34px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.auth-card h1 {
  color: var(--primary);
  text-align: center;
  font-size: 34px;
}

.auth-card > p {
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
}

.auth-card .demo-hint {
  color: var(--primary);
  font-size: 12px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 28px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0,0,0,0.36);
}

.tabs button {
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tabs button.active {
  color: var(--primary);
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.35);
}

.form {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #dce3ea;
  font-size: 12px;
  font-weight: 800;
}

.field input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: white;
  outline: 0;
  padding: 0 16px;
}

.field input:focus {
  border-color: rgba(56,189,248,0.55);
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field-row a,
.auth-switch a {
  color: var(--primary);
  font-weight: 700;
}

.form-button {
  width: 100%;
  height: 52px;
  color: var(--primary);
  background: rgba(56,189,248,0.14);
  border-color: rgba(56,189,248,0.42);
  margin-top: 2px;
}

.auth-switch {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.page-main {
  min-height: 100vh;
  padding-top: 92px;
}

.legal-card,
.content-card {
  width: min(900px, calc(100% - 40px));
  margin: 70px auto 110px;
  padding: 46px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.legal-card h1,
.content-card h1 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 58px);
}

.legal-card h2,
.content-card h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-card p,
.content-card p,
.content-card li {
  color: #b5bdc7;
  line-height: 1.75;
  margin-top: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.content-card .card {
  padding: 24px;
  min-height: 145px;
}

.profile-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  background:
    radial-gradient(circle at 50% 18%, rgba(56,189,248,0.15), transparent 36%),
    #050505;
}

.bio-card {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: rgba(10,12,14,0.86);
  text-align: center;
}

.bio-card img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56,189,248,0.35);
}

.bio-card h1 {
  margin-top: 18px;
  font-size: 30px;
}

.bio-card p {
  color: var(--muted);
  margin-top: 8px;
  white-space: pre-line;
}

.public-role-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.public-role-list span {
  border: 1px solid color-mix(in srgb, var(--role-color), transparent 30%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--role-color), transparent 86%);
  color: #fff;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
}

.public-track {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  border: 1px solid rgba(56,189,248,0.20);
  border-radius: 14px;
  background: rgba(0,0,0,0.34);
  padding: 14px;
  text-align: left;
}

.public-track[hidden] {
  display: none;
}

.public-track strong,
.public-track small {
  display: block;
}

.public-track strong {
  color: white;
  font-size: 15px;
}

.public-track small {
  margin-top: 4px;
  color: #9aa3b2;
}

.public-track audio {
  width: 100%;
  min-height: 40px;
  filter: invert(1) hue-rotate(160deg) saturate(0.65);
}

.public-track img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.public-track[data-player-type="topbar"] {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 80;
  grid-template-columns: 44px 190px;
  align-items: center;
  width: 64px;
  min-height: 64px;
  margin: 0;
  border-color: rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(5,6,8,0.74);
  padding: 10px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.38);
  overflow: hidden;
  transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.public-track[data-player-type="topbar"]:hover,
.public-track[data-player-type="topbar"]:focus-within {
  width: min(360px, calc(100vw - 44px));
  border-radius: 18px;
  background: rgba(5,6,8,0.86);
}

.public-track[data-player-type="topbar"] audio {
  display: none;
}

.public-track[data-player-type="topbar"] .public-track-details,
.public-track[data-player-type="topbar"] .public-track-controls {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.public-track[data-player-type="topbar"]:hover .public-track-details,
.public-track[data-player-type="topbar"]:focus-within .public-track-details,
.public-track[data-player-type="topbar"]:hover .public-track-controls,
.public-track[data-player-type="topbar"]:focus-within .public-track-controls {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.public-track[data-player-type="topbar"] .public-track-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 0;
}

.public-track-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
}

.public-track-controls input {
  width: 100%;
  accent-color: #38bdf8;
}

.public-track-speaker {
  display: none;
}

.public-track[data-player-type="topbar"] {
  grid-template-columns: 34px 42px minmax(130px, 170px) 40px minmax(72px, 110px) 40px minmax(142px, 168px);
  gap: 10px;
  width: 54px;
  min-height: 54px;
  padding: 9px;
}

.public-track[data-player-type="topbar"]:hover,
.public-track[data-player-type="topbar"]:focus-within {
  width: min(640px, calc(100vw - 44px));
  border-radius: 999px;
}

.public-track[data-player-type="topbar"] .public-track-speaker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.public-track[data-player-type="topbar"] img,
.public-track[data-player-type="topbar"] .public-track-time,
.public-track[data-player-type="topbar"] .public-track-progress,
.public-track[data-player-type="topbar"] .public-track-details,
.public-track[data-player-type="topbar"] .public-track-controls {
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.public-track[data-player-type="topbar"]:hover img,
.public-track[data-player-type="topbar"]:focus-within img,
.public-track[data-player-type="topbar"]:hover .public-track-time,
.public-track[data-player-type="topbar"]:focus-within .public-track-time,
.public-track[data-player-type="topbar"]:hover .public-track-progress,
.public-track[data-player-type="topbar"]:focus-within .public-track-progress,
.public-track[data-player-type="topbar"]:hover .public-track-details,
.public-track[data-player-type="topbar"]:focus-within .public-track-details,
.public-track[data-player-type="topbar"]:hover .public-track-controls,
.public-track[data-player-type="topbar"]:focus-within .public-track-controls {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.public-track[data-player-type="topbar"] img {
  width: 38px;
  height: 38px;
}

.public-track[data-player-type="topbar"] .public-track-details {
  min-width: 0;
}

.public-track[data-player-type="topbar"] .public-track-details strong,
.public-track[data-player-type="topbar"] .public-track-details small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-track-time {
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.public-track-progress,
.public-track-controls input {
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,0.46);
  accent-color: #141414;
}

.public-track-progress::-webkit-slider-runnable-track,
.public-track-controls input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,0.46);
}

.public-track-progress::-webkit-slider-thumb,
.public-track-controls input::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  background: #141414;
  appearance: none;
}

.public-track-progress::-moz-range-track,
.public-track-controls input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,0.46);
}

.public-track-progress::-moz-range-thumb,
.public-track-controls input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  background: #141414;
}

.public-track[data-player-type="topbar"] .public-track-controls {
  grid-column: auto;
  display: grid;
  grid-template-columns: 34px minmax(70px, 96px) 28px;
  gap: 10px;
  padding: 0;
  align-items: center;
  width: 100%;
}

.public-track[data-player-type="topbar"] .public-track-controls button {
  width: 30px;
  height: 30px;
  background: transparent;
}

.public-track[data-player-type="embed"] {
  grid-template-columns: 52px 1fr;
  align-items: center;
}

.public-track[data-player-type="embed"] audio {
  grid-column: 1 / -1;
}

.profile-reveal-locked {
  overflow: hidden;
}

.public-reveal-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  border: 0;
  background: #000;
  color: white;
  cursor: pointer;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.public-reveal-screen.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.public-reveal-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  background: rgba(255,255,255,0.012);
  color: rgba(255,255,255,0.68);
}

.public-reveal-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(56,189,248,0.42));
}

.public-reveal-icon span:not(.reveal-lock-icon) {
  font-size: 26px;
  line-height: 1;
}

.public-reveal-screen strong {
  color: white;
  font-size: 12px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.reveal-lock-icon {
  position: relative;
  width: 19px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: rgba(255,255,255,0.68);
}

.reveal-lock-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -12px;
  width: 9px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.reveal-settings {
  display: grid;
  gap: 18px;
}

.reveal-preview {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  background: #000;
}

.reveal-preview [data-reveal-preview-icon] {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  color: rgba(255,255,255,0.68);
}

.reveal-preview img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.reveal-preview strong {
  color: white;
  font-size: 11px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.page-settings-form {
  display: grid;
  gap: 22px;
}

.page-settings-form .two-fields {
  align-items: end;
}

.range-value {
  float: right;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.5px;
  text-transform: none;
}

.premium-section {
  display: grid;
  gap: 14px;
}

.premium-section > span {
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.premium-section b,
.premium-upload-zone button,
.premium-protection-row button {
  border: 1px solid rgba(245,158,11,0.65);
  border-radius: 7px;
  background: rgba(245,158,11,0.14);
  color: #fbbf24;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.premium-section b {
  margin-left: 6px;
}

.premium-upload-zone {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255,255,255,0.045);
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 50%, rgba(56,189,248,0.06), transparent 34%),
    rgba(0,0,0,0.16);
}

.premium-upload-zone div {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.24);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.premium-upload-zone div > span {
  color: rgba(255,255,255,0.34);
  font-size: 22px;
}

.premium-upload-zone small {
  color: rgba(255,255,255,0.34);
  font-size: 11px;
  line-height: 1.6;
  text-transform: none;
}

.premium-protection-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px 1fr auto 42px;
  align-items: center;
  gap: 14px;
  opacity: 0.72;
}

.premium-protection-row i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56,189,248,0.18);
  border-radius: 10px;
  background: rgba(56,189,248,0.06);
  color: #38bdf8;
  font-style: normal;
}

.premium-protection-row small {
  display: block;
  margin-top: 4px;
}

.theme-settings-form {
  display: grid;
  gap: 24px;
}

.theme-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.theme-color-grid .embed-color-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.theme-color-grid .color-swatch {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.theme-color-grid input {
  height: 54px;
  font-weight: 950;
}

.theme-settings-form .toggle-field {
  margin-top: -2px;
}

.theme-settings-form .toggle-field > span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56,189,248,0.28);
  border-radius: 12px;
  background: rgba(56,189,248,0.08);
  color: #38bdf8;
}

.box-style-form {
  display: grid;
  gap: 22px;
  padding-top: 6px;
}

.box-range-grid {
  row-gap: 24px;
}

.box-style-form label {
  margin-top: 0;
  color: rgba(255,255,255,0.56);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.box-style-form label select,
.box-style-form label input:not([type="range"]) {
  margin-top: 10px;
}

.box-style-form select {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 10px;
  background: #050607;
  color: #ffffff;
  font-weight: 850;
}

.box-style-form input[type="range"] {
  width: 100%;
  height: 26px;
  min-height: 26px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: #303030;
}

.box-style-form input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}

.box-style-form input[type="range"]::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 0;
  background: #303030;
  appearance: none;
}

.box-style-form input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}

.box-style-form input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 0;
  background: #303030;
}

.box-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 4px;
}

.box-color-grid .embed-color-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.box-color-grid .color-swatch {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.box-color-grid input {
  height: 54px;
  font-weight: 950;
}

.box-style-form .dash-submit {
  justify-self: end;
  width: auto;
  min-width: 172px;
  min-height: 42px;
  margin-top: 2px;
  background: rgba(56,189,248,0.14);
}

.neo-profile-page {
  position: relative;
  min-height: 100vh;
  place-items: center;
  padding: 48px 20px;
  overflow: hidden;
  perspective: 1000px;
  --profile-accent: #9905ff;
  --profile-primary-text: #ffffff;
  --profile-secondary-text: #b8b3c7;
  --profile-scale: 1;
  --box-width: 460px;
  --box-spacing: 35px;
  --box-opacity: 7%;
  --box-radius: 50px;
  --box-blur: 7px;
  --box-border-width: 0px;
  --box-border-opacity: 20%;
  --box-shadow-opacity: 50%;
  --box-color: #141417;
  --box-shadow-color: #090909;
  --box-border-color: #ffffff;
  --profile-font-family: var(--font-inter);
  background:
    radial-gradient(circle at 16% 18%, rgba(255,0,96,0.35), transparent 18%),
    radial-gradient(circle at 78% 70%, rgba(188,38,255,0.24), transparent 24%),
    linear-gradient(135deg, transparent 0 42%, rgba(153,5,255,0.18) 44%, transparent 66%),
    linear-gradient(90deg, rgba(0,0,0,0.88), transparent 26% 74%, rgba(0,0,0,0.88)),
    linear-gradient(180deg, #020104 0%, #130321 48%, #020204 100%);
}

.neo-profile-page::before {
  content: none;
}

.neo-profile-page::after {
  content: none;
}

.neo-profile-page[data-profile-font="inter"] { --profile-font-family: var(--font-inter); }
.neo-profile-page[data-profile-font="monospace"] { --profile-font-family: var(--font-monospace); }
.neo-profile-page[data-profile-font="outfit"] { --profile-font-family: var(--font-outfit); }
.neo-profile-page[data-profile-font="playfair"] { --profile-font-family: var(--font-playfair); }
.neo-profile-page[data-profile-font="poppins"] { --profile-font-family: var(--font-poppins); }
.neo-profile-page[data-profile-font="bebas"] { --profile-font-family: var(--font-bebas); }
.neo-profile-page[data-profile-font="montserrat"] { --profile-font-family: var(--font-montserrat); }
.neo-profile-page[data-profile-font="jetbrains"] { --profile-font-family: var(--font-jetbrains); }
.neo-profile-page[data-profile-font="syne"] { --profile-font-family: var(--font-syne); }
.neo-profile-page[data-profile-font="pacifico"] { --profile-font-family: var(--font-pacifico); }
.neo-profile-page[data-profile-font="roboto"] { --profile-font-family: var(--font-roboto); }
.neo-profile-page[data-profile-font="hacked"] { --profile-font-family: var(--font-hacked); }
.neo-profile-page[data-profile-font="minecraft"] { --profile-font-family: var(--font-minecraft); }
.neo-profile-page[data-profile-font="pokemon"] { --profile-font-family: var(--font-pokemon); }
.neo-profile-page[data-profile-font="mario"] { --profile-font-family: var(--font-mario); }
.neo-profile-page[data-profile-font="gta"] { --profile-font-family: var(--font-gta); }
.neo-profile-page[data-profile-font="death-note"] { --profile-font-family: var(--font-death-note); }
.neo-profile-page[data-profile-font="jersey"] { --profile-font-family: var(--font-jersey); }
.neo-profile-page[data-profile-font="unbounded"] { --profile-font-family: var(--font-unbounded); }

.neo-profile-page[data-font-italic="true"] .neo-bio-card {
  font-style: italic;
}

.neo-profile-page[data-font-lowercase="true"] .neo-bio-card {
  text-transform: lowercase;
}

.neo-profile-page[data-cursor-style]:not([data-cursor-style="default"]),
.neo-profile-page[data-cursor-style]:not([data-cursor-style="default"]) *,
.dashboard-page[data-cursor-style]:not([data-cursor-style="default"]),
.dashboard-page[data-cursor-style]:not([data-cursor-style="default"]) * {
  cursor: none !important;
}

.neo-bio-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 34px;
  text-align: center;
  font-family: var(--profile-font-family);
  transform-style: preserve-3d;
}

.public-custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #f6f7fb;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 14px rgba(56,189,248,0.55);
  pointer-events: none;
  transform: translate(-4px, -3px);
  mix-blend-mode: screen;
}

.public-custom-cursor .cursor-arrow {
  position: relative;
  width: 19px;
  height: 25px;
  display: block;
  background: currentColor;
  clip-path: polygon(0 0, 0 22px, 6px 16px, 10px 25px, 14px 23px, 10px 14px, 18px 14px);
  filter: drop-shadow(0 0 8px currentColor);
}

.public-custom-cursor .cursor-cross {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px currentColor);
}

.public-custom-cursor .cursor-cross::before,
.public-custom-cursor .cursor-cross::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.public-custom-cursor .cursor-cross::before {
  width: 22px;
  height: 3px;
}

.public-custom-cursor .cursor-cross::after {
  width: 3px;
  height: 22px;
}

.public-custom-cursor .cursor-crosshair {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.public-custom-cursor .cursor-crosshair::before,
.public-custom-cursor .cursor-crosshair::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.public-custom-cursor .cursor-crosshair::before {
  left: 50%;
  top: -6px;
  width: 2px;
  height: 35px;
  transform: translateX(-50%);
}

.public-custom-cursor .cursor-crosshair::after {
  left: -6px;
  top: 50%;
  width: 35px;
  height: 2px;
  transform: translateY(-50%);
}

.public-custom-cursor .cursor-hand,
.public-custom-cursor .cursor-heart {
  display: block;
  width: 25px;
  height: 25px;
  background: currentColor;
  filter: drop-shadow(0 0 9px currentColor);
}

.public-custom-cursor .cursor-hand {
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M13 3.5c1.4 0 2.5 1.1 2.5 2.5v8.1l.9-.9c1-1 2.6-1 3.6 0 .4.4.7.9.7 1.5l.6-.6c1-1 2.6-1 3.6 0 .6.6.9 1.4.7 2.2.9-.4 2-.2 2.7.5.9.9 1 2.3.2 3.4l-5.1 6.8c-1.4 1.9-3.6 3-6 3h-2.5c-2.8 0-5.4-1.4-6.9-3.8L5.1 21c-.7-1.2-.4-2.7.8-3.4 1-.6 2.2-.4 3 .4l1.6 1.6V6c0-1.4 1.1-2.5 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M13 3.5c1.4 0 2.5 1.1 2.5 2.5v8.1l.9-.9c1-1 2.6-1 3.6 0 .4.4.7.9.7 1.5l.6-.6c1-1 2.6-1 3.6 0 .6.6.9 1.4.7 2.2.9-.4 2-.2 2.7.5.9.9 1 2.3.2 3.4l-5.1 6.8c-1.4 1.9-3.6 3-6 3h-2.5c-2.8 0-5.4-1.4-6.9-3.8L5.1 21c-.7-1.2-.4-2.7.8-3.4 1-.6 2.2-.4 3 .4l1.6 1.6V6c0-1.4 1.1-2.5 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.public-custom-cursor .cursor-heart {
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M16 28.2 4.9 17.7C2.2 15.1 2 10.8 4.5 8c2.5-2.8 6.9-2.9 9.6-.2L16 9.7l1.9-1.9c2.7-2.7 7.1-2.6 9.6.2 2.5 2.8 2.3 7.1-.4 9.7L16 28.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M16 28.2 4.9 17.7C2.2 15.1 2 10.8 4.5 8c2.5-2.8 6.9-2.9 9.6-.2L16 9.7l1.9-1.9c2.7-2.7 7.1-2.6 9.6.2 2.5 2.8 2.3 7.1-.4 9.7L16 28.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.public-custom-cursor[data-public-cursor="mini"],
.public-custom-cursor[data-public-cursor="tiny-hand"] {
  width: 18px;
  height: 18px;
  font-size: 14px;
}

.public-custom-cursor[data-public-cursor="mini"] .cursor-arrow {
  width: 11px;
  height: 15px;
}

.public-custom-cursor[data-public-cursor="chroma"] {
  color: #38bdf8;
  animation: cursorHue 1.8s linear infinite;
}

.public-custom-cursor[data-public-cursor="chrome"] {
  color: #dfe7f0;
  text-shadow: 0 0 8px #fff, 0 0 18px rgba(160,180,200,0.75);
}

.public-custom-cursor[data-public-cursor="chrome"] .cursor-arrow {
  background: linear-gradient(135deg, #ffffff, #8794a3 48%, #f7fbff);
}

.public-custom-cursor[data-public-cursor="cross"],
.public-custom-cursor[data-public-cursor="crosshair"] {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.48);
}

.public-custom-cursor[data-public-cursor="mac-os"] {
  color: #f6f7fb;
  transform: translate(-3px, -2px) scale(1.14);
}

.public-custom-cursor[data-public-cursor="mac-os"] .cursor-arrow {
  width: 17px;
  height: 24px;
  filter: drop-shadow(0 1px 0 #000) drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

.public-custom-cursor[data-public-cursor="finger"],
.public-custom-cursor[data-public-cursor="heart-hand"],
.public-custom-cursor[data-public-cursor="tiny-hand"] {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.5);
}

.public-custom-cursor[data-public-cursor="pink"] {
  color: #fa739e;
  text-shadow: 0 0 16px rgba(250,115,158,0.8);
}

.public-custom-cursor[data-public-cursor="heart-hand"] {
  color: #ff7aa8;
}

.public-custom-cursor[data-public-cursor="tiny-hand"] .cursor-hand {
  width: 17px;
  height: 17px;
}

[data-cursor-trail-dot] {
  position: fixed;
  z-index: 99998;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cursor-trail-color, #fa739e);
  box-shadow: 0 0 18px var(--cursor-trail-color, #fa739e);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: cursorTrailFade 620ms ease-out forwards;
}

[data-cursor-trail-dot="stardust"] {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--cursor-trail-color, #fa739e);
  font-size: 13px;
}

[data-cursor-trail-dot="aura"] {
  width: 26px;
  height: 26px;
  background: transparent;
  border: 1px solid var(--cursor-trail-color, #fa739e);
}

@keyframes cursorHue {
  to { filter: hue-rotate(360deg); }
}

@keyframes cursorTrailFade {
  from { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}

.neo-profile-page[data-box-tilt="standard"] .neo-bio-card,
.neo-profile-page[data-box-tilt="standard-scale"] .neo-bio-card,
.neo-profile-page[data-box-tilt="reverse"] .neo-bio-card,
.neo-profile-page[data-box-tilt="reverse-scale"] .neo-bio-card {
  transform: scale(var(--profile-scale));
  transition: transform 170ms ease;
}

.neo-profile-banner {
  position: relative;
  width: min(520px, 92%);
  height: 150px;
  margin: 0 auto;
  border-radius: 3px;
  overflow: hidden;
  transform: translate3d(calc(var(--profile-x, 0px) * 0.22), calc(var(--profile-y, 0px) * 0.14), 44px) rotateX(var(--profile-rx, 0deg)) rotateY(var(--profile-ry, 0deg));
  background:
    radial-gradient(circle at 18% 46%, rgba(255,0,82,0.74), transparent 18%),
    linear-gradient(120deg, rgba(0,0,0,0.10), rgba(255,255,255,0.06)),
    linear-gradient(135deg, #0c0a0f, #321051 48%, #050407);
  box-shadow: 0 22px 60px rgba(0,0,0,0.58);
  transition: transform 170ms ease;
}

.neo-profile-banner[hidden] {
  display: none;
}

.public-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--banner-opacity, 1);
  filter: blur(var(--banner-blur, 0px));
  transform: scale(1.04);
  pointer-events: none;
}

.neo-profile-banner .public-banner-media {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.neo-profile-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 28% 72%, rgba(255,255,255,0.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.neo-profile-banner span {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.neo-profile-banner b {
  border-radius: 999px;
  background: rgba(0,0,0,0.56);
  color: white;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 950;
}

.neo-profile-banner i {
  font-style: normal;
}

.neo-profile-avatar {
  position: relative;
  z-index: 2;
  display: block;
  width: 132px;
  height: 132px;
  margin: -48px auto 0;
  border: 4px solid rgba(0,0,0,0.42);
  object-fit: cover;
  box-shadow: 0 24px 58px rgba(0,0,0,0.62);
  transform: translate3d(calc(var(--profile-x, 0px) * 0.32), calc(var(--profile-y, 0px) * 0.24), 72px);
  transition: transform 170ms ease, border-radius 170ms ease;
}

.neo-profile-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 18px;
  transform: translate3d(calc(var(--profile-x, 0px) * 0.12), calc(var(--profile-y, 0px) * 0.10), 34px);
  transition: transform 170ms ease;
}

.neo-profile-content h1 {
  margin: 0;
  color: var(--profile-primary-text);
  font-size: clamp(36px, 8vw, 58px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,255,255,0.38);
}

.neo-profile-bio {
  width: min(520px, 92%);
  color: var(--profile-secondary-text);
  line-height: 1.6;
  text-shadow: 0 0 16px rgba(153,5,255,0.35);
}

.neo-profile-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--profile-secondary-text);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.neo-profile-location span {
  color: var(--profile-accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--profile-accent), transparent 20%);
}

.neo-bio-card .public-role-list {
  position: relative;
  z-index: 3;
  width: min(430px, 94%);
  margin: 22px auto 0;
  transform: translate3d(calc(var(--profile-x, 0px) * 0.10), calc(var(--profile-y, 0px) * 0.08), 30px);
  transition: transform 170ms ease;
}

.neo-bio-card .public-role-list span {
  border-color: rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
  color: var(--profile-secondary-text);
  box-shadow: 0 0 22px rgba(153,5,255,0.12);
}

.neo-bio-card .bio-links {
  position: relative;
  z-index: 3;
  justify-content: center;
  margin-top: 28px;
  transform: translate3d(calc(var(--profile-x, 0px) * 0.08), calc(var(--profile-y, 0px) * 0.06), 24px);
  transition: transform 170ms ease;
}

.neo-bio-card .bio-links a {
  min-width: 54px;
  border-color: color-mix(in srgb, var(--profile-accent), transparent 66%);
  background: rgba(0,0,0,0.28);
  color: var(--profile-primary-text);
  text-shadow: 0 0 13px color-mix(in srgb, var(--profile-accent), transparent 20%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--profile-accent), transparent 78%);
}

.neo-bio-card .public-track[data-player-type="embed"] {
  position: relative;
  z-index: 3;
  width: min(430px, 94%);
  margin: 32px auto 0;
  border-color: rgba(255,255,255,0.06);
  border-radius: 20px;
  background: rgba(0,0,0,0.24);
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
}

.neo-profile-page[data-profile-layout="default"] {
  padding: 42px 20px;
  background:
    radial-gradient(circle at 50% 22%, rgba(153,5,255,0.15), transparent 26%),
    radial-gradient(circle at 50% 65%, rgba(153,5,255,0.14), transparent 34%),
    linear-gradient(90deg, #030305 0%, #070309 22%, #10031b 50%, #070309 78%, #030305 100%);
}

.neo-profile-page[data-profile-layout="default"] .neo-bio-card {
  width: min(var(--box-width), calc(100vw - 32px));
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 var(--box-spacing) var(--box-spacing);
  border: var(--box-border-width) solid color-mix(in srgb, var(--box-border-color), transparent calc(100% - var(--box-border-opacity)));
  border-radius: var(--box-radius);
  background:
    radial-gradient(circle at 50% 12%, rgba(153,5,255,0.22), transparent 24%),
    radial-gradient(circle at 50% 54%, rgba(153,5,255,0.13), transparent 44%),
    color-mix(in srgb, var(--box-color), transparent calc(100% - var(--box-opacity)));
  box-shadow: 0 42px 120px color-mix(in srgb, var(--box-shadow-color), transparent calc(100% - var(--box-shadow-opacity))), inset 0 1px 0 rgba(255,255,255,0.035);
  backdrop-filter: blur(var(--box-blur));
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-banner {
  order: 0;
  width: calc(100% + (var(--box-spacing) * 2));
  height: 150px;
  margin: 0 calc(var(--box-spacing) * -1) -58px;
  border-radius: var(--box-radius) var(--box-radius) 4px 4px;
  background:
    radial-gradient(circle at 20% 42%, rgba(255,0,96,0.52), transparent 26%),
    linear-gradient(120deg, rgba(255,255,255,0.045), rgba(153,5,255,0.14) 46%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, rgba(30,8,44,0.66), rgba(10,2,16,0.25));
  box-shadow: none;
  opacity: 0.78;
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-banner::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent 30% 70%, rgba(255,255,255,0.045));
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-banner span {
  top: 16px;
  right: 16px;
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-banner b {
  padding: 8px 13px;
  background: rgba(0,0,0,0.62);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-avatar {
  order: 1;
  width: 118px;
  height: 118px;
  margin: 0 auto;
  border: 3px solid rgba(123,63,255,0.42);
  box-shadow: 0 20px 52px rgba(0,0,0,0.62), 0 0 24px rgba(153,5,255,0.28);
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-content {
  order: 2;
  gap: 16px;
  margin-top: 24px;
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-content h1 {
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1;
  text-shadow: 0 0 19px rgba(255,255,255,0.36), 0 0 34px rgba(153,5,255,0.34);
}

.neo-profile-page[data-dynamic-accent="true"] .neo-profile-content h1 {
  text-shadow: 0 0 19px color-mix(in srgb, var(--profile-primary-text), transparent 62%), 0 0 34px color-mix(in srgb, var(--profile-accent), transparent 54%);
}

.neo-profile-page[data-profile-layout="default"] .public-role-list {
  order: 3;
  width: min(390px, 100%);
  margin-top: 20px;
  gap: 10px;
}

.neo-profile-page[data-profile-layout="default"] .public-role-list span {
  min-width: 94px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025), 0 12px 30px rgba(0,0,0,0.20);
}

.neo-profile-page[data-dynamic-accent="true"] .public-role-list span {
  border-color: color-mix(in srgb, var(--profile-accent), transparent 72%);
  background: color-mix(in srgb, var(--profile-accent), transparent 91%);
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-bio {
  width: min(360px, 94%);
  color: var(--profile-secondary-text);
  font-size: 16px;
  line-height: 1.5;
}

.neo-profile-page[data-profile-layout="default"] .neo-profile-location {
  margin-top: 10px;
  color: var(--profile-secondary-text);
}

.neo-profile-page[data-profile-layout="default"] .bio-links {
  order: 4;
  margin-top: 30px;
  gap: 20px;
}

.neo-profile-page[data-profile-layout="default"] .bio-links a {
  min-width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(26,4,42,0.48);
  color: var(--profile-primary-text);
  text-shadow: 0 0 13px color-mix(in srgb, var(--profile-accent), transparent 24%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--profile-accent), transparent 80%);
}

.neo-profile-page[data-dynamic-accent="true"] .bio-links a {
  border-color: color-mix(in srgb, var(--profile-accent), transparent 66%);
  background: color-mix(in srgb, var(--profile-accent), transparent 88%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--profile-accent), transparent 78%);
}

.neo-profile-page[data-page-entrance="slide-up"] .neo-bio-card {
  animation: profileSlideUp 760ms cubic-bezier(.2,.9,.2,1) both;
}

.neo-profile-page[data-page-entrance="fade-in"] .neo-bio-card {
  animation: profileFadeIn 720ms ease both;
}

.neo-profile-page[data-page-entrance="zoom-out"] .neo-bio-card {
  animation: profileZoomOut 760ms cubic-bezier(.2,.9,.2,1) both;
}

.neo-profile-page[data-page-entrance="typewriter"] .neo-bio-card {
  animation: profileTypewriter 900ms steps(18, end) both;
  overflow: hidden;
}

.neo-profile-page[data-page-entrance="glitch"] .neo-bio-card {
  animation: profileGlitchIn 720ms steps(2, end) both;
}

.neo-profile-page[data-page-entrance="spin-in"] .neo-bio-card {
  animation: profileSpinIn 820ms cubic-bezier(.2,.9,.2,1) both;
}

@keyframes profileSlideUp {
  from { opacity: 0; transform: translate3d(0, 56px, 0) scale(0.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes profileFadeIn {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes profileZoomOut {
  from { opacity: 0; transform: scale(1.12); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes profileTypewriter {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes profileGlitchIn {
  0% { opacity: 0; transform: translateX(-16px) skewX(8deg); filter: hue-rotate(80deg); }
  18% { opacity: 1; transform: translateX(12px) skewX(-8deg); }
  36% { transform: translateX(-8px) skewX(4deg); }
  54% { transform: translateX(6px) skewX(-2deg); filter: hue-rotate(0); }
  100% { opacity: 1; transform: none; filter: none; }
}

@keyframes profileSpinIn {
  from { opacity: 0; transform: rotate(-5deg) scale(0.86); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

@media (max-width: 620px) {
  .box-color-grid {
    grid-template-columns: 1fr;
  }

  .neo-profile-page[data-profile-layout="default"] {
    padding: 0;
  }

  .neo-profile-page[data-profile-layout="default"] .neo-bio-card {
    width: min(var(--box-width), calc(100vw - 18px));
    min-height: 100vh;
    border-radius: min(var(--box-radius), 34px);
    padding: 0 var(--box-spacing) var(--box-spacing);
  }

  .neo-profile-page[data-profile-layout="default"] .neo-profile-banner {
    width: calc(100% + (var(--box-spacing) * 2));
    height: 150px;
    margin: 0 calc(var(--box-spacing) * -1) -58px;
    border-radius: min(var(--box-radius), 34px) min(var(--box-radius), 34px) 4px 4px;
  }
}

.bio-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.bio-links a {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: 0.2s ease;
  z-index: 40;
  background: rgba(10,12,14,0.92);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: white;
  padding: 12px 16px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links,
  .auth-links {
    display: none;
    width: 100%;
    padding: 16px 4px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .nav.open .nav-links,
  .nav.open .auth-links {
    display: flex;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 850px;
  }

  .claim {
    grid-template-columns: 1fr;
    height: auto;
  }

  .claim label {
    min-height: 56px;
  }

  .claim button {
    height: 54px;
  }

  .checks,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .stats,
  .features,
  .split,
  .cursor-layout,
  .footer-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 680px);
    padding: 72px 0;
  }

  .theme-cards,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .auth-card,
  .legal-card,
  .content-card {
    padding: 26px;
  }
}

.app-shell,
.admin-page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.dash-hero {
  margin: 48px 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15,18,20,0.85), rgba(6,7,8,0.72));
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.dash-hero img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56,189,248,0.42);
}

.dash-hero h1 {
  margin-top: 12px;
  font-size: 44px;
  text-transform: uppercase;
}

.dash-hero p {
  color: var(--muted);
  margin-top: 4px;
}

.dash-hero .form-button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.9fr;
  gap: 16px;
  padding-bottom: 80px;
}

.admin-page {
  padding: 34px 0 70px;
}

.admin-header {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-header h1 {
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.admin-header p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.admin-header span {
  color: var(--primary);
  font-weight: 900;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 22px;
}

.admin-stat,
.admin-card {
  border: 1px solid var(--line);
  background: rgba(13, 14, 16, 0.82);
  border-radius: 10px;
}

.admin-stat {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.admin-stat > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(56,189,248,0.44);
  background: rgba(56,189,248,0.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.admin-stat.purple > span {
  border-color: rgba(168,85,247,0.45);
  background: rgba(168,85,247,0.14);
  color: #c084fc;
}

.admin-stat.gold > span {
  border-color: rgba(245,158,11,0.45);
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
}

.admin-stat small,
.role-pill,
.admin-table th,
.field label {
  text-transform: uppercase;
}

.admin-stat small {
  display: block;
  color: #717780;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 900;
}

.admin-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 25px;
}

.admin-stat em {
  display: block;
  margin-top: 5px;
  color: #5e646c;
  font-size: 11px;
  font-style: normal;
}

.admin-tabs {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14,15,17,0.82);
  padding: 6px;
  margin-bottom: 26px;
}

.admin-tabs button {
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #696f78;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.admin-tabs button.active {
  color: white;
  background: rgba(56,189,248,0.18);
  border: 1px solid rgba(56,189,248,0.5);
}

.admin-search {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-search input,
.admin-search button {
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.admin-search input {
  background: rgba(0,0,0,0.45);
  color: white;
  outline: 0;
  padding: 0 18px;
}

.admin-search button {
  background: linear-gradient(180deg, #4cc6fb, #259fd7);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11,12,14,0.8);
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th {
  height: 48px;
  padding: 0 22px;
  text-align: left;
  color: #717780;
  background: rgba(255,255,255,0.045);
  font-size: 11px;
}

.admin-table td {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
}

.admin-table strong,
.admin-row strong {
  display: block;
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table small,
.admin-row small {
  display: block;
  color: #747b84;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
}

.admin-table button,
.admin-row button,
.request-line button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #cdd5df;
  border-radius: 8px;
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #9aa1aa;
  font-size: 10px;
  font-weight: 900;
}

.role-pill.premium {
  color: #fbbf24;
  border-color: rgba(251,191,36,0.35);
}

.role-pill.verified {
  color: var(--primary);
  border-color: rgba(56,189,248,0.35);
}

.role-pill.banned {
  color: #fb7185;
  border-color: rgba(251,113,133,0.35);
}

.badge-admin-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
}

.admin-card {
  padding: 24px;
}

.admin-card h2,
.badge-title h2 {
  margin: 0 0 18px;
  font-size: 17px;
}

.badge-lists {
  display: grid;
  gap: 22px;
}

.badge-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-title span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #8a929c;
  font-size: 11px;
  font-weight: 900;
}

.stack {
  display: grid;
  gap: 10px;
}

.empty-state {
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #757b84;
  border-radius: 9px;
  padding: 16px;
  font-size: 13px;
  font-style: italic;
}

.badge-line,
.request-line,
.admin-row {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  background: rgba(0,0,0,0.28);
  padding: 14px;
}

.badge-line {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 14px;
  align-items: center;
}

.badge-line span,
.request-line span {
  color: var(--muted);
  font-size: 12px;
}

.badge-line em {
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.request-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 12px;
}

.admin-row.compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.mini-form {
  margin-top: 14px;
}

.admin-guard {
  margin: 110px auto 0;
}

.dashboard-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 12%, rgba(28, 185, 127, 0.09), transparent 35%),
    radial-gradient(circle at 20% 8%, rgba(56, 189, 248, 0.10), transparent 30%),
    #050608;
}

.dashboard-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.45), black 28%, black 76%, rgba(0,0,0,0.35));
  opacity: 0.34;
  z-index: 0;
}

.dashboard-page {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--text);
}

.dash-sidebar {
  min-height: 100vh;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(7,9,11,0.96), rgba(3,4,5,0.92));
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dash-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 18px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: 2px;
}

.dash-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.dash-nav {
  display: grid;
  gap: 8px;
}

.dash-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dash-nav a.active,
.dash-nav a:hover {
  color: white;
  border-color: rgba(56,189,248,0.35);
  background: rgba(56,189,248,0.12);
}

.dash-sidebar-footer {
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.34);
  padding: 16px;
  display: grid;
  gap: 6px;
}

.dash-sidebar-footer small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dash-sidebar-footer strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.dash-sidebar-footer a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dash-main {
  width: min(1180px, calc(100% - 60px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.dash-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-kicker,
.dash-top p,
.dash-section-title small,
.dash-stat small,
.dash-stat em {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dash-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
}

.dash-top h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.9;
  text-transform: uppercase;
}

.dash-top p {
  margin-top: 12px;
}

.dash-top b {
  color: var(--primary);
}

.dash-action,
.dash-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(56,189,248,0.48);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(56,189,248,0.22), rgba(20,125,172,0.18));
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dash-action {
  padding: 0 18px;
  white-space: nowrap;
}

.dash-submit {
  width: 100%;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 24px;
}

.dash-stat {
  min-height: 104px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(14,16,18,0.86), rgba(8,9,11,0.82));
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dash-stat > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(56,189,248,0.45);
  border-radius: 9px;
  background: rgba(56,189,248,0.13);
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
}

.dash-stat.purple > span {
  border-color: rgba(178,92,255,0.45);
  background: rgba(178,92,255,0.14);
  color: #c184ff;
}

.dash-stat.gold > span {
  border-color: rgba(245,170,0,0.48);
  background: rgba(245,170,0,0.13);
  color: #f5aa00;
}

.dash-stat div {
  min-width: 0;
}

.dash-stat strong {
  display: block;
  margin-top: 7px;
  font-size: 27px;
  line-height: 1;
  text-transform: uppercase;
}

.dash-stat em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.dash-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13,15,17,0.9), rgba(5,6,7,0.82));
  box-shadow: inset 0 1px rgba(255,255,255,0.04), 0 20px 70px rgba(0,0,0,0.22);
  padding: 20px;
}

.dash-preview-card,
.dash-links-card {
  grid-column: span 1;
}

.dash-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-section-title span {
  color: white;
  font-size: 18px;
  font-weight: 950;
}

.dash-section-title small {
  letter-spacing: 0;
  text-transform: none;
}

.dash-profile-preview {
  min-height: 240px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(56,189,248,0.08), transparent 52%),
    rgba(0,0,0,0.36);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.dash-profile-preview img {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56,189,248,0.5);
  box-shadow: 0 0 40px rgba(56,189,248,0.18);
}

.dash-profile-preview h2 {
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.dash-profile-preview p {
  margin-top: 9px;
  color: var(--muted);
  max-width: 390px;
}

.dash-preview-meta {
  margin-top: 14px;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.dash-preview-meta strong,
.dash-preview-meta b {
  color: white;
  font-weight: 900;
}

.dash-form .field label,
.dash-mini-form .field label {
  color: rgba(255,255,255,0.42);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dash-form .field input,
.dash-form .field textarea,
.dash-mini-form .field input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  background: rgba(0,0,0,0.54);
  color: white;
  outline: 0;
  padding: 0 14px;
}

.dash-form .field input,
.dash-mini-form .field input {
  height: 46px;
}

.dash-form .field textarea {
  min-height: 108px;
  resize: vertical;
  padding-top: 13px;
  font: inherit;
}

.dash-form .field input:focus,
.dash-form .field textarea:focus,
.dash-mini-form .field input:focus {
  border-color: rgba(56,189,248,0.58);
}

.dash-link-list {
  display: grid;
  gap: 10px;
}

.dash-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.32);
  padding: 12px;
}

.dash-link-row strong {
  display: block;
  color: white;
}

.dash-link-row small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-link-row button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.72);
  padding: 0 11px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dash-mini-form {
  margin-top: 16px;
}

.dashboard-page .empty-state {
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  padding: 18px;
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
}

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

  .admin-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search,
  .dash-hero,
  .request-line {
    grid-template-columns: 1fr;
  }

  .dashboard-page {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

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

  .dash-sidebar-footer {
    display: none;
  }

  .dash-main {
    width: min(100% - 28px, 680px);
    padding-top: 24px;
  }

  .dash-top,
  .dash-preview-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .dash-action {
    width: 100%;
  }

  .dash-stats,
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

/* Ventic-style dashboard suite */
.ventic-dashboard {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 45% 40%, rgba(26, 41, 46, 0.36), transparent 38%),
    radial-gradient(circle at 80% 78%, rgba(33, 111, 130, 0.10), transparent 34%),
    #050607;
}

.ventic-dashboard .dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
  padding: 34px 20px 18px;
  border-right: 1px solid rgba(255,255,255,0.045);
  background: rgba(3,4,5,0.88);
}

.ventic-dashboard .dash-brand {
  margin-bottom: 22px;
  gap: 13px;
  font-size: 20px;
  letter-spacing: 1px;
}

.ventic-dashboard .dash-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  padding: 7px;
}

.ventic-dashboard .dash-nav {
  gap: 6px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}

.ventic-dashboard .dash-nav::-webkit-scrollbar {
  display: none;
}

.ventic-dashboard .dash-nav small {
  margin: 18px 0 7px;
  color: white;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.ventic-dashboard .dash-nav a {
  min-height: 38px;
  gap: 12px;
  padding: 0 12px;
  border-radius: 8px;
  color: #aab3c2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.ventic-dashboard .dash-nav a span {
  width: 16px;
  color: #a4acb8;
}

.ventic-dashboard .dash-nav a.active {
  border-left: 2px solid var(--primary);
  border-color: transparent;
  background: linear-gradient(90deg, rgba(56,189,248,0.12), rgba(255,255,255,0.015));
  color: white;
}

.ventic-dashboard .dash-nav a.active span,
.ventic-dashboard .dash-nav a:hover span,
.ventic-dashboard .dash-nav a:hover {
  color: var(--primary);
}

.ventic-dashboard .dash-nav a.locked {
  opacity: 0.55;
}

.ventic-dashboard .dash-sidebar-footer {
  margin: auto -20px 0;
  padding: 18px 24px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.045);
  border-radius: 0;
  background: transparent;
}

.ventic-dashboard .dash-sidebar-footer > a {
  color: #b9c9ef;
  font-size: 13px;
  text-transform: none;
}

.ventic-dashboard .dash-sidebar-footer div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.ventic-dashboard .dash-sidebar-footer img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.ventic-dashboard .dash-sidebar-footer strong {
  color: white;
  font-size: 12px;
  text-transform: none;
}

.ventic-dashboard .dash-main {
  position: relative;
  width: min(1280px, calc(100% - 92px));
  padding: 42px 0 96px;
}

.dashboard-view {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  filter: blur(8px);
  transition:
    opacity 280ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 280ms ease;
}

.dashboard-view[hidden] {
  display: none !important;
}

.dashboard-view.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.dashboard-view.is-leaving {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  pointer-events: none;
}

.dashboard-view.dash-panel-page {
  margin-top: 0;
  padding-top: 0;
}

.dashboard-loader {
  position: fixed;
  inset: 0 0 0 238px;
  z-index: 80;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(20,34,38,0.42), transparent 34%),
    rgba(5,6,7,0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.dashboard-loader.is-active {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-loader-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translateY(-10px);
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(56,189,248,0.18);
  border-top-color: #38bdf8;
  border-right-color: #38bdf8;
  border-radius: 50%;
  animation: dashboardSpin 780ms linear infinite;
}

.dashboard-loader strong {
  color: #9ca0aa;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.loader-progress {
  width: 120px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
}

.loader-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1b82a7, #38bdf8);
}

.dashboard-loader.is-active .loader-progress span {
  animation: dashboardLoadBar 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes dashboardLoadBar {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.dash-profile-hero {
  min-height: 130px;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11,13,15,0.84), rgba(6,7,8,0.72));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 28px 28px 36px;
}

.dash-hero-person {
  display: flex;
  align-items: center;
  gap: 22px;
}

.dash-hero-person img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 46px rgba(56,189,248,0.18);
}

.dash-hero-person h1 {
  font-size: 32px;
  line-height: 1;
  text-transform: none;
}

.dash-hero-person p {
  margin-top: 8px;
  color: #8f96a4;
  font-size: 13px;
  font-weight: 750;
}

.ventic-dashboard .dash-action {
  min-width: 150px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #38bdf8;
  color: white;
  box-shadow: 0 14px 28px rgba(56,189,248,0.22);
  letter-spacing: 1px;
}

.ventic-dashboard .dash-stats {
  margin: 34px 0;
  gap: 14px;
}

.ventic-dashboard .dash-stat {
  min-height: 100px;
  border-color: rgba(255,255,255,0.055);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11,14,16,0.84), rgba(6,7,8,0.72));
  padding: 20px;
  gap: 16px;
}

.ventic-dashboard .dash-stat > span,
.dash-card-title > span,
.leaderboard-card > span {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 10px;
  background: rgba(56,189,248,0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.ventic-dashboard .dash-stat small {
  color: #8d909a;
  font-size: 10px;
  letter-spacing: 2px;
}

.ventic-dashboard .dash-stat strong {
  margin-top: 7px;
  font-size: 29px;
  text-transform: none;
}

.ventic-dashboard .dash-stat em {
  color: #a8abb4;
  font-size: 12px;
}

.ventic-dashboard .dash-stat.dim > span {
  border-color: rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.018);
  color: #a0a5ae;
}

.dash-chart-card,
.settings-card,
.leaderboard-card,
.quick-grid a,
.analytics-grid article,
.insight-grid article,
.alias-row,
.badge-store article,
.option-grid article {
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10,13,15,0.78), rgba(6,7,8,0.70));
}

.dash-chart-card {
  padding: 26px 30px;
}

.dash-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-card-title h2 {
  font-size: 16px;
  text-transform: none;
}

.dash-card-title p,
.dash-page-title p,
.quick-grid small,
.leaderboard-card small,
.settings-card label,
.settings-card p,
.analytics-grid span,
.insight-grid p,
.preset-grid p {
  color: #969ba6;
  font-size: 12px;
  font-weight: 750;
}

.dash-card-title p,
.dash-page-title p {
  margin-top: 3px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.dash-card-title b {
  margin-left: auto;
  border-radius: 8px;
  background: rgba(0,0,0,0.36);
  padding: 8px 12px;
  color: #8d909a;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dash-card-title b strong {
  color: var(--primary);
}

.dash-chart {
  position: relative;
  min-height: 330px;
}

.dash-chart svg {
  width: 100%;
  height: 330px;
  display: block;
}

.chart-grid line {
  stroke: rgba(255,255,255,0.06);
}

.chart-area {
  fill: url(#novoraChartFill);
  pointer-events: none;
}

.analytics-area {
  fill: url(#novoraAnalyticsChartFill);
}

.chart-line {
  fill: none;
  stroke: #29bfff;
  stroke-width: 2;
  pointer-events: none;
}

.analytics-line {
  stroke: #f05596;
}

.chart-dots circle {
  fill: #f05596;
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(240,85,150,0.55));
  opacity: 0;
  transition: r 140ms ease, fill 140ms ease, stroke-width 140ms ease, opacity 140ms ease;
}

.chart-dots circle:hover,
.chart-dots circle:focus,
.chart-dots circle.active {
  fill: #f05596;
  opacity: 1;
  stroke-width: 3;
  r: 5.5;
  outline: none;
}

.chart-labels text {
  fill: #a3a6ad;
  font-size: 11px;
  font-weight: 900;
}

.chart-tooltip line {
  stroke: rgba(255,255,255,0.48);
  stroke-width: 1;
  pointer-events: none;
}

.chart-hover-tooltip {
  position: absolute;
  z-index: 4;
  min-width: 112px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(2,2,7,0.96);
  box-shadow: 0 14px 28px rgba(0,0,0,0.65);
  padding: 11px 12px;
  pointer-events: none;
}

.chart-hover-tooltip[hidden] {
  display: none;
}

.chart-hover-tooltip small,
.chart-hover-tooltip strong {
  display: block;
}

.chart-hover-tooltip small {
  color: #9aa0aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.chart-hover-tooltip strong {
  margin-top: 6px;
  color: #f05596;
  font-size: 13px;
  font-weight: 950;
}

.dash-section-heading {
  margin-top: 34px;
  color: #989aa4;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.dash-section-heading h2 {
  font-size: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.quick-grid a {
  position: relative;
  min-height: 108px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 4px;
}

.quick-grid a > span {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  color: #a4a7af;
}

.quick-grid a b {
  position: absolute;
  right: 18px;
  top: 20px;
  color: #b8bdc6;
}

.leaderboard-card {
  min-height: 86px;
  margin-top: 28px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(90deg, rgba(56,189,248,0.12), rgba(8,10,12,0.74));
}

.leaderboard-card strong {
  display: block;
}

.leaderboard-card b {
  color: var(--primary);
}

.dash-panel-page {
  margin-top: 64px;
  padding-top: 22px;
}

.dash-page-title {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.dash-page-title h2 {
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.range-tabs,
.preset-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 9px;
  background: rgba(0,0,0,0.18);
  width: fit-content;
}

.range-tabs button,
.preset-toolbar button {
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9497a0;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.range-tabs button.active,
.preset-toolbar button:last-child,
.badge-store button,
.dash-submit {
  background: #38bdf8;
  color: white;
}

.analytics-grid,
.insight-grid,
.profile-editor-grid,
.links-editor-grid,
.appearance-layout,
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.analytics-grid article {
  padding: 22px;
}

.analytics-grid small,
.settings-card label,
.insight-grid h3 {
  display: block;
  color: #9a9da7;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.analytics-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
}

.dash-chart-card.pink .dash-chart {
  border-top: 1px solid rgba(255,255,255,0.08);
  min-height: 250px;
  background:
    radial-gradient(circle at 44% 22%, rgba(210,61,129,0.30), transparent 7%),
    linear-gradient(180deg, rgba(210,61,129,0.12), transparent);
}

.insight-grid {
  margin-top: 16px;
}

.insight-grid article {
  padding: 24px;
}

.insight-grid i {
  display: block;
  height: 4px;
  margin: 8px 0 12px;
  border-radius: 3px;
  background: #29bfff;
}

.insight-grid .muted-line {
  color: #6e737d;
}

.social-click-card {
  margin-top: 24px;
}

.social-click-list {
  display: grid;
  gap: 10px;
}

.social-click-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  overflow: hidden;
  padding: 12px 14px 16px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
}

.social-click-row strong,
.social-click-row small {
  display: block;
}

.social-click-row small {
  max-width: 100%;
  overflow: hidden;
  color: #808590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-click-row b {
  color: #38d5ff;
}

.social-click-row i {
  position: absolute;
  left: 14px;
  bottom: 8px;
  display: block;
  width: 0;
  height: 4px;
  border-radius: 4px;
  background: #29bfff;
}

.settings-card {
  padding: 26px;
}

.settings-card input,
.settings-card textarea,
.settings-card select,
.preset-toolbar input {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0.48);
  color: white;
  padding: 0 16px;
  outline: 0;
}

.settings-card input[type="range"] {
  min-height: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: #151515;
  appearance: none;
}

.settings-card input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
}

.settings-card input[type="range"]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  background: #141414;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  appearance: none;
}

.settings-card input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
}

.settings-card input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  background: #141414;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

.settings-card textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
  font: inherit;
}

.settings-card label {
  margin-top: 18px;
}

.settings-card label input,
.settings-card label textarea,
.settings-card label select {
  margin-top: 10px;
}

.two-fields,
.identity-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.identity-row {
  align-items: center;
  grid-template-columns: 150px 1fr;
}

.identity-row img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-identity-card,
.profile-embed-card {
  padding: 28px;
}

.profile-identity-card .dash-card-title,
.profile-embed-card .dash-card-title {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.full-field span,
.bio-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.full-field em,
.bio-field em {
  color: #a2a6ae;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.profile-identity-top {
  display: grid;
  grid-template-columns: 206px 1fr;
  gap: 22px;
  align-items: start;
}

.profile-avatar-tools {
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  padding: 18px;
}

.avatar-upload {
  position: relative;
  display: block;
  width: 146px;
  height: 146px;
  margin: 0 auto 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  padding: 0;
  overflow: hidden;
}

.avatar-upload::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.avatar-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.avatar-upload span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(0,0,0,0.58);
  color: white;
  opacity: 0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 160ms ease;
  z-index: 1;
}

.avatar-upload:hover span,
.avatar-upload:focus-visible span {
  opacity: 1;
}

.shape-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #a8abb4;
  font-size: 12px;
}

.avatar-shape-control {
  grid-template-columns: 1fr auto;
}

.shape-row small {
  color: #9a9da7;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.avatar-shape-control input {
  appearance: none;
  -webkit-appearance: none;
  grid-column: 1 / -1;
  width: 100%;
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.avatar-shape-control input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.avatar-shape-control input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid #38bdf8;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12);
}

.avatar-shape-control input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.avatar-shape-control input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #38bdf8;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12);
}

.avatar-shape-control b {
  color: #f6f8fb;
  font-size: 12px;
}

.shape-row i {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255,255,255,0.16);
}

.premium-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 4px;
  border: 1px solid rgba(245,170,0,0.45);
  border-radius: 5px;
  background: rgba(245,170,0,0.10);
  color: #ffc247;
  padding: 0 6px;
  font-size: 9px;
}

.profile-field-grid {
  display: grid;
  gap: 14px;
}

.profile-field-grid .bio-field textarea {
  min-height: 146px;
  line-height: 1.65;
}

.markdown-guide {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.live-bio-preview {
  min-height: 92px;
  border-radius: 10px;
  background: rgba(0,0,0,0.42);
  padding: 16px;
}

.live-bio-preview small,
.custom-role-row span {
  color: #9a9da7;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.live-bio-preview p {
  margin-top: 10px;
  color: white;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}

.bio-animation-field {
  margin-top: 18px;
}

.bio-animation-field select {
  appearance: none;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(56,189,248,0.20);
  border-radius: 10px;
  background:
    linear-gradient(45deg, transparent 50%, #a9b2c0 50%) calc(100% - 19px) 20px / 6px 6px no-repeat,
    linear-gradient(135deg, #a9b2c0 50%, transparent 50%) calc(100% - 15px) 20px / 6px 6px no-repeat,
    rgba(0,0,0,0.52);
  color: #f6f8fb;
  padding: 0 42px 0 16px;
  font: inherit;
  font-weight: 900;
}

.bio-animation-field select:focus {
  border-color: rgba(56,189,248,0.62);
  outline: none;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

.bio-anim-fade {
  animation: bioFadeIn 640ms ease both;
}

.bio-anim-typewriter::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: typeCursor 780ms steps(2, start) infinite;
}

@keyframes bioFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

.live-bio-preview strong {
  display: block;
  margin-top: 10px;
  color: white;
  font-size: 18px;
  text-transform: none;
}

.live-bio-preview em {
  display: block;
  margin-top: 4px;
  color: #9a9da7;
  font-style: normal;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.custom-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.055);
}

.custom-role-row button {
  min-height: 36px;
  border: 1px solid rgba(56,189,248,0.38);
  border-radius: 8px;
  background: rgba(56,189,248,0.10);
  color: var(--primary);
  padding: 0 14px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.custom-role-form {
  display: grid;
  grid-template-columns: 1fr 52px auto;
  gap: 10px;
  margin-top: 14px;
}

.custom-role-form input[type="color"] {
  min-height: 46px;
  padding: 6px;
}

.custom-role-form button,
.custom-role-pill button {
  border: 1px solid rgba(56,189,248,0.38);
  border-radius: 8px;
  background: rgba(56,189,248,0.10);
  color: var(--primary);
  padding: 0 14px;
  font-weight: 900;
}

.custom-role-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.custom-role-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--role-color), transparent 48%);
  border-radius: 10px;
  background: color-mix(in srgb, var(--role-color), transparent 88%);
  padding: 10px 12px;
}

.custom-role-pill span {
  color: white;
  font-weight: 900;
}

.profile-identity-card .empty-state {
  margin-top: 14px;
  text-align: center;
}

.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.embed-color-row,
.toggle-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.color-picker-host {
  position: relative;
}

.color-swatch {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #ad00ff;
}

.custom-role-form.color-picker-host {
  position: relative;
}

.custom-role-form .color-swatch {
  width: 52px;
  height: 46px;
  grid-column: 2;
  grid-row: 1;
}

.custom-role-form input[type="color"] {
  position: absolute;
  width: 52px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
}

.color-picker-popover {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 12px);
  width: min(260px, calc(100vw - 48px));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: #050507;
  box-shadow: 0 22px 46px rgba(0,0,0,0.68);
  padding: 14px;
}

.color-picker-popover[hidden] {
  display: none;
}

.color-picker-plane {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-radius: 10px;
  cursor: crosshair;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(var(--picker-hue), 100%, 50%));
}

.color-picker-plane span {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--picker-color);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 8px 18px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.color-picker-hue {
  margin-top: 13px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
}

.color-picker-hue input {
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.color-picker-hex {
  margin-top: 12px;
  text-align: center;
  font-weight: 950;
}

.toggle-field {
  grid-template-columns: 1fr auto;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0.48);
  padding: 0 14px;
  color: white;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.toggle-pill {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #1a1e23;
}

.toggle-pill::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #76808d;
}

.toggle-pill.active {
  background: #38bdf8;
}

.toggle-pill.active::after {
  left: 20px;
  background: #050607;
}

.settings-card .dash-submit {
  margin-top: 18px;
}

.settings-card .dash-submit.ghost {
  width: auto;
  min-width: 170px;
  margin-left: auto;
  background: rgba(56,189,248,0.50);
  opacity: 0.75;
}

.settings-card.danger {
  border-color: rgba(255,62,88,0.24);
  background: rgba(70,12,20,0.18);
}

.settings-card.danger button {
  height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: #9d2432;
  color: #ffb8bf;
  padding: 0 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-card {
  margin-bottom: 18px;
}

.account-card .dash-card-title {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.account-card label em {
  float: right;
  color: #6f7580;
  font-style: normal;
}

.account-row-toggle,
.linked-account-row,
.account-inline-field,
.delete-account-row {
  display: grid;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 10px;
  background: rgba(0,0,0,0.30);
  padding: 16px 18px;
}

.account-row-toggle {
  grid-template-columns: 1fr auto;
  border: 0;
  color: white;
  text-align: left;
}

.account-row-toggle b,
.linked-account-row strong,
.delete-account-row strong {
  display: block;
  color: white;
}

.account-row-toggle small,
.linked-account-row small,
.delete-account-row small {
  display: block;
  margin-top: 4px;
  color: #858b96;
}

.account-row-toggle i {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}

.account-row-toggle i::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.account-row-toggle[aria-pressed="true"] i {
  background: #38bdf8;
}

.account-row-toggle[aria-pressed="true"] i::before {
  transform: translateX(20px);
}

.linked-account-row {
  grid-template-columns: 42px 1fr auto;
}

.discord-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #5865f2;
  color: white;
  font-weight: 950;
}

.danger-button {
  min-height: 44px;
  border: 1px solid rgba(255,62,88,0.35);
  border-radius: 10px;
  background: rgba(255,62,88,0.12);
  color: #ff7d8e;
  padding: 0 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.danger-button:disabled {
  opacity: 0.42;
}

.account-inline-field {
  grid-template-columns: 1fr auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.account-inline-field input {
  margin: 0;
}

.account-inline-field button {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 0 18px;
}

.account-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
}

.account-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #38bdf8;
}

.downloader-preview {
  margin-top: 20px;
  border-radius: 10px;
  background: rgba(0,0,0,0.32);
  padding: 18px;
  color: #8f95a0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.downloader-preview strong {
  color: white;
}

.tag-list button {
  border: 1px solid rgba(56,189,248,0.40);
  border-radius: 8px;
  background: rgba(56,189,248,0.10);
  color: #55d7ff;
  padding: 7px 10px;
  font: inherit;
  font-weight: 800;
}

.delete-account-row {
  grid-template-columns: 1fr 250px auto;
  border-color: rgba(255,62,88,0.18);
  background: rgba(80,12,24,0.16);
}

.delete-account-row input {
  min-height: 46px;
}

.delete-account-row button {
  min-width: 170px;
  margin-top: 0;
}

.embed-preview,
.upload-box,
.link-preview {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: #a9afbb;
}

.embed-preview {
  justify-content: start;
  padding-left: 18px;
  border-left: 5px solid #ad00ff;
}

.embed-preview.has-embed-image {
  display: block;
  padding: 14px 16px;
}

.embed-preview img {
  width: 100%;
  height: 150px;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
}

.embed-preview b {
  color: #0a8cff;
}

.upload-box {
  min-height: 210px;
  border: 1px dashed rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 900;
}

.embed-upload-box {
  width: 100%;
  border-color: rgba(56,189,248,0.22);
  color: #a9afbb;
  cursor: pointer;
}

.embed-upload-box:hover {
  border-color: rgba(56,189,248,0.48);
  background: rgba(56,189,248,0.06);
  color: #f6f8fb;
}

.embed-upload-box img {
  width: 100%;
  max-height: 210px;
  border-radius: 8px;
  object-fit: cover;
}

.embed-remove-button {
  width: fit-content;
  margin-top: 12px;
  border: 1px solid rgba(255,62,88,0.35);
  border-radius: 8px;
  background: rgba(255,62,88,0.12);
  color: #ff7184;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.appearance-layout {
  grid-template-columns: 250px 1fr;
}

.appearance-layout nav {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 14px;
  background: rgba(8,10,12,0.65);
  padding: 10px;
}

.appearance-menu {
  min-height: 510px;
}

.appearance-layout > .settings-card:not(.appearance-panel) {
  display: none;
}

.appearance-layout nav b,
.appearance-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a4a7af;
  padding: 11px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.appearance-layout nav b:first-child,
.appearance-menu button.active {
  background: rgba(56,189,248,0.14);
  color: white;
}

.appearance-panel {
  position: relative;
  min-height: 330px;
  animation: panelFade 240ms ease both;
}

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

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.effects-grid,
.font-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.effects-grid button,
.font-grid button {
  min-height: 76px;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 10px;
  background: rgba(0,0,0,0.28);
  color: white;
  padding: 14px;
  text-align: left;
  font-weight: 900;
}

.effects-grid button small,
.font-grid button small {
  display: block;
  margin-top: 8px;
  color: #858995;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.effects-grid button.selected,
.font-grid button.selected {
  position: relative;
  border-color: rgba(56,189,248,0.55);
  background: rgba(56,189,248,0.10);
}

.font-settings-form {
  display: grid;
  gap: 20px;
}

.font-section-label {
  margin: 22px 0 -12px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.font-grid {
  margin-top: 0;
}

.font-grid button {
  position: relative;
}

.font-grid button.selected::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.8);
}

.font-grid [data-font-choice="inter"] { font-family: var(--font-inter); }
.font-grid [data-font-choice="monospace"] { font-family: var(--font-monospace); }
.font-grid [data-font-choice="outfit"] { font-family: var(--font-outfit); }
.font-grid [data-font-choice="playfair"] { font-family: var(--font-playfair); }
.font-grid [data-font-choice="poppins"] { font-family: var(--font-poppins); }
.font-grid [data-font-choice="bebas"] { font-family: var(--font-bebas); }
.font-grid [data-font-choice="montserrat"] { font-family: var(--font-montserrat); }
.font-grid [data-font-choice="jetbrains"] { font-family: var(--font-jetbrains); }
.font-grid [data-font-choice="syne"] { font-family: var(--font-syne); }
.font-grid [data-font-choice="pacifico"] { font-family: var(--font-pacifico); }
.font-grid [data-font-choice="roboto"] { font-family: var(--font-roboto); }
.font-grid [data-font-choice="hacked"] { font-family: var(--font-hacked); }
.font-grid [data-font-choice="minecraft"] { font-family: var(--font-minecraft); }
.font-grid [data-font-choice="pokemon"] { font-family: var(--font-pokemon); }
.font-grid [data-font-choice="mario"] { font-family: var(--font-mario); }
.font-grid [data-font-choice="gta"] { font-family: var(--font-gta); }
.font-grid [data-font-choice="death-note"] { font-family: var(--font-death-note); }
.font-grid [data-font-choice="jersey"] { font-family: var(--font-jersey); }
.font-grid [data-font-choice="unbounded"] { font-family: var(--font-unbounded); }

.font-toggle {
  grid-template-columns: 42px 1fr auto;
  margin-top: 0;
}

.font-toggle > span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56,189,248,0.28);
  border-radius: 12px;
  background: rgba(56,189,248,0.08);
  color: #38bdf8;
}

.font-toggle small {
  display: block;
  margin-top: 3px;
  color: #8e96a3;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.custom-font-section {
  margin-top: 4px;
}

.custom-font-upload {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  border: 1px dashed rgba(255,255,255,0.035);
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  padding: 0 22px;
}

.custom-font-upload strong {
  color: rgba(255,255,255,0.42);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.custom-font-upload button {
  border: 1px solid rgba(245,158,11,0.65);
  border-radius: 7px;
  background: rgba(245,158,11,0.14);
  color: #fbbf24;
  padding: 8px 22px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.custom-font-upload em {
  color: rgba(255,255,255,0.42);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cursor-settings-form {
  display: grid;
  gap: 20px;
}

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

.cursor-style-grid button,
.cursor-trail-grid button {
  position: relative;
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 10px;
  background: rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.68);
  padding: 12px;
  text-align: center;
}

.cursor-style-grid button span,
.cursor-trail-grid button span {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1;
}

.cursor-style-grid button span {
  font-size: 0;
}

.cursor-style-grid button span::before,
.cursor-style-grid button span::after {
  content: "";
  display: block;
}

.cursor-style-grid [data-cursor-choice="default"] span::before,
.cursor-style-grid [data-cursor-choice="chroma"] span::before,
.cursor-style-grid [data-cursor-choice="chrome"] span::before,
.cursor-style-grid [data-cursor-choice="mac-os"] span::before,
.cursor-style-grid [data-cursor-choice="mini"] span::before,
.cursor-style-grid [data-cursor-choice="pink"] span::before {
  width: 13px;
  height: 17px;
  background: currentColor;
  clip-path: polygon(0 0, 0 100%, 34% 71%, 54% 100%, 78% 88%, 58% 61%, 100% 61%);
  filter: drop-shadow(0 0 7px currentColor);
}

.cursor-style-grid [data-cursor-choice="chroma"] span::before {
  background: linear-gradient(135deg, #38bdf8, #b967ff 50%, #38ef7d);
}

.cursor-style-grid [data-cursor-choice="chrome"] span::before {
  background: linear-gradient(135deg, #ffffff, #717986 52%, #f7fbff);
}

.cursor-style-grid [data-cursor-choice="mac-os"] span::before {
  width: 12px;
  height: 18px;
  filter: drop-shadow(0 1px 0 #000) drop-shadow(0 0 5px rgba(255,255,255,0.52));
}

.cursor-style-grid [data-cursor-choice="mini"] span::before {
  width: 9px;
  height: 12px;
}

.cursor-style-grid [data-cursor-choice="pink"] span::before {
  color: #fa739e;
  background: #fa739e;
}

.cursor-style-grid [data-cursor-choice="cross"] span::before,
.cursor-style-grid [data-cursor-choice="cross"] span::after {
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

.cursor-style-grid [data-cursor-choice="cross"] span::before {
  width: 16px;
  height: 2px;
}

.cursor-style-grid [data-cursor-choice="cross"] span::after {
  width: 2px;
  height: 16px;
}

.cursor-style-grid [data-cursor-choice="crosshair"] span::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.cursor-style-grid [data-cursor-choice="crosshair"] span::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.cursor-style-grid [data-cursor-choice="finger"] span::before,
.cursor-style-grid [data-cursor-choice="tiny-hand"] span::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M13 3.5c1.4 0 2.5 1.1 2.5 2.5v8.1l.9-.9c1-1 2.6-1 3.6 0 .4.4.7.9.7 1.5l.6-.6c1-1 2.6-1 3.6 0 .6.6.9 1.4.7 2.2.9-.4 2-.2 2.7.5.9.9 1 2.3.2 3.4l-5.1 6.8c-1.4 1.9-3.6 3-6 3h-2.5c-2.8 0-5.4-1.4-6.9-3.8L5.1 21c-.7-1.2-.4-2.7.8-3.4 1-.6 2.2-.4 3 .4l1.6 1.6V6c0-1.4 1.1-2.5 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M13 3.5c1.4 0 2.5 1.1 2.5 2.5v8.1l.9-.9c1-1 2.6-1 3.6 0 .4.4.7.9.7 1.5l.6-.6c1-1 2.6-1 3.6 0 .6.6.9 1.4.7 2.2.9-.4 2-.2 2.7.5.9.9 1 2.3.2 3.4l-5.1 6.8c-1.4 1.9-3.6 3-6 3h-2.5c-2.8 0-5.4-1.4-6.9-3.8L5.1 21c-.7-1.2-.4-2.7.8-3.4 1-.6 2.2-.4 3 .4l1.6 1.6V6c0-1.4 1.1-2.5 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cursor-style-grid [data-cursor-choice="tiny-hand"] span::before {
  width: 13px;
  height: 13px;
}

.cursor-style-grid [data-cursor-choice="heart-hand"] span::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M16 28.2 4.9 17.7C2.2 15.1 2 10.8 4.5 8c2.5-2.8 6.9-2.9 9.6-.2L16 9.7l1.9-1.9c2.7-2.7 7.1-2.6 9.6.2 2.5 2.8 2.3 7.1-.4 9.7L16 28.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M16 28.2 4.9 17.7C2.2 15.1 2 10.8 4.5 8c2.5-2.8 6.9-2.9 9.6-.2L16 9.7l1.9-1.9c2.7-2.7 7.1-2.6 9.6.2 2.5 2.8 2.3 7.1-.4 9.7L16 28.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cursor-style-grid [data-cursor-choice="hidden"] span::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.cursor-style-grid [data-cursor-choice="hidden"] span::after {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: rotate(42deg);
}

.cursor-style-grid button strong,
.cursor-trail-grid button strong {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cursor-style-grid button.selected,
.cursor-trail-grid button.selected {
  border-color: rgba(56,189,248,0.58);
  background: rgba(56,189,248,0.10);
  color: #ffffff;
}

.cursor-style-grid button.selected::after,
.cursor-trail-grid button.selected::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.8);
}

.cursor-premium-section {
  gap: 12px;
}

.cursor-premium-section .cursor-trail-grid,
.cursor-premium-section .cursor-trail-color {
  opacity: 0.46;
  filter: saturate(0.55);
}

.cursor-trail-color {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.cursor-trail-color .color-swatch {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.cursor-trail-color input {
  height: 54px;
  font-weight: 950;
}

.premium-effect-section {
  margin-top: 24px;
}

.premium-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #9aa3b2;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.premium-section-title b {
  border: 1px solid rgba(245,170,0,0.55);
  border-radius: 5px;
  background: rgba(92,57,0,0.34);
  color: #ffc247;
  padding: 4px 8px;
  font-size: 9px;
}

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

.sparkle-effects-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.name-effects-grid button,
.sparkle-effects-grid button {
  position: relative;
  min-height: 64px;
}

.sparkle-effects-grid button {
  min-height: 42px;
}

.name-effects-grid button.selected::after,
.sparkle-effects-grid button.selected::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.8);
}

[data-name-effect="rainbow"] {
  background: linear-gradient(90deg, #ff4f9a, #ffd166, #38ef7d, #38bdf8, #b967ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: rainbowName 3.2s linear infinite;
  background-size: 240% 100%;
}

[data-name-effect="neon"] {
  color: #fff !important;
  text-shadow: 0 0 8px #fff, 0 0 18px #38bdf8, 0 0 34px #9905ff;
  animation: neonPulse 1.8s ease-in-out infinite;
}

[data-name-effect="fire"] {
  color: #fff2d8 !important;
  text-shadow: 0 0 8px #ffcb52, 0 0 20px #ff4d00, 0 0 36px #ff003d;
  animation: fireFlicker 1.1s steps(3, end) infinite;
}

[data-name-effect="ice"] {
  color: #e8fbff !important;
  text-shadow: 0 0 10px #bff6ff, 0 0 24px #38bdf8;
}

[data-name-effect="gold"] {
  background: linear-gradient(95deg, #8b6b16, #fff1a8, #d6a72e, #fff6c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  background-size: 220% 100%;
  animation: goldSweep 2.8s ease-in-out infinite;
}

[data-name-effect="matrix"] {
  color: #9cffb3 !important;
  text-shadow: 0 0 10px #00ff66, 0 0 22px rgba(0,255,102,0.7);
  animation: matrixJitter 1.4s steps(2, end) infinite;
}

[data-name-effect="wave"] {
  animation: waveName 1.7s ease-in-out infinite;
}

[data-icon-sparkle]:not([data-icon-sparkle="none"])::after {
  content: "✦";
  display: inline-block;
  margin-left: 10px;
  font-size: 0.42em;
  vertical-align: 0.22em;
  animation: sparklePop 1.2s ease-in-out infinite;
  text-shadow: 0 0 12px currentColor;
}

[data-icon-sparkle="white"]::after { color: #fff; }
[data-icon-sparkle="black"]::after { color: #111; text-shadow: 0 0 10px rgba(255,255,255,0.45); }
[data-icon-sparkle="pink"]::after { color: #ff5edb; }
[data-icon-sparkle="purple"]::after { color: #b967ff; }
[data-icon-sparkle="red"]::after { color: #ff3e58; }
[data-icon-sparkle="blue"]::after { color: #38bdf8; }
[data-icon-sparkle="cyan"]::after { color: #22f5ff; }
[data-icon-sparkle="green"]::after { color: #31f58b; }
[data-icon-sparkle="rainbow"]::after {
  background: linear-gradient(90deg, #ff4f9a, #ffd166, #31f58b, #38bdf8, #b967ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes rainbowName {
  to { background-position: 240% 0; }
}

@keyframes neonPulse {
  50% { text-shadow: 0 0 12px #fff, 0 0 28px #38bdf8, 0 0 52px #9905ff; }
}

@keyframes fireFlicker {
  50% { text-shadow: 0 0 5px #ffcb52, 0 0 26px #ff4d00, 0 0 44px #ff003d; }
}

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

@keyframes matrixJitter {
  50% { transform: skewX(-2deg); }
}

@keyframes waveName {
  50% { transform: translateY(-5px); }
}

@keyframes sparklePop {
  50% { transform: scale(1.35) rotate(18deg); opacity: 0.72; }
}

.dimmed-panel::after {
  content: "";
  position: absolute;
  inset: 86px 18px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.54), transparent);
  pointer-events: none;
}

.locked-badge {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 1px solid rgba(245,170,0,0.55);
  border-radius: 8px;
  background: rgba(92,57,0,0.70);
  color: #ffc247;
  padding: 10px 28px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.track-player-panel .dash-card-title {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.track-source-card {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(0,0,0,0.28);
  padding: 18px;
}

.track-source-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-source-info > span {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 10px;
  background: rgba(56,189,248,0.10);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 950;
}

.track-source-info strong,
.track-source-info small {
  display: block;
}

.track-source-info small {
  margin-top: 4px;
  color: #9197a3;
}

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

.track-actions button {
  min-height: 38px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 8px;
  background: rgba(56,189,248,0.12);
  color: var(--primary);
  padding: 0 16px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.track-actions .danger-button {
  border-color: rgba(255,62,88,0.34);
  background: rgba(255,62,88,0.10);
  color: #ff7b8b;
}

.track-source-card audio {
  width: 100%;
  min-height: 42px;
  filter: invert(1) hue-rotate(160deg) saturate(0.65);
}

.track-cover-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.track-cover-row button {
  margin-top: 0;
  min-width: 56px;
  padding: 0 14px;
}

.track-source-info > span {
  overflow: hidden;
}

.track-source-info > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-bg-toggle {
  grid-template-columns: auto 1fr auto;
  justify-items: start;
  margin-top: 18px;
}

.track-bg-toggle > span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}

.track-bg-toggle small {
  display: block;
  margin-top: 3px;
  color: #8e96a3;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.track-toggle {
  margin-top: 16px;
}

.banner-settings-form {
  display: grid;
  gap: 18px;
}

.banner-settings-form > label {
  margin-bottom: -8px;
}

.banner-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 350px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 40%, rgba(153,5,255,0.19), transparent 24%),
    linear-gradient(135deg, rgba(8,10,12,0.96), rgba(18,14,24,0.82));
  color: rgba(255,255,255,0.45);
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.banner-preview img,
.banner-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--banner-preview-opacity, 1);
  filter: blur(var(--banner-preview-blur, 0px));
  transform: scale(1.04);
}

.banner-preview [data-banner-empty] {
  position: relative;
  z-index: 2;
}

.banner-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.72);
}

.banner-actions b {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.banner-actions b:last-child {
  color: #ef4444;
}

.banner-range-grid {
  margin-top: 4px;
}

.theme-grid,
.preset-grid,
.badge-store {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theme-selection-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 10px;
  color: #a2a7b2;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.theme-selection-header span {
  color: #c8ced8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  text-transform: none;
}

.appearance-panel[data-appearance-panel="layout"] > .theme-grid {
  display: none;
}

.layout-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.layout-theme-grid article {
  position: relative;
  min-height: 310px;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  padding: 16px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.layout-theme-grid article:hover,
.layout-theme-grid article:focus-visible {
  border-color: rgba(56,189,248,0.34);
  transform: translateY(-1px);
  outline: none;
}

.layout-theme-grid article.selected {
  border-color: rgba(56,189,248,0.78);
  background: rgba(56,189,248,0.10);
  box-shadow: inset 0 0 0 1px rgba(56,189,248,0.10);
}

.layout-theme-grid article > strong {
  display: block;
  color: #f6f8fb;
  font-size: 16px;
  font-weight: 950;
}

.theme-check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #38bdf8;
  color: #fff;
  place-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.layout-theme-grid article.selected .theme-check {
  display: grid;
}

.layout-card-preview {
  position: relative;
  height: 214px;
  margin: 14px 0;
  border-radius: 9px;
  overflow: hidden;
  background: #030404;
}

.default-card-preview {
  background:
    radial-gradient(circle at 52% 44%, rgba(56,189,248,0.07), transparent 9%),
    linear-gradient(180deg, rgba(6,14,18,0.72), rgba(4,8,10,0.96));
}

.default-card-preview div {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 32%;
  height: 76px;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 7px;
}

.default-card-preview span,
.default-card-preview i,
.default-card-preview em {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  background: rgba(255,255,255,0.035);
}

.default-card-preview span {
  top: 45%;
  width: 28%;
  height: 6px;
  border-radius: 999px;
}

.default-card-preview i {
  top: 53%;
  width: 34px;
  height: 4px;
  border-radius: 999px;
}

.default-card-preview em {
  top: 58%;
  width: 44px;
  height: 4px;
  border-radius: 999px;
}

.portfolio-card-preview {
  opacity: 0.42;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,0.08), transparent 7%),
    linear-gradient(180deg, #030303, #000);
}

.portfolio-card-preview span,
.portfolio-card-preview i {
  position: absolute;
  left: 25%;
  right: 25%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.portfolio-card-preview span {
  top: 46%;
}

.portfolio-card-preview i {
  top: 53%;
  left: 18%;
  right: 18%;
}

.portfolio-card-preview div {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 30%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.portfolio-card-preview em {
  height: 42px;
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
}

.layout-theme-grid article p {
  margin: 0;
  color: #8e96a3;
  font-size: 12px;
  line-height: 1.4;
}

.theme-grid article,
.preset-grid article {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  background: rgba(0,0,0,0.20);
}

.theme-grid article.selected {
  border-color: rgba(56,189,248,0.72);
  background: rgba(56,189,248,0.12);
}

.theme-grid article > .theme-card-preview,
.preset-grid article div {
  height: 170px;
  margin: 14px 0;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 18%),
    rgba(0,0,0,0.48);
}

.default-layout-card {
  overflow: hidden;
}

.default-layout-preview {
  position: relative;
  min-height: 360px;
  margin: 14px 0;
  border-radius: 12px;
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(circle at calc(50% + var(--mx, 0px)) 34%, rgba(156,53,255,0.36), transparent 30%),
    linear-gradient(180deg, rgba(11,4,22,0.72), rgba(3,3,7,0.96));
  isolation: isolate;
}

.layout-scene {
  position: absolute;
  inset: -26px;
  transform: translate3d(calc(var(--mx, 0px) * -0.5), calc(var(--my, 0px) * -0.35), -60px) scale(1.08);
  background:
    radial-gradient(circle at 12% 72%, rgba(255,0,92,0.34), transparent 13%),
    radial-gradient(circle at 86% 64%, rgba(162,42,255,0.32), transparent 15%),
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,0.08) 12% 13%, transparent 13% 33%, rgba(255,255,255,0.06) 33% 34%, transparent 34% 66%, rgba(255,255,255,0.06) 66% 67%, transparent 67% 86%, rgba(255,255,255,0.08) 86% 87%, transparent 87%),
    linear-gradient(180deg, rgba(115,31,195,0.20) 0 24%, transparent 24% 54%, rgba(255,255,255,0.05) 54% 55%, transparent 55%),
    linear-gradient(135deg, #050308, #15031f 48%, #020204);
  filter: saturate(1.2);
  transition: transform 180ms ease;
}

.layout-scene::before {
  content: "";
  position: absolute;
  inset: 46% -10% -18%;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(214,57,255,0.18) 47%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 24px);
  transform: perspective(320px) rotateX(62deg);
  transform-origin: top;
}

.layout-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(78,0,140,0.30), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,0.72), transparent 22% 78%, rgba(0,0,0,0.72)),
    linear-gradient(180deg, rgba(0,0,0,0.78), transparent 28%, rgba(0,0,0,0.86));
}

.layout-banner {
  position: relative;
  z-index: 2;
  width: min(330px, 82%);
  height: 86px;
  margin: 18px auto 0;
  border-radius: 4px;
  transform: translate3d(calc(var(--mx, 0px) * 0.22), calc(var(--my, 0px) * 0.16), 35px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  background:
    radial-gradient(circle at 18% 46%, rgba(255,0,78,0.72), transparent 18%),
    linear-gradient(120deg, rgba(0,0,0,0.18), rgba(255,255,255,0.05)),
    linear-gradient(135deg, #141016, #2d0e4a 48%, #060508);
  box-shadow: 0 16px 42px rgba(0,0,0,0.52);
  transition: transform 160ms ease;
}

.layout-banner span {
  position: absolute;
  right: 26px;
  bottom: 18px;
  color: white;
  font-size: 30px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(212,70,255,0.72);
}

.layout-banner b {
  position: absolute;
  top: 8px;
  right: 12px;
  display: flex;
  gap: 8px;
}

.layout-banner i {
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: white;
  padding: 5px 10px;
  font-size: 10px;
  font-style: normal;
}

.layout-avatar {
  position: relative;
  z-index: 3;
  display: block;
  width: 92px;
  height: 92px;
  margin: -26px auto 0;
  border: 3px solid rgba(0,0,0,0.45);
  border-radius: 50%;
  object-fit: cover;
  transform: translate3d(calc(var(--mx, 0px) * 0.34), calc(var(--my, 0px) * 0.28), 70px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.55);
  transition: transform 160ms ease;
}

.layout-profile {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 14px 18px 22px;
  transform: translate3d(calc(var(--mx, 0px) * 0.16), calc(var(--my, 0px) * 0.14), 45px);
  transition: transform 160ms ease;
}

.layout-profile h3 {
  margin: 0;
  color: white;
  font-size: 25px;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255,255,255,0.42);
}

.layout-tags,
.layout-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.layout-tags span {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.82);
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 900;
}

.layout-profile p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.layout-profile p span,
.layout-socials span {
  color: #e879ff;
  text-shadow: 0 0 12px rgba(232,121,255,0.9);
}

.layout-socials span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.28);
  font-weight: 950;
}

.layout-now {
  display: grid;
  grid-template-columns: 38px 1fr 36px;
  align-items: center;
  gap: 9px;
  width: min(260px, 100%);
  margin-top: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  background: rgba(0,0,0,0.23);
  padding: 8px 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.26);
}

.layout-now img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.layout-now div {
  min-width: 0;
}

.layout-now strong,
.layout-now small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layout-now strong {
  color: white;
  font-size: 12px;
  font-style: italic;
  font-weight: 950;
}

.layout-now small {
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  font-weight: 800;
}

.layout-now em {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent),
    linear-gradient(145deg, #313f2c, #958b51);
}

.preset-toolbar {
  width: 100%;
}

.preset-toolbar input {
  min-width: 0;
  flex: 1;
}

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

.preset-grid button,
.badge-store button {
  width: 100%;
  height: 38px;
  margin-top: 10px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 8px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.links-wide {
  margin-bottom: 16px;
}

.ventic-dashboard .dash-link-row {
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0.36);
}

.link-preview {
  min-height: 180px;
}

.alias-row {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.badge-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-progress strong {
  font-size: 30px;
}

.badge-progress b {
  margin-left: auto;
  color: var(--primary);
}

.badge-store {
  margin: 18px 0;
}

.badge-store article {
  min-height: 90px;
  padding: 18px;
}

.tag-list,
.tag-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.tag-list span,
.tag-preview span {
  border: 1px solid rgba(56,189,248,0.45);
  border-radius: 999px;
  background: rgba(56,189,248,0.12);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 900;
}

.tag-preview {
  min-height: 120px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.36);
}

.option-grid article {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  column-gap: 14px;
  align-items: center;
  padding: 14px 18px;
}

.option-grid article span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56,189,248,0.14);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.option-grid article small {
  grid-column: 2;
  color: #969ba6;
}

.option-grid article b {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: #38bdf8;
}

.option-grid article b::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 3px 3px 3px auto;
  border-radius: 50%;
  background: #050607;
}

@media (max-width: 1100px) {
  .quick-grid,
  .analytics-grid,
  .effects-grid,
  .font-grid,
  .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ventic-dashboard .dash-stats,
  .profile-editor-grid,
  .links-editor-grid,
  .appearance-layout,
  .option-grid,
  .profile-identity-top,
  .embed-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .ventic-dashboard {
    grid-template-columns: 1fr;
  }

  .ventic-dashboard .dash-sidebar {
    position: relative;
    height: auto;
  }

  .ventic-dashboard .dash-main {
    width: min(100% - 28px, 680px);
  }

  .dashboard-view.is-leaving {
    top: 24px;
  }

  .dashboard-loader {
    left: 0;
  }

  .dash-profile-hero,
  .two-fields,
  .identity-row,
  .linked-account-row,
  .account-inline-field,
  .delete-account-row,
  .custom-role-form,
  .custom-role-pill {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .quick-grid,
  .analytics-grid,
  .insight-grid,
  .preset-grid,
  .theme-grid,
  .effects-grid,
  .font-grid,
  .badge-store {
    grid-template-columns: 1fr;
  }

  .default-layout-preview {
    min-height: 330px;
  }

  .layout-banner {
    width: min(300px, 92%);
    height: 76px;
  }

  .layout-banner span {
    font-size: 24px;
  }

  .layout-avatar {
    width: 82px;
    height: 82px;
  }

  .track-actions {
    justify-content: stretch;
    flex-direction: column;
  }
}
