.hrr {padding: .5rem .8rem .8rem; color: #e5eeec; min-width: 0}
.hrr [hidden] {display: none !important}
.hrr-tabs,.hrr-controls,.hrr-head {display: flex; align-items: center; flex-wrap: wrap; gap: .4rem}
.hrr-tabs button,.hrr-controls button,.hrr-controls select,.hrr-controls input[type=number] {font: inherit; font-size: .78rem; border: 1px solid #36534c; background: #13231f; color: #edf5f1; border-radius: .35rem; padding: .3rem .5rem; min-width: 0}
.hrr-tabs button[aria-pressed=true] {background: #245442; border-color: #70b99a}
.hrr-controls :disabled {opacity: .55}
.hrr-head {justify-content: space-between; margin-block: .45rem; font-variant-numeric: tabular-nums}
.hrr-head span,.hrr small,.hrr label {font-size: .75rem; color: #b9cbc6}
.hrr-rink {display: block; width: 100%; max-height: 42vh; margin-block: .25rem}
.hrr-rink > rect {fill: #10231f; stroke: #75938b; stroke-width: 1.5}
.hrr-lines {stroke: #825953; stroke-width: 1}
.hrr-blue {stroke: #526f8a; stroke-width: 2}
.hrr-event circle {fill: #ffd079; stroke: #342500}
.hrr-away circle {fill: var(--rink-away,#74aef7)}
.hrr-home circle {fill: var(--rink-home,#5fe7a3)}
.hrr-puck circle {fill: #fff; stroke: #060b09; stroke-width: 1.2}
.hrr-rink text {font: bold 5.4px system-ui; text-anchor: middle; fill: #0a2019}
.hrr-controls select {flex: 1; max-width: 30rem}
.hrr-controls label {display: inline-flex; align-items: center; gap: .3rem}
.hrr-controls input[type=number] {width: 4rem}
.hrr-controls a {color: #8ddfc0; font-size: .8rem}
.hrr-media {margin-block: .5rem}
.hrr-media button {color: #8ddfc0; background: transparent; border: 0; font: inherit; font-size: .8rem; padding: .2rem}
.hrr-preview {width: 2px; height: 2px; overflow: hidden}
.hrr-preview video {display: block; width: 100%; height: 100%}
.hrr-preview-open {width: 100%; height: auto}
.hrr-preview-open video {max-height: 32vh; height: auto}
.hrr-controls [data-filter] {flex: 0 1 auto}
.hrr :focus-visible {outline: 2px solid #a8f8d8; outline-offset: 2px}

.hrr-detail {margin: 0; color: #d3dfdc; font-size: .8rem}
.hrr-detail:empty, .hrr-head [data-score]:empty {display: none}
.hrr-head [data-score] {font-weight: 700; color: #e3f6ec}
.hrr-controls [data-pace] {flex: 0 1 auto}
.hrr-controls .hrr-play, .hrr-league [data-league-replay], .hlive-rink-modes .hrr-play {
  background: #204d3e; border: 1px solid #68a38d; color: #effcf6; border-radius: .35rem;
  padding: .35rem .7rem; font: 600 .83rem system-ui; cursor: pointer;
}

.hrr-rink .hrr-mark-estimate circle {opacity:.48;fill-opacity:.84;stroke:currentColor;stroke-width:1.1;stroke-dasharray:2 1.5}
.hrr-away.hrr-mark-estimate {color:var(--rink-away,#74aef7)}
.hrr-home.hrr-mark-estimate {color:var(--rink-home,#5fe7a3)}
.hrr-puck.hrr-mark-estimate {color:#fff}
.hrr-rink .hrr-mark-estimate text {fill:#f5faf8}
.hrr-rink .hrr-puck.hrr-mark-event circle {fill:#ffe2a6;stroke:#281d0c}
.hrr-position-legend {margin:.25rem 0 .5rem;color:#c4d7d0;font-size:.77rem}
.hrr-position-legend:empty {display:none}

.hrr-rink [data-marker-label] {cursor:pointer}
.hrr-rink [data-marker-label]:focus-visible circle {stroke:#fff;stroke-width:2}
.hrr-quality {font-size:.75rem;color:#c4d7d0;margin:.2rem 0 .45rem}
.hrr-quality summary {cursor:pointer;width:fit-content}
.hrr-quality p {margin:.3rem 0;max-width:64ch}
.hrr-rink .hrr-jersey-outside {text-anchor:start;fill:#fff;paint-order:stroke;stroke:#10231f;stroke-width:1.5px}

.hrr-rink .hrr-mark-observed circle,.hrr-rink .hrr-mark-event circle {opacity:1}
.hrr-rink .hrr-bracketed circle {opacity:.68}
.hrr-rink .hrr-unidentified circle {opacity:.26}
.hrr-key,.hrr-key span {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}
.hrr-key {gap:1rem;color:#c4d7d0;font-size:.73rem}
.hrr-key i {box-sizing:border-box;display:inline-grid;place-items:center;background:#bdd6cb;width:.68rem;height:.68rem;border-radius:100%;font:700 .56rem/1 system-ui;color:#e3eee9}
.hrr-key .hrr-key-estimate,.hrr-key .hrr-key-unknown {border:1px dashed #aec8bc;background:rgba(174,200,188,.35)}
.hrr-key .hrr-key-unknown {background:rgba(174,200,188,.16);border-color:#769287}
.hrr-clock-controls {display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;width:100%;margin-block:.15rem}
.hrr-clock-controls [data-style] {flex:0 1 auto}
.hrr-clock-controls [data-game-time] {font-size:.78rem;font-variant-numeric:tabular-nums}
.hrr-clock-controls [type=range] {flex:1 1 8rem;min-width:0;accent-color:#83d7b8}
.hrr-rink .hrr-sparse .hrr-mark-estimate circle {opacity:.32}
