/* ════════════════════════════════════════════════════════
   Terminal Grid V2 — unified theme (preview → main)
   Asset dock · cyber orb · nodes screenshot · nav · scroll
   ════════════════════════════════════════════════════════ */

/* ── Scrollbars hidden everywhere ───────────────────── */
.scroll,
.network-scroll,
.earn-scroll,
.wallet-scroll,
.nodes-scroll,
.app-pages,
.balance-modal__body,
.chakra-modal__body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll::-webkit-scrollbar,
.network-scroll::-webkit-scrollbar,
.earn-scroll::-webkit-scrollbar,
.wallet-scroll::-webkit-scrollbar,
.nodes-scroll::-webkit-scrollbar,
.app-pages::-webkit-scrollbar,
.balance-modal__body::-webkit-scrollbar,
.chakra-modal__body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ── Topbar V2 + asset dock ───────────────────────────── */
.topbar--v2 {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.app[data-active-tab="wallet"] .asset-dock {
  display: none;
}

.asset-dock {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 72px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(23, 18, 16, 0.95) 0%, rgba(15, 12, 10, 0.9) 100%);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Guard against legacy .topbar-balance pill styles colliding with the dock. */
.asset-dock .asset-dock__cell.topbar-balance {
  display: flex;
  flex: unset;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px 10px 10px 11px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.asset-dock__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255, 170, 84, 0.2), rgba(216, 132, 255, 0.2), transparent);
}

.asset-dock__cell {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 10px 10px 11px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}
.asset-dock__cell:active { background: rgba(255, 255, 255, 0.03); }

.asset-dock__glow {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.asset-dock__cell--usdt .asset-dock__glow {
  background: radial-gradient(ellipse 90% 80% at 0% 50%, rgba(255, 122, 26, 0.14), transparent 70%);
}
.asset-dock__cell--cryo .asset-dock__glow {
  background: radial-gradient(ellipse 90% 80% at 100% 50%, rgba(216, 132, 255, 0.12), transparent 70%);
}

.asset-dock__cell--usdt::before,
.asset-dock__cell--cryo::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
}
.asset-dock__cell--usdt::before {
  left: 0;
  background: linear-gradient(180deg, transparent, var(--grid), transparent);
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.45);
}
.asset-dock__cell--cryo::before {
  right: 0;
  background: linear-gradient(180deg, transparent, var(--cryo), transparent);
  box-shadow: 0 0 10px rgba(216, 132, 255, 0.35);
}

.asset-dock__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-dock__icon svg { width: 18px; height: 18px; }
.asset-dock__cell--usdt .asset-dock__icon {
  color: var(--grid);
  background: var(--primary-dim);
  border: 1px solid rgba(255, 122, 26, 0.3);
}
.asset-dock__cell--cryo .asset-dock__icon {
  color: var(--cryo);
  background: var(--premium-dim);
  border: 1px solid rgba(216, 132, 255, 0.3);
}

.asset-dock__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.asset-dock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}
.asset-dock__name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.asset-dock__cell--usdt .asset-dock__name { color: var(--grid-2); }
.asset-dock__cell--cryo .asset-dock__name { color: var(--cryo); }

.asset-dock__tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 1px 5px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.asset-dock__val {
  font-family: var(--font-mono);
  font-size: clamp(20px, 5.5vw, 24px);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset-dock__cell--usdt .asset-dock__val { color: var(--grid); }
.asset-dock__cell--cryo .asset-dock__val { color: var(--cryo); }

.asset-dock__hint {
  font-size: 9px;
  color: var(--text-faint);
  line-height: 1.25;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.asset-dock__val--ping,
.topbar-balance__val--ping {
  animation: asset-dock-ping 0.45s var(--ease-out);
}
@keyframes asset-dock-ping {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ── Cyber orb (core) ─────────────────────────────────── */
.core-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  gap: 12px;
  padding: 2px 0 4px;
}

.core-page__status {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

.core-page__status .status-strip--pill {
  position: relative;
  z-index: 4;
  margin: 0;
}

.core-page__action {
  flex: 0 0 auto !important;
  width: 100%;
  padding: 0;
}

.cyber-orb-zone {
  width: var(--core-hero-size);
  height: var(--core-hero-size);
  min-height: var(--core-hero-size);
  max-height: var(--core-hero-size);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
}

.core-page--cool .cyber-orb-zone,
.core-page:has(.core-metrics--recharging) .cyber-orb-zone {
  width: var(--core-hero-size-cooldown);
  height: var(--core-hero-size-cooldown);
  min-height: var(--core-hero-size-cooldown);
  max-height: var(--core-hero-size-cooldown);
}

.cyber-orb {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cyber-orb__outer-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.15) 0%, rgba(216, 132, 255, 0.08) 50%, transparent 70%);
  filter: blur(28px);
  animation: v2-glow-pulse 2.5s ease-in-out infinite;
}

.cyber-orb__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cyber-orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
}
.cyber-orb__ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(255, 122, 26, 0.28);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.25);
  animation: v2-rotate 20s linear infinite;
}
.cyber-orb__ring--2 {
  width: 82%;
  height: 82%;
  border-color: rgba(216, 132, 255, 0.35);
  box-shadow: 0 0 14px rgba(216, 132, 255, 0.2);
  animation: v2-rotate 15s linear infinite reverse;
}
.cyber-orb__ring--3 {
  width: 64%;
  height: 64%;
  border-width: 1px;
  border-color: rgba(255, 176, 74, 0.45);
  animation: v2-ring-pulse 3s ease-in-out infinite;
}

