/* ===========================================================
   core
   =========================================================== */
:root {
  --bg: #070707;
  --bg-2: #0b0b0b;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --txt: #f3f3f3;
  --muted: #9a9a9a;
  --accent: #a3a3a3;
  --accent-soft: rgba(255, 255, 255, 0.16);
  --lime: #e5e5e5;
  --radius: 18px;
  --max: 1140px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
  color-scheme: dark;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: var(--transition);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 12% -6%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(620px 420px at 92% 2%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(700px 520px at 50% 108%, rgba(255, 255, 255, 0.07), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  body * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 460px at 12% -6%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(620px 420px at 92% 2%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(700px 520px at 50% 108%, rgba(255, 255, 255, 0.07), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

main, header, footer { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
img, svg { display: block; }

::selection { background: var(--accent); color: #fff; }

/* ===========================================================
  atoms
  =========================================================== */
.btn {
  --btn-bg: var(--panel-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--btn-bg);
  color: var(--txt);
  font: inherit;
  font-weight: 560;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--line-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #d4d4d4, #8a8a8a);
  border-color: rgba(255, 255, 255, 0.22);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.9);
}
.btn-primary:hover { background: linear-gradient(180deg, #bfbfbf, #a3a3a3); }

.btn-lime {
  background: var(--lime);
  border-color: rgba(0, 0, 0, 0.2);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 12px 34px -14px rgba(255, 255, 255, 0.8);
}
.btn-lime:hover { background: #f5f5f5; }

.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16); }

.muted { color: var(--muted); }
.accent-text { color: #e5e5e5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bdbdbd;
  font-weight: 600;
  margin-bottom: 14px;
}

input[type="text"], input[type="url"], input[type="email"], select, textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #777777; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%); background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
/* native dropdown lists follow the dark theme instead of the OS light popup */
select option, select optgroup { background-color: #101010; color: #e9e9e9; }
select option:checked, select option:hover { background-color: #2a2a2a; color: #ffffff; }
label { font-size: 12.5px; font-weight: 600; color: #d4d4d4; display: block; margin-bottom: 7px; letter-spacing: 0.01em; }

/* ===========================================================
  header
  =========================================================== */
.beta-bar {
  position: relative;
  z-index: 3;
  font-size: 12.5px;
  text-align: center;
  padding: 9px 16px;
  color: #e5e5e5;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.16));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.beta-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 7, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 17px; }
.brand-mark {
  width: 27px; height: 27px;
  flex: none;
  display: block;
  object-fit: contain;
}
.brand .tld { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: #c2c2c2;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ===========================================================
  hero
  =========================================================== */
.hero { padding: 78px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  margin: 18px 0 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #e5e5e5, #d4d4d4 55%, #e5e5e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { color: #adadad; font-size: 16.5px; max-width: 46ch; }

.claim { margin-top: 26px; max-width: 470px; }
.claim-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(12, 12, 12, 0.86);
  box-shadow: 0 18px 50px -26px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.claim-field:focus-within { border-color: rgba(255, 255, 255, 0.65); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16), 0 18px 50px -26px rgba(0, 0, 0, 0.9); }
.claim-prefix { color: var(--muted); font-size: 14.5px; font-weight: 500; user-select: none; }
.claim-field input {
  height: 38px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: 15px;
  box-shadow: none;
}
.claim-field input:focus { background: transparent; box-shadow: none; border: 0; }
.claim-field .btn { height: 38px; flex: none; }
.claim-hint { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: #8a8a8a; }
.claim-hint span { display: inline-flex; align-items: center; gap: 6px; }
.tick { color: var(--lime); }

/* mock profile card */
.mock-wrap { position: relative; display: grid; place-items: center; }
.mock-glow {
  position: absolute; inset: 12% 6%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.45), transparent 68%);
  filter: blur(34px);
  z-index: 0;
}
.profile-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 352px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(12, 12, 12, 0.94));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.profile-card.floating { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-10px) rotate(0.6deg); } }
.pc-banner { height: 76px; position: relative; background: linear-gradient(120deg, #8a8a8a, #8a8a8a 90%); }
.pc-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 10px 10px; opacity: 0.5;
}
.pc-body { padding: 0 18px 18px; }
.pc-avatar {
  width: 68px; height: 68px; border-radius: 18px;
  margin-top: -30px;
  display: grid; place-items: center;
  font-size: 30px;
  background: linear-gradient(150deg, #d4d4d4, #8a8a8a);
  border: 3px solid #111111;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
  position: relative;
}
.pc-live {
  position: absolute; right: -3px; bottom: -3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e5e5e5; border: 3px solid #111111;
}
.pc-name { font-family: var(--display); font-weight: 700; font-size: 18px; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); color: var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}
.pc-handle { color: #909090; font-size: 13px; }
.pc-bio { color: #c2c2c2; font-size: 13.5px; margin-top: 10px; }

.pc-widget {
  margin-top: 12px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
}
.pc-widget .w-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; flex: none; }
.w-ico.discord { background: rgba(255, 255, 255, 0.22); color: #bdbdbd; }
.w-ico.roblox { background: rgba(255, 255, 255, 0.12); color: #fff; }
.w-ico.music { background: rgba(255, 255, 255, 0.18); color: #e5e5e5; }
.pc-widget .w-main { min-width: 0; }
.pc-widget .w-title { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-widget .w-sub { color: #909090; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-progress { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); margin-top: 6px; overflow: hidden; }
.w-progress i { display: block; height: 100%; width: 46%; background: #e5e5e5; border-radius: 99px; }
.pc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pc-links a {
  width: 100%;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px; font-weight: 550;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pc-links a:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.pc-links a .arw { margin-left: auto; color: #777777; }

.float-tag {
  position: absolute;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 16), 0.9);
  backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.float-tag.a { top: 6%; left: -6%; animation: float 6s ease-in-out infinite; }
.float-tag.b { bottom: 10%; right: -4%; animation: float 8s ease-in-out infinite reverse; }
.float-tag .tag-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ===========================================================
  sections
  =========================================================== */
.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  padding: 22px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.card:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.8px; }
.card .ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 14px; font-size: 17px;
}
.card.wide { grid-column: span 2; }

.mini-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.mini-top { display: flex; align-items: center; gap: 10px; }
.mini-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex: none; }
.mini-name { font-weight: 650; font-size: 13.5px; font-family: var(--display); }
.mini-handle { font-size: 11.5px; color: var(--muted); }
.mini-bio { font-size: 12.5px; color: #adadad; margin: 10px 0 12px; min-height: 38px; }
.mini-stats { display: flex; gap: 10px; font-size: 11px; color: #909090; flex-wrap: wrap; }
.mini-stats b { color: #e5e5e5; font-weight: 650; }

.band {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(500px 220px at 92% 100%, rgba(255, 255, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.band h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; }
.band p { color: #bdbdbd; margin-top: 10px; max-width: 52ch; }

.faq { display: grid; gap: 10px; max-width: 820px; }
details.faq-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px 18px;
}
details.faq-item summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { color: var(--muted); font-size: 13.8px; margin-top: 10px; }

/* ===========================================================
  footer
  =========================================================== */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 48px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)); gap: 32px; }
.footer p.desc { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 34ch; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #8a8a8a; margin-bottom: 12px; font-family: var(--font); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: #c7c7c7; font-size: 14px; }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: #7d7d7d;
}

/* ===========================================================
  editor
  =========================================================== */
.page-head { padding: 44px 0 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.page-head p { color: var(--muted); margin-top: 8px; font-size: 14px; }

.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 24px; align-items: start; padding-bottom: 70px; }
.editor-col { display: grid; gap: 16px; }

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 14.5px; font-weight: 650; font-family: var(--font); letter-spacing: 0; }
.panel-head .step {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.22); color: #e5e5e5;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 11.5px; color: #808080; margin-top: 6px; }

.name-input { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); border-radius: 12px; padding-left: 14px; }
.name-input:focus-within { border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14); }
.name-input span { color: var(--muted); font-size: 14px; }
.name-input input { border: 0; background: transparent; box-shadow: none; padding-left: 0; }
.name-input input:focus { box-shadow: none; background: transparent; }

.emoji-row { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: 17px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  cursor: pointer; transition: all 0.15s ease;
}
.emoji:hover { background: rgba(255, 255, 255, 0.1); }
.emoji.sel { border-color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.2); }

.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; position: relative; }
.swatch.sel { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }

.row-item { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.row-item select { width: 132px; flex: none; }
.row-item input { flex: 1; min-width: 0; }
.icon-btn {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: #adadad;
  display: grid; place-items: center; cursor: pointer; font-size: 15px;
  transition: all 0.15s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); color: #f5f5f5; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.switch-row:last-child { border-bottom: 0; padding-bottom: 0; }
.switch-row .sr-title { font-size: 13.5px; font-weight: 550; }
.switch-row .sr-sub { font-size: 11.5px; color: #808080; }
.switch { position: relative; width: 40px; height: 23px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.12); transition: background 0.18s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform 0.18s ease; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(17px); }

.preview-sticky { position: sticky; top: 84px; display: grid; gap: 12px; }
.preview-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.preview-frame { display: grid; place-items: start center; }

.share-box { display: flex; gap: 8px; }
.share-box input { font-size: 12.5px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: #1a1a1a; border: 1px solid var(--line-2); color: #fff;
  padding: 11px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 550;
  box-shadow: 0 20px 50px -20px #000; opacity: 0; pointer-events: none;
  transition: all 0.22s ease; z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===========================================================
  public profile page
  =========================================================== */
.profile-page { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 46px 20px 70px; }
.profile-stage { width: 100%; max-width: 420px; display: grid; gap: 16px; justify-items: center; }

.pcard {
  --accent: #a3a3a3;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.94), rgba(11, 11, 11, 0.96));
  box-shadow: 0 50px 110px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.pcard.style-solid { background: #141414; }
.pcard.style-outline { background: rgba(10, 10, 10, 0.6); border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 40px 90px -50px #000; }
.pcard-banner {
  height: 104px;
  background: linear-gradient(120deg, var(--accent), #8a8a8a 110%);
  position: relative;
}
.pcard-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 12px 12px; opacity: 0.45;
}
.pcard-body { padding: 0 22px 22px; }
.pcard-avatar {
  width: 80px; height: 80px; border-radius: 20px;
  margin-top: -36px;
  display: grid; place-items: center;
  font-size: 34px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 60%, #fff), var(--accent));
  border: 3px solid #101010;
  position: relative;
  box-shadow: 0 12px 28px -14px #000;
}
.pcard-avatar .pc-live { width: 22px; height: 22px; }
.pcard-name { font-family: var(--display); font-size: 21px; font-weight: 700; margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard-handle { color: #9a9a9a; font-size: 13.5px; }
.pcard-bio { color: #c7c7c7; font-size: 14px; margin-top: 12px; white-space: pre-wrap; }
.pcard-meta { display: flex; gap: 14px; margin-top: 14px; font-size: 11.5px; color: #8a8a8a; flex-wrap: wrap; }
.pcard-links { display: grid; gap: 8px; margin-top: 16px; }
.pcard-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px; font-weight: 550;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pcard-links a:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-1px); }
.pcard-links a .pfx { opacity: 0.55; font-weight: 500; }
.pcard-links a .arw { margin-left: auto; opacity: 0.45; }

.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.pcard-foot a.brand-mini { font-size: 11.5px; color: #808080; display: inline-flex; align-items: center; gap: 6px; }
.pcard-foot a.brand-mini:hover { color: #e5e5e5; }
.pcard-foot .mini-share { background: none; border: 0; color: #8a8a8a; cursor: pointer; font: inherit; font-size: 11.5px; }
.pcard-foot .mini-share:hover { color: #fff; }

.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ===========================================================
  store
  =========================================================== */
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 30px; }
.item { overflow: hidden; padding: 0; }
.item-preview { height: 116px; display: grid; place-items: center; position: relative; }
.item-preview .swatch-lg { width: 46px; height: 46px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.5); }
.item-preview .glyph { font-size: 30px; }
.item-body { padding: 16px 18px 18px; }
.item-body h3 { font-size: 15px; margin-bottom: 6px; }
.item-body p { font-size: 12.8px; color: var(--muted); min-height: 40px; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.price { font-family: var(--display); font-weight: 700; font-size: 16px; }
.price small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.owned-tag { font-size: 11px; color: var(--lime); font-weight: 650; }

.careers-list { display: grid; gap: 12px; max-width: 820px; }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.job:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); }
.job h3 { font-size: 15.5px; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.job span { font-size: 12.5px; color: var(--muted); }

.empty {
  padding: 30px; border-radius: 14px; border: 1px dashed var(--line-2);
  text-align: center; color: var(--muted); font-size: 13.5px;
}

/* ===========================================================
  responsive
  =========================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock-wrap { order: -1; }
  .editor-grid { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .hero { padding-top: 48px; }
  .float-tag.a, .float-tag.b { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .band { padding: 28px; }
  .store-grid { grid-template-columns: 1fr; }
  .row-item select { width: 108px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .claim-field { flex-wrap: wrap; padding: 10px; }
  .claim-field input { flex: 1 1 100%; }
  .claim-field .btn { width: 100%; }
}

/* ===========================================================
  auth
  =========================================================== */
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: calc(100vh - 64px);
}
.auth-page em {
  font-style: normal;
  background: linear-gradient(100deg, #e5e5e5, #d4d4d4 60%, #e5e5e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-art {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(560px 380px at 6% 8%, rgba(255, 255, 255, 0.28), transparent 72%),
    radial-gradient(460px 320px at 96% 92%, rgba(255, 255, 255, 0.14), transparent 72%);
}
.auth-art h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; }
.auth-quote {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}
.auth-form-wrap { display: grid; place-items: center; padding: 48px 24px 64px; }
.auth-form { width: 100%; max-width: 384px; }
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 24px;
}
.tabs button {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tabs button.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 11.5px;
  color: #777777;
}
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

/* ===========================================================
  dashboard
  =========================================================== */
.dash { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.dash-side {
  position: sticky;
  top: 64px;
  align-self: start;
  height: calc(100vh - 64px);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.side-user { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; }
.side-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777777;
  font-weight: 700;
  padding: 12px 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #adadad;
  font: inherit;
  font-size: 13.5px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item.on { background: rgba(255, 255, 255, 0.18); color: #fff; }
.nav-item span:first-child { opacity: 0.7; font-size: 13px; }
.side-foot { margin-top: auto; padding: 14px 8px 0; }

.dash-main { padding: 32px 32px 70px; min-width: 0; }
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #8a8a8a; font-weight: 700; }
.stat .v { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 11.5px; color: var(--lime); font-weight: 600; margin-top: 2px; }

.chart-card {
  padding: 18px 20px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.chart-card svg { width: 100%; height: 168px; display: block; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.act { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.act:last-child { border-bottom: 0; padding-bottom: 0; }
.act-dot {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 12px;
}

.ltable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ltable th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8a8a8a;
  font-weight: 700;
  padding-bottom: 10px;
}
.ltable td { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); vertical-align: middle; }

@media (max-width: 1040px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash-side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
  }
  .side-user, .side-label, .side-foot { display: none; }
  .nav-item { width: auto; white-space: nowrap; }
  .dash-main { padding: 24px 16px 60px; }
}

/* ===========================================================
  dashboard shell v2
  =========================================================== */
.dash-side { overflow-y: auto; gap: 0; padding: 16px 12px; }
.side-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15.5px; padding: 2px 8px 14px; }
.side-brand .tld { color: var(--muted); font-weight: 500; }

.side-search {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 9px;
  border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
}
.side-search span { color: #777777; font-size: 13px; }
.side-search-icon { width: 14px; height: 14px; color: #8a8a8a; flex: none; }
.nav-star { width: 13px; height: 13px; color: #a463f2; flex: none; }
.side-search input { height: 30px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 12.5px; }
.side-search input:focus { box-shadow: none; background: transparent; }
.side-search kbd { font: inherit; font-size: 10px; color: #777777; border: 1px solid var(--line); border-radius: 5px; padding: 1px 4px; }

.side-group { border-radius: 10px; }
.side-group-head {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 9px; background: none;
  color: #d9d9d9; font: inherit; font-size: 13px; font-weight: 650;
  cursor: pointer; text-align: left;
}
.side-group-head:hover { background: rgba(255, 255, 255, 0.05); }
.side-group-head .chev { margin-left: auto; font-size: 10px; color: #777777; transition: transform 0.18s ease; }
.side-group:not(.open) .chev { transform: rotate(180deg); }
.side-group:not(.open) .side-sub { display: none; }
.side-sub { display: grid; gap: 1px; padding: 2px 4px 8px 30px; border-left: 1px solid rgba(255, 255, 255, 0.07); margin-left: 18px; }
.sub-item {
  position: relative;
  padding: 7px 10px; border: 0; border-radius: 8px; background: none;
  color: #a8a8a8; font: inherit; font-size: 12.5px; font-weight: 500;
  text-align: left; cursor: pointer; transition: background 0.14s ease, color 0.14s ease;
}
.sub-item:hover { background: rgba(255, 255, 255, 0.055); color: #fff; }
.sub-item.on { background: rgba(255, 255, 255, 0.09); color: #fff; font-weight: 600; }
.sub-item.on::before {
  content: ""; position: absolute; left: -31px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 16px; border-radius: 2px; background: var(--lime);
}
.side-plain { margin-top: 4px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }

.side-bottom { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; }
.user-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 8px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
}
.user-chip .mini-avatar { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
.user-chip .uc-name { font-size: 12px; font-weight: 650; }
.user-chip .uc-uid { font-size: 10px; color: #808080; }
.user-chip button { margin-left: auto; border: 0; background: none; color: #8a8a8a; cursor: pointer; font-size: 14px; }

/* topbar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #8a8a8a; flex-wrap: wrap; }
.crumbs a { color: #8a8a8a; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #e9e9e9; font-weight: 600; }
.crumbs .sep { opacity: 0.5; }

/* promo */
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
  padding: 20px 22px; border-radius: 16px; margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.55), transparent 62%),
    linear-gradient(100deg, #141414, #1c1c1c 60%, #2a2a2a);
}
.promo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 9px 9px; opacity: 0.18;
  mask-image: linear-gradient(90deg, transparent 32%, #000 88%);
}
.promo-text { position: relative; z-index: 1; }
.promo-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; font-family: var(--display); }
.promo-text p { font-size: 12.8px; color: #d0d0d0; margin-top: 5px; max-width: 52ch; }
.promo-actions { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; }

/* id cards */
.idrow { display: grid; grid-template-columns: 1.1fr 1.1fr 0.8fr; gap: 12px; margin-bottom: 26px; }
.idcard { padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.idcard .k { font-size: 11px; color: #8a8a8a; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.idcard .v { margin-top: 7px; font-size: 14px; font-weight: 600; word-break: break-all; }

.sec-h { font-family: var(--font); font-size: 14.5px; font-weight: 650; letter-spacing: 0; margin: 0 0 12px; }
.ana { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 14px; }
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut {
  position: relative; width: 124px; height: 124px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) 0 62%, #8a8a8a 62% 93%, rgba(255, 255, 255, 0.12) 93% 100%);
  display: grid; place-items: center;
}
.donut::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #0b0b0b; }
.donut .donut-in { position: relative; text-align: center; }
.donut .donut-in b { font-family: var(--display); font-size: 20px; display: block; }
.donut .donut-in span { font-size: 10.5px; color: #8a8a8a; }
.donut-legend { flex: 1; min-width: 190px; display: grid; gap: 12px; }
.bar-row .bl { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; }
.bar-row .bl span:last-child { color: #8a8a8a; }
.bar-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; }
.chart-x { display: flex; justify-content: space-between; font-size: 10.5px; color: #777777; margin-top: 8px; }

/* settings rows */
.set-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 17px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  margin-bottom: 9px;
}
.set-row:last-child { margin-bottom: 0; }
.set-row .s-title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.set-row .s-sub { font-size: 11.5px; color: #808080; margin-top: 3px; max-width: 48ch; }
.enabled-pill {
  border: 0; cursor: pointer; flex: none;
  padding: 6px 13px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font: inherit; font-size: 11.5px; font-weight: 700;
  min-width: 78px; text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.enabled-pill.off { background: rgba(255, 255, 255, 0.09); color: #adadad; }
.color-input { width: 32px; height: 26px; padding: 0; border: 1px solid var(--line-2); border-radius: 7px; background: transparent; cursor: pointer; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); flex: none; }
.seg button { border: 0; background: none; color: #adadad; font: inherit; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: rgba(255, 255, 255, 0.12); color: #fff; }
input[type="range"].range { width: 100%; height: 18px; accent-color: var(--accent); background: transparent; padding: 0; border: 0; box-shadow: none; }
input[type="range"].range:focus { box-shadow: none; border: 0; background: transparent; }

/* badges */
.badge-group { padding: 16px 17px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); margin-bottom: 16px; }
.badge-group .bg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 650; margin-bottom: 12px; }
.badges-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.badge-tile { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); }
.badge-glyph { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.badge-glyph svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.medal { display: inline-grid; place-items: center; color: var(--medal, #d4d4d4); flex: none; }
.medal svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.medal[data-tip] { position: relative; }
.medal[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translate(-50%, 4px);
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.96);
  color: #f2f2f2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 9;
}
.medal[data-tip]:hover::after,
.medal[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.badge-tile .bt-name { font-size: 12.5px; font-weight: 650; }
.badge-tile .bt-sub { font-size: 11px; color: #808080; margin-top: 2px; line-height: 1.35; }
.lock { margin-left: auto; width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); color: #8a8a8a; font-size: 10px; flex: none; }
.badge-preview { display: grid; place-items: center; padding: 22px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.02); margin-bottom: 16px; }
.badge-preview .glow { font-size: 24px; filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85)); }
.badge-preview .medals { display: inline-flex; align-items: center; gap: 7px; }
.badge-preview .hint { margin: 0; }

/* assets */
.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; margin-bottom: 16px; }
.asset { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); padding: 9px; display: grid; gap: 7px; cursor: pointer; transition: border-color 0.16s ease, background 0.16s ease; }
.asset:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.055); }
.asset .a-label { font-size: 10.5px; color: #909090; display: flex; justify-content: space-between; gap: 6px; }
.asset .a-body { min-height: 66px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); display: grid; place-items: center; color: #777777; font-size: 10.5px; text-align: center; padding: 6px; gap: 5px; }
.asset .a-body .plus { font-size: 18px; color: #adadad; }
.asset .a-body.has-thumb { padding: 0; overflow: hidden; }
.asset .a-body img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset .a-glyph { font-size: 19px; line-height: 1; color: #dcdcdc; }
.asset .a-name { font-size: 10px; color: #9a9a9a; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* audio playlist rows in the editor */
.track-list { display: grid; gap: 6px; margin: 8px 0 4px; }
.track-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: rgba(255, 255, 255, 0.03); }
.track-row .t-index { font-size: 10px; color: #8c8c8c; width: 16px; flex: none; }
.track-row .t-name { flex: 1; min-width: 0; font-size: 12px; color: #dcdcdc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* templates */
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tpl { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.tpl-shot { height: 128px; display: grid; place-items: center; }
.tpl-shot .mini { width: 58%; height: 62%; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(3px); }
.tpl-body { padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl-body b { font-size: 12.5px; font-family: var(--font); }

@media (max-width: 1180px) {
  .assets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .ana { grid-template-columns: 1fr; }
  .idrow { grid-template-columns: 1fr 1fr; }
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dash-side { flex-wrap: wrap; }
  .side-brand, .side-search, .side-bottom { display: none; }
  .side-group { display: contents; }
  .side-group-head { display: none; }
  .side-sub { display: flex !important; padding: 0; margin: 0; border: 0; gap: 4px; }
  .sub-item::before { display: none; }
  .sub-item { border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; }
  .side-plain { border: 0; padding: 0; display: flex; gap: 4px; margin: 0; }
}
@media (max-width: 640px) {
  .badges-grid, .tpl-grid { grid-template-columns: 1fr; }
  .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idrow { grid-template-columns: 1fr; }
  .promo { padding: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- monochrome theme ---------- */
:root { --accent:#d4d4d4; --accent-soft:rgba(255,255,255,.1); --lime:#e5e5e5; }
body::before { background: radial-gradient(760px 460px at 12% -6%, rgba(255,255,255,.08), transparent 70%), radial-gradient(620px 420px at 92% 2%, rgba(255,255,255,.05), transparent 70%), radial-gradient(700px 520px at 50% 108%, rgba(255,255,255,.04), transparent 70%); }
body::after { opacity:.22; }
::selection { background:#d4d4d4; color:#0a0a0a; }
.btn-primary { background:linear-gradient(180deg,#f5f5f5,#a3a3a3); border-color:rgba(255,255,255,.28); color:#0a0a0a; box-shadow:0 10px 30px -14px rgba(0,0,0,.9); }
.btn-primary:hover { background:linear-gradient(180deg,#fff,#bfbfbf); }
.btn-lime { background:#e5e5e5; color:#0a0a0a; box-shadow:0 12px 34px -16px rgba(0,0,0,.8); }
.btn-lime:hover { background:#f5f5f5; }
.brand-mark { filter:drop-shadow(0 3px 9px rgba(0,0,0,.6)); }
.hero h1 em, .auth-page em { background:linear-gradient(100deg,#fff,#bdbdbd 55%,#6b6b6b); }
.mock-glow { background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.16),transparent 68%); }
.band { background:radial-gradient(600px 260px at 12% 0%,rgba(255,255,255,.055),transparent 70%),radial-gradient(500px 220px at 92% 100%,rgba(255,255,255,.035),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)); }
.promo { border-color:rgba(255,255,255,.14); background:radial-gradient(circle at 78% 50%,rgba(255,255,255,.1),transparent 62%),linear-gradient(100deg,#121212,#1c1c1c 60%,#2a2a2a); }
.promo-text p { color:#bdbdbd; }
.auth-art { background:radial-gradient(560px 380px at 6% 8%,rgba(255,255,255,.07),transparent 72%),radial-gradient(460px 320px at 96% 92%,rgba(255,255,255,.035),transparent 72%); }

/* original artwork has ~35% transparent padding; scale it to fill the mark */
.brand-mark { transform: scale(1.45); transform-origin: center; }

/* textareas in the editor + icon sizing in the showcase */
.field textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35); color: #ededed; font: inherit; font-size: 13.5px; resize: vertical; }
.field textarea:focus { outline: none; border-color: rgba(255,255,255,.38); }
.wico svg { width: 15px; height: 15px; }
.mini-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.lp-links-row span { display: inline-flex; align-items: center; gap: 5px; }
.lp-links-row svg { width: 13px; height: 13px; }

/* avatar picker: preview + styled file button */
.avatar-edit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar-preview { width: 92px; height: 92px; border-radius: 24px; flex: none; overflow: hidden;
  display: grid; place-items: center; font-size: 40px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-actions { display: grid; gap: 7px; justify-items: start; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: #ededed; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.file-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.file-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 2px; }

/* account switcher */
.acct-modal { position: fixed; inset: 0; z-index: 40; padding: 20px; display: grid; place-items: center;
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); }
.acct-modal[hidden] { display: none; }
.acct-box { width: min(400px, 100%); padding: 18px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .13); background: #101010;
  box-shadow: 0 30px 80px -30px #000; }
.acct-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.acct-head h3 { font-size: 15px; font-weight: 650; }
.acct-head button { border: 0; background: none; color: #8a8a8a; font-size: 14px; cursor: pointer; }
.acct-list { display: grid; gap: 6px; }
.acct-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); }
.acct-row.on { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.acct-av { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; }
.acct-name { font-size: 12.5px; font-weight: 650; }
.acct-state { font-size: 10.5px; color: #8a8a8a; }
.acct-row button { border: 0; background: none; color: #8a8a8a; font: inherit; font-size: 12px;
  padding: 4px 7px; border-radius: 6px; cursor: pointer; }
.acct-row button:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.acct-row .acct-go { margin-left: auto; }

/* chart hover values */
#chart { position: relative; }
.chart-svg { cursor: crosshair; }
.chart-tip { position: absolute; top: 4px; transform: translateX(-50%); z-index: 3; pointer-events: none;
  display: grid; gap: 1px; padding: 6px 9px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 10, 10, .94); color: #f2f2f2; font-size: 11.5px; line-height: 1.25; white-space: nowrap;
  box-shadow: 0 10px 24px -12px #000; }
.chart-tip[hidden] { display: none; }
.chart-tip b { font-size: 13px; }
.chart-tip span { color: #9a9a9a; font-size: 10px; }
.chart-guide[hidden] { display: none; }

/* community templates */
.tpl-mine { display: grid; gap: 8px; }
.tpl-mine .row { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; font-size: 12.5px; }
.tpl-mine .row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-status { margin-left: auto; flex: none; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #9a9a9a; }
.tpl-status.approved { color: #bfe6c8; border-color: rgba(90, 200, 120, .38); background: rgba(90, 200, 120, .1); }
.tpl-status.rejected { color: #f2b8b8; border-color: rgba(240, 100, 100, .38); background: rgba(240, 100, 100, .1); }
.tpl .tpl-body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* audio library + add song + lyrics search modals */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
  background: rgba(0, 0, 0, .68); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-card { width: min(448px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 20px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: #0e0e0e;
  box-shadow: 0 34px 90px -34px #000; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.modal-x { border: 0; background: none; color: #8a8a8a; font-size: 15px; line-height: 1; cursor: pointer; padding: 4px; }
.modal-x:hover { color: #e5e5e5; }
.audio-label { display: block; font-size: 12px; color: #9a9a9a; margin-bottom: 7px; }
.audio-search { display: flex; gap: 8px; align-items: stretch; }
.audio-search input { flex: 1; min-width: 0; }
.modal input[type="text"], .modal input[type="search"], .modal textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .035); color: #ececec; font: inherit; font-size: 13px; outline: none; }
.modal input[type="text"]:focus, .modal input[type="search"]:focus, .modal textarea:focus { border-color: rgba(255, 255, 255, .3); }
.modal input:disabled { color: #7d7d7d; cursor: not-allowed; }
.modal .btn:disabled { opacity: .55; cursor: not-allowed; }
.audio-search .btn { flex: none; }
.audio-your { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 9px;
  font-size: 12.5px; color: #a3a3a3; }
.song-list { display: grid; gap: 8px; }
.song-row { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .028); }
.song-row.off { opacity: .55; }
.song-art { width: 38px; height: 38px; border-radius: 50%; background: #1b1b1b; flex: none;
  display: grid; place-items: center; overflow: hidden; color: #c9c9c9; font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.song-art img { width: 100%; height: 100%; object-fit: cover; }
.song-main { flex: 1; min-width: 0; }
.song-title { font-size: 12.5px; font-weight: 650; color: #f0f0f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-meta { font-size: 11px; color: #8c8c8c; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-link { border: 0; background: none; color: #9a9a9a; font-size: 11px; padding: 2px 0; cursor: pointer; }
.song-link:hover { color: #e5e5e5; text-decoration: underline; }
.song-actions { display: flex; align-items: center; gap: 1px; flex: none; }
.song-icon { width: 27px; height: 27px; border: 0; border-radius: 8px; background: none; color: #8f8f8f;
  font-size: 13px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.song-icon:hover { background: rgba(255, 255, 255, .08); color: #ededed; }
.song-icon.on { color: #ededed; }
.add-song { width: 100%; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .2);
  background: transparent; color: #dedede; font: inherit; font-size: 13px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 8px; }
.add-song:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.audio-config { margin-top: 24px; }
.audio-config h4 { font-size: 12.5px; font-weight: 600; color: #9a9a9a; margin-bottom: 2px; }
.audio-config .set-row { border-bottom: 0; padding: 11px 0; }
.audio-config .set-row + .set-row { border-top: 1px solid rgba(255, 255, 255, .05); }
.song-file-pick { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .24); background: transparent;
  color: #ececec; text-align: left; cursor: pointer; }
.song-file-pick:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .035); }
.song-file-pick .sfp-icon { font-size: 18px; color: #bdbdbd; }
.song-file-pick b { display: block; font-size: 13px; font-weight: 650; }
.song-file-pick small { display: block; font-size: 11px; color: #8c8c8c; margin-top: 2px; }
.song-file-name { margin-top: 8px; font-size: 11.5px; color: #9a9a9a; }
.song-form { display: flex; gap: 10px; margin-top: 12px; align-items: stretch; }
.song-cover { width: 68px; flex: none; display: grid; place-items: center; gap: 2px; padding: 0;
  border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .24); background: transparent;
  color: #9a9a9a; font-size: 10.5px; cursor: pointer; overflow: hidden; }
.song-cover small { padding-bottom: 5px; }
.song-cover img { width: 100%; height: 56px; object-fit: cover; display: block; }
.song-fields { flex: 1; display: grid; gap: 8px; }
.lyrics-box { margin-top: 14px; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
.lyrics-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.lyrics-box-head b { font-size: 12.5px; font-weight: 650; display: block; }
.lyrics-box-head small { font-size: 11px; color: #8c8c8c; }
.lyrics-box textarea { min-height: 92px; resize: vertical; }
.song-add { margin-top: 14px; }
.lyrics-results { margin-top: 12px; display: grid; gap: 6px; max-height: 330px; overflow: auto; }
.lyrics-hit { text-align: left; padding: 10px 11px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); color: inherit; }
.lyrics-hit:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.lyrics-hit b { display: block; font-size: 12.5px; font-weight: 600; color: #ededed; }
.lyrics-hit span { display: block; font-size: 11px; color: #8c8c8c; margin-top: 2px; }
.lyrics-empty { padding: 12px 2px; font-size: 12px; color: #8a8a8a; }

/* description markdown editor + typewriter */
.md-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.md-head label { margin: 0; }
.tw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
  color: #bdbdbd; font: inherit; font-size: 11px; cursor: pointer; }
.tw-pill b { font-weight: 600; color: #8f8f8f; }
.tw-pill.on { border-color: rgba(255, 255, 255, .34); color: #f0f0f0; }
.tw-pill.on b { color: #f0f0f0; }
.md-editor { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .025); }
.md-tools { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); flex-wrap: wrap; }
.md-tools button { width: 26px; height: 24px; border: 0; border-radius: 6px; background: none; color: #a8a8a8;
  font: inherit; font-size: 12px; cursor: pointer; display: grid; place-items: center; }
.md-tools button:hover { background: rgba(255, 255, 255, .08); color: #f0f0f0; }
.md-editor textarea { border: 0 !important; border-radius: 0 !important; background: transparent !important; min-height: 96px; resize: vertical; }
.tw-card { width: min(420px, 100%); }
.tw-sub { font-size: 12px; color: #9a9a9a; line-height: 1.5; margin-bottom: 14px; }
.tw-preview { min-height: 58px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
  font-size: 15px; font-weight: 600; color: #f2f2f2; margin-bottom: 12px; padding: 10px; }
.tw-caret { display: inline-block; width: 1px; height: 1em; margin-left: 2px; background: #e5e5e5;
  vertical-align: -2px; animation: tw-blink 1s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
.tw-enabled { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px !important; margin-bottom: 16px; }
.tw-lines-head { display: flex; justify-content: space-between; font-size: 12px; color: #9a9a9a; margin-bottom: 8px; }
.tw-add { display: flex; gap: 8px; margin-bottom: 10px; }
.tw-add input { flex: 1; }
.tw-add-btn { width: 40px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05); color: #e5e5e5; font-size: 16px; cursor: pointer; }
.tw-add-btn:hover { background: rgba(255, 255, 255, .1); }
.tw-list { display: grid; gap: 6px; margin-bottom: 16px; }
.tw-row { display: flex; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.tw-row span { flex: 1; min-width: 0; font-size: 12.5px; color: #e8e8e8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-row button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: #8f8f8f; cursor: pointer; font-size: 12px; }
.tw-row button:hover { background: rgba(255, 255, 255, .08); color: #ededed; }
.tw-empty { font-size: 12px; color: #8a8a8a; padding: 8px 2px; }
.tw-sliders { display: grid; gap: 12px; padding: 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); margin-bottom: 16px; }
.tw-slider label { display: flex; justify-content: space-between; font-size: 12px; color: #bdbdbd; margin-bottom: 8px; }
.tw-slider label span { color: #8a8a8a; font-size: 11px; }
.tw-slider input[type="range"] { width: 100%; accent-color: #d4d4d4; }

/* widget manager + view icon picker */
.widget-pick-card { width: min(420px, 100%); }
.widget-picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }

/* dashboard: device legend, link manager, template shelf -------- */
.device-row { margin-top: 10px; }
.device-top { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: #c9c9c9; }
.device-row i { display: block; height: 4px; margin-top: 5px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.device-row i b { display: block; height: 100%; border-radius: inherit; background: var(--accent, #4d5bff); }
.link-platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 9px; margin: 14px 0; }
.link-platform { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #151515; color: #d8d8d8; cursor: pointer; }
.link-platform:hover { background: #202020; transform: translateY(-1px); }
.link-platform.on { border-color: var(--accent, #4d5bff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent, #4d5bff) 30%, transparent); }
.link-custom { display: flex; align-items: center; gap: 10px; width: 220px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 12px; background: transparent; color: #e5e5e5; text-align: left; cursor: pointer; }
.link-custom small { display: block; color: #8a8a8a; font-size: 10.5px; margin-top: 2px; }
.lc-ico { font-size: 18px; color: #a9a9a9; }
.link-style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.link-check { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: #cfcfcf; }
.link-check input[type="checkbox"] { accent-color: var(--accent, #4d5bff); }
.link-check input[type="color"] { width: 18px; height: 18px; border: 0; padding: 0; background: none; }
.link-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.link-row:last-child { border-bottom: 0; }
.lr-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #d8d8d8; flex: none; }
.lr-main { min-width: 0; flex: 1; }
.lr-main b { display: block; font-size: 12.5px; }
.lr-main small { display: block; color: #8d8d8d; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #bdbdbd; cursor: pointer; text-decoration: none; font-size: 11px; }
.lr-btn.danger:hover { color: #ff9b9b; border-color: rgba(255,100,100,.4); }
.tpl-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; padding: 20px; border-radius: var(--radius); background: linear-gradient(110deg, #0c0c0c 30%, #1a1a1a); border: 1px solid var(--line); }
.tpl-hero b { font-size: 15px; display: block; }
.tpl-hero p { color: #9a9a9a; font-size: 12px; margin-top: 4px; max-width: 58ch; }
.tpl-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tpl-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #bdbdbd; font-size: 12px; cursor: pointer; }
.tpl-tabs button.on { background: #1d1d1d; color: #fff; border-color: var(--line-2); }
.tpl-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.tpl-toolbar input { flex: 1; }
.tpl-toolbar select { width: 150px; flex: none; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tpl-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #101010; }
.tpl-shot { position: relative; aspect-ratio: 1.55; background-size: cover; background-position: center; }
.tpl-star { position: absolute; top: 9px; right: 9px; border: 0; background: rgba(10,10,10,.5); color: #d8d8d8; width: 26px; height: 26px; border-radius: 8px; cursor: pointer; }
.tpl-star.on { color: #ffd166; }
.tpl-mini { position: absolute; left: 12px; bottom: 10px; color: #fff; text-shadow: 0 1px 6px #000; }
.tpl-mini b { display: block; font-size: 13px; }
.tpl-mini span { font-size: 10px; opacity: .8; }
.tpl-card-body { padding: 12px; }
.tpl-card-title { display: flex; align-items: center; gap: 8px; }
.tpl-card-title small { display: block; color: #8f8f8f; font-size: 10.5px; }
.tpl-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #242424; font-size: 10px; }
.tpl-meta { display: flex; gap: 12px; color: #8a8a8a; font-size: 10.5px; margin: 8px 0; }
.tpl-tags { display: flex; gap: 5px; flex-wrap: wrap; min-height: 16px; margin-bottom: 10px; }
.tpl-tags span { font-size: 9.5px; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.06); color: #a9a9a9; }
.tpl-use { width: 100%; }
.custom-badge-note { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: #9f9f9f; font-size: 12px; margin-bottom: 18px; }
.custom-badges-empty { text-align: center; color: #8d8d8d; font-size: 12px; padding: 22px 0; }
.custom-badge-add { opacity: .65; }
@media (max-width: 620px) { .link-style-grid { grid-template-columns: 1fr; } .tpl-toolbar select { width: 120px; } }

/* settings: username change, colors, effects, danger zone ---------- */
.username-change { padding-right: 6px; }
.username-change input { flex: 1; min-width: 0; }
.username-change .btn { margin-left: 6px; flex: none; }
.text-link { border: 0; background: none; padding: 12px 0 0; color: #8f8f8f; font-size: 12px; text-decoration: underline; cursor: pointer; }
.text-link:hover { color: #d8d8d8; }
.color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.color-pill { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; background: rgba(255, 255, 255, .03); }
.color-pill input[type="color"] { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: none; cursor: pointer; }
.color-pill span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #c9c9c9; }
.effect-open { width: 100%; display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #e9e9e9; font-size: 13px; font-weight: 550; cursor: pointer; text-align: left; }
.effect-open:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.danger-zone { border-color: rgba(190, 70, 70, .35); display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.danger-zone textarea { flex: 1; min-width: 240px; min-height: 46px; resize: vertical; }
.btn-danger { background: #7a1d24; border: 1px solid rgba(255, 120, 130, .36); color: #ffdada; }
.btn-danger:hover { background: #96242d; }
.ue-card { width: min(520px, 100%); }
.ue-preview { min-height: 104px; margin: 14px 0 16px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .02); font-size: 32px; font-weight: 700; }
.ue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ue-tile { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); padding: 14px 8px 10px; display: grid; gap: 8px; justify-items: center; cursor: pointer; color: #ededed; }
.ue-tile:hover { background: rgba(255, 255, 255, .07); }
.ue-tile.sel { border-color: var(--accent, #4d5bff); background: rgba(77, 91, 255, .12); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #4d5bff) 60%, transparent); }
.ue-aa { position: relative; display: inline-block; min-height: 21px; font-size: 18px; font-weight: 650; line-height: 1.2; }
.ue-aa .un-text { position: relative; z-index: 1; }
.ue-label { font-size: 11px; color: #9a9a9a; }
.un-gradient { background: linear-gradient(90deg, #fff 0%, var(--accent, #a3a3a3) 35%, #fff 70%); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: un-shimmer 3.4s linear infinite; }
@keyframes un-shimmer { to { background-position: 250% center; } }
.un-glitch { animation: un-glitch 2.4s infinite steps(1); text-shadow: 1px 0 rgba(255, 50, 120, .55), -1px 0 rgba(80, 200, 255, .55); }
@keyframes un-glitch { 0%, 90%, 100% { transform: none; } 92% { transform: translate(1px, -1px); } 94% { transform: translate(-1px, 1px); } 96% { transform: translate(1px, 1px); } }
.un-sparkles, .un-sparkle-white { --spark: #ffffff; }
.un-sparkle-yellow { --spark: #ffd166; }
.un-sparkle-blue { --spark: #6cb8ff; }
.un-sparkle-pink { --spark: #ff8fd0; }
.un-sparkle-red { --spark: #ff6b6b; }
.un-sparkle-green { --spark: #6bffa3; }
.un-sparkle-black { --spark: #0a0a0a; }
.un-spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--spark, #fff); box-shadow: 0 0 6px var(--spark, #fff); opacity: 0; pointer-events: none; animation: un-twinkle 2.1s ease-in-out infinite; }
.un-spark.s0 { left: -5px; top: -3px; animation-delay: 0s; }
.un-spark.s1 { right: -4px; top: 2px; animation-delay: .35s; }
.un-spark.s2 { left: 18%; top: -6px; animation-delay: .7s; }
.un-spark.s3 { right: 20%; bottom: -5px; animation-delay: 1.05s; }
.un-spark.s4 { left: -7px; bottom: 4px; animation-delay: 1.4s; }
.un-spark.s5 { right: -6px; bottom: -3px; animation-delay: 1.75s; }
.un-sparkle-black .un-spark { box-shadow: 0 0 4px rgba(255, 255, 255, .9); }
@keyframes un-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1); } }
@media (max-width: 560px) { .color-grid, .ue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .danger-zone { align-items: stretch; } .danger-zone .btn { width: 100%; } }
.widget-tile { position: relative; width: 60px; height: 60px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .09); background: #151515; color: #d6d6d6;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.widget-tile:hover { background: #1d1d1d; border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.widget-tile svg { width: 24px; height: 24px; display: block; }
.wt-badge { position: absolute; right: -5px; bottom: -5px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: #3b5bff; color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #0e0e0e; }
.widget-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-bottom: 8px;
  border-radius: 11px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .028);
  cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.widget-row:last-child { margin-bottom: 0; }
.widget-row:hover { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.widget-row.dragging { opacity: .4; }
.widget-row.drag-over { border-color: rgba(255, 255, 255, .45); }
.wr-grip { color: #6f6f6f; font-size: 13px; cursor: grab; letter-spacing: -1px; }
.wr-ico { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #dcdcdc; }
.wr-ico svg { width: 16px; height: 16px; display: block; }
.wr-name { font-size: 12.5px; font-weight: 600; }
.wr-tag { margin-left: auto; font-size: 10.5px; color: #8f8f8f; border: 1px solid rgba(255, 255, 255, .1);
  padding: 2px 8px; border-radius: 999px; }
.wr-del { border: 0; background: none; color: #858585; font-size: 12px; padding: 5px; border-radius: 6px; cursor: pointer; }
.wr-del:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.we-field { margin: 12px 0 2px; }
.we-input { display: flex; align-items: center; gap: 8px; padding: 0 11px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .035); }
.we-input span { color: #8a8a8a; font-size: 12px; }
.we-input input { border: 0 !important; background: transparent !important; padding: 10px 0; box-shadow: none; }
.elem-panel { padding: 0 17px; }
.elem-eye-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0 0; }
.elem-eye-head .s-title { font-size: 13px; font-weight: 600; }
.elem-eye-head .s-sub { font-size: 11.5px; color: #808080; margin-top: 3px; }
.eye-picker { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.eye-tile { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .09);
  background: #151515; color: #b9b9b9; display: grid; place-items: center; cursor: pointer; }
.eye-tile:hover { border-color: rgba(255, 255, 255, .28); color: #ededed; }
.eye-tile.on { border-color: #3b5bff; background: rgba(59, 91, 255, .16); color: #fff; }
.eye-tile svg { width: 18px; height: 18px; display: block; }
.eye-tile img { width: 20px; height: 20px; object-fit: contain; display: block; }
.eye-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 15px; }
.eye-foot .hint { margin: 0; }
.view-preview { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #c9c9c9; font-size: 11.5px; }
.view-preview svg { width: 12px; height: 12px; display: block; }
.view-preview img { width: 12px; height: 12px; object-fit: contain; display: block; }
.tw-done { margin-top: 2px; }


/* ---------- profile metadata panel ---------- */
.meta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 18px; align-items: start; }
.meta-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meta-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 104px; padding: 14px; border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 10px; background: rgba(255, 255, 255, .03); color: #9a9a9a;
  font-size: 12px; text-align: center; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.meta-drop:hover { border-color: rgba(255, 255, 255, .32); color: #e8e8e8; background: rgba(255, 255, 255, .05); }
.meta-drop svg { width: 22px; height: 22px; }
.meta-drop img { width: 100%; max-height: 72px; object-fit: cover; border-radius: 6px; }
.meta-preview { border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px; background: rgba(255, 255, 255, .02); }
.meta-preview-title { font-size: 15px; font-weight: 600; color: #9db4ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-preview-desc { font-size: 12px; color: #b5b5b5; margin-top: 6px; line-height: 1.5; }
.meta-preview-img {
  margin-top: 10px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: rgba(255, 255, 255, .05); display: grid; place-items: center; color: #6f6f6f; font-size: 12px;
}
.meta-preview-img img, .meta-preview-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.meta-preview-foot { margin-top: 8px; font-size: 11px; color: #7c7c7c; }
@media (max-width: 900px) { .meta-grid { grid-template-columns: 1fr; } .meta-uploads { grid-template-columns: 1fr; } }

/* Shared dialog and field boundaries. */
.site-dialog { width:min(480px,calc(100vw - 32px)); max-height:85vh; overflow:auto; color:#ededf4; background:#121218; border:1px solid #ffffff28; border-radius:18px; padding:26px; box-shadow:0 24px 90px #000a; }
.site-dialog::backdrop { background:#0009; backdrop-filter:blur(5px); }
.site-dialog p { white-space:pre-wrap; overflow-wrap:anywhere; margin:16px 0; }
.site-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
input[type="search"], input[placeholder*="Search"], input[placeholder*="search"] { box-sizing:border-box; min-width:0; max-width:100%; border-radius:12px; }
.claim-field { background:#141419; }
.claim-field .claim-prefix, .claim-field input, .name-input, .name-input > span, .name-input input { background:transparent; }
.name-input { background:#15151b; border-radius:12px; overflow:hidden; }
.name-input input:focus { background:transparent; }
