/* Cookie 同意橫幅（js/ui/consent.js 產生）與頁尾「Cookie 設定」。顏色沿用 base.css 的品牌 token。 */
.consent-banner {
  position: fixed;
  inset: auto 16px calc(16px + env(safe-area-inset-bottom, 0px)) 16px;
  z-index: 70; /* 蓋在浮動「線上諮詢」鈕（45）與客服遮罩（60）之上：開著客服也能做同意選擇 */
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0 auto;
  background: #ffffff;
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(11, 31, 77, 0.2);
  font-family: var(--font-sans);
}
.consent-banner[hidden] { display: none; }
.consent-inner { padding: 18px 20px; display: grid; gap: 10px; }
.consent-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--blue-950); }
.consent-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--slate-700); }
.consent-text a { color: var(--blue-800); }
.consent-custom { display: grid; gap: 8px; }
.consent-custom[hidden] { display: none; }
.consent-option { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.consent-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-950); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* 三個選擇同樣醒目：同色、同大小，不把「接受」做成唯一的主按鈕。 */
.consent-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--blue-950);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-950);
  font: 700 15px/1 var(--font-sans);
  cursor: pointer;
}
.consent-button[hidden] { display: none; }
.consent-button:hover { background: var(--blue-50); }
.consent-button:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; }
@media (max-width: 520px) {
  .consent-banner { inset: auto 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px; }
  .consent-button { flex: 1 1 100%; }
}
