:root {
  --qt-green: #07c160;
  --qt-green-dark: #06ad56;
  --qt-bg: #ededed;
  --qt-card: #ffffff;
  --qt-text: #191919;
  --qt-sub: #888888;
  --qt-line: #e5e5e5;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--qt-text);
  background: var(--qt-bg);
  -webkit-font-smoothing: antialiased;
}
.qt-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: linear-gradient(135deg, #f6fbf8 0%, #e8f2ed 100%);
}
.qt-landing {
  min-height: 100vh; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; background: #f5f6f7;
}
.qt-card {
  width: 100%; max-width: 390px; background: var(--qt-card);
  border-radius: 16px; padding: 28px 24px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08); text-align: center;
}
.qt-brand { display: flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 24px; }
.qt-mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--qt-green);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; flex: none;
}
.qt-brand-txt h1 { margin: 0; font-size: 19px; font-weight: 600; }
.qt-brand-txt p { margin: 3px 0 0; font-size: 12px; color: var(--qt-sub); }
.qt-qr {
  width: 232px; height: 232px; margin: 0 auto 18px; display: flex;
  align-items: center; justify-content: center; border: 1px solid var(--qt-line);
  border-radius: 12px; padding: 10px; background: #fff;
}
.qt-qr svg { width: 100%; height: 100%; }
.qt-done {
  width: 88px; height: 88px; border-radius: 50%; background: var(--qt-green);
  color: #fff; font-size: 46px; display: flex; align-items: center; justify-content: center;
}
.qt-status { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.qt-status.ok { color: var(--qt-green); }
.qt-status.err { color: #e64340; }
.qt-goback {
  display: block; width: 100%; box-sizing: border-box; margin-top: 12px;
  padding: 12px 16px; border-radius: 8px; background: var(--qt-green);
  color: #fff; font-size: 15px; font-weight: 500; text-align: center; text-decoration: none;
}
.qt-timer { font-size: 12px; color: var(--qt-sub); margin-bottom: 18px; min-height: 16px; }
.qt-btn {
  display: block; width: 100%; border: 0; border-radius: 8px; background: var(--qt-green);
  color: #fff; font-size: 15px; font-weight: 500; padding: 12px 16px;
  cursor: pointer; text-decoration: none; text-align: center;
}
.qt-btn:hover { background: var(--qt-green-dark); }
.qt-btn:disabled { opacity: .55; cursor: default; }
.qt-hint { font-size: 12px; line-height: 1.7; color: var(--qt-sub); margin: 16px 0 0; text-align: left; }
.qt-request { text-align: left; background: #f7f7f7; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.qt-request-title { font-size: 15px; font-weight: 600; }
.qt-request-meta { font-size: 12px; color: var(--qt-sub); margin-top: 6px; word-break: break-all; }
.qt-label { display: block; text-align: left; font-size: 13px; color: #555; margin-bottom: 8px; }
.qt-input {
  width: 100%; border: 1px solid var(--qt-line); border-radius: 8px;
  padding: 12px; font-size: 15px; outline: none; margin-bottom: 16px;
}
.qt-input:focus { border-color: var(--qt-green); }
.qt-result { font-size: 13px; min-height: 18px; margin-top: 14px; line-height: 1.6; }
.qt-result.ok { color: var(--qt-green); }
.qt-result.err { color: #e64340; }
.qt-expired {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px;
  padding: 12px 14px; margin: 0 0 18px; text-align: left; line-height: 1.6;
}
.qt-expired strong { display: block; color: #c2410c; font-size: 14px; margin-bottom: 2px; }
.qt-expired span { display: block; color: #9a3412; font-size: 12px; }
@media (max-width: 420px) {
  .qt-card { padding: 22px 18px; border-radius: 14px; }
  .qt-qr { width: 210px; height: 210px; }
}

/* ---------- 语言切换器（原生 select，零 JS 依赖） ---------- */
.qt-langsel{display:inline-flex;align-items:center;gap:5px;line-height:1;flex:none}
.qt-langsel::before{content:"F310";font-size:14px;opacity:.85}
.qt-langsel-in{appearance:none;-webkit-appearance:none;border:1px solid #e5e7eb;background:transparent;color:#1f2937;border-radius:9px;padding:5px 8px;font-size:13px;font-family:inherit;cursor:pointer;max-width:138px}
.qt-langsel-in:focus{outline:2px solid rgba(79,70,229,.35);outline-offset:1px}
