.rb-cookie-notice {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(460px, calc(100% - 32px));
    padding: 18px 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-m);
    background: var(--bg-2);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
    animation: rb-cookie-appear .2s ease-out;
}
.rb-cookie-notice[hidden] { display: none; }
.rb-cookie-notice__text { margin: 0; color: var(--text-0); font-size: 12px; line-height: 1.7; }
.rb-cookie-notice__more { display: block; padding: 0; border: 0; background: none; color: var(--rust-400); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rb-cookie-notice__more:hover { color: var(--text-0); }
.rb-cookie-notice__accept { flex-shrink: 0; padding: 12px 20px; font-size: 12px; }
.rb-cookie-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; color: var(--text-1); background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: var(--radius-m); }
.rb-cookie-dialog::backdrop { background: rgba(6, 6, 7, .8); backdrop-filter: blur(5px); }
.rb-cookie-dialog__content { position: relative; padding: 32px; }
.rb-cookie-dialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; color: var(--text-1); background: var(--bg-3); cursor: pointer; }
.rb-cookie-dialog__close:hover { color: var(--text-0); }
.rb-cookie-dialog__eyebrow { display: block; margin-right: 28px; color: var(--rust-400); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.rb-cookie-dialog h2 { margin: 12px 20px 18px 0; color: var(--text-0); font-size: 23px; line-height: 1.3; }
.rb-cookie-dialog p { margin: 0 0 14px; font-size: 13px; line-height: 1.8; }
.rb-cookie-dialog__policy { color: var(--rust-400); font-size: 12px; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; }
.rb-cookie-dialog__actions { margin-top: 24px; display: flex; justify-content: flex-end; }
.rb-cookie-notice button:focus-visible, .rb-cookie-dialog button:focus-visible, .rb-cookie-dialog a:focus-visible { outline: 2px solid var(--rust-400); outline-offset: 4px; }
body.rb-cookie-details-open { overflow: hidden; }
@keyframes rb-cookie-appear { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 760px) {
    .rb-cookie-notice { bottom: max(16px, env(safe-area-inset-bottom)); padding: 16px; gap: 14px; }
    body.rb-cookie-notice-visible .gift-widget, body.rb-cookie-notice-visible .to-top { bottom: calc(var(--rb-cookie-notice-height, 100px) + 30px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
    .rb-cookie-dialog__content { padding: 28px 22px 22px; }
    .rb-cookie-dialog h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .rb-cookie-notice { animation: none; } }
