/* Banner đồng ý cookie (0.24.29): hộp gọn ở góc trái dưới, màu và bo góc theo theme (--f-*).
   Máy tính: lời một dòng, nút nhỏ một hàng. Điện thoại: dải thấp sát đáy, lời tối đa 2 dòng, 3 nút một hàng. */
.fox40-consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 100; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; display: grid; gap: 10px; padding: 12px 14px; background: var(--f-bg, #fff); color: var(--f-text, #1d2327); border: 1px solid var(--f-border, rgba(127, 127, 127, .25)); border-radius: 14px; box-shadow: var(--f-shadow, 0 8px 28px rgba(0, 0, 0, .18)); font-size: 13px; line-height: 1.45; }
.fox40-consent__text { margin: 0; white-space: nowrap; line-height: inherit !important; font-size: inherit !important; }
.fox40-consent__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fox40-consent__opts { display: grid; gap: 8px; margin: 0; max-width: 520px; white-space: normal; }
.fox40-consent__opts[hidden] { display: none; }
.fox40-consent__opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer; }
.fox40-consent__opt input { margin-top: 3px; }
.fox40-consent__opt b { display: block; }
.fox40-consent__opt small { color: var(--f-muted, #646970); }
.fox40-consent__act { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fox40-consent__btn { min-height: 32px; padding: 4px 12px; border: 1px solid var(--f-border, rgba(127, 127, 127, .35)); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.fox40-consent__btn:hover { border-color: var(--f-accent, #1d4ed8); }
.fox40-consent__btn.is-primary { background: var(--f-accent, #1d4ed8); border-color: var(--f-accent, #1d4ed8); color: var(--f-accent-ink, #fff); font-weight: 600; }
.fox40-consent__btn:focus-visible { outline: 2px solid var(--f-accent, #1d4ed8); outline-offset: 2px; }
/* Màn vừa: lời được xuống dòng trong hộp hẹp. */
@media (max-width: 899px) { .fox40-consent { width: auto; max-width: min(520px, calc(100vw - 32px)); } .fox40-consent__text { white-space: normal; } }
/* Điện thoại: sát đáy, chừa menu app nếu có; nút chia đều một hàng. */
@media (max-width: 599px) {
  .fox40-consent { left: 8px; right: 8px; bottom: calc(8px + var(--fox40-appnav-h, 0px) + env(safe-area-inset-bottom, 0px)); max-width: none; gap: 8px; padding: 10px 12px; font-size: 12.5px; line-height: 1.4; }
  .fox40-consent__act { flex-wrap: nowrap; }
  .fox40-consent__btn { flex: 1 1 0; min-width: 0; min-height: 34px; padding: 4px 8px; font-size: 12.5px; }
}