.cyber-orb__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--grid-2);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.45);
}
.cyber-orb__ring--1 .cyber-orb__dot--a { top: 0; left: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); }
.cyber-orb__ring--1 .cyber-orb__dot--b { bottom: 0; left: 50%; width: 6px; height: 6px; transform: translate(-50%, 50%); background: var(--cryo); box-shadow: 0 0 8px rgba(216, 132, 255, 0.5); }
.cyber-orb__ring--2 .cyber-orb__dot--c { top: 50%; right: 0; width: 7px; height: 7px; transform: translate(50%, -50%); }
.cyber-orb__ring--2 .cyber-orb__dot--d { top: 50%; left: 0; width: 6px; height: 6px; transform: translate(-50%, -50%); background: var(--cryo); }

.cyber-orb__btn-wrap { position: relative; z-index: 2; }

.cyber-orb__btn {
  position: relative;
  width: clamp(140px, 38vw, 168px);
  height: clamp(140px, 38vw, 168px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  background: radial-gradient(circle at 30% 28%, #ffe08a 0%, var(--grid) 38%, #b45309 100%);
  box-shadow:
    0 0 40px rgba(255, 122, 26, 0.55),
    0 0 80px rgba(255, 122, 26, 0.25),
    inset 0 0 36px rgba(255, 157, 46, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cyber-orb__btn:active,
.cyber-orb__btn.ai-core--charging {
  transform: scale(0.95);
  box-shadow:
    0 0 30px rgba(255, 122, 26, 0.75),
    0 0 60px rgba(216, 132, 255, 0.35),
    inset 0 0 48px rgba(255, 122, 26, 0.45);
}

.cyber-orb__btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%);
  border-radius: 50%;
  pointer-events: none;
}
.cyber-orb__btn-inner {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: linear-gradient(225deg, rgba(216, 132, 255, 0.2) 0%, transparent 55%);
  animation: v2-pulse-inner 2s ease-in-out infinite;
  pointer-events: none;
}
.cyber-orb__btn-core {
  position: absolute;
  top: 22%;
  left: 22%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(10px);
  pointer-events: none;
}
.cyber-orb__scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}
.cyber-orb__scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: v2-scan-pulse 2s ease-in-out infinite;
}

.cyber-orb__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;
  gap: 2px;
}
.cyber-orb__title {
  font-size: clamp(18px, 5.2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.cyber-orb__hint {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 235, 210, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  text-align: center;
  line-height: 1.15;
  max-width: 92%;
}
.cyber-orb__hint .ai-core__tap-hint__cmd {
  display: none;
}
.cyber-orb__hint .ai-core__tap-hint__line {
  display: block;
  font-size: 8px;
  opacity: 0.9;
}
.cyber-orb__hint .ai-core__tap-hint__line--grid { color: var(--grid-2); }
.cyber-orb__hint .ai-core__tap-hint__line--pending {
  font-size: clamp(16px, 5vw, 24px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 1;
  line-height: 1.05;
  color: var(--grid-2);
}
.cyber-orb__hint .ai-core__tap-hint__line--cryo { color: var(--cryo); }

.cyber-orb__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 176, 74, 0.55);
  border-style: solid;
  pointer-events: none;
}
.cyber-orb__corner--tl { top: 18%; left: 18%; border-width: 2px 0 0 2px; }
.cyber-orb__corner--tr { top: 18%; right: 18%; border-width: 2px 2px 0 0; }
.cyber-orb__corner--bl { bottom: 18%; left: 18%; border-width: 0 0 2px 2px; }
.cyber-orb__corner--br { bottom: 18%; right: 18%; border-width: 0 2px 2px 0; }

.cyber-orb__dots {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.cyber-orb__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grid);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.45);
  animation: v2-dot-pulse 1.5s ease-in-out infinite;
}
.cyber-orb__dots span:nth-child(2) { animation-delay: 0.2s; background: var(--grid-2); }
.cyber-orb__dots span:nth-child(3) { animation-delay: 0.4s; background: var(--cryo); box-shadow: 0 0 8px rgba(216, 132, 255, 0.5); }

