@charset "UTF-8";
:root {
  --text: #26364d;
  --muted: #75869e;
  --blue: #3868e7;
  --border: #e2e9f3;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #f4f7fc;
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #9ebafa; outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.page { max-width: 1280px; margin: 0 auto; padding: 48px 36px 32px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.brand { display: flex; gap: 16px; align-items: center; }
.brand-icon { width: 54px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--blue); color: white; box-shadow: 0 5px 14px #3868e71c; }
.brand-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.eyebrow { font-size: 11px; letter-spacing: 2.1px; color: #8295b2; display: block; margin-bottom: 3px; font-weight: 500; }
h1 { font-size: 30px; line-height: 1.45; margin: 0; font-weight: 650; }
#refresh { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce4f0; background: white; color: #647b9e; border-radius: 10px; padding: 11px 17px; font-size: 15px; box-shadow: 0 2px 5px #283c5d03; }
#refresh:hover { border-color: #b8caed; color: var(--blue); }
#refresh svg { width: 17px; height: 17px; }
#refresh:disabled { opacity: .55; cursor: wait; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 15px; margin-bottom: 25px; }
.intro p { margin: 0; }
.count { background: #eaf0fb; color: #6581b2; padding: 5px 12px; border-radius: 7px; font-size: 13px; white-space: nowrap; }
.notice { border: 1px solid #eee3cb; background: #fffcf5; color: #9e7d40; padding: 14px 18px; border-radius: 10px; font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.notice.error { background: #fff5f5; border-color: #f2dfe0; color: #b36272; }
.group { margin: 0 0 30px; }
.group-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 2px 16px; }
.group-title { display: flex; align-items: center; gap: 10px; }
.group-title h2 { font-size: 17px; font-weight: 500; margin: 0; color: #657b9b; }
.group-number { width: 27px; height: 27px; display: grid; place-items: center; background: #e9effa; border: 1px solid #dce6f7; color: #7390be; border-radius: 7px; font-size: 12px; }
.group-meta { font-size: 13px; color: #8b9ab0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 23px; align-items: stretch; }
.account-card { min-width: 0; background: white; border: 1px solid var(--border); border-radius: 17px; box-shadow: 0 5px 22px #25395505; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.account-card:hover { border-color: #c6d7f4; box-shadow: 0 7px 26px #305a9810; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 23px; border-bottom: 1px solid #edf1f7; background: linear-gradient(115deg, #fbfcff, white); }
.card-heading h3 { font-size: 21px; font-weight: 600; margin: 0; color: #354e73; letter-spacing: .3px; }
.card-decoration { width: 32px; height: 32px; display: grid; place-items: center; background: #f0f5ff; color: #8da9dd; border-radius: 9px; }
.card-decoration svg { width: 19px; height: 19px; }
.card-fields { display: grid; gap: 20px; padding: 23px; }
.field { min-width: 0; }
.field-label { display: block; font-size: 14px; font-weight: 500; color: #8798b0; margin-bottom: 8px; }
.value-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 36px; }
.field-value { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; min-width: 0; line-height: 1.6; color: #355278; }
.password .field-value { color: #536c91; font-weight: 400; }
.copy { border: 0; background: #f4f7fc; color: #8ba2c6; padding: 9px; width: 36px; height: 36px; line-height: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.copy svg { width: 17px; height: 17px; }
.copy:hover { background: #eaf1ff; color: var(--blue); }
.verification { border-top: 1px solid #edf1f7; padding-top: 18px; }
.code-value { color: var(--blue); font-size: 30px; letter-spacing: 5px; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 600; }
.code-state { display: inline-flex; align-items: center; gap: 8px; background: #f6f8fc; border: 1px solid #e9eef6; color: #8194b0; border-radius: 8px; padding: 7px 12px; font-size: 14px; white-space: nowrap; min-height: 38px; }
.code-state.pending { background: #fffcf5; color: #ad8b48; border-color: #efe3c7; }
.code-state.error { color: #bb6c78; background: #fff6f6; border-color: #f7e4e6; }
.code-state i { height: 6px; width: 6px; background: currentColor; display: inline-block; border-radius: 50%; opacity: .7; }
.loading, .empty { text-align: center; color: #8296b4; padding: 60px 22px; background: white; border: 1px solid var(--border); border-radius: 16px; font-size: 16px; }
.loading p { margin: 12px 0 0; }
.spinner { width: 22px; height: 22px; border: 2px solid #e7edf7; border-top-color: #7ea0e6; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
footer { display: flex; justify-content: space-between; gap: 20px; color: #91a2ba; font-size: 13px; margin-top: 30px; }
footer > span:first-child { display: flex; align-items: center; gap: 8px; }
footer i { width: 6px; height: 6px; display: inline-block; background: #7bb49e; border-radius: 50%; }
#toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); padding: 12px 22px; border-radius: 10px; background: #334a6d; color: white; font-size: 15px; box-shadow: 0 5px 25px #1c36541c; max-width: calc(100% - 30px); z-index: 20; }
@media (max-width: 1100px) {
  .page { padding: 38px 28px 28px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 680px) {
  .page { padding: 28px 18px 24px; }
  header { margin-bottom: 22px; }
  .brand { gap: 12px; }
  .brand-icon { width: 44px; height: 47px; border-radius: 13px; }
  .brand-icon svg { width: 24px; height: 24px; }
  h1 { font-size: 27px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  #refresh { padding: 9px 12px; font-size: 14px; }
  .intro { font-size: 14px; align-items: flex-start; margin-bottom: 22px; gap: 14px; }
  .intro p { max-width: 245px; }
  .count { font-size: 12px; padding: 4px 9px; }
  .notice { font-size: 13px; padding: 13px 15px; margin-bottom: 24px; }
  .group-heading { align-items: flex-start; }
  .group-title h2 { font-size: 16px; }
  .group-meta { font-size: 12px; text-align: right; max-width: 42%; overflow-wrap: anywhere; }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-heading { padding: 18px 22px; }
  .card-heading h3 { font-size: 22px; }
  .card-fields { padding: 22px; gap: 22px; }
  .field-label { font-size: 15px; }
  .field-value { font-size: 18px; }
  .copy { width: 38px; height: 38px; }
  .code-state { font-size: 14px; }
  .code-value { font-size: 32px; }
  footer { display: block; font-size: 12px; line-height: 2; }
  footer > span { display: block; }
  footer > span:last-child { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
  .account-card { transition: none; }
}
