/* MINUIT — Records de la salle (js/records.js). Chargée par le script (index.html ne porte que la ligne <script>).
   Couches (échelle de css/base.css) : 900 .rc-btn (bouton du tableau d'honneur, hall seulement, posé à une place libre) ·
   1096 .rc-overlay (tableau d'honneur, au-dessus du cabinet 1095) · 1166 .rc-annonce (« NOUVEAU RECORD ! », posée par Casino.ux.propre,
   au-dessus des plaques des succès 1165, sous le récap de soirée 1170).
   Grammaire : l'or #deb85c, Limelight pour les titres, Chakra Petch pour les chiffres (volets à chasse fixe), Jost pour le reste. */

/* ---------------- les volets (tableau de gare) ---------------- */
.rc-flap { display: inline-flex; gap: 3px; perspective: 420px; vertical-align: middle; }
.rc-v { position: relative; display: inline-grid; place-items: center; min-width: .74em; height: 1.34em; padding: 0 .07em; border-radius: 5px;
  font-family: var(--font-num); font-weight: 700; font-size: 34px; line-height: 1; color: #f8edcf; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #262b44 0, #1c2036 49%, #07080f 49.5%, #07080f 50.5%, #171a2d 51%, #10131f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.7), 0 2px 5px rgba(0,0,0,.55); transform-origin: 50% 50%; }
.rc-v b { font-weight: 700; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.rc-v::before, .rc-v::after { content: ''; position: absolute; top: calc(50% - 2px); width: 2px; height: 4px; border-radius: 1px; background: #3a3f58; }
.rc-v::before { left: -1px; } .rc-v::after { right: -1px; }
.rc-v.is-sp { min-width: .3em; background: none; box-shadow: none; }
.rc-v.is-sp::before, .rc-v.is-sp::after { display: none; }

/* ---------------- « NOUVEAU RECORD ! » ---------------- */
.rc-annonce { position: fixed; left: 50%; top: 80px; width: 600px; z-index: 1166; box-sizing: border-box; overflow: hidden; cursor: pointer;
  font-family: var(--font-ui); color: var(--text); border-radius: 14px; padding: 0 0 12px;
  background: radial-gradient(140% 90% at 50% -20%, rgba(222,184,92,.20), transparent 55%), linear-gradient(180deg, #141a31, #080a14 78%);
  box-shadow: 0 0 0 1px rgba(222,184,92,.6), 0 0 0 4px rgba(5,6,11,.92), 0 0 0 5px rgba(222,184,92,.28), 0 26px 60px rgba(0,0,0,.62), 0 0 70px rgba(222,184,92,.16);
  opacity: 0; transform: translateY(-16px) scale(.97); transform-origin: 50% 0;
  transition: opacity .28s ease, transform .5s cubic-bezier(.2,1.35,.4,1); }
.rc-annonce.is-in { opacity: 1; transform: none; }
.rc-annonce.is-out { opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .35s ease, transform .4s ease; pointer-events: none; }
.rc-annonce:hover { box-shadow: 0 0 0 1px var(--gold-hi), 0 0 0 4px rgba(5,6,11,.92), 0 0 0 5px rgba(247,221,143,.45), 0 26px 60px rgba(0,0,0,.62), 0 0 80px rgba(222,184,92,.24); }

/* le fronton : un bandeau de laiton bordé d'ampoules qui courent (comme la marquise d'un casino) */
.rc-a-rail { position: relative; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 15px 18px 12px;
  background: linear-gradient(180deg, rgba(222,184,92,.26), rgba(222,184,92,.07) 70%, rgba(222,184,92,.02)); border-bottom: 1px solid rgba(222,184,92,.38); }
.rc-a-rail::before, .rc-a-rail::after { content: ''; position: absolute; left: 8px; right: 8px; height: 5px;
  background: radial-gradient(circle, #fff1c2 0 1.3px, rgba(255,214,120,.55) 1.9px, transparent 2.6px) 0 50% / 13px 5px repeat-x;
  animation: rc-chase 1.1s steps(3) infinite; opacity: .95; }
.rc-a-rail::before { top: 4px; } .rc-a-rail::after { bottom: 3px; animation-direction: reverse; }
@keyframes rc-chase { from { background-position-x: 0; } to { background-position-x: 39px; } }
.rc-a-kick { font-family: var(--font-display); font-size: 30px; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-hi);
  text-shadow: 0 0 20px rgba(247,221,143,.55), 0 2px 0 #4d390f, 0 3px 10px rgba(0,0,0,.6); }
.rc-annonce.is-in .rc-a-kick { animation: rc-neon 1.2s ease-out .05s both; }
@keyframes rc-neon { 0% { opacity: .1; } 12% { opacity: 1; } 18% { opacity: .35; } 26% { opacity: 1; } 34% { opacity: .6; } 42%, 100% { opacity: 1; } }
.rc-a-portee { font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #cfc4a4; }

.rc-a-corps { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px 8px; }
.rc-a-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 29px; line-height: 1;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.16), rgba(10,13,24,.95) 62%); box-shadow: 0 0 0 2px var(--pc, #deb85c), 0 0 0 5px rgba(5,6,11,.9), 0 0 24px var(--pc, #deb85c); }
.rc-a-txt { min-width: 0; }
.rc-a-titre { font-family: var(--font-display); font-size: 21px; color: var(--text); line-height: 1.15; }
.rc-a-qui { margin-top: 4px; font-size: 14.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-a-qui b { color: var(--text); font-weight: 600; }
.rc-a-qui em { font-style: normal; color: var(--gold); }
.rc-a-val { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rc-a-unite { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.rc-annonce.is-in .rc-a-val .rc-v { animation: rc-flip .52s cubic-bezier(.3,1.45,.5,1) both; animation-delay: calc(var(--i) * 60ms + 220ms); }
@keyframes rc-flip { 0% { transform: rotateX(-95deg); filter: brightness(2.4); } 62% { transform: rotateX(14deg); filter: brightness(1.3); } 100% { transform: none; filter: none; } }

/* l'ancien record, rayé à l'encre rouge */
.rc-a-ancien { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 4px 18px 0; padding-top: 9px; border-top: 1px dashed rgba(222,184,92,.26);
  font-size: 13.5px; color: var(--text-dim); }
.rc-a-ancien-lab { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.rc-a-ancien.is-premier .rc-a-ancien-lab { color: var(--gold); letter-spacing: .16em; }
.rc-a-barre { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #b9b19a; }
.rc-a-barre b { color: #d9d0b5; font-weight: 600; }
.rc-a-barre::after { content: ''; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; border-radius: 2px; background: #e23b4a;
  box-shadow: 0 0 6px rgba(226,59,74,.7); transform: scaleX(0) rotate(-2deg); transform-origin: 0 50%; }
.rc-annonce.is-in .rc-a-barre::after { animation: rc-raye .5s cubic-bezier(.6,0,.3,1) 1.15s forwards; }
@keyframes rc-raye { to { transform: scaleX(1) rotate(-2deg); } }
.rc-a-date { font-size: 12px; color: var(--text-faint); }
.rc-a-av-mini { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; background: #0c0f1c; box-shadow: 0 0 0 1.5px var(--pc, #deb85c); }
.rc-a-aussi { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 9px 18px 0; font-size: 12.5px; color: var(--text-dim); }
.rc-a-aussi > span:first-child { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.rc-a-chip { padding: 3px 9px; border-radius: 999px; background: rgba(222,184,92,.09); box-shadow: inset 0 0 0 1px rgba(222,184,92,.28); color: #e8dcb8; }
.rc-a-chip b { color: var(--gold-hi); font-weight: 600; }

/* le mien : un halo de plus */
.rc-annonce.is-soi { box-shadow: 0 0 0 1px var(--gold-hi), 0 0 0 4px rgba(5,6,11,.92), 0 0 0 5px rgba(247,221,143,.5), 0 26px 60px rgba(0,0,0,.62), 0 0 90px rgba(247,221,143,.3); }
/* par jeu : un ton plus bas */
.rc-annonce.is-jeu .rc-a-kick { font-size: 25px; }
.rc-annonce.is-jeu .rc-v { font-size: 29px; }

/* le plongeon : record… de la honte */
.rc-annonce.is-honte { background: radial-gradient(140% 90% at 50% -20%, rgba(226,59,74,.22), transparent 55%), linear-gradient(180deg, #1c1320, #0a0710 78%);
  box-shadow: 0 0 0 1px rgba(255,90,103,.6), 0 0 0 4px rgba(5,6,11,.92), 0 0 0 5px rgba(255,90,103,.25), 0 26px 60px rgba(0,0,0,.62), 0 0 70px rgba(226,59,74,.18); }
.rc-annonce.is-honte .rc-a-rail { background: linear-gradient(180deg, rgba(226,59,74,.26), rgba(226,59,74,.06) 70%, transparent); border-bottom-color: rgba(255,90,103,.35); }
.rc-annonce.is-honte .rc-a-rail::before, .rc-annonce.is-honte .rc-a-rail::after { background-image: radial-gradient(circle, #ffd0d4 0 1.3px, rgba(255,90,103,.55) 1.9px, transparent 2.6px); }
.rc-annonce.is-honte .rc-a-kick { color: #ff9aa3; text-shadow: 0 0 18px rgba(255,90,103,.5), 0 2px 0 #4a0f16; text-transform: none; font-size: 26px; }
.rc-annonce.is-honte .rc-v { color: #ffd6da; background: linear-gradient(180deg, #3a2030 0, #2a1624 49%, #0b060a 49.5%, #0b060a 50.5%, #231321 51%, #170c16 100%); }

/* resserré : quand le centre haut est pris (salon du blackjack, Derby…), posé à la place libre la plus proche */
.rc-annonce.is-compact { padding-bottom: 9px; border-radius: 12px; }
.rc-annonce.is-compact .rc-a-rail { padding: 11px 12px 8px; gap: 2px 8px; }
.rc-annonce.is-compact .rc-a-kick { font-size: 20px; }
.rc-annonce.is-compact .rc-a-portee { font-size: 10.5px; letter-spacing: .18em; }
.rc-annonce.is-compact .rc-a-corps { gap: 10px; padding: 9px 12px 4px; }
.rc-annonce.is-compact .rc-a-av { width: 38px; height: 38px; font-size: 20px; }
.rc-annonce.is-compact .rc-a-titre { font-size: 15.5px; }
.rc-annonce.is-compact .rc-a-qui { font-size: 12.5px; margin-top: 2px; }
.rc-annonce.is-compact .rc-v { font-size: 22px; }
.rc-annonce.is-compact .rc-a-ancien { margin: 2px 12px 0; padding-top: 6px; font-size: 12px; }
.rc-annonce.is-compact .rc-a-aussi, .rc-annonce.is-compact .rc-a-date { display: none; }

/* bandeau : quand le format resserré couvrirait encore une commande ou un résultat (une table pleine : la roulette plein écran), la même
   marquise sur deux lignes, ses ampoules en haut et en bas ; le détail de l'ancien record reste au tableau d'honneur */
.rc-annonce.is-bandeau { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'av rail val' 'av txt val';
  align-items: center; column-gap: 8px; padding: 10px 12px 9px; border-radius: 10px; }
.rc-annonce.is-bandeau .rc-a-corps { display: contents; }
/* une seule ligne visible : la portée y tient entière, sinon elle passe à la ligne masquée (jamais coupée en « D… ») */
.rc-annonce.is-bandeau .rc-a-rail { grid-area: rail; position: static; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start;
  gap: 8px; height: 17px; overflow: hidden; padding: 0; background: none; border: 0; }
.rc-annonce.is-bandeau .rc-a-rail::before { top: 2px; }
.rc-annonce.is-bandeau .rc-a-rail::after { bottom: 1px; }
.rc-annonce.is-bandeau .rc-a-kick { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.rc-annonce.is-bandeau .rc-a-portee { white-space: nowrap; font-size: 9px; letter-spacing: .16em; }
.rc-annonce.is-bandeau.is-jeu .rc-a-kick { font-size: 12.5px; }
.rc-annonce.is-bandeau .rc-a-av { grid-area: av; width: 32px; height: 32px; font-size: 17px;
  box-shadow: 0 0 0 1.5px var(--pc, #deb85c), 0 0 0 4px rgba(5,6,11,.9), 0 0 14px var(--pc, #deb85c); }
.rc-annonce.is-bandeau .rc-a-txt { grid-area: txt; display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
.rc-annonce.is-bandeau .rc-a-titre { flex: none; font-size: 13px; }
.rc-annonce.is-bandeau .rc-a-qui { min-width: 0; margin-top: 0; font-size: 12px; }
.rc-annonce.is-bandeau .rc-a-val { grid-area: val; gap: 2px; }
.rc-annonce.is-bandeau .rc-v { font-size: 16px; border-radius: 4px; }
.rc-annonce.is-bandeau .rc-a-unite { font-size: 8.5px; letter-spacing: .14em; }
.rc-annonce.is-bandeau .rc-a-ancien, .rc-annonce.is-bandeau .rc-a-aussi { display: none; }
/* MESSAGES 04/10 (revue n° 3, défaut 2) — dans un jeu à l'échelle (js : placerSousBarre), le bandeau a SA place : sous la barre, à 16 px
   d'elle et du bord gauche, au palier du jeu (css/base.css, « la coque à l'échelle »). Trois lignes serrées (l'annonce, le record, le
   joueur) au plancher de 12 px de feuille (16 à 2560), le nom ENTIER, plus rien de rogné. 55 px de haut : avec ses 16 px d'air il tient
   dans la tête du jeu (72 px) sans descendre sur la page ; 572 px au plus : il s'arrête 16 px avant le premier onglet de l'Armurerie.
   Un seul filet de laiton, pas d'ampoules : les anneaux et la marquise de la grande carte ne tiennent pas dans cette hauteur. */
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre { width: max-content; max-width: min(572px, calc(100 * var(--vw, 1vw) - 32px)); column-gap: 10px; padding: 5px 14px 5px 10px;
  box-shadow: 0 0 0 1px rgba(222,184,92,.6), 0 10px 24px rgba(0,0,0,.55); }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre:hover { box-shadow: 0 0 0 1px var(--gold-hi), 0 10px 24px rgba(0,0,0,.55); }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-rail { height: auto; overflow: visible; gap: 0 10px; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-rail::before, .coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-rail::after { display: none; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-kick { overflow: visible; text-overflow: clip; font-size: 14px; line-height: 1.1; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-portee { font-size: 12px; letter-spacing: .14em; line-height: 1.1; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-av { width: 36px; height: 36px; font-size: 19px; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-txt { flex-direction: column; align-items: flex-start; gap: 0; overflow: visible; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-titre { font-size: 13px; line-height: 1.15; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-qui { overflow: visible; text-overflow: clip; white-space: normal; font-size: 12px; line-height: 1.2; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-v { font-size: 18px; }
.coque-a-l-echelle .rc-annonce.is-bandeau.is-barre .rc-a-unite { font-size: 12px; letter-spacing: .12em; }

/* ---------------- le bouton du tableau d'honneur (hall seulement) ---------------- */
.rc-btn { position: fixed; right: 12px; bottom: 12px; z-index: 900; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px 0 8px;
  border: 0; border-radius: 17px; cursor: pointer; font: 600 11.5px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  background: linear-gradient(180deg, rgba(26,32,64,.92), rgba(10,13,24,.92)); box-shadow: inset 0 0 0 1px rgba(222,184,92,.45), 0 6px 16px rgba(0,0,0,.4);
  opacity: .84; transition: opacity .2s, box-shadow .2s, transform .2s; }
.rc-btn[hidden] { display: none; }
.rc-btn:hover, .rc-btn:focus-visible { opacity: 1; color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-hi), 0 6px 20px rgba(0,0,0,.45), 0 0 18px rgba(222,184,92,.3); }
.rc-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.rc-btn-ico { display: inline-grid; width: 22px; height: 22px; }
.rc-btn-ico svg { width: 22px; height: 22px; }

/* ---------------- le tableau d'honneur ---------------- */
.rc-overlay { position: fixed; inset: 0; z-index: 1096; display: grid; place-items: center; padding: 16px; background: rgba(3,4,9,.74);
  backdrop-filter: blur(3px); animation: rc-fondu .2s ease both; }
.rc-overlay.is-out { opacity: 0; transition: opacity .2s ease; }
@keyframes rc-fondu { from { opacity: 0; } }
.rc-board { width: min(1080px, 100%); max-height: min(calc(92 * var(--vh, 1vh)), 920px); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: radial-gradient(120% 70% at 50% -12%, rgba(222,184,92,.13), transparent 60%), linear-gradient(180deg, #121629, #080a14);
  box-shadow: 0 0 0 1px rgba(222,184,92,.5), 0 0 0 6px #05060b, 0 0 0 7px rgba(222,184,92,.2), 0 30px 90px rgba(0,0,0,.72);
  animation: rc-monte .32s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes rc-monte { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.rc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 22px 15px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(222,184,92,.08), transparent); }
.rc-head-ico { display: grid; width: 50px; height: 50px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(222,184,92,.35)); }
.rc-head-ico svg { width: 50px; height: 50px; }
.rc-kicker { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--text-faint); }
.rc-head h2 { margin: 3px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.05; color: var(--gold-hi);
  text-shadow: 0 0 22px rgba(247,221,143,.25); }
.rc-sub { margin: 4px 0 0; font-size: 14px; color: var(--text-dim); }
.rc-x { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 17px; color: var(--text-dim); background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px var(--line); }
.rc-x:hover, .rc-x:focus-visible { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold); outline: none; }
.rc-body { overflow: auto; padding: 16px 22px 20px; scrollbar-color: rgba(222,184,92,.35) transparent; }
.rc-sec { margin-bottom: 20px; }
.rc-sec h3 { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; font: 600 11.5px/1 var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.rc-sec h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.rc-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; }

/* une plaque gravée : cadre de laiton, quatre vis, la valeur en volets */
.rc-plaque { position: relative; padding: 15px 16px 13px; border-radius: 12px; min-height: 168px;
  background: linear-gradient(155deg, #1d2238, #0d101d 72%); box-shadow: inset 0 0 0 1px rgba(222,184,92,.38), inset 0 0 0 4px rgba(5,6,11,.8), inset 0 0 0 5px rgba(222,184,92,.13), 0 8px 20px rgba(0,0,0,.35); }
.rc-plaque::before, .rc-plaque::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; top: 9px;
  background: radial-gradient(circle at 35% 35%, #f7dd8f, #8c6a22 70%); box-shadow: 0 1px 1px rgba(0,0,0,.6); }
.rc-plaque::before { left: 9px; } .rc-plaque::after { right: 9px; }
.rc-p-lab { padding: 0 10px; text-align: center; font-family: var(--font-display); font-size: 17.5px; color: var(--gold-hi); line-height: 1.15; }
.rc-p-sous { margin-top: 3px; text-align: center; font-size: 11.5px; color: var(--text-faint); }
.rc-p-val { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin: 13px 0 11px; }
.rc-p-val .rc-v { font-size: 23px; }
.rc-p-val.is-vide { font-family: var(--font-num); font-size: 22px; letter-spacing: .2em; color: #3f4460; }
.rc-p-unite { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.rc-p-qui { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; }
.rc-p-qui b { font-weight: 600; }
.rc-p-qui em { font-style: normal; color: var(--gold); }
.rc-p-qui.is-vide { font-size: 13px; color: var(--text-faint); font-style: italic; }
.rc-p-ou { margin-top: 5px; text-align: center; font-size: 12px; color: var(--text-dim); }
.rc-plaque.is-vide { opacity: .72; }
.rc-plaque.is-moi { box-shadow: inset 0 0 0 1px var(--gold-hi), inset 0 0 0 4px rgba(5,6,11,.8), inset 0 0 0 5px rgba(247,221,143,.3), 0 8px 24px rgba(0,0,0,.35), 0 0 26px rgba(222,184,92,.16); }
.rc-plaque.is-honte { background: linear-gradient(155deg, #251827, #100a12 72%); box-shadow: inset 0 0 0 1px rgba(255,90,103,.42), inset 0 0 0 4px rgba(5,6,11,.8), inset 0 0 0 5px rgba(255,90,103,.12), 0 8px 20px rgba(0,0,0,.35); }
.rc-plaque.is-honte .rc-p-lab { color: #ff9aa3; }
.rc-plaque.is-honte .rc-p-lab::after { content: 'le mur de la honte'; font-family: var(--font-ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #b8646d; display: block; margin-top: 3px; }
.rc-plaque.is-honte .rc-v { color: #ffd6da; background: linear-gradient(180deg, #3a2030 0, #2a1624 49%, #0b060a 49.5%, #0b060a 50.5%, #231321 51%, #170c16 100%); }
.rc-av { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; line-height: 1;
  background: #0c0f1c; box-shadow: 0 0 0 1.5px var(--pc, #deb85c), 0 0 10px rgba(0,0,0,.4); }
.rc-av.is-xs { width: 20px; height: 20px; font-size: 11.5px; }

/* par jeu */
.rc-jeux { display: grid; gap: 4px; }
.rc-j-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(222,184,92,.1); }
.rc-j-row.is-head { background: none; box-shadow: none; padding-top: 0; padding-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.rc-j-nom { font-family: var(--font-display); font-size: 16px; color: var(--text); }
.rc-j-cell { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; color: var(--text-dim); }
.rc-j-cell b { font-family: var(--font-num); font-weight: 700; font-size: 16px; color: var(--gold-hi); }
.rc-j-cell.is-moi b { text-shadow: 0 0 10px rgba(247,221,143,.45); }
.rc-j-cell.is-vide { color: #3f4460; }
.rc-j-qui { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-vide { margin: 8px 0; color: var(--text-faint); font-style: italic; }
.rc-note { margin: 4px 0 0; font-size: 12.5px; color: var(--text-faint); }
.rc-host { margin-top: 14px; display: flex; justify-content: flex-end; }
.rc-wipe { padding: 9px 14px; border-radius: 10px; border: 0; cursor: pointer; font: 600 12.5px var(--font-ui); color: #e9a3aa; background: rgba(226,59,74,.08);
  box-shadow: inset 0 0 0 1px rgba(226,59,74,.35); }
.rc-wipe:hover, .rc-wipe:focus-visible { color: #ffd0d4; box-shadow: inset 0 0 0 1px rgba(255,90,103,.7); outline: none; }
.rc-wipe.is-armed { color: #fff; background: rgba(226,59,74,.5); }

/* ---------------- petits écrans ---------------- */
@media (max-width: 720px) {
  .rc-annonce .rc-a-kick { font-size: 22px; }
  .rc-annonce .rc-a-corps { grid-template-columns: auto minmax(0, 1fr); }
  .rc-annonce .rc-a-val { grid-column: 1 / -1; align-items: center; }
  .rc-head h2 { font-size: 28px; }
  .rc-head-ico { display: none; }
  .rc-head { grid-template-columns: minmax(0, 1fr) auto; }
  .rc-j-row { grid-template-columns: 1fr 1fr; }
  .rc-j-row.is-head { display: none; }
  .rc-j-nom { grid-column: 1 / -1; }
}

/* ---------------- qualité allégée (Casino.perf) et animations réduites ---------------- */
html.perf-low .rc-annonce { box-shadow: 0 0 0 1px rgba(222,184,92,.6), 0 0 0 4px rgba(5,6,11,.92), 0 12px 28px rgba(0,0,0,.6); transition: opacity .2s ease; transform: none; }
html.perf-low .rc-annonce.is-honte { box-shadow: 0 0 0 1px rgba(255,90,103,.6), 0 0 0 4px rgba(5,6,11,.92), 0 12px 28px rgba(0,0,0,.6); }
html.perf-low .rc-a-rail::before, html.perf-low .rc-a-rail::after { animation: none; }
html.perf-low .rc-annonce.is-in .rc-a-val .rc-v { animation: rc-fondu .25s ease both; animation-delay: calc(var(--i) * 30ms); }
html.perf-low .rc-annonce.is-in .rc-a-kick { animation: none; }
html.perf-low .rc-overlay { backdrop-filter: none; background: rgba(3,4,9,.86); }
html.perf-low .rc-board { animation: none; }
html.reduce-motion .rc-annonce, html.reduce-motion .rc-annonce.is-out { transition: opacity .2s ease; transform: none; }
html.reduce-motion .rc-a-rail::before, html.reduce-motion .rc-a-rail::after, html.reduce-motion .rc-annonce.is-in .rc-a-kick,
html.reduce-motion .rc-annonce.is-in .rc-a-val .rc-v, html.reduce-motion .rc-board, html.reduce-motion .rc-overlay { animation: none; }
html.reduce-motion .rc-annonce.is-in .rc-a-barre::after { animation: none; transform: scaleX(1) rotate(-2deg); }
/* TÉLÉPHONE — N11 (annexe A de la revue au téléphone, REMESURÉE sur 1bedc6a) : le mot « Records » du bouton du tableau d'honneur (11,5 px, couché) : 12 px. Mêmes polices, même interlettrage,
   même couleur ; on agrandit le texte, on ne redessine pas. Bornée au téléphone : le PC ne change pas (dev/tests-client/s5-tel-textes.mjs, D et D2). */
@media (orientation: portrait) and (max-width: 480px), (orientation: landscape) and (max-height: 560px) {
  .rc-btn { font-size: 12px; }
}
/* N29 — EN RETRAIT (js/records.js, retrait) : une fenêtre ouverte ne laisse aucune place hors d'elle ; l'annonce attend sa fermeture,
   invisible et sans toucher, son temps arrêté, puis revient. Au PC comme au téléphone : la seule règle hors borne du lot N29. */
.rc-annonce.is-retrait { visibility: hidden; pointer-events: none; }
/* N29, point 5 — TÉLÉPHONE : les textes de l'annonce à 12 px au moins (la règle de N11 ; dev/tests-client/s5-annonce-fenetre.mjs,
   section T) : la portée (« de la salle », « au Derby de Minuit » : 10,5 px resserrée, 9 px en bandeau), l'unité (« d'affilée »,
   « jetons » : 11 px, 8,5 px en bandeau), « Ancien record » / « Premier record… » (10,5 px), « Et aussi » (10,5 px). Mêmes polices,
   mêmes couleurs, même interlettrage (en em) : on agrandit, on ne redessine pas. Le PC ne change pas. */
@media (orientation: portrait) and (max-width: 480px), (orientation: landscape) and (max-height: 560px) {
  .rc-annonce .rc-a-portee, .rc-annonce.is-compact .rc-a-portee, .rc-annonce.is-bandeau .rc-a-portee,
  .rc-annonce .rc-a-unite, .rc-annonce.is-bandeau .rc-a-unite,
  .rc-annonce .rc-a-ancien-lab, .rc-annonce .rc-a-aussi > span:first-child { font-size: 12px; }
  /* le bandeau : à 12 px, la portée ne tient plus toujours sur la ligne de « Nouveau record ! » : sa ligne se montre au lieu d'être
     masquée (le rail n'a plus rien à rogner) ; le titre et le nom passent à la ligne au lieu de se couper (rien ne se rogne de plus
     qu'avant : section T) */
  .rc-annonce.is-bandeau .rc-a-rail { height: auto; overflow: visible; }
  .rc-annonce.is-bandeau .rc-a-txt { flex-wrap: wrap; row-gap: 0; }
}
