/* Card builder (Round 7): each layout's card is drawn on the canvas by cards.js; this file only styles the stage around it.
   The base studio grid lives in styles.css (.card-studio, .card-paper). */
.card-stage{flex-direction:column;align-items:center;gap:12px}
.card-paper{background:transparent;overflow:hidden}
.card-paper canvas{transition:opacity .25s ease}
.card-paper[data-ready="false"] canvas{opacity:.92}
.card-match{margin:0;max-width:min(100%,420px);font-size:12px;line-height:1.45;color:var(--muted);text-align:center}
@media(max-width:860px){.card-match{max-width:min(100%,360px)}}
@media(prefers-reduced-motion:reduce){.card-paper canvas{transition:none}}
/* R19 (decision 125): picture on the card (design picture or one of the couple's site photos) and its look */
.card-pics,.card-looks{border:0;margin:14px 0 0;padding:0;min-width:0}
.card-pics legend,.card-looks legend{font-size:13px;font-weight:600;margin:0 0 8px;padding:0}
.card-pic-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.card-pic,.card-lk{position:relative;margin:0}
.card-pic input,.card-lk input{position:absolute;opacity:0;width:1px;height:1px}
.card-pic span{display:grid;gap:6px;justify-items:center;padding:6px;border:1px solid var(--line,#d9d6cc);border-radius:10px;background:#fff;cursor:pointer;min-height:44px;text-align:center}
.card-pic img,.card-pic i{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:#ece8de}
.card-pic b{font-size:12px;font-weight:500;line-height:1.25}
.card-pic input:checked+span,.card-lk input:checked+span{border-color:#1b2a48;box-shadow:inset 0 0 0 1px #1b2a48;background:#eef1ea}
.card-pic input:focus-visible+span,.card-lk input:focus-visible+span{outline:3px solid #e9a23b;outline-offset:2px}
.card-looks{display:flex;flex-wrap:wrap;gap:8px}
.card-looks legend{width:100%}
.card-lk span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line,#d9d6cc);border-radius:999px;background:#fff;font-size:13px;cursor:pointer}
