/* ===========================================================================
   views.css — Styles des vues secondaires (Sets / Extensions / détail)
   =========================================================================== */

/* ---- Accueil Sets : 3 boutons jeux ---- */
.gamechooser { display: grid; gap: var(--sp-3); }
.gamebtn {
  display: flex; align-items: center; gap: var(--sp-4); width: 100%; text-align: left;
  padding: var(--sp-4); border-radius: var(--r-lg);
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-left: 4px solid var(--accent, var(--c-line-2));
  box-shadow: var(--shadow-1); transition: transform var(--dur-1) var(--ease);
}
.gamebtn:active { transform: translateY(1px); }
.gamebtn__icon {
  width: 56px; height: 56px; flex: none; border-radius: var(--r-md); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-22); letter-spacing: .02em;
  color: var(--c-on-ink); background: color-mix(in srgb, var(--accent) 84%, #000);
}
.gamebtn__body { flex: 1; min-width: 0; }
.gamebtn__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
.gamebtn__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-18); text-transform: uppercase; letter-spacing: .02em; }
.gamebtn__pct { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-22); color: var(--accent); }
.gamebtn__meta { font-size: var(--fs-12); color: var(--c-ink-3); margin: 2px 0 9px; }
.gamebtn > svg { width: 18px; height: 18px; color: var(--c-ink-3); transform: rotate(-90deg); flex: none; }

/* ---- Liste des extensions ---- */
.setgroup { margin-bottom: var(--sp-6); }
.setgroup__head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.setgroup__head h2 { font-size: var(--fs-16); text-transform: uppercase; letter-spacing: .02em; }
.setgroup__head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--c-ink-3)); }
.setgroup__head .label { margin-left: auto; }

.setrow {
  display: flex; align-items: center; gap: var(--sp-3); width: 100%; text-align: left;
  padding: var(--sp-3); margin-bottom: var(--sp-2);
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-left: 3px solid var(--accent, var(--c-line-2));
  border-radius: var(--r-md); box-shadow: var(--shadow-1);
  transition: transform var(--dur-1) var(--ease);
}
.setrow:active { transform: translateY(1px); }
.setrow__code {
  width: 52px; height: 52px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-13); letter-spacing: .02em;
  text-align: center; line-height: 1.05; padding: 2px;
  color: var(--c-on-ink); background: color-mix(in srgb, var(--accent) 84%, #000);
}
.setrow__body { flex: 1; min-width: 0; }
.setrow__top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
.setrow__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-16); text-transform: uppercase; }
.setrow__pct { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-13); color: var(--accent); }
.setrow__meta { font-size: var(--fs-12); color: var(--c-ink-3); margin: 1px 0 7px; }
.setrow__bar { height: 6px; border-radius: 6px; background: var(--c-bg-2); overflow: hidden; }
.setrow__bar > span { display: block; height: 100%; background: var(--accent, var(--c-brand)); border-radius: 6px; }
.setrow__count { font-family: var(--font-mono); font-size: var(--fs-11); color: var(--c-ink-3); margin-top: 5px; }
.setrow > svg { width: 18px; height: 18px; color: var(--c-ink-3); transform: rotate(-90deg); flex: none; }

/* ---- Détail d'une extension ---- */
.backlink { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: var(--fs-13); color: var(--c-ink-2); margin-bottom: var(--sp-3); }
.backlink svg { width: 18px; height: 18px; transform: rotate(90deg); }
.setdetail__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.setdetail__code {
  width: 58px; height: 58px; flex: none; border-radius: var(--r-md); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-14); text-align: center; line-height: 1.05; padding: 2px;
  color: var(--c-on-ink); background: color-mix(in srgb, var(--accent) 84%, #000);
}
.setdetail__name { font-size: var(--fs-22); text-transform: uppercase; }
.setdetail__stat { margin-bottom: var(--sp-3); }
.setdetail__stat .setrow__bar { height: 8px; }
.setdetail__statrow { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: var(--fs-12); color: var(--c-ink-2); }
.setdetail__statrow .accent { color: var(--accent); font-weight: 700; }

