:root {
  --paper: #f6f8fb;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #475569;
  --muted: #64748b;
  --line: #e5eaf0;
  --line-2: #cbd5e1;
  --accent: #0284c7;
  --accent-solid: #1d9bf0;
  --accent-hover: #1580c9;
  --accent-ink: #ffffff;
  --accent-soft: #eff8ff;
  --blue-v: #1d9bf0;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --ok: #0284c7;
  --r: 14px;
  --wrap: 1140px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --mono: 'Inter', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum' 1, 'cv11' 1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 20px;
}

.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* —— Top Notice Strip —— */
.notice {
  background: var(--ink);
  color: #d9dbde;
  font-size: 12.5px;
}
.notice .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
}
.notice b { color: #fff; font-weight: 600; }

/* —— Sticky Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.brand-mark-svg {
  width: 32px;
  height: 32px;
  display: block;
  flex: none;
  filter: drop-shadow(0 3px 8px rgba(29, 155, 240, 0.24));
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover .brand-mark-svg {
  transform: scale(1.06) rotate(-2deg);
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
}
.brand-word em {
  font-style: normal;
  color: var(--accent-solid);
}
.brand i {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
@media (max-width: 1020px) {
  .brand i { display: none; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s;
}
.nav a:hover {
  color: var(--ink);
}
.nav a.on {
  color: var(--accent-solid);
  border-color: var(--accent-solid);
  font-weight: 600;
}

.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.live-dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #bae6fd;
  font-size: 12px;
  font-weight: 600;
}
.live-dot-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-solid);
  display: inline-block;
}

/* —— Refined Pill Buttons (Zero Harsh Black/Green) —— */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent-solid);
  background: var(--accent-solid);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: -0.01em;
  box-shadow: 0 3px 10px rgba(29, 155, 240, 0.22);
  transition: background 0.16s, border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(29, 155, 240, 0.28);
}
.btn:active { transform: translateY(0); }
.btn.sm {
  height: 34px;
  padding: 0 15px;
  font-size: 13px;
}
.btn.ghost {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn.ghost:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.btn.accent {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #fff;
}
.btn.accent:hover {
  background: var(--accent-hover);
}
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* —— Creative Real X Showcase Homepage —— */
.home-creative {
  position: relative;
  overflow: hidden;
  padding: 40px 0 54px;
}
.home-creative::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 25, 28, 0.08) 1px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 72% 58% at 50% 34%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 72% 58% at 50% 34%, #000 25%, transparent 90%);
  pointer-events: none;
}

.hc-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 0 20px;
}
.hc-intro h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink);
}
.hc-intro p {
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
}

/* —— 3D Interactive Real X Profile Stage —— */
.x-stage-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 20, 25, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.x-nav-arrow:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-50%) scale(1.06);
}
.x-nav-arrow.prev { left: 22px; }
.x-nav-arrow.next { right: 22px; }

.x-stage {
  position: relative;
  width: 100%;
  height: 600px;
  perspective: 1450px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

.x-win {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 20%;

  position: absolute;
  width: 424px;
  background: #ffffff;
  color: #0f1419;
  border-radius: 18px;
  border: 1px solid rgba(15, 20, 25, 0.1);
  overflow: hidden;
  box-shadow: 0 26px 64px -14px rgba(15, 20, 25, 0.2), 0 4px 16px rgba(15, 20, 25, 0.06);
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
  cursor: pointer;
  will-change: transform, opacity;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.x-win::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--gx) var(--gy), rgba(255, 255, 255, 0.18), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.x-win[data-pos="0"]:hover::after {
  opacity: 1;
}

.x-win[data-pos="0"] {
  z-index: 10;
  opacity: 1;
  cursor: default;
  transform: translate3d(0, 0, 42px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1);
}
.x-win[data-pos="-1"] {
  z-index: 7;
  opacity: 0.9;
  transform: translate3d(-312px, 14px, -75px) rotateY(16deg) rotateZ(-2.5deg) scale(0.88);
}
.x-win[data-pos="1"] {
  z-index: 7;
  opacity: 0.9;
  transform: translate3d(312px, 14px, -75px) rotateY(-16deg) rotateZ(2.5deg) scale(0.88);
}
.x-win[data-pos="-2"] {
  z-index: 4;
  opacity: 0.54;
  transform: translate3d(-548px, 32px, -170px) rotateY(24deg) rotateZ(-4.5deg) scale(0.76);
}
.x-win[data-pos="2"] {
  z-index: 4;
  opacity: 0.54;
  transform: translate3d(548px, 32px, -170px) rotateY(-24deg) rotateZ(4.5deg) scale(0.76);
}
.x-win[data-pos="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 40px, -260px) scale(0.65);
}

.x-win[data-pos="-1"]:hover {
  opacity: 0.98;
  transform: translate3d(-302px, 6px, -52px) rotateY(13deg) rotateZ(-2deg) scale(0.9);
}
.x-win[data-pos="1"]:hover {
  opacity: 0.98;
  transform: translate3d(302px, 6px, -52px) rotateY(-13deg) rotateZ(2deg) scale(0.9);
}

/* Authentic X Top Header Bar */
.xw-topbar {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #eff3f4;
}
.xw-back {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0f1419;
  flex: none;
}
.xw-top-meta {
  min-width: 0;
  flex: 1;
  line-height: 1.15;
}
.xw-top-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 14.5px;
  color: #0f1419;
  white-space: nowrap;
}
.xw-top-posts {
  font-size: 11.5px;
  color: #536471;
}
.xw-top-x {
  font-size: 15px;
  font-weight: 800;
  color: #0f1419;
}

