/* ================================================================
   VICE INU
   ================================================================ */
:root {
  --ink: #12071f;
  --plum: #1d0b34;
  --plum-2: #2a0f45;
  --card: rgba(29, 11, 52, 0.72);
  --card-line: rgba(255, 255, 255, 0.14);
  --pink: #ff3ea5;
  --pink-2: #ff7ad9;
  --cyan: #2ee6f0;
  --cyan-2: #8ff8ff;
  --orange: #ffa94d;
  --sun: #ffd166;
  --cream: #fff4ea;
  --muted: rgba(255, 244, 234, 0.74);
  --green: #3ef08a;

  --f-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-script: 'Mr Dafoe', 'Brush Script MT', cursive;
  --f-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius: 22px;
  --shadow-hard: 0 6px 0 var(--ink);
  --night: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ---------- sky: fixed background, darkens to night as you scroll ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1;
  background: url('/assets/bg.jpg') center bottom / cover no-repeat, #6d4ba8;
}
.sky::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(255, 62, 165, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(18, 7, 31, 0.15), rgba(18, 7, 31, 0.55));
  opacity: calc(0.35 + var(--night) * 0.65);
  transition: opacity .2s linear;
}

/* ---------- type helpers ---------- */
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; }
.pink { color: var(--pink-2); }
.cyan { color: var(--cyan-2); }
.grad {
  background: linear-gradient(90deg, var(--pink-2), var(--orange) 55%, var(--sun));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- loading screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-art {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: .55; filter: saturate(1.2);
  animation: kenburns 6s ease-out forwards;
}
.loader-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,7,31,.2) 30%, rgba(18,7,31,.95));
}
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.loader-logo { position: relative; text-align: center; line-height: .9; }
.loader-logo .script { display: block; font-size: clamp(36px, 7vw, 64px); color: var(--pink-2); text-shadow: 0 0 18px rgba(255,62,165,.8); }
.loader-logo .block {
  display: block; font-family: var(--f-display); font-size: clamp(64px, 14vw, 150px); letter-spacing: .02em;
  color: var(--cream); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  filter: drop-shadow(0 6px 0 var(--ink));
}
.loader-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 24px 26px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center;
}
.loader-tip { margin: 0; font-size: 15px; color: var(--muted); }
.loader-tip b { color: var(--sun); letter-spacing: .08em; }
.loader-bar { grid-column: 1 / -1; height: 6px; background: rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); animation: load 2.6s ease-in-out forwards; }
@keyframes load { to { width: 100%; } }
.loader-skip { grid-row: 1; grid-column: 2; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 4px 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  background: rgba(18, 7, 31, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 122, 217, 0.35);
  border-radius: 99px;
  padding: 5px 5px 5px 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.3);
  max-width: 100%;
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; margin-right: 8px; color: var(--pink-2); }
.nav-brand img { border-radius: 50%; border: 2px solid var(--pink); object-fit: cover; }
.nav-brand.big { font-size: 28px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 11px; border-radius: 99px; color: var(--cream); white-space: nowrap; }
.nav-links a:hover { background: rgba(255,255,255,.1); }
.nav-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--ink); margin-left: 4px; flex: none; }
.nav-icon.dark { background: var(--cream); color: var(--ink); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { padding-left: 8px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-size: 20px; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  padding: 14px 22px; border-radius: 14px;
  border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
  background: var(--cream); color: var(--ink);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-pink { background: linear-gradient(180deg, var(--pink-2), var(--pink)); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); padding: 14px 16px; }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--cream); border-color: rgba(255,255,255,.28); box-shadow: 0 5px 0 rgba(0,0,0,.45); font-size: 16px; padding: 12px 16px; }
