/* THE RECEIPTS (evidence/exhibit wall) removed */
#evidence,
a[href="#evidence"] {
  display: none !important;
}

/* PUT THE HELMET ON / PFP maker removed */
#helmet,
a[href="#helmet"] {
  display: none !important;
}

/* EVERY HELMET ADDS A BRICK / crew wall removed */
#community,
a[href="#community"] {
  display: none !important;
}

.lore-card img {
  background: #000;
}

.lore-pin {
  position: relative;
  top: auto;
}

@media (max-width: 760px) {
  .lore-dots {
    bottom: max(54px, calc(4.8svh + env(safe-area-inset-bottom, 0px)));
    width: min(96vw, 400px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2px;
  }

  .lore-dots button {
    width: 30px;
  }

  .lore-dots button.is-on {
    width: 42px;
  }
}

@media (max-width: 430px) {
  .lore-dots {
    width: calc(100vw - 8px);
    gap-inline: 0;
  }

  .lore-dots button {
    width: 28px;
  }

  .lore-dots button.is-on {
    width: 38px;
  }
}

:root {
  --blue-text: #8fb1ff;
  --muted-text: #8a93b8;
}

html {
  scroll-padding-top: 72px;
}

#lore,
#evidence,
#helmet,
#community {
  scroll-margin-top: 72px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 10px;
  padding: 12px 16px;
  color: #fff;
  background: #0052ff;
  border: 2px solid #fff;
  font: 700 14px/1.2 var(--mono, monospace);
  transform: translateY(-160%);
  transition: transform 150ms ease-out;
}

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

#main-content:focus {
  outline: none;
}

.nav-buy {
  visibility: hidden;
}

.nav.is-tight .nav-buy {
  visibility: visible;
}

.ev {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible;
}

.ev-pin {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: clamp(96px, 10vw, 128px) clamp(16px, 5vw, 72px) 72px;
}

.ev-head {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto 28px;
  pointer-events: auto;
}

.ev-head::before {
  display: none;
}

.ev-yard {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  width: min(1240px, 100%);
  margin: 0 auto;
}

