/* ============================================================
   VI PERPS — Leonida sunset system
   ============================================================ */
:root {
  --cream: #FBF5EE;
  --cream-2: #F5EBDF;
  --paper: #FFFFFF;
  --ink: #1C1220;
  --ink-2: #5B4E5E;
  --ink-3: #958894;
  --line: rgba(28, 18, 32, .08);
  --line-2: rgba(28, 18, 32, .14);

  --violet: #6A2C91;
  --pink: #FF3E7F;
  --coral: #FF7A45;
  --amber: #FFC15E;

  --long: #0F9F8C;
  --long-soft: rgba(15, 159, 140, .10);
  --short: #E8436B;
  --short-soft: rgba(232, 67, 107, .10);

  --sunset: linear-gradient(115deg, #6A2C91 0%, #FF3E7F 42%, #FF7A45 72%, #FFC15E 100%);
  --sunset-soft: linear-gradient(115deg, rgba(106,44,145,.12), rgba(255,62,127,.12) 45%, rgba(255,193,94,.14));

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-1: 0 1px 2px rgba(28,18,32,.04), 0 4px 16px rgba(28,18,32,.04);
  --shadow-2: 0 2px 6px rgba(28,18,32,.05), 0 18px 40px -12px rgba(60,20,60,.18);
  --shadow-3: 0 30px 80px -20px rgba(90,25,70,.35);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --f-display: 'Anton', 'Impact', sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(255, 62, 127, .22); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1, "zero" 1; letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,193,94,.25); }