/* ── Core temperature: hot (ready) vs cool (recharging) ─ */
.cyber-orb--hot .cyber-orb__outer-glow {
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.22) 0%, rgba(216, 132, 255, 0.1) 50%, transparent 70%);
}
.cyber-orb--hot .cyber-orb__btn {
  background: radial-gradient(circle at 30% 28%, #ffe08a 0%, var(--grid) 38%, #b45309 100%);
  box-shadow:
    0 0 40px rgba(255, 122, 26, 0.55),
    0 0 80px rgba(255, 122, 26, 0.25),
    inset 0 0 36px rgba(255, 157, 46, 0.35);
  filter: none;
  opacity: 1;
}
.cyber-orb--hot .cyber-orb__ring--1 {
  border-color: rgba(255, 122, 26, 0.35);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.3);
}
.cyber-orb--hot .cyber-orb__ring--2 {
  border-color: rgba(216, 132, 255, 0.4);
}
.cyber-orb--hot .cyber-orb__dots span {
  opacity: 1;
}

.cyber-orb--cool .cyber-orb__outer-glow {
  opacity: 0.35;
  animation: none;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.06) 0%, rgba(80, 60, 40, 0.04) 55%, transparent 72%);
  filter: blur(22px);
}
.cyber-orb--cool .cyber-orb__ring--1 {
  border-color: rgba(255, 122, 26, 0.1);
  box-shadow: none;
  animation-duration: 48s;
}
.cyber-orb--cool .cyber-orb__ring--2 {
  border-color: rgba(216, 132, 255, 0.12);
  animation-duration: 36s;
}
.cyber-orb--cool .cyber-orb__ring--3 {
  border-color: rgba(255, 176, 74, 0.15);
  animation: none;
  opacity: 0.4;
}
.cyber-orb--cool .cyber-orb__dot {
  opacity: 0.35;
  box-shadow: none;
}
.cyber-orb--cool .cyber-orb__btn {
  background: radial-gradient(circle at 32% 30%, #6a5040 0%, #3d2818 42%, #1a120c 100%);
  box-shadow:
    0 0 18px rgba(255, 122, 26, 0.12),
    inset 0 0 28px rgba(0, 0, 0, 0.45);
  filter: saturate(0.35) brightness(0.78);
  opacity: 0.92;
}
.cyber-orb--cool .cyber-orb__btn-inner,
.cyber-orb--cool .cyber-orb__scan {
  opacity: 0.12;
  animation: none;
}
.cyber-orb--cool .cyber-orb__title {
  color: rgba(255, 235, 210, 0.72);
}
.cyber-orb--cool .cyber-orb__corner {
  border-color: rgba(255, 176, 74, 0.2);
}
.cyber-orb--cool .cyber-orb__dots span {
  opacity: 0.25;
  animation: none;
  box-shadow: none;
}

.cyber-orb__hint.ai-core__tap-hint--hidden {
  display: none;
}

.core-page--hot .core-tap-timer--visible {
  color: var(--grid-2);
}
.core-page--cool .core-tap-timer--visible {
  color: rgba(255, 176, 74, 0.55);
}

.ai-core--recharging.cyber-orb__btn,
.cyber-orb--cool .cyber-orb__btn.ai-core--recharging {
  filter: saturate(0.35) brightness(0.78);
}
.ai-core--complete .cyber-orb__btn {
  box-shadow:
    0 0 50px rgba(56, 217, 150, 0.45),
    inset 0 0 36px rgba(56, 217, 150, 0.2);
}

@keyframes v2-rotate { to { transform: rotate(360deg); } }
@keyframes v2-glow-pulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes v2-ring-pulse { 0%, 100% { transform: scale(1); opacity: 0.55; } 50% { transform: scale(1.06); opacity: 0.85; } }
@keyframes v2-pulse-inner { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }
@keyframes v2-scan-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@keyframes v2-dot-pulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }

/* ── Bottom nav — labels always visible ───────────────── */
.nav__tab .nav__label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0.55;
  max-height: none;
  overflow: visible;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav__tab.nav__tab--active .nav__label {
  opacity: 1;
  color: var(--grid-2);
}
.nav__tab:not(.nav__tab--core)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--grid);
  border-radius: 2px;
  transition: width 0.22s ease;
  box-shadow: 0 0 6px rgba(255, 122, 26, 0.45);
  z-index: 2;
}
.nav__tab:not(.nav__tab--core).nav__tab--active::after {
  width: calc(100% - 10px);
  max-width: 44px;
}
.nav__tab:not(.nav__tab--core)::before {
  opacity: 0 !important;
}
.nav__tab--core .nav__icon--core {
  border-color: rgba(255, 122, 26, 0.45);
  background: linear-gradient(145deg, var(--primary-dim), var(--premium-dim));
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.45);
}
.nav__tab--core:not(.nav__tab--active) .nav__icon--core {
  opacity: 0.7;
  border-color: rgba(255, 122, 26, 0.28);
  background: var(--surface);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
.nav__tab--core.nav__tab--active .nav__icon--core {
  border-color: var(--grid);
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.5);
}

