/* Reading Library 1.0.0 */

/* Yes / No badge */
.tarot-yesno { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 12px auto 20px; padding: 16px 20px; max-width: 320px; border-radius: 12px; text-align: center; border: 2px solid currentColor; }
.tarot-yesno-label { font-size: 2em; font-weight: 700; line-height: 1.1; letter-spacing: .02em; }
.tarot-yesno-card { font-size: .9em; opacity: .85; }
.tarot-yesno-yes { color: #1f7a4d; background: rgba(31, 122, 77, .08); }
.tarot-yesno-no { color: #a3332f; background: rgba(163, 51, 47, .08); }
.tarot-yesno-not-yet, .tarot-yesno-maybe { color: #8a6a12; background: rgba(138, 106, 18, .08); }

/* Moon phase */
.tarot-moon-phase { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; background: rgba(0, 0, 0, .04); }
.tarot-moon-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbe8, #e9dfb8 var(--tarot-moon-lit, 50%), #2b2b3a calc(var(--tarot-moon-lit, 50%) + 1%)); box-shadow: 0 0 12px rgba(233, 223, 184, .5); }
.tarot-moon-text p { margin: 0 0 4px; }
.tarot-moon-name { font-weight: 700; font-size: 1.2em; }
.tarot-moon-reader-intro { text-align: center; font-style: italic; }

/* Birth cards */
.tarot-birth-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.tarot-birth-form label { width: 100%; font-weight: 600; margin-top: 8px; }
.tarot-birth-form input, .tarot-birth-form select { min-height: 40px; }
.tarot-birth-note { width: 100%; font-size: .9em; opacity: .75; margin: 4px 0 0; }
.tarot-birth-status, .tarot-journal-status { margin: 12px 0; min-height: 1.2em; }
.tarot-birth-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 24px 0; }
.tarot-birth-card { flex: 0 1 220px; width: 220px; max-width: 100%; margin: 0; padding: 0; text-align: center; }
/* !important: some themes cap image sizes inside content */
.tarot-birth-card img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.tarot-birth-caption { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.tarot-birth-position { font-size: .8em; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }

/* Journal */
.tarot-journal { padding: 16px; border-radius: 12px; background: rgba(0, 0, 0, .04); }
.tarot-journal-cost { font-weight: 600; }
.tarot-journal-button, .tarot-birth-submit { cursor: pointer; }

@media (max-width: 480px) {
    .tarot-birth-card { width: 42%; }
}
