:root {
  color-scheme: light;
  --ink: #171713;
  --ink-soft: #373731;
  --paper: #f4efdf;
  --paper-bright: #fbf8ee;
  --sand: #dfcda3;
  --line: rgba(23, 23, 19, 0.18);
  --accent: #c54f28;
  --accent-dark: #8f3518;
  --white: #fffdf6;
  --max-width: 1380px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 23, 19, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 3px;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 239, 223, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-grid;
  grid-template-columns: 38px auto;
  gap: 11px;
  align-items: center;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--ink);
  font-family: "Arial Narrow", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 4px;
  color: rgba(23, 23, 19, 0.62);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.3em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(22px, 3.2vw, 50px);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(23, 23, 19, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100dvh;
  padding: 134px 24px 42px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  right: -12vw;
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
  transform: translateY(-35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: calc(100dvh - 205px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 2.6vw, 38px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1,
.section-heading h2,
.garage-copy h2,
.about-panel h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(54px, 7.2vw, 112px);
}

.hero-lead {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 760;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-dark {
  margin-top: 34px;
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.text-link {
  padding: 11px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 54px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  color: rgba(23, 23, 19, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-facts dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 620px;
  border: 1px solid var(--ink);
  background: var(--sand);
  box-shadow: 18px 18px 0 rgba(23, 23, 19, 0.1);
}

.visual-stamp {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 24px;
  color: rgba(23, 23, 19, 0.56);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pixel-sky {
  position: relative;
  height: 410px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 7px,
      rgba(23, 23, 19, 0.035) 7px,
      rgba(23, 23, 19, 0.035) 8px
    ),
    #e9d7ae;
}

.sun {
  position: absolute;
  top: 90px;
  right: 15%;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.ridge {
  position: absolute;
  right: -4%;
  left: -4%;
  display: block;
  transform-origin: bottom;
}

.ridge-back {
  bottom: 156px;
  height: 155px;
  background: rgba(23, 23, 19, 0.18);
  clip-path: polygon(0 78%, 11% 46%, 18% 63%, 29% 27%, 40% 72%, 54% 36%, 68% 65%, 80% 22%, 91% 61%, 100% 38%, 100% 100%, 0 100%);
}

.ridge-front {
  bottom: 108px;
  height: 130px;
  background: var(--ink);
  clip-path: polygon(0 55%, 10% 24%, 22% 70%, 35% 33%, 46% 77%, 62% 21%, 73% 66%, 86% 35%, 100% 72%, 100% 100%, 0 100%);
}

.pixel-sky::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 138px;
  content: "";
  background:
    linear-gradient(100deg, transparent 0 18%, rgba(23, 23, 19, 0.12) 18.2% 18.7%, transparent 19% 55%, rgba(23, 23, 19, 0.12) 55.2% 56%, transparent 56.2%),
    #b89d69;
  clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%);
}

.road-line {
  position: absolute;
  z-index: 1;
  bottom: 42px;
  width: 90px;
  height: 6px;
  background: rgba(255, 253, 246, 0.68);
  transform: skewX(-28deg);
}

.road-line-one {
  right: 18%;
}

.road-line-two {
  right: 52%;
}

.hero-tank {
  position: absolute;
  z-index: 2;
  image-rendering: pixelated;
  mix-blend-mode: multiply;
}

.hero-tank-back {
  right: 13%;
  bottom: 123px;
  width: 132px;
}

.hero-tank-front {
  right: 42%;
  bottom: 48px;
  width: 196px;
}

.visual-caption {
  min-height: 208px;
  padding: 32px 34px;
  background: var(--paper-bright);
}

.visual-caption span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.visual-caption strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: -0.05em;
}

.visual-caption p {
  margin: 10px 0 0;
  color: rgba(23, 23, 19, 0.66);
}

.hero-index {
  display: flex;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  margin: 30px auto 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: rgba(23, 23, 19, 0.46);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section {
  position: relative;
  padding: clamp(92px, 10vw, 150px) 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  column-gap: 9vw;
  width: min(100%, var(--max-width));
  margin: 0 auto 80px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.garage-copy h2,
.about-panel h2 {
  font-size: clamp(40px, 5.2vw, 72px);
}

.section-heading > p:last-child {
  align-self: end;
  margin: 0;
  color: rgba(23, 23, 19, 0.66);
  font-size: 17px;
}

.section-world {
  color: var(--white);
  background: var(--ink);
}

.section-world .section-kicker {
  color: #e47b56;
}

.section-world .section-heading > p:last-child {
  color: rgba(255, 253, 246, 0.64);
}

.lore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: clamp(50px, 8vw, 120px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.lore-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 253, 246, 0.18);
}

.lore-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 253, 246, 0.18);
}

.lore-number {
  color: #e47b56;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.lore-list h3 {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.lore-list p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 253, 246, 0.62);
}

.archive-note {
  align-self: center;
  padding: 34px;
  border: 1px solid rgba(255, 253, 246, 0.28);
  background:
    linear-gradient(rgba(255, 253, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 246, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

.archive-label {
  margin: 0 0 58px;
  color: #e47b56;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.archive-note blockquote {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 35px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.55;
}

.archive-note > span {
  display: block;
  margin-top: 40px;
  color: rgba(255, 253, 246, 0.46);
  font-size: 12px;
}

.section-garage {
  background: var(--paper-bright);
}

.garage-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 10vw, 150px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.garage-copy {
  align-self: start;
  position: sticky;
  top: 120px;
}

.garage-copy > p:not(.section-kicker) {
  margin: 30px 0 0;
  color: rgba(23, 23, 19, 0.66);
  font-size: 17px;
}

.parts-index {
  border-top: 1px solid var(--ink);
}

.parts-index article {
  display: grid;
  grid-template-columns: 72px minmax(130px, 0.45fr) 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.parts-index article > span {
  padding-top: 5px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.parts-index h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.parts-index p {
  margin: 0;
  color: rgba(23, 23, 19, 0.64);
}

.battle-record {
  width: min(100%, var(--max-width));
  margin: clamp(80px, 10vw, 140px) auto 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.record-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.battle-record img {
  width: 100%;
  image-rendering: pixelated;
}

.battle-record figcaption {
  padding: 15px 18px;
  color: rgba(255, 253, 246, 0.62);
  font-size: 12px;
}

.section-guide {
  background: var(--sand);
}

.guide-heading {
  grid-template-columns: minmax(0, 1fr);
}

.guide-heading h2 {
  max-width: 850px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.guide-steps li {
  position: relative;
  min-height: 320px;
  padding: 35px 28px 28px 0;
}

.guide-steps li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(23, 23, 19, 0.22);
}

.step-line {
  display: block;
  width: 12px;
  height: 12px;
  margin: -41px 0 34px;
  border-radius: 50%;
  background: var(--accent);
}

.step-number {
  margin: 0 0 70px;
  color: rgba(23, 23, 19, 0.48);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.guide-steps h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.guide-steps li > p:last-child {
  margin: 0;
  color: rgba(23, 23, 19, 0.66);
}

.section-about {
  background: var(--paper);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: clamp(60px, 9vw, 140px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 84px);
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 14px 14px 0 var(--accent);
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
}

.about-copy p + p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding: 60px max(24px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 253, 246, 0.56);
  font-size: 13px;
}

.footer-meta {
  min-width: 220px;
}

.footer-meta p {
  margin-top: 0;
}

.footer-meta p + p {
  margin-top: 6px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 253, 246, 0.16);
}

.icp-link {
  grid-column: 1 / -1;
  justify-self: center;
  color: rgba(255, 253, 246, 0.72);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 246, 0.32);
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.icp-link:hover {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-copy {
    max-width: 820px;
    padding-left: 0;
  }

  .hero-visual {
    width: min(100%, 780px);
    min-height: 580px;
    margin-left: auto;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading > p:last-child {
    max-width: 680px;
    margin-top: 28px;
  }

  .garage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .garage-copy {
    position: static;
    max-width: 760px;
  }

  .guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-steps li:nth-child(3) {
    border-left: 0;
  }

  .guide-steps li:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 23, 19, 0.22);
  }

  .guide-steps li:nth-child(3) .step-line,
  .guide-steps li:nth-child(4) .step-line {
    margin-top: -6px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(244, 239, 223, 0.9);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms var(--ease);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(244, 239, 223, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 108px 16px 34px;
  }

  .hero::before {
    right: -34vw;
    width: 90vw;
    height: 90vw;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-lead {
    margin-top: 25px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .text-link {
    width: fit-content;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-facts div + div {
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-visual {
    min-height: 510px;
    margin-left: 0;
    box-shadow: 8px 8px 0 rgba(23, 23, 19, 0.1);
  }

  .pixel-sky {
    height: 340px;
  }

  .sun {
    top: 76px;
    width: 86px;
  }

  .ridge-back {
    bottom: 135px;
  }

  .ridge-front {
    bottom: 94px;
  }

  .hero-tank-back {
    right: 8%;
    bottom: 108px;
    width: 105px;
  }

  .hero-tank-front {
    right: 33%;
    width: 150px;
  }

  .visual-caption {
    min-height: 170px;
    padding: 24px;
  }

  .hero-index {
    display: none;
  }

  .section {
    padding: 84px 16px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-heading h2,
  .garage-copy h2,
  .about-panel h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .lore-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lore-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 27px 0;
  }

  .archive-note {
    padding: 25px;
  }

  .archive-label {
    margin-bottom: 36px;
  }

  .parts-index article {
    grid-template-columns: 58px 1fr;
    gap: 14px;
  }

  .parts-index article p {
    grid-column: 2;
  }

  .record-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .battle-record {
    overflow: hidden;
  }

  .battle-record img {
    width: 170%;
    max-width: none;
    transform: translateX(-35%);
  }

  .guide-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-steps li,
  .guide-steps li + li {
    min-height: 0;
    padding: 35px 0;
    border-top: 1px solid rgba(23, 23, 19, 0.22);
    border-left: 0;
  }

  .guide-steps li:first-child {
    border-top: 0;
  }

  .guide-steps li .step-line,
  .guide-steps li:nth-child(3) .step-line,
  .guide-steps li:nth-child(4) .step-line {
    margin: -41px 0 22px;
  }

  .step-number {
    margin-bottom: 35px;
  }

  .about-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 34px 24px;
    box-shadow: 8px 8px 0 var(--accent);
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 50px 24px;
  }

  .copyright {
    grid-column: auto;
  }

  .icp-link {
    grid-column: auto;
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