.h1, .h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .95; margin: 10px 0 0; }
.h1 { font-size: clamp(40px, 5vw, 64px); }
.h2 { font-size: clamp(40px, 6vw, 84px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; line-height: 1.6; }
.grad-text { font-style: normal; background: linear-gradient(100deg, #FFE3A8, #FFB36B 40%, #FF6F95); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ BUTTONS ============ */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: translate .5s var(--ease), scale .3s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
}
.btn:active { scale: .97; transition-duration: .12s; }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 10px 24px -10px rgba(28,18,32,.6); translate: 0 -1px; }
.btn-sun { background: var(--sunset); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: 0 12px 30px -12px rgba(255,62,127,.7); transition: background-position .8s var(--ease), translate .5s var(--ease), scale .3s var(--ease), box-shadow .5s var(--ease); }
.btn-sun:hover { background-position: 100% 0; translate: 0 -2px; box-shadow: 0 18px 40px -14px rgba(255,62,127,.85); }
.btn-glass { background: rgba(28,10,34,.32); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(28,10,34,.5); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { translate: 0 -2px; box-shadow: 0 16px 36px -14px rgba(0,0,0,.4); }
.btn-long { background: var(--long); color: #fff; }
.btn-short { background: var(--short); color: #fff; }
.btn-long:hover, .btn-short:hover { translate: 0 -1px; filter: saturate(1.1); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; transform: scale(0); z-index: -1; }
.btn-sun .ripple, .btn-ink .ripple, .btn-long .ripple, .btn-short .ripple { background: #fff; }

.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--ink-2); transition: background .3s; }
.icon-btn:hover { background: var(--cream-2); color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  width: min(1240px, 100% - 28px); margin-inline: auto; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 16px; border-radius: 999px;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease), border-color .5s;
  border: 1px solid transparent; color: #fff;
}
.nav.solid { background: rgba(251,245,238,.78); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark svg { width: 30px; height: 30px; display: block; }
.brand-word { font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; line-height: 1; }
.brand-word em { font-style: normal; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav:not(.solid) .brand-word em { background: linear-gradient(100deg,#FFE3A8,#FF9BB5); -webkit-background-clip: text; background-clip: text; }
.brand-word.sm { font-size: 18px; }
.nav-links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { position: relative; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: .78; transition: opacity .3s, background .3s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.on { opacity: 1; }
.nav-links a.on::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--pink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.launch-pill { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font: 500 13px var(--f-mono); border: 1px solid currentColor; border-color: rgba(255,255,255,.35); }
.nav.solid .launch-pill { border-color: var(--line-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); position: relative; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--pink); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.nav.solid .btn-ink { background: var(--ink); }
.nav:not(.solid) .btn-ink { background: #fff; color: var(--ink); }

/* ============ CURTAIN ============ */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.curtain-a, .curtain-b { position: absolute; inset: 0; transform: scaleY(0); transform-origin: bottom; }
.curtain-a { background: var(--sunset); }
.curtain-b { background: var(--ink); display: grid; place-items: center; }
.curtain-word { font-family: var(--f-display); font-size: clamp(36px, 6vw, 72px); color: #fff; letter-spacing: .02em; opacity: 0; }
.curtain-word em { font-style: normal; background: linear-gradient(100deg,#FFE3A8,#FF9BB5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ VIEWS ============ */
.view { display: none; }
.view.active { display: block; }
.app-view { padding: calc(var(--nav-h) + 48px) 0 80px; min-height: 100vh; }

/* ============ HERO ============ */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; color: #fff; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 70% at 50% 72%, rgba(255,214,150,.55), rgba(255,214,150,0) 60%),
    linear-gradient(180deg, #2B1446 0%, #5B2370 22%, #A8357A 44%, #F0567A 62%, #FF8B5C 76%, #FFC174 86%); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.scene .shimmer line { animation: shimmer 4s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
.scene .shimmer line:nth-child(2n) { animation-delay: -1.3s; animation-duration: 5s; }
.scene .shimmer line:nth-child(3n) { animation-delay: -2.4s; animation-duration: 3.4s; }
@keyframes shimmer { from { transform: scaleX(.75); opacity: .35; } to { transform: scaleX(1.08); opacity: .9; } }
.layer-palms use, .layer-palms-back use { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
.layer-palms-back use { animation-duration: 9s; animation-delay: -3s; }
@keyframes sway { from { transform: rotate(-.8deg); } to { transform: rotate(1deg); } }

.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 24px 160px; }
.hero-eyebrow { color: rgba(255,255,255,.88); padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 10.5vw, 168px); line-height: .88; letter-spacing: .005em; margin: 26px 0 0; text-shadow: 0 10px 50px rgba(60,10,60,.25); }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-sub { max-width: 600px; margin: 24px auto 0; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.88); line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.countdown { margin-top: 44px; padding: 14px 22px 16px; border-radius: 22px; background: rgba(28,10,34,.28); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cd-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.cd-grid { display: flex; gap: 22px; margin-top: 6px; }
.cd-grid div { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.cd-grid b { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: 11px; opacity: .7; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ============ MARQUEE ============ */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 14px; white-space: nowrap; }
.mq b { font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .04em; }
.mq .up { color: #4FD6C2; } .mq .down { color: #FF7A9A; }
.mq-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.intro { padding-bottom: 40px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.intro .lead { margin: 0; }

/* cast */
.cast { padding: 112px 0 clamp(60px, 8vw, 100px); overflow: hidden; min-height: 100vh; }
@media (max-width: 860px) { .cast { min-height: 0; padding-top: 40px; } }
.cast-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.cast-viewport { overflow: visible; }
.cast-track { display: flex; gap: 22px; padding-left: max(24px, calc((100vw - 1240px) / 2)); padding-right: 24px; width: max-content; will-change: transform; }

.ccard {
  --c1: #FF3E7F; --c2: #FF9B54;
  position: relative; width: 340px; flex: 0 0 auto; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-1); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: box-shadow .6s var(--ease), border-color .6s;
  cursor: pointer;
}
.ccard:hover { box-shadow: var(--shadow-3); border-color: transparent; }
.ccard-art { position: relative; margin: 8px; height: 360px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.ccard-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover .ccard-art img, .ccard:hover .art-mono { transform: scale(1.06); }
.art-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px); }
.art-sun { position: absolute; width: 230px; height: 230px; right: -50px; top: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255,240,200,.9), rgba(255,200,140,.35) 55%, transparent 70%); mix-blend-mode: soft-light; }
.art-mono { position: absolute; left: 18px; bottom: 6px; font-family: var(--f-display); font-size: 200px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7); letter-spacing: -.02em; transition: transform 1.2s var(--ease); transform-origin: left bottom; }
.art-grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.art-file { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }
.art-hype { position: absolute; top: 16px; right: 16px; }
.ccard-body { padding: 14px 22px 22px; }
.ccard-name { font-family: var(--f-display); font-size: 34px; text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
.ccard-role { color: var(--ink-3); font-size: 14px; font-weight: 600; margin-top: 6px; }
.ccard-bio { color: var(--ink-2); font-size: 14.5px; margin: 12px 0 18px; min-height: 66px; }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.ccard-price b { display: block; font-size: 20px; font-weight: 600; }
.ccard-price small { font-size: 12px; }
.ccard-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); transition: background .5s var(--ease), color .5s, transform .5s var(--ease); }
.ccard:hover .ccard-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }

/* hype */
.hype { background: var(--paper); border-block: 1px solid var(--line); }
.hype-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.formula { margin-top: 28px; padding: 16px 18px; border-radius: var(--r); background: var(--cream); border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-2); overflow-x: auto; white-space: nowrap; }
.hype-card { padding: 28px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.hype-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.hype-card-head b { display: block; font-size: 17px; }
.hype-card-head small { color: var(--ink-3); font-size: 12px; }
.hype-score { margin-left: auto; text-align: right; }
.hype-score span { display: block; font-size: 32px; font-weight: 600; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.hype-score small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 56px; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.bar-row b { text-align: right; color: var(--ink); font-weight: 500; font-size: 13px; }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sunset); transition: width 1.4s var(--ease); }

/* avatar (monogram) */
.avatar { --c1: #FF3E7F; --c2: #FF9B54; width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(140deg, var(--c1), var(--c2)); color: #fff; font-family: var(--f-display); font-size: 17px; letter-spacing: .03em; position: relative; overflow: hidden; }
.avatar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.1) 0 2px, transparent 2px 9px); }
.avatar span { position: relative; z-index: 1; }
.avatar.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
.avatar.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 20px; }

/* steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { padding: 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: translate .7s var(--ease), box-shadow .7s var(--ease); }
.step:hover { translate: 0 -6px; box-shadow: var(--shadow-2); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sunset-soft); color: var(--pink); font-weight: 600; font-size: 14px; }
.step h3 { font-size: 22px; margin: 26px 0 10px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); }

/* stats */
.stats { padding-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stat { padding: 36px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stat span { color: var(--ink-3); font-weight: 600; font-size: 14px; }

/* final */
.final { padding: 0 12px 12px; }
.final-inner { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(80px, 12vw, 160px) 24px; text-align: center; color: #fff; background: linear-gradient(180deg, #2B1446 0%, #8E2D7A 45%, #FF5E7A 78%, #FFA86A 100%); }
.final-inner::before { content: ''; position: absolute; width: 520px; height: 520px; left: 50%; bottom: -300px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, #FFE2A8 0%, #FFB36B 45%, transparent 70%); opacity: .8; }
.final-title { position: relative; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7vw, 104px); line-height: .92; margin: 0 0 40px; }
.final-inner .btn { position: relative; }
.footer { padding: 32px 0 40px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--ink-3); font-size: 13px; }
.footer-row p { margin: 0; text-align: right; }

/* ============ APP: SHARED ============ */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.kpi { padding: 12px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); min-width: 150px; }
.kpi span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.kpi b { font-size: 18px; font-weight: 600; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.card-title { font-weight: 700; font-size: 15px; }

/* segmented control with sliding pill */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream-2); isolation: isolate; }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: color .4s var(--ease); }
.seg button.on { color: var(--ink); }
.seg .seg-pill { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: var(--paper); box-shadow: 0 1px 2px rgba(28,18,32,.08), 0 4px 12px rgba(28,18,32,.06); transition: transform .55s var(--ease), width .55s var(--ease), background .4s; }
.seg.sm button { height: 30px; padding: 0 12px; font-size: 13px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 11px var(--f-mono); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); min-width: 280px; transition: border-color .3s, box-shadow .3s; }
.search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,62,127,.1); }
.search svg { width: 18px; height: 18px; color: var(--ink-3); }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 15px; }

