[hidden] { display: none !important; }
.beta-label { align-self: center; color: var(--terracotta); font: 14px/1 Libertinus, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.account-main { max-width: 900px; padding-block: 56px 72px; min-height: calc(100dvh - 210px); }
.account-heading { margin-bottom: 36px; }
.eyebrow { color: var(--terracotta); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; margin-bottom: 12px; }
.account-heading h1 { font-size: clamp(44px, 6vw, 64px); }
#accountStatus { margin-top: 14px; }
.account-section { border-top: 1px solid var(--rule); padding-block: 26px; }
.account-section p { margin-top: 10px; }
.account-primary { max-width: 370px; margin-top: 24px; }
.account-identity { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-identity p { overflow-wrap: anywhere; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--olive); outline-offset: 4px; }
.quiet-button { padding: 10px 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .25em; color: var(--olive); min-height: 44px; }
.profile-form label { display: block; font-size: 21px; }
.profile-row { display: flex; align-items: stretch; gap: 12px; margin-top: 12px; max-width: 560px; }
.profile-row input { min-width: 0; flex: 1; border: 1px solid var(--rule); background: transparent; color: var(--olive); padding: 10px 12px; border-radius: 3px; }
.profile-row .play { border: 0; border-bottom: 3px solid var(--terracotta); white-space: nowrap; }
.account-note { min-height: 28px; font-size: 16px; }
.account-error { color: #933f26; margin-bottom: 12px; max-width: 600px; }
.beta-note { border-top: 1px solid var(--rule); padding-top: 26px; margin-top: 26px; }
.beta-note h2 { font-size: 25px; }
.beta-note p { max-width: 630px; margin-top: 12px; font-size: 17px; }
@media (max-width: 600px) {
 .account-main { padding-block: 36px 48px; }
 .account-heading { margin-bottom: 26px; }
 .account-section { padding-block: 22px; }
 .account-identity { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
 .profile-row { flex-wrap: wrap; }
 .profile-row input { flex-basis: 100%; min-height: 48px; }
 .profile-row .play { justify-content: center; min-height: 48px; }
}

.account-games { list-style: none; margin: 18px 0 0; padding: 0; }
.account-games li { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.account-games h3 { font-size: 24px; }
.account-games p { font-size: 17px; margin-top: 6px; }
.account-games .play { flex-shrink: 0; }
@media (max-width: 600px) { .account-games li { align-items: flex-start; flex-direction: column; gap: 14px; } }

.account-game-art { width: 96px; height: 64px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.account-game-copy { flex: 1; }

.connecting-game .account-main { padding-top: 30px; }
.connecting-game .account-heading { margin-bottom: 22px; }
.connecting-game .account-heading h1 { font-size: clamp(36px,5vw,48px); }
.connecting-game .account-identity { padding-block: 18px; }
.connecting-game #connectSection { padding-block: 22px; }
.connecting-game #connectSection .account-primary { margin-top: 16px; }
@media(max-width:600px) {
 .account-games li { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: start; gap: 14px; }
 .account-game-art { display: block; width: 64px; height: 48px; }
 .account-games .play { grid-column: 1 / -1; justify-self: start; }
}

.email-login label { display: block; margin-top: 20px; }
.email-code { letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.email-code::placeholder { color: var(--olive); opacity: .82; }
.email-login-actions { display: flex; column-gap: 24px; row-gap: 0; flex-wrap: wrap; margin-top: 12px; }
.email-login button:disabled { cursor: default; }
#loginError { margin-top: 16px; }
.account-delete { margin-top: 18px; max-width: 650px; }
.account-delete summary { cursor: pointer; padding-block: 10px; text-decoration: underline; text-underline-offset: .25em; min-height: 44px; }
.account-delete .profile-form { margin-top: 18px; }
#accountActionError { margin-top: 16px; }
