/**
 * VegasOdds 2026 global shell, navigation, container, and type primitives.
 */

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

html {
	font-size: 100%;
	scroll-padding-top: calc(var(--vo-header-height) + var(--vo-space-3));
}

html.vo-nav-open,
body.vo-theme-2026.vo-nav-open {
	overflow: hidden;
}

body.vo-theme-2026 {
	margin: 0;
	min-width: 20rem;
	min-height: 100vh;
	padding-bottom: calc(var(--vo-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
	font-family: var(--vo-font-sans);
	font-size: var(--vo-font-size-md);
	line-height: var(--vo-line-height-body);
	color: var(--vo-color-text);
	background: var(--vo-color-bg);
	overflow-wrap: break-word;
}

body.vo-theme-2026 img,
body.vo-theme-2026 svg {
	display: block;
	max-width: 100%;
}

body.vo-theme-2026 button,
body.vo-theme-2026 input,
body.vo-theme-2026 select {
	font: inherit;
}

body.vo-theme-2026 a {
	color: var(--vo-color-link);
	text-underline-offset: 0.15em;
}

body.vo-theme-2026 :where(a, button, input, select, summary):focus-visible {
	outline: 3px solid var(--vo-color-focus);
	outline-offset: 2px;
}

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

.vo-icon {
	width: 1.35rem;
	height: 1.35rem;
	flex: 0 0 auto;
}

.vo-container {
	width: 100%;
	max-width: var(--vo-container-max);
	margin-inline: auto;
	padding-inline: var(--vo-container-pad);
}

.vo-grid {
	display: grid;
	gap: var(--vo-space-4);
}

.vo-stack {
	display: flex;
	flex-direction: column;
	gap: var(--vo-space-4);
}

.vo-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vo-space-3);
}

.vo-skip-link {
	position: fixed;
	left: var(--vo-space-2);
	top: -6rem;
	z-index: calc(var(--vo-z-nav-mobile) + 10);
	padding: var(--vo-space-2) var(--vo-space-3);
	border-radius: var(--vo-radius-sm);
	background: var(--vo-color-brand);
	color: var(--vo-color-text-inverse);
}

.vo-skip-link:focus {
	top: var(--vo-space-2);
}

.vo-page {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--vo-header-height));
}

.vo-page__main {
	flex: 1 1 auto;
	padding-block: var(--vo-space-4) var(--vo-space-7);
}

.vo-page__content {
	min-width: 0;
}

/* Compact shared header */
.vo-header {
	position: sticky;
	top: 0;
	z-index: var(--vo-z-header);
	min-height: var(--vo-header-height);
	background: var(--vo-color-surface);
	border-bottom: 1px solid var(--vo-color-border-warm);
	box-shadow: var(--vo-shadow-shell);
}

.vo-header__inner {
	display: grid;
	grid-template-columns: var(--vo-touch-target) minmax(0, 1fr) var(--vo-touch-target);
	align-items: center;
	min-height: var(--vo-header-height);
	gap: var(--vo-space-2);
}

.vo-header__toggle,
.vo-header__search,
.vo-nav-mobile__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--vo-touch-target);
	height: var(--vo-touch-target);
	padding: 0;
	border: 0;
	border-radius: var(--vo-radius-sm);
	background: transparent;
	color: var(--vo-color-brand);
	cursor: pointer;
}

.vo-header__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.vo-header__logo {
	width: auto;
	height: 1.8rem;
	object-fit: contain;
}

.vo-nav-desktop {
	display: none;
}

.vo-header__desktop-search {
	display: none;
}

.vo-nav-desktop__list {
	display: flex;
	align-items: center;
	gap: clamp(var(--vo-space-3), 2vw, var(--vo-space-5));
	margin: 0;
	padding: 0;
	list-style: none;
}

.vo-nav-desktop__link {
	display: inline-flex;
	align-items: center;
	min-height: var(--vo-touch-target);
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--vo-font-display);
	font-size: var(--vo-font-size-sm);
	font-weight: var(--vo-font-weight-semibold);
	text-decoration: none;
	color: var(--vo-color-text);
	cursor: pointer;
}

