/* ============================================================
   GOATMINT — 羊村 cartoon meme coin site
   ============================================================ */

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  --cream: #FDF6E9;
  --cream-2: #F8ECD6;
  --paper: #FFFDF7;
  --ink: #2B1A0F;
  --ink-2: #4A3324;
  --muted: #7A6250;
  --peanut: #F0B14C;
  --peanut-2: #F6C56B;
  --peanut-3: #C9762A;
  --mint: #93D9B3;
  --mint-2: #DFF3E7;
  --mint-deep: #4FA97C;
  --line: rgba(43, 26, 15, .14);
  --line-strong: rgba(43, 26, 15, .28);
  --radius: 22px;
  --shadow-soft: 0 24px 50px -34px rgba(43, 26, 15, .45);
  --shadow-sticker: 6px 7px 0 rgba(43, 26, 15, .92);
  --font-display: "Fredoka", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1180px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--peanut); color: var(--ink); }

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--peanut), var(--peanut-3) 55%, var(--mint-deep));
  box-shadow: 0 0 12px rgba(201, 118, 42, .5);
  border-radius: 0 3px 3px 0;
  transition: width .12s linear;
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .45s ease, visibility .45s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.loader-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 4px;
}

.loader-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(43, 26, 15, .3);
  border-radius: 50%;
  animation: spin 7s linear infinite;
}

.loader-orb::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 177, 76, .28), rgba(240, 177, 76, 0) 70%);
}

.loader-peanut {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  animation: bob 1.1s ease-in-out infinite;
}

.loader-avatar {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  animation: bob 1.1s ease-in-out infinite;
}

.loader-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .26em;
  margin-left: .26em;
  animation: wordIn .7s var(--ease) both;
}

.loader-bar {
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 26, 15, .12);
  overflow: hidden;
}

.loader-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--peanut);
  animation: loadbar 1.15s var(--ease) infinite;
}

.loader-note {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- pills / buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.pill .dot,
.ca-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(79, 169, 124, .16);
  animation: pulseDot 2.6s ease-in-out infinite;
  flex: none;
}

.pill-sep {
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .2s ease, color .2s ease;
}

.btn .ic {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--peanut);
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -75%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .62s var(--ease);
  pointer-events: none;
}

.btn-primary:hover::after { left: 140%; }

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 8px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { background: var(--paper); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .32);
}

.btn-dark:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .32);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover { background: var(--cream); }

.btn-lg {
  padding: 17px 28px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 12px 18px;
  font-size: 13.5px;
  box-shadow: 3px 4px 0 var(--ink);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.ca-copy:focus-visible,
.faq-q:focus-visible,
.menu-btn:focus-visible {
  outline: 3px solid var(--peanut-3);
  outline-offset: 3px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  transition: transform .16s var(--ease), border-color .16s ease, background .2s ease;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--paper);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1.5px solid transparent;
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(253, 246, 233, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--peanut);
  box-shadow: 0 0 0 3px #FFFDF7, 2px 3px 0 rgba(43, 26, 15, .9);
  transition: transform .35s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-10deg) scale(1.06);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .08em;
}

.brand-seal {
  padding: 4px 5px;
  border: 1.5px solid var(--peanut-3);
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--peanut-3);
  transform: rotate(-5deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--peanut-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active { color: var(--ink); }

.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  place-content: center;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s ease;
}

.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  z-index: 95;
  padding: 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 9px 0 rgba(43, 26, 15, .9);
}

.menu-open .mobile-menu {
  display: block;
  animation: menuIn .26s var(--ease) both;
}

.mobile-menu nav a {
  display: block;
  padding: 12px 2px;
  border-bottom: 1.5px dashed var(--line);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.mobile-menu nav a:last-child { border-bottom: 0; }

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.5px solid var(--line);
}

.socials {
  display: flex;
  gap: 10px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1000px 700px at 80% 4%, rgba(240, 177, 76, .30), transparent 62%),
    radial-gradient(820px 620px at -6% 82%, rgba(147, 217, 179, .24), transparent 60%),
    linear-gradient(180deg, #FFFBF2, var(--cream));
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(43, 26, 15, .18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 62% 34%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 55% at 62% 34%, #000 10%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: min(680px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 177, 76, .30), rgba(240, 177, 76, 0) 62%);
  filter: blur(26px);
  opacity: .8;
  pointer-events: none;
  transform: translate3d(var(--gx, 62vw), var(--gy, 20vh), 0) translate(-50%, -50%);
  will-change: transform;
}

.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-floaters .drift {
  position: absolute;
  height: auto;
  opacity: .18;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 8px 12px rgba(43, 26, 15, .08));
}

.d1 { width: 92px; top: 17%; left: 4%; rotate: -22deg; animation: driftA 17s ease-in-out infinite; }
.d2 { width: 52px; top: 67%; left: 10%; rotate: 18deg; opacity: .24; animation: driftB 20s ease-in-out infinite; }
.d3 { width: 72px; top: 11%; right: 6%; rotate: 28deg; opacity: .14; animation: driftA 23s ease-in-out infinite reverse; }
.d4 { width: 40px; top: 44%; right: 2.5%; rotate: -12deg; animation: driftB 15s ease-in-out infinite; }
.d5 { width: 32px; bottom: 12%; right: 27%; rotate: 36deg; opacity: .2; animation: driftA 18s ease-in-out infinite -6s; }

.hero-floaters .star,
.hero-floaters .sparkle {
  position: absolute;
  filter: drop-shadow(0 3px 4px rgba(43, 26, 15, .16));
  animation: twinkle 4.5s ease-in-out infinite;
}

.hero-floaters .star { opacity: .85; }
.hero-floaters .sparkle { opacity: .8; }

.s1 { width: 32px; top: 7%; left: 4%; rotate: 8deg; }
.s2 { width: 20px; top: 70%; left: 3.5%; rotate: -12deg; opacity: .7; animation-delay: -1.6s; }
.s3 { width: 30px; top: 20%; right: 3%; rotate: 14deg; animation-delay: -3s; }
.s4 { width: 22px; top: 5%; right: 31%; rotate: -10deg; animation-delay: -2.2s; }
.s5 { width: 16px; bottom: 12%; right: 6%; rotate: 20deg; opacity: .65; animation-delay: -3.8s; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.hero-copy > * {
  animation: rise .8s var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: .04s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .26s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-copy > *:nth-child(6) { animation-delay: .36s; }
.hero-copy > *:nth-child(7) { animation-delay: .4s; }
.hero-copy > *:nth-child(8) { animation-delay: .45s; }

.hero-title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.3rem, 6.4vw, 5.9rem);
  line-height: 1.06;
  letter-spacing: 0;
  animation: none;
}

.hero-title .line { display: block; }

.hero-title .line-inner {
  display: inline-block;
  animation: lineUp .95s var(--ease) both;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: .16s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: .3s; }

.hero-title .hl {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, var(--peanut-3) 18%, var(--peanut) 38%, #FFE3AE 50%, var(--peanut) 62%, var(--peanut-3) 82%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: lineUp .95s var(--ease) both, shimmer 7.5s ease-in-out infinite;
}

.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -10px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M1 8c5-6 10-6 15 0s10 6 15 0 8-4 12-2' fill='none' stroke='%23C9762A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 44px 12px;
}

.hero-lead {
  max-width: 540px;
  margin-top: 32px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 9px 8px 14px;
  background: rgba(255, 253, 247, .75);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  max-width: 100%;
}

.ca-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
}

.ca-value {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-copy {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  transition: background .18s ease, transform .16s var(--ease);
}

.ca-copy svg {
  width: 14px;
  height: 14px;
}

.ca-copy:hover { background: var(--peanut-2); }
.ca-copy:active { transform: scale(.92); }

.ca-copy .ic-done { display: none; }
.ca-copy.done { background: var(--mint); }
.ca-copy.done .ic-copy { display: none; }
.ca-copy.done .ic-done { display: block; }

.ca-note {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1.5px dashed var(--line-strong);
}

.stat { display: grid; gap: 3px; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.stat-num em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
}

.stat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- hero visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-stage {
  position: relative;
  width: min(468px, 100%);
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: radial-gradient(120% 92% at 50% 12%, #FFFDF7 0%, #FBEACB 56%, #F6DEB2 100%);
  box-shadow: 0 0 0 8px #FFFDF7, 10px 12px 0 rgba(43, 26, 15, .92), 0 32px 60px -36px rgba(43, 26, 15, .5);
  transform: rotate(-2deg);
  translate: 0 var(--stage-y, 0);
  perspective: 1000px;
  transition: transform .5s var(--ease);
  animation: stageIn .9s var(--ease) both;
}

.mascot-stage:hover { transform: rotate(0deg) translateY(-4px); }

.mascot-tilt {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform .25s var(--ease);
  will-change: transform;
}

.mascot-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  background: #FBEACB;
}

.photo-sticker {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 11px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-2);
  white-space: nowrap;
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.stage-dots {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-image: radial-gradient(rgba(43, 26, 15, .2) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%);
}

.speech {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 5;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 0 0 4px rgba(255, 253, 247, .92), 3px 4px 0 rgba(43, 26, 15, .9);
  opacity: 0;
  animation: speechIn .55s .95s var(--ease) forwards;
  pointer-events: none;
}

.speech::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--paper);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.speech .sp-text {
  display: inline-block;
  transition: opacity .22s ease, transform .22s ease;
}

