@font-face {
  font-family: "Jersey 10";
  src: url("fonts/Jersey10-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DotGothic16";
  src: url("fonts/DotGothic16-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #021211;
  --ink-soft: #06211f;
  --teal: #073b38;
  --teal-bright: #0b5c55;
  --lime: #c8ff18;
  --lime-soft: #e6ff86;
  --yellow: #ffd21a;
  --yellow-deep: #e6a900;
  --red: #ff4938;
  --red-deep: #9d1d18;
  --cyan: #65f5e5;
  --paper: #eef4d8;
  --paper-dim: #c8d5b5;
  --white: #f7ffe9;
  --muted: #9bb7aa;
  --display: "Jersey 10", "Arial Narrow", sans-serif;
  --body: "DotGothic16", "PingFang SC", "Microsoft YaHei", sans-serif;
  --panel-shadow: 10px 10px 0 #00100e;
  --border: 3px solid var(--lime);
  --page: min(1340px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--lime) var(--ink);
  background: var(--ink);
}

body {
  min-width: 360px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(101, 245, 229, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(101, 245, 229, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 20% 5%, rgba(11, 92, 85, 0.55), transparent 28rem),
    radial-gradient(circle at 95% 42%, rgba(200, 255, 24, 0.05), transparent 32rem),
    var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.19) 4px
  );
  mix-blend-mode: multiply;
}

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

img {
  display: block;
  max-width: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a {
  color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-route {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

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

.incident-ribbon {
  position: relative;
  z-index: 30;
  height: 36px;
  overflow: hidden;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #171a10 18px 36px);
  border-bottom: 3px solid var(--ink);
}

.incident-ribbon__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: max-content;
  height: 100%;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ribbon-code {
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
}

.ribbon-separator {
  color: var(--lime);
}

.ribbon-live b {
  color: var(--yellow);
  font-weight: 400;
}

.signal-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--ink), 0 0 16px var(--lime);
  animation: signal-pulse 1.7s steps(2, end) infinite;
}

.entry-header {
  position: absolute;
  z-index: 20;
  top: 36px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid rgba(200, 255, 24, 0.35);
  background: linear-gradient(180deg, rgba(2, 18, 17, 0.92), rgba(2, 18, 17, 0.12));
}

.zoo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.zoo-wordmark img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
}

.zoo-wordmark__type {
  font-family: var(--display);
  font-size: 33px;
  line-height: 0.9;
  letter-spacing: 1px;
}

.zoo-wordmark__type span {
  color: var(--lime);
}

.zoo-wordmark__sub {
  max-width: 116px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 0.95;
  letter-spacing: 1.2px;
}

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

.chain-lamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--muted);
  border: 1px solid rgba(155, 183, 170, 0.35);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 1px;
}

.chain-lamp.is-online {
  color: var(--lime-soft);
  border-color: rgba(200, 255, 24, 0.5);
}

.chain-lamp.is-offline .signal-dot {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--ink), 0 0 12px var(--red);
}

.wallet-ticket,
.inline-ticket {
  cursor: pointer;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  letter-spacing: 1.1px;
  transition: transform 120ms steps(1), box-shadow 120ms steps(1), background 120ms steps(1);
}

.wallet-ticket {
  min-height: 44px;
  padding: 7px 16px 5px;
  font-size: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

.inline-ticket {
  padding: 7px 11px 5px;
  font-size: 17px;
}

.wallet-ticket:hover:not(:disabled),
.inline-ticket:hover:not(:disabled) {
  background: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.wallet-ticket.is-connected {
  color: var(--lime);
  background: var(--ink);
  border-color: var(--lime);
}

.language-punch {
  display: flex;
  border: 2px solid var(--white);
  background: var(--ink);
}

.language-punch__key {
  min-height: 40px;
  padding: 3px 10px;
  cursor: pointer;
  color: var(--white);
  background: transparent;
  border: 0;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 1px;
}

.language-punch__key + .language-punch__key {
  border-left: 2px solid var(--white);
}

.language-punch__key.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.keeper-gate {
  position: relative;
  min-height: max(760px, calc(100vh - 36px));
  min-height: max(760px, calc(100svh - 36px));
  overflow: hidden;
  isolation: isolate;
  background: var(--teal);
}

.keeper-gate__art {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.keeper-gate__shade {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 18, 17, 0.94) 0%, rgba(2, 18, 17, 0.72) 35%, rgba(2, 18, 17, 0.08) 66%, rgba(2, 18, 17, 0.25) 100%),
    linear-gradient(0deg, rgba(2, 18, 17, 0.97) 0%, transparent 42%, rgba(2, 18, 17, 0.2) 72%, rgba(2, 18, 17, 0.58) 100%);
}

.keeper-gate__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(200, 255, 24, 0.32) 50%, transparent 50.2%) 0 0 / 13.333% 100%,
    linear-gradient(0deg, transparent 49.7%, rgba(200, 255, 24, 0.18) 50%, transparent 50.3%) 0 0 / 100% 160px;
  mask-image: linear-gradient(0deg, black, transparent 80%);
}

.hero-stamp {
  position: absolute;
  top: 116px;
  right: clamp(20px, 4vw, 62px);
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  color: var(--red);
  background: rgba(2, 18, 17, 0.78);
  border: 2px solid var(--red);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: 1.5px;
  text-align: right;
  transform: rotate(2deg);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
}

.hero-stamp__line:last-child {
  color: var(--yellow);
}

.gate-copy {
  position: absolute;
  z-index: 2;
  bottom: 108px;
  left: clamp(20px, 5vw, 76px);
  width: min(760px, 59vw);
  animation: sign-drop 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gate-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 11px;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1.3px;
  transform: rotate(-1deg);
}

.gate-kicker .signal-dot {
  box-shadow: none;
}

