/* 吾爱邮箱 · 登录页
   配色对齐 www.52ta.top 默认主题（data-theme="A"）：深空灰 + 香槟金 */

:root {
  /* 背景层级 —— 取自站点 --bg / --bg-soft / --bg-elev */
  --bg: #0e0e10;
  --bg-soft: #161618;
  --bg-elev: #1b1b1e;

  /* 香槟金 —— 取自站点 --accent / --accent-2 / --accent-bright */
  --accent: #c9a96e;
  --accent-2: #b8902f;
  --accent-bright: #f0d9a0;
  --accent-soft: rgba(201, 169, 110, 0.12);
  --accent-line: rgba(201, 169, 110, 0.32);

  /* 文字 */
  --text: #f2efe8;
  --text-dim: #8f8a80;
  --text-faint: #5d5850;

  /* 描边与圆角 —— 取自站点 --radius / --radius-lg / --shadow */
  --line: #2a2823;
  --line-soft: rgba(255, 255, 255, 0.07);
  --radius: 14px;
  --radius-lg: 22px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* 金色径向光晕 —— 呼应站点 hero 区的上层光感 */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(680px 380px at 50% -8%, rgba(201, 169, 110, 0.13), transparent 68%),
    radial-gradient(520px 320px at 82% 108%, rgba(184, 144, 47, 0.07), transparent 70%);
}

/* ---------- 卡片 ---------- */

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 38px 36px 30px;
  background: linear-gradient(165deg, #1a1a1d 0%, #141416 58%, #121213 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

/* 顶部金色渐变描边，从左淡出 */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-line) 22%,
    var(--accent) 50%,
    var(--accent-line) 78%,
    transparent
  );
}

/* ---------- 品牌头 ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: none;
  filter: drop-shadow(0 4px 14px rgba(201, 169, 110, 0.28));
}

.brand-text {
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  background: linear-gradient(96deg, #f7e7be, #ddbe7c 46%, #a8843c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  margin: 5px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.lead {
  margin: 0 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 表单 ---------- */

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: #0f0f11;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

input::placeholder {
  color: var(--text-faint);
}

input:focus {
  background: #121214;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

input:disabled {
  opacity: 0.55;
}

/* 账号 + 域名后缀组合框 */
.input-group {
  display: flex;
  align-items: stretch;
  background: #0f0f11;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.input-group:focus-within {
  background: #121214;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-group input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: none;
}

.input-group input:focus {
  background: transparent;
  box-shadow: none;
}

.suffix {
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}

/* ---------- 按钮 ---------- */

button {
  position: relative;
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #d8bc83, var(--accent) 42%, var(--accent-2));
  color: #1c1710;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(184, 144, 47, 0.22);
  transition: filter 0.18s, box-shadow 0.18s, transform 0.1s;
}

button:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 8px 26px rgba(184, 144, 47, 0.32);
}

button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 3px 12px rgba(184, 144, 47, 0.24);
}

button:disabled {
  cursor: default;
  filter: grayscale(0.25) brightness(0.72);
  box-shadow: none;
}

/* 加载态：文字隐去，露出转圈 */
.btn-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(28, 23, 16, 0.28);
  border-top-color: #1c1710;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

button.loading .btn-label {
  opacity: 0;
}

button.loading .btn-spinner {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 消息 ---------- */

.msg {
  display: none;
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.6;
}

.msg.show {
  display: block;
  animation: fade-in 0.22s ease;
}

.msg.error {
  background: rgba(190, 78, 70, 0.13);
  border: 1px solid rgba(190, 78, 70, 0.3);
  color: #e9a49c;
}

.msg.info {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-bright);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
}

/* ---------- 脚注 ---------- */

.hint {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.75;
  color: #6b665d;
}

.hint code {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #96908a;
}

.hint b {
  color: var(--accent);
  font-weight: 500;
}

.site-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #4a463f;
}

.site-foot a {
  color: #6b665d;
  text-decoration: none;
  transition: color 0.18s;
}

.site-foot a:hover {
  color: var(--accent);
}

.site-foot .dot {
  color: #33302b;
}

/* ---------- 记住我 ---------- */

.remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 18px;
  padding: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.remember input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 15px;
  height: 15px;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid #46423a;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.remember:hover input {
  border-color: var(--accent-line);
}

.remember input:checked {
  border-color: transparent;
  background: linear-gradient(135deg, #f0d9a0 0%, var(--accent) 45%, var(--accent-2) 100%);
}

.remember input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 3.5px;
  height: 7.5px;
  border: solid #17130c;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.remember input:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
}

.remember-text {
  font-size: 12.5px;
  color: #a8a299;
  transition: color 0.18s;
}

.remember:hover .remember-text {
  color: var(--text);
}

.remember input:checked ~ .remember-text {
  color: var(--accent);
}

.remember-note {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}

.remember input:checked ~ .remember-note {
  opacity: 0;
  transition: opacity 0.18s;
}

/* ---------- 社交登录位（暂未启用） ---------- */

.social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social[hidden] {
  display: none;
}

/* ---------- 连接诊断 ---------- */

/* 这两个是按钮，但必须完全摆脱全局 button 的主按钮样式（金色渐变、满宽、46px 高）。
   注意：所有尺寸都要写在 button.xxx 上，否则会被全局 button 规则压掉。 */
button.diag-link,
button.diag-close {
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-faint);
  box-shadow: none;
  overflow: visible;
  letter-spacing: normal;
  font-weight: 400;
  transform: none;
}

button.diag-link {
  display: block;
  width: 100%;
  margin: 18px auto 0;
  padding: 4px 2px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: color 0.18s;
}

button.diag-link:hover,
button.diag-close:hover {
  filter: none;
  box-shadow: none;
  transform: none;
}

button.diag-link:hover {
  color: var(--accent);
}

/* 登录失败后高亮，把用户引向诊断而不是反复试密码 */
button.diag-link.prompt {
  color: var(--accent);
  font-weight: 500;
}

button.diag-link[hidden] {
  display: none;
}

.diag {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  animation: fade-in 0.22s ease;
}

.diag[hidden] {
  display: none;
}

.diag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.diag-head > span {
  white-space: nowrap;
  flex: 0 0 auto;
}

button.diag-close {
  flex: 0 0 auto;
  width: auto;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s;
}

button.diag-close:hover {
  color: var(--text);
}

.diag-body {
  padding: 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
  text-align: left;
}

.diag-row {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.diag-row:last-child {
  border-bottom: 0;
}

.diag-dot {
  flex: 0 0 auto;
  width: 14px;
  text-align: center;
  font-size: 11px;
}

.diag-dot.ok {
  color: #6fbf73;
}

.diag-dot.bad {
  color: #d4736a;
}

.diag-label {
  flex: 0 0 84px;
  color: var(--text-faint);
}

.diag-value {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
}

/* 探测结果：主机名与状态独占一行，原始返回另起一块，避免挤成竖条 */
.diag-row.probe {
  align-items: flex-start;
}

.diag-main {
  flex: 1;
  min-width: 0;
}

.diag-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.diag-host {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
}

.diag-state {
  font-size: 11px;
  color: var(--text-faint);
}

.diag-raw {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--text-dim);
  word-break: break-word;
}

.diag-hint {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  border-left: 2px solid var(--accent-line);
  background: rgba(255, 255, 255, 0.02);
}

.diag-hint.error {
  border-left-color: rgba(190, 78, 70, 0.62);
}

.diag-hint.warn {
  border-left-color: rgba(201, 169, 110, 0.62);
}

