/* Live (lot C) : maquette Design « Live ». Chargé uniquement par la page /live. */
.live-hero { padding: 32px 0 40px; }
.live-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pill--live { background: #1b5e20; color: #c8e6c9; } .pill--live .pill__dot { background: #81c784; }
.pill--pause { background: var(--gris-600); color: var(--blanc); } .pill--pause .pill__dot { background: var(--blanc); }
.pill--off { background: #5d4037; color: #ffe0b2; } .pill--off .pill__dot { background: #ffb74d; }
.pill--ended { background: var(--gris-700); color: var(--gris-100); } .pill--ended .pill__dot { background: var(--gris-300); }
.bubble { background: var(--gris-800); border: 1px solid var(--gris-700); border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.bubble__mode { font-size: 1.05rem; font-weight: 700; color: var(--gris-200); }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 16px 0 4px; }
.score__side { border-radius: 16px; padding: 10px 8px; }
.score__side--active { background: rgba(255,255,255,.06); outline: 2px solid var(--blanc); }
.score__title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.score__title--r { color: var(--rouge-clair); } .score__title--b { color: var(--bleu-clair); }
.score__big { font-size: 4.6rem; font-weight: 800; line-height: 1.05; color: var(--blanc); }
.score__cap { font-size: .85rem; color: var(--gris-300); min-height: 1.2em; }
.score__sep { font-size: 1.4rem; font-weight: 700; color: var(--gris-500); }
.bubble__unit { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--gris-400); }
.bubble__clock { margin-top: 16px; font-size: 1.3rem; font-weight: 700; }
.split { height: 8px; background: var(--bleu); border-radius: 4px; overflow: hidden; margin: 16px auto 0; max-width: 520px; }
.split > span { display: block; height: 8px; background: var(--rouge); }
.live-main { display: flex; flex-direction: column; gap: 16px; }
.live-cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.live-col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.live-col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.live-main .card { padding: 20px 24px; }
.live-main .card h2 { font-size: 1.15rem; margin: 0 0 2px; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.card__head span { font-size: .9rem; font-weight: 600; color: var(--gris-600); }
.card--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; }
.tile__k { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--gris-500); }
.tile__v { font-size: 1.5rem; font-weight: 800; color: var(--gris-900); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gris-50); }
.row--wrap { flex-wrap: wrap; gap: 10px; }
.row--col { display: block; }
.row__main, .row__grow { flex: 1; min-width: 120px; }
.row__label { font-weight: 700; color: var(--gris-900); }
.row__sub { font-size: .85rem; color: var(--gris-500); }
.chip-team { min-width: 72px; text-align: center; padding: 4px 10px; border-radius: var(--radius); font-size: .85rem; font-weight: 700; background: var(--gris-100); color: var(--gris-700); }
.chip-team--1 { background: var(--rouge); color: var(--blanc); } .chip-team--2 { background: var(--bleu); color: var(--blanc); }
.mono { font-family: 'Courier New', monospace; font-weight: 700; }
.done { padding: 3px 10px; border-radius: var(--radius); font-size: .8rem; font-weight: 700; background: var(--gris-100); color: var(--gris-700); }
.done--1 { background: #ffebee; color: #b71c1c; } .done--2 { background: #e3f2fd; color: #0d47a1; } .done--ok { background: #e8f5e9; color: var(--success); }
.bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; margin-top: 6px; font-size: .85rem; font-weight: 700; }
.bars__track { height: 8px; background: var(--gris-50); border-radius: 4px; overflow: hidden; }
.bars__fill { display: block; height: 100%; }
.bars__fill--1 { background: var(--rouge); } .bars__fill--2 { background: var(--bleu); }
.zone { display: grid; grid-template-columns: 90px minmax(0, 1fr) 96px; gap: 12px; align-items: center; padding: 6px 0; }
.zone__name { font-weight: 600; color: var(--gris-900); }
.zone__right { text-align: right; font-size: .9rem; }
.zone__fill { background: var(--rouge); }
.zone--done .zone__fill { background: #2e7d32; } .zone--done .zone__right { color: var(--success); font-weight: 700; }
.zone--current .zone__name { font-weight: 800; color: var(--rouge); }
.zone--todo .zone__name, .zone--todo .zone__right { color: var(--gris-500); }
.feed { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gris-50); font-size: .95rem; }
.feed__t { min-width: 48px; color: var(--gris-500); }
.top { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gris-50); }
.top__rank { width: 20px; font-weight: 800; color: var(--gris-500); }
.top__name { flex: 1; min-width: 0; font-weight: 600; }
.top__pts { font-weight: 800; }
.tag { display: inline-block; min-width: 38px; text-align: center; padding: 2px 6px; border-radius: var(--radius); font-size: .8rem; font-weight: 800; color: var(--blanc); background: var(--gris-500); }
.tag--1 { background: var(--rouge); } .tag--2 { background: var(--bleu); }
.round { padding: 0 !important; overflow: hidden; }
.round summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 20px; min-height: 56px; cursor: pointer; list-style: none; }
.round summary::-webkit-details-marker { display: none; }
.round summary::before { content: '\203A'; font-size: 1.4rem; font-weight: 700; transition: transform .2s ease; }
.round[open] summary::before { transform: rotate(90deg); }
.round__title { flex: 1; min-width: 160px; font-weight: 700; font-size: 1.05rem; color: var(--gris-900); }
.round__score { font-weight: 800; color: var(--gris-900); }
.win { padding: 3px 10px; border-radius: var(--radius); font-size: .8rem; font-weight: 700; color: var(--blanc); background: var(--gris-500); }
.win--1 { background: var(--rouge); } .win--2 { background: var(--bleu); }
.round__body { border-top: 1px solid var(--gris-100); padding: 16px 20px 20px; }
.tbl { overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 320px; margin-top: 10px; }
.board th { text-align: left; color: var(--gris-500); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; }
.board td { padding: 6px 8px; border-top: 1px solid var(--gris-50); }
@media (max-width: 720px) {
  .score__big { font-size: 3rem; }
  .bubble { padding: 24px 16px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone { grid-template-columns: 72px minmax(0, 1fr) 84px; }
}
.nowrap { white-space: nowrap; }
.all-board { margin-top: 8px; }
.all-board summary { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--gris-50); font-weight: 700; color: var(--gris-800); cursor: pointer; list-style: none; }
.all-board summary::-webkit-details-marker { display: none; }
.all-board[open] summary { margin-bottom: 4px; }
