body {
	margin: 0;
	padding: 0;
	font-family: Futura, Verdana, Geneva, Tahoma, sans-serif;
	text-align: center;
	font-size: larger;
	color: #007FB1;
}

.cowbell-container {
	text-align: center;
	max-width: 400px;
	margin: 0px auto 0px auto;
	height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.subscribe-container {
	margin: 0 12px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	align-items: center;
}

.logo-inline {
	height: 44px;
	width: auto;
	border-radius: 6px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.player-select {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #8bc6df;
	border-radius: 8px;
	color: #0b6a91;
	background-color: #FFF;
	font-size: 16px;
	font-family: Futura, Verdana, Geneva, Tahoma, sans-serif;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.subscribe-link {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 44px;
	border-radius: 8px;
	background-color: #007FB1;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 127, 177, 0.35);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.subscribe-link i {
	font-size: 18px;
}

.subscribe-link:active {
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0, 127, 177, 0.35);
	background-color: #096f99;
}

.calendar-container {
	margin: 0 12px 12px;
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	gap: 8px;
}

.calendar-month-label-viewport {
	flex: 1 1 auto;
	overflow: hidden;
}

.calendar-month-track {
	display: flex;
	width: 300%;
	transform: translateX(-33.333333%);
}

.calendar-month-pane {
	flex: 0 0 33.333333%;
	text-align: center;
	font-weight: bold;
	font-size: 1.05em;
}

.calendar-nav {
	flex: 0 0 34px;
	width: 34px;
	min-width: 34px;
	max-width: 34px;
	height: 34px;
	min-height: 34px;
	max-height: 34px;
	border: 1px solid #007FB1;
	border-radius: 8px;
	background-color: #FFF;
	color: #007FB1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.calendar-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.calendar-grid {
	overflow: hidden;
	width: 100%;
	touch-action: pan-y;
}

.calendar-track {
	display: flex;
	width: 300%;
	transform: translateX(-33.333333%);
}

.calendar-pane {
	flex: 0 0 33.333333%;
	padding: 0;
}

.calendar-table th,
.calendar-table td {
	border: 1px solid #007FB1;
	text-align: center;
	padding: 4px 0;
}

.calendar-table th {
	font-size: 0.8em;
	font-weight: bold;
	background-color: #eaf6fc;
}

.calendar-day-cell {
	height: 40px;
	vertical-align: top;
}

.calendar-day-empty {
	background-color: #f5f5f5;
}

.calendar-day-empty .calendar-day-number {
	color: #6ea6be;
}

.calendar-day-empty .calendar-dot {
	background-color: #6ea6be;
}

.calendar-day-number {
	font-size: 0.8em;
	line-height: 1;
}

.calendar-day-today {
	background-color: #d8eef9;
}

.calendar-day-today .calendar-day-number {
	font-weight: bold;
}

.calendar-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background-color: #007FB1;
	padding: 0;
	margin-top: 3px;
}

.calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.calendar-modal[hidden] {
	display: none !important;
}

.calendar-modal-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
}

.calendar-modal-content {
	position: relative;
	max-width: 360px;
	width: min(360px, 100%);
	background-color: #FFF;
	border-radius: 12px;
	padding: 12px;
	z-index: 1;
	color: #007FB1;
}

.calendar-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.calendar-modal-title {
	font-weight: bold;
	font-size: 1.05em;
}

.calendar-modal-close {
	border: 0;
	background: transparent;
	color: #007FB1;
	font-size: 20px;
	width: 28px;
	height: 28px;
	padding: 0;
}

.calendar-modal-body {
	margin-top: 8px;
	text-align: left;
}

.calendar-modal-game {
	padding: 8px 0;
	border-top: 1px solid #b9dcec;
}

.calendar-modal-game:first-child {
	border-top: 0;
}

.calendar-modal-line {
	font-size: 0.95em;
	line-height: 1.35;
	display: grid;
	grid-template-columns: 90px 1fr;
	column-gap: 12px;
	align-items: start;
}

.calendar-modal-label {
	font-weight: bold;
	text-align: right;
	padding-right: 2px;
}

.calendar-modal-value {
	text-align: left;
	word-break: break-word;
}

.calendar-modal-map-link {
	color: #007FB1;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.calendar-modal-map-link:visited {
	color: #007FB1;
}

.games-scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.game-date-container {
	font-size: xx-large
}

.players-container {
	width: 100%;
	text-align: center;
	padding: 7px 0px 7px 0px;
	font-size: xx-large;
}

.game-date {
	width:100%;
	font-weight: bold;
	margin-top: 2px;
	text-align: left;
}

.game-location {
	margin-top: 2px;
	font-size: 0.95em;
}

.cowbell-game-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.game-left {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.game-datetime {
	text-align: left;
	font-weight: bold;
}

.game-right {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	padding-top: 1px;
}

.game-location-inline {
	text-align: right;
	white-space: nowrap;
	font-weight: bold;
}

.game-weather-icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	background-color: #FFF;
	border-radius: 50%;
	padding: 3px;
	box-sizing: border-box;
	border: 1px solid #d7eaf3;
}

.player {
	text-align: left;
	display: block;
	padding: 4px 0 2px;
	font-size: 1.06em;
}

.cowbell-game-row {
	border-top: 1px solid #007FB1;
	padding: 5px 12px 4px;
	background-color: #EEEEEE;
}

.past {
	color: #999;
}

.next {
	color: #FFF;
	background-color: #007FB1;
}
