/* The Belote table (public/js/player-belote.js), since 2026-11-03 in the club room the Rami,
   UNO and Noufi tables share (the owner: "make it rami style"): the wood frame and the purple
   mat, the pills with their chips and clocks, the status line, the scores note, then Belote's
   own pieces: the bidding buttons under the turned card, the trump plate, each side's pile of
   tricks, the trick in the middle and the paper between rounds. Everything else is player.css
   and pulse-*.css. */
.pa-suit-D, .pa-suit-H { color: #ff5c7a; }
.pa-suit-C, .pa-suit-S { color: var(--hb-silver-2); }
.pa-trump { display: inline-flex; align-items: center; gap: .35em; }
.pa-trump > b { font-size: 1.3em; line-height: 1; }
.pa-thdr-c .pa-trump > span { color: var(--hb-silver-2); font-weight: 700; font-size: .85em; }
.pa-felt-belote .pa-trick > .card, .pa-felt-belote .pa-turned > .card, .pa-felt-belote .pa-bl-piles .card { pointer-events: none; }

/* ---------- The club room (copied from player-uno.css with the Belote felt's class) ---------- */
.pa-felt-belote .pa-fx { pointer-events: none; }
.pa-felt-belote .pa-fx > .card { pointer-events: none; will-change: transform; }
.pa-felt-belote.pa-flat, .pa-felt-belote.pa-flat .hb-stage-host, .pa-felt-belote.pa-flat .hb-stage { background: #0a0612; }
.pa-felt-belote.pa-flat .hb-stage > .hb-scene {
  background:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 132px 132px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 132px 132px,
    radial-gradient(ellipse at 50% 42%, #2a1840 0%, #170d24 48%, #080510 100%);
}
.pa-felt-belote.pa-flat .hb-cam > .hb-plane {
  border-radius: 46px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .75 0 0 0 0 .6 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    radial-gradient(ellipse at 50% 44%, #221335 0%, #180c26 50%, #0e0717 100%);
  box-shadow: 0 0 0 3px #150a08, 0 0 0 5px rgba(255, 226, 190, .09), inset 0 0 140px rgba(0, 0, 0, .62), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.pa-felt-belote.pa-flat .hb-cam > .hb-plane::before {
  content: ''; position: absolute; inset: -150px -230px; border-radius: 150px; pointer-events: none; transform: translateZ(-1px);
  background:
    linear-gradient(135deg, rgba(170, 110, 255, .12), transparent 38%, transparent 62%, rgba(170, 110, 255, .06)),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .35) 100%),
    repeating-linear-gradient(91deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 235, 210, .035) 2px 3px, transparent 3px 11px),
    repeating-linear-gradient(89.3deg, rgba(0, 0, 0, .08) 0 5px, transparent 5px 23px),
    linear-gradient(180deg, #4f2f20 0%, #3d2217 48%, #2c1710 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .85), 0 0 0 2px #120806, inset 0 2px 0 rgba(255, 225, 190, .1), inset 0 -4px 0 rgba(0, 0, 0, .55), inset 0 0 0 10px rgba(0, 0, 0, .12);
}
.pa-felt-belote.pa-flat:not(.pa-myturn) .pa-hand .card { --hb-card-filter: none; }
.pa-felt-belote.pa-flat .pa-ohand > .card { --h: 144px; }
.pa-felt-belote.pa-flat .pa-thdr { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "l c r"; align-items: center; }
.pa-felt-belote.pa-flat .pa-thdr-c { font-size: 1em; padding-block: .25em; }
.pa-felt-belote.pa-flat .pa-seat .pa-stag {
  font-size: 1.22em; flex-direction: row; align-items: center; gap: .6em; padding: .3em 1.1em .3em .35em; border-radius: 999em; max-width: none;
  background: linear-gradient(180deg, #2c1744, #170c29);
  border: .09em solid rgba(255, 209, 102, .32); box-shadow: 0 .5em 1.4em rgba(0, 0, 0, .7), inset 0 .07em 0 rgba(255, 255, 255, .06);
}
.pa-felt-belote.pa-flat .pa-seat.pa-turn > .pa-stag { box-shadow: 0 0 0 .12em rgba(255, 209, 102, .55), 0 .5em 1.4em rgba(0, 0, 0, .7); border-color: rgba(10, 6, 18, .9); }
.pa-felt-belote.pa-flat .pa-seat .pa-avatar { --av: 3.1em; box-shadow: 0 0 0 .13em #ffd166, 0 0 0 .2em rgba(0, 0, 0, .5); }
.pa-felt-belote.pa-flat .pa-seat .pa-sid { align-items: flex-start; gap: .25em; max-width: none; }
.pa-felt-belote.pa-flat .pa-seat .pa-sname { font-size: 1.08em; font-weight: 800; color: #fff; max-width: 9em; }
.pa-felt-belote.pa-flat .pa-seat.pa-turn .pa-sname::before { display: none; }
.pa-felt-belote.pa-flat .pa-seat .pa-chips { display: flex; gap: .3em; flex-wrap: wrap; align-items: center; }
.pa-felt-belote.pa-flat .pa-seat .pa-chip {
  padding: .14em .6em; border-radius: 999em; background: rgba(10, 6, 18, .78); border: .07em solid rgba(232, 196, 110, .4);
  color: #ffd166; font: 800 .62em/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.pa-felt-belote.pa-flat .pa-seat .pa-chip-pts { color: var(--hb-silver-2); border-color: rgba(207, 199, 230, .3); }
.pa-felt-belote.pa-flat .pa-seat .pa-badge { font-size: .62em; }
.pa-felt-belote.pa-flat .pa-seat.pa-out .pa-stag { opacity: .6; }
.pa-felt-belote.pa-flat[data-dense="1"] :is(.pa-pos-left, .pa-pos-right) .pa-avatar { display: inline-grid; }
.pa-felt-belote.pa-flat[data-dense="1"] :is(.pa-pos-left, .pa-pos-right) .pa-stag { gap: .4em; padding: .25em .7em .25em .3em; max-width: none; }
.pa-felt-belote .pa-clock {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%;
  background: #1a0f2a; box-shadow: 0 0 0 .14em #ffd166, 0 0 .9em rgba(255, 209, 102, .45);
  color: #ffd166; font: 800 .95em/1 var(--display); font-variant-numeric: tabular-nums;
}
.pa-felt-belote .pa-clock > .pa-ring { position: absolute; inset: -.32em; width: calc(100% + .64em); height: calc(100% + .64em); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.pa-felt-belote .pa-clock .pa-ring .bg { stroke: rgba(255, 209, 102, .16); }
.pa-felt-belote .pa-clock .pa-ring .fg { stroke: #ffd166; }
.pa-felt-belote .pa-clock .pa-clock-n:not(:empty)::after { content: 's'; font-size: .62em; margin-left: .06em; opacity: .85; }
.pa-felt-belote .pa-clock.urgent { color: var(--hb-crimson-2); box-shadow: 0 0 0 .14em var(--hb-crimson-2), 0 0 .9em rgba(255, 77, 109, .5); }
.pa-felt-belote .pa-clock.urgent .pa-ring .fg { stroke: var(--hb-crimson-2); }
/* the clock beside the pile is a HUD piece like the others: laid out at the HUD's top left and moved by its pin (the
   clock's own position: relative above would leave it in the line's flow, which starts at the right edge in Arabic) */
.pa-felt-belote .hb-hud > .pa-clock-mid { position: absolute; left: 0; top: 0; width: 3.1em; height: 3.1em; font-size: 1.12em; }
.pa-felt-belote .hb-hud > .pa-turnpill {
  padding: .32em 1.1em; border-radius: 999em; border: .1em solid #ffd166; color: #ffd166; background: rgba(14, 9, 23, .82);
  font: 800 .78em/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 .8em rgba(255, 209, 102, .35);
}
.pa-felt-belote .hb-hud > .pa-turnpill::before, .pa-felt-belote .hb-hud > .pa-turnpill::after { content: '•'; margin: 0 .55em; opacity: .8; }
.pa-felt-belote.pa-flat .hb-hud > .pa-stockn { display: flex; flex-direction: column; align-items: flex-end; gap: .1em; font-size: 1em; }
.pa-felt-belote.pa-flat .pa-stockn .pa-deckl { font: 800 .82em/1.1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--hb-silver-2); }
.pa-felt-belote.pa-flat .pa-stockn .pa-deckc { font: 600 .78em/1.1 var(--body); color: var(--hb-smoke); }
.pa-felt-belote .hb-hud > .pa-scorenote {
  width: 10.4em; padding: .55em .8em .7em; transform: rotate(-1.5deg);
  border-radius: .25em .9em .35em 1.1em / .8em .3em 1em .35em;
  background: linear-gradient(170deg, #fcf8ec, #ede4cc); color: #2b2436; font: 600 1.1em/1.3 var(--body);
  box-shadow: 0 .4em 1.2em rgba(0, 0, 0, .6), inset 0 0 0 .07em rgba(0, 0, 0, .05), inset 0 -.6em 1em rgba(0, 0, 0, .05);
}
.pa-felt-belote .pa-scorenote-t { display: block; font: 800 1.45em/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #2f2744; margin-bottom: .3em; padding-bottom: .15em; border-bottom: .09em solid rgba(43, 36, 54, .3); }
.pa-felt-belote .pa-scorenote-l { list-style: none; margin: 0; padding: 0; }
.pa-felt-belote .pa-scorenote-l li { display: flex; justify-content: space-between; gap: .6em; align-items: baseline; }
.pa-felt-belote .pa-scorenote-l li.me .pa-scorenote-n::before { content: '●'; font-size: .55em; margin-right: .35em; vertical-align: middle; color: #7a1f8f; }
.pa-felt-belote .pa-scorenote-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a4160; }
.pa-felt-belote .pa-scorenote-l strong { font: 800 1.05em/1.2 var(--display); font-variant-numeric: tabular-nums; color: #2b2436; }
.pa-felt-belote.pa-flat .pa-meline.pa-sline { gap: .5em; padding: 0 .4em; background: none; border: 0; box-shadow: none; }
.pa-felt-belote.pa-flat .pa-sline.pa-turn { box-shadow: none; }
.pa-felt-belote.pa-flat .pa-sline .pa-sline-t { color: #ece5f7; font-weight: 600; font-size: .95em; white-space: nowrap; text-shadow: 0 .1em .4em rgba(0, 0, 0, .9); }
.pa-felt-belote.pa-flat .pa-sline .pa-clock-sm { width: 2.2em; height: 2.2em; font-size: .85em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-seat .pa-stag { font-size: .8em; flex-direction: column; gap: .12em; padding: .28em .45em .4em; border-radius: 1.3em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-seat .pa-avatar { --av: 2.7em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-seat .pa-sid { align-items: center; gap: .12em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-seat .pa-sname { max-width: 6.6em; font-size: .95em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-seat .pa-chip { font-size: .72em; }
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-scorenote { width: 8.4em; font-size: .78em; padding: .4em .6em .5em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-scorenote-t { font-size: 1.25em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-sline .pa-sline-t { font-size: .84em; white-space: normal; text-align: center; max-width: 70vw; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .pa-thdr { font-size: .8em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .hb-hud > .pa-stockn { align-items: center; font-size: .85em; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat, .pa[data-layout="phone"] .pa-felt-belote.pa-flat .hb-stage-host, .pa[data-layout="phone"] .pa-felt-belote.pa-flat .hb-stage { background: #3a2016; }
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .hb-stage > .hb-scene {
  background:
    repeating-linear-gradient(91deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 235, 210, .035) 2px 3px, transparent 3px 11px),
    repeating-linear-gradient(89.3deg, rgba(0, 0, 0, .08) 0 5px, transparent 5px 23px),
    linear-gradient(180deg, #4f2f20 0%, #3d2217 48%, #2c1710 100%);
}
.pa[data-layout="phone"] .pa-felt-belote.pa-flat .hb-cam > .hb-plane::before { inset: -420px -320px; border-radius: 160px; }
.pa-felt-belote .hb-hud > .pa-openbtn {
  pointer-events: auto; cursor: pointer; appearance: none; border: .1em solid #ffd166; border-radius: 999em; padding: .5em 1.2em;
  background: linear-gradient(180deg, #4a2b12, #2a160a); color: #ffd166; font: 800 .82em/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 .9em rgba(255, 209, 102, .4), 0 .4em 1em rgba(0, 0, 0, .6); transition: transform .15s, box-shadow .15s;
}
.pa-felt-belote .hb-hud > .pa-openbtn:hover { transform: translateY(-1px); box-shadow: 0 0 1.2em rgba(255, 209, 102, .6), 0 .5em 1.2em rgba(0, 0, 0, .6); }
.pa-felt-belote.pa-flat .pa-deckstack.target .hb-stack { filter: drop-shadow(0 0 .3em rgba(255, 209, 102, .85)) drop-shadow(0 0 .9em rgba(255, 209, 102, .35)); }
/* the Chkoba flat table's empty-pile frame has no place here */
.pa-felt-belote.pa-flat .pa-pile::before { display: none; }
/* the scores note's round line */
.pa-felt-belote .pa-scorenote-r { display: block; margin-top: .4em; font: 600 .68em/1.2 var(--body); color: #6b6380; }
/* between rounds: a cream paper with every hand left and what it counted */
.pa-felt-belote .pa-midover[data-kind="round"] { background: radial-gradient(closest-side, rgba(10, 6, 18, .55), rgba(10, 6, 18, .2)); }
.pa-felt-belote .pa-usheet {
  width: min(640px, 100%); max-height: 100%; overflow: auto; box-sizing: border-box; padding: 1rem 1.3rem 1.1rem; text-align: left;
  border-radius: 6px; color: #2b2436; background: linear-gradient(180deg, #fbf7ea, #f0e8d3); border: 0;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(0, 0, 0, .05); animation: pop-in .3s var(--hb-ease);
}
.pa-felt-belote .pa-usheet-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid rgba(43, 36, 54, .55); padding-bottom: .35rem; margin-bottom: .4rem; }
.pa-felt-belote .pa-usheet-h h3 { margin: 0; font: 800 1.3rem/1.15 var(--display); color: #2b2436; }
.pa-felt-belote .pa-usheet-sub { font: 800 .7rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8a809c; }
.pa-felt-belote .pa-usheet-note { margin: 0 0 .5rem; color: #6b6380; font-size: .82rem; }
.pa-felt-belote .pa-usheet-l { list-style: none; margin: 0; padding: 0; }
.pa-felt-belote .pa-usheet-l li { display: grid; grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr) 3.4rem 3.4rem; align-items: center; gap: .6rem; padding: .4rem 0; border-bottom: 1px dashed rgba(43, 36, 54, .18); }
.pa-felt-belote .pa-usheet-l li.me .pa-usheet-n { font-weight: 800; }
.pa-felt-belote .pa-usheet-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-felt-belote .pa-usheet-l strong { text-align: right; font: 800 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; color: #b4182f; }
.pa-felt-belote .pa-usheet-l li.won strong { color: #1d6b4a; }
.pa-felt-belote .pa-usheet-tot { text-align: right; font: 700 .9rem/1 var(--display); color: #4a4160; font-variant-numeric: tabular-nums; }
.pa-felt-belote .pa-usheet-out { font: 800 .72rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #1d6b4a; }
.pa-felt-belote .pa-usheet-cards { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.pa-felt-belote .pa-usheet-next { margin: .7rem 0 0; text-align: center; font-weight: 700; color: #2b2436; }
.pa-felt-belote .pa-usheet .pa-reality { color: var(--hb-silver-2); background: #2b2240; }
@media (max-width: 640px) {
  .pa-felt-belote .pa-usheet { padding: .7rem .7rem .8rem; }
  .pa-felt-belote .pa-usheet-l li { grid-template-columns: minmax(0, 1fr) 2.8rem 2.8rem; }
  .pa-felt-belote .pa-usheet-cards, .pa-felt-belote .pa-usheet-out { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Belote's own pieces ---------- */
/* the trick and the turned card */
.pa-felt-belote .pa-trick > .card.pa-won { --hb-card-shadow: 0 0 0 4px #ffd166, 0 0 26px rgba(255, 209, 102, .7), 0 .6px 1.2px rgba(0, 0, 0, .55); }
.pa-felt-belote .pa-turned > .card.pa-turned-card { --hb-card-shadow: 0 0 0 4px #ffd166, 0 0 34px rgba(255, 209, 102, .55), 0 .6px 1.2px rgba(0, 0, 0, .55); }
.pa-felt-belote.pa-flat .pa-trick { pointer-events: none; }
html.hb-is-dragging .pa-felt-belote .pa-trick { pointer-events: auto; }
.pa-felt-belote .pa-trick > .card.pa-ghost { opacity: .35; --hb-card-shadow: 0 0 0 3px #ffd166; }
/* my hand: the cards that play rise and glow gold; trump cards wear a thin violet rim */
.pa-felt-belote.pa-flat.pa-myturn .pa-hand .card.pa-lit { --hb-card-shadow: 0 0 0 3px #ffd166, 0 0 18px rgba(255, 209, 102, .55), 0 .6px 1.2px rgba(0, 0, 0, .55); cursor: pointer; }
.pa-felt-belote.pa-flat.pa-myturn .pa-hand .card.pa-illegal:disabled { --hb-card-dim: .55; cursor: default; }
.pa-felt-belote.pa-flat .pa-hand .card.pa-trumpcard:not(.pa-lit) { --hb-card-shadow: 0 0 0 2px rgba(155, 92, 255, .85), 0 .6px 1.2px rgba(0, 0, 0, .55); }
.pa-felt-belote .pa-hand > .card.hb-dragging { visibility: hidden; }
/* the bidding: a label and a row of the club's gold buttons under the turned card */
.pa-felt-belote .hb-hud > .pa-bl-bid { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: .55em; font-size: 1.05em; animation: pop-in .25s var(--hb-ease); }
.pa-felt-belote .pa-bl-bidl {
  padding: .3em 1em; border-radius: 999em; background: rgba(14, 9, 23, .86); border: .08em solid rgba(255, 209, 102, .45);
  color: #f3ecff; font: 600 .82em/1.25 var(--body); white-space: nowrap; box-shadow: 0 .3em .9em rgba(0, 0, 0, .55);
}
.pa-felt-belote .pa-bl-bidrow { display: flex; gap: .5em; align-items: center; justify-content: center; flex-wrap: wrap; }
.pa-felt-belote .pa-openbtn.pa-bl-bidbtn {
  pointer-events: auto; cursor: pointer; appearance: none; border: .1em solid #ffd166; border-radius: 999em; padding: .55em 1.3em;
  background: linear-gradient(180deg, #4a2b12, #2a160a); color: #ffd166; font: 800 .9em/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 .9em rgba(255, 209, 102, .4), 0 .4em 1em rgba(0, 0, 0, .6); transition: transform .15s, box-shadow .15s;
}
.pa-felt-belote .pa-openbtn.pa-bl-bidbtn:hover { transform: translateY(-1px); box-shadow: 0 0 1.2em rgba(255, 209, 102, .6), 0 .5em 1.2em rgba(0, 0, 0, .6); }
.pa-felt-belote .pa-openbtn.pa-bl-bidbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pa-felt-belote .pa-openbtn.pa-bl-bidbtn[hidden] { display: none; }
.pa-felt-belote .pa-openbtn.pa-bl-bidbtn > b { font-size: 1.35em; line-height: 0; vertical-align: -.12em; }
.pa-felt-belote .pa-openbtn.pa-bl-suit { padding: .3em .8em; min-width: 3.2em; background: linear-gradient(180deg, #fbf7ea, #e9dfc6); border-color: #ffd166; }
.pa-felt-belote .pa-openbtn.pa-bl-suit > b { font-size: 1.7em; }
.pa-felt-belote .pa-openbtn.pa-bl-suit.pa-suit-D > b, .pa-felt-belote .pa-openbtn.pa-bl-suit.pa-suit-H > b { color: #c8102e; }
.pa-felt-belote .pa-openbtn.pa-bl-suit.pa-suit-C > b, .pa-felt-belote .pa-openbtn.pa-bl-suit.pa-suit-S > b { color: #1b1428; }
.pa-felt-belote .pa-openbtn.pa-bl-pass { background: linear-gradient(180deg, #2c1744, #170c29); color: #e9e2f7; border-color: rgba(207, 199, 230, .55); box-shadow: 0 .4em 1em rgba(0, 0, 0, .6); }
/* the trump plate in the far corner */
.pa-felt-belote .hb-hud > .pa-bl-trump {
  display: flex; align-items: center; gap: .6em; padding: .45em 1em .45em .6em; border-radius: 1em; font-size: 1em;
  background: linear-gradient(180deg, #2c1744, #170c29); border: .09em solid rgba(255, 209, 102, .45);
  box-shadow: 0 .5em 1.4em rgba(0, 0, 0, .7), inset 0 .07em 0 rgba(255, 255, 255, .06);
}
.pa-felt-belote .pa-bl-trump-s {
  display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .35em; font-size: 1.7em; line-height: 1;
  background: linear-gradient(180deg, #fbf7ea, #e9dfc6); box-shadow: 0 0 0 .08em #ffd166, 0 0 .7em rgba(255, 209, 102, .35);
}
.pa-felt-belote .pa-bl-trump-s.pa-suit-D, .pa-felt-belote .pa-bl-trump-s.pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-bl-trump-s.pa-suit-C, .pa-felt-belote .pa-bl-trump-s.pa-suit-S { color: #1b1428; }
.pa-felt-belote .pa-bl-trump-t { display: flex; flex-direction: column; gap: .1em; }
.pa-felt-belote .pa-bl-trump-l { font: 800 .7em/1.1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #ffd166; }
.pa-felt-belote .pa-bl-trump-n { font: 700 .9em/1.2 var(--body); color: #fff; white-space: nowrap; }
.pa-felt-belote .pa-bl-trump-side { font: 800 .6em/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--hb-silver-2); }
.pa-felt-belote .pa-bl-trump-side.us { color: #7ee0a8; }
.pa-felt-belote .pa-bl-trump-side.them { color: #ff8fa3; }
/* each side's pile of tricks and its count */
.pa-felt-belote .pa-bl-piles { pointer-events: none; }
.pa-felt-belote .pa-bl-pile .hb-stack { filter: drop-shadow(0 .4em .8em rgba(0, 0, 0, .55)); }
.pa-felt-belote .hb-hud > .pa-bl-pilen {
  display: flex; align-items: baseline; gap: .45em; padding: .2em .8em; border-radius: 999em; background: rgba(10, 6, 18, .72);
  border: .07em solid rgba(232, 196, 110, .35); font-size: .9em; white-space: nowrap;
}
.pa-felt-belote .pa-bl-pilen .pa-deckl { font: 800 .72em/1.1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--hb-silver-2); }
.pa-felt-belote .pa-bl-pilen .pa-deckc { font: 800 1em/1.1 var(--display); color: #ffd166; font-variant-numeric: tabular-nums; }
.pa-felt-belote .pa-bl-pilen[data-team="us"] .pa-deckl { color: #a8f0c6; }
/* chips on the pills and on my status line */
.pa-felt-belote .pa-sline .pa-chip { padding: .14em .6em; border-radius: 999em; background: rgba(10, 6, 18, .78); border: .07em solid rgba(232, 196, 110, .4); color: #ffd166; font: 800 .62em/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-partner { color: #a8f0c6; border-color: rgba(126, 224, 168, .45); }
.pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-opp { color: #ffb3c0; border-color: rgba(255, 143, 163, .4); }
.pa-felt-belote .pa-chip.pa-chip-dealer, .pa-felt-belote .pa-sline .pa-chip.pa-chip-dealer, .pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-dealer { background: #ffd166; color: #2a160a; border-color: #ffd166; }
.pa-felt-belote .pa-chip.pa-chip-pass, .pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-pass { color: var(--hb-smoke); border-color: rgba(207, 199, 230, .3); }
.pa-felt-belote .pa-chip.pa-chip-take, .pa-felt-belote .pa-sline .pa-chip.pa-chip-take, .pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-take { background: linear-gradient(180deg, #fbf7ea, #e9dfc6); color: #2b2436; border-color: #ffd166; }
.pa-felt-belote .pa-chip.pa-chip-take > b, .pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-take > b { font-size: 1.35em; line-height: 0; vertical-align: -.1em; }
.pa-felt-belote .pa-chip.pa-chip-take.pa-suit-D > b, .pa-felt-belote .pa-chip.pa-chip-take.pa-suit-H > b { color: #c8102e; }
.pa-felt-belote .pa-chip.pa-chip-take.pa-suit-C > b, .pa-felt-belote .pa-chip.pa-chip-take.pa-suit-S > b { color: #1b1428; }
.pa-felt-belote .pa-chip.pa-chip-decl, .pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-decl { color: #d9c2ff; border-color: rgba(155, 92, 255, .55); }
.pa-felt-belote.pa-flat .pa-seat .pa-chip.pa-chip-decl.pa-chip-scores, .pa-felt-belote .pa-chip.pa-chip-decl.pa-chip-scores, .pa-felt-belote .pa-sline .pa-chip.pa-chip-decl.pa-chip-scores { background: #6a35c9; color: #fff; border-color: #b98aff; }
.pa-felt-belote .pa-sline .pa-chips { display: inline-flex; gap: .3em; align-items: center; }
/* the call in the middle of the table */
.pa-felt-belote .pa-flash span { text-transform: uppercase; color: #fff; }
.pa-felt-belote .pa-flash[data-bl="belote"] span { color: #ffd166; }
.pa-felt-belote .pa-flash[data-bl="capot"] span { color: #ff5c7a; }
.pa-felt-belote .pa-flash[data-bl="D"] span, .pa-felt-belote .pa-flash[data-bl="H"] span { color: #ff5c7a; }
.pa-felt-belote .pa-flash[data-bl="C"] span, .pa-felt-belote .pa-flash[data-bl="S"] span { color: #f6f1fb; }
/* the paper between rounds: the round's sum, a stamp, every round so far */
.pa-felt-belote .pa-usheet .pa-suit-D, .pa-felt-belote .pa-usheet .pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-usheet .pa-suit-C, .pa-felt-belote .pa-usheet .pa-suit-S { color: #1b1428; }
.pa-felt-belote .pa-usheet-note > b { font-size: 1.3em; vertical-align: -.1em; }
.pa-felt-belote .pa-bl-round, .pa-felt-belote .pa-bl-hist, .pa-bl-histbox .pa-bl-hist { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pa-felt-belote .pa-bl-round th, .pa-felt-belote .pa-bl-round td, .pa-bl-hist th, .pa-bl-hist td { padding: .3rem .4rem; text-align: right; border-bottom: 1px dashed rgba(43, 36, 54, .18); }
.pa-felt-belote .pa-bl-round th:first-child, .pa-felt-belote .pa-bl-round td:first-child, .pa-bl-hist th:first-child, .pa-bl-hist td:first-child { text-align: left; }
.pa-felt-belote .pa-bl-round thead th, .pa-bl-hist thead th { font: 800 .66rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8a809c; border-bottom: 2px solid rgba(43, 36, 54, .4); }
.pa-felt-belote .pa-bl-round tbody th { font: 600 .85rem/1.2 var(--body); color: #4a4160; }
.pa-felt-belote .pa-bl-round td { font: 700 .95rem/1.2 var(--display); color: #2b2436; }
.pa-felt-belote .pa-bl-round tr.pts td, .pa-felt-belote .pa-bl-round tr.pts th { font-weight: 800; color: #b4182f; border-bottom: 2px solid rgba(43, 36, 54, .4); }
.pa-felt-belote .pa-bl-round tr.tot td, .pa-felt-belote .pa-bl-round tr.tot th { font-weight: 800; color: #2b2436; }
.pa-felt-belote .pa-bl-round .pa-suit-D, .pa-felt-belote .pa-bl-round .pa-suit-H, .pa-bl-hist .pa-suit-D, .pa-bl-hist .pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-bl-round .pa-suit-C, .pa-felt-belote .pa-bl-round .pa-suit-S, .pa-bl-hist .pa-suit-C, .pa-bl-hist .pa-suit-S { color: #1b1428; }
.pa-felt-belote .pa-bl-stamp {
  display: inline-block; margin-left: .5rem; padding: .15rem .6rem; border: 3px solid currentColor; border-radius: .35rem; transform: rotate(-6deg);
  font: 900 .9rem/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #1d6b4a; opacity: .9;
}
.pa-felt-belote .pa-bl-stamp.bad { color: #b4182f; }
.pa-felt-belote .pa-bl-stamp.held { color: #8a6710; }
.pa-felt-belote .pa-bl-histt { margin: .8rem 0 .2rem; font: 800 .72rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #8a809c; }
.pa-bl-hist { font-size: .82rem; color: #2b2436; }
.pa-bl-hist td { font-weight: 600; }
.pa-bl-hist tr:last-child td { font-weight: 800; }
.pa-felt-belote .pa-bl-sheet { max-height: 100%; overflow: auto; }
.pa-bl-histbox { margin-top: .8rem; padding: .6rem .8rem; border-radius: 6px; background: linear-gradient(180deg, #fbf7ea, #f0e8d3); color: #2b2436; max-height: 14rem; overflow: auto; }
@media (max-width: 640px) {
  .pa-felt-belote .pa-bl-round th, .pa-felt-belote .pa-bl-round td, .pa-bl-hist th, .pa-bl-hist td { padding: .22rem .25rem; font-size: .78rem; }
}
/* the phone: the bidding and the trump plate a little smaller */
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-bid { font-size: .86em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bidl { white-space: normal; text-align: center; max-width: 72vw; }
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-trump { font-size: .78em; }
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-pilen { font-size: .74em; }
/* the controls row (a phone keeps Leave there) */
.pa-controls-belote .pa-cbtns { flex-wrap: wrap; justify-content: flex-end; }
.pa[data-layout="phone"] .pa-controls-belote .btn { --bh: 38px; padding: 0 .8rem; font-size: .88rem; }

/* ---------- The SCORES paper between rounds (copied from player-rami.css with the Belote felt's class) ---------- */
/* the paper */
.pa-felt-belote .pa-rsheet {
  width: min(820px, 100%); max-height: 100%; overflow: auto; box-sizing: border-box; padding: 1rem 1.3rem 1.1rem;
  border-radius: 6px; color: #2b2436; background: linear-gradient(180deg, #fbf7ea, #f0e8d3);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(0, 0, 0, .05);
  animation: pop-in .3s var(--hb-ease); font-size: .92rem;
}
.pa-felt-belote .pa-rsheet-h { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid rgba(43, 36, 54, .55); padding-bottom: .35rem; margin-bottom: .6rem; }
.pa-felt-belote .pa-rsheet-h h3 { margin: 0; font: 800 1.5rem/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #2b2436; }
.pa-felt-belote .pa-rsheet-sub { color: #6b6380; font-size: .85rem; }
.pa-felt-belote .pa-rsheet-sec { margin-bottom: .7rem; }
.pa-felt-belote .pa-rsheet-st { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; border-bottom: 1px solid rgba(43, 36, 54, .2); padding-bottom: .2rem; margin-bottom: .45rem; }
.pa-felt-belote .pa-rsheet-st h4 { margin: 0; font: 700 1.05rem/1.2 var(--display); color: #2b2436; }
.pa-felt-belote .pa-rsheet-note { font: 800 .62rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8a809c; }
.pa-felt-belote .pa-rsheet-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .9rem; }
.pa-felt-belote .pa-rsheet-grid li { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; border-bottom: 1px dashed rgba(43, 36, 54, .15); }
.pa-felt-belote .pa-rsheet-grid li.me .pa-rsheet-name { font-weight: 800; }
.pa-felt-belote .pa-rsheet-grid strong { margin-left: auto; font: 800 1.2rem/1.1 var(--display); font-variant-numeric: tabular-nums; color: #2b2436; }
.pa-felt-belote .pa-rsheet-rank { width: 1.1rem; text-align: center; font: 700 .7rem/1 var(--display); color: #8a809c; }
.pa-felt-belote .pa-rsheet-av { --av: 1.5rem; width: 1.5rem; height: 1.5rem; font-size: .7rem; flex: none; }
.pa-felt-belote .pa-rsheet-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2b2436; }
.pa-felt-belote .pa-rsheet-rt { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-bottom: .3rem; }
.pa-felt-belote .pa-rsheet-rt strong { font: 800 1.1rem/1.2 var(--display); color: #2b2436; }
.pa-felt-belote .pa-rsheet-rt span { color: #1d6b4a; font-weight: 700; font-size: .85rem; }
.pa-felt-belote .pa-rsheet-tw { overflow: auto; }
.pa-felt-belote .pa-rsheet-t { width: 100%; border-collapse: collapse; font-size: .84rem; }
.pa-felt-belote .pa-rsheet-t th { font: 800 .6rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #8a809c; text-align: right; padding: .2rem .45rem; border-bottom: 1px solid rgba(43, 36, 54, .25); white-space: nowrap; }
.pa-felt-belote .pa-rsheet-t th:first-child { text-align: left; }
.pa-felt-belote .pa-rsheet-t td { padding: .32rem .45rem; text-align: right; border-bottom: 1px solid rgba(43, 36, 54, .12); vertical-align: middle; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pa-felt-belote .pa-rsheet-t td small { display: block; font: 700 .58rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8a809c; }
.pa-felt-belote .pa-rsheet-t td.pa-rsheet-p { text-align: left; display: flex; align-items: center; gap: .45rem; }
.pa-felt-belote .pa-rsheet-t tr.me td.pa-rsheet-p { font-weight: 800; }
.pa-felt-belote .pa-rsheet-t .pa-rsheet-dash { color: #b5adc4; }
.pa-felt-belote .pa-rsheet-t .pa-rsheet-v { font-weight: 700; color: #2b2436; }
.pa-felt-belote .pa-rsheet-t .pa-rsheet-plus { color: #b4182f; }
.pa-felt-belote .pa-rsheet-t td.pa-rsheet-tot strong { font: 800 1.05rem/1.1 var(--display); color: #1d6b4a; }
.pa-felt-belote .pa-rsheet-t tr.pa-rsheet-out td { opacity: .6; }
.pa-felt-belote .pa-rsheet-pg { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .5rem; }
.pa-felt-belote .pa-rsheet-pg .btn { color: #2b2436; border-color: rgba(43, 36, 54, .35); background: rgba(255, 255, 255, .5); }
.pa-felt-belote .pa-rsheet-pg .btn:disabled { opacity: .35; }
.pa-felt-belote .pa-rsheet-pn { font: 700 .8rem/1.2 var(--display); color: #4a4160; }
.pa-felt-belote .pa-rsheet-next { margin: .6rem 0 0; text-align: center; font-weight: 700; color: #2b2436; }
.pa-felt-belote .pa-rsheet .pa-reality { color: var(--hb-silver-2); background: #2b2240; }
/* the history block inside the result card (cream on the flat table) */
.pa-felt-belote.pa-flat .pa-rcard .pa-rsheet-hist { text-align: left; margin: .6rem 0; }
.pa-felt-belote.pa-flat .pa-rcard:has(.pa-rsheet-hist) { width: min(760px, 100%); }
@media (max-width: 640px) {
  .pa-felt-belote .pa-rsheet { padding: .7rem .7rem .8rem; font-size: .84rem; }
  .pa-felt-belote .pa-rsheet-grid { grid-template-columns: 1fr; }
  .pa-felt-belote .pa-rsheet-t { font-size: .76rem; }
}
.pa-felt-belote .pa-rsheet-rt span.bad { color: #b4182f; }
.pa-felt-belote .pa-bl-faces { display: inline-flex; flex: none; }
.pa-felt-belote .pa-bl-faces > .pa-avatar + .pa-avatar { margin-left: -.35rem; box-shadow: 0 0 0 2px #f6efdc; }
.pa-felt-belote .pa-rsheet-t b.pa-suit-D, .pa-felt-belote .pa-rsheet-t b.pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-rsheet-t b.pa-suit-C, .pa-felt-belote .pa-rsheet-t b.pa-suit-S { color: #1b1428; }
.pa-felt-belote .pa-midover[data-kind="round"] { background: radial-gradient(closest-side, rgba(10, 6, 18, .55), rgba(10, 6, 18, .2)); }
/* the paper's torn edge and slight tilt, as a sheet left on the table */
.pa-felt-belote .pa-rsheet.pa-bl-sheet {
  rotate: -.6deg; border-radius: 3px;
  clip-path: polygon(0 1.2%, 6% 0, 14% .9%, 23% .2%, 33% 1%, 44% 0, 55% .8%, 66% .1%, 77% 1%, 88% .2%, 100% .9%, 99.6% 30%, 100% 62%, 99.5% 100%, 88% 99.1%, 76% 100%, 64% 99.2%, 52% 100%, 40% 99.3%, 28% 100%, 16% 99.1%, 5% 100%, 0 99.2%, .4% 60%, 0 28%);
}

/* ---------- 2026-11-03 round 2 (the owner's two Kartaclub recordings): the talba ---------- */
/* the call-outs by each seat's cards during the bidding */
.pa-felt-belote .hb-hud > .pa-bl-bubble {
  display: inline-flex; align-items: center; gap: .35em; padding: .35em 1em; border-radius: .7em; white-space: nowrap;
  font: 800 1.15em/1.1 var(--display); color: #fff; background: linear-gradient(180deg, #5a4a86, #3a2d60); border: .09em solid rgba(207, 199, 230, .55);
  box-shadow: 0 .5em 1.2em rgba(0, 0, 0, .6); animation: pop-in .22s var(--hb-ease);
}
.pa-felt-belote .hb-hud > .pa-bl-bubble.take { flex-direction: column; gap: 0; padding: .3em 1em .35em; color: #2a160a; background: linear-gradient(180deg, #ffe39a, #e8b64a); border-color: #fff3cf; box-shadow: 0 0 1.2em rgba(255, 209, 102, .55), 0 .5em 1.2em rgba(0, 0, 0, .6); }
.pa-felt-belote .pa-bl-bubble.take small { font: 800 .5em/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.pa-felt-belote .pa-bl-bubble.take .pa-bl-bubv { font-size: 1.2em; }
.pa-felt-belote .pa-bl-bubble.take b { font-size: 1.2em; line-height: 1; }
.pa-felt-belote .pa-bl-bubble.take:has(.pa-bl-bubv) { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 7em; }
.pa-felt-belote .pa-bl-bubble.take:has(.pa-bl-bubv) small { flex-basis: 100%; text-align: center; }
.pa-felt-belote .pa-bl-bubble.take b.pa-suit-D, .pa-felt-belote .pa-bl-bubble.take b.pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-bl-bubble.take b.pa-suit-C, .pa-felt-belote .pa-bl-bubble.take b.pa-suit-S { color: #1b1428; }
.pa-felt-belote .hb-hud > .pa-bl-bubble.contre { background: linear-gradient(180deg, #b3223f, #6e0f22); border-color: #ff8fa3; }
/* the bidding panel: a dark plate in the middle */
.pa-felt-belote .hb-hud > .pa-bl-bid[data-phase="talba"] {
  gap: .65em; padding: .9em 1.1em 1em; border-radius: 1em; font-size: 1em;
  background: linear-gradient(180deg, rgba(40, 20, 66, .97), rgba(22, 11, 38, .97)); border: .08em solid rgba(255, 209, 102, .4);
  box-shadow: 0 1.4em 3em rgba(0, 0, 0, .75), inset 0 .07em 0 rgba(255, 255, 255, .06);
}
.pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-bidl { background: none; border: 0; box-shadow: none; padding: 0; color: #ffd166; font: 800 .66em/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.pa-felt-belote .pa-bl-bidt { font: 800 1.35em/1.1 var(--display); color: #fff; }
.pa-felt-belote .pa-bl-tsuits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5em; width: 100%; }
.pa-felt-belote .pa-bl-tsuit {
  display: flex; align-items: center; gap: .5em; padding: .4em .7em .4em .45em; border-radius: .6em; cursor: pointer; appearance: none;
  background: rgba(255, 255, 255, .04); border: .08em solid rgba(207, 199, 230, .2); color: #ece5f7; font: 700 .85em/1.1 var(--body);
}
.pa-felt-belote .pa-bl-tsuit > b { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: .35em; font-size: 1.15em; background: linear-gradient(180deg, #fbf7ea, #e9dfc6); }
.pa-felt-belote .pa-bl-tsuit.pa-suit-D > b, .pa-felt-belote .pa-bl-tsuit.pa-suit-H > b { color: #c8102e; }
.pa-felt-belote .pa-bl-tsuit.pa-suit-C > b, .pa-felt-belote .pa-bl-tsuit.pa-suit-S > b { color: #1b1428; }
.pa-felt-belote .pa-bl-tsuit.pa-suit-D, .pa-felt-belote .pa-bl-tsuit.pa-suit-H, .pa-felt-belote .pa-bl-tsuit.pa-suit-C, .pa-felt-belote .pa-bl-tsuit.pa-suit-S { color: #ece5f7; }
.pa-felt-belote .pa-bl-tsuit.on { border-color: #ffd166; background: rgba(255, 209, 102, .12); box-shadow: 0 0 .9em rgba(255, 209, 102, .3); }
.pa-felt-belote .pa-bl-tvals { display: flex; flex-wrap: wrap; justify-content: center; gap: .35em; }
.pa-felt-belote .pa-bl-tval {
  min-width: 2.8em; padding: .38em .6em; border-radius: .45em; cursor: pointer; appearance: none; border: .08em solid rgba(207, 199, 230, .2);
  background: rgba(255, 255, 255, .05); color: #ece5f7; font: 800 .82em/1 var(--display); font-variant-numeric: tabular-nums;
}
.pa-felt-belote .pa-bl-tval.capot { color: #ffd166; }
.pa-felt-belote .pa-bl-tval.on { background: #ffd166; color: #2a160a; border-color: #ffd166; }
.pa-felt-belote :is(.pa-bl-tsuit, .pa-bl-tval):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pa-felt-belote .pa-bl-acts { width: 100%; justify-content: center; }
.pa-felt-belote .pa-openbtn.pa-bl-go { background: linear-gradient(180deg, #ffe39a, #e8b64a); color: #2a160a; border-color: #fff3cf; min-width: 9em; }
.pa-felt-belote .pa-openbtn.pa-bl-go > b.pa-suit-D, .pa-felt-belote .pa-openbtn.pa-bl-go > b.pa-suit-H { color: #c8102e; }
.pa-felt-belote .pa-openbtn.pa-bl-go > b.pa-suit-C, .pa-felt-belote .pa-openbtn.pa-bl-go > b.pa-suit-S { color: #1b1428; }
.pa-felt-belote .pa-openbtn.pa-bl-contre { background: linear-gradient(180deg, #8f1d33, #5a0f1f); color: #ffe3e8; border-color: #ff8fa3; box-shadow: 0 .4em 1em rgba(0, 0, 0, .6); }
/* the talba plate in the top corner */
.pa-felt-belote .hb-hud > .pa-bl-trump.pa-bl-contract { padding: .6em 1.3em .7em; min-width: 9em; justify-content: center; text-align: center; }
.pa-felt-belote .pa-bl-contract .pa-bl-trump-t { align-items: center; gap: .15em; }
.pa-felt-belote .pa-bl-cval { font: 800 2em/1 var(--display); color: #fff; white-space: nowrap; }
.pa-felt-belote .pa-bl-cval > b { font-size: .9em; }
.pa-felt-belote .pa-bl-cmult { margin-top: .25em; padding: .12em .7em; border-radius: 999em; background: #8f1d33; color: #ffe3e8; font: 800 .62em/1.3 var(--display); letter-spacing: .08em; }
.pa-felt-belote .pa-bl-trump-side { white-space: nowrap; }
/* the trick held: the winner glows with a crown, the others dim */
.pa-felt-belote .pa-trick > .card.pa-lost { --hb-card-dim: .62; }
.pa-felt-belote .pa-bl-crown { position: absolute; left: 50%; top: -14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 0 3px #2a160a, 0 0 14px rgba(255, 209, 102, .8); pointer-events: none; }
.pa-felt-belote .pa-bl-crown::after { content: ''; position: absolute; inset: 7px 6px 8px; background: #2a160a; clip-path: polygon(0 100%, 0 20%, 25% 55%, 50% 0, 75% 55%, 100% 20%, 100% 100%); }
/* an empty pile: a dashed place on the mat */
.pa-felt-belote .pa-bl-slot { position: absolute; inset: 0; border: 3px dashed rgba(255, 209, 102, .35); border-radius: 10px; background: rgba(0, 0, 0, .12); }
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-bid[data-phase="talba"] { font-size: .74em; max-width: 94vw; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-tsuits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-bubble { font-size: .85em; }
.pa-felt-belote .pa-chip.pa-chip-cards { color: var(--hb-silver-2); }
/* The talba plate on a phone (launch-candidate-21; after the older phone rules above, which it replaces on my talba
   turn). The HUD is drawn at the stage's scale (about .3 on a phone), so the chips were 11 to 20 px tall with 6 to 7 px
   text. On a phone, on my talba turn, the plate is as wide as the table less 16 px each side and sized from that scale
   (--hb-table-w and --hb-stage-s, player-belote.js hudScale), above the other HUD pieces: "Your talba" with the turn
   clock beside it, the suits in one row (each symbol above its name), the values in rows of five, then Pass, Contre and
   Bid in one row; every control at least 40 px tall with text of 11 px or more. It is centred between the partner's
   plate and my hand (placeTalbaPlate). Same chips, colours, words and order. */
.pa[data-layout="phone"] .pa-felt-belote .hb-hud > .pa-bl-bid[data-phase="talba"] { box-sizing: border-box; z-index: 2; width: calc((var(--hb-table-w, 100vw) - 32px) / var(--hb-stage-s, 1)); max-width: none; font-size: calc(14px / var(--hb-stage-s, 1)); gap: .45em; padding: .6em .45em .7em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-bidl { max-width: none; font-size: .7em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-bidt { font-size: 1.15em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-tsuits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-tsuit { min-height: calc(40px / var(--hb-stage-s, 1)); flex-direction: column; justify-content: center; padding: .3em .15em; gap: .2em; min-width: 0; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-tsuit > b { width: 1.4em; height: 1.4em; flex: none; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-bidhead { display: flex; align-items: center; justify-content: center; gap: .7em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bidhead > .pa-clock { transform: none !important; margin: .3em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-tvals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4em; width: 100%; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-tval { min-height: calc(40px / var(--hb-stage-s, 1)); min-width: 0; padding: .3em .2em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-acts { flex-wrap: nowrap; gap: .4em; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-acts > .pa-bl-bidbtn { min-height: calc(40px / var(--hb-stage-s, 1)); flex: 1 1 auto; min-width: 0; padding: .3em .3em; font-size: .88em; letter-spacing: 0; white-space: nowrap; }
.pa[data-layout="phone"] .pa-felt-belote .pa-bl-bid[data-phase="talba"] .pa-bl-acts > .pa-bl-go { flex: 1.4 1 auto; min-width: 0; }
