:root {
  --bg: #050505;
  --sidebar: #080808;
  --panel: #111111;
  --panel-soft: #171717;
  --control: #080808;
  --control-2: #101010;
  --control-hover: #202020;
  --ink: #ffffff;
  --muted: #b9b0bd;
  --dim: #827886;
  --line: rgba(255, 255, 255, 0.075);
  --purple: #9b42d6;
  --purple-dark: #361536;
  --purple-mid: #4b1b4d;
  --pink: #d956d4;
  --green: #40d66f;
  --green-dark: #0d4218;
  --blue: #3030a4;
  --danger: #dc3f46;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #050505;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 0%, rgba(155, 66, 214, 0.07), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: auto, 92px 92px, 92px 92px;
  opacity: 0.45;
}

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

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

button {
  cursor: pointer;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 14px 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(155, 66, 214, 0.1), transparent 30%),
    #080808;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 34px 0 90px rgba(0, 0, 0, 0.45);
}

.sidebar * {
  box-sizing: border-box;
}

.sidebar svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 22px;
  margin: 0 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  color: #ffffff;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.brand strong {
  color: #ffffff;
  font-weight: 950;
  line-height: 1;
}

.brand-logo {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  display: block;
  flex: 0 0 38px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(226, 85, 183, 0.35));
}

.brand img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #b85cff, #ef4cc8);
  color: #070707;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 0 24px rgba(184, 92, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.account-dropdown {
  display: block;
}

.account-dropdown summary {
  min-height: 46px;
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(135deg, rgba(71, 27, 70, 0.98), rgba(48, 21, 50, 0.98));
  color: #ffffff;
  list-style: none;
  cursor: pointer;
  user-select: none;
  box-shadow:
    inset 0 0 0 1px rgba(226, 85, 212, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.24);
}

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

.account-dropdown summary strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.nav-svg {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffffff;
}

.dropdown-arrow {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: transform 180ms ease;
}

.account-dropdown[open] .dropdown-arrow {
  transform: rotate(180deg);
}

.account-subnav {
  display: grid;
  gap: 7px;
  padding: 10px 0 4px 50px;
}

