.moa-explore {
  --mx-ink: #163b37;
  --mx-paper: #fffcf5;
  --mx-blue: #244cc2;
  --mx-line: #cbd5c7;
  --mx-mint: #e5f3e5;
  width: 100%;
  min-width: 0;
  color: var(--mx-ink);
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.moa-explore *, .moa-explore *::before, .moa-explore *::after { box-sizing: border-box; }
.moa-explore .mx-title { font-size: clamp(1.15rem, 2.5vw, 1.65rem); line-height: 1.35; margin: 0 0 16px; color: var(--mx-ink); }
.moa-explore .mx-title:focus { outline: none; }
.moa-explore .mx-maincopy { font-size: 1.08rem; font-weight: 650; }
.moa-explore .mx-desc, .moa-explore .mx-notice, .moa-explore .mx-maincopy { margin: 16px 0; max-width: 68ch; }
.moa-explore .mx-notice { color: #2d5474; font-weight: 650; min-height: 1.25rem; }
.moa-explore .mx-notice:empty { margin: 0; min-height: 0; }
.moa-explore .mx-label, .moa-explore .mx-step { margin: 12px 0 8px; font-size: .9rem; font-weight: 750; }
.moa-explore .mx-step { color: #346159; }
.moa-explore .mx-demo { min-height: 120px; border-radius: 17px; border: 1px solid var(--mx-line); display: flex; flex-wrap: wrap; gap: clamp(5px, 2vw, 18px); align-items: center; justify-content: center; padding: 12px; background-color: #ecf2e5; background-image: radial-gradient(#9cb9aa 1px, transparent 1px); background-size: 16px 16px; }
.moa-explore .mx-demo > span { display: grid; place-items: center; min-width: clamp(31px, 11%, 76px); min-height: 52px; border: 1px solid #c6d7c6; background: var(--mx-paper); border-radius: 12px; font-size: clamp(1.4rem, 6vw, 2.55rem); }
.moa-explore .mx-demo > b { font-size: 1.5rem; padding: 2px; color: #45675e; }
.moa-explore .mx-pair { background: #fff2cc; border-radius: 12px; padding: 11px 15px; margin: 14px 0; }
.moa-explore .mx-pair p { margin: 3px 0 0; }
.moa-explore .mx-btn { margin: 0; min-width: 0; min-height: 44px; border: 1px solid var(--mx-line); border-radius: 12px; background: var(--mx-paper); color: var(--mx-ink); font: inherit; cursor: pointer; text-align: center; padding: 9px 15px; touch-action: manipulation; line-height: 1.35; }
.moa-explore .mx-btn:not(:disabled):hover { border-color: #50746a; background: #f1f5ed; }
.moa-explore .mx-btn:focus-visible { outline: 3px solid #2658d7; outline-offset: 3px; }
.moa-explore .mx-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 750; background: var(--mx-blue); color: white; border-color: var(--mx-blue); }
.moa-explore .mx-primary:not(:disabled):hover { background: #17399f; border-color: #17399f; }
.moa-explore .mx-btn:disabled { cursor: default; opacity: .56; }
.moa-explore .mx-end, .moa-explore .mx-choices, .moa-explore .mx-samples, .moa-explore .mx-traits, .moa-explore .mx-clues { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.moa-explore .mx-end { margin-top: 16px; }
.moa-explore .mx-route-space { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 4vw, 36px); }
.moa-explore .mx-board { display: grid; width: min(100%, 275px); background: #d8dfd2; padding: 5px; border: 1px solid #bfccbe; border-radius: 14px; gap: 3px; }
.moa-explore .mx-cols-3 { grid-template-columns: repeat(3, 1fr); }
.moa-explore .mx-cols-4 { grid-template-columns: repeat(4, 1fr); }
.moa-explore .mx-cols-5 { grid-template-columns: repeat(5, 1fr); }
.moa-explore .mx-cell { min-width: 0; display: grid; place-items: center; aspect-ratio: 1; background: var(--mx-paper); border-radius: 6px; font-size: clamp(15px, 4vw, 28px); line-height: 1; }
.moa-explore .mx-cell.mx-rock { background: #c5cec3; }
.moa-explore .mx-stone { display: block; width: 62%; aspect-ratio: 1.55; clip-path: polygon(0 75%, 20% 24%, 52% 1%, 82% 24%, 100% 79%, 77% 99%, 20% 98%); background: linear-gradient(152deg,#a0b3a6 0 42%,#768a7b 43% 67%,#576c5c 68% 100%); }
.moa-explore .mx-cell.mx-visited { background: #ffe9a8; color: #73591a; font-weight: 800; }
.moa-explore .mx-route-controls { display: grid; justify-items: center; gap: 8px; }
.moa-explore .mx-arrows { display: grid; grid-template: repeat(2, 45px) / repeat(3, 45px); gap: 4px; }
.moa-explore .mx-arrow { font-size: 1.4rem; padding: 3px; font-weight: 750; background: #e7edff; border-color: #bac9f6; color: #173c92; }
.moa-explore .mx-up { grid-column: 2; } .moa-explore .mx-left { grid-row: 2; } .moa-explore .mx-down { grid-area: 2 / 2; } .moa-explore .mx-right { grid-area: 2 / 3; }
.moa-explore .mx-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.moa-explore .mx-comparison figure { min-width: 0; margin: 0; }
.moa-explore .mx-comparison figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; margin-bottom: 5px; font-size: .92rem; }
.moa-explore .mx-route-sequence { display: block; overflow-wrap: anywhere; word-break: break-all; margin-top: 5px; font-size: .91rem; color: #3d5751; max-width: 275px; }
.moa-explore .mx-choice { min-width: 83px; display: grid; justify-items: center; gap: 4px; }
.moa-explore .mx-choice-icon, .moa-explore .mx-animal-icon { font-size: 2rem; line-height: 1.3; }
.moa-explore .mx-choice-icon { color: var(--mx-blue); }
.moa-explore .mx-clues { background: #edf3e7; padding: 10px 12px; border-radius: 12px; margin: 10px 0 13px; }
.moa-explore .mx-clues b { margin-right: 3px; font-size: .87rem; }
.moa-explore .mx-trait { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; line-height: 1.35; }
.moa-explore .mx-animals { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(132px,100%),1fr)); gap: 8px; }
.moa-explore .mx-animal { display: grid; justify-items: start; text-align: start; padding: 12px; gap: 6px; }
.moa-explore .mx-animal .mx-traits { gap: 4px 9px; }
.moa-explore .mx-ranks { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); gap: 6px; }
.moa-explore .mx-rank { display: flex; align-items: center; gap: 10px; padding: 8px; border-bottom: 1px solid var(--mx-line); }
.moa-explore .mx-rank small { display: block; } .moa-explore .mx-pips { margin-inline-start: auto; color: #1f5d4f; white-space: nowrap; font-size: .78rem; }
.moa-explore .mx-samples { margin: 10px 0 16px; }
.moa-explore .mx-samples > div, .moa-explore .mx-sample { min-width: 72px; display: grid; gap: 3px; justify-items: center; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: 12px; padding: 8px 12px; font-size: .88rem; }
.moa-explore .mx-swatch { display: inline-grid; width: 38px; height: 38px; place-items: center; vertical-align: middle; flex: none; }
.moa-explore .mx-shape { display: inline-block; width: 21px; height: 21px; background: var(--mx-fill); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.moa-explore .mx-large { width: 32px; height: 32px; }
.moa-explore .mx-mini { width: .86em; height: .86em; background: currentColor; box-shadow: none; vertical-align: -.01em; }
.moa-explore .mx-circle { border-radius: 100%; } .moa-explore .mx-square { border-radius: 2px; }
.moa-explore .mx-triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.moa-explore .mx-gold { --mx-fill: #f1b41f; } .moa-explore .mx-blue { --mx-fill: #3565cb; } .moa-explore .mx-rose { --mx-fill: #df658a; }
.moa-explore .mx-test-table { border: 1px solid var(--mx-line); border-radius: 12px; overflow: hidden; }
.moa-explore .mx-test-row { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 5px; align-items: center; padding: 6px 10px; font-size: .88rem; }
.moa-explore .mx-test-row + .mx-test-row { border-top: 1px solid var(--mx-line); }
.moa-explore .mx-test-head { background: #eff3e8; } .moa-explore .mx-test-item { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.moa-explore .mx-guess { display: inline-block; font-weight: 650; } .moa-explore .mx-yes { color: #236647; } .moa-explore .mx-no { color: #8a4228; }
.moa-explore .mx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 580px) {
  .moa-explore .mx-route-space { justify-content: center; gap: 10px; }
  .moa-explore .mx-board { width: min(100%, 220px); }
  .moa-explore .mx-comparison .mx-cell { font-size: min(4vw, 20px); border-radius: 3px; }
  .moa-explore .mx-comparison .mx-board { gap: 2px; padding: 3px; border-radius: 8px; }
  .moa-explore .mx-test-row { padding: 6px; font-size: .8rem; }
}
