.chordate-expedition .chord-quest-title { gap: 12px; }
.chordate-question-art {
  width: clamp(58px, 12vw, 92px);
  height: 48px;
  flex: none;
  object-fit: contain;
  border-radius: 6px;
}
.chordate-expedition .chord-modal {
  overflow-y: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.chordate-expedition .chord-card {
  box-sizing: border-box;
  max-height: 100%;
  overflow-y: auto;
  touch-action: pan-y;
  gap: 8px;
}
.chordate-passport-art {
  display: block;
  width: 100%;
  height: clamp(68px, 19vh, 168px);
  object-fit: contain;
  flex: none;
}
.chordate-expedition .chord-card-btn { flex-shrink: 0; }

.fish-anatomy-puzzle {
  max-width: 880px;
  padding: clamp(10px, 2vw, 22px);
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.fish-anatomy-puzzle .bld-center { flex: 0 0 auto; gap: 10px; padding: 0; }
.fish-anatomy-puzzle .bld-art-card { width: 100%; max-width: 500px; min-width: 0; }
.fish-anatomy-puzzle .bld-art-meta { padding: 0; }
.fish-anatomy-puzzle .bld-art-sub:empty { display: none; }
.fish-anatomy-puzzle .bld-art-img {
  width: 100%;
  max-width: none;
  height: clamp(100px, 19vh, 180px);
  margin: 6px 0;
}
.fish-anatomy-puzzle .bld-art-img .chordate-picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fish-anatomy-puzzle .bld-eq {
  width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(16px, 2.5vw, 25px);
}
.fish-anatomy-puzzle > .g-options { flex-shrink: 0; gap: 10px; }
.fish-anatomy-puzzle .g-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  padding: 8px;
  gap: 6px;
  font-size: clamp(14px, 2.5vw, 19px);
}
.fish-anatomy-puzzle .g-opt .chordate-picture {
  width: min(100%, 154px);
  height: clamp(58px, 9vh, 84px);
  object-fit: contain;
  user-select: none;
}
.micro-hero-banner .microscope-classic-btn {
  background: linear-gradient(135deg, #137e54, #219c65) !important;
  box-shadow: 0 5px 0 #0c5938, 0 10px 20px rgba(11, 94, 64, .25) !important;
}
@media (max-width: 430px) {
  .chordate-expedition .chord-card { padding: 12px; }
  .chordate-expedition .chord-card-h1 { font-size: 19px; }
  .chordate-expedition .chord-card-sub { font-size: 12px; }
  .chordate-expedition .chord-card-row { font-size: 13px; }
  .fish-anatomy-puzzle .bld-eq { padding: 9px; }
  .fish-anatomy-puzzle .g-opt { min-height: 91px; }
}
@media (min-width: 640px) and (max-height: 500px) {
  .fish-anatomy-puzzle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    align-items: start;
  }
  .fish-anatomy-puzzle .bld-center { grid-row: 1 / span 2; }
  .fish-anatomy-puzzle > .g-msg { grid-column: 2; margin: 0; }
  .fish-anatomy-puzzle .bld-art-img { height: 84px; }
  .fish-anatomy-puzzle .g-opt { min-height: 84px; }
  .chordate-question-art { height: 34px; }
  .chordate-expedition .chord-hint { font-size: 11px; }
}

@media (max-width: 600px), (max-height: 550px) {
  .micro-jr-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    box-sizing: border-box;
  }
  .micro-jr-wrap .micro-jr-hud,
  .micro-jr-wrap .micro-jr-guide-card,
  .micro-jr-wrap .micro-jr-bottom {
    position: relative !important;
    inset: auto !important;
    flex-shrink: 0;
  }
  .micro-jr-wrap .micro-jr-hud { order: -2; }
  .micro-jr-wrap .micro-jr-guide-card {
    order: -1;
    max-width: none !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
  }
  .micro-jr-wrap .micro-jr-canvas {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 0 !important;
    flex: 1 1 0;
    min-height: 0;
  }
  .micro-jr-wrap .micro-jr-focus { max-width: 100%; box-sizing: border-box; }
  .micro-jr-wrap .micro-jr-focus input {
    width: clamp(72px, 31vw, 210px) !important;
    min-width: 0;
  }
}

.chordate-expedition .chord-zone-pill:last-child { flex: none; }
.chordate-expedition .chord-fire-btn {
  position: static;
  align-self: center;
  flex: none;
  max-width: calc(100% - 16px);
  margin: 5px 0;
  min-height: 42px;
  padding: 7px 18px;
  transform: none;
  white-space: normal;
}
.chordate-expedition .chord-fire-btn:active { transform: scale(.98); }
@media (max-width: 600px), (max-height: 550px) {
  .micro-jr-wrap .micro-jr-hud > div {
    padding: 5px 8px !important;
    gap: 3px !important;
  }
  .micro-jr-wrap .micro-jr-hud > div > div:first-child > div > div {
    font-size: 13px !important;
  }
  .micro-jr-wrap .micro-jr-hud > div > div:last-child > div {
    padding: 3px 8px !important;
    font-size: 13px !important;
  }
}
@media (min-width: 640px) and (max-height: 550px) {
  .micro-jr-wrap {
    display: grid;
    grid-template-columns: minmax(200px, 34%) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  .micro-jr-wrap .micro-jr-hud { grid-column: 1; grid-row: 1; }
  .micro-jr-wrap .micro-jr-guide-card { grid-column: 1; grid-row: 2; align-self: start; }
  .micro-jr-wrap .micro-jr-bottom { grid-column: 1; grid-row: 3; }
  .micro-jr-wrap .micro-jr-focus { flex-wrap: wrap; padding: 5px 12px !important; gap: 5px !important; }
  .micro-jr-wrap .micro-jr-focus input { width: clamp(72px, 15vw, 210px) !important; }
  .micro-jr-wrap .micro-jr-canvas { grid-column: 2; grid-row: 1 / -1; height: 100% !important; }
  .chordate-expedition .chord-fire-btn { min-height: 34px; margin: 3px 0; }
}