.title-plate {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 16px 28px 24px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%),
    #061f1e;
  border: 4px solid var(--lime);
  box-shadow: 11px 11px 0 rgba(0, 0, 0, 0.72);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.title-plate::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 9px, var(--ink) 9px 18px);
}

.title-plate::after {
  position: absolute;
  right: 13px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  content: "";
  border-right: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
}

.title-plate__bolt {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border: 2px solid var(--lime);
}

.title-plate__bolt--tl {
  top: 16px;
  left: 8px;
}

.title-plate__bolt--tr {
  top: 16px;
  right: 8px;
}

.title-plate__bolt--bl {
  bottom: 9px;
  left: 8px;
}

.title-plate__bolt--br {
  right: 9px;
  bottom: 9px;
}

.title-plate__eyebrow {
  display: block;
  padding-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 2px;
}

.title-plate h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(88px, 10.8vw, 165px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.025em;
  text-shadow:
    5px 5px 0 var(--teal-bright),
    9px 9px 0 var(--ink);
}

.title-plate h1 span {
  color: var(--lime);
}

.title-plate__chinese {
  display: block;
  margin-top: 15px;
  color: var(--yellow);
  font-family: var(--body);
  font-size: 18px;
  letter-spacing: 8px;
}

.gate-tagline {
  margin: 27px 0 7px;
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: 0.8px;
  text-shadow: 3px 3px 0 var(--ink);
}

.gate-synopsis {
  max-width: 650px;
  margin: 0;
  color: #dcebdd;
  font-size: 17px;
  line-height: 1.68;
  text-shadow: 2px 2px 0 var(--ink);
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 22px;
}

.slash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 10px 18px 8px;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 120ms steps(1), box-shadow 120ms steps(1);
}

.slash-button--lime {
  background: var(--lime);
}

.slash-button--ghost {
  color: var(--white);
  background: rgba(2, 18, 17, 0.8);
  border-color: var(--white);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
}

.slash-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.atlas-pins {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: stretch;
  color: var(--ink);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.72));
  font-family: var(--display);
  line-height: 1;
  letter-spacing: 1px;
  text-decoration: none;
  pointer-events: auto;
  opacity: 0;
  animation: pin-in 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 120ms steps(1), filter 120ms steps(1);
}

.map-pin::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  content: "";
  border: 2px solid var(--yellow);
  transform: translate(-50%, -50%);
  animation: pin-echo 2.6s steps(5, end) infinite;
}

.map-pin__num {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 21px;
}

.map-pin__label {
  display: flex;
  align-items: center;
  min-height: 38px;
  max-width: 150px;
  padding: 4px 9px 2px;
  color: var(--white);
  background: rgba(2, 18, 17, 0.94);
  border: 2px solid var(--yellow);
  border-left: 0;
  font-size: 16px;
}

.map-pin:hover {
  z-index: 5;
  transform: translate(2px, -3px);
  filter: drop-shadow(2px 7px 0 rgba(0, 0, 0, 0.6));
}

.map-pin--one {
  top: 28%;
  right: 6.5%;
  animation-delay: 380ms;
}

.map-pin--two {
  top: 41%;
  right: 18%;
  animation-delay: 500ms;
}

.map-pin--three {
  top: 55%;
  right: 4%;
  animation-delay: 620ms;
}

.map-pin--four {
  top: 64%;
  right: 23%;
  animation-delay: 740ms;
}

.map-pin--five {
  top: 76%;
  right: 8%;
  animation-delay: 860ms;
}

.map-pin--six {
  top: 84%;
  right: 28%;
  animation-delay: 980ms;
}

.gate-coordinates {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 18px;
  color: rgba(238, 244, 216, 0.62);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 1px;
}

.live-ledger {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  color: var(--white);
  background: var(--ink);
  border-top: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
}

.ledger-cell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-width: 0;
  padding: 16px clamp(12px, 2.2vw, 30px);
  border-right: 1px solid rgba(200, 255, 24, 0.24);
}

.ledger-cell:last-child {
  border-right: 0;
}

.ledger-cell::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 4px;
  content: "";
  background: var(--yellow);
}

.ledger-cell__label {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-cell strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(31px, 3vw, 44px);
  font-weight: 400;
  line-height: 0.9;
}

.ledger-cell__aside {
  padding-bottom: 3px;
  color: var(--paper-dim);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.7px;
}

.board-section {
  position: relative;
  width: var(--page);
  margin: 110px auto;
  scroll-margin-top: 20px;
}

.hazard-cap {
  height: 19px;
  border: 3px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px);
  box-shadow: 6px 6px 0 #000807;
}

.section-sign {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 100px;
  padding: 16px 24px 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(200, 255, 24, 0.1), transparent 30%),
    var(--ink-soft);
  border-right: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
  border-left: 3px solid var(--lime);
}

.section-sign::after {
  position: absolute;
  right: -34px;
  bottom: -47px;
  width: 160px;
  height: 110px;
  content: "";
  opacity: 0.2;
  border: 14px double var(--lime);
  transform: rotate(-12deg);
}

.section-sign__index {
  display: grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 #000;
  font-family: var(--display);
  font-size: 45px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.section-sign__eyebrow {
  margin: 0;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 2px;
}

.section-sign h2 {
  margin: 2px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.7px;
}

.section-sign__stamp {
  position: relative;
  z-index: 1;
  margin-left: auto;
  padding: 5px 10px 3px;
  color: var(--red);
  border: 2px solid var(--red);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-align: center;
  transform: rotate(-1.5deg);
}

.board-section > :not(.hazard-cap, .section-sign) {
  padding-right: clamp(16px, 2.4vw, 34px);
  padding-left: clamp(16px, 2.4vw, 34px);
  background: rgba(4, 30, 28, 0.78);
  border-right: 3px solid var(--teal-bright);
  border-bottom: 3px solid var(--teal-bright);
  border-left: 3px solid var(--teal-bright);
}

.board-section > :last-child {
  padding-bottom: clamp(24px, 3vw, 42px);
}

.micro-label {
  display: block;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 1.6px;
}

.text-link {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.7px;
}

.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  gap: 28px;
  padding-top: 36px !important;
}

