:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #101010;
  --panel-2: #171717;
  --paper: #f2efe8;
  --muted: #9c9b96;
  --dim: #686864;
  --red: #e62027;
  --red-dark: #9f1117;
  --line: rgba(242, 239, 232, 0.18);
  --line-strong: rgba(242, 239, 232, 0.46);
  --display: Arial, "Helvetica Neue", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--paper);
  font-family: var(--display);
  font-synthesis: none;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
  content: "";
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--red);
  color: white;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--bg);
  font: 800 .75rem/1 var(--mono);
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  width: min(100%, 1600px);
  margin-inline: auto;
  background: rgba(9,9,9,.88);
  border-inline: 1px solid var(--line);
  opacity: 1;
  transition: opacity .45s ease;
}

.is-booting .site-shell {
  opacity: 0;
}

.boot-screen {
  position: fixed;
  z-index: 99;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1rem;
  background: #080808;
  text-align: center;
  transition: opacity .45s ease, visibility .45s ease;
}

body:not(.is-booting) .boot-screen {
  visibility: hidden;
  opacity: 0;
}

.boot-mark {
  display: grid;
  width: 96px;
  height: 96px;
  margin: auto;
  place-items: center;
  border: 1px solid var(--line-strong);
}

.boot-mark img {
  width: 70%;
}

.boot-screen p,
.boot-screen small {
  margin: 0;
  font: 700 .72rem/1.2 var(--mono);
  letter-spacing: .16em;
}

.boot-screen p {
  color: var(--red);
}

.boot-screen small {
  color: var(--dim);
}

.boot-line {
  width: 240px;
  height: 2px;
  background: #292929;
}

.boot-line span {
  display: block;
  width: 0;
  height: 100%;
  animation: boot 1s ease forwards;
  background: var(--red);
}

@keyframes boot {
  to { width: 100%; }
}