.diag-hint b {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.diag-hint span {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* ---------- 已记住设备：免密进入遮罩 ---------- */

.resume {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(14, 14, 16, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resume.show {
  display: grid;
  animation: fade-in 0.24s ease;
}

.resume-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  animation: rise-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.resume-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.22);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.resume-title {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.resume-email {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  word-break: break-all;
}

.resume-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-faint);
}

.resume-switch {
  margin-top: 14px;
  padding: 8px 16px;
  font: inherit;
  font-size: 12px;
  color: #96908a;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

.resume-switch:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 460px) {
  body {
    padding: 20px 16px;
  }

  .card {
    padding: 30px 22px 26px;
    border-radius: 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 19px;
  }

  .suffix {
    padding: 0 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 双通道：分隔线 / 次按钮 / 通道说明 ---------- */

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--text-faint);
  user-select: none;
}

.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
}

.or span {
  flex: none;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

/* 次按钮必须写在 button.xxx 上，否则会被全局 button 的金色渐变与满宽规则压掉 */
button.btn-ghost {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: none;
}

button.btn-ghost:hover:not(:disabled) {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-bright);
  filter: none;
  box-shadow: none;
}

button.btn-ghost:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

button.btn-ghost:disabled {
  filter: none;
  opacity: 0.6;
  box-shadow: none;
}

button.btn-ghost .btn-spinner {
  display: none;
}

.channel-note {
  margin: 14px 0 2px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11.5px;
  line-height: 1.9;
  color: #6b665d;
  text-align: left;
}

.channel-note b {
  margin-right: 6px;
  font-weight: 500;
  color: var(--accent);
}

/* ============================================================
   左右分栏：左侧产品线宣传 / 右侧登录
   ============================================================ */

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 472px;
  gap: 0;
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- 左栏 ---------- */

.showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 40px 52px 40px 8px;
  border-right: 1px solid var(--line-soft);
}

.show-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.show-mark {
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 4px 14px rgba(201, 169, 110, 0.26));
}

.show-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.show-studio {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.show-domain {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}

.show-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.01em;
  color: var(--text);
}

.show-title em {
  font-style: normal;
  background: linear-gradient(96deg, #f7e7be, #ddbe7c 46%, #a8843c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.show-sub {
  margin: 0 0 22px;
  max-width: 460px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.show-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(162deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s, background 0.22s;
}

.show-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background: linear-gradient(162deg, rgba(201, 169, 110, 0.09), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.46);
}

.show-card:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
}

/* 宣传图区：深色底 + 细网格，衬托金色图形 */
.show-art {
  position: relative;
  aspect-ratio: 2.35 / 1;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(201, 169, 110, 0.13), transparent 62%),
    linear-gradient(180deg, #141416, #0f0f11);
  border-bottom: 1px solid var(--line-soft);
}

.show-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 90% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.show-art svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.show-badge {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.72);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  backdrop-filter: blur(4px);
}

.show-badge i,
.show-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5fd08a;
  box-shadow: 0 0 7px rgba(95, 208, 138, 0.9);
}

.show-meta {
  padding: 12px 14px 14px;
}

.show-meta h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.show-host {
  margin: 5px 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--accent);
  opacity: 0.85;
}

.show-desc {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.72;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--text-faint);
}

.show-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.04em;
}

.show-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}

.show-more:hover {
  color: var(--accent-bright);
}

/* ---------- 右栏 ---------- */

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 0 26px 52px;
}

.auth .card {
  max-width: 420px;
}

.auth .site-foot {
  margin: 0;
}

/* ---------- 窄屏：宣传让位，登录优先 ---------- */

@media (max-width: 1080px) {
  .shell {
    grid-template-columns: minmax(0, 1fr) 456px;
    padding: 0 28px;
  }

  .showcase {
    padding: 36px 32px 36px 0;
  }

  .auth {
    padding: 36px 0 36px 36px;
  }

  .show-desc {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 920px) {
  .shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 40px;
  }

  .showcase {
    display: none;
  }

  .auth {
    width: 100%;
    padding: 0;
  }

  .auth .card {
    width: 100%;
  }
}

/* 矮屏（笔记本 1280×800 等）：整体收紧，避免出现滚动条 */
@media (min-width: 921px) and (max-height: 880px) {
  .shell {
    min-height: 0;
  }

  .auth {
    padding: 16px 0 16px 52px;
  }

  .card {
    padding: 26px 30px 22px;
  }

  .brand {
    margin-bottom: 18px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .lead {
    margin-bottom: 16px;
    padding-bottom: 15px;
  }

  .field {
    margin-bottom: 12px;
  }

  .showcase {
    padding: 24px 52px 24px 8px;
  }

  .show-brand {
    margin-bottom: 18px;
  }

  .show-sub {
    margin-bottom: 16px;
  }

  .show-foot {
    margin-top: 14px;
    padding-top: 12px;
  }
}

