/* 登入頁的樣式：只有這一頁用的；幾頁共用的在 /css/app.css，這一份排在它後面載入 */
/* ---------- 登入 ---------- */
.login { display: grid; gap: 24px; padding-block: 32px 72px; align-items: center; }
.login__aside { display: none; }
.login__art--m { width: 132px; margin: -8px auto 8px; }
.login__body { color: var(--text); margin-bottom: 22px; }
.login__small { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.login__small + .login__small { margin-top: 8px; }
.login__small .ic { margin-top: 3px; width: 16px; height: 16px; }
.login__returning { display: grid; justify-items: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); text-align: center; font-weight: 600; color: var(--ink); }
.login__returning .spin .ic { width: 24px; height: 24px; }
/* 產頁時寫的登入卡（gen-pages.mjs 的 loginHtml）：剛登入回來或登入過的（data-who 是 in、pending）不先放登入鈕，
   放一樣高的灰條，程式換上「已經登入，正在回到…」 */
.login__wait { display: none; }
html[data-who="in"] .login[data-static] .gbtn, html[data-who="pending"] .login[data-static] .gbtn { display: none; }
html[data-who="in"] .login[data-static] .login__wait, html[data-who="pending"] .login[data-static] .login__wait { display: block; height: 50px; border-radius: 12px; }
@media (min-width: 900px) {
  .login { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; }
  .login__aside { display: grid; gap: 14px; justify-items: start; }
  .login__art { width: 300px; }
  .login__asideTitle { color: var(--ink); font-weight: 750; font-size: var(--fs-h2); line-height: 1.35; }
  .login__places { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 22px; }
  .login__places li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 0.9375rem; }
  .login__places img { border-radius: 8px; }
  .login__art--m { display: none; }
}