.speech.swap .sp-text {
  opacity: 0;
  transform: translateY(-5px);
}

.mascot-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  animation: mascotBob 7s ease-in-out infinite;
}

.mascot-tail {
  transform-box: view-box;
  transform-origin: 150px 400px;
  animation: tailSway 7.5s ease-in-out infinite;
}

.mascot-eyes {
  transform-box: view-box;
  transform-origin: 222px 178px;
  animation: blink 6.4s infinite;
}

.seal {
  position: absolute;
  top: 7%;
  right: -5%;
  z-index: 3;
  padding: 11px 10px;
  border: 1.5px dashed var(--peanut-3);
  border-radius: 8px;
  background: rgba(255, 253, 247, .92);
  color: var(--peanut-3);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .08em;
  text-align: center;
  transform: rotate(6deg);
  box-shadow: 0 0 0 4px rgba(255, 253, 247, .9), 3px 4px 0 rgba(43, 26, 15, .12);
}

.seal em {
  display: block;
  font-style: normal;
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--muted);
}

.float-badge {
  position: absolute;
  z-index: 4;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  box-shadow: 0 0 0 4px rgba(255, 253, 247, .9), 3px 3px 0 var(--ink);
}

.b-1 { top: 9%; left: -6%; background: #FFE1A6; transform: rotate(-8deg); }
.b-2 { top: 33%; right: -8%; background: var(--paper); transform: rotate(6deg); }
.b-3 { bottom: 14%; left: -4%; background: var(--mint); transform: rotate(-5deg); }

.burst-sticker {
  --burst: polygon(50% 0%, 59% 30%, 85% 15%, 70% 41%, 100% 50%, 70% 59%, 85% 85%, 59% 70%, 50% 100%, 41% 70%, 15% 85%, 30% 59%, 0% 50%, 30% 41%, 15% 15%, 41% 30%);
  position: absolute;
  right: -7%;
  bottom: 1%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  background: var(--ink);
  clip-path: var(--burst);
  rotate: 8deg;
  filter: drop-shadow(4px 5px 0 rgba(43, 26, 15, .32));
  animation: burstBob 6s ease-in-out infinite;
}

.burst-sticker::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--paper);
  clip-path: var(--burst);
}

.burst-sticker span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  color: var(--ink-2);
  font-family: var(--font-display);
  line-height: 1;
}

.burst-sticker small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.burst-sticker b {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
}

.peanut-float {
  position: absolute;
  z-index: 2;
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease);
  filter: drop-shadow(0 10px 12px rgba(43, 26, 15, .14));
  animation: bob 6s ease-in-out infinite;
}

.pf-1 { width: 46px; top: -3%; left: 17%; rotate: -18deg; }
.pf-2 { width: 30px; bottom: 1%; right: 7%; rotate: 24deg; animation-delay: -2s; }
.pf-3 { width: 22px; top: 28%; right: -11%; rotate: 12deg; animation-delay: -3.5s; }

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.caption-en {
  padding: 4px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-2);
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
}

.caption-line {
  width: 34px;
  height: 1.5px;
  background: var(--line-strong);
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 17px 0;
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.tick {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #F8EBD6;
}

.tick-peanut {
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid rgba(253, 246, 233, .75);
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: 118px 0;
}

.section-deco {
  position: absolute;
  z-index: 0;
  height: auto;
  opacity: .13;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  animation: bob 12s ease-in-out infinite;
}

.lore,
.nuts { overflow: hidden; }

.lore .deco-a {
  width: 118px;
  top: 5%;
  right: 3%;
  rotate: 24deg;
}

.lore .deco-b {
  width: 78px;
  bottom: 7%;
  left: 2%;
  rotate: -18deg;
  animation-delay: -3.2s;
}

.nuts .deco-a {
  width: 96px;
  top: 7%;
  left: 2%;
  rotate: -24deg;
  animation-delay: -2s;
}

.nuts .deco-b {
  width: 132px;
  bottom: 4%;
  right: 2.5%;
  rotate: 16deg;
  animation-delay: -5.4s;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.sec-head {
  max-width: 660px;
  margin-bottom: 54px;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head.center p { margin-inline: auto; }

.sec-head h2 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.sec-head p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- lore ---------- */
.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, .7);
  transition: transform .28s var(--ease), border-color .2s ease, box-shadow .28s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: linear-gradient(150deg, #FFE7BC, var(--peanut-2));
  box-shadow: 3px 3px 0 rgba(43, 26, 15, .85);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
}

.card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.card-tag {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--peanut-3);
}

.manifesto {
  margin-top: 64px;
  padding: 52px 24px;
  border-top: 1.5px dashed var(--line-strong);
  border-bottom: 1.5px dashed var(--line-strong);
  text-align: center;
}

.manifesto p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  line-height: 1.55;
  letter-spacing: 0;
}

.manifesto span {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- tokenomics ---------- */
.nuts {
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(147, 217, 179, .16), transparent 60%),
    var(--cream-2);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.nuts-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 68px;
  align-items: center;
}

.donut-wrap {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.donut {
  --p: 95;
  position: relative;
  width: min(372px, 78vw);
  aspect-ratio: 1;
  padding: clamp(22px, 4vw, 32px);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--peanut) calc(var(--p) * 1%), var(--mint) 0);
  box-shadow: 8px 10px 0 rgba(43, 26, 15, .12);
  transition: --p 1.4s var(--ease);
}

.donut::before {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1.5px dashed rgba(43, 26, 15, .22);
  border-radius: 50%;
  animation: spin 52s linear infinite;
  pointer-events: none;
}

.donut-inner {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  text-align: center;
}

.donut-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.3vw, 1.42rem);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.donut-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.donut-chip {
  padding: 9px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
  animation: chipFloat 5s ease-in-out infinite;
}

.nuts-list { display: grid; }

.nut-row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1.5px dashed var(--line-strong);
}

.nut-row:first-child { padding-top: 0; }
.nut-row:last-child { border-bottom: 0; padding-bottom: 0; }

.swatch {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.sw-peanut { background: var(--peanut); }
.sw-mint { background: var(--mint); }
.sw-ink { background: var(--paper); border-style: dashed; }

.nut-body { flex: 1; }

.nut-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.nut-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

.nut-head strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  color: var(--peanut-3);
  font-variant-numeric: tabular-nums;
}

.nut-body p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.flag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}

.flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 253, 247, .65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.flag svg {
  width: 15px;
  height: 15px;
  color: var(--mint-deep);
}

/* ---------- roadmap ---------- */
.road-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.road-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 247, .7);
  transition: transform .28s var(--ease), border-color .2s ease, box-shadow .28s ease;
}

.road-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.road-card.is-live {
  border: 2px solid var(--ink);
  background: linear-gradient(155deg, #FFEFCB, #FFE0A8);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .9);
}

.road-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.road-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
}

.chip {
  padding: 6px 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.chip-live {
  border-color: var(--ink);
  background: var(--mint);
  color: var(--ink);
}

.road-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
}

.road-card li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 9px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.is-live li { color: var(--ink-2); }

.road-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--peanut);
}

/* ---------- mint ---------- */
.mint {
  background:
    radial-gradient(780px 520px at 10% 8%, rgba(240, 177, 76, .24), transparent 62%),
    radial-gradient(720px 520px at 92% 80%, rgba(147, 217, 179, .20), transparent 60%),
    var(--cream-2);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  overflow: hidden;
}

.mint .deco-a {
  width: 104px;
  top: 5%;
  right: 3%;
  rotate: 20deg;
}

.mint .deco-b {
  width: 74px;
  bottom: 6%;
  left: 2%;
  rotate: -16deg;
  animation-delay: -4s;
}

.mint-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: start;
}

.mint-info .sec-head { margin-bottom: 30px; }

.mint-progress-card {
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 247, .68);
  box-shadow: var(--shadow-soft);
}

.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B9A38A;
  flex: none;
}

.status-pill.live {
  background: var(--mint);
  border-color: var(--ink);
  color: var(--ink);
}

.status-pill.live i {
  background: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(79, 169, 124, .2);
  animation: pulseDot 2s ease-in-out infinite;
}

.status-pill.sold {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.status-pill.sold i { background: var(--peanut); }

.mp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 18px;
}

.mp-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.mp-stats span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .07em;
  color: var(--muted);
}

.mp-track,
.mint-track {
  height: 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(43, 26, 15, .08);
  overflow: hidden;
}

.mp-track i,
.mint-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--peanut-2), var(--peanut), var(--peanut-3));
  transition: width .9s var(--ease);
}

.mp-track.is-pending i,
.mint-track.is-pending i {
  width: 100% !important;
  background: repeating-linear-gradient(115deg, rgba(43, 26, 15, .16) 0 8px, rgba(43, 26, 15, .05) 8px 16px);
  animation: pendingStripes 1.4s linear infinite;
}

