/* bài học Xe cộ, Rau quả (js/lessons-things.js). Lớp riêng bắt đầu bằng lth- (lt- đã dùng cho Màu sắc, Hình dạng, Con vật) */
body[data-scene="xe-co"] { --sky1: #4FA9FF; --sky2: #DDEEFF; }
body[data-scene="rau-qua"] { --sky1: #FF7A59; --sky2: #FFE9D2; }

/* thẻ lớn: một hình duy nhất, rộng hết thẻ */
.show.lth-show { grid-template-columns: minmax(0, 1fr); }
.lth-tile .emo { pointer-events: none; }
/* 14–15 ô (13–14 hình + ô "Chơi"): điện thoại 5 cột × 3 hàng, máy rộng hơn 8 cột × 2 hàng, màn rất rộng một hàng */
body:is([data-scene="xe-co"], [data-scene="rau-qua"]) .learn { --lr-cols: 5; --lr-rows: 3; --lr-gy: 12px; --lr-extra: 10px; --lr-min: 150px; }
@media (min-width: 621px) {
  body:is([data-scene="xe-co"], [data-scene="rau-qua"]) .learn { --lr-cols: 8; --lr-rows: 2; --lr-max: clamp(56px, 11vh, 84px); --lr-extra: 10px; }
}
@media (min-width: 1040px) and (min-aspect-ratio: 5/4) {
  body:is([data-scene="xe-co"], [data-scene="rau-qua"]) .learn { --lr-cols: 15; --lr-rows: 1; --lr-max: clamp(56px, 11vh, 80px); }
}
/* điện thoại nằm ngang: ẩn lời dẫn như các bài chữ cái để thẻ lớn vừa màn hình */
@media (max-height: 560px) { .lth-intro { display: none; } }
@media (max-width: 350px) and (max-height: 600px) { .lth-intro { display: none; } }

/* ô "Chơi" cuối lưới */
.blocks .lth-playtile { --c: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .04em; padding: 0; background: var(--green); border-color: #fff; color: #fff; }
.lth-playico { display: grid; place-items: center; pointer-events: none; }
.lth-playico svg { display: block; width: .92em; height: .92em; fill: #fff; filter: drop-shadow(0 .06em 0 rgba(30, 42, 94, .3)); }
.lth-playtile b { font: 800 max(11px, .36em)/1 var(--font-ui); text-shadow: 0 1px 0 rgba(30, 42, 94, .35); pointer-events: none; }
@supports not (color: color-mix(in srgb, red, blue)) { .blocks .lth-playtile { --ck: var(--k-green); } }

/* chơi thử: tên dài (“con thuyền”, “quả dưa chuột”) thu chữ để vừa ô hình */
.lth-quiz .lm-wl.lth-l1 { font-size: max(13px, .2em); }
.lth-quiz .lm-wl.lth-l2 { font-size: max(12px, .17em); }
