.mmk-korsord {
  margin: 1.2rem 0;
  color: #1e1a17;
  font-family: Georgia, "Times New Roman", serif;
}

.mmk-wrap {
  border: 1px solid #b7afa6;
  background: #f7f2e8;
  padding: 1rem;
}

.mmk-wrap.mmk-win-flash {
  animation: mmkWinFlash 700ms ease;
}

@keyframes mmkWinFlash {
  0% { box-shadow: 0 0 0 rgba(35, 130, 61, 0); }
  35% { box-shadow: 0 0 0 6px rgba(35, 130, 61, 0.35); }
  100% { box-shadow: 0 0 0 rgba(35, 130, 61, 0); }
}

.mmk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.mmk-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.mmk-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mmk-controls button {
  border: 1px solid #3c342e;
  background: #fff;
  color: #2a2521;
  padding: 0.35rem 0.6rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.mmk-controls button:hover {
  background: #ece4d5;
}

.mmk-solved-note {
  display: inline-block;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f6a31;
  margin-right: 0.2rem;
}

.mmk-solved-note.show {
  opacity: 1;
  transform: translateY(0);
}

.mmk-body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 320px);
  gap: 1rem;
}

.mmk-grid-wrap {
  overflow-x: auto;
  background: #e7dfd1;
  padding: 0.5rem;
  border: 1px solid #b8ae9f;
}

.mmk-grid {
  border-collapse: collapse;
  margin: 0;
  background: #fff;
}

.mmk-grid td {
  width: 2rem;
  height: 2rem;
  border: 1px solid #1b1714;
  position: relative;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}

.mmk-grid .mmk-black {
  background: #111;
}

.mmk-grid .mmk-cell {
  background: #fff;
  outline: none;
  cursor: text;
}

.mmk-grid .mmk-cell.active {
  background: #f6ecd0;
}

.mmk-grid .mmk-cell.word-focus {
  background: #fbf3dd;
}

.mmk-grid .mmk-cell.correct {
  background: #d7f2d8;
}

.mmk-grid .mmk-cell.wrong {
  background: #ffd8d8;
}

.mmk-num {
  position: absolute;
  top: 1px;
  left: 2px;
  font-size: 0.56rem;
  line-height: 1;
  color: #2f2a26;
}

.mmk-letter {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
}

.mmk-clues {
  border: 1px solid #b8ae9f;
  background: #fffdf8;
  padding: 0.7rem;
}

.mmk-clue-section + .mmk-clue-section {
  margin-top: 0.7rem;
}

.mmk-clue-section h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.mmk-clue-section ol {
  margin: 0;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .mmk-body {
    grid-template-columns: 1fr;
  }
}