.mp-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.mp-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}

.mint-promises {
  margin-top: 24px;
  display: grid;
}

.mint-promises li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1.5px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.mint-promises li:last-child { border-bottom: 0; }

.mint-promises i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.mint-quote {
  position: relative;
  margin-top: 16px;
  padding: 24px 26px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 253, 247, .4);
}

.mq-mark {
  position: absolute;
  top: -16px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  color: var(--peanut);
}

.mint-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.mq-sign {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.mint-card {
  position: relative;
  padding: 26px 26px 0;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 8px 9px 0 rgba(43, 26, 15, .9);
}

.mint-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mint-card-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
}

.mint-price {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}

.mint-price strong {
  font-size: clamp(2.5rem, 4.4vw, 3.4rem);
  font-weight: 600;
}

.mint-price > span { font-size: 1.5rem; }

.mint-price small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted);
}

.mint-per {
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--muted);
}

.mint-per strong { color: var(--ink); }

.mint-wallet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
}

.wallet-btn {
  flex: 1;
  padding: 11px 14px;
  font-size: 12.5px;
  gap: 8px;
}

.wallet-btn .ic {
  width: 16px;
  height: 16px;
}

.wallet-btn.connected { background: var(--mint); }

.wallet-balance {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

.mint-supply-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 10.5px;
  color: var(--muted);
}

.mint-supply-label strong {
  font-size: 11.5px;
  color: var(--ink);
  white-space: nowrap;
}

.mint-supply-label small {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
}

.mint-track {
  height: 9px;
  margin-top: 8px;
}

.mint-lot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.mint-lot-row label {
  font-size: 13px;
  font-weight: 600;
}

.stepper {
  display: flex;
  align-items: center;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  overflow: hidden;
}

.stepper button {
  width: 38px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s ease;
}

.stepper button:hover { background: var(--peanut-2); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }

.stepper input {
  width: 42px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lot-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.lot-presets button {
  padding: 9px 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: transform .15s var(--ease), background .18s ease, border-color .18s ease, color .18s ease, box-shadow .15s ease;
}

.lot-presets button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.lot-presets button.active {
  background: var(--peanut);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.mint-receipt {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line-strong);
}

.mint-receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.mint-receipt strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.mint-btn {
  width: 100%;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 20px;
  font-size: 14.5px;
}

.mint-btn:disabled {
  background: var(--cream-2);
  color: var(--muted);
  border-color: var(--line-strong);
  box-shadow: 3px 4px 0 rgba(43, 26, 15, .12);
  transform: none;
  cursor: not-allowed;
}

.mint-btn:disabled::after { display: none; }

.mint-fine {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
}

.mint-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px -26px 0;
  padding: 13px 26px;
  border-top: 1.5px solid var(--line);
  border-radius: 0 0 26px 26px;
  background: var(--cream-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
}

.invite-card {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 40px;
  align-items: center;
  margin-top: 46px;
  padding: 30px 34px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(147, 217, 179, .4), transparent 55%),
    radial-gradient(100% 120% at 0% 100%, rgba(240, 177, 76, .4), transparent 55%),
    #FFF3DA;
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .9);
}

.invite-copy h3 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.invite-copy p {
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.invite-copy .invite-ref {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--peanut-3);
}

.invite-side { display: grid; gap: 12px; }

.invite-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.invite-stats > div {
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 253, 247, .65);
}

.invite-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.invite-stats span {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
}

.invite-link {
  display: flex;
  gap: 8px;
}

.invite-link input {
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  font-size: 10.5px;
  color: var(--ink-2);
  outline: none;
}

.invite-link input:focus { border-color: var(--peanut-3); }
.invite-link .btn { flex: none; }

.invite-hint {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}

