/* V432 — présentation validée, aucun changement des règles ou du tirage. */
.hebdo-ko-reference-poster{position:relative;isolation:isolate;overflow:hidden;padding:clamp(9px,2vw,22px);border:7px double #d6ad6d;border-radius:9px;background:radial-gradient(ellipse at 50% 40%,#255a4d,#082c2b 75%);color:#fff7dd}
.hebdo-ko-reference-poster::before{content:"";position:absolute;inset:0;background:url('hebdo-palmes-v432.svg') center/100% 100% no-repeat;opacity:.14;z-index:-1;pointer-events:none}
.hebdo-ko-mast{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f2d29c55;padding-bottom:10px;color:#ead7b2;font:400 16px/1.4 Arial,sans-serif;letter-spacing:1px}
.hebdo-ko-mast>div{display:flex;align-items:center;gap:10px;font:bold 22px Arial,sans-serif;letter-spacing:0;color:#fff7dd}.hebdo-ko-mark{display:grid;place-items:center;width:40px;height:40px;border:2px solid #ffeac7;border-radius:50%;background:#bb3d2d;color:#fff7e3;font:bold 29px Georgia,serif}
.hebdo-ko-reference-poster .hebdo-ko-reference-title{text-align:center;font:bold 42px/1.2 Georgia,serif;letter-spacing:1px;color:#ffedbf;margin:14px 0 18px;padding:0;text-shadow:0 2px 2px #0005}
.hebdo-ko-reference-poster .hebdo-ko-content{position:relative;padding:0}.hebdo-ko-reference-poster .hebdo-ko-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;z-index:2;position:relative}
.hebdo-ko-reference-poster .hebdo-ko-card{--fill:#d3d1cb;--head:#c2c0b9;--score:#e8c7c4;--border:#8b9384;background:var(--fill);border:1px solid var(--border);border-radius:6px;box-shadow:0 0 0 5px #f4d397,0 9px 20px #0003;overflow:hidden;margin:5px;min-width:0;color:#142b2a}
.hebdo-ko-reference-poster .hebdo-ko-card.c-blue{--fill:#b3d1e2;--head:#76a9c8;--score:#cfb6bf;--border:#668a9d}.hebdo-ko-reference-poster .hebdo-ko-card.c-yellow{--fill:#f7dc7f;--head:#e9c554;--score:#edb5a6;--border:#b09b55}.hebdo-ko-reference-poster .hebdo-ko-card.c-green{--fill:#bdd6a0;--head:#97bc79;--score:#e0bdb2;--border:#7c9a68}
.hebdo-ko-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--head);padding:9px 10px;border-bottom:1px solid var(--border);font:bold 13px/1.3 Arial,sans-serif;letter-spacing:.3px}.hebdo-ko-card-head>span:last-child{text-align:right;font-size:12px}
.hebdo-ko-series{display:grid;grid-template-columns:minmax(0,1fr) clamp(58px,12%,100px) minmax(0,1fr);text-align:center;gap:5px;align-items:center;padding:clamp(12px,1.8cqi,24px) 10px;font-family:Arial,sans-serif}.hebdo-ko-series>b{font-size:clamp(19px,2.2cqi,34px);overflow-wrap:anywhere;line-height:1.25}.hebdo-ko-series>div>strong{font:bold 29px Georgia,serif;color:#254b2b;white-space:nowrap}.hebdo-ko-series small{font-size:16px}.hebdo-ko-series>div>span{display:block;font:400 11px/1.3 Arial,sans-serif;margin-top:3px}
.hebdo-ko-reference-poster .hebdo-ko-game-row{display:grid;grid-template-columns:15% 28% 14.5% 14.5% 28%;padding:0;gap:0;font:bold 15px/1.3 Arial,sans-serif;border:0;background:none;align-items:stretch}
.hebdo-ko-reference-poster .hebdo-ko-game-row>span{display:flex;align-items:center;border:0;border-top:1px solid var(--border);border-right:1px solid var(--border);margin:0;padding:8px 6px;min-width:0;white-space:normal;overflow-wrap:anywhere;color:#142b2a;text-align:left;overflow:visible;text-overflow:clip}.hebdo-ko-reference-poster .hebdo-ko-game-row>span:last-child{border-right:0}
.hebdo-ko-reference-poster .hebdo-ko-game-win{justify-content:center!important;font-size:21px!important;font-weight:800;white-space:nowrap!important;text-align:center!important;font-variant-numeric:tabular-nums}
.hebdo-ko-reference-poster .hebdo-ko-game-win.is-score-winner{background:#d6e2b0!important;color:#204b31!important}.hebdo-ko-reference-poster .hebdo-ko-game-win.is-score-loser{background:var(--score)!important;color:#89241d!important}.hebdo-ko-reference-poster .hebdo-ko-game-win:is(.is-score-neutral,.is-score-draw){background:var(--head)!important;color:#344e46!important}
.hebdo-ko-reference-poster .hebdo-ko-winner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--head);padding:10px;border-top:1px solid var(--border);font:bold 15px/1.3 Arial,sans-serif;color:#142b2a}.hebdo-ko-reference-poster .hebdo-ko-winner-name,.hebdo-ko-reference-poster .hebdo-ko-winner.pending .hebdo-ko-winner-name{font:bold 15px/1.3 Arial,sans-serif;text-transform:none;opacity:1;color:#82261c;text-align:right;white-space:normal;overflow-wrap:anywhere;overflow:visible}
.hebdo-ko-reference-poster.is-final{background:radial-gradient(ellipse at 50% 20%,#137896,#053c52 55%,#062a3c)}
.hebdo-ko-reference-poster.is-final .hebdo-ko-grid{grid-template-columns:minmax(0,1fr)}
.hebdo-ko-reference-poster.is-final .hebdo-ko-card{--fill:#9bcbd7;--head:#68adc1;--score:#d3b9c3;--border:#547e88}
@media(max-width:600px){.hebdo-ko-mast{font-size:10px;letter-spacing:0;gap:8px}.hebdo-ko-mast>div{font-size:16px;gap:6px}.hebdo-ko-mark{width:30px;height:30px;font-size:22px}.hebdo-ko-reference-poster .hebdo-ko-reference-title{font-size:28px;margin:22px 0}.hebdo-ko-card-head{font-size:11px;padding:9px 8px}.hebdo-ko-card-head>span:last-child{font-size:10px}.hebdo-ko-series{padding:12px 5px;gap:3px}.hebdo-ko-series>div>strong{font-size:26px}.hebdo-ko-series>div>span{font-size:9px}.hebdo-ko-reference-poster .hebdo-ko-game-row{font-size:12px}.hebdo-ko-reference-poster .hebdo-ko-game-row>span{padding:9px 3px}.hebdo-ko-reference-poster .hebdo-ko-game-win{font-size:17px!important}.hebdo-ko-reference-poster .hebdo-ko-winner,.hebdo-ko-reference-poster .hebdo-ko-winner-name,.hebdo-ko-reference-poster .hebdo-ko-winner.pending .hebdo-ko-winner-name{font-size:12px}.hebdo-ko-reference-poster.is-final .hebdo-ko-game-row>span{font-size:12px;padding:13px 3px}.hebdo-ko-reference-poster.is-final .hebdo-ko-game-win{font-size:19px!important}.hebdo-ko-reference-poster .hebdo-ko-spine{gap:12px}}
.hebdo-ko-reference-poster{container:hebdo-affiche/inline-size}.hebdo-ko-reference-poster .hebdo-ko-reference-title{display:block!important;text-align:center!important;font-family:Georgia,serif!important}.hebdo-ko-reference-poster .hebdo-ko-game-row{grid-template-columns:17% 26% 15.5% 15.5% 26%}.hebdo-ko-reference-poster .hebdo-ko-game-row>span{border-radius:0}.hebdo-ko-reference-poster .hebdo-ko-game-label{overflow-wrap:normal;white-space:nowrap}.hebdo-ko-reference-poster .hebdo-ko-game-label small{white-space:normal}
#view-hebdo .hebdo-ko-reference-poster .hebdo-ko-game-win{border-radius:0!important}#view-hebdo .hebdo-ko-reference-poster .hebdo-ko-game-win.is-score-winner{color:#204b31!important}#view-hebdo .hebdo-ko-reference-poster .hebdo-ko-game-win.is-score-loser{color:#89241d!important}#view-hebdo .hebdo-ko-reference-poster .hebdo-ko-winner-name{color:#82261c!important;text-shadow:none!important}

/* Les cartes structurent l’affiche. Les illustrations occupent un pied compact. */
.hebdo-ko-reference-poster .hebdo-ko-content{display:flex;flex-direction:column}
.hebdo-ko-reference-poster .hebdo-ko-spine{order:1;position:static;transform:none;width:auto;opacity:1;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px;pointer-events:none}
.hebdo-ko-reference-poster .hebdo-ko-spine img{position:static;transform:none;display:block;width:clamp(30px,4cqi,54px);height:clamp(30px,4cqi,54px);object-fit:contain}
.hebdo-ko-reference-poster .hebdo-ko-game-row{grid-template-columns:minmax(52px,15fr) minmax(0,30fr) minmax(36px,12.5fr) minmax(36px,12.5fr) minmax(0,30fr)}
.hebdo-ko-reference-poster .hebdo-ko-game-name{font-size:clamp(13px,1.25cqi,19px)}
@container hebdo-affiche (max-width:820px){
 .hebdo-ko-reference-poster .hebdo-ko-grid{grid-template-columns:minmax(0,1fr)}
}

/* Les deux demi-finales encadrent les insignes quand l’affiche est assez large. */
@container hebdo-affiche (min-width: 1000px){
 .hebdo-ko-reference-poster[data-phase="demi"] .hebdo-ko-grid{column-gap:clamp(118px,11cqi,168px);align-items:center}
 .hebdo-ko-reference-poster[data-phase="demi"] .hebdo-ko-spine{position:absolute;inset:0 auto 0 50%;transform:translateX(-50%);flex-direction:column;gap:10px;margin:0}
 .hebdo-ko-reference-poster[data-phase="demi"] .hebdo-ko-spine img{width:clamp(96px,9cqi,136px);height:clamp(96px,9cqi,136px)}
}
