/* Scoped to the new game; other games keep their own rules. */
.mk-game { max-width: 680px; margin: auto; color: #345340; }
.mk-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.mk-toolbar button { border: 1px solid #cbdabd; border-radius: 9px; background: #f7faee; color: #416047; padding: 9px 12px; min-height: 40px; cursor: pointer; font: inherit; }
.mk-toolbar button:disabled { opacity: .45; cursor: default; }
.mk-toolbar button[aria-pressed="true"] { background: #e3efd3; border-color: #789d60; }
.mk-score { font-size: 16px; }
.mk-toolbar [data-mk="hearts"] { color: #bd6b55; letter-spacing: 2px; }
.mk-mission { text-align: center; padding: 12px 16px; background: #fff5db; border: 1px solid #edddb7; border-radius: 14px 14px 0 0; }
.mk-mission > span { display: block; font-size: 12px; color: #967947; }
.mk-mission strong { display: block; font-size: 23px; color: #5a663a; line-height: 1.5; overflow-wrap: anywhere; }
.mk-mission small { font-size: 12px; color: #7e865f; }
.mk-field { height: 340px; position: relative; overflow: hidden; background: #e2efda; border: 1px solid #b8cfa6; border-radius: 0 0 18px 18px; touch-action: pan-y; }
.mk-canopy { position: absolute; left: 0; right: 0; top: 0; font-size: 37px; text-align: center; opacity: .45; letter-spacing: 25px; pointer-events: none; }
.mk-tracks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); pointer-events: none; }
.mk-tracks i { border-right: 2px dashed #b9d0a5; background: linear-gradient(180deg,transparent,#fbefd080); }
.mk-tracks i:last-child { border: 0; }
.mk-catch-line { position: absolute; bottom: 85px; left: 7px; right: 7px; border-top: 2px dashed #7d9f63; }
.mk-catch-line::after { content: '篮子接住线'; position: absolute; top: 5px; left: 6px; font-size: 10px; color: #758b63; }
.mk-drop { position: absolute; width: 29%; min-height: 48px; padding: 8px 5px; display: flex; align-items: center; justify-content: center; transform: translate(-50%,-50%); border-radius: 12px; font-size: 19px; text-align: center; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; pointer-events: none; }
.mk-word { background: #fffdf1; color: #3c6148; border: 2px solid #a8bc85; box-shadow: 0 4px 0 #839e6538; }
.mk-rock, .mk-banana { font-size: 35px; }
.mk-monkey { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 45px; line-height: 1; transition: left .13s ease-out; pointer-events: none; }
.mk-monkey > span { font-size: 27px; position: absolute; top: -10px; right: -12px; }
.mk-lanes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.mk-lanes button { min-height: 46px; border-radius: 11px; border: 1px solid #bfd0ac; background: #f4f7ed; color: #5c7753; font: inherit; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.mk-lanes button[aria-pressed="true"] { background: #438263; color: #fff; border-color: #438263; box-shadow: 0 3px 0 #2d6048; }
.mk-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; margin-top: 14px; color: #6b805b; }
.mk-message { min-height: 44px; margin: 8px 0 0; font-size: 13px; color: #67745c; line-height: 1.65; }
.mk-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; background: #edf4e5f5; padding: 12px; overflow-y: auto; z-index: 2; }
.mk-overlay[hidden] { display: none; }
.mk-overlay-card { width: 100%; max-width: 470px; margin: auto; text-align: center; }
.mk-big-icon { display: block; font-size: 33px; line-height: 1.1; margin-bottom: 5px; }
.mk-game .mk-overlay h3 { font-size: 20px; color: #3d6244; margin: 5px 0; }
.mk-overlay p { font-size: 13px; margin: 5px 0; }
.mk-overlay ul { text-align: left; font-size: 12px; line-height: 1.7; padding-left: 22px; margin: 8px auto; max-width: 365px; }
.mk-overlay small { display: block; font-size: 11px; color: #7a8568; }
.mk-answer { display: block; color: #3b7354; font-size: 27px; overflow-wrap: anywhere; }
.mk-overlay blockquote { padding: 9px 12px; background: #fffff3; border-left: 3px solid #b4c18b; border-radius: 8px; font-size: 14px; line-height: 1.6; margin: 8px 0; text-align: left; overflow-wrap: anywhere; }
.mk-go { min-height: 44px; padding: 10px 24px; margin-top: 12px; border: 0; border-radius: 11px; background: #397852; color: white; font-size: 15px; font-family: inherit; font-weight: 600; cursor: pointer; }
.mk-go:hover { background: #2a6040; }
@media (max-width: 600px) {
    .mk-toolbar { gap: 6px; font-size: 12px; }
    .mk-toolbar button { padding: 7px 8px; }
    .mk-toolbar [data-mk="hearts"] { letter-spacing: 0; }
    .mk-score { font-size: 13px; }
    .mk-mission { padding: 8px; }
    .mk-mission strong { font-size: 19px; }
    .mk-field { height: 310px; }
    .mk-drop { font-size: 14px; min-height: 46px; padding: 6px 3px; }
    .mk-rock, .mk-banana { font-size: 30px; }
    .mk-lanes { gap: 5px; }
    .mk-lanes button { font-size: 13px; }
    .mk-canopy { letter-spacing: 5px; }
    .mk-game .mk-overlay h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mk-monkey { transition: none; } }
