.places-lesson {
  display: grid;
  gap: 18px;
}

.places-lesson .rule-tile strong {
  color: var(--accent-strong);
}

.conjugation-table,
.vocab-grid,
.pattern-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.conjugation-table span,
.vocab-card,
.pattern-table div {
  padding: 9px 10px;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.pattern-table div {
  display: grid;
  gap: 3px;
}

.pattern-table span,
.vocab-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.phrase-panel,
.sentence-builder,
.mini-scene {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.mini-scene {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  background: #eef8f8;
  border-color: rgba(46, 111, 122, .28);
}

.place-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.place-card,
.rendezvous-box {
  padding: 12px;
  border: 1px solid rgba(46, 111, 122, .25);
  border-radius: 8px;
  background: #fff;
}

.place-card {
  min-height: 116px;
}

.place-card h3,
.rendezvous-box h2 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 18px;
}

.place-card p,
.rendezvous-box p {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.rendezvous-box {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.rendezvous-box p {
  font-size: 15px;
  font-weight: 800;
}

.phrase-list,
.exercise-list {
  display: grid;
  gap: 8px;
}

.phrase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.phrase-row.is-speaking {
  border-color: rgba(176, 118, 36, .55);
  background: #fff8e6;
}

.phrase-row strong {
  color: var(--ink);
  line-height: 1.35;
}

.phrase-row span {
  display: none;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.phrase-row.show-ru span {
  display: block;
}

.mini-button {
  min-width: 42px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mini-button.secondary {
  background: #706451;
}

.mini-button.is-speaking,
.action-link.is-speaking {
  background: #9a4852;
  color: #fff;
}

.builder-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.builder-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 800;
}

.builder-controls select,
.exercise-line select {
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.built-sentence {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.exercise-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.exercise-card.is-correct {
  border-color: rgba(85, 120, 90, .7);
  background: #f1f8ef;
}

.exercise-card.is-wrong {
  border-color: rgba(154, 72, 82, .6);
  background: #fff1f2;
}

.exercise-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.feedback-line {
  min-height: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .mini-scene,
  .place-map {
    grid-template-columns: 1fr;
  }
}
