:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #20211e;
  --sub: #585b53;
  --muted: #64685f;
  --line: #d5d5cd;
  --light: #f0efe9;
  --panel: #fbfaf6;
  --accent: #ba542d;
  --art-dot: #a6a397;
  --button: #222520;
  --on-button: #faf9f4;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: Arial, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171916;
  --ink: #f0efe7;
  --sub: #b7b9ae;
  --muted: #a0a497;
  --line: #41443b;
  --light: #20231e;
  --panel: #20221e;
  --accent: #f09c6f;
  --art-dot: #64685f;
  --button: #edeee4;
  --on-button: #20221f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a,
button {
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.wrap {
  width: min(1224px, 88%);
  margin-inline: auto;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: fixed;
  z-index: 10;
  left: 12px;
  top: 10px;
  padding: 10px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.bar {
  height: 73px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1.35px;
}
.brand img {
  display: block;
}
[data-theme="dark"] .brand img {
  outline: 1px solid var(--line);
  border-radius: 25%;
}
nav,
.tools,
.actions,
.textlink,
.primary,
.notice-top,
.bulletin-open,
.bulletin-label,
.index,
.kicker,
.dialog-top,
.feature-top {
  display: flex;
  align-items: center;
}
nav {
  gap: 34px;
  height: 100%;
}
nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 13px;
}
nav a.active,
nav a:hover {
  color: var(--ink);
}
nav a.active:after {
  content: "";
  position: absolute;
  bottom: 15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.tools {
  justify-self: end;
  gap: 16px;
}
.iconbtn {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.iconbtn:hover,
.notice-top:hover {
  background: var(--light);
}
.notice-top {
  gap: 11px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
}
.notice-top .icon {
  width: 14px;
  height: 14px;
}
.moon,
[data-theme="dark"] .sun {
  display: none;
}
[data-theme="dark"] .moon {
  display: block;
}
.hero {
  overflow: hidden;
}
.composition {
  display: grid;
  grid-template-columns: 1fr 1.09fr;
  align-items: center;
  min-height: clamp(435px, 39vw, 590px);
  position: relative;
}
.intro {
  padding: 42px 0;
  position: relative;
  z-index: 1;
}
.kicker,
.index,
figcaption,
.feature-top small,
dt small,
footer > span {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1.55px;
}
.kicker {
  gap: 10px;
  color: var(--sub);
  font-weight: 600;
}
.line {
  width: 25px;
  height: 2px;
  background: var(--accent);
}
.kicker i {
  height: 10px;
  width: 1px;
  background: var(--line);
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1 {
  margin: 22px 0 12px;
  font: 600 clamp(67px, 6.8vw, 104px) / 0.96 var(--sans);
  letter-spacing: -0.066em;
}
h1 span {
  color: var(--accent);
  margin-left: 0.015em;
}
.intro h2 {
  font-size: clamp(26px, 2.45vw, 40px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -1.7px;
}
.intro p,
.platforms p,
.features p,
.section-head p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--sub);
}
.intro p {
  margin-top: 17px;
}
.actions {
  gap: 28px;
  margin-top: 30px;
}
.primary,
.textlink {
  gap: 13px;
  font-size: 13px;
  font-weight: 600;
}
.primary {
  background: var(--button);
  color: var(--on-button);
  padding: 14px 22px;
  border-radius: 6px;
  transition: transform 0.18s;
}
.primary .icon,
.textlink .icon,
.bulletin-open .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.primary:hover {
  transform: translateY(-2px);
}
.primary:hover .icon {
  transform: translateY(2px);
}
.textlink:hover .icon,
.bulletin-open:hover .icon {
  transform: translateX(3px);
}
.field {
  position: relative;
  width: 108%;
  margin: 0 0 0 -3%;
  align-self: stretch;
  display: grid;
  align-content: center;
}
.field-plane {
  background-image: radial-gradient(
    circle,
    var(--line) 0.75px,
    transparent 0.95px
  );
  background-size: 17px 17px;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 96%,
    transparent
  );
}
#field {
  display: block;
  width: 100%;
  aspect-ratio: 600/390;
}
.field figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
  margin-top: -4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
}
.cross {
  font-size: 16px;
  color: var(--accent);
}
.caption-rule {
  width: 23px;
  height: 1px;
  background: var(--muted);
}
.bulletin {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 16px 20px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  min-height: 56px;
}
.bulletin-label {
  gap: 9px;
  white-space: nowrap;
}
.bulletin-label .icon {
  color: var(--accent);
}
#bulletin-teaser {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--sub);
}
.bulletin-open {
  gap: 10px;
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}
.section {
  padding: 65px 0 76px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.index {
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}
.index b {
  color: var(--accent);
  font-weight: 600;
}
.index span {
  color: var(--muted);
  opacity: 0.65;
}
.section h2,
.platforms h2 {
  font-size: clamp(27px, 2.5vw, 40px);
  letter-spacing: -1.6px;
  font-weight: 600;
  margin-top: 8px;
}
.section-head p {
  font-size: 13px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.features article {
  position: relative;
  padding: 24px 30px 23px;
}
.features article:first-child {
  padding-left: 0;
}
.features article:last-child {
  padding-right: 0;
}
.features article + article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  background: var(--line);
  width: 1px;
}
.feature-top {
  justify-content: space-between;
  margin-bottom: 14px;
}
.feature-top svg {
  width: 38px;
  height: 34px;
  stroke: var(--ink);
  stroke-width: 1.55;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-top small {
  font-size: 9px;
  color: var(--muted);
}
.features h3 {
  font-size: 19px;
  letter-spacing: -0.6px;
  margin-bottom: 9px;
}
.features p {
  font-size: 13px;
}
.platform-section {
  background: var(--light);
  border-block: 1px solid var(--line);
}
.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 58px;
  align-items: center;
  gap: 36px;
}
.platforms p {
  margin: 15px 0;
}
.platforms .textlink {
  padding: 5px 0;
}
.platforms dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.platforms dl > div:first-child {
  border-top: 1px solid var(--line);
}
dt {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 500;
}
dt small {
  font-size: 9px;
  color: var(--muted);
  vertical-align: middle;
  margin-right: 22px;
}
dd {
  font-size: 12px;
  color: var(--sub);
}
dd i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
footer {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 90px;
}
footer .brand {
  font-size: 19px;
}
footer > span {
  font-size: 9px;
  color: var(--muted);
}
footer > a:last-child {
  margin-left: auto;
  font-size: 12px;
  color: var(--sub);
}
dialog {
  background: var(--panel);
  color: var(--ink);
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 80dvh;
}
dialog::backdrop {
  background: #1118;
  backdrop-filter: blur(3px);
}
.dialog-inner {
  padding: 27px 30px 35px;
}
.dialog-top {
  justify-content: space-between;
}
.dialog-inner h2 {
  font-size: 26px;
  margin: 10px 0 22px;
  overflow-wrap: anywhere;
}
.dialog-inner time {
  display: block;
  color: var(--muted);
  font: 12px var(--mono);
  margin-bottom: 15px;
}
.dialog-inner p {
  margin: 0;
  color: var(--sub);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.retry {
  margin-top: 15px;
  text-decoration: underline;
}
.intro > * {
  animation: arrive 0.6s both;
}
.intro h1 {
  animation-delay: 0.06s;
}
.intro h2 {
  animation-delay: 0.11s;
}
.intro p {
  animation-delay: 0.15s;
}
.actions {
  animation-delay: 0.19s;
}
.field {
  animation: arrive 0.8s both;
}
.reveal {
  animation: arrive 0.55s both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: 90%;
  }
  .composition {
    grid-template-columns: 1fr 1fr;
  }
  .field {
    width: 115%;
    margin-left: -8%;
  }
  .wide-only {
    display: none;
  }
  .intro p {
    max-width: 29em;
  }
  .section-head p {
    display: none;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 66px;
  }
  .bar {
    height: 59px;
    display: flex;
    justify-content: space-between;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  nav {
    display: none;
  }
  .tools {
    gap: 4px;
  }
  .composition {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .intro {
    padding: 38px 0 0;
  }
  .kicker {
    font-size: 9px;
  }
  h1 {
    margin: 18px 0 8px;
    font-size: clamp(64px, 15vw, 90px);
  }
  .intro h2 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .intro p {
    font-size: 13px;
    margin-top: 12px;
  }
  .actions {
    margin-top: 20px;
    gap: 22px;
  }
  .primary {
    padding: 11px 17px;
  }
  .field {
    width: min(100%, 425px);
    margin: 0 auto 16px;
  }
  .field-plane {
    margin-top: 0;
  }
  #field {
    aspect-ratio: 600/330;
  }
  .field figcaption {
    margin-top: -4px;
    font-size: 8px;
  }
  .bulletin {
    gap: 10px;
    padding: 11px 12px;
    font-size: 12px;
  }
  .bulletin-label {
    gap: 5px;
  }
  #bulletin-teaser {
    padding-left: 10px;
  }
  .bulletin-open {
    font-size: 0;
    gap: 0;
    min-height: 30px;
    width: 30px;
    justify-content: center;
  }
  .bulletin-open .icon {
    width: 17px;
    height: 17px;
  }
  .section {
    padding-block: 44px;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .features article,
  .features article:first-child,
  .features article:last-child {
    padding: 20px 0 21px 56px;
  }
  .features article + article {
    border-top: 1px solid var(--line);
  }
  .features article + article:before {
    display: none;
  }
  .feature-top {
    margin: 0;
  }
  .feature-top svg {
    position: absolute;
    left: 0;
    top: 19px;
    width: 33px;
  }
  .feature-top small {
    position: absolute;
    right: 0;
    top: 24px;
  }
  .features p br {
    display: none;
  }
  .platforms {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-block: 38px;
  }
  footer {
    min-height: 78px;
    gap: 12px;
  }
  footer > span {
    display: none;
  }
  .dialog-inner {
    padding: 18px 21px 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.brand img {
  border-radius: 24%;
  object-fit: cover;
}
.intro h1 {
  letter-spacing: -0.07em;
  font-weight: 660;
}
.intro h1 span {
  display: inline-block;
  margin-left: 0.04em;
}
.field-plane {
  position: relative;
  animation: none;
}
#connected-worlds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  counter-reset: world;
  margin: 0;
  padding: 0;
}
#connected-worlds li {
  counter-increment: world;
  font: 600 12px/1.5 var(--sans);
  letter-spacing: 0;
  color: var(--ink);
}
#connected-worlds li::before {
  content: "W–" counter(world, decimal-leading-zero);
  margin-right: 7px;
  color: var(--accent);
  font: 10px var(--mono);
  letter-spacing: 0.07em;
}
.field .world-key {
  font: 11px var(--sans);
  letter-spacing: 0.06em;
}
#orbit-toggle {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-size: 13px;
  letter-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color 0.2s, transform 0.2s;
}
#orbit-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.1);
}
#orbit-toggle[hidden] {
  display: none;
}
.platforms .game-note {
  font-size: 12px;
  margin-top: 20px;
}
.game-note b {
  font-weight: 500;
  color: var(--accent);
  margin-right: 0.5em;
}
.download {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 35px;
}
.download span,
.small-action {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  color: var(--ink);
}
.download:hover,
.contact a:hover,
.social-links a:hover,
.footer-meta a:hover {
  color: var(--accent);
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}
.support-grid > div {
  padding: 28px 0;
}
.community-invite {
  padding-right: 36px !important;
}
.support-grid .donations {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 4vw, 60px);
}
.community h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 8px 0;
}
.community-invite p,
.donation-row p,
.footer-meta {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
}
.community-invite .primary {
  margin-top: 16px;
  display: inline-flex;
  padding: 11px 17px;
}
.group-number {
  margin-left: 12px;
  font: 12px var(--mono);
  color: var(--muted);
}
.community-invite .contact {
  margin-top: 16px;
  font-size: 12px;
}
.contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.donation-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.donation-row:last-child {
  border: 0;
}
.donation-row > div {
  margin-right: auto;
}
.donation-row strong {
  font-size: 15px;
}
.donation-row p {
  font-size: 12px;
}
.qr-action,
.small-action {
  font-size: 12px;
  white-space: nowrap;
}
.qr-action {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 14px;
  transition: background 0.22s, color 0.22s;
}
.qr-action:hover {
  background: var(--ink);
  color: var(--paper);
}
.credits {
  display: flex;
  gap: clamp(18px, 4vw, 60px);
  align-items: center;
  padding-top: 30px;
}
.credits > div {
  margin-right: auto;
}
.credits h3 {
  font-size: 19px;
}
.credits a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 6px 10px;
}
.partner-logo img {
  object-fit: contain;
  max-width: 100%;
  transition: transform 0.25s;
}
.credits a:hover img {
  transform: translateY(-2px);
}
[data-theme="dark"] .partner-logo {
  background: #f6f5f1;
}
.site-footer {
  display: block;
  min-height: 0;
  border-top: 1px solid var(--line);
  background: var(--light);
  padding: 25px 0;
}
.footer-line,
.footer-meta,
.social-links,
.footer-meta > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-line > a:last-child {
  margin-left: auto;
  white-space: nowrap;
}
.social-links {
  margin-left: 20px;
  flex-wrap: wrap;
}
.social-links,
.footer-line > a:last-child,
.footer-meta {
  font-size: 12px;
}
.footer-meta > div {
  flex-wrap: wrap;
  row-gap: 6px;
}
.icp-link {
  white-space: nowrap;
}
.footer-meta {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
#qr-image {
  display: block;
  margin: 0 auto 16px;
  width: min(228px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
  padding: 12px;
  border-radius: 5px;
}
#qr-dialog p {
  font-size: 13px;
}
#qr-original {
  margin-top: 12px;
  width: max-content;
}
dialog[open] {
  animation: dialog-in 0.22s ease-out;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .features.reveal article,
  .credits.reveal a {
    animation: arrive 0.55s both;
  }
  .features.reveal article:nth-child(2),
  .credits.reveal a:nth-child(2) {
    animation-delay: 0.1s;
  }
  .features.reveal article:nth-child(3),
  .credits.reveal a:nth-child(3) {
    animation-delay: 0.2s;
  }
  .feature-top svg {
    transition: transform 0.3s;
  }
  .features article:hover .feature-top svg {
    transform: translateY(-3px) rotate(-3deg);
  }
}
@media (max-width: 680px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .community-invite {
    padding-right: 0 !important;
  }
  .support-grid .donations {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .credits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .credits > div {
    grid-column: 1/-1;
  }
  .credits a {
    width: max-content;
    max-width: 100%;
  }
  .partner-logo {
    padding: 4px 6px;
  }
  .partner-logo img {
    width: auto;
    max-width: 105px;
    height: 32px;
  }
  .footer-line {
    flex-wrap: wrap;
    row-gap: 14px;
  }
  .social-links {
    order: 3;
    margin: 0;
    width: 100%;
    gap: 14px;
  }
  .footer-meta {
    align-items: flex-start;
  }
  .download {
    gap: 8px;
  }
  .field figcaption {
    padding-right: 4%;
  }
  .community-invite .primary {
    margin-top: 12px;
  }
  .game-note {
    margin-bottom: 0 !important;
  }
}
/* The supplied TokenRhythm artwork is white; retain its original colors. */
.credits .tokenrhythm-logo {
  background: #21231f;
}
@media (max-width: 680px) {
  .credits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .credits a {
    width: 100%;
    justify-content: center;
  }
  .credits a > span[aria-hidden] {
    display: none;
  }
  .credits .partner-logo {
    max-width: 100%;
    padding: 5px;
  }
  .credits .partner-logo img {
    max-width: 100%;
    height: 30px;
    width: auto;
  }
}