.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(1rem, 3.2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(9,9,9,.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .8rem;
  font: 900 .86rem/1 var(--mono);
  letter-spacing: -.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.system-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font: 700 .65rem/1 var(--mono);
  letter-spacing: .08em;
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(230,32,39,.12), 0 0 14px rgba(230,32,39,.8);
}

.status-divider {
  color: #3f3f3f;
}

.mini-route {
  justify-self: end;
  font: 800 .66rem/1 var(--mono);
  letter-spacing: .06em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(3rem, 7vw, 7.5rem) clamp(1.25rem, 4.8vw, 5rem) 2rem;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font: 800 .7rem/1.2 var(--mono);
  letter-spacing: .11em;
}

.eyebrow > span {
  color: var(--red);
}

.eyebrow::after {
  width: 38px;
  height: 1px;
  background: var(--red);
  content: "";
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  display: flex;
  max-width: 100%;
  margin: 0;
  flex-direction: column;
  font-size: clamp(4.2rem, 10.8vw, 11rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .72;
}

h1 .outline {
  margin-left: -.035em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}

.hero-jp {
  margin: clamp(2rem, 4vw, 4rem) 0 .7rem;
  color: var(--paper);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 800;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}

.character-line {
  display: flex;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.character-line span {
  padding: .58rem .7rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  font: 800 .66rem/1 var(--mono);
  letter-spacing: .04em;
}

.character-line span:first-child {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.primary-action {
  display: flex;
  min-width: min(100%, 330px);
  padding: 1.1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--bg);
  font: 900 .78rem/1 var(--mono);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.primary-action span {
  color: var(--dim);
  font-size: .62rem;
}

.primary-action:hover,
.primary-action:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.primary-action:hover span,
.primary-action:focus-visible span {
  color: rgba(255,255,255,.7);
}

.text-action {
  border-bottom: 1px solid var(--line-strong);
  font: 800 .7rem/2 var(--mono);
}

.quick-lore {
  display: grid;
  margin: auto 0 0;
  padding-top: 3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.quick-lore div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.quick-lore dt,
.quick-lore dd {
  margin: 0;
  font-family: var(--mono);
}

.quick-lore dt {
  margin-bottom: .5rem;
  color: var(--dim);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.quick-lore dd {
  color: var(--paper);
  font-size: .68rem;
  font-weight: 800;
}

.character-panel {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(1rem, 2.6vw, 2.4rem);
  flex-direction: column;
  background: #0c0c0c;
  overflow: hidden;
}

.character-panel::after {
  position: absolute;
  right: -5%;
  bottom: -4%;
  color: rgba(255,255,255,.025);
  font: 950 clamp(8rem, 16vw, 15rem)/.7 var(--display);
  letter-spacing: -.12em;
  content: "26";
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
  font: 800 .62rem/1 var(--mono);
  letter-spacing: .08em;
}

.rare-label {
  padding: .45rem .55rem;
  background: var(--red);
  color: white;
}

.hero-portrait {
  position: relative;
  min-height: 0;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
  isolation: isolate;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease;
}

.hero-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.82) 100%),
    linear-gradient(90deg, rgba(230,32,39,.15), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero-portrait > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.08);
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}

.hero-portrait:hover > img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.05);
}

.hero-portrait figcaption {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.hero-portrait figcaption span {
  font-size: clamp(1.6rem, 3vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -.06em;
}

.hero-portrait figcaption small {
  max-width: 100px;
  color: rgba(255,255,255,.72);
  font: 700 .55rem/1.3 var(--mono);
  text-align: right;
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: -20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 0 18px rgba(255,255,255,.45);
  animation: scan 7s linear infinite;
  opacity: .4;
}

@keyframes scan {
  0% { top: -5%; }
  70%, 100% { top: 105%; }
}

.stat-grid {
  display: grid;
  padding: .9rem 0;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.stat {
  padding: .6rem .7rem;
  border: 1px solid var(--line);
}

.stat div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font: 800 .52rem/1 var(--mono);
}

.stat b {
  color: var(--red);
  font-size: .78rem;
}

.stat i {
  display: block;
  height: 3px;
  margin-top: .6rem;
  background: #2d2d2d;
}

.stat i span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 1.1s cubic-bezier(.2,.8,.2,1) .25s;
}

body:not(.is-booting) .stat i span {
  width: var(--level);
}

.stat small {
  display: block;
  margin-top: .55rem;
  color: var(--dim);
  font: 800 .47rem/1 var(--mono);
  letter-spacing: .05em;
}

.stat-unavailable {
  border-color: rgba(230,32,39,.65);
  background: rgba(230,32,39,.06);
}

.stat-unavailable i {
  background: repeating-linear-gradient(90deg, #2d2d2d 0 8px, transparent 8px 12px);
}

.panel-thumbs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.panel-thumbs figure {
  position: relative;
  height: 90px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.panel-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.1);
}

.panel-thumbs figcaption {
  position: absolute;
  right: .5rem;
  bottom: .45rem;
  padding: .3rem .4rem;
  background: rgba(9,9,9,.82);
  font: 800 .5rem/1 var(--mono);
}

.route-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 3.2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  align-items: end;
  gap: 3rem;
}

.section-heading .eyebrow {
  margin-bottom: 1.2rem;
}

.section-heading h2,
.quest-copy h2,
.footer-title h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6.3vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .88;
}

.section-heading h2 span,
.quest-copy h2 span,
.footer-title h2 span {
  color: var(--red);
}

.section-heading > p {
  margin: 0 0 .4rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.section-heading > p span {
  color: var(--dim);
  font-size: .82rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.route-card {
  position: relative;
  display: flex;
  min-height: 340px;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  grid-column: span 4;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16,16,16,.86);
  overflow: hidden;
  transition: background .28s ease, color .28s ease, transform .28s ease;
}

.route-card::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  width: 40px;
  height: 40px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  content: "";
  transition: width .3s ease, height .3s ease, border-color .3s ease;
}

.route-card:hover,
.route-card:focus-visible {
  z-index: 2;
  background: var(--paper);
  color: var(--bg);
  outline: none;
  transform: translateY(-5px);
}

.route-card:hover::after,
.route-card:focus-visible::after {
  width: 62px;
  height: 62px;
  border-color: var(--red);
}

.route-primary {
  grid-column: span 5;
  background: var(--red);
  color: white;
}

.guest-card {
  grid-column: span 3;
  background: var(--paper);
  color: var(--bg);
}

.coach-card,
.utility-card {
  grid-column: span 3;
}

.coach-card {
  background:
    linear-gradient(135deg, rgba(76,29,149,.84), rgba(22,11,37,.97) 72%);
  color: #f7f2e9;
}

