.header-actions { display: flex; align-items: center; gap: clamp(6px, 1.1vw, 16px); flex: none; }
.header-actions .wallet b { letter-spacing: 0; font-variant-numeric: tabular-nums; }
.header-actions .wallet .coin { width: clamp(16px, 15%, 35px); }
#games .card { box-shadow: inset 0 0 0 2px #d8ac642e, 0 8px 22px #040b1988; }
#games .card:focus-visible { outline: 2px solid #ffdea0; outline-offset: 4px; }
@media (orientation: landscape) and (min-width: 1001px) {
	#games .meta { padding-block: 12px 18px; }
	#games .meta p { min-height: 2.5em; }
	#games .meta .go { margin-top: auto; }
}
.account-open, .account-methods button {
	border: 1px solid #caa363;
	background: linear-gradient(#243e58, #112640);
	color: #ffe7b3;
	border-radius: 12px;
	padding: 0 16px;
	min-height: 44px;
	white-space: nowrap;
	font-weight: 700;
}
.account-open:hover, .account-methods button:hover { background: #2e4964; }
#account-open:focus-visible, .account-body :focus-visible {
	outline: 2px solid #f9cc77;
	outline-offset: 3px;
}
.account-active { overflow: hidden; }
.account-active::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 20;
	background: #050d20c9;
	backdrop-filter: blur(5px);
}
#account {
	position: fixed;
	inset: 0;
	z-index: 21;
	margin: auto;
	width: min(730px, calc(100% - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	color: #fff3d6;
	border: 1px solid #e5bd74;
	border-radius: 21px;
	background: #112540;
	box-shadow: 0 0 0 3px #f6c77220, 0 22px 70px #0009;
	overflow: auto;
}
#account[open] { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.account-art {
	display: grid;
	place-items: center;
	min-height: 100px;
	background: linear-gradient(#07162c22,#09183160), url('./home-landscape.webp') 51% center / cover;
	border-right: 1px solid #dab27172;
}
.account-art img { filter: drop-shadow(0 5px 16px #020612); }
.account-body { position: relative; padding: 29px 28px 20px; min-width: 0; }
.account-body h2 { margin: 0 36px 4px 0; color: #ffe6ab; font-size: 25px; }
.account-body p { margin: 0 0 15px; color: #d8e4f3; font-size: 13px; overflow-wrap: anywhere; }
#account-close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #0c1c31ed;
	color: #ffe6ab;
	font-size: 26px;
}
.account-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.account-methods button { border-color: #bc9b5d75; }
.account-methods button[aria-pressed="true"] { color: #241703; background: #f1ce87; }
.account-body label { display: grid; gap: 4px; font-size: 13px; margin-bottom: 10px; }
.account-body input:not([type="checkbox"]) {
	width: 100%;
	min-height: 44px;
	padding: 8px 11px;
	border: 1px solid #a8b2c378;
	border-radius: 9px;
	background: #0a192d;
	color: #fff7e4;
	font: inherit;
	font-size: 16px;
}
.account-body input::placeholder { color: #9eacbd; }
.account-secret { margin-bottom: 10px; }
.account-secret label { margin-bottom: 4px; }
.account-secret-field { position: relative; }
.account-body .account-secret-field input:not([type="checkbox"]) { padding-inline-end: 68px; }
#account-password-toggle {
	position: absolute;
	inset: 0 0 0 auto;
	min-width: 60px;
	padding: 0 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #ffdf9d;
	font: 650 13px/1 system-ui, sans-serif;
}
#account-password-toggle:hover { background: #203650; }
#account-mobile-number { margin-bottom: 10px; }
#account-mobile-number label { margin-bottom: 4px; }
#account-phone-format { display: block; margin-top: 4px; color: #bdcfe3; font-size: 12px; }
.account-body .account-consent { display: flex; align-items: flex-start; gap: 7px; }
.account-consent input { accent-color: #f2cb80; margin: 4px 0 0; }
.account-body .go {
	width: 100%;
	margin-top: 4px;
	min-height: 46px;
	border-radius: 10px;
	background: linear-gradient(#ffedb8, #dbab51);
}
#account-google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	margin-top: 10px;
	padding: 6px 12px;
	border: 1px solid #747775;
	border-radius: 8px;
	background: #fff;
	color: #1f1f1f;
	font: 500 14px/20px "Google Sans", system-ui, sans-serif;
}
#account-google img { flex: none; object-fit: contain; }
.account-links { display: flex; flex-wrap: wrap; column-gap: 12px; }
.account-link { background: none; border: 0; padding: 0; min-height: 44px; color: #ffe0a1; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.account-body button:disabled { opacity: .68; cursor: default; }
#account-status { margin: 5px 0 0; }
#account-status:empty { display: none; }
#account-status.error { color: #ffbdab; }
#account-identity { font-size: 16px; font-weight: 700; }
#account-recaptcha > :empty { margin: 0; }
@media (max-width: 600px) {
	header { height: auto; min-height: 64px; padding-block: 8px; }
	.header-actions .wallet { width: clamp(84px, 24vw, 135px); height: 36px; }
	.header-actions .wallet b { font-size: clamp(11px, 3vw, 16px); }
	.account-open { font-size: 12px; padding-inline: 7px; }
	#account[open] { grid-template-columns: minmax(0, 1fr); width: min(440px, calc(100% - 24px)); }
	.account-art { min-height: 88px; background-position: center 41%; border-right: 0; border-bottom: 1px solid #dab27172; }
	.account-art img { width: 44px; height: 44px; }
	.account-body { padding: 15px 17px 16px; }
}
@media (max-height: 615px) and (max-width: 600px) {
	.account-art { display: none; }
}

.account-modes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin: 0 0 11px;
	border-radius: 9px;
	background: #071426;
	box-shadow: inset 0 0 0 1px #90abc62f;
}
.account-modes button {
	min-height: 44px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #c5d2e2;
	font: 650 16px system-ui;
}
.account-modes button[aria-pressed="true"] {
	color: #fce5b5;
	background: #203650;
	box-shadow: inset 0 0 0 1px #c7a77150;
}
#account-forgot-row { display: flex; justify-content: flex-end; }