.crate-console,
.verified-window {
  position: relative;
  min-width: 0;
  box-shadow: var(--panel-shadow);
}

.crate-console {
  padding: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(rgba(200, 255, 24, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(200, 255, 24, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    #061f1e;
  border: 3px solid var(--lime);
}

.crate-console::before {
  position: absolute;
  top: -3px;
  right: 54px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--red);
  border: 2px solid var(--ink);
  box-shadow: 18px 0 0 var(--yellow), 36px 0 0 var(--lime);
}

.console-head,
.inventory-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.console-head h3,
.inventory-head h3,
.verified-window h3,
.mini-kiosk h3,
.divine-hatch h3 {
  margin: 4px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.6px;
}

.console-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  color: var(--lime);
  border: 1px solid rgba(200, 255, 24, 0.4);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.console-state.is-closed {
  color: var(--red);
  border-color: var(--red);
}

.console-state.is-closed .signal-dot {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--ink), 0 0 10px var(--red);
}

.wallet-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
  padding: 13px 15px;
  background: #031513;
  border: 1px solid rgba(200, 255, 24, 0.34);
  border-left: 6px solid var(--lime);
}

.wallet-strip__identity {
  min-width: 0;
}

.wallet-strip strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-gate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 12px 14px;
  background: #092b28;
  border: 1px solid rgba(101, 245, 229, 0.3);
}

.agent-gate.is-good {
  border-color: var(--lime);
}

.agent-gate.is-bad {
  border-color: var(--red);
}

.agent-gate__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  font-family: var(--display);
  font-size: 20px;
}

.agent-gate p {
  margin: 2px 0 0;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.45;
}

.keeper-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 20px;
  border: 1px solid rgba(200, 255, 24, 0.28);
}

.keeper-numbers > div {
  min-width: 0;
  padding: 10px 12px;
}

.keeper-numbers > div + div {
  border-left: 1px solid rgba(200, 255, 24, 0.28);
}

.keeper-numbers strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keeper-free-slot {
  margin: -12px 0 18px;
  padding: 6px 9px;
  color: var(--lime-soft);
  background: rgba(200, 255, 24, 0.08);
  border-left: 4px solid var(--lime);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.7px;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.quantity-row > label,
.field-label,
.inline-stepper > label {
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 66px 42px;
  height: 42px;
  border: 2px solid var(--lime);
}

.stepper button {
  cursor: pointer;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.stepper button:hover:not(:disabled) {
  background: var(--yellow);
}

.stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.stepper input {
  min-width: 0;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-right: 1px solid rgba(200, 255, 24, 0.4);
  border-left: 1px solid rgba(200, 255, 24, 0.4);
  font-family: var(--display);
  font-size: 24px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

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

.stepper--small {
  grid-template-columns: 35px 52px 35px;
  height: 36px;
}

.stepper--small button {
  font-size: 23px;
}

.stepper--small input {
  font-size: 21px;
}

.quote-receipt {
  position: relative;
  margin: 18px 0;
  padding: 16px 18px 14px;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49%, rgba(2, 18, 17, 0.1) 50%, transparent 51%) 0 0 / 24px 24px,
    var(--paper);
  box-shadow: 5px 5px 0 #00100e;
}

.quote-receipt::before,
.quote-receipt::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--paper) 0 6px, transparent 6px 12px);
}

.quote-receipt::before {
  top: -5px;
}

.quote-receipt::after {
  bottom: -5px;
}

.quote-receipt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(2, 18, 17, 0.4);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.7px;
}

.quote-receipt__row strong {
  color: var(--teal);
  font-size: 25px;
  font-weight: 400;
  text-align: right;
}

.quote-receipt__note {
  min-height: 21px;
  padding-top: 9px;
  color: #29443c;
  font-size: 14px;
  line-height: 1.4;
}

.primary-action,
.secondary-action {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 11px 16px 9px;
  cursor: pointer;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1.1px;
  text-align: center;
  transition: transform 120ms steps(1), box-shadow 120ms steps(1), filter 120ms steps(1);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.primary-action {
  color: var(--ink);
  background: var(--lime);
}

.primary-action--small {
  min-height: 44px;
  margin-top: 14px;
  font-size: 19px;
}

.secondary-action {
  color: var(--ink);
  background: var(--white);
}

.secondary-action--yellow {
  background: var(--yellow);
}

.secondary-action--red {
  color: var(--white);
  background: var(--red-deep);
  border-color: var(--ink);
}

.secondary-action--lime {
  background: var(--lime);
}

.primary-action:hover:not(:disabled),
.secondary-action:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.primary-action:disabled,
.secondary-action:disabled,
.inline-ticket:disabled {
  cursor: not-allowed;
  color: #6f8177;
  background: #203932;
  border-color: #50675e;
  box-shadow: none;
  filter: grayscale(0.8);
}

.primary-action.is-busy,
.secondary-action.is-busy {
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, var(--yellow) 0 10px, #d5ad00 10px 20px);
}

.action-feedback {
  min-height: 25px;
  margin: 12px 0 0;
  color: var(--lime-soft);
  font-size: 14px;
  line-height: 1.45;
}

.action-feedback.is-error {
  color: #ff9b91;
}

.action-feedback--dark {
  color: var(--ink);
}

.action-feedback--dark.is-error {
  color: var(--red-deep);
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.verified-window {
  align-self: start;
  padding: clamp(18px, 2.4vw, 28px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(2, 18, 17, 0.05) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--yellow);
  border: 3px solid var(--ink);
}

.verified-window::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  content: "";
  background: repeating-linear-gradient(-45deg, var(--red) 0 13px, var(--ink) 13px 26px);
}

.verified-window__header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 8px;
}

