/* #634 Gypsy36 library: only what the Tarot library styles do not cover. The page uses /layers/card-library.css unchanged. */
/* The tile frame is 3:4.85 (the Tarot library's) and the Gypsy36 face is 3:5: "cover" cut ~3% of the height (the caption's foot, Sweetheart) and "contain" leaves bars. The frame takes the
   face's own 3:5 so nothing is cut and nothing is barred (owner 13.11). */
.d02full-shell .card-library-card-visual { aspect-ratio: 3 / 5; }
.d02full-shell .card-library-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d02full-shell .card-library-card-visual[data-face-state="unavailable"] { opacity: .85; }
.d02full-card[hidden] { display: none; }
.gypsy-library-note { margin: 10px 0 0; color: var(--d01-muted, var(--muted, inherit)); font-size: .92rem; }
.gypsy-library-faces { margin-top: 12px; }
.gypsy-library-empty { margin: 14px 0 0; }
.d02full-shell .d02full-intro a:not(.ui-button) { color: var(--d02-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Card page (the Tarot D03 template): the face sits in the .d03-art frame; before it loads the frame is a quiet placeholder of the same 3:5 shape. */
#cardLibraryDetail .d03-art{border-radius:16px;overflow:hidden;background:linear-gradient(160deg,color-mix(in srgb,var(--d03-paper) 88%,transparent),var(--d03-panel));border:1px solid var(--d03-border)}
#cardLibraryDetail .d03-art img{display:block;width:100%;height:100%;object-fit:cover}
#cardLibraryDetail .d03-art[data-face-state="unavailable"]{opacity:.85}

.d02full-shell .d02full-intro a.ui-button { text-decoration: none; }
/* #846 card depth: the FAQ of the card page (Gypsy36 and the registry decks' card pages, which load this file too) as question / answer pairs. */
#cardLibraryDetail .d03-faq dl{margin:0}
#cardLibraryDetail .d03-faq dt{font-weight:600;margin-top:12px}
#cardLibraryDetail .d03-faq dt:first-child{margin-top:0}
#cardLibraryDetail .d03-faq dd{margin:4px 0 0;line-height:1.6}
