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

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

:root {
  --void: #03070d;
  --midnight: #06111f;
  --navy: #0a1b2e;
  --navy-raised: #102941;
  --panel: #0b2034;
  --panel-hot: #102d45;
  --ice: #9cefff;
  --cyan: #39d8ff;
  --cyan-dim: #137e9f;
  --snow: #f2fbff;
  --muted: #a4bdcb;
  --line: #28506a;
  --line-soft: #19384d;
  --red: #ff335f;
  --red-deep: #9c1737;
  --gold: #ffd36a;
  --green: #76f6ba;
  --display: "Sixtyfour", "PingFang SC", "Microsoft YaHei", "Courier New", monospace;
  --body: "Handjet", "PingFang SC", "Microsoft YaHei", "Courier New", monospace;
  --shadow: 8px 8px 0 rgba(0, 0, 0, 0.46);
  --max: 1500px;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--snow);
  background:
    radial-gradient(circle at 10% -8%, rgba(57, 216, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 14%, rgba(255, 51, 95, 0.1), transparent 25rem),
    linear-gradient(rgba(57, 216, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 216, 255, 0.035) 1px, transparent 1px),
    var(--void);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  font-family: var(--body);
  font-size: 18px;
  font-weight: 420;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(156, 239, 255, 0.11) 4px
  );
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--void);
  background: var(--ice);
}

a {
  color: var(--ice);
}

button,
input {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-rail {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  padding: 10px 16px;
  color: var(--void);
  background: var(--ice);
  border: 2px solid var(--snow);
  transform: translateY(-160%);
}

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

.signal-header {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 13, 0.93);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.header-rig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  gap: 24px;
}

.pack-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(0.88rem, 2vw, 1.16rem);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.pack-mark__word span {
  color: var(--red);
}

.pack-mark__bracket {
  color: var(--cyan);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--line);
  font-family: var(--display);
  font-size: 0.7rem;
}

.lang-key {
  padding: 5px 2px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.lang-key:hover,
.lang-key.is-active {
  color: var(--ice);
  border-bottom-color: var(--cyan);
}

.wallet-key {
  position: relative;
  min-width: 158px;
  padding: 10px 14px;
  color: var(--ice);
  background: var(--navy);
  border: 1px solid var(--cyan-dim);
  box-shadow: 3px 3px 0 #000;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-key::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--red);
  content: "";
  box-shadow: 0 0 12px var(--red);
}

.wallet-key.is-linked {
  color: var(--green);
  border-color: #2f8261;
}

.wallet-key.is-linked::before {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.section-marquee {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  contain: paint;
  border-top: 1px solid var(--line-soft);
  background: var(--midnight);
}

.marquee-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee-run 34s linear infinite;
}

.section-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-run {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 34px;
  padding-right: 30px;
  gap: 28px;
  white-space: nowrap;
}

.marquee-run a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.marquee-run a::before {
  margin-right: 7px;
  color: var(--red);
  content: "/";
}

.marquee-run a:hover {
  color: var(--snow);
}

.marquee-signal {
  color: var(--cyan-dim);
  font-size: 14px;
  letter-spacing: 0.14em;
}

#signal-shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero-zone {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 100px);
  padding: clamp(46px, 7vw, 96px) 0 clamp(72px, 9vw, 130px);
}

.hero-zone::before,
.hero-zone::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero-zone::before {
  top: 8%;
  right: -10%;
  width: 56%;
  height: 44%;
  background:
    linear-gradient(135deg, transparent 42%, rgba(57, 216, 255, 0.09) 43%, transparent 44%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(57, 216, 255, 0.04) 19px 20px);
  clip-path: polygon(12% 0, 100% 8%, 84% 100%, 0 82%);
}

.hero-zone::after {
  bottom: 9%;
  left: -6%;
  width: 36%;
  height: 20%;
  border: 1px solid rgba(255, 51, 95, 0.17);
  transform: skewX(-24deg);
}