.vo-nav-desktop__link:hover,
.vo-nav-desktop__link:focus-visible,
.vo-nav-desktop__link[aria-current="page"],
.vo-nav-desktop__list a:hover,
.vo-nav-desktop__list a:focus-visible,
.vo-nav-desktop__list .current-menu-item > a {
	color: var(--vo-color-brand);
}

.vo-nav-desktop__list a {
	display: inline-flex;
	align-items: center;
	min-height: var(--vo-touch-target);
	color: var(--vo-color-text);
	font-family: var(--vo-font-display);
	font-size: var(--vo-font-size-sm);
	font-weight: var(--vo-font-weight-semibold);
	text-decoration: none;
}

.vo-nav-desktop__link.is-unavailable,
.vo-bottom-nav .is-unavailable {
	color: var(--vo-color-text-soft);
}

/* Full-screen mobile drawer */
.vo-nav-mobile {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--vo-z-nav-mobile);
	background: rgba(22, 24, 29, 0.68);
}

.vo-nav-mobile[data-open="true"] {
	display: block;
}

.vo-nav-mobile__panel {
	display: flex;
	flex-direction: column;
	width: min(100%, 30rem);
	height: 100%;
	margin-inline: auto;
	background: var(--vo-color-bg);
	box-shadow: 0 0 32px rgba(22, 24, 29, 0.28);
}

.vo-nav-mobile__top {
	display: grid;
	grid-template-columns: var(--vo-touch-target) 1fr var(--vo-touch-target);
	align-items: center;
	min-height: calc(var(--vo-header-height) + env(safe-area-inset-top, 0px));
	padding-top: env(safe-area-inset-top, 0px);
	padding-inline: var(--vo-container-pad);
	border-bottom: 1px solid var(--vo-color-border-warm);
}

.vo-nav-mobile__brand {
	grid-column: 2;
	display: flex;
	justify-content: center;
}

.vo-nav-mobile__brand img {
	width: auto;
	height: 1.8rem;
	object-fit: contain;
}

.vo-nav-mobile__close {
	grid-column: 3;
}

.vo-nav-mobile__scroll {
	flex: 1 1 auto;
	padding: var(--vo-space-4) var(--vo-container-pad) var(--vo-space-6);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vo-drawer-search {
	display: flex;
	align-items: center;
	gap: var(--vo-space-2);
	min-height: 3.25rem;
	padding-inline: var(--vo-space-3);
	border: 1px solid var(--vo-color-border-warm);
	border-radius: var(--vo-radius-sm);
	background: var(--vo-color-surface-muted);
	color: var(--vo-color-text-muted);
}

.vo-drawer-search input {
	width: 100%;
	min-width: 0;
	height: 3rem;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--vo-color-text);
}

.vo-drawer-quick {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--vo-space-3);
	margin: var(--vo-space-4) 0 var(--vo-space-6);
	padding: 0;
	list-style: none;
}

.vo-drawer-quick a,
.vo-drawer-quick button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--vo-space-2);
	min-height: 5rem;
	padding: var(--vo-space-3);
	border: 1px solid var(--vo-color-border-warm);
	border-radius: var(--vo-radius-md);
	background: var(--vo-color-surface-muted);
	color: var(--vo-color-text);
	font-size: var(--vo-font-size-sm);
	font-weight: var(--vo-font-weight-medium);
	text-align: center;
	text-decoration: none;
}

.vo-drawer-quick button {
	width: 100%;
	font: inherit;
	cursor: pointer;
}

.vo-drawer-quick button[aria-disabled="true"] {
	color: var(--vo-color-text-muted);
	border-style: dashed;
}

.vo-drawer-quick .vo-icon {
	color: var(--vo-color-brand);
}

.vo-drawer-section {
	margin-top: var(--vo-space-5);
}

