:root { color-scheme: dark; font-family: Arial, "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: #fff; background: #13222a; }
.scene { position: fixed; inset: 0; background: linear-gradient(90deg, rgba(10, 23, 28, .86), rgba(13, 28, 33, .35) 68%, rgba(12, 26, 30, .22)), url('/tokenone-login/background.jpg') center / cover no-repeat; }
.page { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; width: min(100% - 64px, 1280px); margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { color: #fff; font-size: 23px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 400; opacity: .84; }
.domain { font-size: 13px; color: rgba(255,255,255,.75); }
main { display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; width: min(100%, 570px); padding: 24px 0 80px; }
.eyebrow { font-size: 12px; font-weight: 700; color: #b7e4d8; }
h1 { margin: 18px 0 10px; font-size: 48px; font-weight: 650; line-height: 1.2; }
p { margin: 0; line-height: 1.65; }
main > p:first-of-type { margin-bottom: 30px; color: #e4eeec; font-size: 17px; }
button { width: min(100%, 330px); min-height: 52px; padding: 0 20px; border: 0; border-radius: 6px; background: #fff; color: #173e36; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #e3f7ef; }
button:disabled { cursor: wait; opacity: .75; }
button:focus-visible, a:focus-visible { outline: 3px solid #f8bc58; outline-offset: 3px; }
.progress { width: min(100%, 330px); height: 3px; overflow: hidden; background: rgba(255,255,255,.28); }
.progress span { display: block; width: 34%; height: 100%; background: #75d8bc; animation: loading 1.4s ease-in-out infinite alternate; }
@keyframes loading { from { transform: translateX(0); } to { transform: translateX(195%); } }
#retry { margin-top: 28px; }
#signin, #back { margin-top: 18px; color: #e5f7f0; text-underline-offset: 4px; }
.status { min-height: 30px; margin-top: 12px; color: #fff0c4; font-size: 14px; }
.terms { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 12px; }
.terms a { color: #fff; text-underline-offset: 3px; }
footer { display: flex; justify-content: space-between; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.28); font-size: 12px; color: rgba(255,255,255,.72); }
@media (max-width: 600px) {
  .scene { background-position: 58% center; }
  .page { width: min(100% - 40px, 480px); }
  header { min-height: 78px; }
  .brand { font-size: 20px; }
  .domain { display: none; }
  main { padding-bottom: 50px; }
  h1 { font-size: 38px; }
  button { width: 100%; }
}
