.mm5-game .mm5-hero{background:linear-gradient(120deg,#fff7dc,#ffcf8a)}.mm5-hero-art{font-size:7rem;filter:drop-shadow(5px 9px 0 #d39c40)}.mm5-subtle{color:#70657c;font-size:.87rem;line-height:1.55}.mm5-notice{background:#d9f7e0;color:#244c3a;padding:15px;border-radius:15px;border:2px solid #9bdcb0;font-weight:800;margin:16px 0}.mm5-label{font-weight:800;display:block;margin:16px 0 8px}.mm5-select{padding:12px;width:100%;background:#fff;border:2px solid #e6cfaa;border-radius:12px;font:inherit;color:#2c294b}.mm5-slider{margin:20px 0}.mm5-line{padding:12px 0;border-bottom:1px solid #ead7b9;display:flex;justify-content:space-between;align-items:center;gap:14px}.mm5-line>b{display:inline-flex;gap:5px;align-items:center}.mm5-remaining{border-top:2px solid #cfb78b;font-weight:800}.mm5-game .mm3-panel{min-width:0}.mm5-game textarea{width:100%;min-height:150px;padding:15px;border:2px solid #dfc5a4;border-radius:15px;font:inherit;resize:vertical}.mm5-diagnostic-answer{background:#fff2d3;padding:15px;border-radius:15px}.mm5-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.mm5-three>div{background:white;border-radius:12px;padding:14px;font-size:.83rem}.mm5-three b{display:block;font-size:1.3rem;color:#30264b}.mm5-game .positive{color:#15946e}.mm5-game .negative{color:#b93a42}.mm5-game .mm3-actions{flex-wrap:wrap}.mm5-game select:focus-visible,.mm5-game textarea:focus-visible{outline:3px solid #8958ec;outline-offset:2px}.mm5-game .mm4-choice{min-height:100px}.mm5-game .mm3-win .mm3-trophy{font-size:4rem}@media(max-width:800px){.mm5-hero-art{font-size:4rem}}@media(max-width:560px){.mm5-three{grid-template-columns:1fr}.mm5-hero-art{display:none}}

/* v5.0.1 — restore the Round 4 visual patterns on the Round 5 screen.
   Round 5 uses .mm4-hero / .mm4-formline markup but not .mm4-game,
   so the earlier ancestor-specific selectors did not match. */
.mm5-game .mm5-hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:30px 38px;
  margin:0 0 26px;
  background:linear-gradient(115deg,#fff8e4 0%,#ffdf92 100%);
  border:3px solid #fff;
  border-radius:28px;
  box-shadow:0 9px 0 #ce9e66;
  color:#302b51;
}
.mm5-game .mm5-hero > div:first-child { min-width:0; flex:1 1 auto; }
.mm5-game .mm5-hero h2 {font-size:clamp(1.55rem,2.6vw,2.45rem);line-height:1.18;margin:18px 0 14px;}
.mm5-game .mm5-hero p {font-size:1rem;line-height:1.65;max-width:760px;margin:0 0 12px;color:#5d5773;}
.mm5-game .mm5-hero-art {flex:0 0 170px;text-align:center;line-height:1;font-size:clamp(5rem,9vw,8rem);}
.mm5-game .mm5-slider {margin:24px 0 30px;}
.mm5-game .mm4-formline {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;}
.mm5-game .mm4-formline label {display:block;margin:0;font-weight:800;}
.mm5-game .mm4-formline output {font-size:1.28rem;font-weight:900;color:#723ac7;white-space:nowrap;}
.mm5-game input[type="range"] {display:block;width:100%;max-width:100%;min-width:0;accent-color:#865be9;cursor:pointer;margin:4px 0 14px;}
.mm5-game input[type="range"]:disabled {cursor:default;opacity:.65;}
.mm5-game .mm5-slider input[type="range"]::-webkit-slider-runnable-track {height:8px;border-radius:30px;}
.mm5-game .mm5-slider input[type="range"]::-moz-range-track {height:8px;border-radius:30px;}
.mm5-game .mm5-slider input[type="range"]::-webkit-slider-thumb {cursor:pointer;}
.mm5-game .mm5-slider input[type="range"]::-moz-range-thumb {cursor:pointer;}
.mm5-game .mm3-panel,.mm5-game .mm3-left,.mm5-game .mm3-right {min-width:0;}
.mm5-game .mm3-panel {overflow-wrap:break-word;}
.mm5-game .mm5-line {min-width:0;}
.mm5-game .mm5-line > b {text-align:right;flex-wrap:wrap;justify-content:flex-end;}
.mm5-game .mm5-line .mmhelp-btn {flex:0 0 auto;}
.mm5-game .mm3-actions {margin-top:18px;}
.mm5-game .mm3-actions .btn {max-width:100%;}
@media (max-width:900px) {
  .mm5-game .mm5-hero {padding:25px;}
  .mm5-game .mm5-hero-art {flex-basis:110px;font-size:5.5rem;}
}
@media (max-width:800px) {
  .mm5-game .mm3-layout {grid-template-columns:minmax(0,1fr);}
}
@media (max-width:560px) {
  .mm5-game .mm5-hero {padding:21px;}
  .mm5-game .mm5-hero-art {display:none;}
  .mm5-game .mm4-formline {align-items:flex-start;}
  .mm5-game .mm4-formline output {font-size:1.1rem;}
  .mm5-game .mm3-actions {justify-content:stretch;}
  .mm5-game .mm3-actions .btn {flex:1 1 150px;}
}

/* v5.0.2: Round 4 / Round 5 visual parity. Cosmetic only. */
.mm5-game .mm3-layout { align-items:start; gap:22px; }
.mm5-game .mm3-left,.mm5-game .mm3-right { min-width:0; }
.mm5-game .mm3-panel { padding:27px; margin-bottom:20px; border:3px solid #fff; border-radius:28px; box-shadow:0 7px 0 #ce9e66; }
.mm5-game .mm3-panel h2 { font-size:1.65rem; line-height:1.25; margin:0 0 12px; }
.mm5-game .mm3-panel h3 { font-size:1.22rem; line-height:1.3; margin:10px 0 15px; }
.mm5-game .mm4-choices { gap:13px; margin:18px 0; }
.mm5-game .mm4-choice { padding:18px; border-radius:20px; }
.mm5-game .mm4-choice strong { line-height:1.35; }
.mm5-game .mm4-choice small { line-height:1.48; }
.mm5-game .mm5-label { margin:18px 0 10px; }
.mm5-game .mm5-select { min-height:51px; font-family:inherit; font-size:1rem; }
.mm5-game .mm5-slider { margin:22px 0 26px; }
.mm5-game .mm4-formline { margin:18px 0 10px; }
.mm5-game .mm4-formline output { color:#6338a5; }
.mm5-game input[type="range"] { margin:4px 0 27px; accent-color:#8b5ce9; }
.mm5-game .mm5-line { line-height:1.45; }
.mm5-game .mm5-subtle { line-height:1.55; }
.mm5-game textarea { box-sizing:border-box; display:block; margin:12px 0 7px; min-height:145px; }
.mm5-game .mm3-actions { gap:12px; }
@media (max-width:900px) {
  .mm5-game .mm3-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px) {
  .mm5-game .mm3-panel { padding:20px; }
  .mm5-game .mm4-choices { grid-template-columns:minmax(0,1fr); }
  .mm5-game .mm5-line { align-items:flex-start; }
  .mm5-game .mm5-line > b { max-width:60%; }
  .mm5-game .mm3-actions { flex-wrap:wrap; }
}

/* v5.0.3 — use Round 4's clean native slider proportions and reliable pointer interaction. */
.mm5-game .mm5-slider input[type="range"] {
  box-sizing:border-box;
  display:block;
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:24px;
  padding:0;
  margin:0 0 23px;
  border:0;
  background:transparent;
  touch-action:pan-y;
  cursor:pointer;
  accent-color:#8b5ce9;
}
.mm5-game .mm5-slider input[type="range"]::-webkit-slider-runnable-track {
  height:7px;background:#e7e4e8;border:1px solid #c7bdcf;border-radius:50px;
}
.mm5-game .mm5-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance:none;appearance:none;
  height:18px;width:18px;border:0;border-radius:50%;
  background:#875bee;box-shadow:0 1px 2px #765f9155;margin-top:-6px;
}
.mm5-game .mm5-slider input[type="range"]::-moz-range-track {
  height:7px;background:#e7e4e8;border:1px solid #c7bdcf;border-radius:50px;
}
.mm5-game .mm5-slider input[type="range"]::-moz-range-progress {
  height:7px;background:#875bee;border-radius:50px;
}
.mm5-game .mm5-slider input[type="range"]::-moz-range-thumb {
  height:18px;width:18px;border:0;border-radius:50%;background:#875bee;
}
.mm5-game #mm5-budget-warning[hidden] {display:none!important;}
.mm5-game .mm5-slider .mm4-formline {margin:0 0 8px;}