.coach-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #f4c95d;
  content: "";
}

.coach-card:hover,
.coach-card:focus-visible {
  background: #f4c95d;
  color: #160b25;
}

.guest-card:hover,
.guest-card:focus-visible {
  background: var(--red);
  color: white;
}

.route-index {
  align-self: flex-end;
  color: currentColor;
  font: 900 .75rem/1 var(--mono);
  opacity: .55;
}

.route-kicker {
  margin-top: auto;
  color: currentColor;
  font: 800 .62rem/1.2 var(--mono);
  letter-spacing: .08em;
  opacity: .62;
}

.route-card h3 {
  max-width: 95%;
  margin: .65rem 0 .8rem;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .86;
}

.guest-card h3 {
  max-width: 100%;
  font-size: clamp(2.1rem, 2.8vw, 3.35rem);
  white-space: nowrap;
}

.route-card p {
  max-width: 410px;
  margin: 0 0 1.8rem;
  color: currentColor;
  font-size: .9rem;
  line-height: 1.45;
  opacity: .64;
}

.route-state {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid currentColor;
  font: 900 .62rem/1 var(--mono);
  opacity: .72;
}

.route-state b {
  font-size: 1rem;
}

.guest-flag {
  position: absolute;
  top: 1.3rem;
  left: 1.3rem;
  padding: .45rem .55rem;
  background: var(--bg);
  color: var(--paper);
  font: 900 .54rem/1 var(--mono);
  letter-spacing: .05em;
}

.coach-flag {
  position: absolute;
  top: 1.3rem;
  right: 3.25rem;
  left: 1.3rem;
  padding: .45rem .55rem;
  background: #f4c95d;
  color: #160b25;
  font: 900 .54rem/1.35 var(--mono);
  letter-spacing: .05em;
  transition: background .25s ease, color .25s ease;
}

.coach-card:hover .coach-flag,
.coach-card:focus-visible .coach-flag {
  background: #160b25;
  color: #f4c95d;
}

@media (min-width: 1081px) {
  .coach-card {
    grid-column: 10 / 13;
    grid-row: 1;
  }

  .guest-card {
    grid-column: 10 / 13;
    grid-row: 2;
  }

  .loadout-card {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .gym-card {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .fast-travel-card {
    grid-column: 7 / 10;
    grid-row: 2;
  }
}

.image-card {
  color: white;
  isolation: isolate;
}

.image-card > img,
.route-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.image-card > img {
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(.5) contrast(1.18);
  transition: transform .5s ease, filter .3s ease;
}

.image-card:hover > img,
.image-card:focus-visible > img {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1.05);
}

.route-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.92));
}

.inosuke-card > img {
  object-position: center 45%;
  filter: saturate(.72) contrast(1.16);
}

.inosuke-card .route-shade {
  background:
    linear-gradient(135deg, rgba(230,32,39,.5), transparent 48%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.92));
}

.media-section {
  padding: clamp(1rem, 3.2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(230,32,39,.07), transparent 36%),
    #090909;
}

.media-drop {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  border: 1px solid var(--line-strong);
  background: #0d0d0d;
  overflow: hidden;
}

.media-visual {
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 2rem);
  border-right: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #080808;
  background-size: 28px 28px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s ease, filter .35s ease;
}

.media-drop:hover .media-frame img {
  transform: scale(1.015);
  filter: saturate(1.08) contrast(1.02);
}

.media-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.1) 50%);
  background-size: 100% 4px;
  opacity: .28;
}

.media-visual figcaption {
  display: flex;
  margin-top: .8rem;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  font: 800 .54rem/1 var(--mono);
  letter-spacing: .06em;
}

.media-copy {
  display: flex;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  flex-direction: column;
}

.media-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.media-topline .eyebrow {
  margin: 0;
}

.media-unlock {
  flex: 0 0 auto;
  padding: .55rem .7rem;
  background: var(--red);
  color: white;
  font: 900 .56rem/1 var(--mono);
  letter-spacing: .06em;
}

.media-code {
  margin: clamp(3rem, 7vw, 7rem) 0 1.2rem;
  color: var(--red);
  font: 900 .62rem/1 var(--mono);
  letter-spacing: .08em;
}

.media-copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .86;
}

