.opta-history { margin: 18px 0 22px; border: 1px solid #dce5ed; border-radius: 7px; background: #fff; overflow: hidden; }
.opta-history-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; padding: 16px 20px; background: #f6f8fb; color: #234c6d; font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer; }
.opta-history-toggle:hover { background: #edf4fa; }
.opta-history-toggle:focus-visible { outline: 2px solid #356b95; outline-offset: -3px; }
.opta-history-toggle > span:last-child { font-size: 21px; font-weight: 400; }
#opta-history-content { padding: 22px 20px 16px; min-height: 64px; }
.opta-history-reference { max-width: 440px; padding: 18px 20px 0; }
.opta-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.opta-history-heading small { color: #8295a6; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.opta-history-heading h3 { margin: 4px 0 10px; font-size: 23px; color: #174e7a; }
.opta-history-notice { font-size: 12px; color: #708497; margin: 5px 0 12px; }
.opta-history-scroll { overflow-x: auto; }
.opta-history-graph { width: 100%; height: 330px; }
.opta-history-axis { display: grid; margin: 0 20px 12px 60px; }
.opta-history-context { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 9px 14px; text-align: center; border-top: 1px solid #dce5ed; border-right: 1px solid #eef2f5; min-width: 0; }
.opta-history-context:last-child { border-right: 0; }
.opta-history-season { font-size: 13px; color: #174e7a; }
.opta-history-crest, .opta-history-crest-fallback { width: 30px; height: 30px; object-fit: contain; margin: 4px 0; }
.opta-history-crest-fallback { display: grid; place-items: center; background: #edf3f8; color: #8295a6; border-radius: 50%; font-size: 10px; }
.opta-history-team { font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.opta-history-competition { font-size: 11px; color: #708497; }
.opta-history-minutes { font-size: 11px; background: #f2f6fa; padding: 3px 8px; border-radius: 4px; }
.opta-history-context small { color: #8295a6; font-size: 10px; }
.opta-history-context .opta-history-warning { color: #956022; background: #fff5e4; border-radius: 4px; padding: 2px 6px; }
.opta-history-footnote { font-size: 11px; color: #708497; line-height: 1.6; margin: 10px 0 0; }
.opta-history-method { margin-top: 10px; font-size: 11px; color: #708497; }
.opta-history-method > summary { cursor: pointer; }
@media(max-width: 700px) { #opta-history-content { padding: 16px 10px; } .opta-history-heading .opta-season-tag { font-size: 11px; } }