/* ── Page titles — solid, no animation ──────────────── */
.screen-head__title {
  color: #fff;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
.screen-head--earn .screen-head__title,
.screen-head--network .screen-head__title {
  font-size: clamp(24px, 7vw, 32px);
}

/* ── Nodes page — screenshot style ──────────────────── */
.screen-head--nodes .screen-head__sub {
  display: none;
}

.screen-head__title--nodes {
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.nodes-tabs__btn {
  border-radius: 10px;
  background: transparent;
}
.nodes-tabs__btn--active {
  color: var(--grid);
  border: 2px solid var(--grid);
  background: rgba(255, 122, 26, 0.08);
}

.store-list {
  gap: 12px;
}

.node-card--store,
.node-card--mine {
  border-radius: 12px;
  border: 1px solid rgba(140, 92, 255, 0.22);
  background: rgba(12, 10, 14, 0.92);
  transition: none;
  animation: none;
}

.node-card--store.node-card--owned {
  border-color: rgba(140, 92, 255, 0.32);
}

.node-card__hero-val {
  color: var(--grid);
}

.node-card__activate--owned,
.node-card__activate.deploy-btn--owned {
  color: #38f27a;
  background: #1b2e1b;
  border-top: 1px solid rgba(56, 217, 150, 0.2);
  cursor: default;
}

.node-card__activate--ready {
  color: var(--grid-2);
  background: rgba(255, 122, 26, 0.12);
  border-top: 1px solid rgba(255, 122, 26, 0.2);
}

.node-card__cryo-badge {
  color: var(--cryo);
  background: rgba(140, 92, 255, 0.14);
  border-color: rgba(140, 92, 255, 0.35);
}

.node-card__details-summary {
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Kill legacy node card motion */
.node-card {
  transition: none !important;
  animation: none !important;
}

@media (max-width: 360px) {
  .asset-dock__hint { display: none; }
  .asset-dock__tag { display: none; }
  .asset-dock { min-height: 64px; }
  .nav__tab .nav__label { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-orb__ring,
  .cyber-orb__outer-glow,
  .cyber-orb__btn-inner,
  .cyber-orb__scan-line,
  .cyber-orb__dots span {
    animation: none !important;
  }
}

/* Accordion Compact Nodes v1 — SCOPED to buy-store cards only */
#storeList.store-list--buy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: none;
}

#storeList.store-list--buy > .node-card--store.node-card--accordion {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.09);
  background: #0d0c0f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#storeList.store-list--buy > .node-card--accordion:focus-visible {
  outline: 2px solid rgba(255, 122, 26, 0.65);
  outline-offset: 2px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__top {
  min-height: 30px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.22);
}

#storeList.store-list--buy > .node-card--accordion .node-card__top-actions {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__cryo-badge {
  padding: 3px 7px;
  font-size: 8px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__expand-indicator {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.42);
  transition: transform 220ms ease, color 220ms ease;
}

#storeList.store-list--buy > .node-card--accordion .node-card__expand-indicator::before,
#storeList.store-list--buy > .node-card--accordion .node-card__expand-indicator::after {
  position: absolute;
  top: 6px;
  left: 2px;
  width: 10px;
  height: 1px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

#storeList.store-list--buy > .node-card--accordion .node-card__expand-indicator::after {
  transform: rotate(90deg);
}

#storeList.store-list--buy > .node-card--accordion.expanded .node-card__expand-indicator {
  color: rgba(255, 171, 110, 0.88);
  transform: rotate(45deg);
}

#storeList.store-list--buy > .node-card--accordion .node-card__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 22px);
  min-height: 58px;
  padding: 7px 10px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__hero-label {
  flex: 0 0 auto;
  font-size: 8px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__hero-val {
  margin-top: 0;
  font-size: clamp(22px, 6.2vw, 29px);
}

#storeList.store-list--buy > .node-card--accordion .node-card__accordion {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  opacity: 0;
  transition:
    grid-template-rows 240ms cubic-bezier(0.22, 0.8, 0.28, 1),
    opacity 180ms ease,
    border-color 180ms ease;
}

#storeList.store-list--buy > .node-card--accordion .node-card__accordion-inner {
  min-height: 0;
  padding: 0 12px;
  overflow: hidden;
}

#storeList.store-list--buy > .node-card--accordion.expanded .node-card__accordion {
  grid-template-rows: 1fr;
  border-top-color: rgba(255, 255, 255, 0.055);
  opacity: 1;
}

#storeList.store-list--buy > .node-card--accordion.expanded .node-card__accordion-inner {
  padding-top: 9px;
  padding-bottom: 10px;
}

#storeList.store-list--buy > .node-card--accordion .node-card__accordion-stat {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

#storeList.store-list--buy > .node-card--accordion .node-card__accordion-tip {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  line-height: 1.35;
}

#storeList.store-list--buy > .node-card--accordion .node-card__activate {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 10px;
}

@media (max-width: 340px) {
  #storeList.store-list--buy { gap: 7px; }
  #storeList.store-list--buy > .node-card--accordion .node-card__hero { min-height: 54px; }
  #storeList.store-list--buy > .node-card--accordion .node-card__hero-val { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  #storeList.store-list--buy > .node-card--accordion .node-card__accordion,
  #storeList.store-list--buy > .node-card--accordion .node-card__expand-indicator {
    transition: none;
  }
}

