/* On-demand form and H2H; retain compact score cards when closed. */
.hp-cards{align-items:start}
.hp-player-stats{border-top:1px solid #dce5eb;margin-top:10px;padding-top:2px;min-width:0}
.hp-player-stats>summary{list-style:none;display:flex;align-items:center;gap:7px;color:#0a725f;font-size:12px;font-weight:800;cursor:pointer;padding:10px 2px;min-height:40px}
.hp-player-stats>summary::-webkit-details-marker{display:none}
.hp-player-stats>summary:focus-visible,.hp-stats-retry:focus-visible{outline:2px solid #08735e;outline-offset:2px;border-radius:4px}
.hp-stats-icon{font-size:16px;line-height:1}
.hp-stats-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:5px;margin-top:-3px}
.hp-player-stats[open] .hp-stats-chevron{transform:rotate(225deg);margin-top:4px}
.hp-stats-content{min-width:0;background:#f3f6f8;border:1px solid #e0e7ec;border-radius:8px;padding:11px;color:#0a2038;font-size:12px;line-height:1.45}
.hp-stats-title{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:3px 9px;font-size:13px;font-weight:850;margin:0 0 10px}
.hp-stats-title span{color:#52687b;font-size:10px;font-weight:600}
.hp-stats-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:8px;align-items:start}
.hp-stats-form{min-width:0;background:#fff;border:1px solid #e0e7ec;border-radius:6px;padding:9px}
.hp-stats-form h3{font-size:12px;line-height:1.35;margin:0 0 7px;color:#0a2038;overflow-wrap:anywhere}
.hp-stats-form-summary{display:flex;align-items:center;flex-wrap:wrap;gap:3px;margin-bottom:7px}
.hp-stats-form-summary small{font-size:10px;color:#52687b;margin-left:auto}
.hp-stats-badge{display:inline-grid;place-items:center;flex:none;font-size:10px;font-weight:850;width:19px;height:19px;border-radius:4px}
.hp-stats-badge.is-win{background:#d9f4e9;color:#07654f}.hp-stats-badge.is-loss{background:#fbe5e7;color:#9c2839}
.hp-stats-list{list-style:none;padding:0;margin:0}
.hp-stats-list li{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:7px 0;border-top:1px solid #e6ecf0;min-width:0}
.hp-stats-opponent{min-width:0;flex:1;overflow-wrap:anywhere}
.hp-stats-opponent strong{font-size:11px;display:block;font-weight:750;color:#0a2038}
.hp-stats-opponent small,.hp-stats-score small{display:block;font-size:10px;color:#52687b;line-height:1.35;margin-top:2px}
.hp-stats-score{flex:none;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:34px}
.hp-stats-score strong{font-size:13px;color:#0a2038}
.hp-stats-h2h-title{margin-top:15px}
.hp-stats-h2h-summary{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;padding:9px;background:#fff;border:1px solid #e0e7ec;border-radius:6px;color:#0a2038;font-size:11px;font-weight:750}
.hp-stats-h2h-summary>span{overflow-wrap:anywhere}.hp-stats-h2h-summary>span:last-child{text-align:right}.hp-stats-h2h-summary strong{color:#08735e;font-size:16px}.hp-stats-h2h-summary small{color:#52687b;font-size:9px;text-align:center}
.hp-stats-h2h-list{margin-top:7px}.hp-stats-h2h-list li{padding:8px 3px}.hp-stats-h2h-list .hp-stats-score strong{font-size:16px}.hp-stats-score .hp-stats-winner{color:#08735e;font-weight:900}
.hp-stats-note,.hp-stats-source{margin:5px 0;color:#52687b;font-size:11px;line-height:1.5}.hp-stats-source{margin:10px 0 0;font-size:10px}
.hp-stats-retry{font:inherit;font-weight:750;color:#08735e;background:white;border:1px solid #b6cfc6;border-radius:5px;padding:6px 12px;cursor:pointer}
