/* NI HAO WOJAK — ink, paper, and a very unbothered master. */
:root {
  --paper: #faf4e6;
  --paper-dark: #efe5cd;
  --ink: #22221e;
  --red: #e93626;
  --red-dark: #c6271b;
  --gold: #f7ca50;
  --muted: #696658;
  --line: #c7c0ad;
  --display: "Dela Gothic One", sans-serif;
  --body: "Bricolage Grotesque", sans-serif;
  --mono: "Chivo Mono", monospace;
  --wrap: 1320px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.55' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
::selection {
  background: var(--red);
  color: var(--paper);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
summary,
a {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid var(--red);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.46;
}
svg {
  fill: currentColor;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--wrap), calc(100% - 112px));
  margin-inline: auto;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.035em;
}
.red-text {
  color: var(--red);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 60;
  padding: 15px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 10px;
}

/* The masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.brand > img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}
.brand > span {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.17;
  letter-spacing: -0.7px;
  position: relative;
}
.brand-dot {
  font-family: var(--mono);
  font-size: 10px;
  position: absolute;
  top: -4px;
  right: -12px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  position: relative;
  padding: 15px 0;
}
.nav-link > span {
  font-size: 10px;
  color: var(--muted);
  margin-right: 6px;
}
.nav-link::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
}
.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 13px 19px;
  border: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translate(-2px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}
.button:active {
  transform: translate(0);
  box-shadow: 0 0 0 var(--ink);
}
.button-red {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.button-red:hover {
  background: var(--red-dark);
  border-color: var(--ink);
}
.button-paper {
  background: transparent;
}
.button-paper:hover {
  background: var(--paper-dark);
}
.button-cream {
  background: var(--paper);
  color: var(--ink);
}
.button-end {
  margin-left: auto;
  font-size: 19px;
  font-family: var(--body);
  font-weight: 500;
}
.icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  object-fit: contain;
}
.icon-light {
  filter: brightness(0) invert(95%) sepia(15%) saturate(340%) hue-rotate(340deg);
}
.header-buy {
  min-height: 46px;
  font-size: 11px;
  padding: 11px 15px;
  gap: 8px;
}
.header-buy .icon {
  width: 23px;
  height: 23px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--ink);
  place-items: center;
}
.menu-toggle > img {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

/* The master */
.hero {
  position: relative;
  padding-top: 24px;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.hero-topline > span:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.little-dot {
  display: inline-block;
  background: var(--red);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e9362615;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 48px;
  padding: 48px 0 37px;
  align-items: center;
}
.hero-heading {
  position: relative;
}
.hero h1 {
  font-size: clamp(67px, 7.35vw, 110px);
  line-height: 1.05;
  letter-spacing: -6px;
  white-space: nowrap;
  margin-left: -6px;
}
.hero h1 > span:first-child {
  color: var(--red);
}
.title-period {
  color: var(--red);
}
.mini-seal {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: serif;
  font-size: 23px;
  line-height: 1.05;
  padding: 4px 7px;
  transform: rotate(8deg);
}
.hero-subtitle {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-top: 22px;
}
.small-star {
  color: var(--red);
  font-size: 27px;
  line-height: 1;
}
.hero-description {
  font-size: 18px;
  line-height: 1.65;
  color: #625f53;
  margin: 21px 0 27px;
}
.hero-links {
  max-width: 487px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 11px;
}
.hero-links .button {
  padding: 15px 15px;
  min-height: 57px;
  font-size: 11px;
  gap: 10px;
}
.hero-links .hero-buy {
  font-size: 11px;
}
.hero-links .icon {
  width: 22px;
  height: 22px;
}
.dex-icon {
  background: var(--ink);
  border-radius: 3px;
}
.contract-bar {
  display: flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  max-width: 487px;
  padding: 19px 0 11px;
  min-width: 0;
}
.contract-label {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 5px;
  background: var(--paper-dark);
}
#contract-address {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: 0;
  padding: 5px 0 5px 8px;
  font-family: var(--mono);
  font-size: 10px;
  min-height: 36px;
}
.copy-button img {
  width: 20px;
  height: 20px;
}
.hero-art {
  position: relative;
  min-width: 0;
  padding: 19px 41px 10px 24px;
  perspective: 1000px;
}
.art-corner-note {
  position: absolute;
  top: -8px;
  right: 46px;
  color: var(--muted);
  font-size: 9px;
}
.master-halo {
  position: absolute;
  border: 1px solid #e936262d;
  width: 93%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 6%;
  left: 2%;
  z-index: -1;
}
.master-halo::before,
.master-halo::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid #e936261d;
  border-radius: 50%;
}
.master-halo::after {
  inset: 32px;
}
.vertical-han {
  position: absolute;
  top: 62px;
  right: -9px;
  font-family: serif;
  font-weight: 900;
  font-size: 43px;
  line-height: 1.3;
  color: var(--red);
}
.master-poster {
  position: relative;
  transform: rotate(3deg);
  background: var(--red);
  padding: 12px 12px 0;
  border: 1px solid var(--red);
  box-shadow: 10px 10px 0 #e9362619;
  will-change: transform;
  transition: transform 0.25s ease;
}
.poster-top {
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  padding: 1px 1px 10px;
  font-size: 9px;
  letter-spacing: 0.03em;
}
.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.05;
}
.master-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.8) sepia(0.1);
  transition: transform 0.7s;
}
.master-poster:hover .master-photo {
  transform: scale(1.035);
}
.photo-caption {
  position: absolute;
  bottom: 13px;
  left: 14px;
  color: var(--paper);
  font-size: 9px;
  line-height: 1.6;
  text-shadow: 0 1px 5px #0008;
}
.master-poster figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0 13px;
  color: var(--paper);
}
.master-poster figcaption > span:first-child {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.master-poster figcaption .mono {
  font-size: 7px;
}
.lucky-stamp {
  position: absolute;
  bottom: 98px;
  left: -15px;
  background: var(--gold);
  border: 2px solid var(--ink);
  width: 107px;
  height: 107px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(-13deg);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  outline: 1px dashed var(--ink);
  outline-offset: -7px;
}
.lucky-stamp > span {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lucky-stamp > b {
  font-family: serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
}
.fortune-widget {
  position: relative;
  margin-top: 29px;
  margin-left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
}
.fortune-trigger {
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  width: 80px;
  height: 80px;
  transition: transform 0.25s;
}
.fortune-trigger:hover {
  transform: rotate(-12deg) scale(1.1);
}
.fortune-trigger::after {
  content: "↖";
  position: absolute;
  bottom: -4px;
  left: -4px;
  transform: rotate(-15deg);
  font-size: 24px;
  color: var(--red);
}
.fortune-trigger.cracking {
  animation: cookie-crack 0.5s both;
}
.fortune-copy {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.fortune-label {
  font-size: 8px;
  color: var(--red);
  letter-spacing: 0.08em;
}
.fortune-copy p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 345px;
  margin: 4px 0;
}
.fortune-copy p.new-fortune {
  animation: fortune-in 0.35s both;
}
.fortune-hint {
  font-size: 11px;
  color: var(--muted);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.hero-bottom a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}
.hero-bottom a img {
  width: 21px;
  height: 21px;
  transform: rotate(90deg);
}

/* A little controlled chaos */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: var(--paper);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  padding: 17px 0;
  transform: rotate(-1.2deg);
  width: 100%;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 29px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.ticker-track > span {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.ticker-track > i {
  font-size: 26px;
  font-style: normal;
  color: var(--gold);
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-clip {
  overflow: hidden;
  padding: 16px 0;
  margin: -16px 0;
  position: relative;
  z-index: 2;
}

/* The path */
.roadmap-section {
  padding: 90px 0 58px;
  background: var(--paper-dark);
  margin-top: -14px;
}
.section-overline {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  padding-top: 17px;
  font-size: 10px;
}
.section-overline > span:first-child {
  color: var(--red);
}
.section-overline > span:last-child {
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin: 37px 0 48px;
}
.section-heading h2 {
  font-size: clamp(32px, 3.7vw, 53px);
  line-height: 1.2;
  letter-spacing: -2.8px;
}
.roadmap-heading > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  padding: 0 14px 5px 0;
}
.roadmap-heading > p > .mono {
  display: inline-block;
  font-size: 10px;
  margin-top: 13px;
  color: var(--ink);
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.phase {
  border-top: 2px solid var(--ink);
  border-right: 1px solid var(--line);
  padding: 20px 28px 0;
}
.phase:first-child {
  padding-left: 0;
}
.phase:last-child {
  border-right: 0;
  padding-right: 0;
}
.phase-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 18px;
}
.phase-number > span:first-child {
  font-family: var(--display);
  font-size: 87px;
  line-height: 1.3;
  letter-spacing: -5px;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--red);
}
.phase-han {
  font-family: serif;
  font-size: 46px;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 0 8px;
  line-height: 1.35;
  opacity: 0.75;
  transform: rotate(7deg);
}
.phase:nth-child(2) .phase-han {
  transform: rotate(-6deg);
}
.phase-label {
  font-size: 9px;
  color: var(--red);
}
.phase h3 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.25;
  font-weight: 800;
  margin: 12px 0;
}
.phase > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.phase ul {
  padding: 0;
  list-style: none;
  margin: 24px 0 27px;
  font-size: 13px;
  line-height: 1.8;
}
.phase li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 5px;
}
.phase li::before {
  content: "↗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-size: 14px;
}
.phase-detail {
  border-top: 1px solid var(--line);
}
.phase-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  min-height: 52px;
  gap: 15px;
}
.phase-detail summary::-webkit-details-marker {
  display: none;
}
.phase-detail summary img {
  width: 25px;
  height: 25px;
  transition: transform 0.2s;
}
.phase-detail[open] summary img {
  transform: rotate(90deg);
}
.phase-detail > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 18px;
  max-width: 300px;
}
.roadmap-footnote {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  margin-top: 36px;
  font-size: 9px;
  color: var(--muted);
}

