:root {
  color-scheme: dark;
  --bg: #111214;
  --text: #eef0f4;
  --muted: #a5acb8;
  --mint: #d8dfe9;
  --border: #424953;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Noto Sans TC',
    'Microsoft JhengHei',
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
a {
  color: #d8dfe9;
}
button {
  cursor: pointer;
  border: 1px solid #596371;
  background: #303741;
  color: #edf2f8;
  padding: 10px 14px;
  border-radius: 8px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #d4deed;
  outline-offset: 3px;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a5afbf;
  margin-bottom: 8px;
}
.primary-button {
  background: linear-gradient(135deg, #edf1f6, #adb7c7);
  border: 1px solid #d4dfed;
  color: #161c25;
  font-weight: 650;
}
.account-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 30% 0, #353b45, transparent 65%), #111214;
}
.account-card {
  width: min(440px, 100%);
  padding: 40px;
  border: 1px solid #535c69;
  border-radius: 20px;
  background: #1c2129ee;
  box-shadow: 0 30px 100px #0006;
}
.account-brand {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #e5ebf3;
  margin-bottom: 36px;
  text-decoration: none;
}
.account-brand span {
  display: block;
  font-size: 12px;
  color: #a5b0c0;
  letter-spacing: 0.16em;
  font-weight: 400;
}
.account-card p {
  line-height: 1.8;
  color: #b2bdcd;
}
.account-card form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.account-card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.account-card input {
  background: #12161d;
  color: #e4ecf8;
  border: 1px solid #4d596c;
  padding: 12px;
  border-radius: 8px;
  min-width: 0;
  width: 100%;
}
.account-card small {
  color: #9daabc;
  line-height: 1.8;
  font-size: 12px;
}
#account-error {
  color: #e4ad8d;
  overflow-wrap: anywhere;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9faab9;
  margin: 18px 0;
  font-size: 12px;
}
.login-divider:before,
.login-divider:after {
  content: '';
  height: 1px;
  background: #515e72;
  flex: 1;
}
#google-button {
  min-height: 44px;
}
#google-status {
  font-size: 12px;
  color: #a5b2c6;
}
.info-card {
  width: min(720px, 100%);
}
.info-card .account-brand {
  margin-bottom: 28px;
}
.info-card h2 {
  font-size: 19px;
  margin-top: 28px;
}
.info-card p {
  overflow-wrap: anywhere;
}
.info-link {
  display: inline-block;
  text-decoration: none;
  color: #161c25;
  padding: 12px 20px;
  border-radius: 8px;
}
.info-card footer,
.login-footer {
  margin-top: 28px;
  font-size: 13px;
}
.login-footer {
  text-align: center;
}
@media (max-width: 520px) {
  .account-body {
    padding: 16px;
  }
  .account-card {
    padding: 26px;
  }
  h1 {
    font-size: 27px;
  }
  .account-brand {
    margin-bottom: 27px;
  }
}