.hero-noise {
  position: absolute;
  inset: 10% 0 auto;
  z-index: -1;
  height: 65%;
  opacity: 0.3;
  background:
    radial-gradient(circle at 30% 40%, rgba(156, 239, 255, 0.25) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 65%, rgba(156, 239, 255, 0.2) 0 1px, transparent 2px);
  background-size: 31px 31px, 47px 47px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
}

.crt-rig {
  position: relative;
  padding: 12px 14px 16px;
  background: #08111c;
  border: 2px solid #2b4c63;
  box-shadow:
    10px 10px 0 #010306,
    inset 0 0 0 2px #02060b,
    inset 0 0 36px rgba(57, 216, 255, 0.08);
}

.crt-rig::before,
.crt-rig::after {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  background: #547085;
  content: "";
}

.crt-rig::before {
  top: 5px;
  left: 5px;
}

.crt-rig::after {
  right: 5px;
  bottom: 5px;
}

.crt-topline,
.crt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  gap: 12px;
  color: #8ba5b5;
  font-family: var(--display);
  font-size: clamp(0.48rem, 1vw, 0.62rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crt-topline {
  padding: 0 3px 9px;
}

.crt-led {
  width: 8px;
  height: 8px;
  margin-right: auto;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: led-pulse 1.8s steps(2, end) infinite;
}

.crt-bezel {
  padding: clamp(8px, 1.2vw, 14px);
  background:
    linear-gradient(90deg, #172837, #0b1722 14%, #0b1722 86%, #1b3040),
    #0b1722;
  border: 2px solid #3c5d72;
  box-shadow: inset 0 0 0 3px #02070c;
}

.crt-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #01050a;
  border: 3px solid #020509;
  box-shadow:
    inset 0 0 42px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(57, 216, 255, 0.16);
}

.crt-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.crt-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 5, 10, 0.65) 100%),
    linear-gradient(rgba(57, 216, 255, 0.05), transparent 30%);
}

.crt-scan {
  position: absolute;
  inset: -25% 0 auto;
  z-index: 2;
  height: 20%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(156, 239, 255, 0.14), transparent);
  animation: screen-scan 7s linear infinite;
}

.crt-hud {
  position: absolute;
  right: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(0.45rem, 0.8vw, 0.58rem);
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px var(--cyan);
  text-transform: uppercase;
}

.crt-hud--top {
  top: 10px;
}

.crt-hud--bottom {
  bottom: 10px;
}

.crt-hardware {
  display: flex;
  align-items: center;
  min-height: 35px;
  padding: 8px 4px 0;
  gap: 15px;
}

.crt-knobs {
  display: flex;
  gap: 9px;
}