.media-copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.media-description {
  max-width: 720px;
  margin: 2rem 0;
  color: var(--muted);
  font-size: clamp(.92rem, 1.3vw, 1.05rem);
  line-height: 1.65;
}

.press-log {
  margin-top: auto;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.press-entry {
  display: grid;
  min-width: 0;
  padding: 1rem;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
}

.press-index {
  color: var(--red);
  font: 950 .68rem/1 var(--mono);
}

.press-entry p,
.press-entry h3,
.press-entry span {
  margin: 0;
}

.press-entry p {
  margin-bottom: .45rem;
  color: var(--dim);
  font: 900 .5rem/1 var(--mono);
  letter-spacing: .07em;
}

.press-entry h3 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.press-entry span {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

.press-entry > b {
  color: var(--dim);
  font: 900 .5rem/1 var(--mono);
  letter-spacing: .05em;
  white-space: nowrap;
}

.press-link {
  transition: background .25s ease, color .25s ease;
}

.press-link:hover,
.press-link:focus-visible {
  background: var(--paper);
  color: var(--bg);
  outline: none;
}

.press-link:hover p,
.press-link:focus-visible p,
.press-link:hover span,
.press-link:focus-visible span,
.press-link:hover > b,
.press-link:focus-visible > b {
  color: var(--bg);
}

.press-link:hover .press-index,
.press-link:focus-visible .press-index {
  color: var(--red);
}

.spawn-log {
  margin-top: 1.25rem;
  border-block: 1px solid var(--line-strong);
}

.spawn-log-head {
  display: flex;
  padding: 1rem 0 1.1rem;
  align-items: flex-start;
  flex-direction: column;
  gap: .65rem;
  border-bottom: 1px solid var(--line);
}

.spawn-log-head p,
.spawn-log-head h3,
.spawn-log-head strong {
  margin: 0;
}

.spawn-log-head p {
  margin-bottom: .5rem;
  color: var(--red);
  font: 900 .54rem/1 var(--mono);
  letter-spacing: .08em;
}

.spawn-log-head h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1;
}

.spawn-log-head strong {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font: 900 .52rem/1 var(--mono);
  letter-spacing: .06em;
}

.spawn-log-head strong::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(230,32,39,.75);
  content: "";
}

.spawn-entry {
  display: grid;
  min-width: 0;
  padding: 1.05rem 0;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  column-gap: 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background .22s ease;
}

.spawn-entry:last-child {
  border-bottom: 0;
}

.spawn-entry:hover,
.spawn-entry:focus-visible {
  background: rgba(230,32,39,.065);
  outline: none;
}

.spawn-date {
  position: relative;
  display: grid;
  min-height: 64px;
  padding: .1rem 1.1rem .1rem 0;
  place-content: center;
  align-self: stretch;
  border-right: 1px solid var(--line-strong);
  text-align: center;
}

.spawn-date::after {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(230,32,39,.7);
  content: "";
}

.spawn-date span,
.spawn-date b,
.spawn-date small,
.spawn-copy p,
.spawn-copy h3,
.spawn-copy span {
  margin: 0;
}

.spawn-date span,
.spawn-date small,
.spawn-copy p,
.spawn-copy span,
.spawn-state {
  font-family: var(--mono);
}

.spawn-date span {
  color: var(--red);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.spawn-date b {
  margin: .15rem 0;
  font-size: 1.6rem;
  font-weight: 950;
  line-height: .9;
}

.spawn-date small {
  color: var(--dim);
  font-size: .42rem;
  font-weight: 900;
}

.spawn-copy {
  min-width: 0;
}

.spawn-copy p {
  margin-bottom: .45rem;
  color: var(--red);
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.spawn-copy h3 {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 950;
  letter-spacing: -.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.spawn-copy span {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.spawn-state {
  grid-column: 2;
  margin-top: .55rem;
  color: var(--dim);
  font-size: .5rem;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .22s ease, transform .22s ease;
}

.spawn-entry:hover .spawn-state,
.spawn-entry:focus-visible .spawn-state {
  color: var(--red);
  transform: translateX(4px);
}

.media-cta {
  display: flex;
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  font: 900 .64rem/1 var(--mono);
  letter-spacing: .04em;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.media-cta b {
  font-size: 1.1rem;
}

.media-cta:hover,
.media-cta:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: white;
  outline: none;
}

.arc-banner-section {
  margin-top: 1.25rem;
}

.arc-banner {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line-strong);
  background: #050505;
  color: var(--paper);
}

.arc-banner img,
.arc-banner-shade,
.arc-banner-scanline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arc-banner img {
  z-index: -3;
  object-fit: cover;
  object-position: 52% 46%;
  filter: saturate(.9) contrast(1.04) brightness(.83);
  transition: transform .65s ease, filter .45s ease;
}

.arc-banner-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.36) 42%, rgba(0,0,0,.08) 70%),
    linear-gradient(0deg, rgba(0,0,0,.68), transparent 52%);
}