/* Grille de complétion : possédées en couleur, manquantes grisées */
.completion { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); margin-top: var(--sp-3); }
@media (min-width: 420px) { .completion { grid-template-columns: repeat(5, 1fr); } }
.slot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-sm); display: grid; place-items: center; }
.slot__num { position: absolute; top: 4px; left: 5px; font-family: var(--font-mono); font-size: 9px; color: var(--c-ink-3); }
.slot--owned {
  background: radial-gradient(120% 100% at 50% 18%, color-mix(in srgb, var(--accent) 26%, var(--c-surface)), var(--c-surface));
  border: 1px solid var(--accent);
}
.slot--owned .slot__glyph { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-16); color: color-mix(in srgb, var(--accent) 72%, var(--c-ink)); }
.slot--owned .slot__check { position: absolute; right: 5px; bottom: 4px; font-size: 10px; color: var(--accent); font-weight: 700; }
.slot--missing { background: var(--c-bg-2); border: 1px dashed var(--c-line-2); }
.slot--missing .slot__num { position: static; opacity: .65; }

/* ===========================================================================
   Vue Valeur — variation + graphique d'évolution (SVG)
   =========================================================================== */
.value-delta { margin-top: var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-13); font-weight: 700; }
.value-delta.up { color: var(--c-up); }
.value-delta.down { color: var(--c-value); }
.value-delta span { color: var(--c-ink-3); font-weight: 400; font-size: var(--fs-11); }

.value-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--sp-4); box-shadow: var(--shadow-1); margin-bottom: var(--sp-4); }
.value-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-2); }
.value-card__range { font-size: var(--fs-12); color: var(--c-ink-3); }

.vchart { display: block; width: 100%; height: auto; overflow: visible; }
.vc-grid { stroke: var(--c-line); stroke-width: 1; }
.vc-area { fill: url(#vcfill); }
.vc-s0 { stop-color: var(--accent, var(--c-value)); stop-opacity: .20; }
.vc-s1 { stop-color: var(--accent, var(--c-value)); stop-opacity: 0; }
.vc-line { fill: none; stroke: var(--accent, var(--c-value)); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.vc-dot { fill: var(--accent, var(--c-value)); stroke: var(--c-surface); stroke-width: 2; }
.vchart-x { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 9px; color: var(--c-ink-3); }

/* ===========================================================================
   Écran « Ajouter une carte »
   =========================================================================== */
.addscreen { position: fixed; inset: 0; z-index: var(--z-overlay); width: 100%; max-width: var(--app-max);
  margin: 0 auto; background: var(--c-bg); display: flex; flex-direction: column; }
.addscreen__head { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4);
  min-height: var(--header-h); border-bottom: 1.5px solid var(--c-line-2); }
.addscreen__head h2 { flex: 1; text-align: center; font-size: var(--fs-18); text-transform: uppercase; letter-spacing: .02em; }
.addscreen__spacer { width: 40px; }
.addscreen__body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--sp-4) var(--sp-4) calc(var(--sp-8) + var(--kbh, 0px)); }

/* Choix du mode */
.add-choices { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.add-choice { display: flex; align-items: center; gap: var(--sp-4); width: 100%; text-align: left;
  padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); }
.add-choice:active { transform: translateY(1px); }
.add-choice > svg:first-child { width: 28px; height: 28px; color: var(--c-ink); flex: none; }
.add-choice > div { flex: 1; }
.add-choice strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-16); text-transform: uppercase; }
.add-choice span { font-size: var(--fs-12); color: var(--c-ink-3); }
.add-choice > svg:last-child { width: 18px; height: 18px; color: var(--c-ink-3); transform: rotate(-90deg); flex: none; }

/* Scan (maquette) */
.scan-view { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); padding-top: var(--sp-5); }
.scan-frame { position: relative; width: 210px; aspect-ratio: 3 / 4; border-radius: var(--r-md);
  background: repeating-linear-gradient(45deg, var(--c-bg-2) 0 10px, var(--c-surface) 10px 20px); }