.verified-window .micro-label {
  color: #37441b;
}

.verified-window h3 {
  color: var(--ink);
}

.blue-stamp {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: #087ccf;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 35px;
}

.verified-window__copy {
  margin: 20px 0 15px;
  font-size: 16px;
  line-height: 1.62;
}

.claim-availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.8px;
}

.claim-availability .signal-dot {
  background: var(--yellow);
}

.claim-availability.is-off .signal-dot {
  background: var(--red);
}

.field-label {
  display: block;
  margin: 15px 0 7px;
  color: var(--ink);
}

.data-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
  font-size: 15px;
}

.data-input::placeholder {
  color: #7f978b;
}

.verified-window .secondary-action {
  margin-top: 2px;
}

.verified-window .fine-print {
  color: #3e4a25;
}

.claim-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  border: 2px solid var(--ink);
}

.claim-steps > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 4px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.4px;
  text-align: center;
}

.claim-steps > span + span {
  border-left: 1px solid var(--ink);
}

.claim-steps b {
  color: var(--red-deep);
}

.roster-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 24px 20px 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.roster-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px 15px 8px;
  cursor: pointer;
  color: var(--paper-dim);
  background: #092d29;
  border: 2px solid #28534b;
  border-bottom: 0;
  box-shadow: 4px -4px 0 #00100e;
  font-family: var(--display);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1;
  letter-spacing: 0.8px;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px);
}

.roster-tab b {
  color: var(--yellow);
  font-size: 17px;
  font-weight: 400;
}

.roster-tab:hover {
  color: var(--white);
  border-color: var(--lime);
}

.roster-tab.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.roster-tab.is-active b {
  color: var(--red-deep);
}

.roster-panel {
  min-height: 520px;
  padding: 0 clamp(14px, 2.3vw, 30px) 30px !important;
  background: #061f1e !important;
  border: 3px solid var(--lime) !important;
  border-top: 3px solid var(--lime) !important;
}

.roster-intro {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1.15fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(200, 255, 24, 0.3);
}

.tier-chip {
  display: inline-block;
  padding: 4px 7px 2px;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
}

.roster-intro h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 0.95;
}

.roster-intro > p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.65;
}

.tier-facts {
  display: grid;
  min-width: 145px;
  border: 2px solid rgba(200, 255, 24, 0.4);
}

.tier-facts > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px;
}

.tier-facts > span + span {
  border-top: 1px solid rgba(200, 255, 24, 0.25);
}

.tier-facts small {
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.6px;
}

.tier-facts b {
  color: var(--lime);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.animal-dossiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  padding-top: 22px;
}

.animal-file {
  position: relative;
  overflow: hidden;
  background: #0a302d;
  border: 2px solid #476b5f;
  box-shadow: 5px 5px 0 #00100e;
  transition: border-color 120ms steps(1), transform 120ms steps(1);
}

.animal-file:hover {
  z-index: 2;
  border-color: var(--lime);
  transform: translateY(-4px);
}

.animal-file__portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink);
  border-bottom: 2px solid #476b5f;
}

.animal-file__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms steps(4);
}

.animal-file:hover .animal-file__portrait img {
  transform: scale(1.035);
}

.animal-file__portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(0deg, rgba(2, 18, 17, 0.65), transparent 42%);
}

.animal-file__id {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 7px;
  padding: 3px 6px 1px;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.7px;
}

.animal-file__body {
  padding: 12px 13px 13px;
}

.animal-file__tier {
  color: var(--lime);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.animal-file h4 {
  margin: 4px 0 5px;
  color: var(--white);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 0.98;
}

.animal-file p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.52;
}

.animal-file__stamp {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 9px;
  padding: 3px 5px 1px;
  color: var(--red);
  background: rgba(2, 18, 17, 0.85);
  border: 1px solid var(--red);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.8px;
  transform: rotate(2deg);
}

.animal-file.is-variant .animal-file__portrait img {
  filter: saturate(1.18) contrast(1.04);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding-top: 30px !important;
}

.ledger-sheet {
  position: relative;
  grid-column: span 5;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(2, 18, 17, 0.09) 50%, transparent 50.3%) 0 0 / 24px 24px,
    var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 #00100e;
}

.ledger-sheet::before {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 21px;
  height: 21px;
  content: "";
  border: 3px double rgba(2, 18, 17, 0.45);
  transform: rotate(6deg);
}

.ledger-sheet--wide {
  grid-column: span 7;
}

.ledger-sheet--red {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.08) 50%, transparent 50.3%) 0 0 / 24px 24px,
    var(--red-deep);
  color: var(--white);
  border-color: var(--ink);
}

.ledger-sheet--yellow {
  grid-column: span 7;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(2, 18, 17, 0.06) 50%, transparent 50.3%) 0 0 / 24px 24px,
    var(--yellow);
}

.ledger-sheet--dark {
  grid-column: span 12;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(200, 255, 24, 0.06) 50%, transparent 50.3%) 0 0 / 24px 24px,
    #0a3632;
}

.ledger-sheet header {
  padding-bottom: 12px;
}

.sheet-number {
  display: block;
  margin-bottom: 3px;
  color: #3f5b4d;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1.2px;
}

.ledger-sheet--red .sheet-number {
  color: #f5bfb7;
}

.ledger-sheet--dark .sheet-number {
  color: var(--lime);
}

.ledger-sheet h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.4px;
}

.ledger-sheet header p {
  margin: 7px 0 0;
  color: #3e5549;
  font-size: 14px;
  line-height: 1.5;
}

.tariff-table {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.tariff-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 10px;
  padding: 9px 4px 7px;
  border-bottom: 1px dashed rgba(2, 18, 17, 0.42);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.5px;
}

.tariff-row:last-child {
  border-bottom: 0;
}

.tariff-row--head {
  color: #3e5549;
  font-size: 14px;
}

.tariff-row span:last-child {
  text-align: right;
}

