@font-face {
	font-family: 'Inter';
	src: url('/static/fonts/inter-latin.woff2') format('woff2');
	font-weight: 400 800;
	font-display: swap;
}

:root {
	/* The tracker's palette (lcfc-tracker src/app.css): navy grounds, club red, cream ink. */
	--red: #c8102e;
	--red-hover: #e01535;
	--red-deep: #a20c25;
	--red-ink: #ffffff;
	--red-ink-2: #ffe3e7;
	--ground: #0a1628; /* navy */
	--surface: #132844; /* navy-mid */
	--surface-2: #1e3a5f; /* navy-light */
	--line: #2b4a72;
	--ink: #f5f0e8; /* cream */
	--ink-2: #cdd5de;
	--ink-3: #9aa7b5;
	--own: #ff3b55;
	--opp: #8fb0e6;
	--coach: #ffffff;
	--focus: #ffc107;
	--win: #00985f;
	--loss: #dd3636;
	--draw: #596470;
	--card: #ffffff;
	--card-row: #f3f3f3;
	--card-line: #e3e3e3;
	--card-ink: #0a1628;
	--card-ink-2: #5a6a7a;
	--radius: 12px;
	--num: 'Inter', system-ui, sans-serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: dark;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scrollbar-color: var(--line) var(--ground);
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 400 1rem/1.5 var(--sans);
	min-height: 100dvh;
}

::selection {
	background: var(--red);
	color: var(--red-ink);
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.num {
	font-family: var(--num);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1;
}

.i {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

[hidden] {
	display: none !important;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.primary,
.secondary,
.ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0 1.1rem;
	border-radius: 12px;
	border: 1px solid transparent;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 160ms var(--ease),
		border-color 160ms var(--ease),
		transform 160ms var(--ease);
}

.primary {
	background: var(--red);
	color: #fff;
	box-shadow: 0 8px 24px -8px rgb(200 16 46 / 0.6);
}
.primary:hover {
	background: var(--red-hover);
}
.primary:active,
.secondary:active,
.ghost:active {
	transform: scale(0.97);
}
.primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.secondary {
	background: var(--surface-2);
	border-color: var(--line);
}
.secondary:hover {
	border-color: var(--ink-3);
}

.ghost {
	background: transparent;
	padding: 0 0.75rem;
}
.ghost:hover {
	background: rgb(255 255 255 / 0.08);
}

.icon-btn {
	width: 44px;
	padding: 0;
}

/* ── Band (the shirt) ────────────────────────────────────────────────── */

.band {
	background: var(--surface);
	color: var(--ink);
	border-bottom: 3px solid var(--red);
}
.band-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: max(0.6rem, env(safe-area-inset-top)) 1rem 0.85rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	margin-right: auto;
}
.brand-crest {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex: none;
	box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9);
}
.brand-mark {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}
.brand-text {
	font-weight: 500;
	color: var(--ink-3);
}
.band .ghost {
	color: var(--ink-2);
}
.band .ghost:hover {
	background: rgb(255 255 255 / 0.08);
}
.logout span {
	font-size: 0.9rem;
}

.back {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	text-decoration: none;
	font-weight: 600;
	color: var(--ink-2);
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
	border-radius: 8px;
}
.back:hover {
	color: var(--ink);
	background: rgb(255 255 255 / 0.08);
}
.dash {
	margin: 0 0.18em;
	opacity: 0.6;
}

/* ── Login (the tracker's front door: navy, crest, red action) ───────── */

