/* DM Sans, self-hosted (was Google Fonts): no outside request before the page
   can draw, and it works offline at events. Variable weight 400–700. */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/fonts/dm-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("/fonts/dm-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
	MakeShift 4039 — shared design system
	Loaded before each page's stylesheet. Pages only add layout.
========================================================= */

:root {
	color-scheme: dark;

	/* Brand palette */
	--ms-red: #eb4e3f;
	--ms-orange: #e8b63f;
	--ms-yellow: #fae251;
	--ms-green: #77d866;
	--ms-blue: #59a8d7;
	--ms-neutral: #c9ccd3;

	/* Aliases kept for older page styles */
	--red: var(--ms-red);
	--orange: var(--ms-orange);
	--yellow: var(--ms-yellow);
	--green: var(--ms-green);
	--cyan: var(--ms-blue);

	/* A team's own colours (set by /team.css after this file loads):
	   --brand = buttons, --brand-2 = links and focus highlights. */
	--brand: var(--ms-red);
	--brand-2: var(--ms-blue);

	/* Surfaces */
	--bg: #060709;
	--surface: #0f1115;
	--surface-2: #15181e;
	--surface-3: #1d2128;
	--field: #0a0c0f;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.15);

	/* Text */
	--text: #f4f5f7;
	--text-muted: #a0a5b0;
	--text-faint: #6c727d;
	--on-accent: #0a0b0d;

	/* Shape & rhythm */
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--gutter: clamp(16px, 5vw, 48px);
	--content: min(100% - 2 * var(--gutter), var(--page-max, 1200px));
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--rainbow: linear-gradient(90deg,
			var(--ms-red) 0 20%,
			var(--ms-orange) 20% 40%,
			var(--ms-yellow) 40% 60%,
			var(--ms-green) 60% 80%,
			var(--ms-blue) 80% 100%);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	-webkit-tap-highlight-color: transparent;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

a {
	color: var(--brand-2);
}

/* =========================
	HEADER
========================= */

.top-bar {
	display: flex;
	height: 4px;
}

.top-bar i {
	flex: 1;
}

.top-bar i:nth-child(1) {
	background: var(--ms-red);
}

.top-bar i:nth-child(2) {
	background: var(--ms-orange);
}

.top-bar i:nth-child(3) {
	background: var(--ms-yellow);
}

.top-bar i:nth-child(4) {
	background: var(--ms-green);
}

.top-bar i:nth-child(5) {
	background: var(--ms-blue);
}

header {
	padding: 28px var(--gutter) 48px;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(89, 168, 215, 0.10), transparent 70%),
		radial-gradient(50% 100% at 0% 0%, rgba(235, 78, 63, 0.08), transparent 70%),
		var(--bg);
}

.header-content {
	max-width: var(--page-max, 1200px);
	margin: 0 auto;
}

.brand {
	display: inline-block;
	margin-bottom: 40px;
}

.brand img {
	display: block;
	width: auto;
	height: 26px;
}

/* Other teams: their name and number in place of the MakeShift logo. */
.brand-text {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	color: var(--text);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-decoration: none;
}

.brand-text b {
	color: var(--brand);
	font-variant-numeric: tabular-nums;
}

/* Skewed five-colour chip echoing the 4039 logo */
.eyebrow::before,
.section-title::before {
	content: "";
	flex: none;
	width: 30px;
	height: 10px;
	background: var(--rainbow);
	transform: skewX(-20deg);
	border-radius: 2px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eyebrow a {
	color: var(--text);
	text-decoration-color: var(--border-strong);
	text-underline-offset: 3px;
}

.eyebrow a:hover {
	text-decoration-color: currentColor;
}

h1 {
	margin: 0;
	font-size: clamp(2.4rem, 5.5vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.header-description,
header p {
	max-width: 560px;
	margin: 16px 0 0;
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.header-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease;
}

.back-link:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.3);
}

/* =========================
	MAIN LAYOUT
========================= */

main {
	width: var(--content);
	margin: 0 auto;
	padding: 32px 0 80px;
}

#results {
	margin-top: 40px;
}

/* =========================
	SURFACES
========================= */

.controls,
.form-shell,
.panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
	padding: 24px;
}

.loading,
.empty-state {
	padding: 32px 24px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-weight: 500;
	text-align: center;
}

.status {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

/* =========================
	FORMS
========================= */

.control-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

label {
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	user-select: none;
	-webkit-user-select: none;
}

input,
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--field);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
	letter-spacing: normal;
	text-transform: none;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}

select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a0a5b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	cursor: pointer;
}

input::placeholder,
textarea::placeholder {
	color: var(--text-faint);
}

input:hover,
select:hover,
textarea:hover {
	border-color: rgba(255, 255, 255, 0.24);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--brand-2);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 22%, transparent);
}

input[readonly] {
	color: var(--text-muted);
}

input[type="file"] {
	padding: 8px;
	color: var(--text-muted);
}

