@import url("./login-motion.css?v=20260915-2");
/* Portal palette and a persistent, keyboard-accessible appearance control. */
:root, html[data-theme="light"] {
  --chrono-bg:#f5f1e6; --chrono-card:#fffdf7; --chrono-text:#2d2820;
  --chrono-muted:#6f6a5e; --chrono-border:#d9ceb6; --chrono-gold:#a8851f;
  --chrono-soft:#eee7d7;
}
html[data-theme="dark"] {
  --chrono-bg:#070b14; --chrono-card:#121626; --chrono-text:#e8e4d8;
  --chrono-muted:#b4afa3; --chrono-border:#45402f; --chrono-gold:#d4af37;
  --chrono-soft:#202334;
}
html { background:var(--chrono-bg); color:var(--chrono-text); }
body { background-color:var(--chrono-bg); color:var(--chrono-text); }
.chrono-theme-control,
.chrono-theme-toggle {
  position:fixed; right:max(16px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom));
  z-index:10000; display:grid; place-items:center; width:42px; height:42px; padding:0;
  border:1px solid var(--chrono-border); border-radius:50%; background:var(--chrono-card);
  color:var(--chrono-text); font:20px/1 system-ui,sans-serif; box-shadow:0 3px 16px #0002;
  cursor:pointer; transition:transform .2s ease, border-color .2s ease, background-color .28s ease;
}
.chrono-theme-control:hover,
.chrono-theme-toggle:hover { transform:translateY(-2px); border-color:var(--chrono-gold); }
.chrono-theme-control:active,
.chrono-theme-toggle:active { transform:scale(.94); }
.chrono-theme-control:focus-visible,
.chrono-theme-toggle:focus-visible { outline:2px solid var(--chrono-gold); outline-offset:3px; }
html[data-theme] .sx-brand { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 10px; min-width:0; }
html[data-theme] .sx-brand h3 { white-space:nowrap; margin:0; text-align:center; font-size:clamp(20px,5vw,26px); letter-spacing:.08em; }
html[data-theme] .sx-brand p, html[data-theme] .sx-brand .sx-subtitle { flex:0 0 100%; grid-column:1/-1; white-space:normal; overflow-wrap:anywhere; text-align:center; line-height:1.5; }

@media(max-width:767px) { body:has(.mobile-nav) .chrono-theme-control, body:has(.mobile-nav) .chrono-theme-toggle { bottom:calc(80px + env(safe-area-inset-bottom)); } }
html[data-theme="light"] .sx-stage { --sx-btn-bg:linear-gradient(135deg,#b58922,#8f6c14 55%,#70530d); --sx-btn-text:#fff8e6; }
html[data-theme] .sx-stage .sx-btn:disabled { opacity:.68; }
html[data-theme] .sx-stage .sx-theme-toggle { display:none !important; }
html[data-theme] .sx-chronoseq-brand-mark span[aria-label*="当前"] { display:none !important; }
@media(min-width:768px) {
  html[data-theme] .sx-mobile-shell:not([data-layout]) .sx-mobile-container {
    max-width:680px !important; margin:28px auto !important; border-radius:24px !important;
    padding:28px 36px 40px !important; border:1px solid var(--chrono-border) !important;
  }
}
