/* AI group photo card on Settle-up and its sheet (replica-groupphoto.js). */
.gp-card { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 12px 16px 0; padding: 10px 14px 10px 10px;
  border-radius: 16px; background: var(--paper, #fff8ec); color: var(--ink, #2a1d14); text-align: left; border: 1px solid rgba(0,0,0,.08); }
.gp-card .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-card small { opacity: .7; }
.gp-thumb, .gp-ph { width: 54px; height: 96px; border-radius: 10px; object-fit: cover; flex: none; }
.gp-ph { display: grid; place-items: center; background: rgba(0,0,0,.06); }
.gp-full { display: flex; flex-direction: column; gap: 14px; align-items: center; }
/* tarot card: navy card, gold double line, corner flourishes, numeral, logo plate */
.gp-tarot { --gold: #d9b45a; position: relative; width: 100%; max-width: 340px; margin: 0; padding: 30px 14px 12px; border-radius: 16px;
  background: #16182e; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 6px #16182e, inset 0 0 0 7px var(--gold), 0 8px 24px rgba(0,0,0,.35); }
.gp-num { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font: 600 14px/1 'Chonburi', serif; letter-spacing: .3em; }
.gp-pic { position: relative; border: 1.5px solid var(--gold); border-radius: 4px; overflow: hidden; }
.gp-pic img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gp-c { position: absolute; width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.gp-c svg { width: 100%; height: 100%; display: block; }
.gp-c.tl { top: 4px; left: 4px } .gp-c.tr { top: 4px; right: 4px; transform: scaleX(-1) }
.gp-c.bl { bottom: 4px; left: 4px; transform: scaleY(-1) } .gp-c.br { bottom: 4px; right: 4px; transform: scale(-1) }
.gp-plate { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 7px 10px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.gp-plate img { width: 26px; height: 26px; border-radius: 6px; }
.gp-plate b { font: 600 15px/1.35 'Prompt', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-words { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.gp-app { font: 600 10px/1.2 'Chonburi', serif; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }

/* B: ivory card, arched photo, wine ribbon */
.gp-tarot.b { --gold: #7a1f2b; background: #f3e7cf; box-shadow: inset 0 0 0 2px #b8913f, inset 0 0 0 7px #f3e7cf, inset 0 0 0 8px #b8913f, 0 8px 24px rgba(0,0,0,.35); }
.gp-tarot.b .gp-pic { border: 2px solid #b8913f; border-radius: 160px 160px 6px 6px; }
.gp-tarot.b .gp-c { display: none; }
.gp-tarot.b .gp-num { color: #7a1f2b; }
.gp-tarot.b .gp-plate { position: relative; margin: -22px 6px 0; border: 0; background: #7a1f2b; color: #f3e7cf; border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); padding: 9px 24px; }

/* C: black art deco, cut corners, sunburst numeral */
.gp-tarot.c { --gold: #e2c06b; background: #0d0d0f; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 5px #0d0d0f, inset 0 0 0 6px var(--gold), 0 8px 24px rgba(0,0,0,.35); padding-top: 44px; }
.gp-tarot.c .gp-num { top: 8px; left: 50%; right: auto; transform: translateX(-50%); width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%; font-size: 10px; letter-spacing: .05em;
  background: repeating-conic-gradient(rgba(226,192,107,.25) 0 6deg, transparent 6deg 18deg) , #0d0d0f; }
.gp-tarot.c .gp-pic { border: 0; border-radius: 0; padding: 3px; background: var(--gold);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px); }
.gp-tarot.c .gp-pic img { clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px); }
.gp-tarot.c .gp-c { display: none; }
.gp-tarot.c .gp-plate { flex-direction: column; gap: 4px; border: 0; padding: 8px 0 2px; }
.gp-tarot.c .gp-words { align-items: center; }
.gp-acts { display: flex; gap: 10px; width: 100%; max-width: 360px; }
.gp-acts > * { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
