/* 开门红 (KMH) — Luxury Festive Packaging Design System
 * Palette: Cool Porcelain Paper + Deep Obsidian Lacquer + One Single Classic Chinese Vermilion (#B81D24)
 */

:root {
  --paper: #F8F7F4;
  --paper-tint: #F2F0EB;
  --surface: #FFFFFF;
  --lacquer: #141212;
  --lacquer-soft: #1E1B1B;
  --ink: #181615;
  --ink-muted: #5C5654;
  --red: #B81D24;
  --red-hover: #99171D;
  --line: #DFDCD5;
  --line-dark: #2E2A29;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1180px;
  --gutter: clamp(18px, 3vw, 36px);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p, li {
  margin: 0;
  text-wrap: pretty;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.is-red,
.metric-item dd.is-red,
.ledger-table strong.is-red {
  color: var(--red);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* Signature packaging top vermilion seal bar */
.top-band {
  height: 4px;
  background-color: var(--red);
  width: 100%;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 2px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lacquer);
}

.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background-color: var(--red);
  color: #FAF9F7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--lacquer);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 11px;
  min-height: 32px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn.is-active {
  background-color: var(--lacquer);
  color: #FAF9F7;
}

/* Hero Section */
.hero {
  background-color: var(--paper);
  padding-top: clamp(24px, 3.5vw, 44px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.06fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-title-lockup {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.calligraphy-img {
  width: clamp(210px, 24vw, 310px);
  height: auto;
  display: block;
}

.seal-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  padding: 5px 0;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 48ch;
}

/* Live Sale Ledger */
.sale-ledger {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
}

.sale-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.ledger-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ledger-cell-right {
  text-align: right;
}

.ledger-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.ledger-value {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 700;
  color: var(--lacquer);
}

.ledger-denom {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.progress-track {
  height: 6px;
  width: 100%;
  background-color: var(--paper-tint);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--red);
  transition: width 0.35s ease;
}

.sale-ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.8125rem;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--lacquer);
}

.status-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: var(--red);
  display: inline-block;
}

.foot-meta {
  color: var(--ink-muted);
}

/* Key Metrics Hairline Strip */
.key-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-item {
  padding: 12px 12px 12px 0;
}

.metric-item + .metric-item {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.metric-item dt {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.metric-item dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lacquer);
}

/* Buttons */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 2px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background-color: var(--red);
  color: #FAF9F7;
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--lacquer);
  border: 1px solid var(--lacquer);
}

.btn-secondary:hover {
  background-color: var(--lacquer);
  color: #FAF9F7;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  background-color: #EFECE7;
  overflow: hidden;
  display: flex;
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: 60% center;
}

/* Security Facts & Sole Contract Strip */
.security-strip {
  background-color: var(--lacquer);
  color: #FAF9F7;
  padding: 18px 0;
}

.security-facts-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.fact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #EFECE7;
}

.fact-mark {
  width: 6px;
  height: 6px;
  background-color: var(--red);
  flex-shrink: 0;
}

.contract-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 14px;
}

.contract-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-width: 0;
}

.contract-label {
  font-size: 0.8125rem;
  color: #B4AEA8;
  flex-shrink: 0;
}

.contract-addr {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #FAF9F7;
  word-break: break-all;
}

.contract-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.explorer-link {
  font-size: 0.875rem;
  color: #FAF9F7;
  border-bottom: 1px solid rgba(250, 249, 247, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.explorer-link:hover {
  border-color: var(--red);
}

/* Copy Button Component (modern-web-guidance: copy-button) */
.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.copy-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 48px;
  min-block-size: 34px;
  padding: 5px 14px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.copy-btn-inline {
  background-color: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.9;
}

.copy-btn-inline:hover {
  opacity: 1;
}

.copy-btn-lacquer {
  background-color: var(--red);
  color: #FAF9F7;
  border: 1px solid var(--red);
  min-block-size: 40px;
  padding: 8px 20px;
  font-size: 0.875rem;
}

.copy-btn-lacquer:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
}

.copy-button[data-copied] {
  border-color: var(--red);
  background-color: var(--red);
  color: #FAF9F7;
}

.copy-button[data-failed] {
  border-color: #D97706;
}

.copy .tip {
  position: absolute;
  inset-block-end: calc(100% + 6px);
  inset-inline-end: 0;
  padding: 4px 10px;
  background-color: var(--lacquer);
  color: #FAF9F7;
  border: 1px solid var(--line-dark);
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.copy-button[data-copied] + .tip,
.copy-button[data-failed] + .tip {
  opacity: 1;
}

/* Sections */
.section {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section-tinted {
  background-color: var(--paper-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.3vw, 1.875rem);
  color: var(--lacquer);
}

.section-sub {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 64ch;
}

/* Responsive Data Table (modern-web-guidance: responsive-table) */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  background-color: var(--surface);
  border: 1px solid var(--line);
}

.ledger-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  --label-2: "铸造付款";
  --label-3: "开盘市值（2.0×）";
  --label-4: "首卖实测倍率";
  --label-5: "首卖实测回收";
}

.ledger-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
}

.ledger-table thead th {
  background-color: var(--paper-tint);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ledger-table tbody th,
.ledger-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  vertical-align: middle;
}

.ledger-table tbody tr:last-child th,
.ledger-table tbody tr:last-child td {
  border-bottom: 0;
}

.ledger-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  background-color: var(--surface);
  font-weight: 600;
  color: var(--lacquer);
}

