/* ============ AOSS 品牌覆盖样式 ============ */

/* ---- 顶栏：logo 与站名放大 ---- */
header a.group > div { width: 3rem !important; height: 3rem !important; }
header a.group > span { font-size: 1.25rem !important; }

/* ---- 隐藏深色/浅色切换（站点锁定深色主题） ---- */
header button:has(.lucide-sun),
header button:has(.lucide-moon) { display: none !important; }

/* ---- 认证页（登录 / 注册 / 找回密码）品牌化 ---- */

/* 深色底 + 品牌光晕 */
.grid.h-svh.max-w-none {
  background: #070B16 !important;
  position: relative;
  overflow: hidden;
}
.grid.h-svh.max-w-none::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  top: -180px; left: 6%; background: rgba(31,105,177,.28); filter: blur(120px); pointer-events: none;
}
.grid.h-svh.max-w-none::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  bottom: -160px; right: 8%; background: rgba(249,216,126,.12); filter: blur(120px); pointer-events: none;
}

/* 左上角品牌区 */
.grid.h-svh > a { z-index: 2; }
.grid.h-svh > a .h-8.w-8,
.grid.h-svh > a .relative.h-8 { width: 2.75rem !important; height: 2.75rem !important; }
.grid.h-svh > a h1 { color: #E8ECF5 !important; font-size: 1.5rem !important; }

/* 表单卡片 */
.grid.h-svh .container { position: relative; z-index: 1; }
.grid.h-svh .container > div {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 44px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}

/* 文字配色 */
.grid.h-svh h2 { color: #FFFFFF !important; }
.grid.h-svh p,
.grid.h-svh label { color: #97A1B7 !important; }
.grid.h-svh a { color: #F9D87E !important; }

/* 输入框 */
.grid.h-svh input {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #E8ECF5 !important;
}
.grid.h-svh input::placeholder { color: #5A6a86 !important; }
.grid.h-svh input:focus-visible {
  border-color: rgba(249,216,126,.5) !important;
  --ring: rgba(249,216,126,.35) !important;
}

/* 密码可见性切换按钮图标色 */
.grid.h-svh button[aria-label*="password" i] { color: #97A1B7 !important; }

/* 提交按钮：品牌金 */
.grid.h-svh button[type="submit"] {
  background: linear-gradient(120deg, #F9D87E, #D9A93E) !important;
  color: #1A1405 !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 24px rgba(249,216,126,.25);
}
.grid.h-svh button[type="submit"]:hover {
  box-shadow: 0 8px 32px rgba(249,216,126,.4);
}
