.x88-chrome-header,
.x88-chrome-footer {
	--x88-chrome-line: rgba(148, 163, 184, .16);
	color: var(--x88-text);
}

.x88-chrome-header a:not(.button),
.x88-chrome-footer a:not(.button) {
	color: inherit;
	text-decoration: none;
}

.x88-chrome-header :focus-visible,
.x88-chrome-footer :focus-visible {
	outline: 2px solid var(--x88-cyan);
	outline-offset: 3px;
}

.x88-chrome-header {
	position: sticky;
	z-index: 40;
	top: 0;
	background: var(--x88-bg);
	box-shadow: 0 3px 18px rgba(0, 0, 0, .22);
}

.admin-bar .x88-chrome-header {
	top: 32px;
}

.x88-chrome-header .x88-chrome-utility {
	background: var(--x88-deep);
	color: var(--x88-muted);
}

.x88-chrome-header .x88-chrome-utility-inner,
.x88-chrome-header .x88-chrome-header-inner,
.x88-chrome-footer .x88-chrome-footer-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.x88-chrome-header .x88-chrome-utility-inner {
	min-height: 35px;
	font-size: .71rem;
	font-weight: 600;
}

.x88-chrome-header .x88-chrome-site-note,
.x88-chrome-header .x88-chrome-utility-links,
.x88-chrome-header .x88-chrome-utility-links a {
	display: flex;
	align-items: center;
	gap: 6px;
}

.x88-chrome-header .x88-chrome-site-note {
	color: var(--x88-cyan);
}

.x88-chrome-header .x88-chrome-utility-links {
	gap: 18px;
}

.x88-chrome-header .x88-chrome-utility-links a:hover,
.x88-chrome-footer .x88-chrome-footer-grid li a:hover {
	color: var(--x88-cyan);
}

.x88-chrome-header .x88-chrome-site-note .x88-icon,
.x88-chrome-header .x88-chrome-utility-links .x88-icon,
.x88-chrome-footer .x88-chrome-footer-grid .x88-icon {
	flex: none;
	font-size: 1rem;
}

.x88-chrome-header .x88-chrome-utility-links li:first-child .x88-icon {
	color: var(--x88-gold);
}

.x88-chrome-header ul,
.x88-chrome-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.x88-chrome-header li,
.x88-chrome-footer li {
	margin: 0;
}

.x88-chrome-header .x88-chrome-header-inner {
	position: relative;
	min-height: 74px;
	gap: clamp(8px, 1.2vw, 18px);
}

.x88-chrome-header .x88-chrome-brand,
.x88-chrome-footer .x88-chrome-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 9px;
	color: var(--x88-text);
	font-size: 1.14rem;
	font-weight: 800;
	letter-spacing: .025em;
	line-height: 1;
	white-space: nowrap;
}

.x88-chrome-header .x88-chrome-brand img,
.x88-chrome-footer .x88-chrome-brand img {
	display: block;
	width: auto;
	height: 21px;
	max-width: 88px;
	object-fit: contain;
}

.x88-chrome-header .x88-chrome-search {
	display: flex;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding-inline: 3px 11px;
	color: var(--x88-muted);
	background: var(--x88-panel);
	border: 1px solid transparent;
	border-radius: 999px;
}

.x88-chrome-header .x88-chrome-search:focus-within {
	border-color: var(--x88-blue);
}

.x88-chrome-header .x88-chrome-search input {
	order: 2;
	flex: 1;
	min-width: 0;
	height: 34px;
	margin: 0;
	padding: 0;
	color: var(--x88-text);
	font: inherit;
	font-size: .71rem;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: 0;
}

.x88-chrome-header .x88-chrome-search input::placeholder {
	color: var(--x88-muted);
	opacity: 1;
}

.x88-chrome-header .x88-chrome-search button,
.x88-chrome-header .x88-chrome-mobile-nav summary {
	display: grid;
	place-items: center;
	flex: none;
	min-width: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
}

.x88-chrome-header .x88-chrome-search button:hover {
	color: var(--x88-cyan);
}

.x88-chrome-header .x88-chrome-search .x88-icon {
	font-size: 1.12rem;
}

.x88-chrome-header .x88-chrome-search-desktop {
	flex: 1 1 110px;
	min-width: 92px;
	max-width: 180px;
}

