@charset "UTF-8";

html.ideal-auth-locked,
html.ideal-auth-locked body {
  width: 100%;
  height: var(--ideal-app-height, 100%);
  min-height: 0;
  overflow: hidden;
  /* iOS Home 横条区域取页面背景；认证期间覆盖桌面壁纸和底色。 */
  background: #e9e9e9 !important;
}
.ideal-auth-locked body > :not(#idealAuthRoot) { visibility: hidden; }
.ideal-auth-root { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; box-sizing: border-box; width: 100%; height: 100vh; height: var(--ideal-app-height, 100dvh); overflow: hidden; overscroll-behavior: none; padding: max(12px, env(safe-area-inset-top)) 14px max(12px, var(--ideal-safe-bottom, env(safe-area-inset-bottom))); background: #e9e9e9; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #171717; }
.ideal-auth-root.is-hidden { display: none; }
.ideal-auth-root.is-restoring .ideal-auth-card { visibility: hidden; }
.ideal-auth-root.is-restoring::after { content: '\6b63\5728\8fdb\5165\7406\60f3\673a\2026'; position: absolute; inset: 0; display: grid; place-items: center; color: #666; font-size: 13px; letter-spacing: .04em; }
.ideal-auth-card { box-sizing: border-box; width: min(100%, 420px); max-height: 100%; overflow: hidden; padding: 26px 28px; border: 1px solid #d5d5d5; border-radius: 22px; background: #fff; box-shadow: 0 16px 56px rgba(0,0,0,.12); }
.ideal-auth-mark { display: inline-flex; padding: 6px 11px; border: 1px solid #dedede; border-radius: 999px; background: #f5f5f5; color: #252525; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.ideal-auth-card h1 { margin: 16px 0 6px; font-size: 25px; letter-spacing: -.03em; }
.ideal-auth-intro { margin: 0 0 16px; color: #696969; font-size: 13px; line-height: 1.55; }
.ideal-auth-progress { margin: -4px 0 14px; padding: 8px 10px; border: 1px solid #dedede; border-radius: 9px; background: #f6f6f6; color: #555; font-size: 11px; font-weight: 650; line-height: 1.4; }
.ideal-auth-progress[hidden], .ideal-auth-actions[hidden] { display: none; }
.ideal-auth-notice { margin: 0 0 12px; padding: 9px 11px; border: 1px solid #d5d5d5; border-radius: 10px; background: #f1f1f1; color: #333; font-size: 12px; line-height: 1.45; }
.ideal-auth-notice[hidden] { display: none; }
.ideal-auth-notice[data-type="banned"] { border: 2px solid #cf2525; background: #fff0f0; color: #a20e0e; font-weight: 750; font-size: 14px; }
.ideal-auth-actions { margin: 0 0 13px; }
.ideal-auth-banned-export { display: grid; gap: 8px; margin: 0 0 12px; }
.ideal-auth-banned-export[hidden] { display: none; }
.ideal-auth-banned-export p { margin: 0; color: #696969; font-size: 12px; line-height: 1.5; }
.ideal-auth-banned-export button { width: 100%; background: #171717; color: #fff; }
.ideal-auth-choice { display: grid; gap: 9px; }
.ideal-auth-choice[hidden], .ideal-auth-discord[hidden] { display: none; }
.ideal-auth-choice button:first-child { background: #171717; color: #fff; }
.ideal-auth-choice button:last-child { border-color: #c8c8c8; background: #eee; color: #222; }
.ideal-auth-root button { min-height: 42px; border: 1px solid #202020; border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 650; cursor: pointer; }
.ideal-auth-root button:disabled { cursor: wait; opacity: .52; }
.ideal-auth-discord, .ideal-auth-submit { width: 100%; background: #171717; color: #fff; }
.ideal-auth-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 12px; }
.ideal-auth-switch[hidden] { display: none; }
.ideal-auth-switch button { min-height: 34px; border-color: transparent; background: transparent; color: #555; font-size: 12px; }
.ideal-auth-form { display: grid; gap: 9px; }
.ideal-auth-form[hidden] { display: none; }
.ideal-auth-form label { display: grid; gap: 5px; color: #555; font-size: 12px; font-weight: 600; }
.ideal-auth-form input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 0 11px; border: 1px solid #d4d4d4; border-radius: 9px; outline: 0; background: #fff; color: #171717; font: inherit; }
.ideal-auth-form input:focus { border-color: #555; box-shadow: 0 0 0 2px rgba(0,0,0,.08); }
.ideal-auth-inline { display: flex; gap: 7px; }
.ideal-auth-inline button { flex: 0 0 auto; min-height: 40px; border-color: #c9c9c9; background: #eee; color: #222; font-size: 11px; }
.ideal-auth-submit { margin-top: 2px; }
.ideal-auth-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: #777; font-size: 11px; text-align: center; }
.ideal-auth-footer[hidden] { display: none; }
.ideal-auth-footer button { min-height: 30px; border-color: #d0d0d0; padding: 0 9px; background: #f1f1f1; color: #333; font-size: 11px; }
.ideal-auth-footer button[hidden] { display: none; }
@media (max-width: 480px) { .ideal-auth-root { padding-right: 12px; padding-left: 12px; } .ideal-auth-card { padding: 22px 20px; border-radius: 18px; } }
@media (max-height: 700px) { .ideal-auth-card { padding-top: 17px; padding-bottom: 17px; } .ideal-auth-card h1 { margin-top: 10px; font-size: 22px; } .ideal-auth-intro { margin-bottom: 10px; font-size: 12px; } .ideal-auth-notice { margin-bottom: 8px; padding: 7px 9px; } .ideal-auth-actions { margin-bottom: 8px; } .ideal-auth-switch { margin-bottom: 6px; } .ideal-auth-form { gap: 6px; } .ideal-auth-form label { gap: 3px; font-size: 11px; } .ideal-auth-form input, .ideal-auth-inline button { min-height: 36px; } .ideal-auth-footer { margin-top: 9px; } }
@media (max-height: 590px) { .ideal-auth-card { padding: 11px 16px; } .ideal-auth-mark, .ideal-auth-intro { display: none; } .ideal-auth-card h1 { margin: 0 0 5px; font-size: 20px; } .ideal-auth-progress { margin: 0 0 6px; padding: 6px 8px; font-size: 10px; } .ideal-auth-notice { margin-bottom: 6px; padding: 5px 8px; font-size: 11px; line-height: 1.3; } .ideal-auth-switch { margin-top: 3px; margin-bottom: 0; } .ideal-auth-form { gap: 4px; } .ideal-auth-form input, .ideal-auth-inline button { min-height: 32px; } .ideal-auth-form label { gap: 2px; font-size: 10px; } .ideal-auth-root button { min-height: 36px; } }
@media (max-height: 430px) { .ideal-auth-root { padding: 4px 8px; } .ideal-auth-card { padding: 8px 12px; border-radius: 14px; } .ideal-auth-mark, .ideal-auth-intro { display: none; } .ideal-auth-card h1 { margin: 0 0 6px; font-size: 18px; } .ideal-auth-progress { margin: 0 0 5px; padding: 4px 7px; font-size: 10px; } .ideal-auth-notice { margin-bottom: 5px; padding: 4px 7px; font-size: 10px; line-height: 1.25; } .ideal-auth-actions { margin-bottom: 4px; } .ideal-auth-switch { margin-bottom: 4px; } .ideal-auth-switch button { min-height: 26px; } .ideal-auth-form { gap: 3px; } .ideal-auth-form input, .ideal-auth-inline button { min-height: 28px; } .ideal-auth-root button { min-height: 30px; } .ideal-auth-footer { margin-top: 5px; } }
@media (max-width: 360px) { .ideal-auth-card { padding-right: 14px; padding-left: 14px; } .ideal-auth-inline button { padding: 0 8px; font-size: 10px; } }
