.glot-league-manager {
	--glot-bg: #f4f1e8;
	--glot-surface: #fffdf8;
	--glot-surface-strong: #ffffff;
	--glot-surface-muted: #f8f4ea;
	--glot-border: #d7d1bf;
	--glot-border-strong: #c3bba5;
	--glot-text: #1f2c24;
	--glot-text-soft: #536158;
	--glot-green: #214733;
	--glot-green-soft: #dfe8df;
	--glot-sand: #e7dcc2;
	--glot-gold: #b08a3f;
	--glot-shadow: 0 14px 36px rgba(31, 44, 36, 0.08);
	--glot-shadow-soft: 0 8px 24px rgba(31, 44, 36, 0.05);
	color: var(--glot-text);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.55;
}

.glot-league-manager *,
.glot-league-manager *::before,
.glot-league-manager *::after {
	box-sizing: border-box;
}

.glot-league-manager a {
	color: var(--glot-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.glot-league-manager a:hover,
.glot-league-manager a:focus {
	color: #163021;
}

.glot-league-manager a:focus-visible,
.glot-league-manager button:focus-visible,
.glot-league-manager [tabindex]:focus-visible {
	outline: 3px solid rgba(176, 138, 63, 0.32);
	outline-offset: 3px;
}

.glot-league-manager h2,
.glot-league-manager h3,
.glot-league-manager h4,
.glot-league-manager h5 {
	color: #15271d;
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
}

.glot-league-manager p {
	margin: 0;
}

.glot-league-manager + .glot-league-manager {
	margin-top: 1.5rem;
}

.glot-shell {
	background:
		radial-gradient(circle at top left, rgba(223, 232, 223, 0.9), rgba(223, 232, 223, 0) 34%),
		linear-gradient(180deg, #faf8f1 0%, #f2eee3 100%);
	border: 1px solid rgba(195, 187, 165, 0.68);
	border-radius: 26px;
	box-shadow: var(--glot-shadow);
	padding: 1.5rem;
}

.glot-header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.glot-header-copy {
	display: grid;
	gap: 0.5rem;
	max-width: 46rem;
}

.glot-eyebrow {
	color: var(--glot-green);
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.glot-title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.glot-subtitle,
.glot-copy,
.glot-table-note,
.glot-empty-state p,
.glot-meta-copy {
	color: var(--glot-text-soft);
	font-size: 0.98rem;
}

.glot-badge-row,
.glot-header-actions,
.glot-meta-list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.glot-badge {
	align-items: center;
	background: var(--glot-surface-strong);
	border: 1px solid var(--glot-border);
	border-radius: 999px;
	color: var(--glot-green);
	display: inline-flex;
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	gap: 0.4rem;
	letter-spacing: 0.03em;
	padding: 0.42rem 0.7rem;
	text-transform: uppercase;
}

.glot-badge::before {
	background: currentColor;
	border-radius: 999px;
	content: "";
	display: inline-block;
	height: 0.48rem;
	opacity: 0.88;
	width: 0.48rem;
}

.glot-badge--front {
	background: #edf3ea;
	border-color: #c7d9c7;
	color: #26513b;
}

.glot-badge--back {
	background: #efe9db;
	border-color: #d7c7a6;
	color: #705831;
}

.glot-badge--played {
	background: #edf3ea;
	border-color: #c7d9c7;
	color: #26513b;
}

.glot-badge--upcoming,
.glot-badge--regular {
	background: #f7f3e8;
	border-color: #ddd3bc;
	color: #6b5932;
}

.glot-badge--sub {
	background: #eef3f6;
	border-color: #cad5de;
	color: #38556c;
}

.glot-badge--absent {
	background: #f7eceb;
	border-color: #e0c9c4;
	color: #835148;
}

.glot-badge--prize,
.glot-badge--winner {
	background: #faf3df;
	border-color: #e1cf97;
	color: #87661d;
}

.glot-badge--muted {
	background: #f6f4ee;
	border-color: #ddd8cb;
	color: #687067;
}

.glot-stat-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	margin-bottom: 1.5rem;
}

.glot-stat-card,
.glot-panel,
.glot-empty-state,
.glot-prize-card,
.glot-group-card,
.glot-week-card,
.glot-hole-week {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(215, 209, 191, 0.95);
	border-radius: 22px;
	box-shadow: var(--glot-shadow-soft);
}

.glot-stat-card {
	display: grid;
	gap: 0.5rem;
	min-height: 9.5rem;
	padding: 1.1rem 1.15rem;
}

.glot-stat-label {
	color: var(--glot-text-soft);
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.glot-stat-value {
	color: #122118;
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.glot-stat-meta {
	color: var(--glot-text-soft);
	font-size: 0.92rem;
}

.glot-dashboard-layout,
.glot-stats-layout {
	display: grid;
	gap: 1.25rem;
}

.glot-dashboard-layout {
	grid-template-columns: 1.15fr 0.85fr;
}

.glot-dashboard-main,
.glot-dashboard-aside {
	display: grid;
	gap: 1.25rem;
}

.glot-panel {
	padding: 1.25rem;
}

.glot-panel--accent {
	background:
		linear-gradient(135deg, rgba(33, 71, 51, 0.98), rgba(31, 49, 40, 0.98)),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
	border-color: rgba(16, 35, 25, 0.72);
	color: #f7f3e9;
}

.glot-panel--accent .glot-title,
.glot-panel--accent h2,
.glot-panel--accent h3,
.glot-panel--accent h4,
.glot-panel--accent .glot-stat-value {
	color: #fffdf7;
}

.glot-panel--accent .glot-subtitle,
.glot-panel--accent .glot-copy,
.glot-panel--accent .glot-stat-meta {
	color: rgba(247, 243, 233, 0.8);
}

.glot-section-header {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.glot-section-title {
	font-size: 1.3rem;
}

.glot-empty-state {
	display: grid;
	gap: 0.65rem;
	padding: 1.35rem;
	text-align: left;
}

.glot-button {
	align-items: center;
	background: var(--glot-green);
	border: 1px solid var(--glot-green);
	border-radius: 999px;
	color: #fffdf8;
	display: inline-flex;
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	justify-content: center;
	padding: 0.75rem 1.1rem;
	text-decoration: none;
}

.glot-button:hover,
.glot-button:focus {
	background: #173223;
	border-color: #173223;
	color: #fffdf8;
}

.glot-table-shell {
	background: rgba(255, 255, 255, 0.64);
	border: 1px solid rgba(215, 209, 191, 0.82);
	border-radius: 18px;
	overflow: hidden;
}

.glot-table {
	border-collapse: collapse;
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.94rem;
	width: 100%;
}

.glot-table th,
.glot-table td {
	border-bottom: 1px solid rgba(215, 209, 191, 0.78);
	overflow-wrap: anywhere;
	padding: 0.9rem 1rem;
	text-align: left;
	vertical-align: top;
}

.glot-table th {
	background: rgba(245, 241, 232, 0.9);
	color: #415046;
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

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

.glot-table tbody tr:hover {
	background: rgba(247, 244, 236, 0.74);
}

.glot-number {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.glot-leaderboard .glot-rank {
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.glot-leaderboard tbody tr:nth-child(-n + 3) {
	background: linear-gradient(90deg, rgba(250, 243, 223, 0.86), rgba(255, 255, 255, 0.95));
}

.glot-leaderboard tbody tr:nth-child(-n + 3):hover {
	background: linear-gradient(90deg, rgba(248, 239, 210, 0.95), rgba(255, 255, 255, 0.98));
}

.glot-position-name {
	display: grid;
	gap: 0.2rem;
}

.glot-position-name strong,
.glot-player-line strong,
.glot-group-title,
.glot-week-title,
.glot-hole-week-title {
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.glot-player-line {
	display: grid;
	gap: 0.28rem;
}

.glot-player-subtext,
.glot-muted {
	color: var(--glot-text-soft);
	font-size: 0.9rem;
	overflow-wrap: anywhere;
}

.glot-groups,
.glot-schedule-groups,
.glot-prize-grid,
.glot-hole-week-grid {
	display: grid;
	gap: 1rem;
}

.glot-group-card,
.glot-week-card,
.glot-hole-week,
.glot-prize-card {
	padding: 1.1rem;
}

.glot-group-header,
.glot-week-header,
.glot-prize-header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: space-between;
	margin-bottom: 0.95rem;
}

.glot-prize-card {
	background:
		linear-gradient(180deg, rgba(250, 243, 223, 0.9), rgba(255, 255, 255, 0.96));
}

.glot-prize-title {
	font-size: 1.05rem;
}

.glot-list {
	display: grid;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.glot-list-item {
	align-items: flex-start;
	border-bottom: 1px solid rgba(215, 209, 191, 0.72);
	display: flex;
	gap: 0.85rem;
	justify-content: space-between;
	padding-bottom: 0.8rem;
}

.glot-list-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.glot-list-item-main {
	display: grid;
	gap: 0.2rem;
}

.glot-list-item-meta {
	color: var(--glot-text-soft);
	font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.glot-hero-copy {
	display: grid;
	gap: 0.65rem;
}

.glot-badge-row--spaced {
	margin-bottom: 1rem;
}

.glot-panel-top-gap {
	margin-top: 1rem;
}

.glot-dashboard .glot-standings,
.glot-dashboard .glot-week-results,
.glot-dashboard .glot-player-stats {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.glot-dashboard .glot-standings > h2,
.glot-dashboard .glot-week-results > h2,
.glot-dashboard .glot-player-stats > h2 {
	display: none;
}

.glot-holes-table td,
.glot-holes-table th {
	text-align: center;
}

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

@media (max-width: 960px) {
	.glot-dashboard-layout {
		grid-template-columns: 1fr;
	}

	.glot-shell {
		padding: 1.2rem;
	}

	.glot-table th,
	.glot-table td {
		padding: 0.8rem 0.85rem;
	}
}

@media (max-width: 720px) {
	.glot-shell {
		border-radius: 22px;
		padding: 1rem;
	}

	.glot-header {
		margin-bottom: 1.15rem;
	}

	.glot-title {
		font-size: 1.75rem;
	}

	.glot-table-shell {
		background: transparent;
		border: 0;
	}

	.glot-table,
	.glot-table thead,
	.glot-table tbody,
	.glot-table tr,
	.glot-table th,
	.glot-table td {
		display: block;
		width: 100%;
	}

	.glot-table thead {
		left: -9999px;
		position: absolute;
		top: -9999px;
	}

	.glot-table tbody {
		display: grid;
		gap: 0.75rem;
	}

	.glot-table tr {
		background: rgba(255, 255, 255, 0.92);
		border: 1px solid rgba(215, 209, 191, 0.92);
		border-radius: 18px;
		box-shadow: var(--glot-shadow-soft);
		overflow: hidden;
		padding: 0.25rem 0;
	}

	.glot-table td {
		align-items: flex-start;
		border-bottom: 1px solid rgba(215, 209, 191, 0.62);
		display: flex;
		gap: 1rem;
		justify-content: space-between;
		padding: 0.8rem 0.95rem;
		text-align: right;
	}

	.glot-table td:last-child {
		border-bottom: 0;
	}

	.glot-table td::before {
		color: #49594f;
		content: attr(data-label);
		flex: 0 0 34%;
		font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
		font-size: 0.73rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-align: left;
		text-transform: uppercase;
	}

	.glot-table td > * {
		flex: 1 1 auto;
		margin-left: auto;
		max-width: 66%;
		min-width: 0;
	}

	.glot-table td .glot-player-line,
	.glot-table td .glot-position-name {
		max-width: 68%;
	}

	.glot-number {
		text-align: right;
	}

	.glot-list-item {
		flex-direction: column;
	}

	.glot-list-item-meta {
		text-align: left;
	}
}