.arc-banner-scanline {
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.08) 50%);
  background-size: 100% 4px;
  opacity: .24;
}

.arc-banner-copy {
  display: grid;
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: .8rem 1.25rem;
}

.arc-banner-copy p,
.arc-banner-copy h2,
.arc-banner-copy strong {
  margin: 0;
}

.arc-banner-copy p {
  grid-column: 1 / -1;
  color: var(--red);
  font: 950 .62rem/1 var(--mono);
  letter-spacing: .09em;
}

.arc-banner-copy h2 {
  align-self: end;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .82;
}

.arc-banner-copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.arc-banner-copy strong {
  display: flex;
  align-self: end;
  padding: .65rem 0;
  align-items: center;
  gap: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.48);
  font: 900 .54rem/1 var(--mono);
  letter-spacing: .05em;
  transition: border-color .25s ease, color .25s ease;
}

.arc-banner-copy strong b {
  color: var(--red);
  font-size: 1rem;
  transition: transform .25s ease;
}

.arc-banner:hover img,
.arc-banner:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.06) brightness(.9);
}

.arc-banner:hover .arc-banner-copy strong,
.arc-banner:focus-visible .arc-banner-copy strong {
  border-color: var(--red);
  color: white;
}

.arc-banner:hover .arc-banner-copy strong b,
.arc-banner:focus-visible .arc-banner-copy strong b {
  transform: translateX(4px);
}

.arc-banner:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.video-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 3.2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(230,32,39,.15), transparent 24%),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    #080808;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.video-heading {
  display: flex;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.video-heading .eyebrow {
  margin-bottom: 1.4rem;
}

.video-code {
  margin: 0 0 1rem;
  color: var(--red);
  font: 900 .62rem/1 var(--mono);
  letter-spacing: .08em;
}

.video-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .86;
}

.video-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.video-status {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  padding: .75rem .9rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.5);
  color: var(--paper);
  font: 900 .56rem/1 var(--mono);
  letter-spacing: .07em;
}

.video-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(230,32,39,.72);
}

.video-console {
  position: relative;
  border: 1px solid var(--line-strong);
  background: #050505;
  box-shadow: 16px 16px 0 rgba(230,32,39,.08);
}

.video-console::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  width: clamp(70px, 12vw, 180px);
  height: 3px;
  background: var(--red);
  content: "";
}

.video-toolbar,
.video-footer {
  display: flex;
  min-height: 44px;
  padding: .8rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  font: 900 .55rem/1 var(--mono);
  letter-spacing: .07em;
}

.video-toolbar {
  border-bottom: 1px solid var(--line-strong);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-footer {
  border-top: 1px solid var(--line-strong);
}

.video-footer p {
  margin: 0;
}

.video-footer a {
  color: var(--paper);
  transition: color .2s ease;
}

.video-footer a:hover,
.video-footer a:focus-visible {
  color: var(--red);
  outline: none;
}

.yuki-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 3.2vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(230,32,39,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,32,39,.045) 1px, transparent 1px),
    radial-gradient(circle at 88% 18%, rgba(230,32,39,.18), transparent 25%),
    #090909;
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.yuki-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.yuki-access {
  padding: .55rem .7rem;
  background: var(--red);
  color: white;
  font: 900 .58rem/1 var(--mono);
  letter-spacing: .06em;
}

.yuki-grid {
  display: grid;
  padding: clamp(2rem, 5vw, 5rem) 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.yuki-code {
  margin: 0 0 1.3rem;
  color: var(--red);
  font: 900 .64rem/1 var(--mono);
  letter-spacing: .08em;
}

.yuki-copy h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 950;
  letter-spacing: -.078em;
  line-height: .86;
}