/* Real Photographic Cover Banner */
.xw-cover {
  height: 122px;
  position: relative;
  overflow: hidden;
  background: #cfd9de;
}
.xw-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xw-body {
  padding: 0 16px;
}
.xw-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -36px;
  margin-bottom: 9px;
  position: relative;
  z-index: 2;
}
.xw-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  overflow: hidden;
  background: #eff3f4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex: none;
}
.xw-avatar.org {
  border-radius: 14px;
}
.xw-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xw-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
}
.xw-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cfd9de;
  background: #fff;
  color: #0f1419;
  display: grid;
  place-items: center;
}
.xw-follow-btn {
  height: 32px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid #0f1419;
  background: #0f1419;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s, background 0.2s, color 0.2s;
}
.xw-follow-btn:hover { background: #272c30; }
.xw-follow-btn:active { transform: scale(0.95); }
.xw-follow-btn.following {
  background: #ffffff;
  color: #0f1419;
  border-color: #cfd9de;
}

.xw-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 17.5px;
  line-height: 1.2;
  color: #0f1419;
}
.xw-handle {
  font-size: 13.5px;
  color: #536471;
  margin-bottom: 8px;
}
.xw-bio {
  font-size: 13.2px;
  line-height: 1.42;
  color: #0f1419;
  margin-bottom: 8px;
}
.xw-bio em {
  font-style: normal;
  color: #1d9bf0;
}
.xw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 12px;
  color: #536471;
  margin-bottom: 8px;
}
.xw-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.xw-meta a, .xw-meta i {
  font-style: normal;
  color: #1d9bf0;
}
.xw-counts {
  display: flex;
  gap: 16px;
  font-size: 12.8px;
  color: #536471;
  margin-bottom: 8px;
}
.xw-counts b {
  color: #0f1419;
  font-weight: 700;
}

/* Authentic X Profile Tab Bar */
.xw-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #eff3f4;
  margin: 0 -16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: #536471;
}
.xw-tabs span {
  padding: 9px 0;
  position: relative;
}
.xw-tabs span.on {
  color: #0f1419;
  font-weight: 700;
}
.xw-tabs span.on::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 3.5px;
  border-radius: 999px;
  background: #1d9bf0;
}

/* Authentic X Pinned Post Row */
.xw-post {
  padding: 10px 0 13px;
}
.xw-pin-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #536471;
  margin-bottom: 5px;
  padding-left: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.xw-post-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.xw-post-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #eff3f4;
}
.xw-post-ava.org {
  border-radius: 8px;
}
.xw-post-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xw-post-main {
  flex: 1;
  min-width: 0;
}
.xw-post-head {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
}
.xw-post-head b {
  font-weight: 700;
  color: #0f1419;
}
.xw-post-head small {
  font-size: 12.5px;
  color: #536471;
}
.xw-post-txt {
  font-size: 13px;
  line-height: 1.42;
  color: #0f1419;
  margin-bottom: 8px;
}
.xw-eng {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 310px;
  font-size: 12px;
  color: #536471;
}
.xw-eng button,
.xw-eng span {
  border: 0;
  background: none;
  color: #536471;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border-radius: 999px;
}
.xw-eng button {
  cursor: pointer;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.xw-eng button:hover {
  background: rgba(29, 155, 240, 0.1);
  color: #1d9bf0;
}
.xw-eng button.like-btn:hover,
.xw-eng button.like-btn.liked {
  background: rgba(249, 24, 128, 0.1);
  color: #f91880;
}
.xw-eng button.like-btn.liked {
  font-weight: 700;
}
@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.36); }
  100% { transform: scale(1); }
}
.xw-eng button.pop {
  animation: heartPop 0.32s ease;
}