/* The chart */
.chart-section {
  padding: 72px 0 65px;
}
.chart-heading {
  margin-bottom: 32px;
}
.chart-heading h2 {
  font-size: clamp(29px, 3.2vw, 47px);
  letter-spacing: -2.3px;
  line-height: 1.3;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--red);
}
.text-link > img {
  background: var(--ink);
  border-radius: 3px;
  width: 22px;
  height: 22px;
}
.chart-window {
  border: 1px solid var(--ink);
  background: #22231f;
  color: var(--paper);
  box-shadow: 7px 7px 0 var(--paper-dark);
}
.chart-toolbar {
  min-height: 57px;
  padding: 14px 22px;
  border-bottom: 1px solid #ffffff22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chart-toolbar > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.window-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.window-dots > i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #747366;
}
.window-dots > i:first-child {
  background: var(--red);
}
.chart-toolbar .mono {
  font-size: 10px;
}
.chart-slash {
  color: #8b8a7d;
  margin: 0 8px;
}
.chart-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #bbb8a4;
}
.chart-status > i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.chart-status.connected > i {
  background: #b8cc8c;
}
.chart-body {
  position: relative;
  min-height: 490px;
  isolation: isolate;
}
.chart-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#ffffff06 1px, transparent 1px),
    linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse, #0008, #000);
}
.chart-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 490px;
  text-align: center;
  padding: 38px 24px 45px;
}
.chart-master {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-bottom: 17px;
}
.chart-empty-label {
  font-size: 9px;
  color: #c8c3af;
}
.chart-empty h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.6px;
  margin: 11px 0 13px;
}
.chart-empty p {
  font-size: 15px;
  color: #b5b1a1;
  line-height: 1.6;
  margin-bottom: 24px;
}
.chart-empty .button {
  min-height: 46px;
  font-size: 10px;
  gap: 13px;
  padding: 11px 17px;
}
.chart-empty .icon {
  width: 16px;
  height: 16px;
}
.chart-bottom {
  padding: 13px 22px;
  border-top: 1px solid #ffffff22;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: #b3af9e;
}
#dexscreener-embed {
  width: 100%;
  height: 620px;
  border: 0;
  background: #171815;
  display: block;
}
.chart-disclaimer {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  margin-top: 24px;
  line-height: 1.8;
}

