.cookie-card {
  position: fixed; left: max(24px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80;
  width: min(442px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  padding: 27px; border-radius: 17px; border: 1px solid #d7dfe7; background: #fff; color: #202d39;
  box-shadow: 0 20px 65px #0005, 0 3px 12px #0002; color-scheme: light; text-align: left;
}
.cookie-card::selection { background: #d5e9f9; color: #142d41; }
.cookie-card .cookie-brand { color: #6f8394; font: 600 .68rem/1.5 var(--font); letter-spacing: .14em; margin: 0 30px 18px 0; }
.cookie-card h2 { font-size: 1.38rem; line-height: 1.28; letter-spacing: -.035em; font-weight: 650; color: #172a3a; margin: 0 24px 12px 0; }
.cookie-card h2:focus { outline: none; }
.cookie-card > p.cookie-description { font-size: .88rem; line-height: 1.7; color: #5c6d7a; margin: 0; }
.cookie-close { position: absolute; right: 15px; top: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f0f3f6; color: #465a6c; font-size: 1.35rem; line-height: 1; }
.cookie-close:hover { background: #e5ebf0; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 23px; }
.cookie-button { min-height: 47px; border: 1px solid transparent; border-radius: 7px; padding: 11px 13px; font-size: .87rem; font-weight: 600; line-height: 1.4; text-align: center; }
.cookie-accept { background: #c0d7e8; border-color: #c0d7e8; color: #112332; }
.cookie-accept:hover { background: #e4f0fa; border-color: #e4f0fa; }
.cookie-reject { background: #343e48; border-color: #343e48; color: #fff; }
.cookie-reject:hover { background: #232e38; }
.cookie-manage { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 43px; margin-top: 7px; padding: 10px 0; border: 0; background: transparent; color: #345d7c; font-size: .86rem; font-weight: 550; }
.cookie-manage::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.cookie-manage[aria-expanded='true']::after { transform: rotate(225deg); margin-top: 3px; }
.cookie-card .cookie-fineprint { font-size: .74rem; color: #788998; line-height: 1.65; margin: 8px 0 0; }
.cookie-categories { margin-top: 17px; padding-top: 22px; border-top: 1px solid #e0e7ed; }
.cookie-card h3 { color: #2a3f50; font-size: 1rem; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; }
.cookie-card #cookie-saved-note { font-size: .78rem; line-height: 1.6; color: #718595; margin: 8px 0 18px; }
.cookie-category { padding: 16px; border: 1px solid #e4eaf0; border-radius: 9px; background: #f7f9fb; }
.cookie-category + .cookie-category { margin-top: 9px; }
.cookie-category-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-category h4, .cookie-category label { font-family: var(--font); font-size: .86rem; font-weight: 600; color: #243c4e; line-height: 1.5; margin: 0; }
.cookie-card .cookie-category p { font-size: .79rem; color: #647a8b; line-height: 1.7; margin: 10px 0 0; }
.cookie-category .cookie-category-state { color: #61798c; font-size: .7rem; font-weight: 450; margin-top: 3px; }
.cookie-always { font-size: .7rem; font-weight: 550; color: #396987; border: 1px solid #c9dfed; background: #eaf4fa; border-radius: 30px; padding: 4px 9px; white-space: nowrap; }
.cookie-card input.cookie-switch { appearance: none; -webkit-appearance: none; flex: 0 0 39px; width: 39px; height: 23px; min-height: 0; padding: 0; margin: 0; border: 1px solid #bac8d4; border-radius: 30px; background: #c8d1d9; position: relative; cursor: pointer; }
.cookie-card input.cookie-switch::before { content: ''; position: absolute; width: 17px; height: 17px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #24374733; transition: transform .15s ease; }
.cookie-card input.cookie-switch:checked { background: #246da5; border-color: #246da5; }
.cookie-card input.cookie-switch:checked::before { transform: translateX(15px); }
.cookie-card input.cookie-switch:disabled { cursor: not-allowed; opacity: .63; }
.cookie-card input.cookie-switch:focus-visible { outline: 2px solid #246da5; outline-offset: 4px; }
.cookie-card .cookie-save { width: 100%; margin-top: 20px; color: #264f70; background: #fff; border-color: #658399; }
.cookie-save:hover { background: #edf4f9; }
.cookie-card .cookie-storage { font-size: .75rem; line-height: 1.7; margin-top: 18px; color: #718493; }
.cookie-card .cookie-storage strong { color: #435e73; font-weight: 550; }
.cookie-card .cookie-gpc { padding: 11px 13px; font-size: .78rem; background: #eaf4f9; border-radius: 7px; color: #3b637e; margin-top: 17px; }
.cookie-launcher { position: fixed; left: max(24px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 15px; border: 1px solid #b3c8d7; border-radius: 30px; background: #eff5f9; color: #2b4d65; font-size: .76rem; font-weight: 550; box-shadow: 0 4px 20px #0003; }
.cookie-launcher:hover { background: white; }
.cookie-footer-link { border: 0; background: none; padding: 0; color: #adc4d5; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.cookie-status { position: fixed; z-index: 90; left: 24px; bottom: 77px; width: min(440px, calc(100vw - 48px)); padding: 14px 17px; border: 1px solid #cadbe6; border-radius: 10px; background: #f4f8fb; color: #34526a; box-shadow: 0 7px 30px #0003; font-size: .84rem; line-height: 1.6; }
@media (max-width: 560px) {
  .cookie-card { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 22px; border-radius: 14px; }
  .cookie-card h2 { font-size: 1.25rem; }
  .cookie-card > p.cookie-description { font-size: .84rem; }
  .cookie-actions { gap: 9px; margin-top: 18px; }
  .cookie-button { font-size: .83rem; padding-inline: 9px; }
  .cookie-card .cookie-brand { margin-bottom: 14px; }
  .cookie-launcher { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .cookie-status { left: 12px; bottom: 66px; width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) { .cookie-switch::before { transition: none !important; } }
/* Reference treatment: a small white card with a single group of preference rows. */
.cookie-card { width: min(390px, calc(100vw - 48px)); padding: 25px 24px 20px; border-radius: 23px; font-family: Arial, sans-serif; }
.cookie-card h2 { font-family: Arial, sans-serif; font-size: 1.06rem; font-weight: 700; letter-spacing: -.025em; margin: 0 18px 13px 0; }
.cookie-close { width: 25px; height: 25px; right: 10px; top: 11px; background: transparent; font-size: 1.2rem; color: #7a858c; }
.cookie-card > p.cookie-description { font-size: .875rem; line-height: 1.65; color: #696f73; }
.cookie-details-toggle { display: inline; padding: 0; border: 0; background: none; color: #696f73; text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.cookie-storage-details { padding: 13px 14px; margin-top: 14px; border-radius: 9px; background: #f3f6f8; }
.cookie-storage-details p { font-size: .76rem; color: #667780; line-height: 1.7; }
.cookie-storage-details strong { overflow-wrap: anywhere; font-weight: 600; }
.cookie-categories { margin-top: 17px; padding-top: 0; border: 0; }
.cookie-card #cookie-saved-note { color: #73818b; font-size: .7rem; line-height: 1.5; margin: 0 0 12px; }
.cookie-category-group { border: 1px solid #e1e3e5; border-radius: 11px; overflow: hidden; }
.cookie-category { padding: 13px 15px; border: 0; border-radius: 0; background: white; }
.cookie-category + .cookie-category { margin: 0; border-top: 1px solid #e1e3e5; }
.cookie-category h3, .cookie-category label { font-family: Arial, sans-serif; color: #171b1e; font-weight: 500; font-size: .87rem; margin: 0; line-height: 1.4; }
.cookie-card .cookie-category p { font-size: .75rem; line-height: 1.4; color: #73797e; margin-top: 3px; }
.cookie-card .cookie-category .cookie-category-state { font-size: .68rem; color: #87949d; margin-top: 4px; }
.cookie-always { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: none; background: none; font-size: .72rem; color: #72787c; }
.cookie-card input.cookie-switch { flex-basis: 32px; width: 32px; height: 19px; border: none; background: #c7cdd1; }
.cookie-card input.cookie-switch::before { top: 1px; left: 1px; width: 17px; height: 17px; }
.cookie-card input.cookie-switch:checked { background: #101010; }
.cookie-card input.cookie-switch:checked::before { transform: translateX(13px); }
.cookie-card .cookie-actions { margin-top: 16px; gap: 8px; }
.cookie-card .cookie-button { font-family: Arial, sans-serif; min-height: 42px; padding: 10px 12px; border-radius: 30px; font-size: .84rem; line-height: 1.4; }
.cookie-card .cookie-save { margin-top: 0; width: 100%; color: #161a1d; background: #f3f3f3; border-color: #f3f3f3; font-weight: 500; }
.cookie-card .cookie-save:hover { background: #e9edef; }
.cookie-secondary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 7px; }
.cookie-manage { width: auto; flex: 1; min-height: 36px; margin: 0; padding: 7px 0; font-size: .76rem; }
.cookie-reject-text { padding: 7px 0; border: 0; background: none; color: #596b78; font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .cookie-card { width: calc(100vw - 24px); padding: 24px 21px 17px; }
  .cookie-card .cookie-button { min-height: 44px; font-size: .82rem; }
  .cookie-card h2 { font-size: 1.05rem; }
}