.x88-chrome-header .x88-chrome-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 3px;
}

.x88-chrome-header .x88-chrome-utility-links {
	font-family: var(--x88-font-family, inherit);
}

.x88-chrome-header .x88-chrome-desktop-nav {
	min-width: 0;
}

.x88-chrome-header .x88-chrome-brand-text,
.x88-chrome-footer .x88-chrome-brand-text {
	max-width: clamp(80px, 10vw, 152px);
	overflow: hidden;
	text-overflow: ellipsis;
}

.x88-chrome-brand-tagline {
	display: block;
	overflow: hidden;
	color: var(--x88-muted);
	font-size: 10px;
	text-overflow: ellipsis;
}

.x88-chrome-header :is(#x88-chrome-desktop-menu, #x88-chrome-top-menu) > li {
	position: relative;
	display: flex;
	align-items: center;
}

.x88-chrome-header .x88-chrome-submenu-toggle {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	min-height: 32px;
	margin: 0;
	padding: 0;
	color: var(--x88-ice);
	background: transparent;
	border: 0;
	box-shadow: none;
}

.x88-chrome-header :is(#x88-chrome-desktop-menu, #x88-chrome-top-menu) > li > .sub-menu {
	position: absolute;
	z-index: 3;
	inset: 100% 0 auto auto;
	display: none;
	width: max-content;
	min-width: 180px;
	max-width: min(280px, 90vw);
	padding: 8px;
	background: var(--x88-panel);
	border: 1px solid var(--x88-chrome-line);
	border-radius: 10px;
	box-shadow: 0 12px 26px #060a1580;
}

.x88-chrome-header :is(#x88-chrome-desktop-menu, #x88-chrome-top-menu) > li:hover > .sub-menu,
.x88-chrome-header:not(.x88-chrome-interactive) :is(#x88-chrome-desktop-menu, #x88-chrome-top-menu) > li:focus-within > .sub-menu,
.x88-chrome-header .x88-chrome-submenu-toggle[aria-expanded="true"] + .sub-menu {
	display: block;
}

.x88-chrome-header .sub-menu a {
	padding: 7px 10px;
	text-align: left;
	overflow-wrap: anywhere;
}

.x88-chrome-header .sub-menu .sub-menu,
.x88-chrome-header .x88-chrome-drawer .sub-menu,
.x88-chrome-footer .sub-menu {
	padding-left: 10px;
	border-left: 1px solid var(--x88-chrome-line);
}

.x88-chrome-header .x88-chrome-drawer .menu-item-has-children {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-width: 0;
}

.x88-chrome-header .x88-chrome-drawer .menu-item-has-children > .sub-menu {
	grid-column: 1 / -1;
}

.x88-chrome-header.x88-chrome-interactive .x88-chrome-drawer .x88-chrome-submenu-toggle[aria-expanded="false"] + .sub-menu,
.x88-chrome-header:not(.x88-chrome-interactive) .x88-chrome-drawer .x88-chrome-submenu-toggle {
	display: none;
}

.x88-chrome-footer .x88-chrome-footer-links {
	grid-column: span 2;
	min-width: 0;
}

.x88-chrome-footer :is(.x88-chrome-footer-default-links, .x88-chrome-footer-menu) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
}

@media (max-width: 782px) {
	.x88-chrome-footer .x88-chrome-footer-links {
		grid-column: 1 / -1;
	}
}

.x88-chrome-header .x88-chrome-menu a {
	display: block;
	padding: 8px 7px;
	color: var(--x88-muted);
	font-family: var(--x88-font-family, inherit);
	font-size: clamp(.62rem, .86vw, .75rem);
	font-weight: var(--x88-font-nav-weight, 700);
	font-style: var(--x88-font-nav-style, normal);
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	border-radius: 999px;
}

.x88-chrome-header .x88-chrome-menu a:hover {
	color: var(--x88-text);
	background: var(--x88-raised);
}

.x88-chrome-header .x88-chrome-menu a[aria-current="page"],
.x88-chrome-header .x88-chrome-menu .current-menu-item > a {
	color: #031728;
	background: var(--x88-blue);
}

.x88-chrome-header .x88-chrome-actions,
.x88-chrome-footer .x88-chrome-actions {
	display: flex;
	align-items: center;
	flex: none;
	gap: 8px;
	font-size: .8rem;
}

.x88-chrome-header .x88-chrome-account-button,
.x88-chrome-footer .x88-chrome-account-button {
	margin: 0;
	overflow-wrap: anywhere;
}

.x88-chrome-header .x88-chrome-button,
.x88-chrome-footer .x88-chrome-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 13px;
	color: var(--x88-text);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	border-radius: 999px;
}