body.is-login {
	display: grid;
	place-items: center;
	padding: 1.5rem 1rem;
}
.login {
	width: min(100%, 22rem);
	min-width: 0;
	text-align: center;
}
.login-crest {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #fff;
	margin-bottom: 1.25rem;
}
.login h1 {
	font-weight: 800;
	font-size: 2.1rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 0 0 0.4rem;
}
.login-sub {
	margin: 0 0 2rem;
	color: var(--ink-3);
}
.pin-form {
	display: grid;
	gap: 0.6rem;
	text-align: left;
}
.pin-form label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ink-2);
}
.pin-form input {
	font: 800 1.7rem/1 var(--num);
	letter-spacing: 0.18em;
	text-align: center;
	padding: 0.6rem 0.75rem;
	border-radius: var(--radius);
	border: 2px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	caret-color: var(--red);
	min-height: 60px;
	width: 100%;
	min-width: 0;
	transition: border-color 160ms var(--ease);
}
.pin-form input:focus {
	outline: none;
	border-color: var(--red);
}
.pin-form input:disabled {
	opacity: 0.5;
}
.pin-form .primary {
	margin-top: 0.6rem;
	min-height: 52px;
	font-size: 1.05rem;
}
.form-msg {
	margin: 0;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	background: rgb(221 54 54 / 0.15);
	border: 1px solid rgb(221 54 54 / 0.5);
	color: var(--ink);
	font-weight: 500;
}

/* ── Match card (the tracker's match header) ─────────────────────────── */

.match-card {
	max-width: 1280px;
	margin: 1.25rem auto 0;
	padding: 1.25rem 1rem 1.1rem;
	background: var(--surface);
	border-radius: 16px;
	text-align: center;
	width: calc(100% - 2rem);
}
.card-meta {
	margin: 0 0 0.6rem;
	color: var(--ink-3);
	font-size: 0.875rem;
}
.card-names {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.muted {
	color: var(--ink-3);
	font-weight: 600;
}
.card-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 5vw, 2.25rem);
}
.card-score {
	font-weight: 800;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.card-score.vs {
	font-size: 1.5rem;
	color: var(--ink-3);
}
.card-result {
	margin: 0.6rem 0 0;
	font-weight: 700;
	font-size: 0.95rem;
}
.res-win {
	color: #19c486;
}
.res-loss {
	color: #ff6b6b;
}
.res-draw {
	color: var(--ink-3);
}
.crest-lg,
.crest-sm {
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	flex: none;
}
.crest-lg {
	width: 64px;
	height: 64px;
	box-shadow: 0 0 0 3px #fff;
}
.crest-sm {
	width: 28px;
	height: 28px;
	box-shadow: 0 0 0 1px var(--card-line);
}
.crest-blank {
	display: inline-grid;
	place-items: center;
	background: var(--surface-2);
	color: var(--ink);
	font-weight: 800;
	font-size: 0.75rem;
}
.crest-lg.crest-blank {
	font-size: 1.2rem;
}

/* ── Match list (the tracker's white results card) ───────────────────── */

.season-h {
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-3);
	margin: 2rem 0 0.75rem;
}
.list-page {
	max-width: 880px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}