.crt-knobs i {
  width: 13px;
  height: 13px;
  background: radial-gradient(circle at 40% 35%, #526f82, #12232f 60%);
  border: 1px solid #5b7a8d;
  border-radius: 50%;
}

.crt-grille {
  flex: 1;
  height: 9px;
  background: repeating-linear-gradient(90deg, #355065 0 2px, transparent 2px 6px);
}

.crt-power {
  color: #658092;
  font-family: var(--display);
  font-size: 0.5rem;
}

.crt-footer {
  padding: 12px 3px 0;
}

.crt-signal-bars {
  display: flex;
  align-items: end;
  height: 13px;
  gap: 2px;
}

.crt-signal-bars i {
  display: block;
  width: 3px;
  background: var(--cyan);
}

.crt-signal-bars i:nth-child(1) {
  height: 4px;
}

.crt-signal-bars i:nth-child(2) {
  height: 7px;
}

.crt-signal-bars i:nth-child(3) {
  height: 10px;
}

.crt-signal-bars i:nth-child(4) {
  height: 13px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -24px;
  left: 0;
  width: 72px;
  height: 5px;
  background: var(--red);
  content: "";
  box-shadow: 82px 0 0 var(--cyan);
}

.eyebrow,
.section-index,
.metric-label,
.console-tag,
.note-code,
.field-label {
  margin: 0;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-copy h1 {
  min-height: 3.4em;
  margin: 20px 0 22px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.9vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.48);
}

html[lang="zh"] .hero-copy h1 {
  min-height: 3em;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.type-cursor {
  display: inline-block;
  color: var(--red);
  animation: cursor-blink 0.8s steps(1, end) infinite;
}

.hero-intro {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 14px;
}

.pixel-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  color: var(--ice);
  background: var(--navy);
  border: 2px solid var(--cyan-dim);
  box-shadow: 5px 5px 0 #000;
  cursor: pointer;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 120ms ease, background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.pixel-button::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  content: "";
}

.pixel-button:hover:not(:disabled):not([aria-disabled="true"]) {
  color: var(--void);
  background: var(--ice);
  border-color: var(--snow);
  box-shadow: 2px 2px 0 #000;
  transform: translate(3px, 3px);
}

.pixel-button--hot {
  color: var(--void);
  background: var(--ice);
  border-color: var(--snow);
}

.pixel-button--hot::after {
  background: var(--red);
}

.pixel-button--hot:hover:not(:disabled) {
  color: var(--snow);
  background: var(--red);
  border-color: var(--snow);
}

.pixel-button:disabled,
.pixel-button[aria-disabled="true"] {
  color: #5c7180;
  background: #0b1722;
  border-color: #294256;
  box-shadow: 3px 3px 0 #000;
  cursor: not-allowed;
  opacity: 0.75;
}

.pixel-button:disabled::after,
.pixel-button[aria-disabled="true"]::after {
  background: #294256;
}

.pixel-button--x {
  width: 100%;
  margin: 16px 0 20px;
  color: var(--void);
  background: var(--snow);
  border-color: var(--snow);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics > div {
  min-width: 0;
  padding: 15px 14px 13px 0;
  border-right: 1px solid var(--line);
}

.hero-metrics > div:not(:first-child) {
  padding-left: 14px;
}

.hero-metrics > div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.6vw, 1.2rem);
  font-weight: 400;
  white-space: nowrap;
}

.hero-metrics strong small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 16px;
}

.hero-metrics .signal-word {
  color: var(--red);
}

.terminal-section {
  position: relative;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.terminal-section::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 86px;
  height: 1px;
  background: var(--cyan);
  content: "";
  box-shadow: 94px 0 0 var(--red);
}

.command-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 10px 14px;
  gap: 8px;
  color: var(--muted);
  background: rgba(6, 17, 31, 0.8);
  border: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: clamp(0.64rem, 1.1vw, 0.78rem);
  letter-spacing: 0.025em;
}

.command-user {
  color: var(--green);
}

.command-path {
  color: var(--cyan);
}

.command-cursor {
  color: var(--red);
  animation: cursor-blink 1s steps(1, end) infinite;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  margin-bottom: 42px;
  gap: 48px;
}

.section-head h2 {
  max-width: 950px;
  margin: 12px 0 0;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

html[lang="zh"] .section-head h2 {
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.section-head > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.live-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 26px;
  background: rgba(6, 17, 31, 0.7);
  border: 1px solid var(--line);
}

.live-stat-strip > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line-soft);
}

.live-stat-strip > div:last-child {
  border-right: 0;
}

.live-stat-strip span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-stat-strip strong {
  display: block;
  margin-top: 2px;
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
}

.mint-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: 24px;
}

.relay-console,
.x-relay,
.field-log,
.crate-vault,
.ladder-table,
.protocol-notes article,
.den-summary,
.den-board,
.action-cluster,
.rarity-branch,
.faq-stack {
  background: rgba(8, 25, 42, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.relay-console {
  position: relative;
  padding: clamp(22px, 3.2vw, 40px);
}

.relay-console::before,
.relay-console::after,
.x-relay::before,
.x-relay::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  pointer-events: none;
}

.relay-console::before,
.x-relay::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--cyan);
  border-left: 3px solid var(--cyan);
}

.relay-console::after,
.x-relay::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}

