/* The family cookie notice, restyled onto the manual's tokens (rules and behaviour as the family consent.css). */
.bor-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin: 0 auto;
  background: var(--m-card, #171A19); color: var(--m-text, #ECE6D8); border: 1px solid var(--m-key-2, #2C3330); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .4s ease; font-size: 15px; line-height: 1.55; }
.bor-cookie.show { transform: none; }
@media (prefers-reduced-motion: reduce) { .bor-cookie { transition: none; } }
.bor-cookie p { margin: 0; }
.bor-cookie p a { color: var(--m-accent, #69AFBF); text-decoration: underline; }
.bor-cookie-row { display: flex; align-items: center; justify-content: flex-end; gap: 14px 20px; flex-wrap: wrap; }
.bor-cookie-acts { display: flex; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.bor-cookie button, .bor-cookie-open { cursor: pointer; font: 700 12px/1 var(--font-body, inherit); letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; border: 0; border-radius: 8px; white-space: nowrap; }
.bor-cookie button.yes { background: var(--m-accent, #69AFBF); color: var(--m-accent-ink, #0B0B0C); }
.bor-cookie button[data-c="declined"] { background: var(--m-key, #222725); color: var(--m-text, #ECE6D8); }
.bor-cookie button:hover { filter: brightness(1.1); }
.bor-cookie-foot { max-width: 1560px; margin: 0 auto; padding: 0 40px 32px; text-align: right; }
.bor-cookie-open { background: none; color: var(--m-mute, #8C877C); padding: 8px 0; letter-spacing: .06em; text-decoration: underline; }
.bor-cookie-open:hover { color: var(--m-text, #ECE6D8); }
@media (max-width: 600px) {
  .bor-cookie { padding: 14px; gap: 12px; font-size: 13px; line-height: 1.45; bottom: 12px; left: 12px; right: 12px; }
  .bor-cookie p { max-height: 7.25em; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; padding-bottom: 14px;
    -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
  .bor-cookie-acts { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .bor-cookie-acts button { flex: 1 1 auto; padding: 11px 12px; }
  .bor-cookie-foot { padding: 0 16px 24px; }
}