.ledger-table tbody tr.row-highlight th,
.ledger-table tbody tr.row-highlight td {
  background-color: #FDF7F7;
}

@container (width < 600px) {
  .ledger-table,
  .ledger-table thead,
  .ledger-table tbody,
  .ledger-table tr,
  .ledger-table th,
  .ledger-table td {
    display: block;
  }

  .ledger-table thead {
    display: none;
  }

  .ledger-table tbody tr {
    border-bottom: 2px solid var(--line);
    padding: 0 0 8px;
  }

  .ledger-table tbody tr:last-child {
    border-bottom: 0;
  }

  .ledger-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background-color: var(--paper-tint);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }

  .ledger-table tbody tr.row-highlight th {
    background-color: #F7E8E8;
  }

  .ledger-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--paper-tint);
  }

  .ledger-table tbody td:last-child {
    border-bottom: 0;
  }

  .ledger-table td:nth-child(2)::before {
    content: var(--label-2);
    color: var(--ink-muted);
    font-size: 0.8125rem;
  }

  .ledger-table td:nth-child(3)::before {
    content: var(--label-3);
    color: var(--ink-muted);
    font-size: 0.8125rem;
  }

  .ledger-table td:nth-child(4)::before {
    content: var(--label-4);
    color: var(--ink-muted);
    font-size: 0.8125rem;
  }

  .ledger-table td:nth-child(5)::before {
    content: var(--label-5);
    color: var(--ink-muted);
    font-size: 0.8125rem;
  }
}

.profit-foot {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disclaimer-line {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.referral-strip {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lacquer);
}

.referral-tag {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red);
  padding: 2px 8px;
  border: 1px solid var(--red);
}

.referral-desc {
  font-size: 0.9375rem;
  color: var(--ink);
}

/* Rules Matrix (Editorial ledger, zero rounded boxes) */
.rules-grid {
  margin: 0;
  border-top: 1px solid var(--lacquer);
}

.rule-row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  gap: 10px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.rule-row dt {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--lacquer);
}

.rule-row dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.65;
}

/* Obsidian Lacquer AI Wallet Panel */
.lacquer-panel {
  background-color: var(--lacquer);
  color: #FAF9F7;
  border-left: 5px solid var(--red);
  padding: clamp(22px, 3.5vw, 38px);
}

.lacquer-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.lacquer-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  color: #FAF9F7;
  margin-bottom: 8px;
}

.lacquer-sub {
  font-size: 0.9375rem;
  color: #C7C2BC;
  max-width: 64ch;
}

.prompt-code {
  margin: 0;
  padding: 18px 20px;
  background-color: var(--lacquer-soft);
  border: 1px solid var(--line-dark);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #F4F1EC;
  white-space: pre-wrap;
  word-break: break-word;
}

.agent-docs-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-docs-label {
  font-size: 0.8125rem;
  color: #B4AEA8;
}

.agent-docs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.agent-docs-links a {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #FAF9F7;
  border-bottom: 1px solid rgba(250, 249, 247, 0.4);
  padding-bottom: 2px;
}

.agent-docs-links a:hover {
  border-color: var(--red);
}

/* Split Panel: Notification Pass + On-Chain Lookup */
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.pass-column h2,
.lookup-column h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  color: var(--lacquer);
  margin-bottom: 18px;
}

.pass-showcase {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background-color: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
}

.pass-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--lacquer);
}

.pass-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pass-desc {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.65;
}

.pass-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.pass-meta-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.pass-addr {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--lacquer);
  word-break: break-all;
}

.pass-meta-actions .copy-btn-inline {
  color: var(--lacquer);
  border-color: var(--line);
}

.pass-meta-actions .copy-btn-inline:hover {
  border-color: var(--lacquer);
}

/* Lookup Form */
.lookup-column .section-sub {
  margin-top: -10px;
  margin-bottom: 18px;
}

.lookup-form {
  display: flex;
  gap: 10px;
}

.lookup-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--lacquer);
  background-color: var(--surface);
  border: 1px solid var(--lacquer);
  border-radius: 2px;
}

.lookup-input::placeholder {
  color: var(--ink-muted);
  font-family: var(--font-sans);
}

.lookup-submit {
  flex-shrink: 0;
}

.lookup-feedback {
  min-height: 22px;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.lookup-feedback.is-error {
  color: var(--red);
}

.lookup-results {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background-color: var(--surface);
  border: 1px solid var(--line);
}

.lookup-stat {
  padding: 16px;
}

.lookup-stat + .lookup-stat {
  border-left: 1px solid var(--line);
}

.lookup-stat dt {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.lookup-stat dd {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lacquer);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--paper);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lacquer);
  font-weight: 600;
}

.footer-sep {
  color: var(--line);
}

.footer-chain {
  font-weight: 400;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--lacquer);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .header-nav {
    display: none;
  }

  .hero-img {
    min-height: 0;
    height: auto;
    aspect-ratio: 6 / 5;
    object-position: center 72%;
  }

  .lacquer-panel {
    padding: 20px 16px;
  }

  .prompt-code {
    padding: 14px;
    font-size: 0.8125rem;
  }

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

  .metric-item {
    padding: 12px 10px 12px 0;
  }

  .metric-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .rule-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pass-showcase {
    grid-template-columns: 1fr;
  }

  .pass-img {
    max-width: 240px;
  }

  .lookup-form {
    flex-direction: column;
  }

  .lookup-results {
    grid-template-columns: 1fr;
  }

  .lookup-stat + .lookup-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .referral-strip {
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