/* —— Calm Bottom Dock (Dots + Core 2 Actions Only) —— */
.hc-dock {
  position: relative;
  z-index: 5;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.x-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.x-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s;
}
.x-dot.on {
  width: 24px;
  background: var(--accent-solid);
}
.hc-core-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .x-stage { height: 585px; }
  .x-win { width: 364px; }
  .x-win[data-pos="-1"] { transform: translate3d(-185px, 18px, -80px) rotateY(14deg) scale(0.85); }
  .x-win[data-pos="1"] { transform: translate3d(185px, 18px, -80px) rotateY(-14deg) scale(0.85); }
  .x-win[data-pos="-2"], .x-win[data-pos="2"] { opacity: 0; pointer-events: none; }
  .x-nav-arrow.prev { left: 8px; }
  .x-nav-arrow.next { right: 8px; }
}
@media (max-width: 540px) {
  .x-win { width: calc(100vw - 32px); max-width: 372px; }
  .x-win[data-pos="-1"], .x-win[data-pos="1"] { opacity: 0.22; transform: translate3d(0, 22px, -90px) scale(0.88); }
  .x-nav-arrow { display: none; }
}

/* —— Tactile Dot-Grid Hero —— */
.hero {
  position: relative;
  margin: 22px 0 16px;
  padding: 32px 38px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: center;
  background-color: #ece8df;
  background-image: radial-gradient(rgba(23, 25, 28, 0.13) 1px, transparent 1.2px);
  background-size: 18px 18px;
  border: 1px solid var(--line);
}
.hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(23, 25, 28, 0.08);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  font-weight: 700;
}
.hero p {
  margin: 0 0 18px;
  color: var(--ink-2);
  max-width: 510px;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-art {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* —— Live Cluster Facts Strip —— */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  margin-bottom: 28px;
}
.facts div {
  padding: 16px 20px;
}
.facts div + div {
  border-left: 1px solid var(--line);
}
.facts span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 3px;
}
.facts b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.facts b.emerald { color: var(--accent); }

/* —— Section Headings —— */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 14px;
}
.section-head h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.section-head span,
.section-head a.more {
  color: var(--muted);
  font-size: 13.5px;
}
.section-head a.more:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* —— 3 Pillar Entry Cards on Home —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.pillar:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pillar-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.pillar-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.pillar h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.pillar p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13.5px;
}
.pillar-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0ede6;
}
.pillar-foot b {
  font-size: 17px;
}
.pillar-foot span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* —— Filter Chips Bar —— */
.shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}
.chip-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  height: 34px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.16s ease;
}
.chip:hover {
  border-color: #93c5fd;
  color: var(--ink);
}
.chip.on {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #7dd3fc;
  font-weight: 600;
}
.shelf-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-select {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  outline: none;
}
.sort-select:hover {
  border-color: var(--line-2);
}

/* —— Clean Horizontal Account Store Table —— */
.sheet-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  overflow-x: auto;
}
.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sheet th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--muted);
  padding: 13px 18px;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sheet th.r,
.sheet td.r {
  text-align: right;
}
.sheet td {
  padding: 13px 18px;
  border-top: 1px solid #f1f5f9;
  white-space: nowrap;
  vertical-align: middle;
}
.sheet tbody tr:first-child td {
  border-top: 0;
}
.sheet tbody tr:hover td {
  background: #f8fbff;
}

.acc-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}
.acc-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: none;
  background: #e2e8f0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}