.vo-drawer-section h2,
.vo-footer__column h2,
.vo-footer__newsletter h2 {
	margin: 0 0 var(--vo-space-2);
	font-family: var(--vo-font-sans);
	font-size: var(--vo-font-size-xs);
	font-weight: var(--vo-font-weight-bold);
	letter-spacing: var(--vo-label-tracking);
	text-transform: uppercase;
	color: var(--vo-color-text-muted);
}

.vo-drawer-accordion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 3.875rem;
	padding: var(--vo-space-3);
	border: 1px solid var(--vo-color-border-warm);
	border-radius: var(--vo-radius-sm);
	background: var(--vo-color-surface-muted);
	color: var(--vo-color-text);
	font-family: var(--vo-font-display);
	font-size: 1.15rem;
	font-weight: var(--vo-font-weight-semibold);
	cursor: pointer;
}

.vo-drawer-accordion > span {
	display: inline-flex;
	align-items: center;
	gap: var(--vo-space-2);
	text-align: left;
}

.vo-drawer-accordion[aria-expanded="true"] > .vo-icon {
	transform: rotate(180deg);
}

.vo-drawer-accordion__panel {
	padding: var(--vo-space-2) var(--vo-space-3);
	border: 1px solid var(--vo-color-border);
	border-top: 0;
	background: var(--vo-color-surface);
}

.vo-drawer-accordion__panel :is(a, button) {
	display: block;
	width: 100%;
	min-height: var(--vo-touch-target);
	padding-block: var(--vo-space-3);
	border: 0;
	background: transparent;
	color: var(--vo-color-text);
	font: inherit;
	text-align: left;
}

.vo-drawer-list {
	margin: 0;
	padding: 0;
	border: 1px solid var(--vo-color-border-warm);
	border-radius: var(--vo-radius-sm);
	background: var(--vo-color-surface-muted);
	list-style: none;
	overflow: hidden;
}

.vo-drawer-list li + li {
	border-top: 1px solid var(--vo-color-border-warm);
}

.vo-drawer-list :is(a, button) {
	display: grid;
	grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
	align-items: center;
	gap: var(--vo-space-2);
	min-height: 3.5rem;
	padding: var(--vo-space-2) var(--vo-space-3);
	color: var(--vo-color-text);
	text-decoration: none;
}

.vo-drawer-list button {
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	text-align: left;
}

.vo-drawer-list button[aria-disabled="true"],
.vo-drawer-accordion__panel button[aria-disabled="true"] {
	color: var(--vo-color-text-muted);
}

.vo-drawer-list :is(a, button) > :first-child {
	color: var(--vo-color-brand);
}

.vo-drawer-list :is(a, button) > :last-child {
	color: var(--vo-color-text-soft);
}

.vo-drawer-bitcoin {
	font-size: 1.4rem;
	text-align: center;
}

.vo-drawer-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vo-space-2);
}

.vo-drawer-chips :is(a, button) {
	display: inline-flex;
	align-items: center;
	min-height: var(--vo-touch-target);
	padding-inline: var(--vo-space-3);
	border: 1px solid var(--vo-color-border-warm);
	border-radius: var(--vo-radius-pill);
	background: var(--vo-color-surface-muted);
	color: var(--vo-color-text);
	text-decoration: none;
}

.vo-drawer-chips button {
	font: inherit;
	cursor: pointer;
}

.vo-drawer-chips button[aria-disabled="true"] {
	color: var(--vo-color-text-muted);
	border-style: dashed;
}

.vo-drawer-company {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--vo-space-3);
	margin-top: var(--vo-space-6);
	padding-top: var(--vo-space-4);
	border-top: 1px solid var(--vo-color-border-warm);
	text-align: center;
}

.vo-drawer-company a {
	color: var(--vo-color-text-muted);
}

.vo-drawer-company .vo-drawer-company__responsible {
	color: var(--vo-color-danger);
	font-weight: var(--vo-font-weight-semibold);
}

