.lawn-cover::after{background:linear-gradient(transparent,#122c28f0)}
.lawn-model{margin:16px 0 10px;padding:9px;border:1px solid #c8e2c8;border-radius:18px;background:#eff8e6}
.lawn-diagram{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 6px;color:#285342;font-weight:700;min-width:0;width:100%;max-width:300px;justify-self:center}
.lawn-width{grid-column:2;text-align:center}
.lawn-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));aspect-ratio:var(--columns) / var(--rows);border:2px solid #42815a;border-radius:7px;overflow:hidden;background:#d0e7c4}
.lawn-cell{box-shadow:inset 0 0 0 1px #95be8c}
.lawn-cell.filled{background:repeating-linear-gradient(135deg,#f9cd7d 0 6px,#ffdc99 6px 12px);box-shadow:inset 0 0 0 1px #a66d28}
.lawn-key{text-align:center;margin:7px 0 0;color:#285342;font-size:.9rem}
.lawn-rotate{display:block;margin:9px auto 14px}
#answer .choices{grid-template-columns:repeat(3,1fr)}
#hint summary{width:fit-content;cursor:pointer}
@media(max-width:620px){.lawn-cover::after{background:linear-gradient(90deg,#122c28f0,#122c2890 72%,transparent)}}

.picnic-lesson {
  --scene-canvas: #f0f4e5;
  --scene-paper: #fffbee;
  --scene-border: #ccdfb8;
  --scene-action: #286448;
  --scene-action-ink: #fff;
  --scene-action-shadow: #15432e;
  --scene-note: #eef6e7;
}
.lawn-cover { background: #427642; }
.lawn-cover img { object-position: 50% 36%; }
.picnic-lesson .lawn-model {
  border: 3px solid #c8db9d;
  background: radial-gradient(ellipse at 50% 10%, #f0f7d4, #d6e9bf);
}
.picnic-lesson .lawn-grid { border-radius: 0; }
.picnic-lesson .lawn-cell.filled {
  background: repeating-linear-gradient(90deg, #efd097 0 3px, #fbe1a8 3px 5px);
}

.lawn-model .activity-scene {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 8px;
  padding: 0;
}
.lawn-model .activity-character { height: clamp(124px, 40vw, 220px); object-position: center 32%; }
.lawn-height { white-space: nowrap; }
.lawn-model .character-line {
  position: relative;
  margin-top: 6px;
  border: 1px solid #a6bd8d;
  background: #fffdf2;
}
.lawn-model .character-line::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-top: inherit;
  border-left: inherit;
  background: inherit;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .line-arrived { animation: lawn-speech .55s ease-out; }
  @keyframes lawn-speech {
    from { transform: translateY(4px); background: #fff1bf; }
    to { transform: none; background: #fffdf2; }
  }
}
.lawn-result { background: #eaf4d8; border-color: #c8db9d; color: #224c3b; }
.lawn-result h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.lawn-result .equation { margin: 0 0 .4rem; font-size: clamp(1.35rem, 6vw, 2rem); }