.console-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 14px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.mint-state {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mint-state.is-live {
  color: var(--green);
}

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

.quantity-rig {
  display: grid;
  grid-template-columns: 52px minmax(70px, 1fr) 52px minmax(140px, auto);
  align-items: stretch;
  margin: 9px 0 22px;
  border: 1px solid var(--line);
}

.quantity-rig input,
.url-field,
.pack-mint-rig input {
  width: 100%;
  color: var(--snow);
  background: #030a12;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-rig input::-webkit-inner-spin-button,
.quantity-rig input::-webkit-outer-spin-button,
.pack-mint-rig input::-webkit-inner-spin-button,
.pack-mint-rig input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quantity-rig > span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--muted);
  background: var(--midnight);
  font-size: 16px;
  text-align: center;
}

.step-key {
  min-height: 54px;
  color: var(--ice);
  background: var(--navy-raised);
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1rem;
}

.step-key:hover:not(:disabled) {
  color: var(--void);
  background: var(--ice);
}

.step-key:disabled {
  color: #4d6575;
  cursor: not-allowed;
}

.quote-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  border: 1px solid var(--line);
}

.quote-ledger > div {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--line);
}

.quote-ledger > div:last-child {
  border-right: 0;
}

.quote-ledger span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-ledger strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(0.88rem, 1.5vw, 1.1rem);
  font-weight: 400;
  text-overflow: ellipsis;
}

.micro-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.action-wide {
  width: 100%;
  margin-top: 18px;
}

.status-line {
  min-height: 1.45em;
  margin: 12px 0 0;
  color: var(--ice);
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.status-line.is-error {
  color: #ff8ba4;
}

.status-line.is-ok {
  color: var(--green);
}

.agent-gate {
  margin-top: 28px;
  padding: 18px;
  background: #061421;
  border-left: 3px solid var(--cyan-dim);
}

.gate-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ice);
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.gate-light {
  width: 10px;
  height: 10px;
  background: #536b7a;
  box-shadow: 0 0 0 2px #132c3e;
}

.gate-light.is-ok {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.gate-light.is-bad {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.agent-gate p {
  margin: 10px 0 6px;
  color: var(--snow);
}

.agent-gate a {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 16px;
  text-underline-offset: 4px;
}

.agent-gate .micro-copy {
  display: block;
}

.x-relay {
  position: relative;
  padding: clamp(22px, 2.8vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 51, 95, 0.1), transparent 45%),
    rgba(8, 25, 42, 0.9);
}

.x-relay__top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.x-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--void);
  background: var(--snow);
  font-family: var(--display);
  font-size: 1rem;
}

.x-relay h3 {
  margin: 18px 0 10px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.25;
}

.x-relay > p {
  color: var(--muted);
}

.x-steps {
  margin: 18px 0;
  padding: 0;
  color: var(--snow);
  counter-reset: relay-step;
  list-style: none;
}

.x-steps li {
  position: relative;
  margin: 7px 0;
  padding-left: 34px;
  font-size: 17px;
  counter-increment: relay-step;
}

.x-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--red);
  content: "0" counter(relay-step);
  font-family: var(--display);
  font-size: 0.58rem;
}

.url-field {
  min-height: 48px;
  margin: 8px 0 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-family: var(--body);
  font-size: 17px;
  text-align: left;
}

.url-field::placeholder {
  color: #607989;
}

.tundra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  gap: 26px;
}

.field-log {
  padding: 0 clamp(20px, 3vw, 36px);
  box-shadow: none;
}

.log-entry {
  position: relative;
  padding: 28px 0 28px 24px;
  border-bottom: 1px dashed var(--line);
}

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

.log-entry::before {
  position: absolute;
  top: 34px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 0 4px rgba(57, 216, 255, 0.1);
}

.log-time {
  color: var(--red);
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.log-entry h3 {
  margin: 10px 0 6px;
  color: var(--snow);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.log-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.crate-vault {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px;
}

.vault-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #02070d;
  border: 1px solid var(--line);
}

.vault-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 8px rgba(3, 7, 13, 0.7);
}

.vault-stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 6px 10px;
  color: var(--red);
  background: rgba(3, 7, 13, 0.82);
  border: 2px solid var(--red);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}

.crate-vault figcaption {
  padding: 22px 4px 6px;
}

