/* Styles for what the live site adds to the design: painted pictures, the
   "being painted" cards, and the three extra character choices. */

.real-scene { background-size: cover; background-position: center; background-image: none; }
.pending-scene { background-image: none; background: linear-gradient(110deg, #ece9dc 30%, #f6f3e8 50%, #ece9dc 70%); background-size: 220% 100%; animation: talePaint 1.8s linear infinite; display: flex; align-items: center; justify-content: center; }
.pending-scene span { font: 600 13px var(--font-body); color: #6c7767; text-align: center; padding: 0 12%; line-height: 1.5; }
.book-cover-small .pending-scene span, .cover-scene.pending-scene span { font-size: 11px; }
@keyframes talePaint { from { background-position: 120% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .pending-scene { animation: none; } }

.choice-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-pill { min-width: 52px; padding: 10px 16px; background: #fffdf8; border: 1px solid #d9dbcf; border-radius: 999px; cursor: pointer; color: var(--ink); font: 600 14px var(--font-body); transition: background .16s, border-color .16s; }
.choice-pill:hover { border-color: #9fb0a0; }
.choice-pill.is-selected { background: #eef2e9; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.choice-pill:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.reveal-art-inner.has-sheet { display: block; }
.reveal-sheet { display: block; width: 100%; max-width: 510px; margin: 0 auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px #30382a1f; animation: taleReveal .65s ease both; }
.reveal-waiting { position: relative; isolation: isolate; opacity: .45; filter: grayscale(.35); }
.reveal-painting { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font: 600 14px var(--font-body); color: var(--forest); text-align: center; }
.reveal-painting svg { animation: taleSpin 1.6s linear infinite; }
@keyframes taleSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reveal-painting svg, .reveal-sheet { animation: none; } }

.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.field-error { color: #a4452f; font-size: 14px; margin: 10px 0 0; }
.confirmation-small a { color: inherit; word-break: break-all; }
