/**
 * Liverpool Xtra — Pronostics des lecteurs (accueil, shortcode [pronostic]).
 */

.prono { max-width: 760px; margin-inline: auto; padding: 24px clamp(16px, 4vw, 32px) 26px; border: 1px solid var(--rule); border-radius: 24px; background: var(--paper); box-shadow: 0 18px 50px rgba(0, 0, 0, .06); }
:root[data-theme="dark"] .prono { background: var(--paper-2); box-shadow: none; }
.prono__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prono__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.prono__title { margin-top: 4px; font-family: var(--font-display); font-stretch: 72%; font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1; }
.prono__count { flex: none; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.prono__match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 22px; }
.prono__team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.prono__team .crest { width: 56px; height: 56px; object-fit: contain; }
.prono__name { font-family: var(--font-display); font-stretch: 78%; font-size: 20px; font-weight: 800; line-height: 1.1; }
.prono__vs { align-self: end; padding-bottom: 14px; font-size: 32px; font-weight: 800; color: var(--rule-strong); }
.prono__stepper { display: flex; align-items: center; gap: 6px; }
.prono__stepper button { width: 40px; height: 40px; border: 1px solid var(--rule-strong); border-radius: 12px; font-size: 22px; font-weight: 700; line-height: 1; }
.prono__stepper button:hover { border-color: var(--accent); color: var(--accent-ink); }
.prono__stepper input { width: 64px; height: 56px; border: 2px solid var(--rule-strong); border-radius: 14px; background: var(--paper); text-align: center; font-family: var(--font-display); font-stretch: 70%; font-size: 34px; font-weight: 900; -moz-appearance: textfield; }
.prono__stepper input::-webkit-inner-spin-button, .prono__stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.prono__stepper input:focus { outline: none; border-color: var(--accent); }
.prono__outcome { min-height: 22px; margin-top: 16px; text-align: center; font-weight: 700; color: var(--ink-2); }
.prono__submit { display: flex; width: 100%; max-width: 360px; margin: 12px auto 0; justify-content: center; background: var(--accent); border-color: var(--accent); color: #fff; }
.prono__submit:hover { background: var(--accent-deep); }
.prono__msg { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--bad); }
.prono__msg:empty { display: none; }
.prono__mine { text-align: center; font-weight: 800; }
.prono__bars { display: grid; gap: 10px; margin-top: 16px; }
.prono__bar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 48px; align-items: center; gap: 12px; font-size: 14px; }
.prono__bar-label { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prono__bar-track { height: 12px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.prono__bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--ink-3); transition: width .6s var(--ease); }
.prono__bar--w .prono__bar-fill { background: var(--accent); }
.prono__bar--l .prono__bar-fill { background: #1d2430; }
:root[data-theme="dark"] .prono__bar--l .prono__bar-fill { background: #8a94a6; }
.prono__bar-pct { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.prono__scores { margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-2); }
.prono__last { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); text-align: center; font-size: 13px; color: var(--ink-3); }
.prono.is-voted .prono__form { display: none; }
@media (max-width: 520px) {
	.prono__stepper button { width: 34px; height: 34px; }
	.prono__stepper input { width: 52px; height: 50px; font-size: 28px; }
	.prono__name { font-size: 17px; }
	.prono__bar { grid-template-columns: 1fr 44px; }
	.prono__bar-label { grid-column: 1 / -1; }
}