.crate-vault h3 {
  margin: 8px 0;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
}

.crate-vault p {
  margin: 0;
  color: var(--muted);
}

.ladder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: start;
  gap: 26px;
}

.ladder-table {
  overflow: hidden;
}

.ladder-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1fr;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.ladder-row > span {
  height: 100%;
  padding: 20px;
  border-right: 1px solid var(--line);
  font-size: 18px;
}

.ladder-row > span:last-child {
  border-right: 0;
}

.ladder-row > span:nth-child(2),
.ladder-row > span:nth-child(3) {
  font-family: var(--display);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
}

.ladder-row--head {
  min-height: 48px;
  background: var(--navy-raised);
}

.ladder-row--head > span {
  padding: 13px 20px;
  color: var(--ice);
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
}

.ladder-row--free {
  background: rgba(57, 216, 255, 0.075);
}

.ladder-row--free b {
  color: var(--ice);
}

.ladder-row em {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 6px;
  color: var(--void);
  background: var(--green);
  font-family: var(--display);
  font-size: 0.52rem;
  font-style: normal;
}

.ladder-foot {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  background: #061421;
  font-size: 16px;
}

.protocol-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.protocol-notes article {
  min-height: 205px;
  padding: 22px;
  box-shadow: none;
}

.protocol-notes h3 {
  margin: 14px 0 7px;
  color: var(--snow);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.protocol-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.note-code {
  color: var(--red);
}

.den-locked {
  display: grid;
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 0.68fr);
  align-items: center;
  padding: 24px;
  gap: clamp(26px, 5vw, 64px);
  background: rgba(8, 25, 42, 0.8);
  border: 1px dashed var(--line);
}

.den-locked > img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.55);
}

.den-locked h3 {
  margin: 12px 0 8px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 400;
}

.den-locked p {
  margin: 0 0 22px;
  color: var(--muted);
}

.den-summary {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  box-shadow: none;
}

.den-summary > div {
  min-width: 0;
  padding: 18px;
  background: rgba(8, 25, 42, 0.96);
}

.den-summary span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.den-summary strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 400;
  text-overflow: ellipsis;
}

.den-board {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: none;
}

.den-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.den-board__head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.mini-key {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--ice);
  background: transparent;
  border: 1px solid var(--cyan-dim);
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
}

.mini-key:hover {
  color: var(--void);
  background: var(--ice);
}

.wolf-den-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wolf-token {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--snow);
  background: #030a12;
  border: 2px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.wolf-token img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 140ms ease;
}

.wolf-token__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.wolf-token__info strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 0.58rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wolf-token__info span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.wolf-token::after {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--void);
  background: rgba(3, 7, 13, 0.8);
  border: 2px solid var(--ice);
  content: "";
  font-family: var(--display);
  font-size: 0.7rem;
}

.wolf-token:hover {
  border-color: var(--cyan);
}

.wolf-token.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.16);
}

.wolf-token.is-selected::after {
  color: var(--void);
  background: var(--gold);
  content: "X";
}

.empty-den {
  margin: 10px 0;
  padding: 28px;
  color: var(--muted);
  border: 1px dashed var(--line);
  text-align: center;
}

.selection-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.selection-readout span:first-child {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.62rem;
}

.selection-readout span:last-child {
  color: var(--muted);
  font-size: 16px;
  text-align: right;
}

.den-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  gap: 22px;
}

.action-cluster {
  padding: clamp(22px, 3vw, 32px);
  box-shadow: none;
}

.action-cluster h3 {
  margin: 13px 0 7px;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
}

.action-cluster > p {
  color: var(--muted);
}

.button-stack {
  display: grid;
  margin: 20px 0;
  gap: 12px;
}

.action-cluster--pack {
  background:
    linear-gradient(145deg, rgba(57, 216, 255, 0.08), transparent 52%),
    rgba(8, 25, 42, 0.9);
}

.pack-mint-rig {
  display: grid;
  grid-template-columns: 1fr 84px;
  align-items: center;
  margin: 22px 0 4px;
  border: 1px solid var(--line);
}