.scan-frame span { position: absolute; width: 30px; height: 30px; border: 3px solid var(--c-value); }
.scan-frame span:nth-child(1){ top:10px; left:10px; border-right:0; border-bottom:0; border-radius: 10px 0 0 0; }
.scan-frame span:nth-child(2){ top:10px; right:10px; border-left:0; border-bottom:0; border-radius: 0 10px 0 0; }
.scan-frame span:nth-child(3){ bottom:10px; left:10px; border-right:0; border-top:0; border-radius: 0 0 0 10px; }
.scan-frame span:nth-child(4){ bottom:10px; right:10px; border-left:0; border-top:0; border-radius: 0 0 10px 0; }
.scan-hint { color: var(--c-ink-3); font-size: var(--fs-13); }
.scan-note { text-align: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: var(--sp-3); font-size: var(--fs-13); color: var(--c-ink-2); }

/* Formulaire + aperçu */
.add-preview-wrap { display: flex; justify-content: center; margin-bottom: var(--sp-5); }
.add-preview { width: 162px; }
.add-form { display: grid; gap: var(--sp-3); }
.add-field { display: grid; gap: 5px; }
.add-field__label { font-family: var(--font-body); font-size: var(--fs-11); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); }
.add-field input, .add-field select { height: 46px; width: 100%; border-radius: var(--r-md); border: 1px solid var(--c-line-2);
  background: var(--c-surface); padding: 0 var(--sp-3); font-size: 16px; color: var(--c-ink); font-family: var(--font-body); }
.add-field input:focus, .add-field select:focus { outline: none; border-color: var(--c-ink); }
.add-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.qty-stepper { display: flex; align-items: center; height: 46px; border: 1px solid var(--c-line-2); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.qty-stepper button { width: 44px; height: 100%; font-size: var(--fs-22); color: var(--c-ink-2); }
.qty-stepper input { flex: 1; width: 100%; text-align: center; border: 0; background: none; font-family: var(--font-mono); font-weight: 700; }
.add-submit { width: 100%; margin-top: var(--sp-5); }

/* Image de la carte dans une case de complétion (possédée) */
.slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; border-radius: var(--r-sm); z-index: 1; }
.slot--owned .slot__num, .slot--owned .slot__check { z-index: 2; text-shadow: 0 0 3px var(--c-surface), 0 0 3px var(--c-surface); }

/* ===========================================================================
   Recherche catalogue (API) — résultats sous la collection
   =========================================================================== */
.catalog-section { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.catalog-section__head { margin-bottom: var(--sp-3); }
.catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.catalog__status { grid-column: 1 / -1; text-align: center; padding: var(--sp-4); }
.cat-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line);
  border-left: 3px solid var(--accent, var(--c-line-2)); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.cat-card .card__art { aspect-ratio: 3 / 2.6; }
.cat-card__cap { padding: var(--sp-2) var(--sp-3) 0; }
.cat-card__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-13); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2);
  font-size: 11px; color: var(--c-ink-3); white-space: nowrap; overflow: hidden; }
.cat-card__price { color: var(--accent); font-weight: 700; flex: none; }
.cat-add { margin: var(--sp-2) var(--sp-3) var(--sp-3); height: 34px; border-radius: var(--r-sm);
  background: var(--c-ink-active); color: var(--c-on-ink); font-weight: 700; font-size: var(--fs-12);
  display: flex; align-items: center; justify-content: center; gap: 5px; }
.cat-add svg { width: 14px; height: 14px; }
.cat-add.is-added { background: var(--c-up); }

/* ===========================================================================
   Authentification (compte) + Profil
   =========================================================================== */
