/* Google AdSense 广告容器 — 与站点深色主题对齐
 * 未配置发布商 ID、或广告未填充时保持零占位，审核期不会露出空白框。
 * 只有 AdSense 回传 data-ad-status="filled" 后才套用卡片样式。
 */
.adsense-slot {
  margin: 14px 0 0;
}

.adsense-slot[hidden] { display: none; }

.adsense-slot .adsbygoogle {
  display: block;
  width: 100%;
}

.adsense-slot[data-adsense-filled="true"] {
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.adsense-slot[data-adsense-filled="true"]::before {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font: 12px var(--mono);
  letter-spacing: .09em;
  content: "广告";
}

/* AdSense 在深色站点里输出白底 iframe，保持边界干净 */
.adsense-slot ins.adsbygoogle iframe { background: #ffffff; }

@media (max-width: 580px) {
  .adsense-slot { margin-top: 10px; }
  .adsense-slot[data-adsense-filled="true"] { padding: 8px 9px 10px; }
}

/* 页脚隐私政策入口（AdSense 政策要求站点可披露广告与 Cookie 用法） */
.footer-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--quiet);
  white-space: nowrap;
}

.footer-link:hover { color: var(--acid); }

@media (max-width: 580px) {
  .footer-link { min-height: 28px; font-size: 13px; }
}
