.auth-modal .auth-recovery-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #d6ad553d; }
.auth-modal .auth-recovery-links a, .auth-modal .auth-recovery-links button { display: inline; width: auto; min-height: 32px; margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #e5ce97; font: inherit; font-size: 13px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; transform: none; }
.auth-modal .auth-recovery-links a:hover, .auth-modal .auth-recovery-links button:hover { color: #fff0cb; background: none; transform: none; }
.account-recovery-body { background: #111915; color: #e6e9dd; }
.game-account-recovery-body .carpediem-nav { position: relative; top: auto; }
.game-account-recovery-body .music-btn { position: absolute; top: 74px; bottom: auto; }
.recovery-page { max-width: 520px; width: calc(100% - 40px); margin: 36px auto 64px; text-align: left; font-family: "Microsoft JhengHei", "PingFang TC", sans-serif; }
.recovery-page *, .recovery-page *::before, .recovery-page *::after { box-sizing: border-box; letter-spacing: 0; }
.recovery-page [hidden] { display: none !important; }
.recovery-page svg { width: 18px; height: 18px; flex-shrink: 0; }
.recovery-page .recovery-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #bac6b0; text-decoration: none; }
.recovery-page .recovery-heading { padding: 22px 0 24px; }
.recovery-page .recovery-heading > img { display: block; width: 170px; height: 64px; object-fit: contain; object-position: left center; margin-bottom: 16px; }
.recovery-page .section-kicker { color: #a8b59d; font-size: 10px; }
.recovery-page h1 { font: 30px/1.4 "Noto Serif TC", "PMingLiU", serif; color: #eeddb5; margin: 10px 0 14px; }
.recovery-page .recovery-heading p { margin: 0; color: #b5c1ac; font-size: 13px; line-height: 1.9; }
.recovery-page .recovery-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; list-style: none; gap: 16px; margin: 0 0 26px; padding: 0 0 20px; border-bottom: 1px solid #a7b49833; }
.recovery-page .recovery-steps li { display: flex; align-items: center; gap: 8px; color: #8d9c84; font-size: 12px; line-height: 1.7; }
.recovery-page .recovery-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #4c5c45; border-radius: 50%; color: #acb99e; }
.recovery-page .recovery-steps [aria-current] { color: #eed59b; }
.recovery-page .recovery-steps [aria-current] > span { color: #172115; background: #d6b46b; border-color: #d6b46b; }
.recovery-page .recovery-form { display: grid; gap: 16px; margin: 0; }
.recovery-page .recovery-form > label { display: flex; flex-direction: column; gap: 8px; margin: 0; color: #d2dcc6; font-size: 13px; line-height: 1.8; }
.recovery-page input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; margin: 0; font: inherit; font-size: 16px; color: #edf0e5; border: 1px solid #67775b; border-radius: 4px; background: #0c130f; box-shadow: none; }
.recovery-page select { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 42px 11px 12px; margin: 0; font: inherit; font-size: 16px; color: #edf0e5; border: 1px solid #67775b; border-radius: 4px; background: #0c130f; box-shadow: none; -webkit-appearance: none; appearance: none; color-scheme: dark; }
.recovery-page .recovery-select-field { display: block; position: relative; }
.recovery-page .recovery-select-field > svg { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: #cfdbc2; pointer-events: none; }
.recovery-page input::placeholder { color: #91a187; font-size: 13px; }
.recovery-page input:focus { outline: 2px solid #d6b46b; outline-offset: 2px; }
.recovery-page select:focus { outline: 2px solid #d6b46b; outline-offset: 2px; }
.recovery-page button, .recovery-page .recovery-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin: 0; border-radius: 4px; padding: 10px 16px; font: inherit; font-size: 14px; box-shadow: none; text-shadow: none; cursor: pointer; transform: none; }
.recovery-page .recovery-primary { width: 100%; background: #d6b46b; border: 1px solid #d6b46b; color: #182216; text-decoration: none; font-weight: 700; }
.recovery-page .recovery-primary:hover { color: #182216; background: #efce87; transform: none; }
.recovery-page button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.recovery-page :focus-visible, .auth-recovery-links :focus-visible { outline: 2px solid #f1daa0; outline-offset: 4px; }
.recovery-page .recovery-status { border-left: 2px solid #8cb4a1; color: #c2dccf; background: #1a2a21; padding: 12px 14px; margin: 0 0 22px; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.recovery-page .recovery-status[data-type="error"] { border-color: #df9b88; background: #30251e; color: #f0bbaa; }
.recovery-page .recovery-status[data-type="success"] { border-color: #a9c78c; color: #cfe1b9; }
.recovery-page .recovery-recipient { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #a7b49833; }
.recovery-page .recovery-recipient > div { display: grid; gap: 6px; min-width: 0; }
.recovery-page .recovery-recipient span, .recovery-page .recovery-recipient small { color: #aab99d; font-size: 12px; overflow-wrap: anywhere; }
.recovery-page .recovery-recipient strong { color: #e4dfc6; font-size: 16px; overflow-wrap: anywhere; }
.recovery-page .recovery-icon-button { flex-shrink: 0; width: 42px; height: 42px; min-height: 42px; padding: 10px; border: 1px solid #627354; background: #1b281e; color: #cfdbc2; }
.recovery-page .recovery-icon-button:hover { background: #2d3c28; transform: none; }
.recovery-page .recovery-code-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.recovery-page .recovery-code-heading label { width: auto; margin: 0; font-size: 13px; color: #d2dcc6; }
.recovery-page .recovery-text-button { border: 0; background: none; padding: 4px 0; min-height: 36px; color: #d6c38f; font-size: 12px; }
.recovery-page .recovery-text-button:hover { background: none; color: #f0db9f; transform: none; }
.recovery-page .recovery-code { font-family: Consolas, monospace; font-size: 20px; text-transform: uppercase; }
.recovery-page .recovery-field-note { color: #a2b294; font-size: 11px; line-height: 1.8; margin: -7px 0 0; }
.recovery-page .recovery-password-field { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 8px; }
.recovery-page .recovery-done { padding: 8px 0 16px; }
.recovery-page .recovery-done > svg { color: #adce96; width: 38px; height: 38px; margin-bottom: 18px; }
.recovery-page .recovery-done h2 { font-size: 23px; line-height: 1.5; color: #eddfb9; margin: 0 0 12px; }
.recovery-page .recovery-done p { font-size: 13px; line-height: 1.9; color: #becbb1; margin: 0 0 24px; }
.recovery-page .recovery-help { padding-top: 24px; border-top: 1px solid #a7b49833; margin-top: 32px; }
.recovery-page .recovery-help h2 { margin: 0 0 10px; font-size: 14px; color: #c8d2bc; }
.recovery-page .recovery-help p { color: #a4b298; font-size: 12px; line-height: 1.9; margin: 0 0 12px; }
.recovery-page .recovery-help a { display: inline-flex; align-items: center; gap: 8px; color: #d3be88; font-size: 12px; text-underline-offset: 4px; }
@media (max-width: 480px) {
    .recovery-page { margin-top: 24px; }
    .recovery-page h1 { font-size: 27px; }
    .recovery-page .recovery-steps { gap: 8px; }
    .recovery-page .recovery-steps li { font-size: 11px; gap: 6px; }
}