.page-h {
	font-weight: 800;
	font-size: 1.9rem;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
}
.notice {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	color: var(--ink-2);
}
.matches {
	list-style: none;
	margin: 0;
	padding: 1rem;
	display: grid;
	gap: 0.6rem;
	background: var(--card);
	border-top: 4px solid var(--red);
	border-radius: 16px;
	color: var(--card-ink);
}
.match {
	display: grid;
	grid-template-columns: 9.5rem 1fr;
	gap: 1rem;
	align-items: center;
	padding: 0.6rem;
	background: var(--card-row);
	border: 1px solid var(--card-line);
	border-radius: 10px;
	text-decoration: none;
	transition:
		background-color 160ms var(--ease),
		border-color 160ms var(--ease);
}
.match:hover {
	background: #ebebeb;
	border-color: #d2d2d2;
}
.match:focus-visible {
	outline-color: var(--red);
}
.match-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: var(--surface-2);
}
.match-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thumb-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 1.6rem;
	color: var(--red-ink);
	background: var(--red);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 6px);
}
.clip-thumb .thumb-fallback {
	font-size: 1.15rem;
}
.match-thumb img,
.clip-thumb img {
	position: relative;
	z-index: 1;
}
.match-thumb img.is-retrying,
.clip-thumb img.is-retrying {
	visibility: hidden; /* show the tile, not a broken-image glyph, while Veo is retried */
}
.match-len,
.clip-len {
	color: #fff;
}
.match-len {
	z-index: 2;
	position: absolute;
	right: 0.35rem;
	bottom: 0.3rem;
	font-size: 1rem;
	padding: 0.15rem 0.35rem 0.1rem;
	border-radius: 4px;
	background: rgb(0 0 0 / 0.7);
}
.match-body {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}
.match-date {
	color: var(--card-ink-2);
	font-size: 0.875rem;
}
.match-vs {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 600;
	font-size: 1rem;
	min-width: 0;
}
.match-vs > span:nth-child(2) {
	flex: 1;
	min-width: 0;
}
.pill {
	flex: none;
	font-weight: 800;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	color: #fff;
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
}
.pill-win {
	background: var(--win);
}
.pill-loss {
	background: var(--loss);
}
.pill-draw {
	background: var(--draw);
}
.match-meta {
	color: var(--card-ink-2);
	font-size: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.mini-stripe {
	position: relative;
	display: block;
	height: 14px;
	margin-top: 0.15rem;
	max-width: 22rem;
}
.mini-stripe::before {
	content: "";
	position: absolute;
	inset: 5px 0;
	border-radius: 2px;
	background: var(--red);
}
.matches .mini-stripe i:not([class]) {
	background: var(--card-ink); /* coach ticks: navy reads on the white card, white read as gaps */
}
.mini-stripe i {
	position: absolute;
	left: var(--x);
	top: 3px;
	bottom: 3px;
	width: 2px;
	margin-left: -1px;
	border-radius: 1px;
	background: var(--coach);
}
.mini-stripe i.g-own,
.mini-stripe i.g-opponent {
	top: 0;
	bottom: 0;
	width: 4px;
	margin-left: -2px;
}
.mini-stripe i.g-own {
	background: var(--ink);
	box-shadow: 0 0 0 1px var(--own);
}
.mini-stripe i.g-opponent {
	background: var(--opp);
}

.new-pill {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	background: var(--focus);
	color: #2a1d00;
	margin-left: 0.5rem;
	vertical-align: 0.1em;
	animation: lit 1.6s var(--ease) 2;
}
@keyframes lit {
	0% {
		box-shadow: 0 0 0 0 rgb(255 209 102 / 0.7);
	}
	100% {
		box-shadow: 0 0 0 10px rgb(255 209 102 / 0);
	}
}

.empty {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--ink-2);
}
.empty h1,
.empty h2 {
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 0 0 0.75rem;
}

/* ── Match room ──────────────────────────────────────────────────────── */

.room {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.25rem 1rem 4rem;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 960px) {
	.room {
		grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
		align-items: start;
		gap: 2rem;
		padding-top: 1.75rem;
	}
	.stage {
		position: sticky;
		top: 1rem;
	}
}

.screen {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px -12px rgb(0 0 0 / 0.7);
}
.screen video {
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
}
.screen-start {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border: 0;
	background: linear-gradient(transparent 40%, rgb(0 0 0 / 0.55));
	cursor: pointer;
	font-weight: 700;
	font-size: 1.05rem;
}
.screen-start .i {
	width: 3.75rem;
	height: 3.75rem;
	padding: 1rem 0.9rem 1rem 1.1rem;
	border-radius: 50%;
	background: var(--red);
	color: var(--red-ink);
	box-shadow: 0 6px 20px -4px rgb(0 0 0 / 0.6);
	transition: transform 200ms var(--ease);
}
.screen-start:hover .i {
	transform: scale(1.06);
}
.screen-start span {
	text-shadow: 0 1px 6px rgb(0 0 0 / 0.8);
}
@media (max-width: 959px) {
	.is-match .now {
		padding-top: 1.25rem;
	}
	.is-match .screen {
		/* keep the picture in view while scrolling the reel on a phone */
		position: sticky;
		top: 0;
		z-index: 5;
		border-radius: 0;
		width: calc(100% + 2rem);
		margin: -1.25rem -1rem 0;
	}
}