.tariff-row b {
  font-weight: 400;
}

.free-value {
  color: var(--red-deep);
  font-size: 23px;
}

.sheet-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 12px;
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.6px;
}

.sheet-footer span {
  padding: 4px 6px 2px;
  border: 1px solid var(--ink);
}

.big-tariff {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 15px;
  padding: 10px 0;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.big-tariff strong {
  font-family: var(--display);
  font-size: clamp(50px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.75;
}

.big-tariff span {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.8px;
}

.stamp-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
}

.stamp-list li {
  padding-left: 18px;
  background: linear-gradient(var(--lime), var(--lime)) 0 0.62em / 10px 4px no-repeat;
}

.burn-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 10px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.burn-list span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  font-family: var(--display);
  font-size: 17px;
}

.burn-list span:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.burn-list span:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.burn-list b {
  font-weight: 400;
}

.burn-list strong {
  color: var(--yellow);
  font-size: 23px;
  font-weight: 400;
}

.sheet-note {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.ledger-sheet--red .sheet-note {
  color: #ffe3dd;
}

.upgrade-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
}

.upgrade-route > span:not(.route-plus, .route-arrow) {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 7px 3px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--ink);
}

.upgrade-route b {
  font-size: 25px;
  font-weight: 400;
}

.route-plus,
.route-arrow {
  color: var(--red-deep);
  font-size: 24px;
}

.ledger-sheet--dark .big-tariff {
  color: var(--lime);
}

.ledger-sheet--dark .sheet-note {
  max-width: 800px;
  color: var(--paper-dim);
  font-size: 14px;
}

.habitat-dashboard {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding: 0 !important;
  border-top: 1px solid rgba(200, 255, 24, 0.3) !important;
  background: #041b19 !important;
}

.habitat-dashboard > div {
  min-width: 0;
  padding: 14px 17px;
  border-right: 1px solid rgba(200, 255, 24, 0.25);
}

.habitat-dashboard > div:last-child {
  border-right: 0;
}

.habitat-dashboard strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.habitat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 25px;
  padding-top: 25px !important;
}

.habitat-main {
  min-width: 0;
}

.inventory-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200, 255, 24, 0.28);
}

.inventory-instruction {
  margin: 11px 0 14px;
  color: var(--paper-dim);
  font-size: 14px;
}

.empty-habitat {
  display: grid;
  place-items: center;
  min-height: 265px;
  padding: 26px;
  background:
    linear-gradient(rgba(200, 255, 24, 0.03) 1px, transparent 1px) 0 0 / 17px 17px,
    linear-gradient(90deg, rgba(200, 255, 24, 0.03) 1px, transparent 1px) 0 0 / 17px 17px,
    #061f1e;
  border: 2px dashed #42645a;
  text-align: center;
}

.empty-habitat__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 #00100e;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  transform: rotate(-2deg);
}

.empty-habitat h4 {
  margin: 14px 0 4px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
}

.empty-habitat p {
  max-width: 480px;
  margin: 0 0 15px;
  color: var(--paper-dim);
  font-size: 14px;
}

.empty-habitat .secondary-action {
  width: auto;
  min-width: 170px;
}

.owned-animals {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.owned-animals.is-visible {
  display: grid;
}

.zoo-collar {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #092c28;
  border: 2px solid #42645a;
  box-shadow: 4px 4px 0 #00100e;
}

.zoo-collar:hover {
  border-color: var(--lime);
}

.zoo-collar.is-selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow), 4px 4px 0 #00100e;
}

.zoo-collar input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.zoo-collar__check {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: transparent;
  background: rgba(2, 18, 17, 0.88);
  border: 2px solid var(--white);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
}

.zoo-collar.is-selected .zoo-collar__check {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.zoo-collar__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 2px solid #42645a;
}

.zoo-collar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoo-collar__body {
  padding: 8px 10px 10px;
}

.zoo-collar__body span {
  display: block;
  color: var(--lime);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.8px;
}

.zoo-collar__body h4 {
  margin: 3px 0 2px;
  overflow: hidden;
  color: var(--white);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 0.95;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zoo-collar__body small {
  color: var(--muted);
  font-size: 12px;
}

.workbench {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #0a302d;
  border: 2px solid #42645a;
}

.workbench__selection strong {
  display: block;
  margin: 2px 0;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.workbench__selection p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
}

.workbench__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.workbench__actions .secondary-action {
  width: auto;
  min-width: 155px;
  min-height: 43px;
  font-size: 17px;
}

.habitat-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.mini-kiosk,
.divine-hatch {
  position: relative;
  padding: 20px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 #00100e;
}

.mini-kiosk {
  color: var(--ink);
  background: var(--yellow);
}

.mini-kiosk .micro-label {
  color: #4c581f;
}

.mini-kiosk h3,
.divine-hatch h3 {
  color: var(--ink);
  font-size: 32px;
}

.mini-kiosk > p:not(.micro-label, .action-feedback) {
  margin: 11px 0;
  font-size: 14px;
  line-height: 1.5;
}

.mini-kiosk__meter {
  padding: 6px 8px;
  color: var(--white) !important;
  background: var(--ink);
  font-family: var(--display);
  font-size: 15px !important;
  line-height: 1 !important;
  letter-spacing: 0.5px;
}

.inline-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inline-stepper > label {
  color: var(--ink);
}

.inline-stepper .stepper {
  border-color: var(--ink);
}

.inline-stepper .stepper input {
  border-color: var(--ink);
  border-right-color: rgba(255, 255, 255, 0.35);
  border-left-color: rgba(255, 255, 255, 0.35);
}

.mini-kiosk__cost {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 13px 0;
  padding: 9px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 16px;
}

.mini-kiosk__cost strong {
  font-size: 24px;
  font-weight: 400;
}

.divine-hatch {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 210, 26, 0.3), transparent 45%),
    #14113e;
  border-color: var(--yellow);
}

