.home-auth-dialog {
  width: 520px; max-width: calc(100vw - 48px); max-height: calc(100dvh - 64px);
  overflow: auto; margin: auto; padding: 42px 46px 34px; color: var(--ink, #102c28);
  background: var(--paper, #f7f5ef); border: 1px solid var(--line, #d9ded7);
  border-radius: 16px; box-shadow: 0 24px 90px #102c2826;
  font: 15px/1.6 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.home-auth-dialog::backdrop { background: #102c2859; backdrop-filter: blur(4px); }
.home-auth-dialog [hidden] { display: none !important; }
.home-auth-close { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--muted, #657576); cursor: pointer; }
.home-auth-close-icon { display: block; width: 20px; height: 20px; background: currentColor; mask: url('/assets/vendor/phosphor/x.svg') center / contain no-repeat; -webkit-mask: url('/assets/vendor/phosphor/x.svg') center / contain no-repeat; }
.home-auth-brand { margin-bottom: 28px; color: var(--green, #0b4b40); font-weight: 650; letter-spacing: 1px; }
.home-auth-brand small { display: block; margin-top: 3px; font-size: 9px; letter-spacing: 2px; font-weight: 500; }
.home-auth-dialog h2 { margin: 0 0 8px; font: 600 31px/1.35 var(--serif, "Noto Serif SC"); }
.home-auth-intro { margin: 0; color: var(--muted, #657576); font-size: 13px; }
.home-auth-tabs { display: flex; gap: 26px; margin-top: 25px; border-bottom: 1px solid var(--line, #d9ded7); }
.home-auth-tabs button { padding: 0 1px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted, #657576); font: inherit; cursor: pointer; }
.home-auth-tabs .is-active { border-bottom-color: var(--green, #0b4b40); color: var(--green, #0b4b40); font-weight: 650; }
#home-auth-error { min-height: 20px; margin: 12px 0 4px; color: #a13e2f; font-size: 12px; }
.home-auth-dialog form > label, .home-auth-passwords label, .home-auth-dialog .phone-verification label { display: block; margin: 14px 0; font-size: 13px; font-weight: 550; }
.home-auth-dialog input { display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 11px 12px; border: 1px solid #ccd5cd; border-radius: 7px; color: var(--ink, #102c28); background: #fffdf8; font-family: inherit; font-size: 14px; line-height: 1.4; }
.home-auth-dialog input[type=hidden] { display: none; }
.home-auth-dialog input::placeholder { color: #88918c; }
.home-auth-dialog :is(button, input, a):focus-visible { outline: 2px solid var(--green, #0b4b40); outline-offset: 3px; }
.home-auth-dialog input:focus { border-color: var(--green, #0b4b40); }
.home-auth-submit { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; margin-top: 24px; padding: 11px 16px; border: 1px solid var(--green, #0b4b40); border-radius: 7px; color: #fffdf8; background: var(--green, #0b4b40); font: 600 14px/1.5 "PingFang SC", sans-serif; text-decoration: none; cursor: pointer; }
.home-auth-submit:hover { background: #073b32; }
.home-auth-dialog button:disabled { opacity: .58; cursor: default; }
.home-auth-footnote { margin: 18px 0 0; text-align: center; color: var(--muted, #657576); font-size: 12px; }
.home-auth-footnote button { margin-left: 6px; padding: 0; border: 0; background: transparent; color: var(--green, #0b4b40); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.home-auth-dialog .phone-verification { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; }
.home-auth-dialog .phone-verification label { margin: 0; }
.home-auth-dialog .sms-send { min-height: 42px; margin: 0; padding: 9px 11px; border: 1px solid #cbd5ca; border-radius: 7px; background: #eaf0e7; color: var(--green, #0b4b40); font: 12px/1.5 "PingFang SC", sans-serif; cursor: pointer; }
.home-auth-dialog .sms-status { grid-column: 1 / -1; min-height: 18px; margin: 7px 0 0; color: var(--muted, #657576); font-size: 11px; }
.home-auth-passwords { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-auth-notice { margin: 4px 0 0; padding: 10px 12px; border-radius: 6px; background: #eaf0e7; color: var(--muted, #657576); font-size: 11px; }
#home-register-form .home-auth-submit { margin-top: 18px; }
#home-auth-success { padding: 16px 0 12px; text-align: center; }
.home-auth-success-mark { display: grid; place-items: center; margin: 0 auto 18px; width: 54px; height: 54px; border: 1px solid #cbd8ca; border-radius: 50%; background: #eaf0e7; color: var(--green, #0b4b40); }
.home-auth-success-icon { display: block; width: 32px; height: 32px; background: currentColor; mask: url('/assets/vendor/phosphor/check-circle.svg') center / contain no-repeat; -webkit-mask: url('/assets/vendor/phosphor/check-circle.svg') center / contain no-repeat; }
#home-auth-success h3 { margin: 0 0 8px; font: 600 23px/1.5 var(--serif, "Noto Serif SC"); }
#home-auth-success > p:not(.home-auth-success-mark) { color: var(--muted, #657576); font-size: 13px; }
.guide-main { padding-block: 62px 86px; }
.guide-kicker { margin: 0 0 12px; color: var(--green, #0b4b40); font-size: 12px; letter-spacing: 2px; }
.guide-heading { margin: 0; font: 600 44px/1.4 var(--serif, "Noto Serif SC"); letter-spacing: -1px; }
.guide-lead { max-width: 760px; margin: 18px 0 36px; color: var(--muted, #657576); font-size: 17px; line-height: 1.8; }
.guide-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 22px; padding-block: 18px; border-block: 1px solid var(--line, #d9ded7); font-size: 13px; }
.guide-nav a { color: var(--green, #0b4b40); }
.guide-section { display: grid; grid-template-columns: 215px 1fr; gap: 48px; padding-block: 40px; border-bottom: 1px solid var(--line, #d9ded7); scroll-margin-top: 28px; }
.guide-section h2 { margin: 0; font: 600 24px/1.6 var(--serif, "Noto Serif SC"); }
.guide-section h2 small { display: block; margin-bottom: 7px; color: var(--muted, #657576); font: 11px/1.5 "PingFang SC", sans-serif; letter-spacing: 1.5px; }
.guide-section p { margin: 0 0 14px; color: var(--muted, #657576); font-size: 15px; line-height: 1.9; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section strong { color: var(--ink, #102c28); font-weight: 600; }
.guide-steps { margin: 0; padding-left: 22px; color: var(--green, #0b4b40); }
.guide-steps li { padding: 0 0 16px 6px; }
.guide-steps li:last-child { padding-bottom: 0; }
.guide-steps strong { display: block; margin-bottom: 5px; }
.guide-steps p { font-size: 14px; }
.guide-reminder { padding: 18px 22px; border-left: 2px solid var(--green, #0b4b40); background: #eef0e7; }
.guide-reminder p { margin: 0; }
.guide-actions { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 34px; }
.guide-actions p { color: var(--muted, #657576); font-size: 14px; }
.guide-footer { border-top: 1px solid var(--line, #d9ded7); }
@media (max-width: 900px) {
  .guide-section { grid-template-columns: 170px 1fr; gap: 30px; }
  .guide-main { padding-block: 46px 60px; }
  .guide-heading { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-auth-dialog { scroll-behavior: auto; }
}