input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	background: var(--surface-3);
	color: var(--text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* =========================
	BUTTONS
========================= */

button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: var(--on-accent);
	font: inherit;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	transition: filter 160ms ease, transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

button:hover:not(:disabled) {
	filter: brightness(1.1);
	transform: translateY(-1px);
}

button:active:not(:disabled) {
	transform: translateY(0);
}

button:focus-visible {
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Tonal buttons for secondary actions */
.secondary-button,
#previousFrame,
#nextFrame,
#autoFrame,
#downloadButton,
#downloadCsv,
#downloadReceivedBackup,
#stopCamera {
	background: var(--surface-3);
	border-color: var(--border-strong);
	color: var(--text);
}

.secondary-button:hover:not(:disabled),
#previousFrame:hover:not(:disabled),
#nextFrame:hover:not(:disabled),
#autoFrame:hover:not(:disabled),
#downloadButton:hover:not(:disabled),
#downloadCsv:hover:not(:disabled),
#downloadReceivedBackup:hover:not(:disabled),
#stopCamera:hover:not(:disabled) {
	filter: none;
	background: #262b33;
	border-color: rgba(255, 255, 255, 0.28);
}

#uploadToSheets {
	background: var(--ms-green);
}

.score-button {
	background: var(--ms-yellow);
}

/* =========================
	RESULTS — HEADINGS
========================= */

.team-heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 24px;
}

.team-heading h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	letter-spacing: -0.03em;
}

.team-heading>span {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.team-heading-container {
	display: flex;
	align-items: center;
	gap: 14px;
}

.teamImage {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 4px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-2);
	image-rendering: pixelated;
}

.section-title {
	margin: 48px 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
	color: var(--text);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-title::before {
	display: inline-block;
	margin-right: 12px;
	vertical-align: -1px;
}

.section-title a {
	color: var(--text);
	text-underline-offset: 3px;
	text-decoration-color: var(--border-strong);
}

/* =========================
	STAT CARDS
========================= */

.stat-card,
.summary-card {
	--accent: var(--ms-blue);
	position: relative;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
	border-radius: var(--radius);
	background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 65%);
}

.stat-card::before,
.summary-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--accent);
}

.stat-card:nth-child(1),
.summary-card:first-child {
	--accent: var(--ms-red);
}

.stat-card:nth-child(2) {
	--accent: var(--ms-yellow);
}

.stat-card:nth-child(3),
.summary-card:last-child {
	--accent: var(--ms-blue);
}