.divine-hatch__icon {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
  transform: rotate(3deg);
}

.divine-hatch h3 {
  max-width: 190px;
  color: var(--yellow);
}

.divine-hatch > p:not(.micro-label, .action-feedback) {
  margin: 12px 0;
  color: #d8d6ee;
  font-size: 14px;
  line-height: 1.55;
}

.divine-hatch__remaining {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 210, 26, 0.5);
  border-bottom: 1px solid rgba(255, 210, 26, 0.5);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
}

.divine-hatch__remaining strong {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 400;
}

.divine-hatch .secondary-action {
  margin-top: 14px;
}

.incident-file {
  color: var(--ink);
}

.incident-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  padding-top: 28px !important;
}

.incident-timeline {
  align-self: start;
  padding: 17px;
  color: var(--paper);
  background: #072c29;
  border: 2px solid var(--lime);
  box-shadow: 6px 6px 0 #00100e;
}

.timeline-label {
  display: inline-block;
  padding: 4px 7px 2px;
  color: var(--ink);
  background: var(--red);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
  transform: rotate(-1deg);
}

.incident-timeline ol {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.incident-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px dashed rgba(200, 255, 24, 0.36);
}

.incident-timeline time {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.incident-timeline li b {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
}

.incident-timeline li span {
  display: block;
  margin-top: 5px;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.45;
}

.crate-figure {
  margin: 17px 0 0;
  padding-top: 15px;
  border-top: 2px solid var(--lime);
}

.crate-figure img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center 58%;
  border: 2px solid var(--ink);
}

.crate-figure figcaption {
  margin-top: 7px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.7px;
}

.incident-copy {
  position: relative;
  padding: clamp(22px, 3vw, 38px);
  color: var(--ink);
  background:
    linear-gradient(rgba(2, 18, 17, 0.035) 1px, transparent 1px) 0 0 / 100% 25px,
    var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 #00100e;
}

.incident-copy::before {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: 24px;
  padding: 6px 10px 3px;
  content: "UNCONTAINED";
  color: var(--red-deep);
  border: 4px double var(--red-deep);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 1px;
  transform: rotate(8deg);
  opacity: 0.74;
}

body[data-lang="zh"] .incident-copy::before {
  content: "尚未收容";
}

.incident-deck {
  max-width: 75%;
  margin: 0 0 22px;
  padding-bottom: 14px;
  color: var(--red-deep);
  border-bottom: 3px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.05;
}

.incident-columns {
  column-count: 2;
  column-gap: 30px;
  column-rule: 1px solid #9aac8d;
}

.incident-columns p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  break-inside: avoid;
}

.incident-columns p:first-child::first-letter {
  float: left;
  margin: 5px 6px 0 0;
  color: var(--red-deep);
  font-family: var(--display);
  font-size: 57px;
  line-height: 0.68;
}

.report-signoff {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.5px;
}

.faq-stack {
  display: grid;
  gap: 10px;
  padding-top: 26px !important;
}

.faq-ticket {
  background: #082825;
  border: 2px solid #41665b;
  box-shadow: 4px 4px 0 #00100e;
}

.faq-ticket[open] {
  border-color: var(--lime);
}

.faq-ticket summary {
  display: grid;
  grid-template-columns: 48px 1fr 30px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 14px;
  cursor: pointer;
  color: var(--white);
  list-style: none;
  font-family: var(--display);
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.05;
  letter-spacing: 0.4px;
}

.faq-ticket summary::-webkit-details-marker {
  display: none;
}

.faq-ticket__num {
  display: grid;
  width: 44px;
  height: 33px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-size: 20px;
  line-height: 1;
}

.faq-ticket__plus {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid var(--lime);
}

.faq-ticket__plus::before,
.faq-ticket__plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 3px;
  content: "";
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.faq-ticket__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms steps(2);
}

.faq-ticket[open] .faq-ticket__plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-ticket__answer {
  padding: 0 20px 18px 74px;
}

.faq-ticket__answer p {
  margin: 0;
  padding-top: 14px;
  color: var(--paper-dim);
  border-top: 1px dashed rgba(200, 255, 24, 0.35);
  font-size: 15px;
  line-height: 1.68;
}

.keeper-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  margin-top: 100px;
  padding: 50px max(24px, calc((100vw - 1340px) / 2)) 130px;
  background:
    linear-gradient(90deg, rgba(200, 255, 24, 0.04), transparent 30%),
    #041b19;
  border-top: 12px solid var(--ink);
  box-shadow: inset 0 10px 0 var(--yellow);
}

.keeper-footer__brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.keeper-footer__brand img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border: 2px solid var(--lime);
}

.keeper-footer__brand strong {
  display: block;
  color: var(--lime);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 0.9;
}

.keeper-footer__brand span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.8px;
}

.keeper-footer__contracts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
}

.keeper-footer__contracts .micro-label {
  flex-basis: 100%;
  text-align: right;
}

.keeper-footer__contracts a,
.keeper-footer__contracts > span:not(.micro-label) {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.7px;
}

.keeper-footer__disclaimer {
  grid-column: 1 / -1;
  max-width: 780px;
  margin: 0;
  padding-top: 20px;
  color: var(--paper-dim);
  border-top: 1px solid rgba(200, 255, 24, 0.25);
  font-size: 13px;
  line-height: 1.5;
}

.keeper-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  color: #677f73;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.9px;
}

.keeper-tabs {
  position: fixed;
  z-index: 100;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 960px;
  margin: 0 auto;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7);
}

.keeper-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 56px;
  padding: 7px 9px;
  color: var(--paper);
  background: #082825;
  border-right: 1px solid #395b52;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 100ms steps(1), background 100ms steps(1);
}

.keeper-tab:last-child {
  border-right: 0;
}

.keeper-tab::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: transparent;
}

.keeper-tab__symbol {
  display: grid;
  width: 27px;
  height: 24px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-size: 16px;
  line-height: 1;
}

