/* Front (full-width cards with button/credit controls) */
.fanza-compat {background: var(--fc-bg,#fff); border:1px solid var(--fc-border,#e5e7eb); border-radius:10px; padding:14px; padding-bottom: calc(14px + var(--fc-credit-h, 44px)); position:relative;}
.fcp-title {margin:0 0 8px; color: var(--fc-title,#111); font-size:18px; font-weight:700; text-align: var(--fc-align,left);}
.fcp-form {display:grid; gap:10px; margin-bottom:10px;}
.fcp-row label {display:block; font-weight:600; margin-bottom:6px;}
.fcp-dob {display:flex; gap:6px}
.fcp-dob select, .fcp-form select {min-width: 80px;}
.fcp-btn-row {display:flex; justify-content: var(--fc-btn-align,left);}
.fcp-button {background: var(--fc-btn,#2563eb); border: 1px solid rgba(0,0,0,.05); color:#fff; padding:8px 12px; border-radius:6px; cursor:pointer}
.fcp-button:hover {opacity:.92}
.fcp-result-title {font-weight:700; margin: 8px 0; color: var(--fc-result,#111); line-height:1.4;}
.fcp-ttl-1{display:inline-block;}
.fcp-ttl-2{display:inline-block; color:#374151; font-weight:600;}
.fcp-grid {display:block;}
.fcp-card {background:#fff; border:1px solid #e5e7eb; border-radius:10px; overflow:hidden; padding:8px; margin-bottom:10px}
.fcp-card img {width:100%; height:auto; display:block; border-radius:6px; margin-bottom:6px}
.fcp-title-sm {font-size:14px; font-weight:600; line-height:1.4; margin-bottom:4px}
.fcp-meta {font-size:12px; color:#374151}
.fcp-price {font-size:13px; font-weight:700}
.fcp-credit {position:absolute; right:10px; bottom:8px; font-size:12px; color:#6b7280}
.fcp-credit a{color:inherit; text-decoration:underline}
.fcp-error, .fcp-empty {padding:8px; background:#fff6f6; border:1px solid #ffdede; border-radius:6px}

/* fortune */
.fcp-fortune{border:1px dashed #e5e7eb;border-radius:8px;padding:8px 10px;margin:8px 0;background:#fafafa}
.fcp-f-msg{font-weight:700;margin-bottom:4px}
.fcp-f-sub{font-size:12px;color:#374151}
.fcp-f-color{display:inline-block; width:12px; height:12px; border-radius:3px; vertical-align:middle; margin:0 4px -2px 4px; border:1px solid rgba(0,0,0,.1)}
