/* Pages du catalogue : accueil, recherche, fiche jeu, bibliothèque, listes, agenda. */
.btn-sm { padding: .3rem .65rem; font-size: .85rem; }
.btn[disabled] { opacity: .35; cursor: default; }
.nowrap { white-space: nowrap; }
.ok-text { color: #4ade80; margin: 0; }
.lead { font-size: 1.02rem; margin-top: 0; }

.top-search { margin: 0; }
.top-search input { width: 220px; padding: .4rem .7rem; }

/* --- Accueil ------------------------------------------------------------- */
.hero { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: .75rem; }
.hero-search { display: flex; gap: .5rem; max-width: 720px; }
.hero-search input { flex: 1; font-size: 1.05rem; padding: .75rem 1rem; }
.hero-search .btn { margin: 0; width: auto; }

.row-section { margin-top: 2rem; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.row-head h2 { margin: 0 0 .75rem; }
.card-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 220px);
  gap: .9rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity;
}
.card-row > * { scroll-snap-align: start; }

/* --- Cartes de jeux -------------------------------------------------------- */
.card-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.game-card {
  display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .15s, border-color .15s;
}
.game-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.cover { position: relative; aspect-ratio: 1 / 1; background: var(--bg-hover); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .pill-lib { position: absolute; top: .4rem; left: .4rem; }
.cover .pill-crack { position: absolute; bottom: .4rem; left: .4rem; }
.cover .fav { position: absolute; top: .3rem; right: .45rem; color: #ffd166; text-shadow: 0 1px 3px #000; }
.card-body { display: flex; flex-direction: column; gap: .15rem; padding: .55rem .7rem .7rem; }
.card-title { font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-with-extra { display: flex; flex-direction: column; gap: .35rem; }
.card-extra { display: flex; gap: .75rem; color: var(--muted); padding: 0 .2rem; }
.card-tools { display: flex; gap: .3rem; justify-content: flex-end; }

/* --- Pastilles ------------------------------------------------------------- */
.pill {
  display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: rgba(15, 17, 23, .85); color: var(--text); border: 1px solid var(--border); letter-spacing: .01em;
}
.pill-cracked { background: #14532d; border-color: #22c55e; color: #dcfce7; }
.pill-uncracked { background: #7f1d1d; border-color: #ef4444; color: #fee2e2; }
.pill-unreleased { background: #1e3a8a; border-color: #60a5fa; color: #dbeafe; }
.pill-released { background: #374151; border-color: #9ca3af; }
.pill-protection { background: #4a1d6b; border-color: #a855f7; color: #f3e8ff; }
.pill-playing { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill-backlog { background: #92400e; border-color: #f59e0b; color: #fef3c7; }
.pill-wishlist { background: #831843; border-color: #ec4899; color: #fce7f3; }
.pill-completed { background: #065f46; border-color: #10b981; color: #d1fae5; }
.pill-dropped { background: #3f3f46; border-color: #71717a; color: #e4e4e7; }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.chip { padding: .2rem .6rem; border-radius: 999px; background: var(--bg-hover); border: 1px solid var(--border); color: var(--text); font-size: .8rem; }
a.chip:hover { border-color: var(--accent); text-decoration: none; }
.chip-tag { color: var(--muted); }

/* --- Recherche --------------------------------------------------------------- */
.filters { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 1rem; }
.filters select { padding: .55rem .5rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.pagination .btn { width: auto; margin: 0; }

/* --- Fiche jeu ----------------------------------------------------------------- */
.game-hero { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.game-cover img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.game-head h1 { font-size: 2rem; margin: 0 0 .3rem; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem 1rem; margin: .9rem 0 0; }
.facts dt { color: var(--muted); font-size: .78rem; }
.facts dd { margin: 0; font-weight: 600; }
.score { display: inline-block; padding: .05rem .45rem; border-radius: 6px; background: #14532d; color: #dcfce7; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; }
.game-main, .game-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.game-side { position: sticky; top: 4.5rem; }
.section h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.section h3 { margin: 0 0 .4rem; font-size: .95rem; }

.rich { color: #cfd3de; overflow-wrap: anywhere; }
.rich ul { padding-left: 1.1rem; margin: .3rem 0; }
.rich h4 { margin: 1rem 0 .3rem; }
.more summary { cursor: pointer; color: var(--accent); margin-top: .25rem; }
.more[open] summary { margin-bottom: .5rem; }

.shots { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.shots a:hover img { outline: 2px solid var(--accent); }

.video-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.video-thumb {
  aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
  background: linear-gradient(135deg, #232838, #12141b); color: var(--text); font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: .5rem;
}
.video-thumb:hover { border-color: var(--accent); }
.video-play { font-size: 2rem; color: var(--accent); }
.video-label { font-size: .85rem; text-align: center; }
.video-player { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #000; }

.specs { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; padding: .4rem .5rem; border-bottom: 1px solid var(--border); }
.table td { padding: .5rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }

.timeline { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.timeline li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

.stack { display: flex; flex-direction: column; }
.stack label { margin: .75rem 0 .3rem; font-size: .88rem; }
.stack .btn-accent { margin-top: 1rem; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
input[type="number"], input[type="date"] {
  width: 100%; padding: .55rem .65rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font: inherit; color-scheme: dark;
}
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }

.inline-form { display: flex; gap: .5rem; margin-top: .75rem; }
.inline-form input { flex: 1; }
.inline-form .btn { white-space: nowrap; }

.list-toggles { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.list-toggles form { margin: 0; }
.list-toggle {
  display: flex; align-items: center; gap: .55rem; width: 100%; background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: .45rem .6rem; font: inherit; cursor: pointer; text-align: left;
}
.list-toggle:hover { border-color: var(--accent); }
.list-toggle .box { width: 1.1rem; height: 1.1rem; border-radius: 4px; border: 1px solid var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.list-toggle.is-on .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }

.steam-loading { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.steam-refresh { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin: 0; }
.steam-missing summary { cursor: pointer; }
.spinner { width: 1rem; height: 1rem; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Bibliothèque / onglets ------------------------------------------------ */
.tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 1.25rem; }
.tabs a { padding: .4rem .8rem; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); background: var(--bg-elev); }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a[aria-current="page"], .tabs a.is-on { color: #fff; background: var(--accent); border-color: var(--accent); }
.tabs .count { opacity: .75; font-size: .8rem; margin-left: .2rem; }
.tabs-inline { margin: 0; }

/* --- Listes -------------------------------------------------------------------- */
.create-list { margin-bottom: 1.25rem; flex-wrap: wrap; }
.create-list input { min-width: 200px; }
.list-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.list-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.list-card:hover { border-color: var(--accent); text-decoration: none; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1; background: var(--bg-hover); }
.mosaic img, .mosaic span { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-card-body { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem .9rem; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown-body { position: absolute; right: 0; top: calc(100% + .4rem); width: 320px; z-index: 5; }

/* --- Agenda ---------------------------------------------------------------------- */
.agenda-month h2 { margin-top: 1.75rem; }
.agenda-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.agenda-item {
  display: grid; grid-template-columns: 70px 64px 1fr auto; align-items: center; gap: .9rem;
  padding: .45rem .75rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; color: inherit;
}
.agenda-item:hover { border-color: var(--accent); text-decoration: none; }
.agenda-item img { width: 64px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 5px; }
.agenda-date { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.agenda-date strong { font-size: 1.4rem; }
.agenda-name { font-weight: 600; }
.agenda-badges { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }

/* --- Notifications ----------------------------------------------------------------- */
.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 50;
  background: var(--bg-elev); border: 1px solid var(--accent); padding: .7rem 1.1rem; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45); max-width: calc(100vw - 2rem);
}
.toast[hidden] { display: none; }
.toast-error { border-color: var(--danger); color: var(--danger); }

/* --- Écrans moyens / mobiles --------------------------------------------------------- */
@media (max-width: 1000px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .filter-q { grid-column: 1 / -1; }
  .game-layout { grid-template-columns: 1fr; }
  .game-side { position: static; }
}
@media (max-width: 700px) {
  .container { padding: 1rem 1rem 3rem; }
  .top-search { order: 3; width: 100%; }
  .top-search input { width: 100%; }
  .game-hero { grid-template-columns: 1fr; }
  .game-head h1 { font-size: 1.5rem; }
  .specs, .two-cols { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .card-row { grid-auto-columns: 160px; }
  .agenda-item { grid-template-columns: 52px 1fr; }
  .agenda-item img { display: none; }
  .agenda-badges { grid-column: 2; justify-content: flex-start; }
  .hero-search { flex-direction: column; }
}

/* Promos et prix (Instant Gaming) */
.deal { display: inline-block; background: #2f9e44; color: #fff; font-weight: 700; font-size: .75rem; padding: .05rem .4rem; border-radius: 4px; }
.cover .deal { position: absolute; top: .4rem; right: .4rem; }
.cover .fav + .deal, .cover .fav ~ .deal { top: 1.8rem; }
.price { font-weight: 700; color: var(--text); margin-left: .25rem; }
.pill-deal { background: #2f9e44; color: #fff; }
.offer-list { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .4rem; }
.offer-list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .6rem; border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.offer-list a:hover { border-color: var(--accent); text-decoration: none; }
.offer-price { display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.offer-store { font-size: .9rem; }

/* Statut du crack (indicateur CrackRelease) */
.crack-box { border-left: 4px solid var(--border); }
.crack-box.crack-cracked { border-left-color: #2f9e44; }
.crack-box.crack-uncracked { border-left-color: var(--danger); }
.crack-box.crack-unreleased { border-left-color: #f08c00; }
.crack-state { margin: 0 0 .5rem; }
.facts-compact { grid-template-columns: 1fr 1fr; margin: 0 0 .5rem; }
.filter-q { grid-column: 1 / -1; }

/* ---------- Accueil compact personnalisable ---------- */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.dash-head h1 { margin: 0; font-size: 1.3rem; }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: start; }
.widget { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem .8rem .8rem; min-width: 0; }
.widget.size-full { grid-column: 1 / -1; }
.dash.is-editing .widget { outline: 1px dashed var(--accent); outline-offset: 2px; }
.widget-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.widget-head h2 { margin: 0; font-size: .98rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-sub { margin: -.3rem 0 .45rem; }
.widget-empty { margin: .4rem 0; }
.widget-tools { display: flex; gap: .25rem; flex-shrink: 0; }
.widget-tools form { margin: 0; }
.icon-btn { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg-hover); color: var(--text); cursor: pointer; font-size: .95rem; line-height: 1; padding: 0; }
.icon-btn:hover:not(:disabled) { border-color: var(--accent); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }

/* Liste compacte (demi-largeur) */
.mini-list { list-style: none; margin: 0; padding: 0 .2rem 0 0; display: grid; gap: 2px; max-height: 21rem; overflow-y: auto; }
.mini-list a { display: flex; align-items: center; gap: .6rem; padding: .3rem .35rem; border-radius: 7px; color: var(--text); }
.mini-list a:hover { background: var(--bg-hover); text-decoration: none; }
.mini-list img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bg-hover); }
.mini-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mini-name { font-size: .9rem; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-meta { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-meta strong { color: var(--text); }
.mini-list .pill, .mini-list .deal { flex-shrink: 0; font-size: .7rem; }

/* Rangée de vignettes carrées (pleine largeur) */
.tile-row { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: .65rem; overflow-x: auto; padding-bottom: .35rem; scroll-snap-type: x proximity; }
.tile { display: flex; flex-direction: column; gap: .2rem; color: var(--text); scroll-snap-align: start; min-width: 0; }
.tile:hover { text-decoration: none; }
.tile:hover .tile-cover { border-color: var(--accent); }
.tile-cover { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-hover); }
.tile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-cover .deal { position: absolute; top: .3rem; right: .3rem; }
.tile-name { font-size: .82rem; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-meta { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { position: absolute; left: .35rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #0008; }
.dot-playing { background: var(--accent); }
.dot-backlog { background: #f59e0b; }
.dot-wishlist { background: #ec4899; }
.dot-completed { background: #10b981; }
.dot-dropped { background: #71717a; }

/* Ajout d'un bloc */
.widget-form { margin-top: 1.2rem; }
.widget-form h2 { margin-top: 0; }
.widget-form fieldset { border: 0; padding: 0; margin: 0; }
.form-row { display: grid; gap: .3rem .8rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.widget-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; margin: .35rem 0 0; }

@media (max-width: 820px) {
  .dash { grid-template-columns: 1fr; }
  .tile-row { grid-auto-columns: 108px; }
}

/* ---------- Fiche : jeu de base, onglets, DLC ---------- */
.crumb { margin: 0 0 .25rem; font-size: .9rem; display: flex; align-items: center; gap: .5rem; }
.pill-kind { background: #1e3a5f; border-color: #3b82f6; color: #dbeafe; }
.cover .pill-kind { position: absolute; bottom: .4rem; right: .4rem; font-size: .68rem; }
.game-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin: 0 0 1.1rem; }
.game-tabs a { padding: .55rem 1rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.game-tabs a:hover { color: var(--text); text-decoration: none; }
.game-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.tab-count { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--bg-hover); font-size: .75rem; text-align: center; }
.dlc-teaser { display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.dlc-teaser:hover { border-color: var(--accent); text-decoration: none; }
.dlc-group { margin-bottom: 1.4rem; }
.dlc-group h2 { margin: 0 0 .2rem; }
.dlc-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .45rem; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.dlc-list a { display: flex; align-items: center; gap: .75rem; padding: .5rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev); color: var(--text); }
.dlc-list a:hover { border-color: var(--accent); text-decoration: none; }
.dlc-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--bg-hover); }
.dlc-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dlc-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlc-meta { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlc-side { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; }
.dlc-price { white-space: nowrap; }
.family-form { margin-top: 1rem; }
.family-form summary { cursor: pointer; }
.family-form .inline-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.family-form input[type="text"] { flex: 1; min-width: 220px; }

/* ---------- Encadré prix ---------- */
.best-offer { display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: 10px; border: 1px solid #2f9e44; background: #2f9e441a; color: var(--text); margin-bottom: .6rem; }
.best-offer:hover { text-decoration: none; background: #2f9e442e; }
.best-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #8ce99a; font-weight: 700; }
.best-line { display: flex; align-items: center; gap: .5rem; }
.best-price { font-size: 1.6rem; line-height: 1.1; }
.best-store { font-size: .85rem; color: var(--muted); }
.best-save { font-size: .85rem; }
.best-save strong { color: #8ce99a; }
.steam-ref { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steam-name { font-weight: 700; color: #66c0f4; }
.deal-steam { background: #4c6b22; }
.tiny { font-size: .72rem; margin: .3rem 0 0; }
.offers-sub { font-size: .85rem; margin: .8rem 0 .4rem; color: var(--muted); font-weight: 600; }
.offers-more { margin-top: .6rem; }
.offers-more summary { cursor: pointer; font-size: .85rem; color: var(--muted); }
.offers-more .offer-list { margin-top: .4rem; }
.offer-list.is-muted a { opacity: .7; }
.stock-out { color: var(--danger); font-weight: 600; font-size: .85rem; }

@media (max-width: 820px) {
  .dlc-list { grid-template-columns: 1fr; }
}

/* Fiche jeu : articles par site, le plus récent d'abord */
.release-table td { vertical-align: top; }
.release-table .tiny { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-group + .release-group { border-top: 2px solid var(--border); }
.release-older td { background: color-mix(in srgb, var(--text) 3%, transparent); }
.release-older td strong { font-weight: 500; }
.release-more td { padding-top: .2rem; padding-bottom: .5rem; }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent, #7c9cff); cursor: pointer; font: inherit; font-size: .85rem; }
.btn-link:hover { text-decoration: underline; }
.pill-new { background: #2f9e4426; color: #8ce99a; border-color: #2f9e4466; }

/* Sources : filtres de releases */
.filters-card { margin-top: 1rem; }
.filters-form { display: grid; gap: .7rem; justify-items: start; }
.check-row { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.check-row input { margin-top: .25rem; }
.check-row > span { display: grid; gap: .1rem; }
