/* Слова положения: сцены SVG (кадр 4 : 3, вписывается в рамку), карточки «где?», «найди», «нарисуй», «соедини» */
.po { width: 184mm; height: 100%; display: grid; gap: 3.5mm; }
.po-card { position: relative; min-height: 0; border: 1.2px solid #e3ddd0; border-radius: 4mm; padding: 2.5mm 4mm; display: flex; gap: 4mm; align-items: center; }
.po-no { position: absolute; left: 2mm; top: 2mm; width: 6mm; height: 6mm; border-radius: 50%; background: #e0762e; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 9pt/1 var(--head); z-index: 1; }
.po-pic { position: relative; min-height: 0; }
.po-pic svg, .po-mpic svg { display: block; width: 100%; height: 100%; }
.po-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2.5mm; }
.po-txt b { font: 600 13pt/1.25 var(--head); color: #1f2a3a; }
.po-opts { display: flex; flex-wrap: wrap; gap: 2mm 3mm; }
.po-opt { font: 600 11.5pt/1.2 var(--body); color: #1f2a3a; border: 1.2px solid #d9cfb8; border-radius: 5mm; padding: 1.5mm 3.5mm; }
.po-opt.po-ok { border: .6mm solid var(--teal); color: var(--teal); }
/* где? — ряды на всю ширину: картинка слева, вопрос и варианты справа */
.po-where { grid-template-rows: repeat(var(--rows, 6), minmax(0, 1fr)); }
.po-where.po-n4 { --rows: 4; }
.po-where.po-n6 { --rows: 6; }
.po-where .po-pic { flex: none; width: 58mm; height: 100%; }
.po-where.po-n4 .po-pic { width: 66mm; }
.po-where.po-n4 .po-opt { font-size: 13pt; }
/* найди — фраза сверху, три картинки с буквами */
.po-find { grid-template-rows: repeat(var(--rows, 4), minmax(0, 1fr)); }
.po-find.po-n3 { --rows: 3; }
.po-find .po-card { flex-direction: column; align-items: stretch; gap: 2mm; padding-top: 2mm; }
.po-find .po-txt { flex: none; padding-left: 7mm; }
.po-pics { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.po-pics .po-pic { height: 100%; border: 1.2px solid #ece5d4; border-radius: 3mm; padding: 1mm 1mm 1mm 6mm; }
.po-pics .po-pic.po-ok { border: .7mm solid var(--teal); }
.po-let { position: absolute; left: 1.5mm; top: 1.2mm; font: 700 12pt/1 var(--head); color: #8a6a2a; }
/* нарисуй — сетка 2 × 2 или 2 × 3 */
.po-draw { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 3), minmax(0, 1fr)); }
.po-draw.po-n4 { --rows: 2; }
.po-draw.po-n6 { --rows: 3; }
.po-draw .po-card { flex-direction: column; align-items: stretch; padding-top: 2mm; gap: 1.5mm; }
.po-draw .po-txt { flex: none; padding-left: 7mm; }
.po-draw .po-txt b { font-size: 12pt; }
.po-draw .po-pic { flex: 1; width: 100%; }
/* соедини */
.po-match { position: relative; display: flex; flex-direction: column; gap: 0; }
.po-mrow { flex: none; min-height: 0; display: flex; align-items: center; justify-content: space-between; }
.po-mpic { position: relative; width: 70mm; height: 88%; box-sizing: border-box; padding: 1mm 2mm 1mm 8mm; border: 1.2px solid #e3ddd0; border-radius: 3mm; }
.po-mtxt { position: relative; width: 88mm; height: 70%; box-sizing: border-box; display: flex; align-items: center; padding: 0 4mm; border: 1.2px solid #e3ddd0; border-radius: 3mm; font: 600 12pt/1.25 var(--body); color: #1f2a3a; }
.po-dot { position: absolute; top: 50%; width: 3.2mm; height: 3.2mm; margin-top: -1.6mm; border-radius: 50%; background: #1f2a3a; }
.po-mpic .po-dot { right: -1.6mm; }
.po-mtxt .po-dot { left: -1.6mm; }
.po-lines { position: absolute; left: 0; top: 0; pointer-events: none; }
.po-lines line { stroke: var(--teal); stroke-width: .8; stroke-linecap: round; }