.mint-contract-note {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.mint-contract-note + .mint-contract-note { margin-top: 6px; }

.mint-contract-link {
  color: var(--peanut-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mint-contract-link code {
  font-family: inherit;
  font-size: 11px;
  word-break: break-all;
}

.mint-contract-link:not([href]) {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

/* ---------- community ---------- */
.com-panel {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 44px;
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 2px solid var(--ink);
  border-radius: 34px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(147, 217, 179, .38), transparent 52%),
    radial-gradient(100% 110% at 0% 100%, rgba(240, 177, 76, .42), transparent 55%),
    linear-gradient(135deg, #FFF2D9, #FFF9EC);
  box-shadow: 10px 12px 0 rgba(43, 26, 15, .9);
  overflow: hidden;
}

.pill--on-panel { background: rgba(255, 253, 247, .7); }

.com-copy h2 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.com-copy > p {
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.com-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.com-note {
  margin-top: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: .7;
}

/* orbit visual (code-drawn) */
.orbit-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;
  inset: 7%;
  border: 2px dashed rgba(43, 26, 15, .28);
  border-radius: 50%;
  animation: spin 44s linear infinite;
}

.orbit-ring.ring-2 {
  inset: 21%;
  border: 1.5px solid rgba(43, 26, 15, .14);
  animation-duration: 34s;
  animation-direction: reverse;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 35%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 22%, #FFE3AC, var(--peanut));
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .9);
  transform: translate(-50%, -50%);
  animation: coreBob 6s ease-in-out infinite;
}

.orbit-core svg {
  width: 54%;
  height: 70%;
}

.orbit-core img {
  width: 64%;
  height: 64%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
}

.orbit-pill {
  position: absolute;
  z-index: 2;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(43, 26, 15, .88);
}

.op-1 { top: 3%; left: 2%; background: #FFE2B0; transform: rotate(-6deg); }
.op-2 { top: 17%; right: -2%; background: var(--mint); transform: rotate(5deg); }
.op-3 { bottom: 12%; left: -2%; background: var(--paper); transform: rotate(-4deg); }
.op-4 { bottom: 3%; right: 4%; background: var(--ink); color: var(--cream); transform: rotate(7deg); }

.orbit-peanut {
  position: absolute;
  z-index: 1;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  animation: bob 6s ease-in-out infinite;
}

.opn-1 { width: 32px; top: 44%; left: 1%; rotate: -18deg; }
.opn-2 { width: 24px; bottom: 26%; right: 2%; rotate: 26deg; animation-delay: -2.4s; }

/* ---------- faq ---------- */
.faq-inner { max-width: 860px; }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, .7);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}

.faq-item.open {
  border-color: var(--ink);
  background: var(--paper);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: transform .28s var(--ease), background .2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--peanut);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .36s var(--ease);
}

.faq-a p {
  padding: 0 22px 20px;
  max-width: 94%;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding: 70px 0 0;
  background: var(--cream-2);
  border-top: 1.5px solid var(--line);
  overflow: hidden;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.3fr .55fr .55fr;
  gap: 40px;
  padding-bottom: 46px;
}

.foot-brand p {
  margin: 18px 0 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.foot-col h4 {
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color .18s ease;
}

.foot-col a:hover { color: var(--peanut-3); }

.disclaimer {
  max-width: 840px;
  padding-top: 26px;
  border-top: 1.5px dashed var(--line-strong);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 40px;
  font-size: 11.5px;
  color: var(--muted);
}

.foot-domain {
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.watermark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 12.6vw, 10.5rem);
  line-height: .9;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(43, 26, 15, .16);
  user-select: none;
  pointer-events: none;
  padding-bottom: 8px;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 4px 0 rgba(43, 26, 15, .9);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  translate: 0 14px;
  transition: opacity .3s ease, visibility .3s ease, translate .3s var(--ease), transform .2s var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.to-top:hover { transform: translateY(-3px); }
.to-top:active { transform: translate(1px, 2px); }

.to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top-ring circle {
  fill: none;
  stroke-width: 2;
}

.to-top-ring .ring-bg { stroke: rgba(43, 26, 15, .12); }

.to-top-ring .ring-fill {
  stroke: var(--peanut-3);
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  stroke-linecap: round;
}

.to-top-arrow {
  width: 20px;
  height: 20px;
  color: var(--ink);
  transform: rotate(-90deg);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 950;
  padding: 13px 20px;
  border: 1.5px solid rgba(255, 253, 247, .18);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s var(--ease);
  box-shadow: 0 18px 34px -18px rgba(43, 26, 15, .6);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- particles ---------- */
.peanut-particle {
  position: fixed;
  z-index: 940;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.peanut-particle svg { width: 100%; height: 100%; }

/* ---------- keyframes ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes stageIn {
  from { opacity: 0; transform: rotate(-6deg) translateY(26px) scale(.97); }
  to { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); }
}

@keyframes mascotBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes coreBob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes loadbar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes lineUp {
  from {
    opacity: 0;
    transform: translateY(.38em);
    clip-path: inset(-10% -20% 100% -20%);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(-25% -25% -45% -25%);
  }
}

@keyframes wordIn {
  from { opacity: 0; letter-spacing: .55em; }
  to { opacity: 1; letter-spacing: .26em; }
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -22px) rotate(8deg); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-16px, 18px) rotate(-10deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: .95; transform: scale(1.1); }
}

@keyframes burstBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes speechIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px) rotate(-2deg) scale(.94); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-2deg) scale(1); }
}

@keyframes tailSway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.8deg); }
}

@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93.5%, 95.5% { transform: scaleY(.08); }
}

@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 169, 124, .16); }
  50% { box-shadow: 0 0 0 6px rgba(79, 169, 124, .05); }
}

@keyframes pendingStripes {
  to { background-position: 32px 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-inner { gap: 34px; }
  .road-grid { grid-template-columns: repeat(2, 1fr); }
  .nuts-grid { gap: 44px; }
  .foot-top { grid-template-columns: 1.2fr .55fr .55fr; }
  .mint-grid { gap: 34px; }
  .invite-card { gap: 26px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { display: none; }

  .hero { padding: 132px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .hero-stats { justify-content: center; }
  .ca-note { text-align: center; }
  .hero-visual { margin-top: 4px; }
  .hero-caption { justify-content: center; }

  .mascot-stage { width: min(430px, 92%); }
  .b-1 { left: -2%; }
  .b-2 { right: -3%; }
  .b-3 { left: 0; }
  .pf-3 { display: none; }
  .burst-sticker { width: 92px; right: -2%; }

  .lore-grid { grid-template-columns: repeat(2, 1fr); }
  .card:last-child { grid-column: 1 / -1; }

  .nuts-grid { grid-template-columns: 1fr; }
  .donut-wrap { order: -1; }

  .com-panel { grid-template-columns: 1fr; gap: 36px; }
  .orbit-visual { max-width: 300px; }
  .com-copy { text-align: center; }
  .com-copy > p { margin-inline: auto; }
  .com-actions { justify-content: center; }
  .pill--on-panel { margin-inline: auto; }

  .mint-grid { grid-template-columns: 1fr; gap: 38px; }
  .mint-info .sec-head { max-width: 640px; }
  .mint-card { width: min(560px, 100%); margin-inline: auto; }
  .invite-card { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
  .invite-copy { text-align: center; }
  .invite-copy p { margin-inline: auto; }
  .invite-side { max-width: 560px; width: 100%; margin-inline: auto; }

  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .hero { padding: 122px 0 60px; }
  .nav { padding: 12px 0; }
  .nav-actions > .icon-btn { display: none; }
  .nav-buy { display: none; }
  .mobile-menu-foot .socials { display: flex; }

  .hero-title { font-size: clamp(2.9rem, 12vw, 4rem); }
  .hero-lead { font-size: 15.5px; }
  .hero-stats { gap: 22px; }
  .stat-num { font-size: 20px; }

  .mascot-stage { width: min(400px, 94%); padding: 10px 10px 0; }
  .seal { right: -2%; font-size: 9.5px; padding: 9px 8px; }
  .float-badge { font-size: 9px; padding: 7px 11px; }
  .b-1 { top: 6%; left: 0; }
  .b-2 { top: 30%; right: 0; }
  .b-3 { bottom: 10%; left: 0; }
  .pf-1 { width: 36px; left: 6%; }
  .pf-2 { width: 24px; }

  .lore-grid { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .manifesto { margin-top: 48px; padding: 40px 8px; }

  .nut-head strong { font-size: 22px; }
  .flag-row { margin-top: 40px; }

  .ca-chip { width: auto; }
  .faq-q { padding: 17px 18px; font-size: 14.5px; }
  .faq-a p { padding: 0 18px 18px; }

  .mint-progress-card { padding: 20px; }
  .mp-stats { gap: 12px; }
  .mint-card { padding: 22px 20px 0; }
  .mint-card-foot { margin: 18px -20px 0; padding: 12px 20px; border-radius: 0 0 24px 24px; }
  .invite-card { padding: 24px 20px; }
  .invite-link { flex-direction: column; }
  .invite-link .btn { width: 100%; }

  .burst-sticker { width: 82px; right: 0; bottom: 0; }
  .caption-en { display: none; }
  .hero-floaters .s2,
  .hero-floaters .s5 { display: none; }

  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .lore-grid { gap: 14px; }
  .road-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .ca-chip { width: 100%; justify-content: space-between; }
  .hero-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 9px; }
  .seal { display: none; }
  .orbit-visual { max-width: 260px; }
  .orbit-pill { font-size: 9px; padding: 7px 10px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .foot-brand { grid-column: auto; }
  .watermark { -webkit-text-stroke-width: 1px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .to-top-arrow { width: 18px; height: 18px; }
  .mint-price strong { font-size: 2.2rem; }
  .mp-stats { gap: 8px; }
  .mp-stats strong { font-size: 1.2rem; }
  .mp-stats span { font-size: 9px; }
  .mint-card-label { font-size: 8.5px; }
  .status-pill { font-size: 8.5px; padding: 6px 9px; }
  .lot-presets button { font-size: 10px; }
  .burst-sticker { width: 74px; }
  .hero-floaters .s4 { display: none; }
}

@media (max-width: 720px) {
  .hero-floaters .d3,
  .hero-floaters .d4,
  .hero-floaters .d5 { display: none; }
  .hero-floaters .drift { opacity: .12; }
  .section-deco { display: none; }
  .speech { top: 3%; font-size: 11.5px; padding: 6px 11px; }
}

@media (hover: none) {
  .hero-glow { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1; }
  .ticker-track { animation: none; }
}

/* ============================================================
   LAUNCH (KimiMint factory + vault)
   ============================================================ */
.launch { position: relative; }
.launch-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1.5px dashed transparent;
  transition: color .18s ease, border-color .18s ease;
}
.launch-back:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.launch-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.launch-avatar {
  width: 104px;
  height: 104px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .92);
  overflow: hidden;
  transform: rotate(-2deg);
}
.launch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.launch-title { display: grid; gap: 6px; min-width: 0; }
.launch-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--peanut-3);
}
.launch-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.launch-name-row h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.05;
  letter-spacing: .01em;
}
.launch-name-row h2 span { color: var(--peanut-3); font-size: .52em; letter-spacing: .04em; }
.launch-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.launch-ca {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.launch-ca:hover { border-color: var(--ink); background: var(--paper); }
.launch-ca code { font-family: var(--font-body); font-size: 11.5px; color: var(--ink-2); }
.launch-ca .ic { width: 13px; height: 13px; color: var(--muted); }
.launch-dot { color: var(--line-strong); }

.launch-progress {
  margin-top: 30px;
  padding: 22px 24px 20px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .92);
}
.lp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lp-head strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1;
  color: var(--peanut-3);
}
.lp-track {
  position: relative;
  height: 14px;
  margin: 14px 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
}
.lp-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--peanut), var(--peanut-3));
  transition: width .5s var(--ease);
}
.lp-track.is-pending i {
  width: 34%;
  background: repeating-linear-gradient(115deg, var(--peanut-2) 0 12px, var(--peanut) 12px 24px);
  opacity: .55;
}
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.lp-stats > div {
  padding-left: 14px;
  border-left: 1.5px dashed var(--line-strong);
  min-width: 0;
}
.lp-stats > div:first-child { padding-left: 0; border-left: 0; }
.lp-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-stats span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
}
.lp-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

.launch-invite {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--mint-2);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .9);
}
.li-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
}
.li-icon svg { width: 22px; height: 22px; color: var(--mint-deep); }
.li-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.li-copy strong { font-size: 14.5px; }
.li-copy span { font-size: 12.5px; color: var(--ink-2); }
.li-action { display: flex; align-items: center; gap: 8px; flex: none; }
.li-action input {
  width: 230px;
  padding: 10px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-2);
}

.launch-grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.launch-mint {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .92);
}
.lm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.lm-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
}
.lm-price strong { font-size: clamp(38px, 5vw, 52px); line-height: 1; }
.lm-price span { font-size: 17px; color: var(--ink-2); }
.lm-price small { font-size: 12px; color: var(--muted); }
.lm-per { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.lm-per strong { color: var(--ink-2); }
.lm-wallet { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.lm-field { margin-top: 20px; }
.lm-field > label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lm-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px 50px;
  gap: 8px;
  margin-top: 8px;
}
.lm-stepper input {
  height: 54px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  appearance: textfield;
  -moz-appearance: textfield;
}
.lm-stepper input::-webkit-outer-spin-button,
.lm-stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.lm-stepper button {
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.lm-stepper button:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 3px 4px 0 var(--ink); }
.lm-stepper button:active:not(:disabled) { transform: translate(1px, 2px); box-shadow: 0 0 0 var(--ink); }
.lm-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.lm-range { width: 100%; margin-top: 16px; accent-color: var(--peanut-3); cursor: pointer; }
.lm-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.lm-range-meta b { color: var(--ink-2); }
.lm-receipt {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line-strong);
}
.lm-receipt > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.lm-receipt strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.lm-btn { width: 100%; margin-top: 20px; }
.lm-refund { width: 100%; margin-top: 10px; }
.lm-note { margin-top: 12px; font-size: 11.5px; color: var(--muted); text-align: center; }

