/* SHUN API 认证页分栏布局(登录/注册/重置密码共用)
 * 经 nginx sub_filter 注入,仅命中新版前端认证布局:
 * div.relative.grid.h-svh.max-w-none > div.container
 * 壁纸由注入的小脚本按日期设置 --auth-wall(每日一换),
 * 未设置时回退到品牌 SVG 插画。lg(1024px)以下保持原版单栏 */
@media (min-width: 1024px) {
  div.relative.grid.h-svh.max-w-none:has(> div.container) {
    grid-template-columns: 1.08fr 1fr;
  }
  div.relative.grid.h-svh.max-w-none:has(> div.container)::before {
    content: "";
    display: block;
    height: 100%;
    background-color: #2e1065;
    background-image:
      linear-gradient(rgba(12, 10, 34, 0.32), rgba(12, 10, 34, 0.18) 30%, rgba(12, 10, 34, 0.28)),
      var(--auth-wall, url("/custom-assets/auth-side.svg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  /* 品牌 Logo + 站名压在深色壁纸上,改为白色并加投影 */
  div.relative.grid.h-svh.max-w-none:has(> div.container) > a {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  }
  div.relative.grid.h-svh.max-w-none:has(> div.container) > a img {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  }
}