/* Activation conversion banner v1 — below header, outside page panels */
.activation-cta {
  box-sizing: border-box;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: none;
  min-height: 58px;
  margin: 0 0 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 122, 26, 0.38);
  border-radius: 11px;
  background: rgba(13, 12, 15, 0.96);
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-ui, var(--font-sans));
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.app[data-active-tab="pulse"] .activation-cta:not([hidden]) {
  display: flex;
}

.activation-cta[hidden],
.app:not([data-active-tab="pulse"]) .activation-cta {
  display: none !important;
}

.activation-cta:active {
  border-color: rgba(255, 154, 74, 0.68);
  background: rgba(20, 17, 20, 0.98);
}

.activation-cta:focus-visible {
  outline: 2px solid rgba(255, 154, 74, 0.82);
  outline-offset: 2px;
}

.activation-cta__copy {
  max-width: 34ch;
  font-size: clamp(12px, 3.4vw, 14px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.005em;
}

.activation-cta__copy strong {
  color: #ffab6e;
  font-weight: 800;
}

.activation-cta__arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #ff9a5f;
  transition: transform 180ms ease;
}

.activation-cta:active .activation-cta__arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .activation-cta,
  .activation-cta__arrow {
    transition: none;
  }
}

/* ── Welcome letter (first-run onboarding) ───────────── */
.welcome-letter {
  --wl-ink: #fff6ec;
  --wl-ink-soft: rgba(255, 246, 236, 0.92);
  --wl-gold: #ffc56a;
  --wl-orange: #ff9a4a;
  --wl-font: "Outfit", system-ui, sans-serif;
  --wl-mono: "JetBrains Mono", ui-monospace, monospace;
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(16px, env(safe-area-inset-top, 0px))
    16px
    max(16px, env(safe-area-inset-bottom, 0px));
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
  font-family: var(--wl-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.welcome-letter--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-letter__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.welcome-letter__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  max-height: min(88dvh, 700px);
  overflow: auto;
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 106, 0.42);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 138, 43, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(34, 22, 16, 0.99) 0%, rgba(14, 11, 12, 0.99) 52%, rgba(11, 9, 14, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(216, 132, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 48px rgba(255, 122, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.welcome-letter:not(.welcome-letter--hidden) .welcome-letter__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.welcome-letter__scan {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 198, 106, 0.9), rgba(216, 132, 255, 0.55), transparent);
  box-shadow: 0 0 14px rgba(255, 154, 74, 0.55);
  pointer-events: none;
}

.welcome-letter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 198, 106, 0.16);
}

.welcome-letter__tag {
  font-family: var(--wl-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wl-gold);
  text-shadow: 0 0 18px rgba(255, 176, 106, 0.35);
}

.welcome-letter__status {
  font-family: var(--wl-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e0a8ff;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(216, 132, 255, 0.4);
}

.welcome-letter__title {
  margin: 0 0 12px;
  font-family: var(--wl-font);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(105deg, #fff8f0 0%, #ffd089 42%, #ff9a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 154, 74, 0.28));
}

.welcome-letter__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

.welcome-letter__body p {
  margin: 0;
  font-family: var(--wl-font);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--wl-ink-soft);
}

.welcome-letter__body strong {
  font-weight: 800;
  color: var(--wl-gold);
  text-shadow: 0 0 12px rgba(255, 176, 106, 0.28);
}

.welcome-letter__lead {
  padding: 11px 12px;
  border-left: 2px solid rgba(255, 176, 106, 0.9);
  background: linear-gradient(90deg, rgba(255, 138, 43, 0.14), rgba(255, 122, 26, 0.04));
  color: var(--wl-ink) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 24px rgba(255, 154, 74, 0.06);
}

.welcome-letter__flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.welcome-letter__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 106, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 154, 74, 0.07) 0%, rgba(0, 0, 0, 0.28) 55%);
}

.welcome-letter__step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(216, 132, 255, 0.4);
  background: linear-gradient(180deg, rgba(216, 132, 255, 0.2), rgba(216, 132, 255, 0.06));
  color: #efc2ff;
  font-family: var(--wl-mono);
  font-size: 10px;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(216, 132, 255, 0.45);
}

.welcome-letter__step strong {
  display: block;
  margin: 1px 0 4px;
  color: var(--wl-orange);
  font-family: var(--wl-font);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(255, 154, 74, 0.25);
}

.welcome-letter__step p {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 246, 236, 0.9);
}

.welcome-letter__mission {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 106, 0.38);
  background: linear-gradient(135deg, rgba(255, 138, 43, 0.16), rgba(216, 132, 255, 0.06));
  box-shadow: 0 0 28px rgba(255, 122, 26, 0.1);
}