.launch-guide {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .2);
}
.lg-tabs { display: flex; gap: 8px; }
.lg-tab {
  padding: 9px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.lg-tab.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.lg-panel { display: grid; gap: 10px; margin-top: 16px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.lg-panel strong { color: var(--ink); }
.lg-details {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line-strong);
}
.lg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; font-size: 12.5px; }
.lg-row span { color: var(--muted); flex: none; }
.lg-row b { font-weight: 600; text-align: right; word-break: break-all; }
.lg-row a { color: var(--mint-deep); border-bottom: 1px dotted rgba(79, 169, 124, .6); }
.lg-copy { width: 100%; margin-top: 20px; }
.launch-foot { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted); }

@media (max-width: 1024px) {
  .launch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lp-stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .lp-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .launch-invite { flex-wrap: wrap; }
  .li-action { width: 100%; }
  .li-action input { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 640px) {
  .launch-avatar { width: 78px; height: 78px; border-radius: 20px; }
  .launch-head { gap: 14px; }
  .launch-progress { padding: 18px 16px 16px; }
  .lp-stats strong { font-size: 17px; }
  .launch-mint, .launch-guide { padding: 20px 16px; }
  .lm-price strong { font-size: 40px; }
  .lg-row { font-size: 11.5px; gap: 12px; }
}


/* ============================================================
   RECORDS + AI AGENT
   ============================================================ */
.rec-deploy {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .92);
}
.rec-deploy-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.rec-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--peanut-3);
}
.rec-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--mint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.rec-verified i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(79, 169, 124, .2);
}
.rec-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin-top: 18px;
}
.rec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1.5px dashed var(--line-strong);
  font-size: 12.5px;
}
.rec-row span { color: var(--muted); flex: none; }
.rec-row b { font-weight: 600; text-align: right; }
.rec-row a {
  color: var(--mint-deep);
  border-bottom: 1px dotted rgba(79, 169, 124, .6);
  word-break: break-all;
}
.rec-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 18px;
}
.rec-count { font-size: 12px; color: var(--muted); }
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.rec-empty {
  grid-column: 1 / -1;
  padding: 34px 20px;
  border: 2px dashed var(--line-strong);
  border-radius: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.rec-card {
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .9);
}
.rec-card-top { display: flex; align-items: center; gap: 12px; }
.rec-card-top img {
  width: 46px;
  height: 46px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  object-fit: cover;
}
.rec-card-top div { min-width: 0; flex: 1; }
.rec-card-top strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-card-top span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-status {
  flex: none;
  padding: 4px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--mint-2);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.rec-bar {
  height: 10px;
  margin: 16px 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
}
.rec-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--peanut), var(--peanut-3));
}
.rec-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rec-card-stats b { display: block; font-family: var(--font-display); font-size: 15px; line-height: 1.2; }
.rec-card-stats span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.rec-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--line-strong);
  font-size: 11.5px;
}
.rec-card {
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .9);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.rec-card:hover,
.rec-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 9px 0 rgba(43, 26, 15, .9);
}
.rec-card:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 3px; }
.rec-card:active { transform: translate(1px, 1px); box-shadow: 3px 4px 0 rgba(43, 26, 15, .9); }
.rec-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mint-deep);
}
.rec-more svg { width: 15px; height: 15px; }
.rec-card-links a { color: var(--mint-deep); border-bottom: 1px dotted rgba(79, 169, 124, .6); }
.rec-addr { display: inline-flex; align-items: center; gap: 6px; }
.rec-copy {
  margin-left: 6px;
  padding: 1px 6px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--mint-deep);
  vertical-align: middle;
  cursor: pointer;
}
.rec-copy:hover { background: var(--mint-2); }

/* ---------- app views ---------- */
.view[hidden] { display: none !important; }
.view.is-active { animation: viewIn .28s var(--ease) both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.home-latest { padding: 8px 0 72px; }
.home-latest-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}
.home-more {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-deep);
  border-bottom: 1px dotted rgba(79, 169, 124, .6);
}
.rec-deploy summary { list-style: none; cursor: pointer; }
.rec-deploy summary::-webkit-details-marker { display: none; }
.rec-deploy summary:hover .rec-kicker { color: var(--mint-deep); }
.rec-deploy[open] .rec-rows { margin-top: 8px; }
.rec-deploy .rec-rows { margin-top: 0; }

/* ---------- create token ---------- */
.create-head { max-width: 720px; margin-bottom: 34px; }
.create-head h1 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
}
.create-head p { max-width: 620px; font-size: 14.5px; color: var(--muted); }
.create-grid {
  display: grid;
  grid-template-columns: 1.55fr .8fr;
  gap: 22px;
  align-items: start;
}
.create-form,
.create-summary {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 5px 6px 0 rgba(43, 26, 15, .9);
}
.cf-block + .cf-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 2px dashed var(--line-strong);
}
.cf-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 16px;
}
.cf-block h3 span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--peanut-2);
  font-size: 10px;
  font-weight: 700;
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cf-field { display: block; margin-top: 12px; }
.cf-grid .cf-field { margin-top: 0; }
.cf-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--cream);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}
.cf-field textarea { resize: vertical; line-height: 1.5; }
.cf-field input:focus,
.cf-field textarea:focus { outline: 2px solid var(--mint-deep); outline-offset: 1px; }
.cf-field input.mono,
.cf-field textarea.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.cf-note { margin-top: 12px; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.cf-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 2px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--cream);
}
.cf-avatar-preview {
  width: 72px;
  height: 72px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 26px;
  font-weight: 600;
  cursor: pointer;
}
.cf-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.cf-avatar-info { min-width: 0; flex: 1; }
.cf-avatar-info strong { display: block; font-size: 13px; }
.cf-avatar-info > span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.cf-avatar-actions { display: flex; gap: 8px; margin-top: 8px; }
.cf-tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-mechs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cf-mech {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 13px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cf-mech input { position: absolute; opacity: 0; pointer-events: none; }
.cf-mech b { font-family: var(--font-display); font-size: 13px; line-height: 1.2; }
.cf-mech span { font-size: 10.5px; line-height: 1.45; color: var(--muted); }
.cf-mech.is-on {
  border-color: var(--ink);
  background: var(--mint-2);
  box-shadow: 3px 3px 0 rgba(43, 26, 15, .9);
}
.cf-mech.is-on::after {
  content: "已选";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mint-deep);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.cf-mech.is-fixed {
  cursor: default;
  border-style: dashed;
  background: var(--paper);
  opacity: .9;
}
.cf-mech.is-fixed::after {
  content: "固定";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}
.cf-range input[type="range"]:disabled { opacity: .35; cursor: not-allowed; }
.cf-range { display: block; }
.cf-range > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.cf-range b { font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.cf-range input[type="range"] { width: 100%; accent-color: var(--peanut-3); cursor: pointer; }
.cf-alloc {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}
.cf-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: conic-gradient(var(--peanut) 0 100%);
  box-shadow: 4px 5px 0 rgba(43, 26, 15, .9);
  transition: background .2s ease;
}
.cf-ring::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.cf-ring-hole { position: relative; z-index: 1; text-align: center; line-height: 1.15; }
.cf-ring-hole b { display: block; font-family: var(--font-display); font-size: 20px; }
.cf-ring-hole span { font-size: 9.5px; color: var(--muted); }
.cf-alloc-controls { display: grid; gap: 12px; }
.cf-alloc-controls .cf-note { margin-top: 0; }
.cf-dividend {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line-strong);
}
.cf-dividend h4 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 13px;
}
.cs-mechs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cs-mechs span {
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 10px;
  font-weight: 600;
}
.cf-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.cf-agree input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--mint-deep); }
.cf-deploy { width: 100%; justify-content: center; margin-top: 14px; }
.cf-error { min-height: 18px; margin-top: 8px; font-size: 12px; color: #B4402F; }
.create-summary { position: sticky; top: 96px; }
.create-summary h3 { margin-bottom: 12px; font-family: var(--font-display); font-size: 17px; }
.cs-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1.5px dashed var(--line-strong);
  font-size: 12px;
}
.cs-rows span { color: var(--muted); }
.cs-rows b { text-align: right; font-weight: 600; }
.cs-rows a { color: var(--mint-deep); }
.cs-note { margin-top: 12px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.cs-progress {
  margin-top: 14px;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cream-2);
}
.cs-progress > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11.5px;
}
.cs-progress b { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.cs-progress .btn { width: 100%; }
.cs-success {
  margin-top: 14px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--mint-2);
  font-size: 12px;
}
.cs-success h4 { margin-bottom: 8px; font-family: var(--font-display); font-size: 15px; }
.cs-success .cs-addr {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  word-break: break-all;
}
.cs-success .cs-addr b { display: block; margin-bottom: 2px; font-family: var(--font-body); font-size: 10px; color: var(--muted); }
.cs-success .cs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

@media (max-width: 900px) {
  .create-grid { grid-template-columns: 1fr; }
  .create-summary { position: static; }
}
@media (max-width: 640px) {
  .cf-grid { grid-template-columns: 1fr; }
  .cf-mechs { grid-template-columns: 1fr; }
  .cf-tax-grid { grid-template-columns: 1fr; }
  .cf-alloc { grid-template-columns: 1fr; justify-items: center; }
  .cf-avatar-row { align-items: flex-start; }
  .create-form, .create-summary { padding: 18px 16px; }
}

