@font-face {
  font-family: Bricolage;
  src: url('fonts/BricolageGrotesque.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url('fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0a1015;
  --panel: #101a22;
  --raised: #16232d;
  --line: #2b3b46;
  --text: #edf3f5;
  --muted: #a4b5c0;
  --lime: #c1fa65;
  --cyan: #7ddedf;
  --amber: #ffbd6b;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: Bricolage, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 85% 2%, #18313a42, transparent 40%), var(--bg);
  color: var(--text);
  font: 500 15px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: var(--display);
  font-weight: 700;
}
h1,
h2,
h3 {
  line-height: 1.03;
}
h1 {
  font-size: clamp(42px, 4.1vw, 67px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 23px;
}
p {
  overflow-wrap: break-word;
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.skip {
  position: absolute;
  left: -1000px;
  background: var(--lime);
  color: #11200b;
  padding: 8px;
  z-index: 100;
}
.skip:focus {
  left: 7px;
  top: 7px;
}
.mast {
  border-bottom: 1px solid #33414b;
  background: #0b1117;
}
.mast-inner {
  max-width: 1390px;
  min-height: 74px;
  margin: auto;
  padding: 0 clamp(18px, 4.2vw, 64px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.5vw, 77px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  padding: 0;
  border: 0;
  background: none;
  font-size: 29px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.logo {
  width: 37px;
  height: 41px;
  display: grid;
  place-items: center;
}
.logo svg {
  width: 100%;
  height: 100%;
}
.brand b {
  align-self: center;
  font: 700 10px/1.35 var(--mono);
  border: 1px solid #607445;
  color: var(--lime);
  padding: 2px 4px;
  letter-spacing: 1px;
}
.mast nav {
  display: flex;
  align-self: stretch;
  gap: 19px;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 5px;
  border: 0;
  background: none;
  color: #aab7c0;
  font-weight: 650;
  font-size: 14px;
}
.nav .ico {
  width: 16px;
  height: 16px;
}
.nav[aria-current='page'] {
  color: var(--lime);
}
.nav[aria-current='page']:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
}
.nav:hover,
.textbtn:hover {
  color: #fff;
}
.mast-tools {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.round,
.close {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #151e27;
  color: #ccd7de;
  border-radius: 6px;
}
.round .ico,
.close .ico {
  width: 16px;
  height: 16px;
}
.round:hover,
.close:hover {
  border-color: var(--cyan);
}
main {
  max-width: 1390px;
  margin: 0 auto;
  padding: 32px clamp(18px, 4.2vw, 64px) 26px;
  min-height: 70vh;
}
.intro,
.section-head,
.card-head,
.line,
.hunt-tools,
.hunt-bar,
.bar-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.intro {
  margin-bottom: 20px;
}
.intro h1 {
  margin: 3px 0 4px;
}
.kicker,
.mono,
.badge,
.live,
.signal-label,
.hero .flag,
.lab-buttons span,
.target {
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.kicker {
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}
.kicker .ico,
.signal-label .ico {
  width: 14px;
  height: 14px;
}
.sub,
.muted,
.section-head small {
  color: var(--muted);
}
.hud {
  display: flex;
  gap: 10px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: #121c24;
  padding: 9px 16px;
  min-width: 113px;
  border-radius: 6px;
}
.stat-icon {
  display: grid;
  place-items: center;
  color: var(--lime);
}
.stat-icon.cyan {
  color: var(--cyan);
}
.stat strong {
  display: block;
  font: 700 27px/1.03 var(--display);
}
.stat strong small {
  font: 600 14px var(--mono);
  color: #8a9aa4;
}
.stat .mono {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(270px, 1fr);
  gap: 16px;
}
.hero {
  min-height: 345px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid #556265;
  border-radius: 9px;
  background: #24302d;
}
.hero > img,
.trail-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero > img {
  z-index: -2;
  object-position: 50% 35%;
}
.hero:after {
  content: '';
  inset: 0;
  position: absolute;
  z-index: -1;
  background:
    linear-gradient(90deg, #061017b3, transparent 65%),
    linear-gradient(0deg, #09131af5 0%, #0a1218a0 18%, transparent 65%);
}
.flag {
  position: absolute;
  top: 19px;
  left: 21px;
  background: #111b1edb;
  border: 1px solid #87958680;
  color: #e6ffd1;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 3px;
}
.flag i,
.live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 6px #c5fa6355;
}
.hero-content {
  padding: 24px 26px;
  width: 100%;
}
.hero-content .kicker {
  color: #d6ffa6;
}
.sector-rule {
  width: 25px;
  height: 2px;
  background: var(--lime);
}
.hero h2 {
  font-size: clamp(48px, 5vw, 78px);
  letter-spacing: -0.026em;
  text-transform: uppercase;
  margin: 3px 0 5px;
  color: #f5f7ee;
}
.hero p {
  max-width: 455px;
  color: #e1e8e9;
  font-size: 15px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #3c515e;
  background: #20323e;
  color: #f5f7f6;
  min-height: 41px;
  padding: 9px 14px;
  font-weight: 720;
  font-size: 14px;
  border-radius: 5px;
}
.btn .ico {
  width: 16px;
  height: 16px;
}
.btn.gold {
  background: var(--lime);
  color: #14200e;
  border-color: var(--lime);
}
.btn.soft {
  background: #18252e;
  border-color: #354955;
}
.btn:hover:not(:disabled) {
  filter: brightness(1.13);
  border-color: #91b7b8;
}
.btn.gold:hover {
  border-color: #dbff9c;
}
.btn:disabled {
  background: #182127;
  color: #83929a;
  border-color: #2c3940;
}
.hero .btn {
  margin-top: 16px;
  padding: 11px 16px;
}
.hero .btn .ico:last-child {
  margin-left: 12px;
}
.textbtn {
  border: 0;
  background: none;
  color: var(--cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
}
.textbtn .ico {
  width: 14px;
  height: 14px;
}
.signal-rack {
  padding: 18px 19px;
  display: flex;
  flex-direction: column;
  border: 1px solid #31454f;
  border-radius: 9px;
  background: linear-gradient(145deg, #15242e, #101920 80%);
  overflow: hidden;
  position: relative;
}
.signal-kicker {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.live {
  color: #c3d4b8;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
}
.signal-rack h2 {
  font-size: 34px;
  text-transform: uppercase;
  margin: 3px 0;
}
.signal-rack p {
  color: #acbec7;
  font-size: 14px;
  max-width: 380px;
}
.radar {
  flex: 1;
  min-height: 105px;
  max-height: 145px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 10px 0 8px;
  background:
    linear-gradient(#38515c33 1px, transparent 1px),
    linear-gradient(90deg, #38515c33 1px, transparent 1px), #0c181f;
  background-size: 18px 18px;
  border: 1px solid #293e48;
  border-radius: 3px;
}
.radar:before,
.radar:after {
  content: '';
  position: absolute;
  background: #4c73775c;
}
.radar:before {
  width: 1px;
  top: 0;
  bottom: 0;
  left: 51%;
}
.radar:after {
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
}
.radar-rings,
.radar-beam {
  position: absolute;
  inset: 50% auto auto 51%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 128px;
  height: 128px;
}
.radar-rings {
  background: repeating-radial-gradient(
    circle,
    transparent 0 16px,
    #5c9b9470 17px,
    transparent 18px 19px
  );
}
.radar-beam {
  background: conic-gradient(
    from 25deg,
    transparent 0 291deg,
    #83e9c018 322deg,
    #9dfcad72 359deg,
    transparent 360deg
  );
  animation: sweep 10s linear infinite;
}
.blip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px #b3ff5ab0;
  position: absolute;
}
.b1 {
  left: 43%;
  top: 65%;
}
.b2 {
  left: 65%;
  top: 23%;
}
.b3 {
  left: 32%;
  top: 34%;
  width: 3px;
  height: 3px;
}
.radar b {
  position: absolute;
  bottom: 5px;
  right: 6px;
  color: #82abac;
  font: 600 8px var(--mono);
  letter-spacing: 1px;
}
@keyframes sweep {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.lab-buttons {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}
.lab-buttons button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 5px;
  background: #172b33;
  color: #e5f8f9;
  border: 1px solid #3a525b;
  padding: 8px;
  border-radius: 4px;
}
.lab-buttons button:hover {
  background: #29414a;
}
.lab-buttons span {
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 0.3px;
}
.incubator-strip,
.camp-strip,
.trial-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 16px;
}
.incubator-strip {
  min-height: 84px;
}
.cradle-thumb {
  width: 76px;
  height: 60px;
  flex: none;
  position: relative;
  overflow: hidden;
  background: #0b151d;
  border: 1px solid #263843;
  border-radius: 4px;
}
.cradle-thumb img {
  width: 100%;
  height: 136%;
  object-fit: contain;
  position: absolute;
  bottom: 2%;
}
.incubator-meta {
  min-width: 0;
  flex: 1;
}
.incubator-meta h3 {
  font-size: 23px;
  margin: 3px 0;
}
.incubator-strip p,
.camp-strip p,
.trial-strip p {
  font-size: 13px;
  color: var(--muted);
}
.incubator-strip .kicker,
.trial-strip .kicker {
  font-size: 9px;
}
.incubator-meta .progress-box {
  max-width: 300px;
}
.badge {
  color: #c0d0d8;
  font-size: 9px;
  letter-spacing: 1px;
  background: #15222b;
  border: 1px solid #34454f;
  padding: 4px 8px;
  border-radius: 3px;
}
.section-head {
  margin: 24px 0 12px;
}
.section-head h2 {
  text-transform: uppercase;
  font-size: 29px;
  letter-spacing: 0.1px;
}
.trails,
.shops,
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.trail {
  padding: 0;
  overflow: hidden;
  text-align: left;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color 0.15s;
}
.trail:hover {
  border-color: #7c929b;
}
.trail.selected {
  border-color: #92b35e;
}
.trail-photo {
  height: 102px;
  position: relative;
  isolation: isolate;
  background: #0d151c;
  overflow: hidden;
}
.trail-photo img {
  object-position: center 48%;
}
.trail-photo .mono {
  position: absolute;
  top: 9px;
  left: 10px;
  padding: 2px 5px;
  background: #101b20d9;
  color: #edf5e4;
  font-size: 9px;
  letter-spacing: 1px;
  border-radius: 2px;
}
.trail-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.trail-copy h3 {
  font-size: 24px;
}
.trail-copy small {
  font-size: 12px;
  color: var(--muted);
}
.trail-copy > .ico {
  color: #82919a;
  width: 16px;
}
.trail.selected .trail-copy > .ico {
  color: var(--lime);
}
.trial-strip {
  background: linear-gradient(105deg, #292034, #151923 65%);
  border-color: #493d53;
  margin-top: 18px;
}
.trial-strip .kicker {
  color: #d6b8f4;
}
.trial-crest {
  width: 45px;
  text-align: center;
  font: 700 47px/1 var(--display);
  color: #b69bc9;
}
.trial-strip .btn,
.camp-strip .textbtn {
  margin-left: auto;
}
.target-list {
  display: flex;
  gap: 9px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.target {
  display: flex;
  align-items: center;
  color: #b8a8c6;
  font-size: 8px;
  letter-spacing: 0.6px;
  gap: 4px;
}
.target .ico {
  width: 11px;
  height: 11px;
}
.target.acquired {
  color: var(--lime);
}
.camp-strip img {
  width: 58px;
  height: 46px;
  object-fit: contain;
}
.camp-strip b {
  font-family: var(--display);
  font-size: 20px;
}
.camp-strip {
  margin-top: 10px;
}
.bar {
  height: 7px;
  border-radius: 3px;
  overflow: hidden;
  background: #293b40;
}
.bar > span {
  display: block;
  background: var(--lime);
  border-radius: 3px;
  height: 100%;
}
.bar-line {
  margin: 5px 0;
  font-size: 11px;
  color: var(--muted);
}
.species,
.panel,
.shop,
.nest-slot {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.species .mono,
.shop .mono,
.panel .mono,
.nest-slot .mono {
  color: var(--cyan);
  font-size: 9px;
}
.species p,
.shop p,
.panel p,
.nest-slot p,
.dialog-copy {
  font-size: 14px;
  color: var(--muted);
}
.species h3,
.shop h3,
.nest-slot h3 {
  margin: 5px 0;
}
.spec-art,
.shop-art {
  border: 1px solid #253f4c;
  border-radius: 5px;
  background: radial-gradient(ellipse at center, #18353d, #0b151d 70%);
  padding: 8px;
  margin-bottom: 9px;
}
.region1 {
  background: radial-gradient(ellipse at center, #3c2622, #141619 80%);
  border-color: #4c3833;
}
.region2 {
  background: radial-gradient(ellipse at center, #2a203c, #13151f 80%);
  border-color: #3d3652;
}
.species img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  display: block;
}
.silhouette {
  filter: brightness(0) invert(0.38);
  opacity: 0.75;
}
.shop {
  display: flex;
  flex-direction: column;
}
.shop-art {
  height: 106px;
  display: grid;
  place-items: center;
}
.shop-art .ico {
  width: 51px;
  height: 51px;
  color: var(--cyan);
}
.shop .region1 .ico {
  color: var(--amber);
}
.shop .region2 .ico {
  color: #bea8da;
}
.shop p {
  flex: 1;
  margin: 4px 0 12px;
}
.nests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 14px;
}
.nest-slot {
  text-align: center;
}
.nest-slot img {
  height: 115px;
  max-width: 100%;
  object-fit: contain;
}
.nest-slot .btn {
  margin-top: 10px;
}
.movement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.panel h2,
.panel h3 {
  margin: 6px 0;
}
.panel p + p,
.panel .btn {
  margin-top: 12px;
}
.panel-highlight {
  background: #14242d;
}
.metrics {
  display: flex;
  gap: 24px;
  margin: 12px 0;
}
.metrics strong {
  display: block;
  font: 700 32px var(--display);
}
.metrics small {
  color: var(--muted);
}
.persist {
  background: #322c1b;
  color: #fae3aa;
  border: 1px solid #645534;
  border-radius: 5px;
  padding: 9px;
  margin-bottom: 8px;
}
dialog {
  width: min(480px, calc(100vw - 24px));
  max-width: none;
  max-height: min(90vh, 850px);
  overflow: auto;
  padding: 0;
  background: #111d26;
  color: var(--text);
  border: 1px solid #496371;
  border-radius: 9px;
  box-shadow: 0 20px 90px #0008;
}
dialog::backdrop {
  background: #02070bc7;
  backdrop-filter: blur(4px);
}
#dialog-body {
  padding: 23px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.dialog-head h2 {
  font-size: 32px;
}
.center {
  text-align: center;
}
.center .kicker {
  justify-content: center;
}
.dialog-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.reward-art {
  width: 100%;
  height: 155px;
  object-fit: contain;
  display: block;
  margin: 8px auto 14px;
}
.reward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--lime);
  background: #223523;
  border: 1px solid #3d553a;
  padding: 6px 9px;
  border-radius: 4px;
  margin: 8px 0 0;
  font-size: 13px;
}
.reward .ico {
  width: 16px;
  height: 16px;
}
.help-list {
  padding-left: 22px;
}
.help-list li {
  margin-bottom: 8px;
}
.help-list li::marker {
  color: var(--lime);
}
.signal-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 9px;
}
.question-text {
  font-size: 18px;
  line-height: 1.47;
  margin: 14px 0;
}
.answers {
  display: grid;
  gap: 7px;
}
.answer-choice {
  width: 100%;
  border: 1px solid #39505e;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px;
  background: #172933;
  text-align: left;
  font-weight: 630;
  min-height: 44px;
}
.answer-choice:hover {
  border-color: var(--cyan);
  background: #203740;
}
.answer-choice > span {
  background: #293f49;
  border: 1px solid #41606c;
  min-width: 24px;
  text-align: center;
  border-radius: 3px;
  color: var(--cyan);
  font: 700 11px/23px var(--mono);
}
.signal-stakes {
  font-size: 12px;
  color: var(--muted);
  margin: 11px 0 0;
}
.solution-title {
  margin: 14px 0 6px;
  font-size: 28px;
}
.explanation {
  color: #c3d2da;
  margin: 12px 0;
}
.trial-cover {
  overflow: hidden;
  border-radius: 5px;
  margin: 8px 0 12px;
}
.trial-cover img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  color: #e2fce5;
  background: #1c3234;
  border: 1px solid #416963;
  border-radius: 6px;
  padding: 9px 15px;
  font-size: 13px;
  text-align: center;
  max-width: 94vw;
  transition:
    opacity 0.16s,
    transform 0.16s;
}
#toast.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hunt-wrap {
  max-width: 930px;
  margin: auto;
}
.hunt-page {
  padding-top: 18px;
}
.hunt-title {
  margin-bottom: 10px;
}
.hunt-title h1 {
  font-size: 35px;
  margin: 4px 0;
}
.hunt-tools {
  justify-content: flex-end;
}
.hunt-frame {
  border: 1px solid #415661;
  border-radius: 6px;
  overflow: hidden;
  background: #0a151e;
}
.hunt-frame canvas {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  touch-action: none;
}
.hunt-bar {
  align-items: flex-start;
  margin-top: 10px;
}
.hunt-bar p {
  font-weight: 670;
}
.key-guide {
  color: var(--muted);
  font-size: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px 24px;
  color: #8497a4;
  font: 500 10px var(--mono);
}
footer i {
  height: 3px;
  width: 3px;
  background: #607581;
  border-radius: 50%;
}
.tiny-egg {
  color: var(--lime);
}
@media (min-width: 1450px) {
  .hero {
    min-height: 390px;
  }
  .radar {
    max-height: 180px;
  }
  .trail-photo {
    height: 120px;
  }
}
@media (max-width: 900px) {
  .mast-inner {
    gap: 20px;
  }
  .mast nav {
    gap: 7px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1.7fr) minmax(235px, 1fr);
  }
  .hero {
    min-height: 325px;
  }
  .signal-rack {
    padding: 15px;
  }
  .stat {
    padding: 8px 11px;
    min-width: 98px;
  }
  .trails,
  .shops,
  .species-grid {
    gap: 10px;
  }
  .intro {
    gap: 10px;
  }
  .trail-copy h3 {
    font-size: 20px;
  }
}
@media (max-width: 690px) {
  .mast-inner {
    flex-wrap: wrap;
    gap: 3px;
    padding: 8px 15px 0;
  }
  .brand {
    font-size: 24px;
  }
  .logo {
    width: 28px;
    height: 31px;
  }
  .mast nav {
    order: 2;
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .nav {
    padding: 9px 1px 10px;
    font-size: 12px;
    gap: 5px;
    min-height: 40px;
  }
  .nav .ico {
    width: 14px;
    height: 14px;
  }
  .mast-tools {
    order: 1;
  }
  .round {
    width: 29px;
    height: 29px;
  }
  .intro {
    align-items: flex-start;
  }
  .intro h1 {
    font-size: 43px;
  }
  .intro .sub {
    font-size: 13px;
  }
  .hud {
    gap: 5px;
  }
  .stat {
    min-width: 0;
    padding: 7px;
    gap: 6px;
  }
  .stat .stat-icon {
    display: none;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat .mono {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
  }
  main {
    padding: 22px 15px;
  }
  .hero {
    min-height: 294px;
  }
  .hero-content {
    padding: 19px;
  }
  .hero h2 {
    font-size: 50px;
  }
  .hero p {
    font-size: 14px;
  }
  .signal-rack {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) minmax(136px, 0.75fr);
    gap: 3px 10px;
    padding: 12px 14px;
  }
  .signal-kicker {
    grid-column: 1/-1;
  }
  .signal-rack h2 {
    grid-column: 1;
    grid-row: 2;
    font-size: 25px;
    margin: 2px 0;
  }
  .signal-rack p {
    grid-column: 1;
    grid-row: 3;
    font-size: 12px;
  }
  .signal-rack .radar {
    display: none;
  }
  .lab-buttons {
    grid-row: 2/4;
    grid-column: 2;
    margin: 0;
    align-self: center;
    flex-direction: column;
    gap: 4px;
  }
  .lab-buttons button {
    padding: 5px 8px;
    font-size: 12px;
    min-height: 31px;
  }
  .trails {
    gap: 7px;
  }
  .trail-photo {
    height: 64px;
  }
  .trail-copy {
    padding: 8px 7px;
  }
  .trail-copy h3 {
    font-size: 17px;
  }
  .trail-copy small {
    font-size: 10px;
  }
  .trail-copy > .ico {
    display: none;
  }
  .trail-photo .mono {
    left: 5px;
    top: 5px;
    padding: 1px 3px;
    font-size: 8px;
  }
  .incubator-strip {
    gap: 9px;
    padding: 9px 10px;
    min-height: 73px;
  }
  .cradle-thumb {
    width: 48px;
    height: 47px;
  }
  .incubator-meta h3 {
    font-size: 20px;
  }
  .incubator-meta p {
    font-size: 11px;
  }
  .incubator-strip .btn {
    font-size: 12px;
    padding: 6px 8px;
    min-height: 34px;
  }
  .trial-strip {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .trial-strip .trial-crest {
    display: none;
  }
  .trial-strip .btn {
    margin: 2px 0 0;
  }
  .section-head {
    margin-top: 19px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .species-grid,
  .shops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .species,
  .shop,
  .panel,
  .nest-slot {
    padding: 12px;
  }
  .species img {
    height: 92px;
  }
  .species p,
  .shop p {
    font-size: 12px;
  }
  .movement {
    grid-template-columns: 1fr;
  }
  .shop-art {
    height: 72px;
  }
  .shop-art .ico {
    width: 34px;
  }
  .hunt-page {
    padding: 14px 7px;
  }
  .hunt-title {
    flex-wrap: wrap;
  }
  .hunt-tools {
    gap: 6px;
  }
  .hunt-tools .btn {
    font-size: 12px;
    min-height: 33px;
    padding: 5px 8px;
  }
  .hunt-bar p {
    font-size: 13px;
  }
  .hunt-bar .btn {
    white-space: nowrap;
  }
  .camp-strip {
    padding: 10px;
    gap: 8px;
  }
  .camp-strip .textbtn {
    font-size: 12px;
  }
  .nest-slot img {
    height: 85px;
  }
}
@media (max-width: 480px) {
  .intro {
    display: block;
  }
  .hud {
    margin-top: 11px;
  }
  .stat {
    align-items: center;
    flex: 1;
    background: #121d25;
    padding: 6px 9px;
  }
  .stat .stat-icon {
    display: block;
  }
  .stat .stat-icon .ico {
    width: 16px;
  }
  .stat > div {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }
  .stat small {
    font-size: 9px;
  }
  .intro .kicker {
    font-size: 9px;
  }
  .flag {
    top: 13px;
    left: 14px;
  }
  .hero {
    min-height: 264px;
  }
  .hero h2 {
    font-size: 47px;
  }
  .dashboard {
    gap: 10px;
  }
  .incubator-strip .btn .ico {
    display: none;
  }
  .camp-strip img {
    width: 38px;
    height: 35px;
  }
  #dialog-body {
    padding: 16px;
  }
  .question-text {
    font-size: 16px;
  }
  .signal-stakes {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
