.account-recovery-page {
    container: account-recovery / inline-size;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    color: var(--text, #000000);
}
.account-recovery-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.account-recovery-page .account-recovery-heading h2 {
    margin: 0 0 7px;
    color: var(--heading, #1e2751);
    font-size: clamp(26px, 3vw, 36px);
}
.account-recovery-lead {
    margin: 0;
    color: var(--muted, #666666);
    font-size: 1.08em;
    line-height: 1.5;
}
.account-recovery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .8fr);
    align-items: start;
    gap: 20px;
}
.account-recovery-layout-request {
    display: flex;
    flex-direction: column;
}
.account-recovery-layout-request > .account-recovery-card,
.account-recovery-layout-request > .account-recovery-guidance {
    align-self: stretch;
    width: 100%;
}
.account-recovery-email-field { max-width: 620px; }
.account-recovery-card,
.account-recovery-guidance,
.account-recovery-invalid {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid var(--border, #dddddd);
    border-radius: 8px;
    background: var(--surface, #ffffff);
}
.account-recovery-card { padding: 24px; }
.account-recovery-card-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border, #dddddd);
}
.account-recovery-heading-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--border, #dddddd);
    border-radius: 50%;
    color: var(--heading, #1e2751);
}
.account-recovery-heading-icon svg,
.account-recovery-invalid-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.account-recovery-card-heading h3,
.account-recovery-guidance h3 {
    margin: 0 0 5px;
    color: var(--heading, #1e2751);
    font-size: 18px;
}
.account-recovery-card-heading p,
.account-recovery-verification-heading p {
    margin: 0;
    color: var(--muted, #666666);
    line-height: 1.45;
}
.account-recovery-field { margin-bottom: 19px; }
.account-recovery-verification {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border, #dddddd);
}
.account-recovery-verification-heading { margin-bottom: 16px; }
.account-recovery-verification-heading h3 {
    margin: 0 0 4px;
    color: var(--heading, #1e2751);
    font-size: 16px;
}
.account-recovery-captcha-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 17px;
}
.account-recovery-card img.captcha {
    display: block;
    float: none;
    box-sizing: border-box;
    width: 220px;
    height: 72px;
    max-width: 100%;
    margin: 0;
    border: 1px solid var(--border, #dddddd);
    border-radius: 5px;
    object-fit: cover;
}
.account-recovery-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    cursor: pointer;
}
.account-recovery-secondary svg {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.account-recovery-code-field { max-width: 300px; }
.account-recovery-code-field input { max-width: 180px !important; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.account-recovery-sr-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.account-recovery-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border, #dddddd);
}
.account-recovery-actions > span { color: var(--muted, #666666); font-size: 12px; }
.account-recovery-submit[disabled] { opacity: .58; cursor: not-allowed; }
.account-recovery-submit[aria-busy="true"],
.account-recovery-secondary[aria-busy="true"] { cursor: wait; }
.account-recovery-guidance { padding: 22px; }
.account-recovery-guidance ol {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.account-recovery-guidance ol li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    padding: 0 0 18px;
}
.account-recovery-guidance ol li + li { padding-top: 18px; border-top: 1px solid var(--border, #dddddd); }
.account-recovery-guidance ol li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--border, #dddddd);
    border-radius: 4px;
    color: var(--heading, #1e2751);
    font-weight: 700;
}
.account-recovery-guidance strong { color: var(--text, #000000); }
.account-recovery-guidance p { margin: 4px 0 0; color: var(--muted, #666666); line-height: 1.45; }
.account-recovery-support { margin-top: 3px !important; padding-top: 18px; border-top: 1px solid var(--border, #dddddd); }
.account-recovery-guidance-request ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.account-recovery-guidance-request ol li {
    box-sizing: border-box;
    padding: 0 20px;
}
.account-recovery-guidance-request ol li:first-child { padding-left: 0; }
.account-recovery-guidance-request ol li + li {
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid var(--border, #dddddd);
}
.account-recovery-guidance-request .account-recovery-support { margin-top: 0 !important; }
.account-recovery-checks { margin: 18px 0 22px; padding-left: 19px; color: var(--muted, #666666); line-height: 1.5; }
.account-recovery-checks li + li { margin-top: 10px; }
.account-recovery-password-control { position: relative; }
.account-recovery-password-control input { padding-right: 84px !important; }
.account-recovery-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border: 0;
    border-left: 1px solid var(--border, #dddddd);
    background: transparent;
    color: var(--link, #1e2751);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.account-recovery-password-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.account-recovery-password-toggle:focus-visible { outline: 2px solid var(--link, #1e2751); outline-offset: -3px; }
.account-recovery-notice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--danger-border, #c74b50);
    border-radius: 8px;
    background: var(--danger-bg, #fff0f0);
    color: var(--danger-text, #741d22);
}
.account-recovery-notice.is-success { border-color: var(--success-border, #3e8e58); background: var(--success-bg, #edf8f0); color: var(--success-text, #185d31); }
.account-recovery-notice > svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.account-recovery-notice-title { display: block; margin-bottom: 3px; }
.account-recovery-notice-message { line-height: 1.5; }
.account-recovery-notice-message ul { margin: 8px 0 0; padding-left: 20px; }
.account-recovery-invalid {
    max-width: 650px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}
.account-recovery-invalid-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 17px;
    place-items: center;
    border: 1px solid var(--danger-border, #c74b50);
    border-radius: 50%;
    color: var(--danger, #a62027);
}
.account-recovery-invalid h3 { margin: 0 0 9px; color: var(--heading, #1e2751); font-size: 22px; }
.account-recovery-invalid p { max-width: 500px; margin: 0 auto 22px; color: var(--muted, #666666); line-height: 1.5; }
.account-recovery-link-action { display: inline-block; text-decoration: none; }

@container account-recovery (max-width: 720px) {
    .account-recovery-layout { grid-template-columns: minmax(0, 1fr); }
    .account-recovery-guidance-request ol { grid-template-columns: minmax(0, 1fr); }
    .account-recovery-guidance-request ol li { padding: 0 0 18px; }
    .account-recovery-guidance-request ol li + li {
        padding-top: 18px;
        border-top: 1px solid var(--border, #dddddd);
        border-left: 0;
    }
}
@container account-recovery (max-width: 480px) {
    .account-recovery-heading { flex-wrap: wrap; }
    .account-recovery-heading > div { flex-basis: 100%; }
    .account-recovery-card,
    .account-recovery-guidance,
    .account-recovery-invalid { padding: 18px; }
    .account-recovery-actions { align-items: stretch; flex-direction: column; }
    .account-recovery-submit { width: 100%; }
    .account-recovery-captcha-row { align-items: stretch; flex-direction: column; }
    .account-recovery-secondary { align-self: flex-start; }
    .account-recovery-page .contact-game-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media print {
    .account-recovery-heading .mur-back-button,
    .account-recovery-actions,
    .account-recovery-secondary,
    .account-recovery-password-toggle { display: none !important; }
}
