/* Fiche d'un personnage et cartes riches. */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0; }
.chip { padding: .1rem .6rem; border-radius: 1rem; background: var(--panel-hi); border: 1px solid var(--line); font-size: .9rem; }
.chip.diff-easy { border-color: #5fb27a; } .chip.diff-medium { border-color: #d9b45a; } .chip.diff-hard { border-color: #d9705a; }
.champ-title { display: block; color: var(--muted); font-style: italic; }
.champ-focus { font-size: .95rem; color: var(--muted); }
.champ-link { color: inherit; text-decoration: none; } .champ-link:hover h4, .champ-link:focus h4 { text-decoration: underline; }
.spell-buttons { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.spell-btn { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .25rem; background: var(--bg-deep); border: 1px solid var(--line); border-radius: .4rem; color: inherit; cursor: pointer; }
.spell-btn[aria-expanded="true"] { border-color: var(--steel-hi); background: var(--panel-hi); }
.spell-btn:focus-visible, .champ-link:focus-visible { outline: 3px solid var(--steel-hi); outline-offset: 2px; }
.spell-btn img { border-radius: .3rem; display: block; }
.spell-panel { margin: .5rem 0 0; padding: .5rem .7rem; background: var(--bg-deep); border-radius: .4rem; font-size: .92rem; line-height: 1.4; }
.sheet-hero { position: relative; border-radius: .6rem; overflow: hidden; margin-bottom: 1rem; background: var(--bg-deep); }
.sheet-hero img { display: block; width: 100%; height: 22rem; object-fit: cover; object-position: center 20%; }
.sheet-hero img.icon { object-fit: contain; height: 10rem; }
.sheet-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.2rem .8rem; background: linear-gradient(transparent, rgba(5, 9, 18, .92)); }
.sheet-title h2 { margin: 0; font-size: 2rem; } .sheet-title p { margin: 0; color: #c8d2ea; font-style: italic; }
.stat-row { display: grid; grid-template-columns: 1fr 9rem 3rem; gap: .6rem; align-items: center; margin-top: .5rem; font-size: .95rem; }
.stat-bar { height: .7rem; background: var(--bg-deep); border-radius: .4rem; overflow: hidden; }
.stat-bar span { display: block; height: 100%; background: var(--steel); }
.spell-row { display: flex; gap: .8rem; margin-top: .9rem; } .spell-row img { border-radius: .4rem; flex: none; width: 48px; height: 48px; }
.spell-row p { margin: .2rem 0; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; } .spell-row > div { min-width: 0; }
.card ul { padding-left: 1.2rem; } .card li { margin-top: .4rem; line-height: 1.45; }
.matchups { border-style: dashed; }
@media (max-width: 600px) { .sheet-hero img { height: 14rem; } .stat-row { grid-template-columns: 1fr 5rem 2.5rem; } }
.champ-card .spell-btn img { width: 40px; height: 40px; object-fit: cover; }
.spell-btn { width: auto; margin: 0; font-size: .75rem; }
#back:not(.link-button) { color: var(--steel-hi); }