.keeper-tab:hover {
  color: var(--ink);
  background: var(--lime-soft);
}

.keeper-tab.is-current {
  color: var(--ink);
  background: var(--lime);
}

.keeper-tab.is-current::before {
  background: var(--red);
}

.keeper-tab.is-current .keeper-tab__symbol {
  color: var(--white);
  background: var(--ink);
}

@keyframes signal-pulse {
  0%,
  35% {
    opacity: 1;
  }
  36%,
  55% {
    opacity: 0.35;
  }
  56%,
  100% {
    opacity: 1;
  }
}

@keyframes sign-drop {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pin-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pin-echo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62);
  }
  22% {
    opacity: 0.6;
  }
  75%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.45);
  }
}

@media (max-width: 1120px) {
  :root {
    --page: calc(100vw - 34px);
  }

  .gate-copy {
    width: min(720px, 67vw);
  }

  .map-pin__label {
    max-width: 112px;
  }

  .roster-intro {
    grid-template-columns: 1fr 1.1fr;
  }

  .tier-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .tier-facts > span + span {
    border-top: 0;
    border-left: 1px solid rgba(200, 255, 24, 0.25);
  }

  .habitat-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 920px) {
  .zoo-wordmark__sub,
  .chain-lamp {
    display: none;
  }

  .ticket-layout {
    grid-template-columns: 1fr;
  }

  .verified-window {
    max-width: none;
  }

  .map-pin {
    display: none;
  }

  .gate-copy {
    width: min(710px, 76vw);
  }

  .title-plate h1 {
    font-size: clamp(82px, 13vw, 132px);
  }

  .habitat-layout {
    grid-template-columns: 1fr;
  }

  .habitat-side {
    grid-template-columns: 1fr 1fr;
  }

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

  .incident-columns {
    column-count: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 24px);
  }

  body {
    font-size: 16px;
  }

  .incident-ribbon {
    height: 32px;
  }

  .incident-ribbon__track {
    justify-content: flex-start;
    gap: 10px;
    padding: 0 12px;
    font-size: 17px;
  }

  .incident-ribbon__track > span:nth-of-type(3),
  .incident-ribbon__track > span:nth-of-type(4) {
    display: none;
  }

  .entry-header {
    top: 32px;
    align-items: flex-start;
    padding: 12px 14px 16px;
  }

  .zoo-wordmark__type {
    font-size: 27px;
  }

  .zoo-wordmark img {
    width: 34px;
    height: 34px;
  }

  .entry-tools {
    gap: 5px;
  }

  .wallet-ticket {
    max-width: 112px;
    min-height: 38px;
    padding: 5px 8px 3px;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-punch__key {
    min-height: 34px;
    padding: 2px 6px;
    font-size: 16px;
  }

  .keeper-gate {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 30px;
  }

  .keeper-gate__art {
    object-position: 54% center;
  }

  .keeper-gate__shade {
    background:
      linear-gradient(0deg, rgba(2, 18, 17, 1) 30%, rgba(2, 18, 17, 0.9) 52%, rgba(2, 18, 17, 0.12) 79%, rgba(2, 18, 17, 0.62) 100%);
  }

  .hero-stamp {
    top: 82px;
    right: 13px;
    font-size: 13px;
  }

  .gate-copy {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: 42vh 13px 0;
  }

  .gate-kicker {
    font-size: 15px;
  }

  .title-plate {
    padding: 15px 18px 20px;
  }

  .title-plate h1 {
    font-size: clamp(76px, 22vw, 112px);
  }

  .title-plate__eyebrow {
    font-size: 15px;
  }

  .title-plate__chinese {
    font-size: 15px;
    letter-spacing: 5px;
  }

  .gate-tagline {
    margin-top: 24px;
    font-size: 32px;
  }

  .gate-synopsis {
    font-size: 16px;
  }

  .slash-button {
    width: 100%;
    font-size: 19px;
  }

  .atlas-pins {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 25px 13px 0;
  }

  .map-pin {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    width: 100%;
    filter: none;
    opacity: 1;
    animation: none;
  }

  .map-pin::after {
    display: none;
  }

  .map-pin__num {
    flex: 0 0 34px;
    width: 34px;
    height: 38px;
  }

  .map-pin__label {
    flex: 1;
    max-width: none;
    font-size: 14px;
  }

  .gate-coordinates {
    display: none;
  }

  .live-ledger {
    grid-template-columns: repeat(2, 1fr);
  }

  .ledger-cell:nth-child(2n) {
    border-right: 0;
  }

  .ledger-cell:nth-child(n + 3) {
    border-top: 1px solid rgba(200, 255, 24, 0.24);
  }

  .ledger-cell:last-child {
    grid-column: 1 / -1;
  }

  .ledger-cell {
    padding: 13px 15px;
  }

  .board-section {
    margin: 68px auto;
  }

  .hazard-cap {
    height: 14px;
  }

  .section-sign {
    align-items: flex-start;
    gap: 11px;
    min-height: 82px;
    padding: 12px 12px 10px;
  }

  .section-sign__index {
    flex-basis: 49px;
    width: 49px;
    height: 49px;
    font-size: 32px;
  }

  .section-sign__eyebrow {
    font-size: 13px;
    letter-spacing: 1.1px;
  }

  .section-sign h2 {
    font-size: clamp(37px, 10vw, 55px);
  }

  .section-sign__stamp {
    display: none;
  }

  .board-section > :not(.hazard-cap, .section-sign) {
    padding-right: 13px;
    padding-left: 13px;
  }

  .ticket-layout {
    gap: 20px;
    padding-top: 22px !important;
  }

  .crate-console,
  .verified-window {
    padding: 17px 14px;
    box-shadow: 6px 6px 0 #00100e;
  }

  .console-head {
    gap: 10px;
  }

  .console-head h3,
  .inventory-head h3 {
    font-size: 29px;
  }

  .console-state {
    max-width: 118px;
    white-space: normal;
  }

  .keeper-numbers {
    grid-template-columns: 1fr;
  }

  .keeper-numbers > div + div {
    border-top: 1px solid rgba(200, 255, 24, 0.28);
    border-left: 0;
  }

  .keeper-numbers strong {
    font-size: 20px;
  }

  .agent-gate {
    grid-template-columns: auto 1fr;
  }

  .agent-gate .text-link {
    grid-column: 2;
  }

  .quantity-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .stepper {
    width: 100%;
    grid-template-columns: 48px 1fr 48px;
  }

  .quote-receipt {
    padding: 14px 12px;
  }

  .primary-action,
  .secondary-action {
    font-size: 19px;
  }

  .roster-tabs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(120px, 1fr);
    gap: 5px;
    overflow-x: auto;
    padding: 18px 13px 0 !important;
    scrollbar-width: thin;
  }

  .roster-tab {
    min-height: 48px;
  }

  .roster-panel {
    padding: 0 13px 20px !important;
  }

  .roster-intro {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }

  .tier-facts {
    grid-column: auto;
  }

  .animal-dossiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .animal-file__body {
    padding: 9px 9px 10px;
  }

  .animal-file h4 {
    font-size: 21px;
  }

  .animal-file p {
    font-size: 12px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 20px !important;
  }

  .ledger-sheet,
  .ledger-sheet--wide,
  .ledger-sheet--yellow,
  .ledger-sheet--dark {
    grid-column: auto;
    padding: 18px 15px;
    box-shadow: 5px 5px 0 #00100e;
  }

  .tariff-row {
    font-size: 17px;
  }

  .habitat-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .habitat-dashboard > div {
    padding: 11px 13px;
  }

  .habitat-dashboard > div:nth-child(2) {
    border-right: 0;
  }

  .habitat-dashboard > div:nth-child(n + 3) {
    border-top: 1px solid rgba(200, 255, 24, 0.25);
  }

  .habitat-layout {
    gap: 20px;
    padding-top: 18px !important;
  }

  .inventory-head {
    align-items: flex-start;
  }

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

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

  .workbench__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .workbench__actions .secondary-action {
    min-width: 0;
    min-height: 48px;
  }

  .habitat-side {
    grid-template-columns: 1fr;
  }

  .incident-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px !important;
  }

  .incident-timeline {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 13px;
  }

  .timeline-label,
  .incident-timeline ol {
    grid-column: 1;
  }

  .crate-figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    padding-top: 0;
    border-top: 0;
  }

  .crate-figure img {
    aspect-ratio: 1;
  }

  .incident-copy {
    padding: 20px 16px;
  }

  .incident-copy::before {
    top: auto;
    right: 13px;
    bottom: 13px;
    font-size: 20px;
  }

  .incident-deck {
    max-width: 90%;
    font-size: 27px;
  }

  .faq-stack {
    padding-top: 18px !important;
  }

  .faq-ticket summary {
    grid-template-columns: 40px 1fr 25px;
    gap: 8px;
    padding: 10px 11px;
    font-size: 20px;
  }

  .faq-ticket__num {
    width: 38px;
    height: 31px;
    font-size: 17px;
  }

  .faq-ticket__answer {
    padding: 0 14px 15px 59px;
  }

  .keeper-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 70px;
    padding: 42px 18px calc(112px + env(safe-area-inset-bottom));
  }

  .keeper-footer__contracts {
    justify-content: flex-start;
  }

  .keeper-footer__contracts .micro-label {
    text-align: left;
  }

  .keeper-tabs {
    right: 5px;
    bottom: calc(5px + env(safe-area-inset-bottom));
    left: 5px;
    border-width: 2px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7);
  }

  .keeper-tab {
    flex-direction: column;
    gap: 2px;
    min-height: 58px;
    padding: 4px 2px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .keeper-tab__symbol {
    width: 24px;
    height: 20px;
    font-size: 13px;
  }
}