.pack-mint-rig .field-label {
  padding: 13px;
}

.pack-mint-rig input {
  min-height: 52px;
  border-right: 0;
}

#pack-mint-cost {
  grid-column: 1 / -1;
  padding: 11px 13px;
  color: var(--ice);
  background: #061421;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.62rem;
}

.rarity-stack {
  display: grid;
  gap: 24px;
}

.rarity-branch {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: none;
}

.rarity-branch::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--cyan);
  content: "";
}

.rarity-branch--rare::before {
  background: #5cbcff;
}

.rarity-branch--epic::before {
  background: #a98dff;
}

.rarity-branch--legendary::before {
  background: var(--gold);
}

.rarity-branch--divine::before {
  background: var(--snow);
  box-shadow: 0 0 18px var(--ice);
}

.rarity-branch > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.rarity-branch > header > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rarity-branch h3 {
  margin: 0;
  color: var(--snow);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 400;
}

.rarity-code {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--cyan);
  background: #061421;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.62rem;
}

.rarity-branch > header > p {
  display: flex;
  align-items: baseline;
  margin: 0;
  gap: 14px;
  text-align: right;
}

.rarity-branch > header strong {
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
}

.rarity-branch > header span:not(.rarity-code) {
  color: var(--muted);
  font-size: 16px;
}

.variant-note {
  max-width: 850px;
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.tier-copy {
  max-width: 100%;
  padding-left: 14px;
  border-left: 2px solid rgba(57, 216, 255, 0.42);
  line-height: 1.55;
}

.lineage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.lineage-strip--divine {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.lineage-strip figure {
  min-width: 0;
  margin: 0;
  background: #030a12;
  border: 1px solid var(--line);
}

.lineage-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 160ms steps(2, end);
}

.lineage-strip figure:hover img {
  transform: scale(1.025);
}

.lineage-strip figcaption {
  padding: 11px 10px 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lineage-strip figcaption strong {
  display: block;
  color: var(--ice);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.25;
}

.lineage-strip figcaption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.32;
}

.faq-stack {
  box-shadow: none;
}

.faq-stack details {
  border-bottom: 1px solid var(--line);
}

.faq-stack details:last-child {
  border-bottom: 0;
}

.faq-stack summary {
  display: flex;
  align-items: center;
  padding: 21px 24px;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

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

.faq-stack summary::after {
  margin-left: auto;
  color: var(--red);
  content: "+";
  font-family: var(--display);
  font-size: 1rem;
}

.faq-stack details[open] summary {
  color: var(--ice);
  background: rgba(57, 216, 255, 0.055);
}

.faq-stack details[open] summary::after {
  content: "−";
}

.faq-stack summary span {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.58rem;
}

.faq-stack summary b {
  font-weight: 600;
}

.faq-stack details > p {
  max-width: 1000px;
  margin: 0;
  padding: 0 24px 24px 63px;
  color: var(--muted);
  font-size: 18px;
}

.den-footer {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr);
  align-items: center;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 32px 0 38px;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-mark img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.footer-mark strong,
.footer-mark span {
  display: block;
}

.footer-mark strong {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
}

.footer-mark span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 15px;
}

.footer-contracts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-contracts span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.55rem;
}

.footer-contracts a {
  padding: 6px 9px;
  color: var(--ice);
  border: 1px solid var(--line);
  font-size: 16px;
  text-decoration: none;
}

.footer-contracts a:hover {
  color: var(--void);
  background: var(--ice);
}

.den-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  text-align: right;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms steps(5, end);
}

@keyframes marquee-run {
  to {
    transform: translateX(-50%);
  }
}

