/* Открытки своими руками: заготовка 180 × 130 мм (сзади «открытка от», спереди поздравление и рисунок), пунктир сгиба,
   поздравление и имя ужимаются замером (app.js); лист деталей аппликации 3 × 2 по 55 мм. */
.gc-in { width: 100%; font: 15px var(--body); padding: 7px 10px; border: 2px solid var(--line); border-radius: 10px; box-sizing: border-box; }
.gc-check { display: block; font-size: 14px; margin: 6px 0; }
.gc-wrap { display: flex; flex-direction: column; align-items: center; gap: 5mm; }
.gc-net { position: relative; width: 180mm; height: 130mm; display: grid; grid-template-columns: 90mm 90mm; border: .35mm solid #555; background: #fff; }
.gc-back, .gc-front { position: relative; width: 90mm; height: 130mm; box-sizing: border-box; overflow: hidden; }
.gc-front { border-left: .35mm dashed #888; display: flex; flex-direction: column; padding: 5mm 5mm 4mm; gap: 2mm; }
.gc-fit { display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.gc-fit > span { white-space: nowrap; line-height: 1.15; }
.gc-title { flex: none; height: 19mm; font-size: 24pt; }
.gc-title > span { font-family: var(--head); font-weight: 700; color: #b3405a; white-space: normal; overflow-wrap: break-word; word-break: keep-all; max-width: 100%; }
.gc-bw .gc-title > span { color: #222; }
.gc-pic { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.gc-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.gc-svg { width: 100%; height: 100%; display: block; }
.gc-paste { width: 72mm; height: 86mm; border: .4mm dashed #aab59e; border-radius: 6mm; display: flex; align-items: center; justify-content: center; text-align: center; font: 11pt/1.3 var(--body); color: #777; padding: 4mm; box-sizing: border-box; }
.gc-back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5mm; padding: 14mm 10mm; outline: .3mm solid #e6dcc0; outline-offset: -5mm; }
.gc-from { font: 11pt/1.2 var(--body); color: #666; }
.gc-name { width: 100%; height: 13mm; font-size: 24pt; border-bottom: .3mm solid #999; }
.gc-name > span { font-family: var(--head); font-weight: 600; color: #333; }
.gc-ln { width: 100%; height: 8mm; border-bottom: .3mm solid #bbb; }
.gc-love { font: 30pt/1 var(--head); color: #c7798a; }
.gc-bw .gc-love { color: #444; }
.gc-made { font: 10pt/1.2 var(--body); color: #888; }
.gc-fold { position: absolute; left: 90mm; top: -5.5mm; transform: translateX(-50%); font: 8pt/1 var(--body); color: #777; letter-spacing: .1em; }
.gc-note { margin: 0; text-align: center; font: 10.5pt/1.4 var(--body); color: #555; max-width: 170mm; }
.gc-parts { display: grid; grid-template-columns: repeat(3, 55mm); grid-template-rows: repeat(2, 55mm); gap: 8mm; justify-content: center; }
.gc-part { border: .3mm dashed #ccc; border-radius: 3mm; padding: 2mm; box-sizing: border-box; }
