/* 11Simulator · Hub+ (20261122hb1) : messagerie + Matchday */
.hp-head-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hp-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.hp-chip{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;font-size:13px;font-weight:600;border:1px solid color-mix(in srgb,currentColor 18%,transparent);background:color-mix(in srgb,currentColor 5%,transparent);color:inherit;cursor:pointer}
.hp-chip b{font-weight:700;opacity:.6;font-variant-numeric:tabular-nums}
.hp-chip.on{background:var(--accent,#f2c14e);border-color:var(--accent,#f2c14e);color:#14110a}
.hp-chip.on b{opacity:.75}
.hp-dot{width:7px;height:7px;border-radius:50%;background:#ff5d5d;display:inline-block}
.hp-inbox{display:flex;flex-direction:column;gap:0}
.hp-inbox .hp-msg{position:relative}
.hp-ico{display:inline-block;width:1.5em;text-align:center;margin-inline-end:4px;opacity:.85}
.hp-new{display:inline-block;margin-inline-start:6px;padding:1px 7px;border-radius:999px;background:#ff5d5d;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.hp-msg.hp-unread{box-shadow:inset 3px 0 0 var(--accent,#f2c14e)}
.hp-act{margin-top:8px;padding:5px 12px;font-size:12.5px;font-weight:600;border-radius:8px}
.hp-uc{color:var(--accent,#f2c14e)}
.hp-group{border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent)}
.hp-group.hp-unread>summary{box-shadow:inset 3px 0 0 var(--accent,#f2c14e)}
.hp-group>summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none}
.hp-group>summary::-webkit-details-marker{display:none}
.hp-group>summary .hp-gtitle{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.hp-group>summary small{opacity:.7;font-size:12.5px}
.hp-group>summary .hp-act{margin-top:0}
.hp-chev{transition:transform .2s;opacity:.6}
.hp-group[open] .hp-chev{transform:rotate(180deg)}
.hp-glist{padding:0 8px 8px 30px}
.hp-msg.hp-compact{padding-block:8px}
.hp-msg.hp-compact p{margin:.2em 0 0;font-size:13px;opacity:.85}
.hp-msg.hp-compact .hp-act{margin-top:4px;padding:3px 10px;font-size:12px}
@media (max-width:760px){
  .hp-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-4px;padding:0 4px 2px}
  .hp-chips::-webkit-scrollbar{display:none}
  .hp-chip{flex:none}
  .hp-group>summary{flex-wrap:wrap;padding:12px}
  .hp-group>summary .micro{order:3;width:100%;padding-inline-start:2em}
  .hp-glist{padding-inline-start:12px}
}
html[dir=rtl] .hp-msg.hp-unread,html[dir=rtl] .hp-group.hp-unread>summary{box-shadow:inset -3px 0 0 var(--accent,#f2c14e)}

/* Matchday : analyse -> plan de match -> rituel -> boutons, dans la carte « Prochain match » ; doublons du bas masques */
#content.hp-md .matchday-hero,
#content.hp-md .matchday-stage>.next-match,
#content.hp-md .matchday-actions,
#content.hp-md .matchday-actions+p.micro{display:none!important}
#content.hp-md .next-match-v36 .hp-moved{margin:14px 0 0}
#content.hp-md .next-match-v36 .gameplan-panel{background:transparent;border:0;box-shadow:none;padding:0}
#content.hp-md .next-match-v36 .gameplan-panel .panel-head{padding-inline:0}
#content.hp-md .next-match-v36 .nm-actions{margin-top:16px;flex-wrap:wrap}
#content.hp-md .next-match-v36 .nm-actions{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:10px}
#content.hp-md .next-match-v36 .nm-actions>button{width:100%;margin:0}
@media (max-width:760px){#content.hp-md .next-match-v36 .nm-actions{grid-template-columns:1fr 1fr}#content.hp-md .next-match-v36 .nm-actions>#nmSim{grid-column:1/-1}}
@media (max-width:760px){
  html[data-theme] body .page-head .hp-head-actions{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;gap:8px}
  html[data-theme] body .page-head .hp-head-actions>button{flex:1 1 0;width:auto;min-height:38px;padding:8px 10px;font-size:13px}
}
/* Mode Simple : match de coupe de la semaine */
.hp-cupnext{margin:12px 0 4px;padding:10px 12px;border-radius:14px;border:1px solid color-mix(in srgb,var(--accent,#f2c14e) 45%,transparent);background:color-mix(in srgb,var(--accent,#f2c14e) 9%,transparent)}
.hp-cn-k{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.75;margin-bottom:6px}
.hp-cn-row{display:flex;align-items:center;gap:10px}
.hp-cn-row+.hp-cn-row{margin-top:8px}
.hp-cn-ico{font-size:20px;line-height:1}
.hp-cn-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;font-size:14px}
.hp-cn-txt>span{opacity:.8;font-size:12.5px}
.hp-cn-txt small{opacity:.85;font-size:12.5px}
.hp-cn-row img{width:30px;height:30px;object-fit:contain;flex:none}
.hp-cupnext{text-align:start;padding:8px 12px}
.hp-cn-k{margin-bottom:4px;font-size:10.5px}
.hp-cn-txt{font-size:13.5px}
/* Valeurs texte des cartes de stats (ex. « Extrême ») : ne plus couper au milieu du mot */
html[data-theme] body .stat-card .value.small-value{overflow-wrap:break-word;word-break:normal;hyphens:manual}
html[data-theme] body #modal .stat-card .value.small-value{font-size:clamp(17px,1.55vw,23px)!important;line-height:1.1!important;overflow-wrap:break-word!important}
html[data-theme] body #modal .database-ribbon{flex-wrap:wrap;gap:8px}
html[data-theme] body #modal .database-ribbon .tag{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:100%;height:auto;line-height:1.35;text-align:start}