.welcome-letter__mission-label {
  display: block;
  margin-bottom: 5px;
  color: #ffd089;
  font-family: var(--wl-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(255, 176, 106, 0.35);
}

.welcome-letter__mission p {
  font-size: 13px;
  font-weight: 600;
  color: var(--wl-ink);
}

.welcome-letter__signoff {
  margin: 0 0 16px;
  font-family: var(--wl-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e0a8ff;
  text-shadow: 0 0 12px rgba(216, 132, 255, 0.3);
}

.welcome-letter__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 220, 160, 0.55);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffc56a 0%, #ff8a2b 42%, #e56a12 100%);
  color: #1a0d06;
  font-family: var(--wl-font);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 154, 74, 0.25),
    0 10px 28px rgba(255, 122, 26, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 140ms ease, box-shadow 180ms ease, filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.welcome-letter__cta:active {
  transform: scale(0.98);
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .welcome-letter,
  .welcome-letter__panel,
  .welcome-letter__cta {
    transition: none;
  }
}

/* ── First Pulse Wow V1 ──────────────────────────────── */
.first-pulse {
  --fp-ink: #fff6ec;
  --fp-ink-soft: rgba(255, 246, 236, 0.9);
  --fp-gold: #ffc56a;
  --fp-font: "Outfit", system-ui, sans-serif;
  --fp-mono: "JetBrains Mono", ui-monospace, monospace;
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(16px, env(safe-area-inset-top, 0px))
    16px
    max(16px, env(safe-area-inset-bottom, 0px));
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
  font-family: var(--fp-font);
}

.first-pulse--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.first-pulse__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.first-pulse__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 176, 106, 0.45);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 138, 43, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(34, 22, 16, 0.99) 0%, rgba(14, 11, 12, 0.99) 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 48px rgba(255, 122, 26, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.first-pulse:not(.first-pulse--hidden) .first-pulse__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.first-pulse__scan {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 198, 106, 0.9), transparent);
  box-shadow: 0 0 14px rgba(255, 154, 74, 0.55);
  pointer-events: none;
}

.first-pulse__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 198, 106, 0.16);
}

.first-pulse__tag,
.first-pulse__status {
  font-family: var(--fp-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.first-pulse__tag { color: var(--fp-gold); }
.first-pulse__status {
  color: #7dffb2;
  text-shadow: 0 0 12px rgba(125, 255, 178, 0.35);
}

.first-pulse__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(105deg, #fff8f0 0%, #ffd089 42%, #ff9a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.first-pulse__amount {
  margin: 0 0 14px;
  font-family: var(--fp-mono);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffc56a;
  text-shadow: 0 0 24px rgba(255, 176, 106, 0.4);
  animation: first-pulse-amount-in 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes first-pulse-amount-in {
  0% { opacity: 0; transform: scale(0.86); }
  60% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.first-pulse__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 176, 106, 0.2);
  background: rgba(0, 0, 0, 0.22);
}

.first-pulse__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.first-pulse__key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.55);
}

.first-pulse__val {
  font-family: var(--fp-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--fp-ink);
  text-align: right;
}

.first-pulse__note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--fp-ink-soft);
}

.first-pulse__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.first-pulse__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--fp-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease, filter 180ms ease;
}

.first-pulse__cta:active { transform: scale(0.98); }

.first-pulse__cta--primary {
  border: 1px solid rgba(255, 220, 160, 0.55);
  background: linear-gradient(180deg, #ffc56a 0%, #ff8a2b 42%, #e56a12 100%);
  color: #1a0d06;
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.35);
}

.first-pulse__cta--ghost {
  border: 1px solid rgba(255, 176, 106, 0.28);
  background: rgba(255, 154, 74, 0.08);
  color: var(--fp-gold);
}

.core-page--first-ready .status-strip--boost {
  letter-spacing: 0.06em;
}

.core-page--first-ready .core-page__output {
  animation: first-ready-glow 1.8s ease-in-out infinite alternate;
}

.core-page--first-ready .core-tap-preview__grid {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 800;
  color: #ffc56a;
  text-shadow: 0 0 18px rgba(255, 176, 106, 0.35);
}

.core-page--first-ready .core-tap-preview__label {
  color: #ffd089;
  letter-spacing: 0.1em;
}

@keyframes first-ready-glow {
  from { filter: drop-shadow(0 0 0 rgba(255, 154, 74, 0)); }
  to { filter: drop-shadow(0 0 10px rgba(255, 154, 74, 0.28)); }
}

/* V2 ritual extras */
.first-pulse-ring {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  margin: auto;
  pointer-events: none;
  z-index: 2;
  transform: rotate(-90deg);
}

.first-pulse-ring--hidden { display: none; }

.first-pulse-ring__track,
.first-pulse-ring__prog {
  fill: none;
  stroke-width: 3.5;
}

.first-pulse-ring__track {
  stroke: rgba(255, 176, 106, 0.18);
}

.first-pulse-ring__prog {
  stroke: #ffc56a;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 176, 106, 0.55));
  transition: stroke-dashoffset 420ms ease;
}