/* Signing off */
.site-footer {
  background: var(--paper-dark);
  border-top: 1px solid var(--ink);
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 45px;
  min-height: 160px;
  padding-block: 35px;
}
.footer-brand > img {
  width: 60px;
  height: 60px;
}
.footer-brand > span {
  font-size: 22px;
}
.footer-main > p {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: auto;
  font-size: 10px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-links a:hover {
  color: var(--red);
}
.back-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: 20px;
  font-size: 9px;
  white-space: nowrap;
}
.back-top > img {
  transform: rotate(-90deg);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-block: 19px;
  font-size: 8px;
  color: var(--muted);
}
.footer-bottom > span[lang] {
  font-family: serif;
  font-size: 14px;
  color: var(--red);
}

/* Small moments of enlightenment */
.link-dialog {
  max-width: 430px;
  width: calc(100% - 40px);
  padding: 40px 32px 32px;
  background: var(--paper);
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--red);
  text-align: center;
  overflow: visible;
}
.link-dialog::backdrop {
  background: #22221eaa;
  backdrop-filter: blur(4px);
}
.link-dialog > img {
  margin: 0 auto 22px;
  width: 86px;
  height: 86px;
}
.link-dialog > .mono {
  font-size: 9px;
}
.link-dialog h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}
.link-dialog > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 25px;
}
.link-dialog form {
  margin: 0;
}
.link-dialog .button {
  justify-content: center;
  width: 100%;
  font-size: 11px;
}
.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
}
.dialog-close > img {
  transform: rotate(135deg);
}
body.dialog-open {
  overflow: hidden;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 21px;
  border: 1px solid var(--paper);
  box-shadow: 4px 4px 0 var(--red);
  z-index: 45;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 40px);
  width: max-content;
  font-size: 11px;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.confetti-piece {
  position: fixed;
  width: 7px;
  height: 11px;
  pointer-events: none;
  z-index: 40;
  background: var(--red);
  animation: confetti-fall 850ms ease-out forwards;
}
.reveal {
  opacity: 1;
  transform: none;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s,
    transform 0.65s;
}
.js-motion .reveal.visible {
  opacity: 1;
  transform: none;
}
.phase:nth-child(2) {
  transition-delay: 0.08s;
}
.phase:nth-child(3) {
  transition-delay: 0.16s;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes cookie-crack {
  0%,
  100% {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-15deg) scale(1.08);
  }
  40%,
  80% {
    transform: rotate(15deg) scale(1.08);
  }
}
@keyframes fortune-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes confetti-fall {
  from {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--spin));
  }
}