.yuki-copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.yuki-copy > p:last-child {
  max-width: 760px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.yuki-specs {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.yuki-specs div {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: 135px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.yuki-specs dt,
.yuki-specs dd {
  margin: 0;
  font: 800 .6rem/1.3 var(--mono);
}

.yuki-specs dt {
  color: var(--dim);
}

.yuki-specs dd {
  color: var(--paper);
  text-align: right;
}

.yuki-terminal {
  display: grid;
  margin-inline: calc(clamp(1rem, 3.2vw, 3.5rem) * -1);
  padding: 1rem clamp(1rem, 3.2vw, 3.5rem);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(230,32,39,.08);
  color: var(--dim);
  font: 800 .58rem/1 var(--mono);
  letter-spacing: .06em;
}

.yuki-terminal span:nth-child(2) {
  text-align: center;
}

.yuki-terminal span:last-child {
  color: var(--red);
  text-align: right;
}

.quest-board {
  display: grid;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1rem, 3.2vw, 3.5rem);
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 35%, rgba(230,32,39,.16), transparent 27%),
    #0c0c0c;
}

.quest-copy .eyebrow {
  margin-bottom: 1.2rem;
}

.quest-copy > p:last-child {
  max-width: 650px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.quest-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.quest-ring {
  display: grid;
  width: clamp(130px, 15vw, 210px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0 78%, #262626 78% 100%);
}

.quest-ring::before {
  position: absolute;
  width: calc(clamp(130px, 15vw, 210px) - 20px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0c0c0c;
  content: "";
}

.quest-ring span {
  position: relative;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -.07em;
}

.quest-ring small {
  color: var(--red);
  font-size: .35em;
}

.quest-progress p,
.quest-progress small {
  margin: 0;
  color: var(--dim);
  font: 800 .58rem/1.4 var(--mono);
  letter-spacing: .08em;
}

.quest-progress strong {
  display: block;
  margin: .5rem 0;
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -.06em;
}

.quest-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.quest-list li {
  display: grid;
  padding: 1rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
}

.quest-list li + li {
  border-left: 0;
}

.quest-list span,
.quest-list b {
  color: var(--dim);
  font: 800 .58rem/1 var(--mono);
}

.quest-list p {
  margin: 0;
  font: 900 .75rem/1 var(--mono);
}

.quest-list b {
  color: var(--red);
}

.loadout-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 3.2vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section-heading.compact {
  display: block;
  margin-bottom: 3rem;
}

.loadout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.games-panel,
.hardware-panel {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.games-panel {
  padding: clamp(1.2rem, 3vw, 2.5rem);
  overflow: hidden;
}

.loadout-label {
  margin: 0 0 2rem;
  color: var(--dim);
  font: 900 .62rem/1 var(--mono);
  letter-spacing: .08em;
}

.games-panel .ticker {
  margin-bottom: clamp(3rem, 7vw, 6rem);
  font-size: clamp(2.5rem, 5.5vw, 6rem);
}

.steam-link {
  display: flex;
  min-height: 62px;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--bg);
  font: 900 .68rem/1 var(--mono);
  letter-spacing: .04em;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}

.steam-link:hover,
.steam-link:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: white;
  outline: none;
}

.hardware-panel {
  padding: clamp(1.2rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0, rgba(230,32,39,.2), transparent 34%),
    #0d0d0d;
}

.hardware-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  font: 900 .58rem/1 var(--mono);
  letter-spacing: .07em;
}

.hardware-status b {
  color: var(--red);
}

.hardware-panel h3 {
  margin: clamp(3rem, 6vw, 5rem) 0 2rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .82;
}

.hardware-panel h3 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.hardware-panel dl {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.hardware-panel dl div {
  display: flex;
  padding: .9rem 0;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.hardware-panel dt,
.hardware-panel dd {
  margin: 0;
  font: 800 .58rem/1 var(--mono);
}

.hardware-panel dt {
  color: var(--dim);
}

.hardware-panel dd {
  color: var(--paper);
  text-align: right;
}

.hardware-panel > p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.ticker {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.8rem;
  color: var(--paper);
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 950;
  letter-spacing: -.07em;
  white-space: nowrap;
  animation: drift 26s linear infinite alternate;
}

.ticker i {
  color: var(--red);
  font-style: normal;
  font-size: .45em;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% + 85vw)); }
}

footer {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 3.2vw, 3.5rem) 2rem;
  background: var(--paper);
  color: var(--bg);
}