.now {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: 'time body' 'actions actions';
	gap: 0.4rem 1rem;
	padding: 1rem 0 0.25rem;
	align-items: start;
}
@media (min-width: 560px) {
	.now {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: 'time body actions';
	}
}
.now-time {
	grid-area: time;
	font-size: 3.4rem;
	line-height: 0.85;
	color: var(--ink);
	min-width: 4.2ch;
}
.now-body {
	grid-area: body;
	min-width: 0;
	display: grid;
	gap: 0.3rem;
}
.now-title {
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.25;
}
.now-note {
	color: var(--ink-2);
}
.now-note:empty,
#now-tags:empty {
	display: none;
}
.now-actions {
	grid-area: actions;
	display: flex;
	gap: 0.35rem;
	align-items: center;
	justify-content: flex-end;
}
#in-full .ico-full,
#in-full .ico-back {
	display: inline-flex;
}
#in-full .ico-back,
#in-full.is-back .ico-full {
	display: none;
}
#in-full.is-back .ico-back {
	display: inline-flex;
}
.now-actions .secondary {
	margin-left: 0.35rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.chip {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	color: var(--ink-2);
}

/* The sleeve stripe: the whole recording as one red band, every moment stitched onto it. */
.stripe-wrap {
	margin-top: 1rem;
}
.stripe {
	position: relative;
	height: 56px;
	touch-action: manipulation;
}
.stripe-band {
	position: absolute;
	inset: 18px 0;
	border-radius: 3px;
	background: var(--red);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 6px);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.stripe-band::before,
.stripe-band::after {
	/* white piping along both edges, like the trim on a sleeve */
	content: '';
	position: absolute;
	inset: -3px 0 auto;
	height: 1px;
	background: rgb(255 255 255 / 0.55);
}
.stripe-band::after {
	inset: auto 0 -3px;
}
.mark {
	position: absolute;
	left: var(--x);
	top: 0;
	bottom: 0;
	width: 22px;
	margin-left: -11px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.mark::before {
	/* the stitch */
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
	transition:
		height 200ms var(--ease),
		width 200ms var(--ease),
		box-shadow 200ms var(--ease),
		opacity 200ms var(--ease);
}
.mark.kind-shot::before {
	top: 21px;
	bottom: 21px;
	width: 2px;
	background: rgb(255 255 255 / 0.35);
}
.mark.kind-shot {
	width: 10px;
	margin-left: -5px;
	pointer-events: none;
}
.mark.kind-coach::before {
	top: 12px;
	bottom: 12px;
	width: 4px;
	background: var(--coach);
	box-shadow: 0 0 0 1px rgb(120 0 20 / 0.6);
}
.mark.kind-goal::before {
	top: 4px;
	bottom: 4px;
	width: 6px;
	box-shadow: 0 0 0 1px rgb(0 0 0 / 0.55);
}
.mark.kind-goal.side-own::before {
	background: var(--ink);
	box-shadow:
		0 0 0 1.5px var(--own),
		0 0 0 2.5px rgb(0 0 0 / 0.5);
}
.mark.kind-goal.side-opponent::before {
	background: var(--opp);
}
.mark:hover::before {
	opacity: 1;
	width: 6px;
}
.stripe.has-active .mark:not(.is-active)::before {
	opacity: 0.55;
}
.mark.is-active::before {
	/* the chosen stitch burns brightest */
	top: 0;
	bottom: 0;
	width: 6px;
	opacity: 1;
	background: var(--focus);
	box-shadow:
		0 0 0 2px rgb(0 0 0 / 0.6),
		0 0 14px 2px rgb(255 209 102 / 0.55);
}
.playhead {
	position: absolute;
	left: var(--x, 0%);
	top: 12px;
	bottom: 12px;
	width: 2px;
	margin-left: -1px;
	background: var(--focus);
	pointer-events: none;
	transition: left 250ms linear;
}
.stripe-axis {
	position: relative;
	height: 1.25rem;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}
.tick-label {
	position: absolute;
	left: var(--x);
	transform: translateX(-50%);
}
.tick-label:first-child {
	transform: none;
}
.tick-label.end {
	transform: translateX(-100%);
}
.tick-label:nth-last-child(2) {
	/* the last 20' label hides if it would crowd the end time */
	display: var(--hide-penult, inline);
}
.legend {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.1rem;
	font-size: 0.8rem;
	color: var(--ink-3);
}
.legend li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
.legend i {
	display: inline-block;
	width: 4px;
	height: 14px;
	border-radius: 2px;
}
.legend .k-coach {
	background: var(--coach);
}
.legend .k-own {
	width: 6px;
	background: var(--ink);
	box-shadow: 0 0 0 1.5px var(--own);
}
.legend .k-opp {
	width: 6px;
	background: var(--opp);
}
.legend .k-shot {
	width: 2px;
	height: 8px;
	background: rgb(255 255 255 / 0.45);
}

/* ── Reel (lists) ────────────────────────────────────────────────────── */

.reel {
	display: grid;
	gap: 2.25rem;
	min-width: 0;
}
.group {
	min-width: 0; /* let the scrolling filter row scroll instead of widening the column */
}
.group h2 {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-2);
}
.group h2 .n,
.filter .n {
	font-family: var(--sans);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ink-3);
	letter-spacing: 0;
}
.filters {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	margin: 0 -1rem 0.75rem;
	padding-inline: 1rem;
	scrollbar-width: none;
}
.filters::-webkit-scrollbar {
	display: none;
}
@media (min-width: 960px) {
	.filters {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
	}
}
.filter {
	flex: none;
	min-height: 36px;
	padding: 0 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		background-color 160ms var(--ease),
		border-color 160ms var(--ease);
}
.filter:hover {
	border-color: var(--ink-3);
}
.filter[aria-pressed='true'] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--ground);
}
.filter[aria-pressed='true'] .n {
	color: #6b6062; /* --ink-3 is too light on the white pressed chip */
}

