/* ===== Me API 皮肤 ===== */
:root {
  --meapi-pink-1: rgba(255, 214, 224, 0.95);
  --meapi-pink-2: rgba(255, 236, 242, 0.95);
  --meapi-pink-3: rgba(255, 199, 214, 0.80);
}

/* 页面底色 */
body {
  background: linear-gradient(180deg, #fff3f6 0%, #fff8fa 40%, #ffffff 100%) !important;
}

/* 首页：锁定一屏，不出现滚动条 */
html.meapi-home, html.meapi-home body { height: 100%; overflow: hidden !important; }

/* 背景光斑改粉色，并铺满（原来是 64px 平铺） */
div[class*="to_right"] {
  background-image:
    radial-gradient(55% 45% at 18% 18%, var(--meapi-pink-1) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(50% 45% at 82% 28%, var(--meapi-pink-3) 0%, rgba(255,255,255,0) 72%),
    radial-gradient(60% 50% at 50% 95%, var(--meapi-pink-2) 0%, rgba(255,255,255,0) 70%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 顶栏保留原样，加淡粉底 */
header {
  background: linear-gradient(180deg, rgba(255,246,249,.96) 0%, rgba(255,255,255,.75) 100%) !important;
  backdrop-filter: blur(8px);
}

/* 首页 hero 高度收进一屏 */
html.meapi-home section:first-of-type {
  min-height: calc(100vh - 72px) !important;
  padding-top: 84px !important;
  padding-bottom: 40px !important;
  display: flex !important;
  align-items: center !important;
}

/* 隐藏首页多余区块 */
.meapi-gone { display: none !important; }

/* Logo 卡片 */
[data-meapi-logo] {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 160, 190, 0.35) !important;
}

/* 主按钮改成粉色渐变 */
html.meapi-home [data-meapi-btn="primary"] {
  background: linear-gradient(135deg, #ff9ec0 0%, #ff7aa8 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 22px rgba(255, 122, 168, .35) !important;
}

/* 登录/注册页粉色背景 */
html.meapi-auth body {
  background: linear-gradient(160deg, #fff2f6 0%, #ffe9f1 42%, #ffffff 100%) !important;
  background-attachment: fixed !important;
}

/* 只隐藏"让密码更强"相关条目，保留 8-128 提示 */
.meapi-hide-pwreq { display: none !important; }

/* ===== 首页背景：直接铺粉色渐变，关掉蓝色光斑 ===== */
html.meapi-home div[class*="min-h-svh"],
html.meapi-home div[class*="bg-background"] {
  background: linear-gradient(160deg, #fff0f5 0%, #ffe7f0 38%, #fff6fa 72%, #ffffff 100%) !important;
}
html.meapi-home div[class*="-z-10"] {
  background-image: none !important;
  opacity: 0 !important;
}
/* 首页锁定一屏，禁止滚动 */
html.meapi-home, html.meapi-home body {
  height: 100% !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}
html.meapi-home section {
  margin-bottom: 0 !important;
}