.account-subnav a {
  min-height: 20px;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  color: #bfb6c4;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.account-subnav a.active,
.account-subnav a:hover {
  color: #ffffff;
}

.main-nav-link {
  min-height: 42px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: #f5f0f7;
  font-size: 17px;
  font-weight: 950;
  transition:
    background 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.main-nav-link strong {
  color: inherit;
  font-weight: 950;
}

.main-nav-link:hover,
.main-nav-link.active {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  transform: translateX(2px);
}

.main-nav-link:hover .nav-svg,
.main-nav-link.active .nav-svg {
  color: #d96cff;
}

.side-card {
  display: grid;
  gap: 10px;
  margin-top: auto;
  border: 0;
  border-radius: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #121212;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 45px rgba(0, 0, 0, 0.28);
}

.side-card p {
  margin: 0;
  color: #f3eef5;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 650;
}

.side-card p + a,
.side-card p + button {
  margin-bottom: 8px;
}

.side-card button,
.side-card a {
  min-height: 43px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 13px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.side-card button {
  border: 1px solid rgba(94, 98, 242, 0.72);
  background: linear-gradient(135deg, #34348c, #282866);
}

.side-card a.support-link {
  border: 1px solid rgba(94, 98, 242, 0.72);
  background: linear-gradient(135deg, #34348c, #282866);
}

.side-card a {
  border: 1px solid rgba(215, 79, 218, 0.68);
  background: linear-gradient(135deg, #64266e, #4d1c54);
}

.mini-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
}

.share-button {
  min-height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(215, 79, 218, 0.76);
  border-radius: 999px;
  background: linear-gradient(135deg, #4f1553, #3a103f);
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 14px 35px rgba(0, 0, 0, 0.28);
}

.account-chip {
  position: relative;
  z-index: 2;
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    #121212;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 45px rgba(0, 0, 0, 0.32);
}

.account-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #7c3fa0, #4a1e55);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(155, 66, 214, 0.22);
}

.account-avatar.has-image {
  overflow: hidden;
  background: #111114;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.account-chip-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-chip b {
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip span,
.account-chip-copy span {
  overflow: hidden;
  color: #aaa1ae;
  font-size: 13px;
  line-height: 1;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-more {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.account-more span {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 999px;
  background: #9e98a2;
}

.account-more:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* =========================
   MAIN
========================= */

.workspace {
  min-width: 0;
  padding: 36px 44px 80px;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.kicker {
  margin: 0 0 10px;
  color: #d990ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 650;
}

.workspace-subtitle,
.section-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions a,
.header-actions button {
  min-width: 116px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0 18px;
  background: #1b1b1b;
  color: white;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.header-actions a {
  border-color: rgba(226, 85, 183, 0.4);
  background: #361536;
}

/* =========================
   SHARED SECTIONS
========================= */

.asset-section,
.custom-section,
.preview-section {
  margin-bottom: 38px;
}

.section-heading {
  margin-bottom: 14px;
}

.asset-grid,
.custom-panel,
.color-panel,
.other-panel {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
    #111111;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.012),
    0 20px 55px rgba(0, 0, 0, 0.22);
}

/* =========================
   ASSETS
========================= */

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  padding: 22px;
}

.asset-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.asset-card-top {
  height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.asset-card-top h3 {
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card-top span {
  min-width: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.075);
  color: #ddd5e1;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.asset-box {
  position: relative;
  width: 100%;
  height: 142px;
  min-height: 142px;
  max-height: 142px;
}

.asset-drop {
  position: relative;
  width: 100%;
  height: 142px;
  min-height: 142px;
  max-height: 142px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 66, 214, 0.11), transparent 35%),
    #0c0c0d;
  cursor: pointer;
}

.asset-drop:hover {
  border-color: rgba(217, 86, 212, 0.28);
}

.asset-drop input {
  display: none;
}

.asset-preview,
.asset-preview img,
.asset-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.asset-preview {
  z-index: 1;
  display: none;
  overflow: hidden;
  border-radius: inherit;
}

.asset-preview img,
.asset-preview video {
  display: block;
  object-fit: cover;
}

.asset-drop.has-file .asset-preview {
  display: block;
}

.asset-drop.has-file .asset-empty,
.asset-drop.has-file .asset-icon,
.asset-drop.has-file > strong,
.asset-drop.has-file > small {
  display: none;
}

.asset-empty {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  pointer-events: none;
}

.asset-empty strong,
.asset-drop strong {
  color: #d8d0db;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.asset-empty small,
.asset-drop small {
  color: #8f8792;
  font-size: 12px;
  text-align: center;
}

.asset-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.asset-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.audio-drop {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px;
}

.audio-drop.has-file {
  border-color: rgba(217, 86, 212, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 86, 212, 0.14), transparent 34%),
    #0c0c0d;
}

.audio-drop.has-file::before {
  content: "Audio uploaded";
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.audio-drop.has-file #audioLabel {
  display: block;
  max-width: 90%;
  overflow: hidden;
  color: #b9b0bd;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-drop.has-file #audioSubLabel {
  display: none;
}

.avatar-preview-wrap {
  display: none;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(155, 66, 214, 0.2), transparent 42%),
    #0c0c0d;
}

.asset-drop.has-file .avatar-preview-wrap {
  display: grid;
}

.avatar-preview-wrap img {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.09),
    0 0 26px rgba(217, 86, 212, 0.28);
}

.cursor-preview-wrap {
  display: none;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent, rgba(0, 0, 0, 0.35)),
    #0c0c0d;
}

.asset-drop.has-file .cursor-preview-wrap {
  display: grid;
}

.cursor-preview-wrap img {
  position: relative;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(217, 86, 212, 0.35));
}

.background-drop::after,
.cursor-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent, rgba(0, 0, 0, 0.35));
}

.asset-remove-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 11px;
  padding: 0;
  background: rgba(220, 63, 70, 0.22);
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.asset-remove-dot::before {
  content: "×";
  color: #ff4d55;
  font-size: 26px;
  font-weight: 650;
  line-height: 1;
  transform: translateY(-1px);
}

.asset-remove-dot:hover {
  background: rgba(220, 63, 70, 0.34);
}

.asset-remove-dot:hover::before {
  color: #ffffff;
}

.asset-card.is-filled .asset-remove-dot {
  display: grid;
}

/* =========================
   PREMIUM STRIP
========================= */

.premium-strip {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
  border: 1px solid rgba(213, 79, 218, 0.45);
  border-radius: 999px;
  padding: 0 28px;
  background: linear-gradient(135deg, rgba(64, 24, 66, 0.92), rgba(47, 20, 50, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 20px 55px rgba(0, 0, 0, 0.22);
}

.premium-bg-mark {
  position: absolute;
  left: 42px;
  top: -42px;
  color: rgba(217, 86, 212, 0.12);
  font-size: 150px;
  font-weight: 950;
  transform: rotate(-18deg);
}

.premium-strip p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.premium-strip strong {
  color: #d990ff;
}

.premium-strip a {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

/* =========================
   DISCORD CONNECTION
========================= */

.discord-connect-section {
  position: relative;
}

.discord-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(240px, 0.7fr) minmax(380px, 1.35fr);
  align-items: stretch;
  gap: 20px;
  padding: 28px;
  border-color: rgba(88, 101, 242, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 101, 242, 0.16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(217, 86, 212, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    #111111;
}

.discord-card-preview {
  min-height: 190px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  border-radius: 18px;
  padding: 20px;
  background:
    radial-gradient(circle at 25% 0%, rgba(88, 101, 242, 0.22), transparent 42%),
    #0b0b0d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.discord-avatar-preview {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #5865f2, #9b42d6);
  color: #ffffff;
  font-size: 34px;
  font-weight: 950;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.07),
    0 0 34px rgba(88, 101, 242, 0.28);
}

.discord-avatar-preview::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 4px solid #0b0b0d;
  border-radius: 999px;
  background: #747f8d;
}

.discord-avatar-preview.is-online::after {
  background: #23a55a;
}

.discord-avatar-preview.is-idle::after {
  background: #f0b232;
}

.discord-avatar-preview.is-dnd::after {
  background: #f23f43;
}

.discord-avatar-preview img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.discord-avatar-preview .discord-avatar-decoration-preview {
  inset: -16%;
  z-index: 4;
  width: 132%;
  height: 132%;
  object-fit: contain;
  pointer-events: none;
}

.discord-avatar-preview img[hidden],
.discord-avatar-preview.has-avatar span {
  display: none !important;
}

.discord-avatar-preview span {
  position: relative;
  z-index: 2;
}

.discord-preview-copy {
  min-width: 0;
}

.discord-preview-copy strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-preview-copy > span {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #b9b0bd;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-preview-copy p {
  margin: 12px 0 0;
  color: #a69dab;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.discord-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.discord-status-row i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #747f8d;
  box-shadow: 0 0 14px rgba(116, 127, 141, 0.4);
}

.discord-status-row i.status-online {
  background: #23a55a;
  box-shadow: 0 0 14px rgba(35, 165, 90, 0.55);
}

.discord-status-row i.status-idle {
  background: #f0b232;
  box-shadow: 0 0 14px rgba(240, 178, 50, 0.55);
}

.discord-status-row i.status-dnd {
  background: #f23f43;
  box-shadow: 0 0 14px rgba(242, 63, 67, 0.55);
}

.discord-status-row i.status-offline {
  background: #747f8d;
  box-shadow: 0 0 14px rgba(116, 127, 141, 0.4);
}

.discord-controls {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.discord-connect-btn,
.discord-disconnect-btn {
  min-height: 56px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.discord-connect-btn {
  border: 1px solid rgba(88, 101, 242, 0.72);
  background: linear-gradient(135deg, #5865f2, #3942a8);
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.18);
}

.discord-connect-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.discord-disconnect-btn {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: #181818;
  color: #b9b0bd;
}

.discord-disconnect-btn:hover {
  background: #202020;
  color: #ffffff;
}

.discord-logo {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
}

.discord-help-text {
  margin: 2px 0 0;
  color: #8f8792;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.discord-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

/* =========================
   GENERAL CUSTOMIZATION
========================= */

.custom-panel {
  padding: 26px;
}

.general-panel {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 1fr 1fr;
  gap: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 86, 212, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #141414;
}

.card-experience-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 28px;
}

.card-experience-panel .toggle-card {
  min-height: 78px;
  align-content: center;
}

.reaction-picker {
  grid-column: span 2;
}

.reaction-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.reaction-option-grid label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  padding: 0 11px;
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.reaction-option-grid input {
  accent-color: var(--pink);
}

.reaction-option-grid label:has(input:checked) {
  border-color: rgba(217, 86, 212, 0.48);
  background: rgba(217, 86, 212, 0.14);
}

.control-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 16px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.control-group label,
.color-row > span,
.toggle-card > span {
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

.info-dot {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  vertical-align: 1px;
}

.input-shell {
  min-height: 46px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-radius: 12px;
  background: #080808;
}

.input-shell span {
  display: grid;
  place-items: center;
  color: #8f8792;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  background: #080808;
  color: #ffffff;
  outline: none;
}

.input-shell input {
  min-height: 46px;
  padding-left: 0;
  background: transparent;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #aaa1ae 50%),
    linear-gradient(135deg, #aaa1ae 50%, transparent 50%),
    #080808;
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 13px) 19px,
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    100%;
  background-repeat: no-repeat;
}

select option {
  background: #111111;
  color: #ffffff;
}

select option:disabled {
  color: #555555;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(226, 85, 183, 0.34);
}

.select-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
}

.small-square-btn {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 86, 212, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 86, 212, 0.18), transparent 44%),
    #080808;
  color: #ffffff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.small-square-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.small-square-btn:hover {
  border-color: rgba(217, 86, 212, 0.48);
  background: rgba(217, 86, 212, 0.14);
  transform: translateY(-1px);
}

input[type="range"] {
  min-height: 24px;
  padding: 0;
  accent-color: #82898f;
}

.range-labels {
  display: flex;
  justify-content: space-around;
  color: #ffffff;
  font-size: 12px;
}

.effect-launch-btn {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: #080808;
  color: #ffffff;
}

.effect-launch-btn span {
  color: #ffffff;
}

.effect-launch-btn strong {
  font-size: 15px;
  font-weight: 650;
}

.location-group {
  grid-column: 3 / 4;
}

.glow-settings {
  grid-column: 4 / 5;
  grid-row: span 2;
}

.glow-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.glow-buttons button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(64, 214, 111, 0.45);
  border-radius: 10px;
  background: rgba(64, 214, 111, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.glow-buttons button:last-child {
  grid-column: 1 / -1;
}

.glow-buttons button:not(.active) {
  border-color: rgba(255, 255, 255, 0.075);
  background: #181818;
  color: #aaa1ae;
}

/* =========================
   COLOR CUSTOMIZATION
========================= */

.color-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 2.15fr;
  gap: 28px;
  padding: 26px;
}

.color-column {
  display: grid;
  gap: 24px;
}

.color-column.large {
  gap: 24px;
}

.color-row {
  display: grid;
  gap: 10px;
}

.color-row div {
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 0 12px;
  background: #080808;
}

.color-row input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
}

.color-row input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-row input::-webkit-color-swatch {
  border: 0;
  border-radius: 999px;
}

.color-row b {
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

.color-row em {
  color: #c8c2ca;
  font-style: normal;
  font-size: 18px;
}

.green-wide-btn {
  min-height: 46px;
  border: 1px solid rgba(64, 214, 111, 0.48);
  border-radius: 10px;
  background: rgba(64, 214, 111, 0.22);
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

.green-wide-btn.off {
  border-color: rgba(255, 255, 255, 0.085);
  background: #161616;
  color: #aaa1ae;
}

.two-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* =========================
   OTHER CUSTOMIZATION
========================= */

.other-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 60px;
  padding: 26px;
}

.toggle-card {
  display: grid;
  gap: 10px;
}

.toggle-card input {
  display: none;
}

.toggle-card i {
  position: relative;
  width: 64px;
  height: 30px;
  display: block;
  border-radius: 999px;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075);
}

.toggle-card i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #8b8b8b;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.toggle-card input:checked + i {
  background: #a64dba;
}

.toggle-card input:checked + i::after {
  transform: translateX(34px);
  background: #ffffff;
}

/* =========================
   PREVIEW
========================= */

.preview-section iframe {
  width: 100%;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #050405;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.012),
    0 20px 55px rgba(0, 0, 0, 0.22);
}

/* =========================
   USERNAME EFFECTS MODAL
========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.modal-overlay[hidden] {
  display: none;
}

.effects-modal {
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(155, 66, 214, 0.14), transparent 36%),
    #101010;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.effects-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.effects-modal header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.effects-modal header p {
  margin: 7px 0 0;
  color: #8f8792;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.effects-modal header button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c8c2ca;
  font-size: 30px;
  line-height: 1;
}

.effects-modal header button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.effects-grid {
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-right: 4px;
}

.effects-grid button {
  position: relative;
  min-height: 134px;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 13px;
  padding: 14px 10px 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.045), transparent 42%),
    #191919;
  color: #ffffff;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.effects-grid button:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 86, 212, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 86, 212, 0.1), transparent 42%),
    #202020;
}

.effects-grid button.selected {
  border-color: rgba(217, 86, 212, 0.82);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 86, 212, 0.18), transparent 45%),
    #202020;
  box-shadow:
    0 0 0 1px rgba(217, 86, 212, 0.2) inset,
    0 0 32px rgba(217, 86, 212, 0.16);
}

.effects-grid button.selected::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(217, 86, 212, 0.25);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.presence-modal {
  width: min(520px, calc(100vw - 28px));
  border: 1px solid rgba(217, 86, 212, 0.24);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 101, 242, 0.13), transparent 30%),
    radial-gradient(circle at 0% 0%, rgba(217, 86, 212, 0.12), transparent 36%),
    #111112;
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.presence-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.presence-modal header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.presence-modal header p {
  margin: 5px 0 0;
  color: #aaa1ae;
  font-size: 13px;
}

.presence-modal header button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.presence-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.presence-toggle-card {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.presence-text-field {
  display: grid;
  gap: 10px;
  color: #ffffff;
  font-weight: 850;
}

.presence-text-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.presence-preview-card {
  margin-top: 18px;
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(217, 86, 212, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.presence-preview-kicker {
  display: block;
  margin-bottom: 6px;
  color: #d990ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.presence-preview-card strong,
.presence-preview-card p {
  display: block;
  margin: 0;
}

.presence-preview-card strong {
  color: #ffffff;
  font-size: 16px;
}

.presence-preview-card p {
  margin-top: 5px;
  color: #c8c0cc;
  font-size: 13px;
}

.presence-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.presence-preview-tags span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.presence-preview-tags span[hidden] {
  display: none;
}

.presence-modal footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: 18px;
}

.effects-grid button.locked::before {
  content: "Premium";
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 4;
  border: 1px solid rgba(255, 210, 98, 0.36);
  border-radius: 999px;
  padding: 5px 7px;
  background: rgba(255, 210, 98, 0.12);
  color: #ffd262;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.effects-grid button strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.effects-grid button small {
  max-width: 100%;
  overflow: hidden;
  color: #938b97;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.effect-preview {
  position: relative;
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
}

.effect-preview b {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.035em;
}

.effect-preview-none b {
  color: #c8c2ca;
  font-size: 17px;
  text-shadow: none;
}

.effect-preview-typewriter {
  justify-content: center;
}

.effect-preview-typewriter b {
  width: 62px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #ffffff;
  animation:
    modalTyping 2.4s steps(6, end) infinite,
    modalCaret 720ms step-end infinite;
}

.effect-preview-rainbow b {
  background: linear-gradient(90deg, #ff3b3b, #ffd93b, #38ff7a, #38c7ff, #d83bff, #ff3b3b);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: modalRainbow 2.7s linear infinite;
}

.effect-preview-glitch b {
  color: #ffffff;
  text-shadow:
    2px 0 #ff1744,
    -2px 0 #00e5ff,
    0 0 16px rgba(255, 255, 255, 0.2);
  animation: modalGlitch 1s steps(2, end) infinite;
}

.effect-preview-glitch b::before,
.effect-preview-glitch b::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.effect-preview-glitch b::before {
  color: #ff1744;
  transform: translateX(2px);
  clip-path: inset(0 0 54% 0);
}

.effect-preview-glitch b::after {
  color: #00e5ff;
  transform: translateX(-2px);
  clip-path: inset(46% 0 0 0);
}

.effect-preview-shuffle b {
  animation: modalShuffle 1.35s steps(2, end) infinite;
}

.effect-preview-sparkle {
  color: #ffffff;
}

.effect-preview-sparkle b {
  color: currentColor;
  text-shadow:
    0 0 12px currentColor,
    0 0 28px rgba(255, 255, 255, 0.2);
  animation: modalSparkleText 1.7s ease-in-out infinite;
}

.effect-preview-sparkle i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 0 8px currentColor,
    0 0 18px currentColor;
  animation: modalSparkleDot 1.8s ease-in-out infinite;
}

.effect-preview-sparkle i:nth-child(1) {
  left: 16%;
  top: 12%;
  animation-delay: 0ms;
}

.effect-preview-sparkle i:nth-child(2) {
  left: 32%;
  bottom: 16%;
  animation-delay: 180ms;
}

.effect-preview-sparkle i:nth-child(3) {
  left: 50%;
  top: 20%;
  animation-delay: 360ms;
}

.effect-preview-sparkle i:nth-child(4) {
  right: 28%;
  bottom: 18%;
  animation-delay: 540ms;
}

.effect-preview-sparkle i:nth-child(5) {
  right: 14%;
  top: 14%;
  animation-delay: 720ms;
}

.effect-preview-blue {
  color: #465cff;
}

.effect-preview-green {
  color: #baff5e;
}

.effect-preview-pink {
  color: #ff3d9d;
}

.effect-preview-red {
  color: #ff4c4c;
}

.effect-preview-white {
  color: #ffffff;
}

.effect-preview-yellow {
  color: #ffff00;
}

.effect-preview-glow b {
  text-shadow: 0 0 12px #ffffff, 0 0 28px #a64dba;
  animation: modalGlow 1.8s ease-in-out infinite;
}

.effect-preview-pulse b {
  animation: modalPulse 1.25s ease-in-out infinite;
}

.effect-preview-shine b,
.effect-preview-fire b,
.effect-preview-ice b,
.effect-preview-chrome b,
.effect-preview-hologram b,
.effect-preview-cosmic b,
.effect-preview-gold b,
.effect-preview-inferno b {
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: modalRainbow 2.8s linear infinite;
}

.effect-preview-shine b {
  background-image: linear-gradient(110deg, #ffffff, #ffffff, #d990ff, #ffffff);
}

.effect-preview-neon b {
  color: #49f5ff;
  text-shadow: 0 0 10px #49f5ff, 0 0 26px rgba(73, 245, 255, 0.8);
}

.effect-preview-fire b {
  background-image: linear-gradient(90deg, #fff2a8, #ff9f1c, #ff2e00, #fff2a8);
  text-shadow: 0 0 18px rgba(255, 77, 0, 0.62);
}

.effect-preview-ice b {
  background-image: linear-gradient(90deg, #ffffff, #8eeaff, #5f9dff, #ffffff);
}

.effect-preview-toxic b {
  color: #baff00;
  text-shadow: 0 0 10px #baff00, 0 0 28px rgba(186, 255, 0, 0.75);
}

.effect-preview-chrome b {
  background-image: linear-gradient(180deg, #ffffff, #8d8d8d, #f7f7f7, #343434, #ffffff);
}

.effect-preview-ghost b {
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 9px 0 rgba(255, 255, 255, 0.16), -9px 0 rgba(155, 92, 255, 0.16);
  animation: modalGhost 2s ease-in-out infinite;
}

.effect-preview-wave b {
  animation: modalWave 1.4s ease-in-out infinite;
}

.effect-preview-jitter b {
  animation: modalJitter 360ms steps(2, end) infinite;
}

.effect-preview-scanline::after {
  content: "";
  position: absolute;
  inset: 4px 18px;
  background: linear-gradient(180deg, transparent 0 42%, rgba(255, 255, 255, 0.28) 48% 52%, transparent 58% 100%);
  animation: modalScanline 1.6s linear infinite;
}

.effect-preview-shadow-pop b {
  color: #ffffff;
  text-shadow: 3px 3px #a64dba, 6px 6px rgba(0, 0, 0, 0.7);
}

.effect-preview-hologram b {
  background-image: linear-gradient(90deg, #8ffcff, #ffb8ff, #fff4a3, #8ffcff);
}

.effect-preview-matrix b {
  color: #72ff72;
  text-shadow: 0 0 10px #72ff72, 0 0 24px rgba(114, 255, 114, 0.6);
}

.effect-preview-lightning b {
  color: #fff36a;
  text-shadow: 0 0 12px #fff36a, 0 0 30px rgba(120, 210, 255, 0.8);
  animation: modalLightning 1.25s steps(2, end) infinite;
}

.effect-preview-cosmic b {
  background-image: linear-gradient(90deg, #9b5cff, #38c7ff, #ff4fd8, #9b5cff);
}

.effect-preview-gold b {
  background-image: linear-gradient(90deg, #7a4b00, #ffd262, #fff2b3, #b07000, #ffd262);
}

.effect-preview-inferno b {
  background-image: linear-gradient(90deg, #3b0000, #ff2e00, #ffb000, #ffffff, #ff2e00);
}

.effects-modal footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 18px;
}

.effects-modal footer button {
  min-height: 44px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
}

.modal-cancel {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: #1a1a1a;
}

.modal-cancel:hover {
  background: #202020;
}

.modal-save {
  border: 1px solid rgba(217, 86, 212, 0.65);
  background: linear-gradient(135deg, #742885, #551c5f);
  box-shadow: 0 0 24px rgba(217, 86, 212, 0.12);
}

.modal-save:hover {
  background: linear-gradient(135deg, #86309a, #662371);
}

@keyframes modalTyping {
  0%,
  15% {
    width: 0;
  }

  50%,
  80% {
    width: 62px;
  }

  100% {
    width: 0;
  }
}

@keyframes modalCaret {
  50% {
    border-color: transparent;
  }
}

@keyframes modalRainbow {
  to {
    background-position: 260% 0;
  }
}

@keyframes modalGlitch {
  0%,
  100% {
    transform: translate(0, 0);
  }

  30% {
    transform: translate(1px, -1px);
  }

  65% {
    transform: translate(-1px, 1px);
  }
}

@keyframes modalShuffle {
  0%,
  100% {
    transform: translate(0, 0) skewX(0);
    letter-spacing: -0.035em;
  }

  35% {
    transform: translate(1px, 0) skewX(-4deg);
    letter-spacing: -0.02em;
  }

  70% {
    transform: translate(-1px, 1px) skewX(3deg);
    letter-spacing: -0.055em;
  }
}

@keyframes modalSparkleText {
  50% {
    filter: brightness(1.45);
    text-shadow:
      0 0 18px currentColor,
      0 0 42px currentColor;
  }
}

@keyframes modalSparkleDot {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes modalGlow {
  50% {
    filter: brightness(1.28);
  }
}

@keyframes modalPulse {
  50% {
    transform: scale(1.08);
  }
}

@keyframes modalGhost {
  50% {
    opacity: 0.55;
    transform: translateX(2px);
  }
}

@keyframes modalWave {
  50% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

@keyframes modalJitter {
  25% {
    transform: translate(1px, -1px);
  }

  75% {
    transform: translate(-1px, 1px);
  }
}

@keyframes modalScanline {
  to {
    transform: translateY(34px);
  }
}

@keyframes modalLightning {
  0%,
  84%,
  100% {
    filter: brightness(1);
  }

  86%,
  92% {
    filter: brightness(2);
  }
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #070707;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #272727;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1380px) {
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .general-panel,
  .card-experience-panel,
  .color-panel,
  .other-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-panel {
    grid-template-columns: 1fr;
  }

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

  .color-column.large {
    grid-column: 1 / -1;
  }

  .glow-settings {
    grid-column: span 1;
  }
}

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

  .sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
  }

  .workspace {
    padding: 24px 16px 50px;
  }

  .workspace-header {
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions a,
  .header-actions button {
    flex: 1;
    justify-content: center;
  }

  .asset-grid,
  .general-panel,
  .card-experience-panel,
  .color-panel,
  .other-panel,
  .two-colors,
  .effects-grid,
  .discord-panel,
  .discord-toggle-grid {
    grid-template-columns: 1fr;
  }

  .reaction-picker {
    grid-column: auto;
  }

  .reaction-option-grid {
    grid-template-columns: 1fr 1fr;
  }

  .discord-card-preview {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .discord-status-row {
    justify-self: center;
  }

  .location-group,
  .glow-settings,
  .color-column.large {
    grid-column: auto;
  }

  .premium-strip {
    border-radius: 24px;
    flex-direction: column;
    padding: 22px;
  }

  .effects-modal {
    max-height: calc(100vh - 28px);
    padding: 14px;
  }

  .effects-grid button {
    min-height: 126px;
  }
}
.toggle-card.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.live-save-status {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  margin-top: 12px;
  border: 1px solid rgba(64, 214, 111, 0.26);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(64, 214, 111, 0.1);
  color: #bdf7ce;
  font-size: 12px;
  font-weight: 850;
}

/* =========================
   CLEAN CUSTOMIZE PASS
========================= */

.workspace {
  padding: 34px 38px 70px;
}

.workspace-header {
  position: relative;
  overflow: hidden;
  align-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 86% 0%, rgba(88, 101, 242, 0.15), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(217, 86, 212, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    #0b0b0d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.workspace-header::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 214, 184, 0.5), transparent);
}

.workspace-header h1 {
  margin: 5px 0 0;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 0.92;
  letter-spacing: 0;
}

.workspace-subtitle {
  max-width: 760px;
  margin-top: 12px;
  color: #a8a0ad;
  line-height: 1.5;
}

.kicker {
  color: #d990ff;
  letter-spacing: 0.12em;
}

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.header-actions a,
.header-actions button {
  min-height: 44px;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.asset-section,
.custom-section,
.preview-section {
  margin-bottom: 26px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: #aaa1ae;
  font-size: 14px;
  line-height: 1.45;
}

.asset-grid {
  gap: 14px;
}

.asset-card,
.custom-panel,
.color-panel,
.other-panel {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #101011;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.2);
}

.asset-card {
  padding: 16px;
}

.asset-card-top {
  margin-bottom: 10px;
}

.asset-box,
.asset-drop {
  min-height: 142px;
}

.asset-drop {
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.08), transparent 44%),
    #09090a;
}

.premium-strip {
  min-height: 64px;
  margin: 26px 0 32px;
  border-color: rgba(217, 86, 212, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 86, 212, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(56, 22, 58, 0.88), rgba(14, 14, 16, 0.94));
}

.discord-panel {
  grid-template-columns: minmax(300px, 0.9fr) minmax(240px, 0.58fr) minmax(360px, 1.05fr);
  gap: 16px;
  padding: 18px;
  border-color: rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(circle at 0% 8%, rgba(88, 101, 242, 0.18), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(72, 214, 184, 0.1), transparent 28%),
    #101013;
}

.discord-card-preview {
  min-height: 168px;
  grid-template-columns: 82px 1fr;
  border-radius: 16px;
  padding: 18px;
}

.discord-avatar-preview {
  width: 82px;
  height: 82px;
}

.discord-controls {
  align-content: stretch;
}

.discord-connect-btn,
.discord-disconnect-btn {
  min-height: 46px;
  border-radius: 14px;
}

.discord-logo {
  font-size: 11px;
  font-weight: 950;
}

.discord-toggle-grid {
  gap: 12px;
}

.discord-toggle-grid .toggle-card,
.card-experience-panel .toggle-card,
.other-panel .toggle-card {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 15px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.general-panel,
.card-experience-panel {
  gap: 16px;
  padding: 18px;
}

.general-panel {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
}

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

.control-group {
  min-height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 15px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.control-group label,
.color-row > span,
.toggle-card > span {
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea,
.input-shell,
.effect-launch-btn,
.small-square-btn {
  min-height: 44px;
  border-radius: 12px;
  background-color: #09090a;
}

input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.035);
}

input:hover,
select:hover,
textarea:hover,
.input-shell:hover,
.effect-launch-btn:hover,
.small-square-btn:hover {
  border-color: rgba(217, 86, 212, 0.18);
  background-color: #101014;
}

.range-labels {
  justify-content: space-between;
  color: #948b99;
}

.reaction-option-grid {
  gap: 8px;
}

.reaction-option-grid label {
  position: relative;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 12px;
  color: #cfc8d3;
}

.reaction-option-grid label::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: #6e6472;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.reaction-option-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reaction-option-grid label:has(input:checked)::before {
  background: #48d6b8;
  box-shadow: 0 0 14px rgba(72, 214, 184, 0.52);
}

.reaction-option-grid label:has(input:checked) {
  border-color: rgba(72, 214, 184, 0.42);
  background: rgba(72, 214, 184, 0.12);
  color: #ffffff;
}

.color-panel,
.other-panel {
  gap: 16px;
  padding: 18px;
}

.color-row div {
  border: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(0, 0, 0, 0.25);
}

.preview-section iframe {
  height: min(760px, 78vh);
  border-radius: 22px;
}

@media (max-width: 1380px) {
  .workspace {
    padding: 28px 24px 62px;
  }

  .general-panel,
  .card-experience-panel,
  .color-panel,
  .other-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .workspace {
    padding: 22px 14px 46px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }
}