.acc-name-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.25;
}
.acc-handle-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.niche-single {
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-2);
}
.gain-val {
  color: var(--accent);
  font-weight: 600;
}
.fol-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
}
.fol-cell b {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.fol-bluev {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #bae6fd;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}
.price-single {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.mini:hover {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(29, 155, 240, 0.24);
}
.acc-footnote {
  margin: 14px 4px 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* —— Effective Views & Blue-V 500K Cards inside Accounts Tab —— */
.vp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.025);
}
.vp-card.featured {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 65%);
  box-shadow: 0 6px 22px rgba(29, 155, 240, 0.09);
}
.vp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vp-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.vp-tag.hi {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #bae6fd;
}
.vp-tag.gold {
  background: #fef3c7;
  color: #b45309;
}
.vp-price {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}
.vp-card h3 {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 650;
  color: var(--ink);
}
.vp-card p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.58;
  color: var(--muted);
  flex: 1;
}
.vp-card button {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 820px) {
  .sheet-wrap { overflow: visible; }
  .sheet { min-width: 0; }
  .sheet thead { display: none; }
  .sheet, .sheet tbody { display: block; }
  .sheet tr.grp { display: block; padding: 0; }
  .sheet tr.grp td { display: block; }
  .sheet tr:not(.grp) {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 12px 14px;
    border-top: 1px solid #ece8df;
  }
  .sheet tr:not(.grp) td {
    display: block;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .sheet td.col-region,
  .sheet td.col-spark,
  .sheet td.col-views {
    display: none;
  }
  .sheet td.col-acc { grid-column: 1; }
  .sheet td.col-niche { grid-column: 1; }
  .sheet td.col-fol { grid-column: 1; text-align: left; }
  .sheet td.col-gain { display: none; }
  .sheet td.col-price { grid-column: 2; grid-row: 1; text-align: right; }
  .sheet td.col-act { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
}

/* —— Account Cards Grid (Custody Managed Cards) —— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.acard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s;
}
.acard:hover { border-color: var(--ink); }
.acard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.acard-id {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15.5px;
}
.vcheck {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-v);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.acard-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.tier-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f2f0eb;
  color: var(--ink-2);
  white-space: nowrap;
}
.tier-pill.hi {
  background: var(--accent-soft);
  color: var(--accent);
}

.acard-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.acard-meta span {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f7f6f2;
  color: var(--ink-2);
  border: 1px solid #ece9e1;
}

.acard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #ece9e1;
  border-radius: 7px;
  background: #faf9f6;
}
.acard-stats div {
  padding: 9px 10px;
}
.acard-stats div + div {
  border-left: 1px solid #ece9e1;
}
.acard-stats label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.acard-stats b {
  font-size: 14.5px;
  font-weight: 700;
}
.acard-stats b.up { color: var(--accent); }

.spark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 0;
}
.spark-svg {
  width: 150px;
  height: 30px;
  display: block;
}
.spark-lbl {
  font-size: 11.5px;
  color: var(--muted);
}

.acard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f0ede6;
  margin-top: auto;
}
.acard-price b {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.acard-price small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.acard-btns {
  display: flex;
  gap: 6px;
}

/* —— Custody Interactive Bento Studio (3 Bespoke Modules) —— */
.cus-bento-top {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 18px;
  margin-top: 22px;
}
.cus-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.03);
}
.cus-card.accent-card {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 55%);
  box-shadow: 0 10px 30px rgba(29, 155, 240, 0.08);
}
.cus-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cus-step-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.cus-step-pill.hi {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #bae6fd;
}
.cus-step-pill.gold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.cus-rate-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}
.cus-title {
  margin: 2px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cus-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

/* Module 01 Visual Box & Cycle Switch */
.cus-viz-box {
  margin-top: 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #e0eefb;
  padding: 16px 18px 0;
  overflow: hidden;
}
.cus-viz-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.cus-viz-meta span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.cus-viz-meta b {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.cus-viz-meta b small {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.cus-viz-svg {
  width: calc(100% + 36px);
  margin: 0 -18px;
  height: 56px;
  display: block;
}
.cus-seg-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}
.cus-seg-lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.cus-seg {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 999px;
  gap: 3px;
}
.cus-seg button {
  border: 0;
  background: transparent;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.16s ease;
}
.cus-seg button.on {
  background: #ffffff;
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Module 02 Interactive Quantitative Blue-V Slider */
.cus-calc-panel {
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cus-calc-readout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.cus-calc-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.cus-calc-fans {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cus-calc-fans b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.cus-calc-cost {
  text-align: right;
}
.cus-calc-cost b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cus-calc-cost span {
  font-size: 12.5px;
  color: var(--muted);
}

.cus-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-solid) var(--pct, 0%), #e2e8f0 var(--pct, 0%));
  outline: none;
  cursor: pointer;
}
.cus-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-solid);
  box-shadow: 0 2px 8px rgba(29, 155, 240, 0.35);
  cursor: grab;
  transition: transform 0.14s ease;
}
.cus-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}
.cus-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-solid);
  box-shadow: 0 2px 8px rgba(29, 155, 240, 0.35);
  cursor: grab;
}