.x88-chrome-header .x88-chrome-button-red,
.x88-chrome-footer .x88-chrome-button-red {
	color: #fff;
	background: var(--x88-red);
	box-shadow: 0 4px 14px rgba(234, 0, 27, .25);
}

.x88-chrome-header .x88-chrome-button:hover,
.x88-chrome-footer .x88-chrome-button:hover {
	filter: brightness(1.2);
}

.x88-chrome-header .x88-chrome-mobile-nav {
	display: none;
}

.x88-chrome-footer {
	background: var(--x88-deep);
}

.x88-chrome-footer .x88-chrome-footer-cta {
	border-block: 1px solid var(--x88-chrome-line);
}

.x88-chrome-footer .x88-chrome-footer-cta-inner {
	min-height: 71px;
	padding-block: 12px;
}

.x88-chrome-footer .x88-chrome-footer-promo {
	display: flex;
	align-items: center;
	gap: 13px;
	font-size: .86rem;
	line-height: 1.45;
}

.x88-chrome-footer .x88-chrome-footer-promo p {
	margin: 0;
	color: var(--x88-muted);
	font-size: .76rem;
}

.x88-chrome-footer .x88-chrome-promo-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 37px;
	height: 37px;
	color: #fff;
	background: var(--x88-red);
	border-radius: 50%;
}

.x88-chrome-footer .x88-chrome-promo-icon .x88-icon {
	font-size: 1.15rem;
}

.x88-chrome-footer .x88-chrome-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 40px);
	padding-block: 33px 42px;
}

.x88-chrome-footer .x88-chrome-footer-brand p,
.x88-chrome-footer .x88-chrome-footer-grid li a,
.x88-chrome-footer .x88-chrome-address {
	color: var(--x88-muted);
	font-size: .78rem;
	line-height: 1.6;
}

.x88-chrome-footer .x88-chrome-footer-brand p {
	max-width: 32ch;
	margin: 14px 0 0;
}

.x88-chrome-footer .x88-chrome-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.x88-chrome-footer .x88-chrome-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--x88-panel);
	color: var(--x88-muted);
	font-size: 15px;
}

.x88-chrome-footer .x88-chrome-social a:is(:hover, :focus-visible) {
	background: var(--x88-raised);
	color: var(--x88-cyan);
}

.x88-chrome-social svg {
	display: block;
	width: 1em;
	height: 1em;
}

.x88-chrome-footer .x88-chrome-footer-grid h2 {
	margin: 0 0 10px;
	color: var(--x88-text);
	font-size: .87rem;
	font-weight: 750;
	line-height: 1.35;
	text-transform: uppercase;
}

.x88-chrome-footer .x88-chrome-footer-grid li a,
.x88-chrome-footer .x88-chrome-address {
	display: flex;
	align-items: start;
	gap: 4px;
	padding-block: 4px;
	overflow-wrap: anywhere;
}

.x88-chrome-footer .x88-chrome-footer-grid li .x88-icon {
	margin-top: 2px;
	color: var(--x88-blue);
}

.x88-chrome-footer .x88-chrome-copyright {
	padding-block: 14px;
	color: var(--x88-muted);
	font-size: .73rem;
	background: var(--x88-panel);
	border-top: 1px solid var(--x88-chrome-line);
}

.x88-chrome-copyright-inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 20px;
}

.x88-chrome-copyright-inner p {
	margin: 0;
}

.x88-chrome-copyright-inner p:last-child {
	text-align: right;
}

.x88-chrome-footer .x88-chrome-copyright a:hover {
	color: var(--x88-cyan);
	text-decoration: underline;
}

@media (max-width: 760px) {
	.x88-chrome-copyright-inner {
		flex-direction: column;
	}

	.x88-chrome-copyright-inner p:last-child {
		text-align: left;
	}
}

