/* Artist database only (artist tiles, entry hero, most drawn, profile banner).
   Loaded after /ba-dex.css, which holds the page frame, entry, card gallery
   and footer shared with the Pokédex. */

/* ── Era sections and artist tiles ── */
.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0 28px}
.art-card{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-content:center;min-height:98px;padding:12px 0;border-bottom:1px solid var(--rule)}
.art-thumb{grid-row:1 / 3;align-self:center;width:52px;height:73px;object-fit:cover;border-radius:4px;background:var(--bg-3)}
.art-thumb--none{display:flex;align-items:center;justify-content:center;border:1px dashed var(--rule-2);background:none;font:800 16px/1 var(--display);color:var(--ink-3)}
.art-name{align-self:end;min-width:0;font:800 16px/1.25 var(--display);letter-spacing:-.012em;text-decoration:underline;text-decoration-color:var(--rule-2);text-decoration-thickness:1px;text-underline-offset:4px;overflow-wrap:anywhere}
.art-meta{align-self:start;font:700 12px/1.45 var(--text);letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3)}
@media (hover:hover){.art-card:hover .art-name{text-decoration-color:var(--gold);text-decoration-thickness:2px}.art-card:hover .art-thumb{outline:1px solid var(--gold)}}
.art-card:focus-visible{outline-offset:2px}
@container page (max-width:600px){
    .art-card{grid-template-columns:44px minmax(0,1fr);min-height:84px;padding:10px 0}
    .art-thumb{width:44px;height:62px}
}

/* Search results: the artist's card instead of a sprite */
.fr__pic--card{width:34px;height:48px;justify-self:center;object-fit:cover;border-radius:3px;background:var(--bg-3)}
.fr__pic--card.art-thumb--none{font-size:13px}

/* ── Artist entry ── */
.art-hero{grid-template-columns:200px minmax(0,1fr)}
.art-hero__img{width:200px;height:auto;aspect-ratio:63/88;object-fit:cover;border-radius:8px;background:var(--bg-3)}
span.art-hero__img{font-size:44px}
@container page (max-width:600px){
    .art-hero{grid-template-columns:112px minmax(0,1fr)}
    .art-hero__img{width:112px}
    span.art-hero__img{font-size:28px}
}

/* Profile banner (artists with a long-form article) */
.art-dd{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--rule)}   /* the hero's rule sits above */
.art-dd img{flex:none;width:120px;height:90px;object-fit:cover;border-radius:4px;background:var(--bg-3)}
.art-dd>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.art-dd__label{font:700 12px/1.45 var(--text);letter-spacing:.07em;text-transform:uppercase;color:var(--gold)}
.art-dd__title{font:800 19px/1.25 var(--display);letter-spacing:-.015em;text-decoration:underline;text-decoration-color:var(--rule-2);text-underline-offset:4px}
.art-dd:hover .art-dd__title{text-decoration-color:var(--gold)}
.art-dd__meta{font-size:14px;color:var(--ink-3)}
@container page (max-width:600px){.art-dd img{width:84px;height:63px}.art-dd__title{font-size:17px}}

/* Career facts: card names open the card in the gallery below */
.art-facts{margin-bottom:0}
.art-cardlink{padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px;cursor:pointer}
.art-cardlink:hover{color:var(--gold)}

/* Most drawn Pokémon chips (.mon-chip) live in /ba-dex.css, shared with the trainer page */