.stat-label,
.summary-label {
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.stat-value,
.summary-value {
	font-size: clamp(2.5rem, 4.5vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.stat-description,
.summary-note {
	color: var(--text-muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

/* =========================
	DATA TILES
========================= */

.data-item {
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

.data-item-label {
	margin-bottom: 6px;
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.data-item-value {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.data-item-description {
	margin-top: 6px;
	color: var(--text-faint);
	font-size: 0.8rem;
	line-height: 1.4;
}

/* =========================
	SCOUTING CARDS
========================= */

.scouting-card {
	--accent: var(--ms-red);
	overflow: hidden;
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	background: var(--surface);
}

.scouting-card:nth-child(5n + 2) {
	--accent: var(--ms-orange);
}

.scouting-card:nth-child(5n + 3) {
	--accent: var(--ms-yellow);
}

.scouting-card:nth-child(5n + 4) {
	--accent: var(--ms-green);
}

.scouting-card:nth-child(5n + 5) {
	--accent: var(--ms-blue);
}

.scouting-card-header {
	padding: 14px 20px;
	border-bottom: 1px solid var(--border);
	background: var(--surface-2);
	font-size: 1rem;
	font-weight: 700;
}

.scouting-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 20px;
	border-bottom: 1px solid var(--border);
	font-size: 0.9rem;
}

.scouting-row:last-child {
	border-bottom: 0;
}

.scouting-row>span {
	color: var(--text-muted);
}

.scouting-row strong {
	font-weight: 600;
	text-align: right;
	overflow-wrap: anywhere;
}

.scout-true {
	color: var(--ms-green);
}

.scout-false {
	color: var(--ms-red);
}

/* =========================
	TABLES
========================= */

.comparison-table {
	width: 100%;
	border: 1px solid var(--border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}

.comparison-table th,
.comparison-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child td {
	border-bottom: 0;
}

.comparison-table thead th {
	background: var(--surface-2);
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.comparison-table th:first-child {
	text-align: left;
}

.comparison-table td {
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.comparison-table td:first-child {
	color: var(--text-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
}

.comparison-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.comparison-table td.winner {
	background: rgba(119, 216, 102, 0.1);
	color: var(--ms-green);
}

/* =========================
	PERFORMANCE CHART
========================= */

.performance-chart,
.chart-card {
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.chart-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px 16px;
	flex-wrap: wrap;
}

.chart-heading h3,
.performance-chart h3,
.chart-card h4 {
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.chart-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--text-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.chart-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.chart-legend i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
}

.performance-chart svg {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-top: 16px;
}

.chart-grid line {
	stroke: rgba(255, 255, 255, 0.07);
}

.chart-axis {
	stroke: rgba(255, 255, 255, 0.25);
}

.chart-grid text,
.chart-labels text {
	fill: var(--text-faint);
	font: 600 13px var(--font);
}

/* ----- Scouting trend chart (match scores + running average) ----- */

.chart-legend .key-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
}

.chart-legend .key-line {
	width: 16px;
	height: 3px;
	border-radius: 2px;
}

.trend-plot {
	position: relative;
}

/* The end label never gets clipped, even with a long value. */
.trend-chart svg {
	overflow: visible;
}

.trend-chart .chart-grid text,
.trend-chart .chart-labels text {
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.trend-match-line {
	fill: none;
	stroke-width: 1.5;
	stroke-linejoin: round;
	opacity: 0.35;
}

.trend-average-line {
	fill: none;
	stroke-width: 3;
	stroke-linejoin: round;
	stroke-linecap: round;
}

/* Dots and end markers get a ring in the card colour so they stay
   readable where they cross the lines. */
.trend-dot,
.trend-average-end,
.trend-focus {
	stroke: var(--surface);
	stroke-width: 2;
}

.trend-end-label {
	fill: var(--text);
	font: 700 14px var(--font);
	font-variant-numeric: tabular-nums;
}

.trend-crosshair {
	stroke: rgba(255, 255, 255, 0.3);
	stroke-width: 1;
	pointer-events: none;
}

.trend-focus {
	pointer-events: none;
}

.trend-hit {
	fill: transparent;
	cursor: crosshair;
	outline: none;
}

.trend-tooltip {
	position: absolute;
	z-index: 2;
	display: grid;
	gap: 4px;
	min-width: 140px;
	padding: 10px 12px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--surface-3);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
	font-size: 0.8rem;
	pointer-events: none;
}

.trend-tooltip[hidden] {
	display: none;
}

.trend-tooltip-title {
	color: var(--text-muted);
	font-weight: 600;
}

.trend-tooltip-row {
	display: grid;
	grid-template-columns: 14px auto 1fr;
	align-items: center;
	gap: 8px;
}

.trend-tooltip-row i {
	width: 14px;
	height: 3px;
	border-radius: 2px;
}

.trend-tooltip-row strong {
	color: var(--text);
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
}

.trend-tooltip-row span {
	color: var(--text-muted);
}

.trend-table {
	margin-top: 10px;
	font-size: 0.82rem;
}

.trend-table summary {
	width: fit-content;
	color: var(--text-muted);
	font-weight: 600;
	cursor: pointer;
}

.trend-table table {
	width: 100%;
	max-width: 420px;
	margin-top: 8px;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.trend-table th,
.trend-table td {
	padding: 6px 10px;
	border-bottom: 1px solid var(--border);
	text-align: right;
}

.trend-table th {
	color: var(--text-muted);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.trend-table th:first-child,
.trend-table td:first-child {
	text-align: left;
}

.chart-note,
.empty-chart p {
	margin: 12px 0 0;
	color: var(--text-faint);
	font-size: 0.8rem;
	line-height: 1.45;
}

/* =========================
	SMALL SCREENS
========================= */

@media (max-width: 700px) {
	header {
		padding-bottom: 36px;
	}

	.brand {
		margin-bottom: 28px;
	}

	.brand img {
		height: 22px;
	}

	.controls,
	.form-shell,
	.panel {
		padding: 18px;
		border-radius: var(--radius);
	}

	.section-title {
		margin-top: 40px;
	}

	.performance-chart,
	.chart-card {
		padding: 18px;
	}

	.comparison-table th,
	.comparison-table td {
		padding: 12px 10px;
	}
}


input[type="number"] {
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}


/* By-match chart: stat picker, clickable matches, and the report it jumps to */
.trend-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 24px 0 10px;
}

.trend-picker > span {
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Tick several stats to draw them together. The swatch is the line's colour. */
.trend-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--field, var(--surface-2));
	color: var(--text-muted);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.trend-chip input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.trend-chip i {
	width: 12px;
	height: 12px;
	border: 2px solid var(--chip);
	border-radius: 50%;
}

.trend-chip:has(input:checked) {
	border-color: var(--chip);
	color: var(--text);
}

.trend-chip:has(input:checked) i {
	background: var(--chip);
}

.trend-chip:has(input:focus-visible) {
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

.multi-line {
	fill: none;
	stroke-width: 2.5;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.multi-hit {
	fill: transparent;
	cursor: crosshair;
	outline: none;
}

.trend-chart[data-clickable] .multi-hit {
	cursor: pointer;
}

.trend-picker + #trendHolder .performance-chart {
	margin-top: 0;
}

.trend-chart[data-clickable] .trend-hit {
	cursor: pointer;
}

.trend-tooltip-hint {
	margin-top: 6px;
	color: var(--text-faint);
	font-size: 0.72rem;
}

.scouting-card[data-report-match] {
	scroll-margin-top: 16px;
}

.scouting-card.report-highlight {
	animation: report-highlight 2.4s ease-out;
}

@keyframes report-highlight {
	0%, 35% { box-shadow: 0 0 0 3px var(--ms-blue); }
	100% { box-shadow: 0 0 0 3px transparent; }
}

/* Ratings drawn against the right-hand axis */
.multi-line.right-axis {
	stroke-dasharray: 7 5;
}

.trend-chart .right-axis-title {
	font-size: 13px;
}
