/* Séries — design « Collection anime cards bleu nuit » (Claude Design, 2026-09-19).
   Bandeau de complétion, barre d'outils, grille de séries. Palette du design : bleu nuit, bleu
   #c1b4ac pour la progression, or #ffc266 pour ce qui est à réclamer, vert #7de3c3 pour le terminé. */
.sr-eyebrow { font-family: var(--font-num); font-size: 0.72rem; color: #9b867a; }
.sr-eyebrow.is-gold { color: #ffc266; }
.sr-mono { font-family: var(--font-num); font-size: 0.72rem; color: #dbd4d0; }
/* Le dessin et l'alignement viennent de base.css. */
.sr-gem { margin-left: 5px; }
/* Récompense pas encore réclamable : la même pierre, en retrait. */
.sr-gem.is-dim { height: 0.9em; opacity: .5; vertical-align: -0.1375em; }

.sr-summary { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border-radius: 3px; padding: 18px 22px; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(77, 72, 69, 0.55), rgba(24, 22, 21, 0.7)); box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.18); }
.sr-summary-main { flex: 1 1 260px; min-width: 0; }
.sr-summary-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sr-hint { margin-top: 9px; font-size: 0.74rem; color: #b1a198; }
.sr-track { flex: 1; min-width: 0; height: 6px; border-radius: 3px; background: rgba(17, 16, 16, 0.7); overflow: hidden; }
/* Le remplissage est celui du pack, comme sur toutes les jauges du site (ui-skin.css § 7). */
.sr-track > span { display: block; height: 100%; border-radius: 0; background: center / 100% 100% no-repeat url('/assets/images/ui/bar-fill.png'); box-shadow: none; }
.sr-track-lg { margin-top: 10px; height: 8px; overflow: visible; box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.14); }
.sr-track-lg > span { box-shadow: none; }
.sr-ready { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; border-radius: 3px; padding: 14px 18px;
  background: rgba(255, 194, 102, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 194, 102, 0.32); }
.sr-ready-total { display: flex; align-items: center; margin-top: 7px; font-family: var(--font-num); font-size: 1.06rem; font-weight: 600; color: #f9f8f8; }
.sr-claim-all { padding: 12px 20px; border-radius: 3px; border: none; background: #ffc266; color: #282624; font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sr-claim-all:hover { background: #ffd79a; }
.sr-claim-all:disabled { opacity: 0.6; cursor: default; }

.sr-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.sr-search { flex: 1 1 260px; min-width: 0; margin: 0; }
.sr-input { width: 100%; box-sizing: border-box; height: 42px; padding: 0 15px; border-radius: 3px; border: 1px solid rgba(194, 179, 171, 0.18);
  background: rgba(17, 16, 16, 0.7); color: #f0ecea; font-family: var(--font-body); font-size: 0.82rem; outline: none; }
.sr-input:focus { border-color: rgba(194, 179, 171, 0.5); }
.sr-seg { display: flex; gap: 4px; padding: 4px; border-radius: 3px; background: rgba(17, 16, 16, 0.7); box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.14); overflow-x: auto; max-width: 100%; }
.sr-seg a { padding: 8px 14px; border-radius: 3px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; color: #b1a198; text-decoration: none; }
.sr-seg a:hover { color: #f6f4f3; }
.sr-seg a.is-on { background: rgba(194, 179, 171, 0.18); color: #f6f4f3; }
.sr-sort { flex: 0 0 auto; box-sizing: border-box; width: 168px; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 15px; border-radius: 3px;
  background: rgba(17, 16, 16, 0.7); box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.18); font-size: 0.75rem; font-weight: 600; color: #dbd4d0; text-decoration: none; }
.sr-sort:hover { color: #f6f4f3; }
.sr-sort-val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-dir { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 3px; background: rgba(17, 16, 16, 0.7);
  box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.18); }
.sr-dir:hover { box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.5); }
.sr-dir span { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #dbd4d0; }
.sr-dir.is-asc span { border-top: none; border-bottom: 7px solid #dbd4d0; }

.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(340px, calc((100% - 24px) / 3))), 1fr)); gap: 12px; }
.sr-row { display: flex; align-items: center; gap: 14px; border-radius: 3px; padding: 14px 16px; background: rgba(24, 22, 21, 0.6);
  box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.13); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.sr-row:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.3); }
.sr-row.is-claimable { cursor: pointer; background: rgba(255, 194, 102, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 194, 102, 0.4); }
.sr-row.is-claimable:hover { box-shadow: inset 0 0 0 1px rgba(255, 194, 102, 0.85); }
.sr-row-main { flex: 1; min-width: 0; }
.sr-row-head { display: flex; align-items: center; gap: 9px; }
.sr-name { min-width: 0; font-size: 0.84rem; font-weight: 600; color: #f9f8f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.sr-name:hover { color: #c1b4ac; }
.sr-badge { flex: 0 0 auto; padding: 3px 8px; border-radius: 999px; background: rgba(125, 227, 195, 0.14); font-family: var(--font-num);
  font-size: 0.7rem; color: #7de3c3; }
.sr-row-bar { display: flex; align-items: center; gap: 9px; margin-top: 11px; }
.sr-row.is-done .sr-track > span { background-image: url('/assets/images/ui/bar-fill-green.png'); box-shadow: none; }
.sr-pct { flex: 0 0 38px; text-align: right; font-family: var(--font-num); font-size: 0.75rem; font-weight: 600; color: #dbd4d0; white-space: nowrap; }
.sr-row.is-done .sr-pct { color: #7de3c3; }
.sr-meta { display: flex; align-items: center; gap: 10px; margin-top: 9px; font-family: var(--font-num); font-size: 0.75rem; color: #9b867a; }
.sr-meta > span { display: inline-flex; align-items: center; }
.sr-dot { width: 3px; height: 3px; border-radius: 50%; background: #5f5a57; }
.sr-claim { font-weight: 700; color: #ffc266; }
.sr-claimed { color: #7de3c3; }
.sr-fav { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 3px; border: none; background: transparent;
  cursor: pointer; font-size: 0.95rem; color: #746d6a; }
.sr-fav:hover { background: rgba(194, 179, 171, 0.12); }
.sr-fav.on { color: #ffc266; }
.sr-empty { padding: 40px; text-align: center; border-radius: 3px; background: rgba(24, 22, 21, 0.5); box-shadow: inset 0 0 0 1px rgba(194, 179, 171, 0.12);
  font-family: var(--font-num); font-size: 0.75rem; color: #9b867a; }
@media (max-width: 600px) {
  .sr-summary { padding: 16px; }
  .sr-ready { flex: 1 1 100%; justify-content: space-between; }
  .sr-sort { flex: 1 1 auto; width: auto; }
}


/* Le conteneur principal de cet écran prend le cadre du pack (refonte 2026-11-06). */
.sr-summary { position: relative; isolation: isolate; background: none; border: 0; box-shadow: none; }
.sr-summary::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--bg-raised);
  border: solid transparent; border-width: 2px;
  border-image: url('/assets/images/ui/frame.png') 4 fill / 2px / 0 stretch; }