.ev-slot {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0;
  translate: none;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.ev-card {
  width: 100%;
  height: 100%;
  color: var(--paper);
  text-align: left;
  appearance: none;
  transform: none !important;
  opacity: 1 !important;
}

.ev-cable,
.ev-hookring,
.ev-ground,
.crane-trolley,
.crane-rig {
  display: none !important;
}

.ev-hint {
  position: relative;
  inset: auto;
  display: block;
  margin-top: 24px;
  color: var(--muted-text);
}

.buyp-x,
.ev-zoom-x,
.wallp-x,
.egg-hidden,
.nav-burger,
.wall-pager button,
.lab-sample,
.lab-recent-t,
.lab-preset {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.buyp-x,
.ev-zoom-x,
.wallp-x,
.egg-hidden {
  display: grid;
  place-items: center;
}

.egg-hidden img {
  width: 18px;
  height: 18px;
}

.lab-btn,
.lab-chip {
  min-height: 44px;
}

.buyp-card,
.ev-zoom-card,
.wallp-card {
  max-height: min(92svh, 900px);
  overflow: auto;
  overscroll-behavior: contain;
}

.eyebrow,
.buyp-k,
.buyp-copy,
.ev-meta b,
.ev-load,
.ev-tag,
.ev-note,
.ev-zoom-link,
.lab-ver,
.lab-k,
.lab-made b,
.desk-ca-k,
.desk-k,
.wall-count-k,
.wall-fresh,
.wall-k,
.wall-handle i,
.ld-ok,
.ld-exe em {
  color: var(--blue-text);
}

.foot-safe,
.desk-safe,
.wall-local,
.wall-handle em,
.wall-ghost span,
.wall-small,
.wall-tip,
.foot-made {
  color: var(--muted-text);
}

.hero-dog,
.live-c.is-lit {
  color: var(--blue-text);
}

.tape-run {
  animation: none;
}

.tape-run span {
  color: #fff;
  background: var(--blue);
  text-shadow: none;
}

@media (max-width: 1100px) {
  .ev-yard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ev-pin {
    padding: 88px 16px 56px;
  }

  .ev-yard {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ev-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .ev-hint {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .buyp-card,
  .ev-zoom-card,
  .wallp-card {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100svh - 24px);
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero-frame {
    min-height: 0;
  }

  .lore-hint {
    display: none;
  }

  .lore-dots {
    bottom: 8px;
  }
}

@media (orientation: landscape) and (min-width: 761px) and (max-height: 500px) {
  .lore-dots {
    gap: 2px;
  }

  .lore-dots button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 44px;
    background: transparent;
  }

  .lore-dots button::after {
    width: 22px;
    height: 4px;
    background: var(--faint);
    content: "";
    transition: background 0.3s, width 0.3s var(--ease);
  }

  .lore-dots button.is-on {
    width: 48px;
    background: transparent;
    box-shadow: none;
  }

  .lore-dots button.is-on::after {
    width: 40px;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
  }
}

@media (orientation: portrait) and (max-width: 760px) and (max-height: 680px) {
  .lore-dots {
    bottom: max(6px, env(safe-area-inset-bottom, 0px));
  }

  .lore-hint {
    display: none;
  }
}

.lab-input-status {
  margin: 8px 0 0;
  color: #ffb7c5;
  font: 700 12px/1.4 var(--mono, monospace);
}

.desk-origin {
  position: relative;
  display: grid;
  grid-template-columns: minmax(104px, 148px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin: 18px 0 22px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(244, 246, 255, 0.16);
  border-left: 4px solid var(--blue);
  background:
    linear-gradient(100deg, rgba(0, 82, 255, 0.22), rgba(8, 13, 28, 0.94) 48%),
    #080d1c;
  box-shadow: inset 0 0 0 1px rgba(0, 82, 255, 0.18);
}

.desk-origin::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.06), transparent 62%);
  content: "";
  pointer-events: none;
}

.desk-origin-mark {
  position: relative;
  z-index: 1;
  color: transparent;
  font: 900 clamp(56px, 7vw, 92px)/0.9 var(--display);
  letter-spacing: -0.12em;
  -webkit-text-stroke: 2px var(--blue-text);
  text-shadow: 10px 10px 0 rgba(0, 82, 255, 0.22);
}

.desk-origin-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.desk-origin-k {
  display: block;
  color: var(--blue-text);
  font: 700 10px/1.3 var(--mono, monospace);
  letter-spacing: 0.24em;
}

.desk-origin-copy h3 {
  margin-top: 7px;
  color: var(--paper);
  font: 850 clamp(23px, 3vw, 38px)/1.04 var(--display);
  letter-spacing: -0.035em;
}

.desk-origin-copy p {
  max-width: 780px;
  margin-top: 12px;
  color: #d9e1ff;
  font-size: 15px;
  line-height: 1.6;
}

.desk-origin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 11px 15px;
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  font: 800 11px/1.2 var(--mono, monospace);
  letter-spacing: 0.12em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.desk-origin-link:hover,
.desk-origin-link:focus-visible {
  background: #1a64ff;
  box-shadow: 0 12px 32px rgba(0, 82, 255, 0.34);
  transform: translateY(-2px);
}

.desk-origin-copy small {
  display: block;
  max-width: 800px;
  margin-top: 12px;
  color: var(--muted-text);
  font: 600 10px/1.55 var(--mono, monospace);
}

@media (max-width: 760px) {
  .desk-origin {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .desk-origin-mark {
    font-size: 56px;
  }

  .desk-origin-copy h3 {
    font-size: 25px;
  }

  .desk-origin-link {
    width: 100%;
  }
}

.foot-links {
  flex-wrap: wrap;
}

.foot-links a.foot-community-link {
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  font: 700 10px/1.2 var(--mono, monospace);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.foot-links a.foot-community-link:hover,
.foot-links a.foot-community-link:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
}

.buyp-card,
.buyp-card--easy {
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}

.buyp-card--easy .buyp-hat {
  width: 58px;
  margin-top: 0;
}

.buyp-eyebrow {
  display: block;
  margin-top: 8px;
  color: var(--blue-text, #8fb1ff);
  font: 700 10px/1.2 var(--mono, monospace);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.buyp-lede {
  margin-top: 8px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.45;
}

.buyp-easy {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--blue);
  background: linear-gradient(145deg, rgba(0, 82, 255, 0.2), rgba(0, 82, 255, 0.05));
  box-shadow: 0 18px 46px rgba(0, 82, 255, 0.18);
}

.buyp-btn--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background: var(--blue);
  box-shadow: 0 12px 32px rgba(0, 82, 255, 0.38);
}

.buyp-easy-note {
  margin: 9px 4px 0;
  color: var(--muted-text, #8a93b8);
  font: 600 11px/1.45 var(--mono, monospace);
}

.buyp-o1 {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(143, 177, 255, 0.3);
  background: rgba(8, 13, 28, 0.72);
}

.buyp-o1 .buyp-btn {
  min-height: 48px;
}

.buyp-o1-note {
  margin: 9px 4px 0;
  color: var(--muted-text, #8a93b8);
  font: 600 11px/1.45 var(--mono, monospace);
}

.buyp-coinbase-status {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid rgba(244, 246, 255, 0.14);
  background: rgba(244, 246, 255, 0.035);
}

.buyp-coinbase-status > i {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #8a93b8;
  box-shadow: 0 0 12px rgba(138, 147, 184, 0.55);
}

.buyp-coinbase-status b {
  display: block;
  font: 800 11px/1.3 var(--display);
  letter-spacing: 0.04em;
}

.buyp-coinbase-status p {
  margin-top: 4px;
  color: var(--muted-text, #8a93b8);
  font: 600 11px/1.45 var(--mono, monospace);
}

.buyp-advanced {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.buyp-advanced summary {
  min-height: 44px;
  padding: 13px 2px;
  color: var(--blue-text, #8fb1ff);
  font: 700 11px/1.4 var(--mono, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.buyp-network {
  color: var(--paper);
  font: 700 11px/1.4 var(--mono, monospace);
  letter-spacing: 0.08em;
}

.buyp-advanced .buyp-ca {
  margin-top: 8px;
}

.buyp-advanced-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 0 14px;
}

.buyp-advanced-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--blue-line);
  color: var(--paper);
  font: 700 11px/1.3 var(--mono, monospace);
}

.buyp-advanced-links a:hover,
.buyp-advanced-links a:focus-visible {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.buyp-safe {
  margin-top: 12px;
  color: var(--muted-text, #8a93b8);
  font: 600 10px/1.5 var(--mono, monospace);
}

.nav-brand {
  text-align: left;
}

.nav-drop-board {
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100svh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255, 255, 255, 0.08);
}

.nav-drop-group,
.nav-sheet-group {
  display: block;
  padding: 12px 8px 5px;
  color: var(--blue-text, #8fb1ff);
  font: 700 9px/1.2 var(--mono, monospace);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-drop-i {
  min-height: 44px;
}

.nav-drop-i b {
  min-width: 0;
  white-space: normal;
}

.nav-sheet {
  max-height: calc(100svh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: max(26px, env(safe-area-inset-bottom, 0px));
}

.nav-sheet-community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.nav-sheet .nav-sheet-community a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--blue-line);
  color: var(--paper);
  font: 700 10px/1.3 var(--mono, monospace);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-sheet .nav-sheet-community a:hover,
.nav-sheet .nav-sheet-community a:focus-visible {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.nav-sheet .nav-sheet-community-link--wide {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .foot-links {
    width: 100%;
  }

  .buyp-card,
  .buyp-card--easy {
    width: min(100%, calc(100vw - 24px));
    max-height: 100%;
    padding: 30px 18px 20px;
  }

  .buyp-title {
    font-size: 22px;
  }

  .buyp-advanced-links {
    grid-template-columns: 1fr;
  }

  .nav-sheet > a {
    font-size: clamp(20px, 6.5vw, 26px);
  }
}

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

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