/* ==========================================================
   曼陀雅华 · 登录/注册页电脑版分栏（>=1024 生效）
   目的：左侧深红品牌视觉、右侧登录卡；手机端完全不受影响。
   说明：品牌字用 .hero::before 生成，不依赖 HTML 里的额外元素，
         这样即使页面被整包部署覆盖，重新注入一行 link 即可恢复。
   ========================================================== */
@media (min-width: 1024px) {
  html, body { height: auto; min-height: 100%; }

  body {
    display: grid;
    grid-template-columns: 44% 1fr;
    grid-template-rows: 1fr auto auto;
    grid-template-areas:
      "hero stage"
      "hero agree"
      "hero note";
    min-height: 100vh;
    background: #fff;
  }

  .hero {
    grid-area: hero;
    height: auto !important;
    min-height: 100vh;
    margin: 0;
    padding: 0 7% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(155deg, #8E1010 0%, #5E0C0C 52%, #2E0606 100%) !important;
    position: relative;
    overflow: hidden;
  }

  /* 品牌名（纯 CSS 生成，不依赖 HTML 元素） */
  .hero::before {
    content: "曼陀雅华";
    display: block;
    font-family: "Noto Serif SC", "Songti SC", STSong, "SimSun", serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #F2DDB8;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(228, 194, 122, .32);
    position: relative;
    z-index: 2;
  }

  /* 右上柔光 */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background: radial-gradient(circle at 78% 22%, rgba(228, 194, 122, .18), transparent 52%);
  }

  .hero > * { position: relative; z-index: 2; }

  .hero .hi { font-size: 56px; line-height: 1.06; letter-spacing: 1px; }
  .hero .wel { margin-top: 18px; font-size: 19px; letter-spacing: 2.5px; }
  .hero .deco { position: static; width: 220px; height: auto; margin-top: 46px; opacity: .9; }

  .stage {
    grid-area: stage;
    align-self: center;
    justify-self: center;
    margin: 0;
    padding: 40px 0 20px;
  }

  .card {
    width: 436px;
    padding: 30px 34px 26px;
    border: 1px solid #EFE9DF;
    border-radius: 14px;
    box-shadow: 0 14px 46px rgba(74, 12, 12, .10);
  }
  .card-ghost { display: none; }

  .agreebar { grid-area: agree; justify-self: center; width: 436px; padding: 16px 0 0; margin: 0; }

  .note {
    grid-area: note;
    align-self: end;
    justify-self: center;
    width: 436px;
    margin: 14px 0 44px;
    padding: 0;
    font-size: 12px;
    line-height: 1.95;
  }

  .tabs .tab { font-size: 16px; padding: 9px 0 11px; }
  .fld { height: 54px; }
  .fld input { font-size: 15.5px; }
  .btn-main { height: 50px; font-size: 16.5px; }
  .regline { font-size: 14.5px; }
}
