/* >> reset */
html, body, div, span, h1, p, a, ol, li, audio {
	border: 0;
	font: inherit;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
ol li {
	margin: 0;
	list-style: none;
}
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
}
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #111;
}
.cd__main {
	padding: 0;
	background: #111 !important;
	font: 20px/24px 'Helvetica', 'Arial', sans-serif;
	color: #eee;
}
a, a:focus, a:active, a:hover, a:visited {
	text-decoration: none;
}
a[href], a[href]:active, a[href]:visited {
	color: #ddd;
	outline: 0 none;
	text-decoration: underline;
}
a[href]:hover, a[href]:focus {
	color: #bbb;
}
/* << reset */

/* page style */
.page {
	position: relative;
	margin: 0;
	width: auto;
	min-width: 300px;
	max-width: 700px;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
}

/* Audio Player */
.player-wrap {
	position: relative;
	margin: 0 0 1em;
	padding: 0;
	background-color: #222;
}
.player-wrap.enabled {
	padding-bottom: 4em;
}
/* Who is batting: the playlist row the current track belongs to, sitting between
   the playback status and the song title so the pair reads as one unit. */
.player-wrap .player-name {
	margin-top: .25em;
	font-weight: bold;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.player-wrap .button {
	float: left;
	display: none;
	margin: 1.5em 2em;
	width: 5em;
	height: 5em;
	background-color: #fff;
	line-height: 5em;
	text-align: center;
	border-radius: 50%;
	padding: 5px;
}
.player-wrap .button:hover {
  background-color: #fff;
	cursor: pointer;
}
.player-wrap.enabled .button {
	display: block;
}
.player-wrap .info {
	margin-left: 10em;
}
.player-wrap h1 {
	padding: 1.5em 0;
}
.player-wrap .action {
	font-style: italic;
}
.player-wrap .player {
	position: absolute;
	display: none;
	left: 0;
	bottom: 0;
	padding: 0 1em 0 6em;
	width: 100%;
	height: 1em;
	background-color: #333;
	font-size: 2em;
	box-sizing: border-box;
}
.player-wrap.enabled .player {
	display: block;
}
.player-wrap .player svg {
	margin: .25em;
	width: .5em;
	height: .5em;
	fill: currentColor;
}
.player-wrap .player div {
	display: block;
	height: 1em;
}
.player-wrap audio,
.player-wrap .player .pause {
	display: none;
}
.player-wrap .playpause, .player-wrap .timer,
.player-wrap .prev, .player-wrap .next {
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	height: 1em;
	line-height: 1em;
	vertical-align: top;
	text-align: center;
}
.player-wrap .playpause,
.player-wrap .prev, .player-wrap .next {
	width: 1em;
	cursor: pointer;
}
.player-wrap .playpause {
	left: 1em;
}
.player-wrap .next {
	left: auto;
	right: 0;
}
.player-wrap .playpause:hover,
.player-wrap .prev:hover, .player-wrap .next:hover {
	background-color: #444;
}
.player-wrap .playpause, .player-wrap .play, .player-wrap .pause,
.player-wrap .prev::-moz-focus-inner,
.player-wrap .next::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.player-wrap .timer {
	left: 2em;
	width: 4em;
}
.player-wrap .timer div {
	display: inline-block;
	height: 100%;
	vertical-align: top;
	font-size: .45em;
}
.player-wrap .seek {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
.playlist-wrap {
	background-color: #222;
}
.playlist-wrap li {
	margin: 0 0 0 2%;
	padding: .25em 0 .25em 0em;
	list-style: none;
}
.playlist-wrap li.sel {
	background-color: #333;
}
.playlist-wrap li:hover {
	background-color: #444;
}

/* >> input[type=range] class: seek */
input.seek[type=range] {
	box-sizing: border-box;
	background-color: transparent;
	vertical-align: top;
	font-size: 1em;
	-webkit-appearance: none;
}
input.seek[type=range]:focus {
	outline: none;
}
input.seek[type=range]::-webkit-slider-runnable-track {
	box-sizing: border-box;
	width: 98%;
	height: .17em;
	background-color: #eee;
	cursor: pointer;
	border-radius: .1em;
	transition: all .2s ease;
}
input.seek[type=range]::-webkit-slider-thumb {
	box-sizing: border-box;
	width: .17em;
	height: .7em;
	margin-top: -.27em;
	border-radius: .1em;
	background-color: #eee;
	cursor: pointer;
	-webkit-appearance: none;
}
input.seek[type=range]:focus::-webkit-slider-runnable-track {
	background-color: #eee;
}
input.seek[type=range]::-moz-range-track {
	box-sizing: border-box;
	border: 0 solid #eee;
	width: 98%;
	height: .17em;
	background-color: #eee;
	cursor: pointer;
	border-radius: .1em;
	transition: all .2s ease;
}
input.seek[type=range]::-moz-range-thumb {
	box-sizing: border-box;
	border: 0 solid #eee;
	width: .17em;
	height: .7em;
	background-color: #eee;
	cursor: pointer;
	border-radius: .1em;
}
input.seek[type=range]::-ms-track {
	box-sizing: border-box;
	border: 0 none;
	width: 98%;
	height: .17em;
	background-color: transparent;
	color: transparent;
	cursor: pointer;
	transition: all .2s ease;
}
input.seek[type=range]::-ms-fill-lower {
	background-color: #eee;
	border-radius: .1em;
}
input.seek[type=range]::-ms-fill-upper {
	background-color: #eee;
	border-radius: .1em;
}
input.seek[type=range]::-ms-thumb {
	margin-top: -.01em;
	box-sizing: border-box;
	width: .17em;
	height: .7em;
	background-color: #eee;
	cursor: pointer;
	border-radius: .1em;
}
input.seek[type=range]:focus::-ms-fill-lower {
	background-color: #eee;
}
input.seek[type=range]:focus::-ms-fill-upper {
	background-color: #eee;
}
/* << input[type=range] class: seek */

/* ---------------------------------------------------------------------------
   Bench: players still on the roster who are not in the playlist
   --------------------------------------------------------------------------- */
.bench-wrap {
	margin-top: 12px;
	padding: 14px 16px 2px;
	border-top: 1px dashed #3a3a3a;
}
.bench-wrap h2 {
	font-size: .95rem;
	margin-bottom: 4px;
}
.bench-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
/* `.bench-list` here is what lets this beat `.playlist-wrap li`. */
.bench-list .bench-item {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: auto;
	margin: 0;
	padding: 7px 10px;
	background: rgba(255, 255, 255, .04);
	border: 1px dashed #3d3d3d;
	border-radius: 8px;
	color: #b9b9b9;
	font-size: 1rem;
}
.bench-list .bench-item .collapsible {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	cursor: default;
}
/* A benched row is just a name and a restore button. Its walk-ups stay in the
   markup (so restoring is a pure DOM move) but are never shown. */
.bench-list .walkups {
	display: none !important;
}

/* Each player row carries both buttons; only the one matching its current list
   is shown. The `li` in these selectors is needed to outrank `.move-btn`. */
li .bench-btn,
li .bench-restore {
	display: none;
}
.sortable-list .bench-btn {
	display: inline-flex;
}
.bench-list .move-btn {
	display: none;
}
.bench-list .bench-restore {
	display: inline-flex;
	margin-left: auto;
}

.save-hint {
	margin-top: 8px;
	color: #ffb74d;
	font-size: .8rem;
}
.save-order-btn.dirty {
	background: #ff9800;
}

/* Up/Down reorder buttons (touch-friendly, works on iPhones) */
.move-btn {
	background: none;
	border: none;
	padding: 2px 6px;
	margin: 0 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	line-height: 0;
	border-radius: 6px;
	transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}
.move-btn svg {
	width: 22px;
	height: 22px;
	display: block;
	stroke-width: 1.5;
	stroke-linejoin: round;
}
.move-up svg {
	fill: #4caf50;
	stroke: #4caf50;
}
.move-down svg {
	fill: #f44336;
	stroke: #f44336;
}
.move-btn:hover {
	transform: scale(1.15);
	background-color: rgba(255, 255, 255, 0.15);
}
.move-btn:active {
	transform: scale(0.92);
}
.move-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: none;
}
.move-btn:disabled:hover {
	background-color: transparent;
}
.move-up { color: #4caf50; }
.move-down { color: #f44336; }
/* Right-align the down arrow; keep the up arrow at the left of the name */
.sortable-item .collapsible {
	display: flex;
	align-items: center;
}
.move-down {
	margin-left: auto;
}
/* Save Order button */
.save-order-wrap {
	text-align: center;
	padding: 16px 0 20px;
}
.save-order-btn {
	display: inline-block;
	background: #4caf50;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}
.save-order-btn:hover {
	background: #43a047;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}
.save-order-btn:active {
	transform: scale(0.96);
}
.save-order-btn.saved {
	background: #388e3c;
}
.save-order-btn.failed {
	background: #b3261e;
}

/* ---------------------------------------------------------------------------
   Playlist rows, moved here from the <style> block that used to live in the
   page itself so every team page shares one stylesheet.
   --------------------------------------------------------------------------- */
.collapsible {
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}
.collapsible.active {
	transform: scale(1);
}
.walkups {
	display: none;
	overflow: hidden;
	transform: scale(.80);
}
/* Tracks are buttons rather than links so the browser never offers to save or
   copy the audio URL. Styled to sit exactly where the old links did. */
.walkups .track {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: #ddd;
	font: inherit;
	line-height: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	vertical-align: middle;
}
.walkups .track:hover,
.walkups .track:focus-visible {
	color: #bbb;
}
.walkups.empty {
	color: #777;
	font-style: italic;
	font-size: .8em;
}
.sortable-list {
	padding: 0;
	width: auto;
	margin: auto;
	background: rgba(255, 255, 255, 0);
	border-radius: 10px;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.sortable-item {
	padding: 15px 20px;
	margin: 8px 0;
	background: rgba(255, 255, 255, 0);
	border-radius: 5px;
	font-size: 1.1em;
	color: #ffffff;
	cursor: grab;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: background 0.2s, transform 0.2s;
}
.sortable-item:hover {
	background: #444444;
	color: #ffffff;
	transform: scale(1.03);
}
/* Team Intros and Music stay put, so they don't offer a grab cursor. */
.sortable-item[draggable="false"] {
	cursor: default;
}
.dragging {
	background: #e0e0e0;
	color: #000000;
	opacity: 0.7;
	transform: rotate(-2deg);
}
.over {
	border: 2px dashed #ff8c42;
	background: #444444;
	color: #ffffff;
}

/* The original page hid link underlines from its inline style block. */
a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
}

/* Teams with no logo yet get their initial in the round button. */
.player-wrap .button-initial {
	font-size: 2.4em;
	font-weight: bold;
	color: #111;
}
/* Keep the logo inside the round button, whatever size the file is. */
.player-wrap .button img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
/* With no tracks the player bar is hidden, so don't reserve space for it. */
.player-wrap:not(.enabled) .info {
	margin-left: 0;
}

/* ---------------------------------------------------------------------------
   Lineup screenshot importer
   --------------------------------------------------------------------------- */
.upload-section {
	margin-top: 30px;
	padding: 20px;
	text-align: center;
	border-top: 2px solid rgba(255, 255, 255, 0.3);
}
.upload-section h3 {
	color: #ffffff;
	margin-bottom: 15px;
	font-size: 1rem;
	font-weight: bold;
}
.upload-btn {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(45deg, #ff6b35, #ff8c42);
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
.upload-btn:hover {
	background: linear-gradient(45deg, #e55a2b, #e57a35);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}
.upload-btn:active {
	transform: translateY(0);
}
.image-preview {
	margin-top: 15px;
	display: none;
}
.image-preview img {
	max-width: 400px;
	max-height: 300px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.upload-status {
	margin-top: 15px;
	color: #ffffff;
	font-size: 14px;
	min-height: 20px;
}
.upload-status.ok {
	color: #4CAF50;
}
.upload-status.warn {
	color: #ffb74d;
}
.upload-status.error {
	color: #f44336;
}
.upload-progress {
	margin: 10px auto 0;
	width: 300px;
	max-width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
	overflow: hidden;
	display: none;
}
.progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(45deg, #ff6b35, #ff8c42);
	transition: width 0.3s ease;
}

/* ---------------------------------------------------------------------------
   Shared page furniture: toolbar, cards, forms, messages
   --------------------------------------------------------------------------- */
h1 {
	font-weight: bold;
}
h2 {
	font-size: 1.05rem;
	font-weight: bold;
	color: #eee;
}
h3 {
	font-weight: bold;
}

/* Top menu bar. Transparent on purpose, so it reads as part of the page rather
   than as a panel. The two side columns are equal (1fr) which keeps the brand
   centred in the viewport no matter how many buttons sit either side.
   Everything is scoped with `.page-toolbar` to outrank the global `a[href]` rule
   in the reset above, which would otherwise underline the buttons and win on
   colour (0,1,1 beats a bare class). */
.page-toolbar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: .8rem;
}
.page-toolbar .navbar-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}
.page-toolbar .navbar-end {
	justify-content: flex-end;
}
.page-toolbar .navbar-brand {
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #ffffff;
	text-align: center;
	white-space: nowrap;
}
.page-toolbar .navbar-context {
	color: #9e9e9e;
	font-weight: 600;
	max-width: 24ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.page-toolbar .navbar-form {
	display: inline;
	margin: 0;
}
.page-toolbar .navbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: #e6e6e6;
	font: inherit;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease,
	            color .18s ease, transform .12s ease;
}
.page-toolbar .navbar-btn:hover,
.page-toolbar .navbar-btn:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.36);
	color: #ffffff;
	transform: translateY(-1px);
}
.page-toolbar .navbar-btn:active {
	transform: translateY(0);
}
/* Narrower than the content column there is no room for three columns, so the
   brand takes its own centred row and the buttons share the row beneath. */
@media (max-width: 620px) {
	.page-toolbar {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 12px;
	}
	.page-toolbar .navbar-brand {
		order: -1;
		flex: 1 0 100%;
		font-size: .78rem;
		letter-spacing: .08em;
		margin-bottom: 2px;
	}
	.page-toolbar .navbar-btn {
		padding: 5px 11px;
		font-size: .72rem;
	}
	/* Let the context label give up width so both button groups can share a row
	   on a phone-sized screen instead of each taking a row of its own. */
	.page-toolbar .navbar-context {
		max-width: 12ch;
		min-width: 0;
	}
}

.centered-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px 16px;
	box-sizing: border-box;
}
.card {
	background: #1c1c1c;
	border: 1px solid #2f2f2f;
	border-radius: 12px;
	padding: 22px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.card h1 {
	color: #eee;
	margin-bottom: 6px;
}
.login-card {
	width: 100%;
	max-width: 380px;
	box-sizing: border-box;
}
.login-card h1 {
	font-size: 1.35rem;
}
.status-code {
	font-size: 2.4rem;
	color: #ff8c42;
}

.muted {
	color: #9a9a9a;
	font-size: .85rem;
	line-height: 1.45;
}
.empty-state {
	color: #8a8a8a;
	font-style: italic;
	font-size: .85rem;
	padding: 10px 0;
}
.count {
	color: #ff8c42;
	font-size: .8rem;
}

.field {
	display: block;
	margin: 14px 0;
}
.field > span {
	display: block;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #9a9a9a;
	margin-bottom: 6px;
}
.field input {
	width: 100%;
	box-sizing: border-box;
	background: #101010;
	border: 1px solid #333;
	border-radius: 8px;
	color: #eee;
	padding: 10px 12px;
	font: inherit;
	font-size: .9rem;
}
.field input:focus {
	outline: none;
	border-color: #ff6b35;
}

.btn {
	display: inline-block;
	border: 1px solid #3a3a3a;
	background: #2a2a2a;
	color: #eee;
	border-radius: 8px;
	padding: 10px 16px;
	font: inherit;
	font-size: .85rem;
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover {
	background: #333333;
}
.btn.small {
	padding: 7px 12px;
	font-size: .78rem;
}
.btn.primary {
	background: linear-gradient(45deg, #ff6b35, #ff8c42);
	border-color: transparent;
	color: #ffffff;
}
.btn.primary:hover {
	filter: brightness(1.08);
}
.btn.danger {
	background: #b3261e;
	border-color: transparent;
	color: #ffffff;
}
.btn.danger:hover {
	background: #c9332a;
}
.btn.ghost {
	background: transparent;
}

.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
.form-error {
	color: #ff6b6b;
	font-size: .85rem;
	margin-top: 10px;
}
.form-status {
	font-size: .82rem;
	min-height: 1.2em;
	color: #9a9a9a;
	margin: 8px 0;
}
.form-status.ok {
	color: #4CAF50;
}
.form-status.error {
	color: #f44336;
}
.callout {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: .85rem;
	margin: 14px 0;
}
.callout.warn {
	background: rgba(255, 152, 0, .12);
	border: 1px solid rgba(255, 152, 0, .4);
	color: #ffb74d;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
/* Author styles beat the user-agent rule for [hidden], so make it stick. */
[hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------------------
   Modal used for "add player", "add audio" and confirmation prompts
   --------------------------------------------------------------------------- */
.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .65);
	z-index: 100;
}
.modal {
	width: 100%;
	max-width: 390px;
	background: #1c1c1c;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 20px;
	box-sizing: border-box;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.modal h2 {
	margin-bottom: 6px;
}
.modal .field {
	margin: 12px 0;
}
.field-hint {
	display: block;
	margin-top: 5px;
	color: #7d7d7d;
	font-size: .72rem;
}

/* Landing page team list */
.team-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}
.team-card-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid #333;
	border-radius: 10px;
}
.team-card-link:hover {
	background: #242424;
	border-color: #ff6b35;
}
.team-card-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #ffffff;
	color: #111;
	font-weight: bold;
	overflow: hidden;
}
.team-card-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.team-card-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.team-card-body strong {
	color: #eee;
}

/* Search + pagination for the landing page's team list */
.team-search {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
}
.team-search input {
	flex: 1 1 220px;
	min-width: 0;
	box-sizing: border-box;
	background: #101010;
	border: 1px solid #333;
	border-radius: 8px;
	color: #eee;
	padding: 10px 12px;
	font: inherit;
	font-size: .9rem;
}
.team-search input:focus {
	outline: none;
	border-color: #ff6b35;
}
.team-search .btn {
	flex: 0 0 auto;
}

.team-summary {
	color: #9a9a9a;
	font-size: .8rem;
	margin: 14px 0 0;
}

.pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 18px;
}
.page-link {
	display: inline-block;
	min-width: 36px;
	box-sizing: border-box;
	padding: 8px 10px;
	text-align: center;
	border: 1px solid #333;
	border-radius: 8px;
	color: #ddd;
	font-size: .82rem;
}
a.page-link:hover {
	background: #2a2a2a;
	border-color: #ff6b35;
	color: #ffffff;
}
.page-link.current {
	background: linear-gradient(45deg, #ff6b35, #ff8c42);
	border-color: transparent;
	color: #ffffff;
	font-weight: bold;
}
.page-link.disabled {
	color: #5a5a5a;
	border-color: #262626;
	cursor: not-allowed;
}
.page-gap {
	padding: 0 4px;
	color: #6f6f6f;
}