/* ---------- token detail ---------- */
body.td-open { overflow: hidden; }

.td-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
}
.td-modal[hidden] { display: none; }
.td-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 26, 15, .55);
  backdrop-filter: blur(4px);
}
.td-sheet {
  position: relative;
  width: min(900px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  padding: 26px;
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 9px 11px 0 rgba(43, 26, 15, .9);
  animation: tdIn .26s var(--ease) both;
}
@keyframes tdIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.td-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -8px -8px 0 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.td-close:hover { background: var(--peanut-2); transform: rotate(90deg); }
.td-close svg { width: 18px; height: 18px; }
.td-body { min-height: 180px; }
.td-loading {
  padding: 46px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.td-head { display: flex; align-items: center; gap: 16px; padding-right: 44px; }
.td-avatar {
  width: 68px;
  height: 68px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  object-fit: cover;
  background: var(--cream-2);
  box-shadow: 3px 3px 0 rgba(43, 26, 15, .85);
}
.td-head-main { min-width: 0; }
.td-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
}
.td-head-main h3 {
  margin: 3px 0 6px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.15;
}
.td-head-main h3 span { color: var(--peanut-3); font-size: 17px; }
.td-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.td-created { font-size: 11px; color: var(--muted); }
.td-chip {
  padding: 3px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--mint-2);
  font-size: 10px;
  font-weight: 700;
}
.td-chip--off { background: var(--cream-2); color: var(--muted); }
.td-progress { margin: 20px 0 6px; }
.td-progress-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.td-progress-top b { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.td-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 18px;
}
.td-block {
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
}
.td-block h4 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .02em;
}
.td-list { display: grid; gap: 0; }
.td-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1.5px dashed var(--line-strong);
  font-size: 12px;
}
.td-list > div:last-child { border-bottom: 0; }
.td-list span { flex: none; color: var(--muted); }
.td-list b { font-weight: 600; text-align: right; word-break: break-all; }
.td-list a { color: var(--mint-deep); border-bottom: 1px dotted rgba(79, 169, 124, .6); }
.td-addr { display: inline-flex; align-items: center; gap: 6px; }
.td-copy {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--mint-deep);
  cursor: pointer;
}
.td-copy:hover { background: var(--mint-2); border-color: var(--mint-deep); }
.td-copy svg { width: 12px; height: 12px; }
.cs-copy {
  margin-left: 8px;
  padding: 2px 7px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
}
.cs-copy:hover { background: var(--peanut-2); }
.cs-warn {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1.5px solid var(--peanut-3);
  border-radius: 10px;
  background: rgba(240, 177, 76, .16);
}
.cs-warn b { display: block; font-size: 11px; letter-spacing: .04em; color: var(--peanut-3); }
.cs-warn p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.cf-note-warn { color: var(--peanut-3); font-weight: 600; }
.lg-copy {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  color: var(--mint-deep);
  vertical-align: middle;
  cursor: pointer;
}
.lg-copy:hover { background: var(--mint-2); }
.lg-copy svg { width: 11px; height: 11px; }
.td-note { margin-top: 10px; font-size: 11px; line-height: 1.55; color: var(--muted); }
.td-action { margin-top: 18px; }
.td-action-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.td-action-head h4 { margin: 0; }
.td-action-head span { font-size: 11px; color: var(--muted); }
.td-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.td-stepper {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
}
.td-stepper button {
  width: 34px;
  height: 36px;
  border: 0;
  background: var(--cream-2);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.td-stepper button:hover { background: var(--peanut-2); }
.td-stepper input {
  width: 64px;
  height: 36px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
}
.td-action .td-note { margin-top: 10px; }
.td-action .btn + .btn { margin-left: 8px; margin-top: 10px; }
.td-buffer {
  margin-top: 16px;
  padding: 12px;
  border: 1.5px solid var(--peanut-3);
  border-radius: 12px;
  background: rgba(240, 177, 76, .14);
}
.td-buffer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.td-buffer-head b { font-family: var(--font-display); font-size: 13px; }
.td-buffer-head span { font-size: 10.5px; font-weight: 700; color: var(--peanut-3); }
.td-buffer .td-note { margin-top: 2px; color: var(--ink-2); }
.td-buffer-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
}
.td-buffer-addr > span { color: var(--muted); }
.td-buffer-addr code { font-size: 11px; }
.td-buffer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.td-wl-admin {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px dashed var(--line-strong);
}
.td-wl-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 12px;
}
.td-wl-input {
  width: 100%;
  padding: 9px 11px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.td-wl-input:focus { outline: 2px solid var(--mint-deep); outline-offset: 1px; }
.td-wl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.td-records { margin-top: 18px; }
.td-records-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.td-records-head h4 { margin: 0; }
.td-records-head span { font-size: 11px; color: var(--muted); }
.td-rec-list { display: grid; gap: 0; }
.td-rec-row {
  display: grid;
  grid-template-columns: 118px 1fr 76px 92px 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1.5px dashed var(--line-strong);
  font-size: 11.5px;
}
.td-rec-row:last-child { border-bottom: 0; }
.td-rec-time { color: var(--muted); white-space: nowrap; }
.td-rec-who { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--mint-deep); }
.td-rec-qty { font-weight: 700; }
.td-rec-paid { color: var(--ink-2); white-space: nowrap; }
.td-rec-tx { text-align: right; color: var(--mint-deep); white-space: nowrap; }
.td-rec-note { padding: 18px 6px; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
  .td-sheet { padding: 20px 16px; }
  .td-grid { grid-template-columns: 1fr; }
  .td-head-main h3 { font-size: 21px; }
  .td-rec-row { grid-template-columns: 1fr auto auto; row-gap: 2px; }
  .td-rec-time { grid-column: 1 / -1; font-size: 10.5px; }
  .td-rec-tx { display: none; }
  .launch-app-foot { flex-direction: column; align-items: flex-start; }
}

.agent-hint {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 11.5px;
  color: var(--mint-deep);
  text-decoration: underline dotted;
  cursor: pointer;
}
.agent-steps { display: grid; gap: 6px; margin: 2px 0 0; padding-left: 18px; font-size: 13px; }
.agent-steps li { list-style: decimal; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-note { font-size: 11.5px; color: var(--muted); }

@media (max-width: 860px) {
  .rec-rows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rec-list { grid-template-columns: 1fr; }
  .rec-deploy { padding: 20px 16px; }
  .rec-row { font-size: 11.5px; }
}


.lg-panel code,
.agent-steps code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .92em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(43, 26, 15, .07);
  word-break: break-all;
}


.agent-details {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--line-strong);
}
.agent-details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.agent-details p {
  margin: 10px 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- flap-style project card ---------- */
.launch-app {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(43, 26, 15, .92);
}
.launch-app-banner {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--cream-2);
}
.launch-app-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.launch-app-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  box-shadow: 2px 3px 0 var(--ink);
}
.launch-app-banner .status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--paper);
}
.launch-app-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px 20px;
}
.launch-app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 16px;
  border-top: 2px dashed var(--line-strong);
  font-size: 12px;
  color: var(--muted);
}
.launch-app-foot .btn { flex: none; }
.launch-app-icon {
  width: 68px;
  height: 68px;
  flex: none;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 3px 4px 0 var(--ink);
}
.launch-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.launch-app-info { display: grid; gap: 6px; min-width: 0; }
.launch-app-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.launch-app-title h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}
.launch-app-title h2 span { color: var(--peanut-3); font-size: .55em; letter-spacing: .03em; }
.launch-app-tag {
  padding: 4px 9px;
  border: 1.5px solid var(--peanut-3);
  border-radius: 6px;
  background: rgba(240, 177, 76, .14);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--peanut-3);
  transform: rotate(-2deg);
}
.launch-app-info p { max-width: 680px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .launch-app-banner { aspect-ratio: 16 / 10; }
  .launch-app-body { padding: 16px 16px 18px; gap: 12px; }
  .launch-app-icon { width: 54px; height: 54px; border-radius: 13px; }
}



/* ============================================================
   GOATMINT · 羊村主题覆盖
   ============================================================ */
:root {
  --cream: #F3FBE7;
  --cream-2: #E6F6D5;
  --paper: #FFFEF4;
  --ink: #223A1E;
  --ink-2: #35502E;
  --muted: #6C8060;
  --peanut: #FFD34E;
  --peanut-2: #FFE27A;
  --peanut-3: #D98A1F;
  --mint: #8BD96B;
  --mint-2: #E2F7D4;
  --mint-deep: #3E8F3B;
  --line: rgba(34, 58, 30, .14);
  --line-strong: rgba(34, 58, 30, .28);
  --sky: #BDEDFF;
  --wolf: #8C99A6;
  --wolf-2: #E8EDF2;
  --scarf: #4A9BD8;
  --shadow-soft: 0 24px 50px -34px rgba(34, 58, 30, .45);
  --shadow-sticker: 6px 7px 0 rgba(34, 58, 30, .92);
}