@media (width > 1050px) {
	.x88-chrome-header .x88-chrome-brand-text,
	.x88-chrome-header .x88-chrome-account-mobile {
		display: none;
	}

	.x88-chrome-header .x88-chrome-account-desktop {
		text-transform: none;
		white-space: nowrap;
	}

	.x88-chrome-header #x88-chrome-desktop-menu > li > a {
		white-space: nowrap;
	}
}

@media (1050px < width <= 1180px) {
	.x88-chrome-header .x88-chrome-header-inner {
		gap: 8px;
	}

	.x88-chrome-header .x88-chrome-search-desktop {
		flex-basis: 92px;
	}

	.x88-chrome-header #x88-chrome-desktop-menu {
		column-gap: 2px;
	}

	.x88-chrome-header #x88-chrome-desktop-menu > li > a {
		padding-inline: 4px;
	}
}

@media (1050px < width <= 1120px) {
	.x88-chrome-header .x88-chrome-header-inner:has(#x88-chrome-desktop-menu > li:nth-child(11)) {
		padding-inline: 16px;
	}

	.x88-chrome-header #x88-chrome-desktop-menu:has(> li:nth-child(11)) {
		column-gap: 1px;
	}

	.x88-chrome-header #x88-chrome-desktop-menu:has(> li:nth-child(11)) > li > a {
		padding-inline: 2px;
	}
}

@media (max-width: 1050px) {
	.x88-chrome-header .x88-chrome-utility,
	.x88-chrome-header .x88-chrome-search-desktop,
	.x88-chrome-header .x88-chrome-desktop-nav,
	.x88-chrome-header .x88-chrome-account-desktop {
		display: none;
	}

	.x88-chrome-header .x88-chrome-header-inner {
		min-height: 61px;
	}

	.x88-chrome-header .x88-chrome-mobile-nav {
		display: block;
	}

	.x88-chrome-header .x88-chrome-mobile-nav summary {
		width: 42px;
		height: 42px;
		list-style: none;
		background: var(--x88-panel);
	}

	.x88-chrome-header .x88-chrome-mobile-nav summary::-webkit-details-marker {
		display: none;
	}

	.x88-chrome-header .x88-chrome-mobile-nav[open] summary {
		color: var(--x88-cyan);
	}

	.x88-chrome-header .x88-chrome-drawer {
		position: absolute;
		inset: calc(100% + 1px) 12px auto auto;
		width: min(100% - 24px, 360px);
		max-height: 72vh;
		padding: 16px;
		overflow-y: auto;
		background: var(--x88-panel);
		border: 1px solid var(--x88-chrome-line);
		border-radius: 12px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
	}

	.x88-chrome-header .x88-chrome-drawer .x88-chrome-search {
		background: var(--x88-deep);
	}

	.x88-chrome-header .x88-chrome-drawer .x88-chrome-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
		margin-block: 12px;
	}

	.x88-chrome-header .x88-chrome-drawer .x88-chrome-menu a {
		padding: 10px;
		font-size: .78rem;
		text-align: left;
		border-radius: 6px;
	}

	.x88-chrome-header .x88-chrome-drawer .x88-chrome-utility-links {
		flex-wrap: wrap;
		gap: 8px 14px;
		margin-bottom: 12px;
		padding-top: 10px;
		color: var(--x88-muted);
		font-size: .74rem;
		border-top: 1px solid var(--x88-chrome-line);
	}
}

@media (max-width: 782px) {
	.admin-bar .x88-chrome-header {
		top: 46px;
	}

	.x88-chrome-footer .x88-chrome-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.admin-bar .x88-chrome-header {
		top: 0;
	}

	.x88-chrome-header .x88-chrome-register {
		display: none;
	}

	.x88-chrome-header .x88-chrome-actions {
		flex-shrink: 1;
		min-width: 0;
	}
}

@media (max-width: 470px) {
	.x88-chrome-header .x88-chrome-brand {
		gap: 7px;
		font-size: 1rem;
	}

	.x88-chrome-header .x88-chrome-brand img {
		height: 16px;
	}

	.x88-chrome-footer .x88-chrome-footer-cta-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.x88-chrome-footer .x88-chrome-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 350px) {
	.x88-chrome-header .x88-chrome-brand > span {
		display: none;
	}

	.x88-chrome-footer .x88-chrome-footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