.cyber-orb__btn.ai-core--ritual {
  animation: first-pulse-ritual-charge 1.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes first-pulse-ritual-charge {
  0% { transform: scale(1); filter: brightness(1); }
  35% { transform: scale(0.9); filter: brightness(1.15); }
  70% { transform: scale(1.06); filter: brightness(1.28); }
  100% { transform: scale(0.97); filter: brightness(1.1); }
}

.first-pulse-cinema {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  gap: 8px;
  background: rgba(5, 4, 3, 0.42);
}

.first-pulse-cinema--hidden {
  display: none !important;
}

.first-pulse-cinema__flash {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 106, 0.45) 0%, transparent 68%);
  animation: first-pulse-flash 900ms ease-out both;
}

.first-pulse-cinema__amount {
  position: relative;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 800;
  color: #ffc56a;
  text-shadow: 0 0 28px rgba(255, 176, 106, 0.55);
  animation: first-pulse-amount-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.first-pulse-cinema__cryo {
  position: relative;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e0a8ff;
  animation: first-pulse-amount-in 520ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes first-pulse-flash {
  0% { opacity: 0; transform: scale(0.7); }
  35% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.25); }
}

.first-pulse-confetti {
  position: fixed;
  top: 18vh;
  width: 7px;
  height: 10px;
  border-radius: 2px;
  z-index: 12200;
  pointer-events: none;
  animation: first-pulse-confetti-fall 1.15s ease-out forwards;
}

@keyframes first-pulse-confetti-fall {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% {
    opacity: 0;
    transform: translate(var(--fp-drift, 0), var(--fp-fall, 50vh)) rotate(var(--fp-rot, 180deg));
  }
}

.first-pulse__ring-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.first-pulse__sheet-ring {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.first-pulse__sheet-ring-track,
.first-pulse__sheet-ring-prog {
  fill: none;
  stroke-width: 5;
}

.first-pulse__sheet-ring-track { stroke: rgba(255, 176, 106, 0.18); }
.first-pulse__sheet-ring-prog {
  stroke: #ffc56a;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 176, 106, 0.45));
}

.first-pulse__ring-label {
  font-family: var(--fp-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--fp-ink);
}

.first-pulse__ring-sub {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .first-pulse,
  .first-pulse__panel,
  .first-pulse__amount,
  .core-page--first-ready .core-page__output,
  .cyber-orb__btn.ai-core--ritual,
  .first-pulse-cinema__flash,
  .first-pulse-cinema__amount,
  .first-pulse-cinema__cryo,
  .first-pulse-confetti {
    animation: none;
    transition: none;
  }
}

/* ── REFS tab (Network redesign) ─────────────────────── */
.refs-invite {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.refs-invite__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.48);
}

.refs-code {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 154, 74, 0.28);
  background: linear-gradient(180deg, rgba(28, 20, 16, 0.95), rgba(12, 10, 10, 0.95));
  color: #ffb06a;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.refs-code:hover {
  border-color: rgba(255, 154, 74, 0.48);
}

.refs-code:active {
  transform: scale(0.99);
}

.refs-code.is-copied {
  border-color: rgba(255, 154, 74, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.28), 0 0 22px rgba(255, 122, 26, 0.28);
  animation: refs-code-flash 0.75s ease;
}

@keyframes refs-code-flash {
  0% { filter: brightness(1.25); }
  100% { filter: brightness(1); }
}

.refs-howto {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refs-howto__tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.refs-howto__tier {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.refs-howto__tier-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 154, 74, 0.85);
}

.refs-howto__tier-pct {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: #f5f5f7;
}

.refs-howto__tier-copy {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(245, 245, 247, 0.55);
}

.refs-howto__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(245, 245, 247, 0.62);
}

.refs-next-goal {
  padding: 14px;
  border-color: rgba(255, 154, 74, 0.34);
  background:
    linear-gradient(180deg, rgba(34, 22, 15, 0.96), rgba(16, 12, 11, 0.98));
}

.refs-next-goal--hero {
  margin: 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 154, 74, 0.14);
  border-bottom: 1px solid rgba(255, 154, 74, 0.14);
  background:
    linear-gradient(180deg, rgba(28, 18, 12, 0.98), rgba(14, 10, 9, 0.98));
}

.refs-next-goal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.refs-next-goal__eyebrow {
  margin-bottom: 4px;
  color: rgba(245, 245, 247, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.refs-next-goal__reward {
  color: #ff9a4a;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(20px, 6vw, 27px);
  font-weight: 800;
  line-height: 1.1;
}

.refs-next-goal__count {
  color: #f5f5f7;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.refs-next-goal__bar {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
}

.refs-next-goal__fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7a1a, #ffb06a);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.32);
  transition: width 320ms ease;
}

.refs-next-goal__note {
  margin-top: 8px;
  color: rgba(245, 245, 247, 0.58);
  font-size: 11px;
  line-height: 1.35;
}

.refs-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 12px 0;
}

.refs-extra--hero .refs-ladder {
  padding: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.refs-ladder__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.refs-ladder__req {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 247, 0.5);
}