@media (max-width: 470px) {
  .zoo-wordmark__type {
    display: none;
  }

  .zoo-wordmark {
    gap: 0;
  }

  .wallet-ticket {
    max-width: 104px;
  }

  .gate-copy {
    margin-top: 38vh;
  }

  .gate-kicker {
    max-width: 100%;
    font-size: 13px;
  }

  .title-plate h1 {
    font-size: 25vw;
  }

  .gate-tagline {
    font-size: 27px;
  }

  .ledger-cell__label {
    font-size: 13px;
  }

  .ledger-cell strong {
    font-size: 31px;
  }

  .animal-dossiers {
    grid-template-columns: 1fr;
  }

  .animal-file__portrait {
    aspect-ratio: 1.35;
  }

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

  .burn-list span:nth-child(even) {
    border-left: 0;
  }

  .burn-list span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  .upgrade-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .upgrade-route .route-arrow {
    grid-column: 1 / -1;
    text-align: center;
    transform: rotate(90deg);
  }

  .tier-facts {
    grid-template-columns: 1fr;
  }

  .tier-facts > span + span {
    border-top: 1px solid rgba(200, 255, 24, 0.25);
    border-left: 0;
  }

  .owned-animals {
    grid-template-columns: 1fr;
  }

  .zoo-collar {
    display: grid;
    grid-template-columns: 110px 1fr;
  }

  .zoo-collar__img {
    aspect-ratio: 1;
    border-right: 2px solid #42645a;
    border-bottom: 0;
  }

  .zoo-collar__body {
    align-self: center;
  }

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

  .incident-timeline {
    display: block;
  }

  .crate-figure {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--lime);
  }

  .claim-steps {
    grid-template-columns: 1fr;
  }

  .claim-steps > span + span {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .faq-ticket summary {
    font-size: 18px;
  }

  .keeper-tab {
    font-size: 9px;
  }
}

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

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