/* ============ MARKETS TABLE ============ */
.table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.tr { display: grid; grid-template-columns: 2.1fr 1fr .8fr 1.3fr 1fr 1fr 1.1fr 168px; align-items: center; gap: 16px; padding: 14px 22px; }
.tr .r { text-align: right; }
.th { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-block: 14px; }
.th [data-sort] { cursor: pointer; transition: color .3s; }
.th [data-sort]:hover, .th [data-sort].on { color: var(--ink); }
.mrow { position: relative; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.mrow:last-child { border-bottom: 0; }
.mrow:hover { background: #FFFAF4; }
.mrow::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sunset); transform: scaleY(0); transition: transform .5s var(--ease); }
.mrow:hover::before { transform: scaleY(1); }
.m-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.m-id b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-id small { color: var(--ink-3); font: 500 12px var(--f-mono); }
.m-price { font-size: 15px; font-weight: 500; border-radius: 6px; padding: 2px 6px; margin-right: -6px; transition: background .7s; }
.flash-up { background: var(--long-soft) !important; transition: none !important; }
.flash-down { background: var(--short-soft) !important; transition: none !important; }
.chg { font-size: 13.5px; font-weight: 500; }
.chg.up { color: var(--long); } .chg.down { color: var(--short); }
.hype-cell { display: flex; align-items: center; gap: 10px; }
.hype-cell .bar { flex: 1; height: 6px; }
.hype-cell b { font: 500 13px var(--f-mono); width: 24px; }
.spark { width: 100%; height: 34px; display: block; }
.m-act { display: flex; gap: 6px; justify-content: flex-end; }
.m-act .btn { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-soft-long { background: var(--long-soft); color: var(--long); }
.btn-soft-short { background: var(--short-soft); color: var(--short); }
.btn-soft-long:hover { background: var(--long); color: #fff; }
.btn-soft-short:hover { background: var(--short); color: #fff; }
.empty { padding: 48px; text-align: center; color: var(--ink-3); }

/* ============ TRADE ============ */
.trade-wrap { display: grid; gap: 16px; }
.market-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.market-strip::-webkit-scrollbar { display: none; }
.ms-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.ms-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.ms-item.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ms-item .avatar { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
.ms-item b { font-size: 13px; font-weight: 700; }
.ms-item .chg { font-size: 12px; }

.trade-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.trade-main { display: grid; gap: 16px; min-width: 0; }
.chart-card { padding: 22px 22px 12px; overflow: hidden; }
.tm-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tm-id { display: flex; align-items: center; gap: 14px; }
.tm-name { font-family: var(--f-display); font-size: 28px; text-transform: uppercase; line-height: 1; }
.tm-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.tm-price b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; border-radius: 8px; padding: 0 6px; margin-left: -6px; transition: background 1s; }
.tm-price .chg { font-size: 13px; }
.tm-stats { display: flex; gap: 26px; width: 100%; justify-content: space-between; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.tm-head { row-gap: 18px; }
.tm-stats span { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.tm-stats b { font-size: 14px; font-weight: 500; }
.chart-tools { display: flex; justify-content: space-between; margin: 22px 0 8px; gap: 10px; }
.chart-box { position: relative; height: 440px; }
#chart { position: absolute; inset: 0; }
.chart-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), var(--paper) 30%); transform: translateX(100%); }

.trade-lower { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.bio-card, .hype-mini { padding: 24px; }
.bio-card p { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; }
.hm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 700; font-size: 15px; }
.hm-head b { font-size: 22px; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hype-mini .bar-row { grid-template-columns: 110px 1fr 48px; font-size: 13px; gap: 10px; }
.hype-mini .bars { gap: 12px; }

/* order panel */
.order { position: sticky; top: calc(var(--nav-h) + 24px); padding: 18px; display: grid; gap: 16px; }
.side-seg { display: flex; width: 100%; padding: 5px; }
.side-seg button { flex: 1; height: 44px; font-size: 15px; }
.side-seg button.on { color: #fff; }
.side-seg .seg-pill { background: var(--long); box-shadow: 0 8px 20px -8px rgba(15,159,140,.6); }
.side-seg.short .seg-pill { background: var(--short); box-shadow: 0 8px 20px -8px rgba(232,67,107,.6); }
.type-seg { justify-self: start; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.field label small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.input { display: flex; align-items: center; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, background .3s; }
.input:focus-within { background: var(--paper); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,18,32,.06); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 18px var(--f-mono); }
.input span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.limit-field { display: none; }
.limit-field.show { display: block; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.chips button { height: 32px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--cream); border: 1px solid transparent; transition: all .3s var(--ease); }
.chips button:hover { border-color: var(--line-2); color: var(--ink); }
.lev-val { font-size: 15px; background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 99px; }
.lev { padding: 6px 2px 0; }
.lev input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; background: linear-gradient(90deg, var(--violet), var(--pink) 50%, var(--coral)) 0 0 / var(--fill, 25%) 100% no-repeat, var(--cream-2); cursor: pointer; }
.lev input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 10px rgba(28,18,32,.2); transition: transform .3s var(--ease); }
.lev input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.lev input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.lev-marks { display: flex; justify-content: space-between; margin-top: 10px; font: 500 11.5px var(--f-mono); color: var(--ink-3); }
.summary { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); display: grid; gap: 9px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; }
.fine { margin: -4px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

/* positions */
.positions-card { padding: 8px 0 4px; margin-top: 0; }
.app-view .positions-card { margin-top: 16px; }
.pc-head { padding: 10px 18px 12px; }
.ptable .prow { display: grid; grid-template-columns: 1.6fr .8fr 1fr 1fr 1fr 1fr 1.3fr 90px; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.ptable .prow.head { font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding-block: 10px; }
.ptable .r { text-align: right; }
.side-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font: 700 11.5px var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.side-tag.long { background: var(--long-soft); color: var(--long); }
.side-tag.short { background: var(--short-soft); color: var(--short); }
.pnl.up { color: var(--long); } .pnl.down { color: var(--short); }
.pnl small { display: block; font-size: 11.5px; opacity: .8; }
.close-btn { height: 32px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); transition: all .3s var(--ease); justify-self: end; }
.close-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-pos { padding: 40px 20px 44px; text-align: center; color: var(--ink-3); border-top: 1px solid var(--line); font-size: 14.5px; }
.empty-pos a { color: var(--pink); font-weight: 700; }

/* portfolio */
.pf-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.pf-hero { padding: 28px; position: relative; overflow: hidden; }
.pf-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,193,94,.35), rgba(255,62,127,.12) 50%, transparent 70%); }
.pf-hero > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.pf-hero > b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 500; letter-spacing: -.04em; margin: 4px 0 26px; line-height: 1.05; }
.pf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.pf-row span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.pf-row b { font-size: 17px; font-weight: 500; }
.pf-alloc { padding: 24px; }
.alloc-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 16px; font-size: 14px; }
.alloc-row .bar { grid-column: 1 / -1; height: 6px; }
.alloc-row .bar i.short { background: linear-gradient(90deg, #E8436B, #FF8BA5); }
.alloc-row .bar i.long { background: linear-gradient(90deg, #0F9F8C, #6AD3C3); }

/* ============ MODALS ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-scrim { position: absolute; inset: 0; background: rgba(28,18,32,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.modal-card { position: relative; width: min(420px, 100% - 32px); background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-3); opacity: 0; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.modal-head h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.wallet-list { display: grid; gap: 8px; margin-top: 16px; }
.wallet-opt { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; text-align: left; transition: all .4s var(--ease); }
.wallet-opt i { width: 30px; height: 30px; border-radius: 9px; background: var(--c); }
.wallet-opt span { margin-left: auto; font: 500 12px var(--f-mono); color: var(--long); }
.wallet-opt:hover { border-color: var(--ink); transform: translateX(3px); }
.modal .summary { margin-top: 14px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 18px; }

/* toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 360px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-3); font-size: 14px; }
.toast i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--amber); }
.toast.long i { background: #4FD6C2; } .toast.short i { background: #FF7A9A; }
.toast b { display: block; font-size: 14px; }
.toast small { opacity: .7; font-size: 12.5px; }

/* reveal defaults (JS animates) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .tr { grid-template-columns: 2fr 1fr .8fr 1.2fr 1fr 150px; }
  .hide-md { display: none; }
  .trade-grid { grid-template-columns: 1fr; }
  .order { position: static; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .launch-pill { display: none; }
  .intro-grid, .hype-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .cast-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cast-viewport::-webkit-scrollbar { display: none; }
  .ccard { scroll-snap-align: center; width: 300px; }
  .cast-head { flex-direction: column; align-items: flex-start; }
  .tr { grid-template-columns: 1.6fr 1fr .8fr; }
  .hide-sm, .m-act { display: none; }
  .trade-lower { grid-template-columns: 1fr; }
  .ptable .prow { grid-template-columns: 1.4fr 1fr 1fr 80px; }
  .ptable .prow > :nth-child(3), .ptable .prow > :nth-child(4), .ptable .prow > :nth-child(5), .ptable .prow > :nth-child(6) { display: none; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-row { grid-template-columns: repeat(2, 1fr); }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-row p { text-align: left; }
  .cd-grid { gap: 14px; }
  .cd-grid b { font-size: 32px; }
  .search { min-width: 0; flex: 1; }
  .chart-box { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============================================================
   Backend-connected additions: network pill, hype wire, funds
   ============================================================ */
.net-pill { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font: 600 12.5px var(--f-body); border: 1px solid rgba(255,255,255,.35); }
.net-pill i { width: 14px; height: 11px; background: linear-gradient(135deg, #9945FF, #14F195); clip-path: polygon(18% 0, 100% 0, 82% 26%, 0 26%, 18% 37%, 100% 37%, 82% 63%, 0 63%, 18% 74%, 100% 74%, 82% 100%, 0 100%); }
.nav.solid .net-pill { border-color: var(--line-2); }

.hm-event { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.hm-event p { margin: 8px 0 2px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.hm-event small { color: var(--ink-3); font-size: 11.5px; }
.ev-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font: 700 11px var(--f-mono); }
.ev-tag.up { background: var(--long-soft); color: var(--long); }
.ev-tag.down { background: var(--short-soft); color: var(--short); }

.wire-card { margin-top: 16px; padding: 8px 0 4px; }
.wire-card .pc-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wire-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 22px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .3s var(--ease); }
.wire-row:hover { background: var(--cream); }
.wire-row b { display: block; font-size: 14.5px; line-height: 1.35; }
.wire-row small { color: var(--ink-3); font-size: 11.5px; }
.wire-row .chg { font-size: 13px; white-space: nowrap; }

.pf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.pf-top > div > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.pf-top b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 500; letter-spacing: -.04em; margin: 4px 0 26px; line-height: 1.05; }
.pf-actions { display: flex; gap: 8px; }
.pf-hero .pf-row { position: relative; z-index: 1; }

.acct-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 14px; font-size: 13px; color: var(--ink-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink); font: 700 12.5px var(--f-body); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.funds-seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.funds-bal { margin: 10px 0 16px; }
#fundsModal .field { margin-bottom: 12px; }
.field label small.link-btn { color: var(--pink); font-weight: 700; }
#fundsModal .fine { margin: 0 0 14px; text-align: left; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.ptable .prow.tr-row { grid-template-columns: 1fr 1fr 1fr 1.2fr 1.4fr; }
.tr-status { font: 600 12px var(--f-mono); text-transform: capitalize; }
.tr-status.confirmed { color: var(--long); }
.tr-status.pending { color: var(--coral); }
.tr-status.failed { color: var(--short); }
.tx-link { color: var(--ink-2); font-size: 12.5px; text-decoration: none; border-bottom: 1px dashed var(--line-2); }
.tx-link:hover { color: var(--pink); }

@media (max-width: 860px) {
  .net-pill span { display: none; }
  .net-pill { padding: 0 11px; }
  .ptable .prow.tr-row { grid-template-columns: 1fr 1fr 1fr; }
  .ptable .prow.tr-row > :nth-child(4), .ptable .prow.tr-row > :nth-child(5) { display: none; }
  .ptable .prow.tr-row > :nth-child(3) { display: block; }
  .wire-row { padding: 12px 16px; gap: 10px; }
}
@media (max-width: 1400px) { .net-pill span { display: none; } .net-pill { padding: 0 11px; } }
@media (max-width: 1240px) { .nav .launch-pill { display: none; } }
@media (max-width: 560px) {
  .wl-bal { display: none; }
  .search { min-width: 0; width: 100%; }
}

/* Hero: never let the content slide under the fixed nav on short or narrow screens */
.hero { height: auto; min-height: max(100vh, 680px); display: flex; flex-direction: column; }
.hero-inner { flex: 1; height: auto; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 150px; }
.hero-title { font-size: clamp(52px, min(10.5vw, 16vh), 168px); }
@media (max-height: 760px) and (min-width: 861px) {
  .hero-title { margin-top: 18px; }
  .hero-sub { margin-top: 16px; }
  .hero-cta { margin-top: 22px; }
}
@media (max-width: 860px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 130px; }
}

/* Character portraits */
.avatar { background-image: var(--img, none), linear-gradient(140deg, var(--c1), var(--c2)); background-size: cover; background-position: center 18%; }
.avatar[style*="--img"]::after { display: none; }
.avatar[style*="--img"] { box-shadow: inset 0 0 0 1px rgba(28,18,32,.08); }
.ccard-art img { object-position: center 22%; }
.ccard-art:has(img)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,18,32,.25), transparent 30%, transparent 70%, rgba(28,18,32,.35)); pointer-events: none; }
.ccard-art .art-file, .ccard-art .art-hype { z-index: 2; }

/* Wallet picker: official icons */
.wallet-opt img, .wallet-opt i { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; object-fit: cover; }
.wallet-opt i { background: var(--cream-2); }
.wallet-opt span { color: var(--ink-3); }
.wallet-opt.detected span { color: var(--long); }
.wallet-opt:disabled { opacity: .6; cursor: progress; }
.wallet-hint { margin: 12px 2px 0; }

/* X (Twitter) link */
.x-link { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .85; transition: opacity .2s, background .2s; flex: none; }
.x-link:hover { opacity: 1; background: rgba(127,127,127,.15); }
.x-link svg { width: 17px; height: 17px; display: block; }