::selection { background: var(--peanut); color: var(--ink); }

body {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(189, 237, 255, .35), transparent 65%),
    var(--cream);
}

.brand-mark { background: var(--mint-2); }

.hero-bg {
  background:
    radial-gradient(520px 380px at 84% 8%, rgba(255, 211, 78, .55), transparent 70%),
    radial-gradient(700px 420px at 8% 12%, rgba(255, 255, 255, .8), transparent 72%),
    linear-gradient(180deg, #D8F3FF 0%, #EAF9DC 50%, var(--cream) 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 50% 50%, #fff 98%, transparent 100%) 16% 16% / 130px 44px no-repeat,
    radial-gradient(closest-side at 50% 50%, #fff 98%, transparent 100%) 24% 13% / 90px 34px no-repeat,
    radial-gradient(closest-side at 50% 50%, #fff 98%, transparent 100%) 70% 22% / 150px 48px no-repeat,
    radial-gradient(closest-side at 50% 50%, #fff 98%, transparent 100%) 80% 19% / 100px 36px no-repeat,
    radial-gradient(closest-side at 50% 50%, rgba(255,255,255,.9) 98%, transparent 100%) 50% 7% / 110px 38px no-repeat;
  opacity: .8;
  pointer-events: none;
}

.hero-bg::after {
  background:
    radial-gradient(140% 72% at 12% 112%, #A9E081 0 58%, transparent 59%),
    radial-gradient(120% 64% at 92% 114%, #93D96B 0 58%, transparent 59%);
  opacity: .9;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-glow {
  background: radial-gradient(circle, rgba(255, 211, 78, .35), rgba(255, 211, 78, 0) 62%);
}

.hero-floaters .drift {
  opacity: .22;
  border: 2px solid rgba(34, 58, 30, .5);
  background: rgba(255, 254, 244, .85);
  padding: 2px;
  object-fit: contain;
}

.ticker { background: #2E5426; }

.mascot-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: linear-gradient(180deg, #CDEFFF 0 52%, #A6E07D 52% 100%);
  box-shadow: 0 10px 0 rgba(34, 58, 30, .06) inset;
}

.mascot-sun {
  position: absolute;
  top: 7%;
  right: 9%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFD34E;
  box-shadow: 0 0 0 9px rgba(255, 211, 78, .3);
}

.mascot-cloud {
  position: absolute;
  height: 8%;
  border-radius: 999px;
  background: #fff;
  opacity: .92;
  box-shadow: 18px 0 0 -2px #fff, 36px 0 0 -4px #fff;
}

.mascot-cloud.c1 { width: 17%; top: 13%; left: 7%; }
.mascot-cloud.c2 { width: 12%; top: 27%; right: 16%; }

.mascot-hill {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -10%;
  height: 36%;
  border-radius: 50% 50% 0 0;
  background: #8FD468;
}

.mascot-sheep {
  position: absolute;
  left: 48%;
  bottom: 5%;
  width: 58%;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 0 rgba(34, 58, 30, .10));
}

.mascot-wolf {
  position: absolute;
  right: 3%;
  bottom: 9%;
  width: 24%;
  transform: rotate(6deg);
  filter: drop-shadow(0 5px 0 rgba(34, 58, 30, .10));
}

.tick-peanut {
  background: var(--paper);
  padding: 1px;
}

.section-deco { width: 110px; }
.section-deco.deco-a { top: 6%; left: 2%; rotate: -12deg; }
.section-deco.deco-b { right: 3%; bottom: 8%; rotate: 10deg; }

.launch-banner-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #CDEFFF 0 58%, #A6E07D 58% 100%);
}

.lb-sun {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFD34E;
  box-shadow: 0 0 0 9px rgba(255, 211, 78, .3);
}

.lb-cloud {
  position: absolute;
  height: 9%;
  border-radius: 999px;
  background: #fff;
  opacity: .9;
  box-shadow: 20px 0 0 -2px #fff, 40px 0 0 -4px #fff;
}

.lb-cloud.c1 { width: 12%; top: 16%; left: 10%; }
.lb-cloud.c2 { width: 9%; top: 30%; right: 28%; }

.lb-hill {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 46%;
  border-radius: 50% 50% 0 0;
  background: #8FD468;
}

.lb-sheep {
  position: absolute;
  left: 14%;
  bottom: 3%;
  width: 15%;
  filter: drop-shadow(0 6px 0 rgba(34, 58, 30, .10));
}

.lb-wolf {
  position: absolute;
  right: 15%;
  bottom: 8%;
  width: 11%;
  transform: rotate(6deg);
  filter: drop-shadow(0 5px 0 rgba(34, 58, 30, .10));
}

.launch-app-icon svg {
  width: 100%;
  height: 100%;
  padding: 3px;
  background: #E8F8D9;
}

.footer {
  background:
    radial-gradient(600px 260px at 50% 120%, rgba(139, 217, 107, .35), transparent 70%),
    var(--cream-2);
}

@media (max-width: 760px) {
  .section-deco { width: 72px; }
  .mascot-wolf { width: 26%; }
  .lb-sheep { width: 18%; }
  .lb-wolf { width: 13%; }
}

/* ============================================================
   GOATMINT · 视觉精修（羊村草原版）
   ============================================================ */
:root {
  --font-display: "Fredoka", "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --grass-deep: #3E8F3B;
  --sun: #FFD34E;
  --wolf-orange: #E07A2F;
}

/* 导航、品牌与按钮 */
.nav.scrolled { background: rgba(243, 251, 231, .9); }

.brand-mark {
  background: linear-gradient(160deg, #FFFEF4 0%, #E2F7D4 58%, #C9EEB4 100%);
}

.brand-seal {
  background: var(--sun);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 1px 2px 0 rgba(34, 58, 30, .35);
}

.nav-links a::after { background: var(--grass-deep); }

.btn-primary {
  background: linear-gradient(180deg, #FFE27A 0%, var(--peanut) 62%, #F5BF35 100%);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FFEC9B 0%, #FFD34E 62%, #F2B92A 100%);
}

.btn-ghost { background: rgba(255, 254, 244, .6); }

/* Hero：羊村草地、栅栏与立体贴纸 */
.stage-dots { background-image: radial-gradient(rgba(34, 58, 30, .18) 1px, transparent 1px); }

.mascot-stage {
  background: radial-gradient(120% 92% at 50% 12%, #FFFEF4 0%, #E9F9D9 56%, #D8F1C2 100%);
  box-shadow:
    0 0 0 8px #FFFEF4,
    10px 12px 0 rgba(34, 58, 30, .9),
    0 32px 60px -36px rgba(34, 58, 30, .5);
}

.mascot-art::after,
.launch-banner-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 17%;
  background:
    linear-gradient(180deg, transparent 0 22%, #FFFDF4 22% 32%, transparent 32% 62%, #FFFDF4 62% 72%, transparent 72%),
    repeating-linear-gradient(90deg, #FFFDF4 0 8px, transparent 8px 22px);
  opacity: .92;
  pointer-events: none;
}

.launch-banner-art::after { height: 20%; }

/* 发射页与项目卡 */
.launch {
  background: radial-gradient(900px 460px at 50% -12%, rgba(189, 237, 255, .5), transparent 70%);
}

.launch-app { position: relative; }

.launch-app::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  z-index: 2;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: repeating-linear-gradient(90deg, var(--peanut) 0 26px, var(--mint) 26px 52px);
  pointer-events: none;
}

.launch-progress,
.launch-mint,
.launch-guide,
.rec-deploy,
.rec-card,
.create-form,
.create-summary {
  background: linear-gradient(180deg, var(--paper) 0%, #FBFEF3 100%);
}

.lp-track i {
  background: linear-gradient(90deg, var(--mint), var(--peanut));
}

.launch-invite {
  border-style: dashed;
  background:
    radial-gradient(rgba(255, 255, 255, .75) 1.5px, transparent 1.5px) 0 0 / 14px 14px,
    var(--mint-2);
}

.rec-card {
  position: relative;
  overflow: hidden;
}

.rec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mint), var(--peanut));
}

.rec-card:hover,
.rec-card:focus-visible {
  box-shadow: 7px 8px 0 rgba(34, 58, 30, .9);
}

.rec-card-top img {
  background: #E8F8D9;
}

/* 创建页 */
.create {
  background: radial-gradient(820px 420px at 50% -12%, rgba(189, 237, 255, .42), transparent 70%);
}

.cf-block h3 span {
  background: var(--mint-2);
}

.cf-mech.is-on {
  background: linear-gradient(180deg, #EAFBE0, var(--mint-2));
}

.cf-mech.is-on::after { background: var(--grass-deep); }

.cf-mech.is-fixed { background: #FBFEF3; }

.cf-range input[type="range"] { accent-color: var(--grass-deep); }

/* 索引页与页脚 */
.records {
  background: radial-gradient(820px 420px at 50% -12%, rgba(189, 237, 255, .38), transparent 70%);
}

.ticker { background: #2E5426; }
.tick { color: #EAF9DC; }

.foot-col a:hover { color: var(--wolf-orange); }

.watermark { -webkit-text-stroke: 1.2px rgba(34, 58, 30, .16); }

.sec-head h2,
.create-head h1,
.home-latest-title { text-wrap: balance; }

/* 小屏细节 */
@media (max-width: 760px) {
  .launch-app::before { left: 16px; right: 16px; height: 4px; }
  .rec-card::before { height: 4px; }
}

/* ============================================================
   GOATMINT · 二次元高级视觉
   ============================================================ */
.hero-bg {
  background:
    radial-gradient(760px 520px at 78% 8%, rgba(255, 211, 78, .42), transparent 68%),
    radial-gradient(900px 540px at 10% 10%, rgba(255, 255, 255, .82), transparent 72%),
    radial-gradient(620px 440px at 50% 108%, rgba(124, 201, 94, .34), transparent 70%),
    linear-gradient(180deg, #DFF6FF 0%, #EDFAE0 48%, var(--cream) 100%);
}

/* 漂浮光尘 */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, rgba(255, 211, 78, .95) 52%, transparent 72%);
  box-shadow: 0 0 10px 2px rgba(255, 211, 78, .35);
  opacity: 0;
  animation: particleRise var(--d) ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

@keyframes particleRise {
  0% { transform: translate3d(0, 26px, 0) scale(.5); opacity: 0; }
  18% { opacity: .9; }
  72% { opacity: .75; }
  100% { transform: translate3d(var(--dx, 0), -96px, 0) scale(1.15); opacity: 0; }
}

/* 首屏二次元主视觉 */
.mascot-stage {
  background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(230, 250, 210, .94));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.anime-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: #0d1a24;
  box-shadow:
    0 0 0 1px rgba(34, 58, 30, .16),
    0 18px 42px -14px rgba(16, 46, 38, .5),
    0 0 70px -18px rgba(255, 211, 78, .6);
  transition: box-shadow .35s var(--ease);
}

.anime-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 211, 78, .7) 34%, rgba(124, 224, 255, .65) 68%, rgba(255, 255, 255, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.anime-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 20, 16, .58) 100%);
  pointer-events: none;
}

.anime-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.03);
  animation: animeBreath 12s ease-in-out infinite;
  will-change: transform;
}

@keyframes animeBreath {
  0%, 100% { transform: scale(1.03) translateY(0); }
  50% { transform: scale(1.07) translateY(-8px); }
}

.anime-shine {
  position: absolute;
  top: -60%;
  left: -75%;
  z-index: 4;
  width: 42%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: rotate(18deg);
  animation: cardShine 5.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardShine {
  0%, 52% { left: -75%; }
  78%, 100% { left: 135%; }
}

.anime-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(9, 26, 20, .55);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: #F4FFE9;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.anime-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BF0A8;
  box-shadow: 0 0 0 3px rgba(139, 240, 168, .25);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.mascot-stage:hover .anime-card {
  box-shadow:
    0 0 0 1px rgba(34, 58, 30, .16),
    0 24px 50px -14px rgba(16, 46, 38, .55),
    0 0 90px -14px rgba(255, 211, 78, .7);
}

/* 灰太狼浮卡 */
.anime-subcard {
  position: absolute;
  right: -9%;
  bottom: -8%;
  z-index: 4;
  width: 33%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 3px solid #FFFEF4;
  border-radius: 20px;
  background: #0d1520;
  box-shadow:
    0 16px 32px -12px rgba(16, 46, 38, .6),
    0 0 0 1px rgba(34, 58, 30, .2);
  transform: rotate(-7deg);
  animation: subFloat 6s ease-in-out infinite;
}

.anime-subcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.anime-subcard span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(5, 15, 10, .85));
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

@keyframes subFloat {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}

.mascot-tilt .photo-sticker {
  top: 14px;
  left: auto;
  right: 14px;
  bottom: auto;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 254, 244, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mascot-tilt .photo-sticker svg {
  width: 16px;
  height: 16px;
}

/* 发射页电影感 Banner */
.launch-app-banner {
  isolation: isolate;
}

.launch-banner-art {
  z-index: 0;
  isolation: isolate;
  background: #0b1712;
}

.launch-app-banner .launch-app-badge,
.launch-app-banner .status-pill {
  z-index: 5;
}

.launch-banner-art::after { content: none; }

.lb-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.06) contrast(1.03) brightness(.96);
  animation: bannerZoom 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bannerZoom {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.lb-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 15, 10, .78) 0%, rgba(5, 15, 10, .32) 36%, rgba(5, 15, 10, 0) 62%, rgba(5, 15, 10, .38) 100%),
    linear-gradient(180deg, rgba(5, 15, 10, .18) 0%, transparent 38%, rgba(5, 15, 10, .58) 100%);
  pointer-events: none;
}

.lb-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  mix-blend-mode: overlay;
  opacity: .6;
  animation: gridPan 14s linear infinite;
  pointer-events: none;
}

@keyframes gridPan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

.lb-beam {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -40%;
  z-index: 3;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: rotate(14deg);
  animation: bannerBeam 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerBeam {
  0%, 28% { left: -40%; opacity: 0; }
  44% { opacity: .85; }
  72%, 100% { left: 120%; opacity: 0; }
}

.launch-app-banner .launch-app-badge {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(8, 22, 16, .5);
  color: #F4FFE9;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 4px 18px -6px rgba(0, 0, 0, .5);
}

.launch-app-banner .status-pill {
  background: rgba(255, 254, 244, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 卡片光效 */
.launch-app {
  transition: box-shadow .3s var(--ease);
}

.launch-app:hover {
  box-shadow:
    8px 10px 0 rgba(34, 58, 30, .92),
    0 0 54px -14px rgba(124, 224, 255, .55);
}

.rec-card:hover,
.rec-card:focus-visible {
  box-shadow:
    8px 10px 0 rgba(34, 58, 30, .9),
    0 0 34px -8px rgba(255, 211, 78, .55);
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  .hero-particles,
  .anime-shine,
  .lb-grid,
  .lb-beam { display: none; }
  .anime-photo,
  .anime-subcard,
  .lb-photo { animation: none; }
}

@media (max-width: 900px) {
  .anime-subcard {
    right: -4%;
    bottom: -6%;
    width: 30%;
  }
}

@media (max-width: 640px) {
  .anime-subcard { display: none; }
  .mascot-tilt .photo-sticker { font-size: 8.5px; }
}

/* ============================================================
   GOATMINT · 羊村档案
   ============================================================ */
.char-section {
  padding: 8px 0 86px;
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}

.char-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgba(34, 58, 30, .9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.char-card:hover {
  transform: translateY(-6px) rotate(-.3deg);
  box-shadow:
    8px 10px 0 rgba(34, 58, 30, .9),
    0 0 42px -10px rgba(255, 211, 78, .5);
}

.char-wolf:hover {
  box-shadow:
    8px 10px 0 rgba(34, 58, 30, .9),
    0 0 42px -10px rgba(105, 130, 255, .5);
}

.char-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1a24;
}

.char-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .26) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}

.char-card:hover .char-media::before {
  transform: translateX(120%);
}

.char-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 72%, rgba(7, 20, 14, .34) 100%);
  pointer-events: none;
}

.char-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: transform .8s var(--ease);
}