.btn-ghost:hover { background: rgba(255,255,255,.14); box-shadow: 0 7px 0 rgba(0,0,0,.45); }
.btn-lg { font-size: 24px; padding: 16px 28px; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .loader-art { animation: none !important; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 16px 64px;
  position: relative;
}
.countdown-wrap { margin-bottom: 18px; }
.countdown-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.countdown { display: flex; gap: 8px; justify-content: center; }
.countdown > div {
  background: rgba(18,7,31,.78); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 6px 10px 4px; min-width: 64px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--f-display); font-size: 30px; line-height: 1.05; color: var(--sun); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.countdown.is-live b { color: var(--green); }

.hero-pfp { position: relative; margin: 6px 0 -10px; }
.hero-pfp img {
  width: clamp(150px, 22vw, 220px); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 28px; border: 4px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 0 50px rgba(255, 62, 165, .55);
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.wanted { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: flex; gap: 2px; background: var(--ink); padding: 2px 10px; border-radius: 99px; font-size: 18px; }
.wanted i { font-style: normal; color: rgba(255,255,255,.22); }
.wanted i.on { color: var(--sun); text-shadow: 0 0 8px rgba(255,209,102,.8); }

.logo { margin: 18px 0 10px; line-height: .86; font-weight: 400; }
.logo .script { display: block; font-size: clamp(40px, 7vw, 76px); color: var(--cream); text-shadow: 0 0 14px rgba(255,62,165,.9), 0 3px 0 var(--ink); margin-bottom: -.12em; transform: rotate(-4deg); }
.logo-vice, .logo-inu {
  font-family: var(--f-display); font-size: clamp(88px, 19vw, 220px); letter-spacing: .01em;
  -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
  background-clip: text; -webkit-background-clip: text; color: transparent;
  filter: drop-shadow(0 7px 0 var(--ink)) drop-shadow(0 0 30px rgba(255, 62, 165, .45));
}
.logo-vice { background-image: linear-gradient(180deg, #ffb3ea 0%, var(--pink-2) 35%, var(--pink) 100%); margin-right: .08em; }
.logo-inu { background-image: linear-gradient(180deg, #d8fdff 0%, var(--cyan-2) 35%, #19b6d4 100%); filter: drop-shadow(0 7px 0 var(--ink)) drop-shadow(0 0 30px rgba(46, 230, 240, .45)); }

.hero-card {
  max-width: 560px; margin: 8px auto 22px;
  background: rgba(18,7,31,.78); border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 14px 22px;
  font-size: clamp(16px, 2.2vw, 19px); font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-card p { margin: 0; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }

.ca-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  background: rgba(255,244,234,.95); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 99px; padding: 5px 6px 5px 6px;
  box-shadow: 0 4px 0 var(--ink); font-size: 13px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
.ca-tag { background: var(--ink); color: var(--cream); font-weight: 700; padding: 3px 9px; border-radius: 99px; font-family: var(--f-body); }
.ca-pill .ca-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-copy { background: var(--pink); padding: 3px 10px; border-radius: 99px; font-weight: 700; font-family: var(--f-body); }

.scroll-hint { margin-top: 28px; font-family: var(--f-script); font-size: 26px; text-decoration: none; color: var(--cream); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.scroll-hint span { display: block; font-family: var(--f-body); font-size: 18px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); border-block: 3px solid var(--pink);
  overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); margin: 0 -10px;
  box-shadow: 0 0 40px rgba(255,62,165,.35);
}
.marquee-track { display: inline-flex; gap: 34px; padding: 12px 0; animation: marquee 38s linear infinite; font-family: var(--f-display); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.marquee-track span { display: inline-flex; gap: 34px; align-items: center; }
.marquee-track em { font-style: normal; color: var(--pink-2); }
.marquee-track b { color: var(--cyan-2); font-weight: 400; }
.marquee-track .up { color: var(--green); }
.marquee-track .down { color: #ff6b8a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 16px; max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ink); color: var(--sun); padding: 5px 12px; border-radius: 99px; border: 1.5px solid rgba(255,209,102,.4);
}
h2 {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(46px, 8vw, 92px); line-height: .95; letter-spacing: .01em;
  margin: 16px 0 14px; text-shadow: 0 5px 0 var(--ink);
}
h2 .grad { text-shadow: none; filter: drop-shadow(0 5px 0 var(--ink)); }
.lede { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }

.card {
  background: var(--card); border: 1.5px solid var(--card-line); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

/* ---------- lore ---------- */
.days-counter {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 auto 50px; text-align: left;
}
.days-counter b { font-family: var(--f-display); font-weight: 400; font-size: clamp(72px, 14vw, 140px); line-height: 1; color: var(--sun); text-shadow: 0 6px 0 var(--ink), 0 0 40px rgba(255,209,102,.4); font-variant-numeric: tabular-nums; }
.days-counter span { font-size: 18px; font-weight: 500; }
.days-counter em { font-family: var(--f-script); font-style: normal; font-size: 30px; color: var(--pink-2); }

.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 780px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: linear-gradient(var(--cyan), var(--pink), var(--orange)); }
.timeline li {
  position: relative; margin: 0 0 18px 56px; padding: 18px 22px;
  background: var(--card); border: 1.5px solid var(--card-line); border-radius: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.timeline li::before { content: ''; position: absolute; left: -44px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--pink-2); }
.tl-date { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-2); }
.timeline h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }
.stamp {
  position: absolute; right: 16px; top: 14px;
  font-family: var(--f-display); font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
  color: #ff6b8a; border: 3px solid currentColor; border-radius: 8px; padding: 2px 10px;
  transform: rotate(8deg); opacity: .9;
}
.stamp-go { color: var(--green); }
.tl-final { border-color: rgba(62,240,138,.5) !important; box-shadow: 0 0 40px rgba(62,240,138,.18); }
.tl-final::before { border-color: var(--green) !important; animation: ping 1.6s ease-in-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 8px rgba(62,240,138,.25); } }
@media (max-width: 600px) {
  .stamp { position: static; display: inline-block; margin-top: 10px; transform: rotate(-3deg); }
  .timeline li { margin-left: 44px; }
  .timeline li::before { left: -34px; }
  .timeline::before { left: 14px; }
}

/* ---------- concept ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan-card { position: relative; padding: 30px 26px 28px; }
.plan-card:nth-child(2) { transform: translateY(24px); }
.plan-card:nth-child(2).is-in { transform: translateY(24px); }
@media (max-width: 900px) { .plan-card:nth-child(2), .plan-card:nth-child(2).is-in { transform: none; } }
.plan-num { position: absolute; top: -16px; right: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--ink); font-family: var(--f-display); font-size: 20px; border: 3px solid var(--ink); }
.plan-icon { width: 58px; height: 58px; color: var(--cyan-2); margin-bottom: 10px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1.5px solid rgba(255,255,255,.3); border-radius: 99px; padding: 3px 10px; }
.plan-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 34px; text-transform: uppercase; margin: 10px 0 6px; letter-spacing: .02em; }
.plan-card p { margin: 0; color: var(--muted); }

/* ---------- game ---------- */
.game { padding: 16px; max-width: 1000px; margin: 0 auto; }
.game-hud { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.game-hud b { font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: .04em; color: var(--green); margin-left: 6px; }
.game-stars { font-size: 22px; letter-spacing: 2px; }
.game-stars i { font-style: normal; color: rgba(255,255,255,.2); transition: color .2s; }
.game-stars i.on { color: var(--sun); text-shadow: 0 0 10px rgba(255,209,102,.9); }
.game-stage { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); background: var(--ink); }
#gameCanvas { display: block; width: 100%; height: auto; aspect-ratio: 960 / 400; touch-action: manipulation; cursor: pointer; }
.game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  background: rgba(18,7,31,.62); padding: 16px;
}
.game-overlay h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 72px); margin: 0; line-height: 1; text-transform: uppercase; color: var(--pink-2); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; filter: drop-shadow(0 5px 0 var(--ink)); }
.game-overlay h3.wasted { color: #ff3b5c; font-family: var(--f-script); text-transform: none; font-size: clamp(56px, 10vw, 110px); -webkit-text-stroke: 0; filter: drop-shadow(0 3px 0 var(--ink)); }
.game-overlay p { margin: 0 0 10px; max-width: 460px; color: var(--cream); font-weight: 500; }
.game-help { text-align: center; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) {
  .game { padding: 10px; }
  .game-hud { font-size: 11px; }
  .game-hud b { font-size: 18px; }
  .game-stars { font-size: 16px; }
  .game-overlay p { font-size: 14px; }
}

/* ---------- crew ---------- */
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .crew-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .crew-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.crew-card { padding: 10px; border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.crew-card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 16px 40px rgba(255,62,165,.3); }
.crew-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); }
.crew-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; margin: 10px 4px 8px; }
.crew-btns { display: flex; gap: 6px; padding: 0 2px 2px; }
.crew-btns button, .crew-btns a {
  flex: 1; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 9px; padding: 7px 4px;
}
.crew-btns button { background: var(--pink); color: var(--ink); border-color: var(--ink); }
.crew-make { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 220px; text-decoration: none; border: 2px dashed rgba(255,122,217,.6); background: rgba(255,62,165,.12); }
.crew-make b { font-family: var(--f-display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.crew-make span { font-size: 44px; line-height: 1; color: var(--pink-2); }

/* ---------- pfp machine ---------- */
.pfp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 24px; }
@media (max-width: 900px) { .pfp { grid-template-columns: 1fr; padding: 16px; } }
.pfp-stage { position: relative; border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); aspect-ratio: 1; background: var(--ink); box-shadow: 0 0 40px rgba(255,62,165,.25); }
.pfp-stage img { width: 100%; height: 100%; object-fit: cover; }
.pfp-busy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(18,7,31,.72); font-family: var(--f-script); font-size: 34px; color: var(--pink-2); }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid rgba(255,255,255,.15); border-top-color: var(--pink); border-right-color: var(--cyan); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pfp-history { display: flex; gap: 8px; margin: 12px 0; overflow-x: auto; min-height: 8px; padding-bottom: 4px; }
.pfp-history button { flex: none; width: 56px; height: 56px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.25); background: none; }
.pfp-history button.is-on { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.pfp-history img { width: 100%; height: 100%; object-fit: cover; }
.pfp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pfp-actions .btn { font-size: 16px; padding: 11px 14px; }

.pfp-base { display: flex; gap: 6px; background: rgba(0,0,0,.3); padding: 5px; border-radius: 14px; width: max-content; max-width: 100%; }
.base-tab { background: none; border: 0; border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.base-tab.is-on { background: var(--cream); color: var(--ink); }
.pfp-note { margin: 8px 2px 14px; font-size: 14px; color: var(--muted); }

.trait-group { margin-bottom: 14px; }
.trait-group h4 { margin: 0 0 7px; font-size: 12px; letter-spacing: .2em; color: var(--sun); }
.trait-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.trait-chips button {
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.2); border-radius: 99px;
  padding: 6px 12px; font-size: 14px; transition: background .15s, border-color .15s;
}
.trait-chips button:hover { border-color: var(--pink-2); }
.trait-chips button.is-on { background: var(--pink); color: var(--ink); border-color: var(--ink); font-weight: 700; }
.pfp-free { display: block; margin: 16px 0 14px; }
.pfp-free span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sun); margin-bottom: 7px; }
.pfp-free em { font-style: normal; color: var(--muted); letter-spacing: .05em; text-transform: none; font-weight: 400; }
.pfp-free input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid rgba(255,255,255,.22); background: rgba(0,0,0,.3); color: var(--cream); font: inherit; }
.pfp-free input:focus { outline: none; border-color: var(--pink); }
.pfp-go { display: flex; gap: 10px; flex-wrap: wrap; }
.pfp-msg { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.pfp-msg.err { color: #ff8aa3; }
.pfp-msg.ok { color: var(--green); }

/* ---------- coin ---------- */
.coin { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 40px; align-items: center; }
@media (max-width: 900px) { .coin { grid-template-columns: 1fr; padding: 24px 18px; } }
.coin h2 { font-size: clamp(64px, 11vw, 120px); }
.coin .lede { margin: 0; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 900; }
.coin-right { background: rgba(0,0,0,.3); border-radius: 18px; padding: 24px; border: 1.5px solid rgba(255,255,255,.12); }
.ca-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
.ca-box {
  display: block; width: 100%; text-align: left; margin: 8px 0 8px;
  background: var(--cream); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 var(--ink);
  padding: 16px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 15px; font-weight: 700; word-break: break-all;
}
.ca-chain { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.market div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 10px; }
.market span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.market b { font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.coin-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- band ---------- */
.band { position: relative; margin-top: 40px; overflow: hidden; border-block: 4px solid var(--ink); }
.band img { width: 100%; height: clamp(320px, 56vw, 760px); object-fit: cover; object-position: center 40%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,7,31,.85)); }
.band-text { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 1; text-align: center; line-height: .85; }
.band-text .script { display: block; font-size: clamp(36px, 6vw, 70px); color: var(--cream); text-shadow: 0 0 14px rgba(255,62,165,.9), 0 3px 0 var(--ink); }
.band-text .block { display: block; font-family: var(--f-display); font-size: clamp(70px, 14vw, 180px); color: var(--pink-2); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; filter: drop-shadow(0 6px 0 var(--ink)); }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 48px 16px 36px; }
.footer-top { max-width: 1180px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.2); }
.footer-links a:hover { border-color: var(--pink); }
.disclaimer { max-width: 1180px; margin: 0 auto 10px; font-size: 13px; color: rgba(255,244,234,.55); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; top: 22%; z-index: 90;
  transform: translate(-50%, -20px) scale(.9); opacity: 0; pointer-events: none;
  text-align: center; transition: opacity .3s, transform .3s cubic-bezier(.2,1.4,.4,1);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast-title { display: block; font-family: var(--f-display); font-size: clamp(44px, 8vw, 80px); text-transform: uppercase; color: var(--sun); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; filter: drop-shadow(0 5px 0 var(--ink)); line-height: 1; white-space: nowrap; }
.toast-sub { display: inline-block; margin-top: 6px; font-weight: 700; background: var(--ink); padding: 4px 14px; border-radius: 99px; font-size: 15px; }
.trait-chips button.is-locked { cursor: default; background: var(--ink); color: var(--pink-2); border-color: var(--pink); font-weight: 700; }
.pfp-stage canvas { display: block; width: 100%; height: 100%; }
.pfp-stage .pfp-busy { background: rgba(18,7,31,.35); }
.pfp-actions { margin-top: 14px; }
.trait-chips button.chip-none { border-style: dashed; color: var(--muted); }
.trait-chips button.chip-none.is-on { color: var(--ink); }
.crew-card .crew-img { width: 100%; aspect-ratio: 1; border-radius: 12px; border: 2px solid var(--ink); background: rgba(255,255,255,.06); object-fit: cover; }
