/* 굿즈 이미지(폰 배경화면·프로필) — index.html 카드 화면 전용. 공통 모양은 style.css. */
.goods h2 { margin-top: 0; }
.goods-designs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.goods-designs button { flex: 1 1 96px; min-height: 44px; }
.goods-designs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent, #fff); border-color: transparent; }
.goods-designs button:disabled { opacity: 0.7; }
.goods-designs .lock { margin-left: 4px; font-size: 12px; }
.goods-previews { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0; }
.goods-previews figure { margin: 0; flex: 1 1 0; min-width: 0; }
.goods-previews figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; }
.goods-previews canvas { width: 100%; height: auto; }
.goods-previews .wall { flex: 0 0 34%; }
/* 말풍선 스티커 */
.goods h3 + .hint { margin-top: 0; }
.sticker-lines { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.sticker-lines button { min-height: 44px; text-align: left; white-space: normal; }
.sticker-lines button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent, #fff); border-color: transparent; }
.goods-sticker { margin: 8px auto; max-width: 260px; }
.goods-sticker canvas { width: 100%; height: auto; border: 1px dashed var(--line); border-radius: 16px; }
.goods-sticker figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; }
/* 화자 말풍선: 카드의 한 줄 풀이를 캐릭터가 말한다 */
.say { position: relative; margin-top: 14px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg, transparent); }
.say::before { content: ""; position: absolute; top: -8px; left: 28px; width: 14px; height: 14px; background: inherit; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.say .speaker { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.say .lines { margin-top: 4px; }
/* 시각을 모를 때: 채워진 일주 칸 + 비어 있는 시주 칸 */
.pillar-slots { margin-top: 12px; }
.pillar-slots .slots { display: flex; gap: 10px; }
.pillar-slots .slot { margin: 0; flex: 0 0 84px; text-align: center; }
.pillar-slots .slot-name { display: block; font-size: 12.5px; color: var(--muted); }
.pillar-slots .slot-box { display: flex; align-items: center; justify-content: center; height: 56px; margin-top: 4px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 18px; }
.pillar-slots .shadow .slot-box { border-style: dashed; color: var(--muted); opacity: 0.8; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }
.pillar-slots .hint { margin: 6px 0 0; font-size: 12.5px; }
/* 이 짜임이 얼마나 드문가 */
.rare .hint { margin: 6px 0; font-size: 12.5px; }
.rare .rare-count { margin: 8px 0 0; font-weight: 700; }
.rare .rare-line { margin: 4px 0; font-size: 18px; font-weight: 700; }
/* 만세력·미니 테스트 링크 칸(index.html #more-views) — 궁합 진입 칸(.topics)과 같은 모양, 클래스는 따로 */
.more-views { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; }
.more-views p { margin: 0; }
.more-views p + p { margin-top: 8px; }
.more-views a.button { display: flex; width: 100%; min-height: 50px; font-size: 17px; }
.more-views .hint { margin: 6px 0 0; font-size: 12.5px; }