.refs-ladder__reward {
  font-size: 13px;
  font-weight: 800;
  color: #ffb06a;
}

.refs-ladder__state {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 247, 0.42);
  text-transform: uppercase;
}

.refs-ladder__step--current {
  border-color: rgba(255, 154, 74, 0.55);
  background: linear-gradient(180deg, rgba(42, 24, 14, 0.95), rgba(18, 12, 10, 0.98));
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.18);
}

.refs-ladder__step--current .refs-ladder__req,
.refs-ladder__step--current .refs-ladder__state {
  color: #ff9a4a;
}

.refs-ladder__step--claimable {
  border-color: rgba(255, 154, 74, 0.72);
  background: linear-gradient(180deg, rgba(52, 28, 14, 0.98), rgba(24, 14, 10, 0.98));
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.28);
  animation: refs-ladder-pulse 1.6s ease-in-out infinite;
}

.refs-ladder__step--claimable .refs-ladder__state {
  color: #ffb06a;
}

.refs-ladder__step--done {
  border-color: rgba(88, 214, 141, 0.42);
  background: rgba(16, 28, 22, 0.72);
}

.refs-ladder__step--done .refs-ladder__reward {
  color: rgba(136, 230, 176, 0.88);
}

.refs-ladder__step--done .refs-ladder__state {
  color: #58d68d;
}

.refs-ladder__step--locked {
  opacity: 0.72;
}

@keyframes refs-ladder-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 122, 26, 0.18); }
  50% { box-shadow: 0 0 22px rgba(255, 122, 26, 0.36); }
}

.refs-ladder__step span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 247, 0.5);
}

.refs-ladder__step strong {
  font-size: 13px;
  font-weight: 800;
  color: #ffb06a;
}

.refs-copy-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8a2b 0%, #e56a12 100%);
  color: #140c08;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.22);
  -webkit-tap-highlight-color: transparent;
}

.refs-copy-btn:active {
  transform: scale(0.98);
}

.refs-copy-btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.refs-link-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.refs-extra {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 154, 74, 0.22);
}

.refs-extra--hero {
  border-color: rgba(255, 154, 74, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.refs-extra__sub strong {
  color: #ff9a4a;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-weight: 800;
}

.net-card--rank-secondary {
  opacity: 0.92;
}

.refs-extra__banner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 64px;
  background: linear-gradient(90deg, #f0ebe3 0%, #e8e0d4 55%, #d9cfc0 100%);
  color: #12100e;
}

.refs-extra__tag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 8px 6px;
  background: #12100e;
  color: #ff9a4a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.refs-extra__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 14px;
}

.refs-extra__title {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #12100e;
}

.refs-extra__sub {
  font-size: 11px;
  font-weight: 600;
  color: rgba(18, 16, 14, 0.62);
  line-height: 1.35;
}

.refs-extra .net-milestones {
  padding: 12px;
}

/* ── AI Core detail bottom sheet ─────────────────────── */
.node-sheet {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.node-sheet--open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.node-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.node-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(82dvh, 640px);
  overflow: auto;
  padding: 0 16px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 154, 74, 0.28);
  border-bottom: none;
  background: linear-gradient(180deg, #17120f 0%, #0c0a0b 100%);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.55);
  transform: translateY(110%);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.node-sheet--open .node-sheet__panel {
  transform: translateY(0);
}

.node-sheet__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0 -16px 14px;
  padding: 12px 48px 12px 16px;
  background: linear-gradient(180deg, rgba(28, 20, 16, 0.98) 0%, rgba(16, 12, 11, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 154, 74, 0.22);
  border-radius: 18px 18px 0 0;
}

.node-sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ff9a4a;
  text-transform: uppercase;
}

.node-sheet__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.85);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.node-sheet__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

.node-sheet__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.node-sheet__key {
  flex: 0 0 auto;
  color: rgba(245, 245, 247, 0.55);
  font-weight: 600;
}

.node-sheet__dots {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.node-sheet__val {
  flex: 0 0 auto;
  color: #f5f5f7;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.node-sheet__tip {
  margin: 0 0 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.58);
}

.node-sheet__warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 154, 74, 0.35);
  background: rgba(255, 122, 26, 0.12);
  color: #ffb06a;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.node-sheet__warn--hidden {
  display: none !important;
}

.node-sheet__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 122, 26, 0.55);
  border-radius: 12px;
  background: linear-gradient(180deg, #ff8a2b 0%, #e56a12 100%);
  color: #140c08;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.25);
}

.node-sheet__cta--owned {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 245, 247, 0.55);
  box-shadow: none;
  cursor: default;
}

.node-sheet__cta--warn {
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%);
  border-color: rgba(45, 212, 191, 0.55);
  color: #042f2e;
}

body.node-sheet-open {
  overflow: hidden;
}

#storeList.store-list--buy > .node-card--store.node-card--sheetable {
  cursor: pointer;
}

.earn-card--leaderboard .net-leaderboard {
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .node-sheet,
  .node-sheet__panel {
    transition: none;
  }
}




