/* 太阳AI 站点定制样式（由 nginx 注入 <link> 加载） */

/* 页头：只保留图标并放大，隐藏站名文字 */
header a[href="/"] div.size-7 {
  width: 3.25rem !important;
  height: 3.25rem !important;
}
header a[href="/"] > span[title] {
  display: none !important;
}
header a[href="/"] {
  gap: 0 !important;
}

/* 充值页：把「没有兑换码？去获取」变成购买卡片 */
p:has(> a[href*="wzyp.cn"]) {
  font-size: 0 !important;
  margin: 14px 0 0 !important;
}
p:has(> a[href*="wzyp.cn"]) > a {
  display: flex !important;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #ffd8a8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 1.5;
  transition: 0.15s;
}
p:has(> a[href*="wzyp.cn"]) > a:hover {
  border-color: #ff9a3c;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.18);
  transform: translateY(-1px);
}
p:has(> a[href*="wzyp.cn"]) > a::before {
  content: "购买卡密 · 自动发码";
  font-size: 15px;
  font-weight: 700;
  color: #7a3e00;
}
p:has(> a[href*="wzyp.cn"]) > a::after {
  content: "支付宝 / 微信付款，购码后回到本页粘贴兑换 →";
  font-size: 12.5px;
  color: #9a6231;
}
p:has(> a[href*="wzyp.cn"]) > a > svg {
  display: none;
}

/* 深色模式 */
.dark p:has(> a[href*="wzyp.cn"]) > a {
  background: linear-gradient(135deg, #2a1c0e, #3a2410);
  border-color: #5a3a18;
}
.dark p:has(> a[href*="wzyp.cn"]) > a::before {
  color: #ffc078;
}
.dark p:has(> a[href*="wzyp.cn"]) > a::after {
  color: #c99b6a;
}