.authscreen { max-width: 360px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: var(--sp-6) var(--sp-2) var(--sp-8); }
.auth-brand { display: flex; align-items: center; gap: var(--sp-3); justify-content: center; margin-bottom: var(--sp-6); }
.auth-brand .brand__mark { width: 44px; height: 44px; }
.auth-brand .brand__name { font-size: var(--fs-22); }
.auth-title { font-size: var(--fs-28); text-transform: uppercase; text-align: center; }
.auth-sub { text-align: center; color: var(--c-ink-3); font-size: var(--fs-13); margin: var(--sp-2) auto var(--sp-6); max-width: 30ch; }
.auth-form { display: grid; gap: var(--sp-3); }
.auth-msg { font-size: var(--fs-12); min-height: 16px; text-align: center; line-height: 1.4; }
.auth-msg.err { color: var(--c-value); }
.auth-msg.ok { color: var(--c-up); }
.auth-submit { width: 100%; margin-top: var(--sp-2); }
.auth-switch { display: block; margin: var(--sp-5) auto 0; color: var(--c-ink-2); font-size: var(--fs-13); font-weight: 600; }

.profile { text-align: center; padding: var(--sp-8) var(--sp-4); }
.profile__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--sp-4); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-28); color: var(--c-on-ink); background: var(--c-ink-active); }
.profile__email { font-family: var(--font-mono); font-size: var(--fs-14); margin-bottom: var(--sp-2); }

.btn--danger { background: var(--c-value); color: var(--c-on-ink); flex: 1; }

/* ===========================================================================
   Écran « Ajouter » — résultats de recherche live (API)
   =========================================================================== */
.add-results { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.add-results:empty { display: none; }
.add-results__status { padding: var(--sp-3); text-align: center; font-size: var(--fs-12); color: var(--c-ink-3); }
.add-result { display: flex; align-items: center; gap: var(--sp-3); width: 100%; text-align: left;
  padding: 6px 8px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.add-result:active { background: var(--c-bg-2); }
.add-result__thumb { width: 40px; height: 55px; flex: none; border-radius: 5px; overflow: hidden;
  background: var(--c-bg-2); display: grid; place-items: center; }
.add-result__img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.add-result__body { flex: 1; min-width: 0; }
.add-result__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-14);
  text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-result__meta { display: block; font-size: var(--fs-11); color: var(--c-ink-3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-result__add { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: var(--c-on-ink); background: var(--c-fab); }
.add-result__add svg { width: 16px; height: 16px; }

/* ===========================================================================
   Page Valeur — bloc « Prix du marché » (maj quotidienne + bouton)
   =========================================================================== */
.price-sync { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin: 12px 0 16px; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--c-surface); border: 1px solid var(--c-line); }
.price-sync__info { min-width: 0; }
.price-sync__sub { display: block; font-size: var(--fs-12); color: var(--c-ink-3); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-sync__btn { flex: none; height: 38px; padding: 0 var(--sp-4); border-radius: var(--r-pill);
  background: var(--c-ink-active); color: var(--c-on-ink); font-weight: 600; font-size: var(--fs-13); white-space: nowrap; }
.price-sync__btn:active { transform: translateY(1px); }
.price-sync__btn[disabled] { opacity: .6; }

/* ===========================================================================
   Page Valeur — bloc prix compact + sélecteur de période + état vide
   =========================================================================== */
.value-card__head { align-items: center; }
.vc-refresh { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--c-ink-active); color: var(--c-on-ink); font-size: var(--fs-12); font-weight: 600; white-space: nowrap; }
.vc-refresh[disabled] { opacity: .55; }
.vc-refresh:active { transform: translateY(1px); }
.vrange { display: flex; gap: 6px; margin-top: var(--sp-3); }
.vrange__btn { flex: 1; height: 30px; border-radius: var(--r-sm); font-size: var(--fs-12); font-weight: 600;
  color: var(--c-ink-3); background: var(--c-bg-2); border: 1px solid var(--c-line); }
.vrange__btn.is-active { color: var(--c-on-ink); background: var(--c-ink-active); border-color: var(--c-ink-active); }
.vc-caption { margin-top: 10px; font-size: var(--fs-11); color: var(--c-ink-3); text-align: center; }
.vchart-empty { padding: 40px var(--sp-4); margin-top: var(--sp-2); text-align: center; font-size: var(--fs-13);
  color: var(--c-ink-3); background: var(--c-bg-2); border-radius: var(--r-md); line-height: 1.5; }

/* ===========================================================================
   Set : cartes manquantes affichées en grisé + bouton « + » pour les ajouter
   =========================================================================== */
.slot--ghost { border: 1px solid var(--c-line-2); background: var(--c-bg-2); overflow: hidden; }
.slot--ghost .slot__img { filter: grayscale(1); opacity: .4; }
.slot--ghost .slot__num { position: absolute; z-index: 3; opacity: .85; }
.slot__get { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 4;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-ink-active); color: var(--c-on-ink); box-shadow: 0 2px 7px rgba(0,0,0,.32); }
.slot__get:active { transform: translateX(-50%) translateY(1px); }
.slot__get svg { width: 16px; height: 16px; }

/* ===========================================================================
   Aperçu d'une carte de set (grande image + bouton Ajouter)
   =========================================================================== */
.preview-sheet { text-align: center; }
.preview-card { width: 62%; max-width: 220px; margin: 6px auto 14px; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-2); aspect-ratio: 3 / 4.18; background: var(--c-bg-2); }
.preview-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-name { font-size: var(--fs-22); text-transform: uppercase; letter-spacing: .01em; }
.preview-meta { font-size: var(--fs-13); color: var(--c-ink-3); margin: 5px 0 2px; }