.vo-drawer-fine-print {
	margin: var(--vo-space-5) auto 0;
	max-width: 20rem;
	color: var(--vo-color-text-soft);
	font-size: var(--vo-font-size-2xs);
	text-align: center;
}

/* Shared fixed bottom navigation */
.vo-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--vo-z-bottom-nav);
	height: calc(var(--vo-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	border-top: 1px solid var(--vo-color-border-warm);
	background: rgba(255, 255, 255, 0.98);
}

.vo-bottom-nav--drawer {
	position: relative;
	z-index: auto;
	flex: 0 0 auto;
}

.vo-bottom-nav ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	height: var(--vo-bottom-nav-height);
	margin: 0 auto;
	padding: 0 var(--vo-space-1);
	list-style: none;
}

.vo-bottom-nav li,
.vo-bottom-nav a,
.vo-bottom-nav button {
	min-width: 0;
	height: 100%;
}

.vo-bottom-nav a,
.vo-bottom-nav button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.125rem;
	width: 100%;
	padding: var(--vo-space-1);
	border: 0;
	border-radius: var(--vo-radius-md);
	background: transparent;
	color: var(--vo-color-text);
	font-size: 0.625rem;
	font-weight: var(--vo-font-weight-semibold);
	text-decoration: none;
	cursor: pointer;
}

.vo-bottom-nav a[aria-current="page"],
.vo-bottom-nav button[aria-expanded="true"] {
	margin-block: var(--vo-space-1);
	height: calc(100% - var(--vo-space-2));
	background: var(--vo-color-brand);
	color: var(--vo-color-text-inverse);
}

.vo-bottom-nav button[aria-disabled="true"] {
	color: var(--vo-color-text-soft);
}

.vo-bottom-nav .vo-icon {
	width: 1.25rem;
	height: 1.25rem;
}

/* Page intro and retained sports rail utility */
.vo-page-intro {
	margin-bottom: var(--vo-space-5);
}

.vo-page-intro__eyebrow {
	margin: 0 0 var(--vo-space-1);
	font-size: var(--vo-font-size-xs);
	font-weight: var(--vo-font-weight-bold);
	letter-spacing: var(--vo-label-tracking);
	text-transform: uppercase;
	color: var(--vo-color-brand);
}

.vo-page-intro__title {
	margin: 0 0 var(--vo-space-2);
	font-family: var(--vo-font-display);
	font-size: var(--vo-font-size-2xl);
	font-weight: var(--vo-font-weight-bold);
	line-height: var(--vo-line-height-tight);
}

.vo-page-intro__summary {
	margin: 0;
	max-width: var(--vo-reading-max);
	color: var(--vo-color-text-muted);
}

.vo-sports-rail {
	width: 100%;
	max-width: 100vw;
	padding: var(--vo-space-2) var(--vo-container-pad);
	border-bottom: 1px solid var(--vo-color-border);
	background: var(--vo-color-surface);
	overflow: hidden;
}

.vo-sports-rail__title {
	margin: 0 0 var(--vo-space-1);
	color: var(--vo-color-text-muted);
	font-size: var(--vo-font-size-2xs);
	letter-spacing: var(--vo-label-tracking);
	text-transform: uppercase;
}

.vo-sports-rail__list {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	min-width: 100%;
	gap: var(--vo-space-2);
	margin: 0;
	padding: 0 0 var(--vo-space-1);
	list-style: none;
}

.vo-sports-rail__scroller {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.vo-sports-rail__scroller:focus-visible {
	outline: 3px solid var(--vo-color-focus-ring);
	outline-offset: 2px;
}

.vo-sports-rail__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: var(--vo-touch-target);
	padding-inline: var(--vo-space-3);
	border-radius: var(--vo-radius-pill);
	background: var(--vo-color-surface-muted);
	color: var(--vo-color-text);
	text-decoration: none;
	white-space: nowrap;
}

.vo-sports-rail__link[aria-current="page"] {
	background: var(--vo-color-brand);
	color: var(--vo-color-text-inverse);
}

