/* V128 R5 -- the one-time cookie notice (Views/Shared/_V128CookieNotice.cshtml). Fixed, so it never shifts the page; above the
   mobile bottom bar (the script refines the offset from the real bar), a card in the inline-end corner from 768px. Colours from the site tokens. */
.pb128c {
    position: fixed; z-index: 950; inset-inline: 12px; inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; box-sizing: border-box; max-inline-size: 560px;
    padding: 12px 16px; border: 1px solid var(--pb-color-border, #E4E7EC); border-radius: 14px;
    background: var(--pb-color-surface, #FFFFFF); color: var(--pb-color-text, #171A1F);
    box-shadow: 0 6px 24px rgba(16, 24, 40, .16); font-size: 14px; line-height: 20px;
}
.pb128c[hidden] { display: none; }
.pb128c__text { flex: 1 1 220px; margin: 0; }
.pb128c__more { color: var(--pb-color-link, #BD006E); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pb128c__ok {
    flex: none; box-sizing: border-box; min-block-size: 40px; min-inline-size: 88px; padding: 4px 16px; border-radius: 10px;
    border: 2px solid var(--pb-color-action, #BD006E); background: var(--pb-color-action, #BD006E); color: var(--pb-color-text-on-action, #FFFFFF);
    font: inherit; font-weight: 600; cursor: pointer;
}
.pb128c__ok:focus-visible, .pb128c__more:focus-visible { outline: 2px solid var(--pb-color-focus, #BD006E); outline-offset: 2px; }
/* the mobile bottom bar (Simple 64px; the script measures the real top when the bar is there) */
@media (max-width: 767.98px) {
    html[data-pb101-bottom="1"] .pb128c { inset-block-end: calc(72px + env(safe-area-inset-bottom, 0px)); }
    /* Below the Explore results, in normal flow. An informational notice must never cover a card action. */
    html .pb128c.pb128c--explore { position: static; margin-block: 12px; box-shadow: none; z-index: auto; }
    .pb128c--explore .pb128c__ok { min-block-size: 48px; }
}
@media (min-width: 768px) {
    /* the corner away from the site menu (the menu is on the inline-start side in both directions) */
    .pb128c { inset-inline-start: auto; inset-inline-end: 16px; inset-block-end: 16px; }
}
@media (forced-colors: active) {
    .pb128c { border-color: CanvasText; }
    .pb128c__ok { border-color: ButtonText; }
}
@media print { .pb128c { display: none; } }