.footer-title {
  display: grid;
  margin-bottom: 4rem;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 3rem;
}

.footer-title > p {
  margin: .35rem 0 0;
  font: 900 .66rem/1 var(--mono);
  letter-spacing: .08em;
}

.socials {
  border-top: 1px solid rgba(0,0,0,.3);
}

.socials a,
.socials button {
  display: grid;
  width: 100%;
  padding: 1.25rem 0;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.3);
  background: transparent;
  color: var(--bg);
  font-size: clamp(1.35rem, 3.2vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -.055em;
  text-align: left;
  cursor: pointer;
  transition: padding .22s ease, background .22s ease, color .22s ease;
}

.socials a:hover,
.socials a:focus-visible,
.socials button:hover,
.socials button:focus-visible {
  padding-inline: 1rem;
  background: var(--red);
  color: white;
  outline: none;
}

.socials span {
  font: 800 .62rem/1 var(--mono);
  opacity: .55;
}

.footer-bottom {
  display: grid;
  margin-top: 6rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  font: 800 .58rem/1.2 var(--mono);
}

.footer-bottom p {
  margin: 0;
  color: rgba(0,0,0,.55);
  text-align: center;
}

.footer-bottom > a:last-child {
  justify-self: end;
}

.footer-brand img {
  filter: none;
}

.route-toast {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: .9rem 1rem;
  transform: translateY(140%);
  border: 1px solid var(--red);
  background: #0a0a0a;
  color: var(--paper);
  font: 800 .65rem/1.35 var(--mono);
  transition: transform .28s ease;
}

.route-toast.is-visible {
  transform: none;
}

.nsfw-dialog {
  width: min(680px, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  border: 1px solid var(--red);
  background: #090909;
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 32px 100px rgba(0,0,0,.8);
}

.nsfw-dialog::backdrop {
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(8px);
}

.nsfw-dialog-card {
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(rgba(230,32,39,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,32,39,.08) 1px, transparent 1px),
    #090909;
  background-size: 34px 34px;
}

.nsfw-dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font: 800 .58rem/1 var(--mono);
  letter-spacing: .08em;
}

.nsfw-badge {
  padding: .45rem .55rem;
  background: var(--red);
  color: white;
  opacity: 1;
}

.nsfw-kicker {
  margin: clamp(2rem, 5vw, 3.5rem) 0 1rem;
  color: var(--red);
  font: 900 .66rem/1 var(--mono);
  letter-spacing: .1em;
}

.nsfw-dialog h2 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: .88;
}

.nsfw-dialog h2 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}

.nsfw-copy {
  max-width: 560px;
  margin: 2rem 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.nsfw-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: .65rem;
}

.nsfw-actions button,
.nsfw-actions a {
  display: flex;
  min-height: 58px;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  background: #0f0f0f;
  color: var(--paper);
  font: 900 .64rem/1 var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nsfw-actions a {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.nsfw-actions button:hover,
.nsfw-actions button:focus-visible,
.nsfw-actions a:hover,
.nsfw-actions a:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--bg);
  outline: none;
}

.nsfw-dialog-card > small {
  display: block;
  margin-top: 1rem;
  color: var(--dim);
  font: 800 .54rem/1 var(--mono);
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .system-status {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 420px;
  }

  .hero-copy {
    padding-inline: 2rem;
  }

  h1 {
    font-size: clamp(4rem, 10vw, 7.5rem);
  }

  .route-card,
  .route-primary,
  .guest-card {
    grid-column: span 6;
  }

  .route-card.fast-travel-card {
    min-height: 260px;
    grid-column: span 12;
  }

  .yuki-grid,
  .loadout-shell {
    grid-template-columns: 1fr;
  }

  .media-drop {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  }

  .media-code {
    margin-top: 4rem;
  }
}