.clips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
	border-radius: 12px;
	overflow: hidden;
}
.clip {
	width: 100%;
	display: grid;
	grid-template-columns: 6.5rem auto 1fr;
	gap: 0.85rem;
	align-items: center;
	padding: 0.6rem;
	border: 0;
	background: var(--surface);
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms var(--ease);
}
.clip:hover {
	background: var(--surface-2);
}
.clip.is-active {
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--focus);
}
.clip-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: var(--surface-2);
}
.clip-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.clip-len {
	z-index: 2;
	position: absolute;
	right: 0.25rem;
	bottom: 0.25rem;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.05rem 0.3rem;
	border-radius: 3px;
	background: rgb(0 0 0 / 0.72);
}
.clip-time {
	font-size: 1.85rem;
	min-width: 3.4ch;
	text-align: right;
	color: var(--ink);
}
.clip.kind-goal.side-own .clip-time {
	color: var(--own);
}
.clip.kind-goal.side-opponent .clip-time {
	color: var(--opp);
}
.clip.kind-shot .clip-time {
	color: var(--ink-2);
	font-size: 1.5rem;
}
.clip-body {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}
.clip-title {
	font-weight: 700;
	line-height: 1.3;
}
.clip-note {
	color: var(--ink-2);
	font-size: 0.9rem;
}
.running {
	font-size: 1.15rem;
	color: var(--ink-3);
	margin-left: 0.35rem;
}
.empty-line {
	color: var(--ink-2);
	background: var(--surface);
	border-radius: 12px;
	padding: 1rem;
	margin: 0;
}
.clips li.is-filtered {
	display: none;
}

.shots summary {
	list-style: none;
	cursor: pointer;
	border-radius: 8px;
}
.shots summary::-webkit-details-marker {
	display: none;
}
.shots summary h2 {
	color: var(--ink-2);
}
.shots summary h2::after {
	content: '';
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid var(--ink-3);
	border-bottom: 2px solid var(--ink-3);
	transform: rotate(45deg) translateY(-0.2rem);
	margin-left: 0.25rem;
	transition: transform 200ms var(--ease);
}
.shots[open] summary h2::after {
	transform: rotate(-135deg) translateY(-0.1rem);
}

@media (max-width: 420px) {
	.brand-text,
	.logout span {
		display: none;
	}
	.clip {
		grid-template-columns: 5.25rem auto 1fr;
		gap: 0.65rem;
	}
	.clip-time {
		font-size: 1.6rem;
	}
	.match {
		grid-template-columns: 7rem 1fr;
		gap: 0.8rem;
	}
	.band-date {
		display: none;
	}
	.now-time {
		font-size: 2.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation: none !important;
	}
}
