.score-history{grid-column:1/-1;grid-row:3;order:3;width:100%;min-width:0;padding:28px;font-weight:700}.score-history button,.score-history select{font-weight:700}.history-jump{color:var(--gold);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.history-heading .eyebrow{color:var(--gold);font-size:10px;letter-spacing:2px}.history-heading h2{font-size:25px;font-weight:800;margin:5px 0 8px;color:var(--ink)}.history-heading p,.history-hint,.history-empty{font-size:12px;line-height:1.8;color:var(--muted)}.history-game-field{display:grid;gap:8px;min-width:240px;max-width:360px;font-size:12px;color:var(--muted)}.history-game-field select{width:100%;font-size:13px;color:var(--ink)}.history-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.history-legend-item{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:var(--card-2);color:var(--ink);font-size:12px;text-align:left;transition:background .18s,border-color .18s,opacity .18s}.history-legend-item.is-focused{background:var(--card-hover);border-color:var(--series);box-shadow:inset 0 0 0 1px var(--series)}.history-legend-item.is-muted{opacity:.55}.history-legend-item:hover{opacity:1;border-color:var(--series)}.history-legend-item b{margin-left:5px;font:700 12px var(--mono)}.history-swatch{display:block;width:22px;height:5px;background:var(--series);border-radius:3px;flex-shrink:0}.history-plot-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border:1px solid var(--line);border-radius:6px;background:var(--card)}.history-plot-scroll svg{display:block;width:100%;min-width:660px;height:auto;min-height:280px;max-height:370px;overflow:visible}.history-gridline{stroke:var(--line);stroke-width:1;stroke-dasharray:3 4}.history-axis-label{font:700 12px var(--font);fill:var(--muted);pointer-events:none}.history-game-name{font-size:11px}.history-game-column{cursor:pointer}.history-game-column rect{fill:transparent}.history-game-column:hover rect,.history-game-column.selected rect{fill:var(--card-hover);opacity:.45}.history-game-column.selected text{fill:var(--ink);font-weight:700}.history-series{opacity:1;transition:opacity .18s}.history-series.is-muted{opacity:.18}.history-series path{fill:none;stroke:var(--series);stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.history-series.is-focused path{stroke-width:5}.history-series circle{fill:var(--card);stroke:var(--series);stroke-width:3;cursor:pointer}.history-series.is-focused circle{fill:var(--series);stroke-width:3.5}.history-series circle:hover{fill:var(--series);r:6px}.history-hint{margin-top:12px}.history-selection{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:12px;padding:12px 14px;border-left:3px solid var(--gold);background:var(--card-2);font-size:12px;line-height:1.8;color:var(--ink)}.history-selection .button{font-size:12px;background:var(--card)}.history-table{margin-top:18px;border-top:1px solid var(--line);padding-top:14px;font-size:12px}.history-table summary{cursor:pointer;color:var(--gold);width:fit-content;padding:4px}.history-table-scroll{width:100%;overflow-x:auto;margin-top:12px;scrollbar-width:thin}.history-table table{border-collapse:collapse;min-width:100%;white-space:nowrap;font-variant-numeric:tabular-nums}.history-table caption{text-align:left;margin-bottom:10px;color:var(--muted);font-size:11px}.history-table th,.history-table td{border-bottom:1px solid var(--line);padding:11px 14px;text-align:right;font-size:12px}.history-table th{font-weight:700}.history-table th:first-child{text-align:left}.history-table thead th{color:var(--muted);line-height:1.7}.history-table small{display:block;font-size:10px;font-weight:700}.history-empty{padding:28px 0 8px}.individual-head>span:first-child{min-width:0;overflow-wrap:anywhere;max-width:58%}.individual-head>span:last-child{flex-shrink:0;margin-left:10px}.scores-embed .score-history{display:none!important}@media(prefers-reduced-motion:reduce){.history-series,.history-legend-item{transition:none}}@media(max-width:700px){.score-history{padding:18px}.history-heading{flex-direction:column;gap:18px}.history-heading h2{font-size:20px}.history-game-field{width:100%;min-width:0;max-width:none}.history-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.history-legend-item{min-width:0;flex-wrap:wrap;gap:6px;padding:8px;font-size:10px}.history-legend-item b{margin-left:auto}.history-swatch{width:14px}.history-hint,.history-selection{font-size:11px}}@container live-content (max-width:760px){.history-heading{flex-direction:column;gap:18px}.history-game-field{width:100%;max-width:none}}