/* ===========================================================================
   Accueil Sets — boutons de jeu distincts (couleur + carte emblématique)
   =========================================================================== */
.gamechooser { display: grid; gap: var(--sp-4); }
.gamebtn {
  display: flex; align-items: center; gap: var(--sp-4); width: 100%; text-align: left;
  padding: var(--sp-4); border-radius: var(--r-lg);
  background: linear-gradient(118deg, color-mix(in srgb, var(--accent) 15%, var(--c-surface)), var(--c-surface) 60%);
  border: 1px solid var(--c-line); border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-1); transition: transform var(--dur-1) var(--ease);
}
.gamebtn:active { transform: translateY(1px); }
.gamebtn__art {
  width: 64px; height: 89px; flex: none; border-radius: var(--r-sm); overflow: hidden; position: relative;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 82%, #000);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 38%, transparent);
}
.gamebtn__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.gamebtn__mono { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-13); letter-spacing: .08em; color: rgba(255,255,255,.9); }
.gamebtn__body { flex: 1; min-width: 0; }
.gamebtn__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-22); text-transform: uppercase; letter-spacing: .02em; color: var(--c-ink); line-height: 1; }
.gamebtn__meta { font-size: var(--fs-12); color: var(--c-ink-3); margin-top: 5px; }
.gamebtn__count { font-size: var(--fs-13); color: var(--accent); margin-top: 7px; }
.gamebtn__count b { font-family: var(--font-mono); font-weight: 700; }
.gamebtn > svg { width: 20px; height: 20px; color: var(--accent); flex: none; transform: rotate(-90deg); }

/* ===========================================================================
   Accueil Sets v2 — 3 panneaux pleine hauteur (logos), aucun scroll
   =========================================================================== */
.sets-home { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.sets-home .section-head { flex: none; }
.gamechooser { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; min-height: 0; }
.gamebtn {
  flex: 1; min-height: 0; width: 100%; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-lg);
  border: 1px solid var(--c-line); border-left: 6px solid var(--accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--c-surface)), color-mix(in srgb, var(--accent) 6%, var(--c-surface)));
  box-shadow: var(--shadow-1); transition: transform var(--dur-1) var(--ease);
}
.gamebtn:active { transform: scale(.99); }
.gamebtn__brand { flex: 1; min-height: 0; display: grid; place-items: center; width: 100%; }
.gamebtn__logo { max-width: 74%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,.2)); }
.gamebtn__word { display: none; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 9vw, 46px); letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.gamebtn__brand.noimg .gamebtn__word { display: block; }
.gamebtn__info { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  font-size: var(--fs-13); color: var(--c-ink-2); }
.gamebtn__own { color: var(--accent); font-weight: 600; }
.gamebtn__own b { font-family: var(--font-mono); }