@keyframes screen-scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(720%);
  }
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes led-pulse {
  0%,
  75% {
    opacity: 1;
  }
  76%,
  100% {
    opacity: 0.35;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .mint-layout,
  .tundra-grid,
  .ladder-layout,
  .den-actions {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    min-height: 2.5em;
  }

  .crt-rig {
    max-width: 900px;
  }

  .x-relay {
    max-width: 720px;
  }

  .den-summary {
    grid-template-columns: repeat(4, 1fr);
  }

  .lineage-strip--divine {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .header-rig {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px 18px;
  }

  .header-controls {
    gap: 12px;
  }

  .wallet-key {
    min-width: 138px;
    padding: 8px 10px;
    font-size: 15px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .live-stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .live-stat-strip > div {
    border-bottom: 1px solid var(--line-soft);
  }

  .live-stat-strip > div:nth-child(3) {
    border-right: 0;
  }

  .live-stat-strip > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .quote-ledger {
    grid-template-columns: 1fr;
  }

  .quote-ledger > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-ledger > div:last-child {
    border-bottom: 0;
  }

  .protocol-notes {
    grid-template-columns: 1fr;
  }

  .protocol-notes article {
    min-height: auto;
  }

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

  .lineage-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lineage-strip--divine {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .den-footer > p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  #signal-shell,
  .header-rig,
  .den-footer {
    width: min(100% - 28px, var(--max));
  }

  .pack-mark {
    font-size: 0.82rem;
  }

  .header-controls {
    margin-left: auto;
  }

  .marquee-run {
    gap: 20px;
  }

  .hero-zone {
    padding-top: 34px;
  }

  .hero-copy h1 {
    min-height: 3.1em;
    margin-top: 14px;
    font-size: clamp(1.92rem, 10vw, 3rem);
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-actions .pixel-button {
    width: 100%;
  }

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

  .hero-metrics > div {
    padding: 12px 10px;
  }

  .hero-metrics > div:not(:first-child) {
    padding-left: 10px;
  }

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

  .hero-metrics > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .terminal-section {
    padding: 66px 0;
  }

  .command-line {
    margin-bottom: 28px;
    font-size: 0.58rem;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: clamp(1.42rem, 7.4vw, 2.1rem);
  }

  .section-head > p {
    font-size: 18px;
  }

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

  .live-stat-strip > div {
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .live-stat-strip > div:nth-child(2n) {
    border-right: 0;
  }

  .live-stat-strip > div:nth-child(3) {
    border-right: 1px solid var(--line-soft);
  }

  .live-stat-strip > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .live-stat-strip > div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .relay-console,
  .x-relay,
  .action-cluster,
  .rarity-branch {
    padding: 18px;
  }

  .quantity-rig {
    grid-template-columns: 48px 1fr 48px;
  }

  .quantity-rig > span {
    grid-column: 1 / -1;
    padding: 8px;
    border-top: 1px solid var(--line);
  }

  .quantity-rig input {
    min-height: 52px;
  }

  .console-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .ladder-row {
    grid-template-columns: 0.8fr 1fr;
    min-height: 0;
  }

  .ladder-row > span {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .ladder-row > span:nth-child(2) {
    border-right: 0;
  }

  .ladder-row > span:nth-child(3) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .ladder-row--head > span:nth-child(3) {
    display: none;
  }

  .den-summary {
    grid-template-columns: 1fr 1fr;
  }

  .den-board__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .selection-readout {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .selection-readout span:last-child {
    text-align: left;
  }

  .den-locked {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .den-locked > img {
    max-height: 220px;
  }

  .rarity-branch > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .rarity-branch > header > p {
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .lineage-strip,
  .lineage-strip--divine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-stack summary {
    align-items: flex-start;
    padding: 17px 16px;
    gap: 12px;
  }

  .faq-stack details > p {
    padding: 0 16px 20px 47px;
  }

  .den-footer {
    grid-template-columns: 1fr;
    padding-bottom: 28px;
    gap: 22px;
  }

  .den-footer > p {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  #signal-shell,
  .header-rig,
  .den-footer {
    width: min(100% - 20px, var(--max));
  }

  .pack-mark__bracket {
    display: none;
  }

  .language-switch {
    gap: 2px;
  }

  .wallet-key {
    min-width: 124px;
    font-size: 14px;
  }

  .wolf-den-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .marquee-track {
    animation: none;
  }

  .js-ready .reveal,
  .js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