/* Brush lettering and readable small-print ink. The angled ticker is clipped at the page edge. */
:root {
  --han: "Ma Shan Zheng", serif;
  --red-small: #b72e23;
}
body {
  overflow-x: clip;
}
.mini-seal,
.vertical-han,
.lucky-stamp > b,
.phase-han,
.footer-bottom > span[lang] {
  font-family: var(--han);
  font-weight: 400;
}
.ticker-track > span[lang] {
  font-family: var(--han);
  font-size: 30px;
}
.button-red {
  background: #d42b1d;
  border-color: #d42b1d;
}
.button-red:hover {
  background: var(--red-small);
}
.nav-link:hover,
.nav-link.is-active,
.section-overline > span:first-child,
.fortune-label,
.phase-label,
.link-dialog > .red-text {
  color: var(--red-small);
}

/* One dojo, every screen. */
@media (min-width: 1500px) {
  .hero-grid {
    padding-block: 58px 45px;
  }
  .hero h1 {
    font-size: 110px;
  }
  .hero-art {
    padding-inline: 30px 45px;
  }
  .mini-seal {
    right: 25px;
  }
  .hero-description {
    margin-block: 25px 31px;
  }
  .hero-subtitle {
    margin-top: 28px;
  }
}
@media (max-width: 1199px) {
  .wrap {
    width: calc(100% - 76px);
  }
  .navigation {
    gap: 22px;
  }
  .nav-link {
    font-size: 10px;
  }
  .header-ticker {
    display: none;
  }
  .hero-grid {
    gap: 24px;
    padding-top: 38px;
  }
  .hero h1 {
    font-size: 7.3vw;
    letter-spacing: -4px;
  }
  .mini-seal {
    right: 12px;
    top: 5px;
    font-size: 18px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-links .button {
    font-size: 10px;
    padding: 12px 11px;
    gap: 8px;
  }
  .hero-links .hero-buy {
    font-size: 10px;
  }
  .hero-links .icon {
    width: 20px;
    height: 20px;
  }
  .button-end {
    font-size: 17px;
  }
  .hero-art {
    padding: 20px 29px 10px 18px;
  }
  .vertical-han {
    font-size: 34px;
    right: -9px;
    top: 62px;
  }
  .poster-top {
    font-size: 7px;
  }
  .master-poster figcaption > span:first-child {
    font-size: 13px;
  }
  .master-poster figcaption .mono {
    font-size: 6px;
  }
  .lucky-stamp {
    width: 88px;
    height: 88px;
    bottom: 110px;
    left: -8px;
  }
  .lucky-stamp > b {
    font-size: 33px;
  }
  .lucky-stamp > span {
    font-size: 6px;
  }
  .fortune-widget {
    margin-left: 0;
    gap: 8px;
    margin-top: 20px;
  }
  .fortune-trigger {
    width: 65px;
    height: 65px;
  }
  .fortune-copy {
    padding-left: 11px;
  }
  .fortune-copy p {
    font-size: 15px;
  }
  .fortune-label {
    font-size: 7px;
  }
  .fortune-hint {
    font-size: 10px;
  }
  .hero-subtitle {
    font-size: 12px;
  }
  .hero-topline {
    font-size: 8px;
  }
  .phase {
    padding-inline: 21px;
  }
  .phase h3 {
    font-size: 24px;
  }
  .phase > p {
    font-size: 14px;
  }
  .phase ul {
    font-size: 12px;
  }
  .phase-label {
    font-size: 8px;
  }
  .phase-detail summary {
    font-size: 8px;
  }
  .footer-main {
    gap: 25px;
  }
  .footer-links {
    gap: 16px;
    font-size: 9px;
  }
  .footer-main > p {
    font-size: 16px;
  }
  .back-top {
    margin-left: 0;
    font-size: 8px;
    gap: 8px;
  }
  .footer-bottom {
    font-size: 7px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    height: 80px;
    gap: 15px;
  }
  .brand > img {
    width: 46px;
    height: 46px;
  }
  .brand > span {
    font-size: 15px;
  }
  .navigation {
    gap: 18px;
  }
  .nav-link {
    font-size: 9px;
  }
  .nav-link > span {
    display: none;
  }
  .header-buy {
    min-height: 43px;
    padding: 10px 13px;
  }
  .hero-grid {
    gap: 17px;
  }
  .hero h1 {
    font-size: 7.7vw;
    letter-spacing: -3.5px;
  }
  .mini-seal {
    right: 0;
    top: 4px;
    font-size: 15px;
    padding: 3px 4px;
    border-width: 1px;
  }
  .hero-description {
    font-size: 15px;
    margin: 17px 0 23px;
  }
  .hero-subtitle {
    margin-top: 18px;
    font-size: 11px;
    gap: 7px;
  }
  .hero-links {
    gap: 8px;
  }
  .hero-links .button {
    font-size: 9px;
    padding: 12px 9px;
    min-height: 50px;
    gap: 7px;
  }
  .hero-links .hero-buy {
    font-size: 9px;
  }
  .hero-links .icon {
    width: 18px;
    height: 18px;
  }
  .contract-bar {
    gap: 7px;
    padding-top: 14px;
  }
  #contract-address {
    font-size: 10px;
  }
  .contract-label {
    font-size: 9px;
  }
  .copy-button {
    font-size: 8px;
    gap: 3px;
  }
  .copy-button img {
    width: 16px;
    height: 16px;
  }
  .hero-art {
    padding: 12px 20px 8px 13px;
  }
  .vertical-han {
    font-size: 27px;
    right: -10px;
    top: 48px;
  }
  .master-poster {
    padding: 8px 8px 0;
  }
  .master-poster figcaption {
    padding: 9px 0;
    gap: 6px;
  }
  .master-poster figcaption > span:first-child {
    font-size: 11px;
  }
  .master-poster figcaption .mono {
    font-size: 5px;
  }
  .art-corner-note {
    font-size: 7px;
    right: 20px;
  }
  .poster-top {
    font-size: 6px;
    padding-bottom: 7px;
  }
  .photo-caption {
    font-size: 7px;
    left: 9px;
    bottom: 8px;
  }
  .lucky-stamp {
    width: 75px;
    height: 75px;
    bottom: 96px;
    left: -8px;
    outline-offset: -6px;
  }
  .lucky-stamp > b {
    font-size: 28px;
  }
  .lucky-stamp > span {
    font-size: 5px;
  }
  .fortune-widget {
    gap: 5px;
  }
  .fortune-trigger {
    width: 54px;
    height: 54px;
  }
  .fortune-copy p {
    font-size: 13px;
  }
  .fortune-label {
    font-size: 6px;
  }
  .fortune-hint {
    font-size: 8px;
  }
  .fortune-copy {
    padding-left: 9px;
  }
  .hero-topline {
    font-size: 7px;
  }
  .hero-edition {
    max-width: 210px;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -2px;
  }
  .roadmap-heading > p {
    font-size: 14px;
    padding: 0;
  }
  .roadmap-heading > p > .mono {
    font-size: 8px;
  }
  .section-overline {
    font-size: 9px;
  }
  .phase {
    padding-inline: 16px;
  }
  .phase h3 {
    font-size: 21px;
  }
  .phase > p {
    font-size: 12px;
  }
  .phase li {
    padding-left: 13px;
  }
  .phase ul {
    font-size: 11px;
  }
  .phase-label {
    font-size: 7px;
  }
  .phase-number > span:first-child {
    font-size: 74px;
  }
  .phase-han {
    font-size: 34px;
  }
  .phase-detail summary {
    font-size: 7px;
  }
  .roadmap-footnote {
    font-size: 7px;
  }
  .chart-heading h2 {
    font-size: 32px;
  }
  .text-link {
    font-size: 8px;
    gap: 8px;
  }
  .text-link > img {
    width: 18px;
    height: 18px;
  }
  .footer-main {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-links {
    margin-left: 0;
    gap: 20px;
  }
  .footer-main > p {
    display: none;
  }
  .footer-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 38px);
  }
  .site-header {
    position: sticky;
  }
  .header-inner {
    height: 76px;
  }
  .brand > img {
    width: 44px;
    height: 44px;
  }
  .brand > span {
    font-size: 14px;
  }
  .header-actions {
    gap: 9px;
  }
  .header-buy {
    min-height: 41px;
    font-size: 10px;
    padding: 9px 11px;
  }
  .header-buy .icon {
    width: 20px;
    height: 20px;
  }
  .menu-toggle {
    display: grid;
    width: 41px;
    height: 41px;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--ink);
    gap: 1px;
    box-shadow: 0 10px 15px #22221e0c;
  }
  .navigation.is-open {
    display: flex;
  }
  .nav-link {
    font-size: 12px;
    padding: 16px 8px;
  }
  .nav-link > span {
    display: inline;
    margin-right: 15px;
  }
  .nav-link::after {
    bottom: 7px;
    left: 8px;
    right: 8px;
  }
  .menu-toggle[aria-expanded="true"] > img {
    transform: rotate(-90deg);
  }
  .hero {
    padding-top: 17px;
  }
  .hero-topline {
    font-size: 7px;
    letter-spacing: 0.015em;
  }
  .hero-edition {
    display: none;
  }
  .little-dot {
    width: 5px;
    height: 5px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 26px;
    padding-bottom: 25px;
  }
  .hero-copy {
    max-width: 510px;
    width: 100%;
    margin-inline: auto;
  }
  .hero h1 {
    font-size: clamp(60px, 14.6vw, 88px);
    letter-spacing: -4px;
    line-height: 1.07;
    margin-left: -3px;
  }
  .mini-seal {
    right: 21px;
    top: 5px;
    font-size: 22px;
    border-width: 2px;
    padding: 4px 6px;
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: 12px;
    gap: 8px;
    margin-top: 19px;
  }
  .small-star {
    font-size: 25px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.65;
    margin-block: 16px 24px;
  }
  .hero-links {
    max-width: none;
    gap: 9px;
    grid-template-columns: 1.09fr 1fr;
  }
  .hero-links .button {
    font-size: 10px;
    min-height: 53px;
    padding: 12px 12px;
    gap: 8px;
  }
  .hero-links .hero-buy {
    font-size: 10px;
  }
  .hero-links .icon {
    width: 21px;
    height: 21px;
  }
  .button-end {
    font-size: 19px;
  }
  .contract-bar {
    max-width: none;
    padding-top: 13px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .contract-label {
    font-size: 10px;
  }
  #contract-address {
    font-size: 11px;
  }
  .copy-button {
    font-size: 9px;
  }
  .copy-button img {
    width: 20px;
    height: 20px;
  }
  .hero-art {
    max-width: 430px;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 14px 27px 6px 13px;
  }
  .art-corner-note {
    top: -9px;
    right: 27px;
    font-size: 7px;
  }
  .vertical-han {
    font-size: 30px;
    right: -8px;
    top: 54px;
  }
  .master-poster {
    padding: 10px 10px 0;
    box-shadow: 7px 7px 0 #e9362619;
  }
  .poster-top {
    font-size: 7px;
    padding-bottom: 9px;
  }
  .master-poster figcaption {
    padding-block: 11px;
  }
  .master-poster figcaption > span:first-child {
    font-size: 13px;
  }
  .master-poster figcaption .mono {
    font-size: 6px;
  }
  .photo-caption {
    font-size: 8px;
    left: 12px;
    bottom: 12px;
  }
  .lucky-stamp {
    width: 88px;
    height: 88px;
    bottom: 105px;
    left: -7px;
  }
  .lucky-stamp > b {
    font-size: 34px;
  }
  .lucky-stamp > span {
    font-size: 6px;
  }
  .fortune-widget {
    margin-top: 25px;
    margin-left: 0;
    gap: 9px;
  }
  .fortune-trigger {
    width: 63px;
    height: 63px;
  }
  .fortune-copy {
    padding-left: 13px;
  }
  .fortune-label {
    font-size: 7px;
  }
  .fortune-copy p {
    font-size: 16px;
  }
  .fortune-hint {
    font-size: 9px;
  }
  .hero-bottom {
    font-size: 7px;
    padding: 16px 0 19px;
  }
  .hero-bottom > span {
    max-width: 105px;
    line-height: 1.5;
  }
  .hero-bottom a {
    font-size: 7px;
    gap: 5px;
  }
  .hero-bottom a img {
    width: 18px;
    height: 18px;
  }
  .ticker {
    padding: 13px 0;
    transform: rotate(-1.5deg);
  }
  .ticker-track {
    gap: 20px;
  }
  .ticker-track > span {
    font-size: 18px;
  }
  .ticker-track > i {
    font-size: 20px;
  }
  .roadmap-section {
    padding: 64px 0 35px;
    margin-top: -9px;
  }
  .section-overline {
    font-size: 9px;
    padding-top: 13px;
    gap: 12px;
  }
  .section-overline > span:last-child {
    max-width: 155px;
    font-size: 7px;
    text-align: right;
    line-height: 1.5;
  }
  .section-heading {
    display: block;
    margin: 29px 0 33px;
  }
  .section-heading h2 {
    font-size: clamp(29px, 7.6vw, 43px);
    letter-spacing: -1.8px;
    line-height: 1.25;
  }
  .roadmap-heading > p {
    font-size: 15px;
    margin-top: 21px;
  }
  .roadmap-heading > p > .mono {
    font-size: 8px;
    margin-top: 9px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .phase {
    border-right: 0;
    padding: 15px 0 0;
    margin-bottom: 24px;
  }
  .phase:last-child {
    margin-bottom: 0;
  }
  .phase-number {
    margin-bottom: 13px;
  }
  .phase-number > span:first-child {
    font-size: 79px;
    line-height: 1.2;
  }
  .phase-han {
    font-size: 37px;
    position: absolute;
    right: 10px;
    top: 14px;
    opacity: 0.75;
  }
  .phase h3 {
    font-size: 29px;
    letter-spacing: -0.7px;
    margin-block: 11px;
  }
  .phase-label {
    font-size: 9px;
  }
  .phase > p {
    font-size: 15px;
  }
  .phase ul {
    font-size: 14px;
    margin-block: 20px;
  }
  .phase li {
    padding-left: 19px;
  }
  .phase-detail summary {
    font-size: 9px;
  }
  .phase-detail > p {
    max-width: none;
    font-size: 14px;
  }
  .roadmap-footnote {
    display: block;
    margin-top: 22px;
    padding-top: 15px;
    font-size: 7px;
  }
  .roadmap-footnote > span {
    display: block;
    margin-bottom: 5px;
  }
  .chart-section {
    padding: 42px 0 37px;
  }
  .chart-heading {
    margin-bottom: 25px;
  }
  .chart-heading h2 {
    font-size: clamp(25px, 6.3vw, 36px);
    letter-spacing: -1.55px;
    line-height: 1.3;
  }
  .chart-heading .text-link {
    font-size: 9px;
    margin-top: 21px;
  }
  .chart-toolbar {
    padding: 13px 13px;
    min-height: 50px;
    gap: 6px;
  }
  .chart-toolbar > div {
    gap: 9px;
  }
  .chart-toolbar .mono {
    font-size: 7px;
  }
  .window-dots {
    gap: 3px;
  }
  .window-dots > i {
    width: 5px;
    height: 5px;
  }
  .chart-slash {
    margin-inline: 3px;
  }
  .chart-status {
    font-size: 6px !important;
    gap: 4px;
  }
  .chart-status > i {
    width: 4px;
    height: 4px;
  }
  .chart-body,
  .chart-empty {
    min-height: 440px;
  }
  .chart-empty {
    padding-inline: 15px;
  }
  .chart-master {
    width: 66px;
    height: 66px;
  }
  .chart-empty-label {
    font-size: 8px;
  }
  .chart-empty h3 {
    font-size: 29px;
  }
  .chart-empty p {
    font-size: 13px;
  }
  .chart-empty .button {
    font-size: 9px;
    gap: 11px;
  }
  .chart-bottom {
    padding: 12px;
    font-size: 6px;
  }
  .chart-bottom > span:last-child {
    max-width: 130px;
    text-align: right;
  }
  .chart-disclaimer {
    font-size: 7px;
    line-height: 1.8;
    margin-top: 20px;
  }
  #dexscreener-embed {
    height: 530px;
  }
  .footer-main {
    padding-block: 28px;
    gap: 24px;
  }
  .footer-brand > span {
    font-size: 20px;
  }
  .footer-brand > img {
    width: 52px;
    height: 52px;
  }
  .footer-links {
    order: 3;
    width: 100%;
    gap: 24px;
    font-size: 8px;
  }
  .footer-links a {
    gap: 7px;
  }
  .back-top {
    font-size: 8px;
    gap: 8px;
  }
  .back-top > img {
    width: 22px;
    height: 22px;
  }
  .footer-bottom {
    font-size: 6px;
    align-items: center;
    padding-block: 14px;
    gap: 6px;
  }
  .footer-bottom > span[lang] {
    font-size: 12px;
  }
  .link-dialog {
    padding: 35px 25px 25px;
  }
  .link-dialog h2 {
    font-size: 25px;
  }
  .link-dialog > p {
    font-size: 16px;
  }
}
@media (max-width: 359px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero h1 {
    font-size: 14.3vw;
    letter-spacing: -3px;
  }
  .mini-seal {
    right: 8px;
    font-size: 18px;
  }
  .hero-links .button,
  .hero-links .hero-buy {
    font-size: 8px;
    padding-inline: 9px;
  }
  .hero-subtitle {
    font-size: 10px;
  }
  .hero-description {
    font-size: 14px;
  }
  .header-buy .icon {
    width: 18px;
    height: 18px;
  }
  .brand > img {
    width: 36px;
    height: 36px;
  }
  .brand > span {
    font-size: 12px;
  }
  .header-buy {
    font-size: 9px;
  }
  .fortune-copy p {
    font-size: 14px;
  }
  .hero-bottom a {
    font-size: 6px;
  }
}
@media (max-width: 359px) {
  .chart-heading h2 {
    font-size: 22px;
    letter-spacing: -1.3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track {
    animation: none;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .master-poster {
    will-change: auto;
  }
  .confetti-piece {
    display: none;
  }
}

/* Runtime Draco config can hide unavailable links without leaving gaps. */
[hidden] {
  display: none !important;
}