.char-card:hover .char-media img {
  transform: scale(1.08);
}

.char-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(8, 22, 16, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #F4FFE9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.char-goat .char-tag { background: rgba(46, 120, 60, .72); }
.char-wolf .char-tag { background: rgba(58, 52, 92, .72); }

.char-index {
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}

.char-body {
  padding: 18px 20px 20px;
}

.char-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.15;
}

.char-body p {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}

.char-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.char-stats span {
  padding: 4px 9px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}

@media (max-width: 760px) {
  .char-grid { grid-template-columns: 1fr; }
  .char-section { padding-bottom: 56px; }
  .char-media { aspect-ratio: 16 / 11; }
}

/* ============================================================
   GOATMINT · 图片展示修正（完整展示，不硬裁）
   ============================================================ */
.lb-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  filter: blur(24px) saturate(1.15) brightness(.78);
  opacity: .62;
  transform: scale(1.04);
}

.lb-photo {
  inset: 0 4% 0 auto;
  width: 48%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .45));
  animation: bannerFloat 9s ease-in-out infinite;
}

@keyframes bannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lb-veil {
  background:
    linear-gradient(90deg, rgba(5, 15, 10, .82) 0%, rgba(5, 15, 10, .34) 32%, rgba(5, 15, 10, 0) 58%, rgba(5, 15, 10, .12) 100%),
    linear-gradient(180deg, rgba(5, 15, 10, .1) 0%, transparent 40%, rgba(5, 15, 10, .34) 100%);
}

.char-bg {
  display: none;
}

.char-main {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .8s var(--ease);
}

.char-card:hover .char-main {
  transform: scale(1.06);
}

@media (max-width: 760px) {
  .lb-photo { width: 56%; right: 1%; }
  .lb-bg { filter: blur(18px) saturate(1.1) brightness(.72); }
  .char-media { aspect-ratio: 1 / 1; }
  .char-grid { max-width: none; }
}




