/* AI art-style portrait pages (worker/art/pages.ts). The sheet preview mirrors fulfil/art-poster.mjs artLayout(). */
.art-hero { max-width: 46rem; margin: 2rem auto 1rem; padding: 0 1rem; text-align: center; }
.art-hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .7; }
.art-label { font-size: .9rem; }
.ai-badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: #2B2A33; color: #fff; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.art-flow { max-width: 64rem; margin: 0 auto 3rem; padding: 0 1rem; }
.art-closed { padding: .75rem 1rem; background: #F3EBDD; border-radius: .5rem; }
.art-drop { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 8rem; border: 2px dashed #b9b2a5; border-radius: .75rem; cursor: pointer; font-size: 1.1rem; }
.art-drop input { max-width: 14rem; }
.art-privacy { margin-top: .5rem; }
.art-verify { margin: 1rem 0; display: grid; gap: .5rem; max-width: 24rem; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.art-card { border: 2px solid transparent; border-radius: .6rem; padding: .4rem; background: #fff; text-align: left; cursor: pointer; }
.art-card[aria-pressed="true"] { border-color: #2B2A33; }
.art-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border-radius: .3rem; background: #f1eee8; }
.art-card .art-cap { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; font-size: .9rem; }
.art-card.loading img { animation: art-pulse 1.4s ease-in-out infinite; }
@keyframes art-pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .art-card.loading img { animation: none; } }
.art-more { display: flex; flex-wrap: wrap; gap: .5rem; }
.art-make { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 48rem) { .art-make { grid-template-columns: 1fr 1fr; } .art-make h2 { grid-column: 1 / -1; } }
/* 3:4 sheet; art box 70% of the height at 2:3, 7% from the top; title at 84.5%, second line at 89.5% (artLayout). */
.art-sheet { position: relative; aspect-ratio: 3 / 4; margin: 0; box-shadow: 0 6px 24px rgba(0,0,0,.15); container-type: size; }
.art-sheet .art-frame { position: absolute; top: 7%; left: 50%; height: 70%; aspect-ratio: 2 / 3; transform: translateX(-50%); }
.art-sheet .art-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-sheet.vignette .art-frame img { mix-blend-mode: multiply; }
.art-sheet figcaption { position: absolute; left: 0; right: 0; top: 80%; text-align: center; color: #2B2A33; }
.art-sheet figcaption span { display: block; }
#art-t1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 4.2cqh; line-height: 1.3; }
#art-t2 { font-family: Jost, system-ui, sans-serif; font-weight: 300; font-size: 1.9cqh; letter-spacing: .18em; text-transform: uppercase; margin-top: .6cqh; }
/* Tarot: the card frame is drawn around the art (fulfil/art-poster.mjs cardFrame). */
.art-sheet.tarot .art-frame { top: 5%; height: 80%; aspect-ratio: .58; background: #F3EBDD; border: .6cqh solid #2B2A33; border-radius: 1.2cqh; padding: 7.5cqh 3cqh 9.5cqh; box-sizing: border-box; }
.art-sheet.tarot .art-frame::before { content: attr(data-num); position: absolute; top: 2.2cqh; left: 0; right: 0; text-align: center; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.6cqh; }
.art-sheet.tarot .art-frame::after { content: attr(data-name); position: absolute; bottom: 2.6cqh; left: 0; right: 0; text-align: center; font-family: "Cormorant Garamond", Georgia, serif; font-size: 3.2cqh; letter-spacing: .12em; text-transform: uppercase; }
.art-sheet.tarot figcaption { top: 87%; }
.art-sheet.tarot #art-t1 { font-size: 3cqh; }
.art-sheet.tarot #art-t2 { font-size: 1.6cqh; }
.art-make .controls label { display: grid; gap: .25rem; margin-bottom: .75rem; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
/* Photo portraits (worker/art/photo-page.ts, photo.js). */
.photo-mode { display: grid; gap: .75rem; grid-template-columns: 1fr; margin: 1rem 0; }
@media (min-width: 40rem) { .photo-mode { grid-template-columns: 1fr 1fr; } }
.photo-mode label { border: 1px solid #b9b2a5; border-radius: .6rem; padding: .75rem 1rem; cursor: pointer; }
.photo-mode label:has(input:checked) { border-color: #2B2A33; box-shadow: inset 0 0 0 1px #2B2A33; }
.photo-minor { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; }
.notice { padding: .6rem .9rem; background: #F3EBDD; border-radius: .5rem; }
.art-card.left-out { cursor: default; opacity: .85; }
.art-card.left-out p { aspect-ratio: 2 / 3; display: flex; align-items: center; padding: .75rem; margin: 0; background: #f1eee8; border-radius: .3rem; }
.photo-crop { display: grid; gap: .5rem; max-width: 22rem; }
.photo-crop canvas { width: 100%; aspect-ratio: 3 / 4; touch-action: none; cursor: grab; box-shadow: 0 6px 24px rgba(0,0,0,.15); background: #f1eee8; }
.crumbs { max-width: 64rem; margin: 1rem auto 0; padding: 0 1rem; font-size: .85rem; }
.photo-minor[hidden], .photo-crop[hidden] { display: none; }