.vo-sports-rail__link.is-unavailable {
	border: 1px dashed var(--vo-color-border);
	background: transparent;
	color: var(--vo-color-text-soft);
}

/* Desktop footer */
.vo-footer {
	margin-top: auto;
	padding-block: var(--vo-space-7);
	border-top: 1px solid var(--vo-color-border);
	background: var(--vo-color-surface);
	color: var(--vo-color-text);
}

.vo-footer__grid {
	display: grid;
	gap: var(--vo-space-6);
}

.vo-footer__brand img {
	width: auto;
	height: 2rem;
	margin-bottom: var(--vo-space-3);
}

.vo-footer__brand p,
.vo-footer__newsletter p {
	margin: 0;
	max-width: 20rem;
	color: var(--vo-color-text-muted);
	font-size: var(--vo-font-size-sm);
}

.vo-footer__column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vo-footer__column li + li {
	margin-top: var(--vo-space-2);
}

.vo-footer__column :is(a, button) {
	color: var(--vo-color-text-muted);
	font-size: var(--vo-font-size-sm);
	text-decoration: none;
}

.vo-footer__column button {
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

.vo-footer__column button[aria-disabled="true"] {
	color: var(--vo-color-text-soft);
}

.vo-footer__legal {
	display: flex;
	flex-direction: column;
	gap: var(--vo-space-3);
	margin-top: var(--vo-space-6);
	padding-top: var(--vo-space-4);
	border-top: 1px solid var(--vo-color-border);
	color: var(--vo-color-text-soft);
	font-size: var(--vo-font-size-xs);
}

.vo-footer__legal p {
	margin: 0;
}

.vo-footer__legal nav,
.vo-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vo-space-4);
}

.vo-footer__legal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vo-footer__legal a {
	color: inherit;
}

@media (min-width: 48rem) {
	.vo-page__main {
		padding-block: var(--vo-space-5) var(--vo-space-8);
	}

	.vo-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr;
	}

	.vo-footer__newsletter {
		grid-column: 1 / -1;
	}

	.vo-footer__legal {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (max-width: 47.999rem) {
	.vo-footer__column,
	.vo-footer__newsletter {
		display: none;
	}

	.vo-footer__grid {
		padding-bottom: var(--vo-space-3);
	}
}

@media (min-width: 64rem) {
	body.vo-theme-2026 {
		padding-bottom: 0;
	}

	.vo-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: var(--vo-space-6);
	}

	.vo-header__toggle {
		display: none;
	}

	.vo-header__brand {
		justify-content: flex-start;
	}

	.vo-header__logo {
		height: 2rem;
	}

	.vo-nav-desktop {
		display: flex;
		justify-content: center;
	}

	.vo-header__search {
		display: none;
	}

	.vo-header__desktop-search {
		display: flex;
		align-items: center;
		gap: var(--vo-space-2);
		grid-column: 3;
		width: min(14rem, 18vw);
		min-height: var(--vo-touch-target);
		padding-inline: var(--vo-space-3);
		border: 1px solid var(--vo-color-border);
		border-radius: var(--vo-radius-sm);
		background: var(--vo-color-surface-muted);
	}

	.vo-header__desktop-search .vo-icon {
		flex: 0 0 auto;
		width: 1rem;
		height: 1rem;
		color: var(--vo-color-brand);
	}

	.vo-header__desktop-search input {
		width: 100%;
		min-width: 0;
		border: 0;
		background: transparent;
		color: var(--vo-color-text);
		font: inherit;
		outline: 0;
	}

	.vo-header__desktop-search:focus-within {
		border-color: var(--vo-color-brand);
		box-shadow: 0 0 0 3px var(--vo-color-focus-ring);
	}

	.vo-nav-mobile,
	.vo-nav-mobile[data-open="true"],
	.vo-bottom-nav {
		display: none;
	}

	.vo-footer__grid {
		grid-template-columns: 1.7fr 1fr 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}
