/* Hold'em Salon — table de poker entre amis */
:root {
  --bg: #070d1a;
  --bg2: #0f1a30;
  --panel: rgba(16, 27, 49, .92);
  --line: rgba(255, 255, 255, .09);
  --text: #eef2f8;
  --muted: #8d9bb4;
  --gold: #f2c14e;
  --gold2: #c8932a;
  --green: #4cd964;
  --green-d: #1f9e3d;
  --red: #ff5a4e;
  --blue: #3a8dff;
  --felt1: #2b9150;
  --felt2: #0f5a30;
  --felt3: #08391e;
  --cw: clamp(34px, 4.6vw, 58px);
  --radius: 14px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background:
    radial-gradient(1200px 700px at 50% -10%, #1c3463 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 100%, #10264a 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font: 15px/1.4 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- barre */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(20, 34, 62, .96), rgba(10, 18, 34, .92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3px; font-size: 18px; }
.logo .chip-ico { width: 28px; height: 28px; border-radius: 50%;
  background: repeating-conic-gradient(var(--red) 0 30deg, #fff 30deg 60deg);
  box-shadow: inset 0 0 0 5px var(--red), inset 0 0 0 7px #fff, 0 2px 6px #0008; }
.logo em { font-style: normal; color: var(--gold); }
.room-info { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.pill b { color: var(--text); font-weight: 700; }
.pill.code { cursor: pointer; }
.pill.code b { color: var(--gold); letter-spacing: 2px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 16px;
  display: inline-grid; place-items: center;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }

/* ---------------------------------------------------------------- boutons */
.btn {
  border: 0; border-radius: 12px; padding: 12px 20px; cursor: pointer;
  font-weight: 700; letter-spacing: .2px;
  background: linear-gradient(180deg, #34415c, #232d42);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 14px rgba(0,0,0,.35);
  transition: transform .08s, filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn.green { background: linear-gradient(180deg, #5be06f, #1f9e3d); color: #04220c; }
.btn.gold { background: linear-gradient(180deg, #ffd875, #d39a2b); color: #2a1a00; }
.btn.red { background: linear-gradient(180deg, #ff7468, #c9372d); color: #2a0503; }
.btn.blue { background: linear-gradient(180deg, #62a6ff, #2463d8); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }

/* ---------------------------------------------------------------- accueil */
.screen { padding: 22px 16px 40px; }
.home { max-width: 980px; margin: 0 auto; }
.hero { text-align: center; padding: 28px 10px 18px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 0 0 6px; letter-spacing: -.5px; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--muted); margin: 0 auto; max-width: 560px; }
.hero .fan { display: flex; justify-content: center; margin: 22px 0 22px; height: 100px; }
.hero .fan .card { --cw: 62px; margin: 0 -10px; transform-origin: 50% 120%; }
.hero .fan .card:nth-child(1) { transform: rotate(-24deg) translateY(10px); }
.hero .fan .card:nth-child(2) { transform: rotate(-12deg) translateY(2px); }
.hero .fan .card:nth-child(4) { transform: rotate(12deg) translateY(2px); }
.hero .fan .card:nth-child(5) { transform: rotate(24deg) translateY(10px); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 18px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.panel h2 { margin: 0 0 4px; font-size: 20px; }
.panel .sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
label.field { display: block; margin-bottom: 12px; }
label.field span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 5px; }
.input {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line); outline: none;
}
.input:focus { border-color: var(--gold2); box-shadow: 0 0 0 3px rgba(242,193,78,.15); }
.input.code-input { text-transform: uppercase; letter-spacing: 8px; font-size: 26px; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details.more { margin: 4px 0 14px; color: var(--muted); }
details.more summary { cursor: pointer; font-size: 13px; }
details.more[open] summary { margin-bottom: 10px; }
.panel .btn { width: 100%; }
.note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 22px; }

/* ---------------------------------------------------------------- salon d'attente */
.lobby { max-width: 760px; margin: 0 auto; }
.bigcode { text-align: center; padding: 10px 0 18px; }
.bigcode .lbl { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.bigcode .val {
  font: 800 clamp(44px, 9vw, 74px)/1.1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 12px;
  color: var(--gold); text-shadow: 0 4px 30px rgba(242,193,78,.35); margin: 6px 0 12px; padding-left: 12px;
}
.bigcode .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.plist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.plist li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.plist .avatar { width: 36px; height: 36px; font-size: 15px; }
.plist .grow { flex: 1; }
.plist .meta { color: var(--muted); font-size: 12px; }
.lobby-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lobby-actions .btn { width: auto; flex: 1; }
.settings-ro { color: var(--muted); font-size: 14px; line-height: 1.7; }
.settings-ro b { color: var(--text); }

/* ---------------------------------------------------------------- table */
.game { display: grid; grid-template-columns: 1fr 320px; gap: 16px; max-width: 1500px; margin: 0 auto; padding: 14px; }
.game.nochat { grid-template-columns: 1fr; }
.stage { position: relative; min-width: 0; }
.table-wrap { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 62px 64px 70px; }
.table {
  position: relative; width: 100%; aspect-ratio: 2.05 / 1;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 40%, var(--felt1) 0%, var(--felt2) 55%, var(--felt3) 100%);
  box-shadow:
    0 0 0 3px #2b1a0c,
    0 0 0 16px #6b4422,
    0 0 0 17px #a4733f,
    0 0 0 19px #3a230f,
    0 30px 70px rgba(0,0,0,.65),
    inset 0 0 70px rgba(0,0,0,.55);
}
.table::before { /* ligne de mise */
  content: ""; position: absolute; inset: 9%; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.08);
}
.table::after {
  content: "HOLD'EM SALON"; position: absolute; left: 50%; top: 24%; transform: translateX(-50%);
  font-weight: 800; letter-spacing: 6px; color: rgba(255,255,255,.07); font-size: clamp(12px, 1.8vw, 22px); white-space: nowrap;
}
.center {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.board { display: flex; gap: calc(var(--cw) * .12); min-height: calc(var(--cw) * 1.4); }
.board .slot { width: var(--cw); aspect-ratio: 5/7; border-radius: calc(var(--cw) * .1); border: 1.5px dashed rgba(255,255,255,.12); }
.pot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(0,0,0,.35);
  font-weight: 800; font-size: clamp(13px, 1.5vw, 17px);
}
.pot .chip { width: 20px; height: 20px; }
.stage-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* jetons */
.chip {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  background: repeating-conic-gradient(var(--chip, var(--red)) 0 30deg, #fff 30deg 60deg);
  box-shadow: inset 0 0 0 3px var(--chip, var(--red)), inset 0 0 0 4px rgba(255,255,255,.9), 0 1px 2px #000a;
  flex: 0 0 auto;
}
.bet {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  display: flex; align-items: center; gap: 5px;
  font-weight: 800; font-size: clamp(11px, 1.2vw, 14px);
  background: rgba(0,0,0,.45); padding: 3px 9px 3px 4px; border-radius: 999px;
  transition: left .35s, top .35s;
}
.dealer-btn {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  width: clamp(20px, 2.2vw, 28px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d8d8d8); color: #111;
  font: 900 clamp(10px, 1.1vw, 13px)/1 system-ui; display: grid; place-items: center;
  box-shadow: 0 2px 6px #000a, inset 0 0 0 2px #bbb;
  transition: left .5s, top .5s;
}

/* sièges */
.seat {
  position: absolute; transform: translate(-50%, -50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: clamp(92px, 12vw, 150px);
  transition: opacity .3s;
}
.seat.top { flex-direction: column-reverse; }
.seat .hole { display: flex; justify-content: center; height: calc(var(--cw) * 1.4 * .82); }
.seat .hole .card { --cw: calc(var(--cw-seat, var(--cwbase)) ); margin: 0 -6px; }
.seat { --cwbase: calc(var(--cw) * .82); }
.seat.me { --cwbase: calc(var(--cw) * 1.08); }
.seat.me .hole { height: calc(var(--cw) * 1.08 * 1.4); }
.seat .hole .card:first-child { transform: rotate(-6deg); }
.seat .hole .card:last-child { transform: rotate(6deg); }
.plate {
  position: relative; width: 100%;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(28, 40, 66, .97), rgba(12, 19, 34, .97));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
  transition: box-shadow .25s, border-color .25s;
}
.avatar {
  width: clamp(28px, 3vw, 38px); aspect-ratio: 1; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 60%, #fff), var(--c) 60%, color-mix(in srgb, var(--c) 60%, #000));
  display: grid; place-items: center; font-weight: 900; color: #0b0f19; font-size: clamp(12px, 1.3vw, 16px);
  position: relative;
}
.avatar .off { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #777; border: 2px solid #0c1424; }
.plate .info { min-width: 0; line-height: 1.15; }
.plate .name { font-weight: 700; font-size: clamp(11px, 1.1vw, 14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate .stack { color: var(--gold); font-weight: 800; font-size: clamp(11px, 1.1vw, 14px); }
.seat .tag {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -12px;
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: #2c3a57; color: #dfe7f5; white-space: nowrap; z-index: 2;
}
.seat.top .tag { bottom: auto; top: -12px; }
.tag.t-fold { background: #4a4f5b; color: #c3c8d2; }
.tag.t-raise, .tag.t-bet { background: var(--gold); color: #2a1a00; }
.tag.t-allin { background: var(--red); color: #fff; }
.tag.t-call { background: var(--blue); color: #fff; }
.tag.t-check { background: #3f6a52; color: #e6ffef; }
.handname {
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55);
  padding: 2px 8px; border-radius: 6px; white-space: nowrap;
}
.seat.toact .plate { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,193,78,.5), 0 0 26px rgba(242,193,78,.45); }
.seat.folded .hole, .seat.folded .plate { opacity: .45; }
.seat.out { opacity: .35; }
.seat.winner .plate { border-color: var(--green); box-shadow: 0 0 0 2px rgba(76,217,100,.6), 0 0 30px rgba(76,217,100,.5); }
.seat .won {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  color: var(--green); font-weight: 900; font-size: 15px; text-shadow: 0 2px 6px #000; animation: rise 1.6s ease-out forwards;
  white-space: nowrap; z-index: 6;
}
.seat .timer { position: absolute; left: 14%; right: 14%; bottom: -5px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.seat .timer i { display: block; height: 100%; background: var(--gold); width: 100%; transform-origin: left; }
.seat .bubble {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #fff; color: #111; padding: 6px 10px; border-radius: 12px; font-size: 12px; max-width: 180px; width: max-content;
  box-shadow: 0 6px 16px #0007; z-index: 8; animation: pop .25s ease-out;
}
.seat.top .bubble { bottom: auto; top: calc(100% + 6px); }
.seat.empty .plate { opacity: .35; justify-content: center; font-size: 12px; color: var(--muted); background: rgba(0,0,0,.25); border-style: dashed; }

/* cartes */
.card {
  --cw-local: var(--cw);
  position: relative; width: var(--cw); aspect-ratio: 5 / 7; flex: 0 0 auto;
  border-radius: calc(var(--cw) * .1);
  background: linear-gradient(160deg, #ffffff 0%, #f1f1ec 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.12);
  color: #15171c; user-select: none;
  transition: transform .25s, filter .25s, box-shadow .25s;
}
.card.red { color: #d0191b; }
.card .r { position: absolute; left: 8%; top: 4%; font: 800 calc(var(--cw) * .34)/1 "Segoe UI", system-ui, sans-serif; letter-spacing: -1px; }
.card .s1 { position: absolute; left: 9%; top: 34%; font-size: calc(var(--cw) * .24); line-height: 1; }
.card .s2 { position: absolute; right: 8%; bottom: 4%; font-size: calc(var(--cw) * .55); line-height: 1; }
.card.back {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 3px, transparent 3px 7px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 3px, transparent 3px 7px),
    linear-gradient(160deg, #2453b8, #0f2a6b);
  box-shadow: 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 calc(var(--cw) * .06) #f4f4f0, inset 0 0 0 calc(var(--cw) * .08) var(--gold2);
}
.card.deal { animation: deal .42s cubic-bezier(.2,.8,.25,1.1) both; }
.card.flip { animation: flip .5s ease-out both; }
.card.win { box-shadow: 0 0 0 3px var(--green), 0 0 18px rgba(76,217,100,.8); transform: translateY(-6px) !important; }
.card.dim { filter: brightness(.55) saturate(.6); }

@keyframes deal { from { opacity: 0; transform: translate(0, -60px) rotate(-20deg) scale(.6); } }
@keyframes flip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, 8px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -28px); } }
@keyframes pop { from { scale: .6; opacity: 0; } }
@keyframes pulse { 50% { opacity: .55; } }

/* bandeau de résultat */
.result-banner {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 9; width: max-content;
  background: linear-gradient(180deg, rgba(10,18,34,.95), rgba(10,18,34,.88));
  border: 1px solid rgba(76,217,100,.5); border-radius: 14px; padding: 9px 18px; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); animation: pop .3s ease-out; max-width: 92%;
}
.result-banner div { font-weight: 700; font-size: clamp(12px, 1.4vw, 16px); }
.result-banner div b { color: var(--green); }
.result-banner small { color: var(--muted); }

/* barre d'action */
.actionbar {
  max-width: 1000px; margin: 4px auto 0; min-height: 86px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.actionbar .waiting { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.actionbar .waiting .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1s infinite; }
.act-main { display: flex; gap: 10px; flex-wrap: wrap; }
.act-main .btn { min-width: 128px; font-size: 16px; padding: 14px 18px; }
.raise-box { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: rgba(0,0,0,.25); padding: 8px 10px; border-radius: 12px; }
.raise-box input[type=range] { width: 180px; accent-color: var(--gold); }
.raise-box .amt { width: 92px; padding: 8px; border-radius: 9px; text-align: right; font-weight: 800; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.quick { display: flex; gap: 6px; }
.quick button { padding: 6px 9px; font-size: 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; font-weight: 700; }
.quick button:hover { background: rgba(255,255,255,.14); }
.kbd { font-size: 10px; opacity: .6; margin-left: 6px; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; }

/* panneau latéral */
.side { display: flex; flex-direction: column; height: calc(100vh - 90px); position: sticky; top: 70px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 11px; background: none; border: 0; cursor: pointer; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-color: var(--gold); }
.feed { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.feed .msg b { color: var(--gold); }
.feed .msg.sys { color: var(--muted); }
.feed .logl { color: #b9c4d8; }
.feed .logl.sep { color: var(--gold); font-weight: 700; margin-top: 6px; }
.chatform { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.chatform .input { padding: 9px 11px; }
.chatform .btn { padding: 9px 12px; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; margin-left: 5px; }

/* fin de partie */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: rgba(3, 7, 15, .72); backdrop-filter: blur(4px); padding: 16px;
}
.overlay .panel { max-width: 420px; width: 100%; text-align: center; animation: pop .3s; }
.overlay .trophy { font-size: 64px; line-height: 1; }
.overlay ol { text-align: left; padding-left: 24px; color: var(--muted); }
.overlay ol li b { color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: #1b2742; border: 1px solid var(--line); padding: 10px 18px; border-radius: 12px;
  box-shadow: 0 10px 30px #0009; font-weight: 600; animation: pop .2s;
}
.toast.err { border-color: var(--red); color: #ffd3cf; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1150px) {
  .game { grid-template-columns: 1fr; }
  .side { position: fixed; right: 10px; top: 64px; bottom: 10px; width: min(340px, calc(100vw - 20px)); height: auto; z-index: 40; transform: translateX(110%); transition: transform .25s; }
  .side.open { transform: none; }
}
@media (max-width: 760px) {
  :root { --cw: clamp(30px, 9.5vw, 46px); }
  .topbar { padding: 8px 10px; gap: 8px; }
  .room-info { flex-wrap: nowrap; gap: 5px; }
  .icon-btn { width: 32px; height: 32px; font-size: 14px; }
  .logo span.txt { display: none; }
  .pill { padding: 4px 8px; font-size: 12px; }
  .pill.hide-sm, .pill .hide-sm { display: none; }
  .game { padding: 6px; }
  .table-wrap { padding: 60px 14px 78px; }
  .table { aspect-ratio: .78 / 1; }
  .table::after { top: 17%; }
  .seat { width: clamp(74px, 23vw, 104px); }
  .plate { padding: 4px 7px 4px 4px; gap: 5px; }
  .center { top: 50%; }
  .act-main .btn { min-width: 0; flex: 1; padding: 13px 10px; font-size: 15px; }
  .act-main { width: 100%; }
  .raise-box { width: 100%; justify-content: center; }
  .raise-box input[type=range] { flex: 1; min-width: 120px; }
  .kbd { display: none; }
  .handname { white-space: normal; text-align: center; font-size: 10px; line-height: 1.15; max-width: 100%; }
  .result-banner { max-width: 70vw; }
}

/* boutons compacts dans le salon d'attente */
.plist .btn, .bigcode .btn { width: auto; flex: 0 0 auto; }