.cus-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.cus-presets button {
  height: 29px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cus-presets button:hover {
  border-color: #93c5fd;
  color: var(--ink);
}
.cus-presets button.on {
  background: var(--accent-soft);
  border-color: #7dd3fc;
  color: var(--accent);
  font-weight: 600;
}

/* Module 03 Signature Turnkey Creator Monetization Banner */
.cus-turnkey {
  margin-top: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #fffdf5 100%);
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
.cus-tk-title {
  margin: 10px 0 6px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cus-tk-desc {
  margin: 0 0 20px;
  font-size: 14.2px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 650px;
}
.cus-milestones {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ms-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.ms-step i {
  font-style: normal;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.ms-step.done {
  border-color: #7dd3fc;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.ms-step.done i {
  background: var(--accent-solid);
  color: #ffffff;
}
.ms-line {
  width: 22px;
  height: 1.5px;
  background: #cbd5e1;
}

.cus-tk-side {
  min-width: 236px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.cus-tk-price {
  text-align: right;
}
.cus-tk-price .tk-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 2px;
}
.cus-tk-price b {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.08;
}
.cus-tk-price small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

@media (max-width: 920px) {
  .cus-bento-top { grid-template-columns: 1fr; }
  .cus-turnkey { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .cus-tk-side { padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--line); align-items: flex-start; width: 100%; }
  .cus-tk-price { text-align: left; }
}

/* —— Plan Cards (Media Vault) —— */
.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.025);
}
.plan-card.featured {
  border-color: #7dd3fc;
  box-shadow: 0 8px 28px rgba(29, 155, 240, 0.1);
}
.plan-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink-2);
}
.plan-card.featured .plan-badge {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #bae6fd;
}
.plan-card h3 {
  margin: 0;
  font-size: 18.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.plan-price {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.plan-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.plan-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.plan-ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.plan-ul li::before {
  content: '✓';
  color: var(--accent-solid);
  font-weight: 700;
  margin-right: 8px;
}
.plan-card .btn {
  margin-top: auto;
}

/* —— Viral Media Vault Showcase Studio (.vlt-*) —— */
.vlt-hero {
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vlt-hero-main h1 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.vlt-hero-main p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 780px;
}
.vlt-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vlt-spec-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2);
}
.vlt-spec-pill.hi {
  background: var(--accent-soft);
  border-color: #bae6fd;
  color: var(--accent);
  font-weight: 600;
}

.vlt-bar {
  margin-top: 16px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}
.vlt-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.vcat {
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f8fafc;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.16s ease;
}
.vcat:hover {
  background: #eff6ff;
  color: var(--ink);
}
.vcat.on {
  background: linear-gradient(135deg, #1d9bf0 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.24);
}
.vlt-bar-hint {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.vlt-gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vcard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.vcard:hover {
  transform: translateY(-3px);
  border-color: #7dd3fc;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.vcard-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  overflow: hidden;
  cursor: pointer;
}
.vcard-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.vcard:hover .vcard-stage video {
  transform: scale(1.03);
}
.vc-hud-top {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.vc-chip-clean {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.vc-chip-dur {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(29, 155, 240, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.vc-preview-pill {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.vcard:hover .vc-preview-pill {
  opacity: 1;
  transform: translateY(0);
}

.vcard-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.vc-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vc-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 9px;
  border-radius: 999px;
}
.vc-res {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.vc-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.vc-hook-box {
  margin-top: auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vc-hook-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vc-hook-head span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.vc-copy-hook {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.14s ease;
}
.vc-copy-hook:hover {
  border-color: var(--accent-solid);
  color: var(--accent);
}
.vc-hook-txt {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Before vs After Comparison Strip */
.vlt-compare {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vcmp-col {
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}
.vcmp-col.bad {
  background: #f8fafc;
}
.vcmp-col.good {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 70%);
  border-color: #bae6fd;
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.06);
}
.vcmp-col b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.vcmp-col.good b {
  color: var(--accent);
}
.vcmp-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.4px;
  color: var(--ink-2);
}
.vcmp-col.bad li::before {
  content: '✕';
  color: #94a3b8;
  font-weight: 700;
  margin-right: 8px;
}
.vcmp-col.good li::before {
  content: '✓';
  color: var(--accent-solid);
  font-weight: 700;
  margin-right: 8px;
}

/* Live X Post Preview Modal */
.vpost-modal {
  max-width: 580px;
  border-radius: 20px;
  padding: 22px 24px;
}
.vpost-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}
.vpost-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.vpost-ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.vpost-who b {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  color: var(--ink);
}
.vpost-who span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.vpost-follow {
  margin-left: auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}
.vpost-text {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--ink);
}
.vpost-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 16 / 9;
  border: 1px solid #e2e8f0;
}
.vpost-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vpost-dur {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  pointer-events: none;
}
.vpost-metrics {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.8px;
  color: var(--muted);
  font-weight: 500;
}
.vpost-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .vlt-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .vlt-compare { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .vlt-gallery { grid-template-columns: 1fr; }
}

/* —— Page Lead Header —— */
.page-lead {
  padding: 28px 0 4px;
}
.page-lead h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 680px;
}

/* —— Callout / Custom Slot Bottom Bar —— */
.callout {
  background: var(--warn-soft);
  color: var(--warn);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  margin: 12px 0;
}
.callout.calm {
  background: var(--accent-soft);
  color: var(--accent);
}
.custom-banner {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cb-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cb-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
}
.cb-left b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.cb-left span:not(.cb-badge) {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.cb-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.cb-right b {
  font-size: 18px;
  font-weight: 700;
}

/* —— FAQ —— */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 780px; }

/* —— Auth & Member Center (matching vynqlo layout) —— */
.auth {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 44px;
  padding: 40px 0 20px;
  align-items: start;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.auth-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.auth-tabs button {
  background: none;
  border: 0;
  padding: 8px 0 10px;
  font-size: 15px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.auth-tabs button.on {
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  outline: 0;
  font-size: 14px;
}
.field input:focus,
.field select:focus {
  border-color: var(--ink);
}
.form-err {
  color: var(--warn);
  font-size: 13px;
  margin: 0 0 12px;
}
.auth-side h2 {
  font-size: 20px;
  margin: 6px 0 14px;
  letter-spacing: -0.02em;
}
.auth-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-side li b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.auth-side li span {
  color: var(--ink-2);
  font-size: 13.5px;
}

/* —— Member Account Dashboard —— */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 12px;
}
.crumbs a:hover { color: var(--ink); }
.acct {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.acct-nav {
  position: sticky;
  top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acct-who {
  padding: 6px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.acct-who b {
  display: block;
  font-size: 14px;
  word-break: break-all;
}
.acct-who span {
  font-size: 12px;
  color: var(--muted);
}
.acct-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.acct-nav a:hover {
  background: #f1f5f9;
  color: var(--ink);
}
.acct-nav a.on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.linkish {
  background: none;
  border: 0;
  text-align: left;
  padding: 9px 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13.5px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.linkish:hover { color: var(--warn); }

.wallet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 26px;
  border-radius: var(--r);
  color: var(--ink);
  background: linear-gradient(135deg, #eff8ff 0%, #ffffff 100%);
  border: 1px solid #bae6fd;
}
.wallet-head .muted-light { color: var(--muted); font-size: 13px; display: block; }
.wallet-head b { font-size: 32px; letter-spacing: -0.025em; display: block; line-height: 1.15; margin: 3px 0; color: var(--ink); }
.wallet-head small { color: var(--muted); font-size: 12.5px; }

.managed-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  margin-top: 16px;
}
.ltable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}
.ltable th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  background: #faf9f6;
}
.ltable td {
  padding: 10px;
  border-bottom: 1px solid #f0ede6;
}

/* —— Checkout Modal —— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(23, 25, 28, 0.48);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-panel {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 20px 50px rgba(23, 25, 28, 0.18);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal-top h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.close-x {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #faf9f6;
  cursor: pointer;
}
.net-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.net-btn {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
}
.net-btn b { display: block; font-size: 13.5px; }
.net-btn span { font-size: 12px; color: var(--muted); }
.net-btn.on {
  border-color: var(--accent-solid);
  box-shadow: inset 0 0 0 1px var(--accent-solid);
  background: var(--accent-soft);
}
.usdt-grid {
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f6;
}
.qr-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  place-items: center;
}
.qr-box svg { width: 140px; height: 140px; display: block; }
.pay-kv {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e1;
  font-size: 13px;
}
.pay-kv:last-child { border-bottom: 0; }
.pay-kv span { color: var(--muted); }
.copy-btn {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 5px;
  height: 28px;
  padding: 0 9px;
  font-size: 12px;
  cursor: pointer;
}

/* —— Footer —— */
.foot {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}
.foot .brand { display: flex; width: fit-content; }
.foot [data-i18n="footDesc"] { display: block; max-width: 340px; }
.foot b { color: var(--ink); display: block; margin-bottom: 8px; font-size: 13.5px; }
.foot a { display: block; line-height: 1.9; }
.foot a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .hero-art { max-width: 300px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .pillars, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .vault-tracks { grid-template-columns: repeat(2, 1fr); }
  .auth, .acct { grid-template-columns: 1fr; }
  .acct-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .acct-who { width: 100%; }
}

@media (max-width: 640px) {
  .top .wrap { gap: 12px; height: auto; padding-block: 10px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; gap: 8px; font-size: 13.5px; }
  .pillars, .grid-3, .vault-tracks, .net-grid, .usdt-grid, .foot-grid { grid-template-columns: 1fr; }
  .qr-box { max-width: 180px; margin: 0 auto; }
}

/* ==================== Live Support Chat Widget (.cs-fab & .cs-panel) ==================== */
.cs-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, #1d9bf0 0%, #0284c7 100%);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.34), 0 2px 6px rgba(15, 23, 42, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.cs-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.42), 0 4px 10px rgba(15, 23, 42, 0.12);
  filter: brightness(1.03);
}
.cs-fab.on {
  background: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}
.cs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #ffffff;
  margin-left: 2px;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.cs-panel {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 96;
  width: 386px;
  max-width: calc(100vw - 28px);
  height: 548px;
  max-height: calc(100vh - 110px);
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cs-panel[hidden] {
  display: none !important;
}

.cs-head {
  padding: 15px 18px;
  background: linear-gradient(135deg, #0284c7 0%, #1d9bf0 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cs-head b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cs-head small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 1px;
}
.cs-x {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.cs-x:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cs-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 15px 12px;
  background: #f6f8fb;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cs-msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.6px;
  line-height: 1.56;
  word-break: break-word;
  position: relative;
}
.cs-msg.them {
  align-self: flex-start;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.cs-msg.me {
  align-self: flex-end;
  background: linear-gradient(135deg, #1d9bf0 0%, #0284c7 100%);
  color: #ffffff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
.cs-msg a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}
.cs-msg.me a {
  color: #ffffff;
}
.cs-who {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 3px;
}
.cs-msg time {
  display: block;
  font-size: 10.5px;
  margin-top: 4px;
  opacity: 0.65;
  text-align: right;
}
.cs-imgbox {
  margin-top: 2px;
}
.cs-img {
  max-width: 210px;
  max-height: 220px;
  border-radius: 9px;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.cs-quick {
  padding: 8px 12px;
  background: #f6f8fb;
  border-top: 1px solid #eaeff6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cs-quick[hidden] {
  display: none !important;
}
.cs-qbtn {
  border: 1px solid #bae6fd;
  background: #ffffff;
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.14s ease;
}
.cs-qbtn:hover {
  background: var(--accent-soft);
  border-color: #38bdf8;
}

.cs-form {
  padding: 10px 12px 12px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-err {
  margin: 0;
  font-size: 12px;
  color: var(--warn);
}
.cs-contact {
  width: 100%;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #f8fafc;
  font-size: 12.2px;
  outline: none;
}
.cs-contact:focus {
  border-color: var(--accent-solid);
  background: #ffffff;
}
.cs-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.cs-pic {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #f8fafc;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cs-pic:hover {
  border-color: #7dd3fc;
  color: var(--accent);
  background: var(--accent-soft);
}
.cs-row textarea {
  flex: 1;
  min-height: 38px;
  max-height: 92px;
  resize: none;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #f8fafc;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.42;
  outline: none;
}
.cs-row textarea:focus {
  border-color: var(--accent-solid);
  background: #ffffff;
}

@media (max-width: 560px) {
  .cs-fab {
    right: 14px;
    bottom: 14px;
    height: 44px;
    padding: 0 16px 0 14px;
    font-size: 13.5px;
  }
  .cs-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 82vh;
    max-height: 82vh;
    border-radius: 18px 18px 0 0;
  }
}