@media (max-width: 820px) {
  .topbar {
    min-height: 60px;
  }

  .brand span {
    display: none;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    min-height: calc(100svh - 60px);
    padding: 4rem 1.1rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  h1 {
    font-size: clamp(4rem, 20vw, 8rem);
  }

  .hero-jp {
    margin-top: 2.5rem;
  }

  .nsfw-actions {
    grid-template-columns: 1fr;
  }

  .quick-lore {
    margin-top: 3rem;
    padding-top: 0;
  }

  .character-panel {
    min-height: 780px;
  }

  .section-heading,
  .footer-title {
    display: block;
  }

  .section-heading > p,
  .footer-title > p {
    margin-top: 1.6rem;
  }

  .media-drop {
    grid-template-columns: 1fr;
  }

  .media-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .media-frame {
    max-width: 560px;
    margin: 0 auto;
  }

  .media-code {
    margin-top: 3rem;
  }

  .video-heading {
    display: block;
  }

  .video-status {
    width: fit-content;
    margin-top: 1.5rem;
  }

  .quest-board {
    grid-template-columns: 1fr;
  }

  .yuki-grid {
    align-items: start;
  }

  .yuki-terminal {
    grid-template-columns: 1fr;
  }

  .yuki-terminal span:nth-child(2),
  .yuki-terminal span:last-child {
    text-align: left;
  }

  .quest-progress {
    justify-content: flex-start;
  }

  .quest-list {
    grid-template-columns: 1fr;
  }

  .quest-list li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-bottom p {
    display: none;
  }
}

@media (max-width: 560px) {
  .mini-route {
    font-size: .58rem;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
    font-size: .6rem;
  }

  .hero-copy {
    min-height: auto;
  }

  .lede {
    font-size: .95rem;
  }

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

  .primary-action {
    width: 100%;
  }

  .quick-lore {
    grid-template-columns: 1fr;
  }

  .quick-lore div + div {
    border-top: 0;
  }

  .character-panel {
    min-height: 700px;
    padding: 1rem;
  }

  .hero-portrait > img {
    min-height: 390px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .panel-thumbs figure {
    height: 76px;
  }

  .route-section {
    padding-inline: .75rem;
  }

  .media-section {
    padding: .75rem;
  }

  .media-copy {
    padding: 1.25rem;
  }

  .media-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-code {
    margin-top: 2.8rem;
    line-height: 1.45;
  }

  .media-copy h2 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .arc-banner-section {
    margin-top: 1rem;
  }

  .arc-banner {
    aspect-ratio: 5 / 3;
  }

  .arc-banner img {
    object-position: 54% 44%;
  }

  .arc-banner-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.72) 0%, transparent 38%),
      linear-gradient(0deg, rgba(0,0,0,.82), transparent 50%);
  }

  .arc-banner-copy {
    padding: .9rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: .55rem;
  }

  .arc-banner-copy p {
    grid-column: 1;
    font-size: .48rem;
  }

  .arc-banner-copy h2 {
    max-width: 100%;
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .arc-banner-copy strong {
    max-width: 112px;
    padding: .5rem 0;
    gap: .45rem;
    justify-self: start;
    font-size: .44rem;
    line-height: 1.2;
  }

  .video-section {
    padding: 4rem .75rem;
  }

  .video-console {
    box-shadow: none;
  }

  .video-heading h2 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .video-toolbar span:last-child {
    display: none;
  }

  .video-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .press-entry {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .press-entry > b {
    grid-column: 2;
  }

  .spawn-entry {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: .9rem;
  }

  .spawn-date {
    min-height: 66px;
    padding-right: .9rem;
  }

  .route-grid {
    display: block;
    border-top: 1px solid var(--line);
  }

  .route-card {
    min-height: 290px;
    border-left: 1px solid var(--line);
  }

  .route-card:hover,
  .route-card:focus-visible {
    transform: none;
  }

  .yuki-section,
  .quest-board,
  .loadout-section {
    padding-inline: 1rem;
  }

  .yuki-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .yuki-grid {
    grid-template-columns: 1fr;
  }

  .yuki-specs div {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .yuki-specs dd {
    text-align: left;
  }

  .yuki-terminal {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .games-panel .ticker {
    font-size: 2.5rem;
  }

  .quest-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .quest-list li {
    grid-template-columns: 30px 1fr;
  }

  .quest-list b {
    grid-column: 2;
  }

  .socials a,
  .socials button {
    grid-template-columns: 38px 1fr auto;
    font-size: 1.2rem;
  }

  .footer-bottom {
    align-items: center;
  }

  .footer-bottom > a:last-child {
    font-size: .48rem;
  }
}

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

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