/**
 * Liverpool Xtra — Articles « en direct », dans le même langage visuel que le film du match.
 */

.liveblog { margin-top: 32px; padding: 18px clamp(12px, 3vw, 24px) 22px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper); }
:root[data-theme="dark"] .liveblog { background: var(--paper-2); }
.liveblog__score { position: sticky; top: calc(var(--sticky-top) + var(--masthead-h) + 8px); z-index: 5; display: grid; gap: 6px; justify-items: center; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
:root[data-theme="dark"] .liveblog__score { background: var(--paper-2); }
.liveblog__state { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.liveblog__state.is-live { color: var(--bad); }
.liveblog__state.is-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: lfcx-pulse 1.4s ease-in-out infinite; }
.liveblog__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; }
.liveblog__team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; }
.liveblog__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liveblog__team--away { justify-content: flex-end; }
.liveblog__team .crest { width: 36px; height: 36px; object-fit: contain; flex: none; }
.liveblog__result { font-family: var(--font-display); font-stretch: 68%; font-size: 38px; font-weight: 900; white-space: nowrap; }
.liveblog__minute { font-size: 14px; font-weight: 800; color: var(--bad); }
.liveblog__new { display: block; margin: 16px auto 0; min-height: 42px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }

/* Fil : ligne de temps à gauche, minute en pastille, entrée en carte */
.liveblog__list { position: relative; display: grid; gap: 12px; margin-top: 18px; }
.liveblog__list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 27px; width: 2px; background: var(--rule); }
.live-entry { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.live-entry__rail { display: flex; justify-content: center; padding-top: 10px; }
.live-entry__min { z-index: 1; min-width: 46px; padding: 3px 8px; border: 1px solid var(--rule-strong); border-radius: var(--radius-pill); background: var(--paper); font-size: 13px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .live-entry__min { background: var(--paper-2); }
.live-entry--goal .live-entry__min, .live-entry.is-key .live-entry__min { border-color: var(--accent); background: var(--accent); color: #fff; }
.live-entry__card { min-width: 0; padding: 12px 16px 14px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper); }
:root[data-theme="dark"] .live-entry__card { background: var(--paper-3); }
.live-entry--goal .live-entry__card { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); background: color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.live-entry__head { display: flex; align-items: center; gap: 8px; }
.live-entry__ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); color: var(--ink); }
.live-entry--goal .live-entry__ico { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); color: var(--accent-ink); }
.live-entry__type { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.live-entry--goal .live-entry__type { color: var(--accent-ink); }
.live-entry__time { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.live-entry__text { margin-top: 6px; font-family: var(--font-serif); font-size: 17px; line-height: 1.55; }
.live-entry.is-key .live-entry__text { font-weight: 600; }
.live-entry__text p + p { margin-top: .6em; }
.live-entry.is-new .live-entry__card { animation: lfcx-flash 2s ease-out; }
@keyframes lfcx-flash { from { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); } }
.liveblog__empty { margin-top: 18px; color: var(--ink-3); }
@media (max-width: 560px) {
	.liveblog__list::before { left: 21px; }
	.live-entry { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
	.live-entry__min { min-width: 40px; padding: 3px 5px; font-size: 12px; }
	.live-entry__card { padding: 10px 12px 12px; }
	.live-entry__text { font-size: 16px; }
	.liveblog__result { font-size: 30px; }
	.liveblog__team .crest { width: 28px; height: 28px; }
	.liveblog__team span { font-size: 14px; }
}
