/* Rush Battle Arena cookie consent: black / red / white, Orbitron headings, Rajdhani body. */
.rb-consent { position: relative; z-index: 1060; max-width: 760px; margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: #121212; color: #ececec; border: 1px solid #3a3a3a; border-top: 3px solid #ff1744; font-family: 'Rajdhani', sans-serif; font-weight: 500; font-size: 1.02rem; line-height: 1.4; }
.rb-consent h2 { margin: 0 0 .35rem; color: #fff; font-family: 'Orbitron', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rb-consent h3 { margin: 0 0 .5rem; color: #fff; font-family: 'Orbitron', sans-serif; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.rb-consent h3:focus { outline: none; }
.rb-consent p { margin: 0 0 .6rem; }
.rb-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.rb-consent a:hover { color: #ff5c7a; }

.rb-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.rb-consent-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: .5rem 1.1rem; border-radius: 4px; font-family: 'Rajdhani', sans-serif; font-size: 1.02rem; font-weight: 700; letter-spacing: .02em; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; }
/* Accept and reject are deliberately identical: equal prominence, white on #c40233 (6.2:1). */
.rb-consent-btn--choice, .rb-consent-btn--save { flex: 1 1 11rem; max-width: 15rem; background: #c40233; color: #fff; border: 2px solid #c40233; }
.rb-consent-btn--choice:hover, .rb-consent-btn--save:hover { background: #9e0129; border-color: #ff1744; }
.rb-consent-btn--prefs { flex: 0 1 auto; background: transparent; color: #fff !important; border: 2px solid #8c8c8c; text-decoration: none !important; }
.rb-consent-btn--prefs:hover, .rb-consent-btn--prefs[aria-expanded="true"] { border-color: #fff; }
.rb-consent-btn:focus-visible, .rb-consent a:focus-visible, .rb-consent-switch:focus-visible, .rb-consent-link a:focus-visible { outline: 3px solid #00d4ff; outline-offset: 3px; }
.rb-consent form[aria-busy="true"] .rb-consent-btn { opacity: .7; cursor: progress; }

.rb-consent-prefs { margin-top: .5rem; padding-top: .75rem; border-top: 1px solid #333; }
.rb-consent-purpose { padding: .55rem 0; border-bottom: 1px solid #2a2a2a; }
.rb-consent-purpose p { margin: .2rem 0 0; color: #cfcfcf; font-size: .97rem; }
.rb-consent-purpose-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; margin: 0; cursor: pointer; }
.rb-consent-purpose-name { color: #fff; font-weight: 700; font-size: 1.06rem; }
.rb-consent-always { padding: .15rem .55rem; border: 1px solid #00ff41; border-radius: 3px; color: #00ff41; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.rb-consent-note { display: block; margin-top: .25rem; color: #a8a8a8; font-size: .92rem; }
.rb-consent-provider { margin: .7rem 0 .8rem !important; color: #bdbdbd; font-size: .92rem; }
.rb-consent-switch { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 50px; height: 28px; margin: 0; border: 2px solid #8c8c8c; border-radius: 999px; background: #262626; cursor: pointer; transition: background .15s, border-color .15s; }
.rb-consent-switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d9d9d9; transition: transform .15s; }
.rb-consent-switch:checked { background: #c40233; border-color: #ff1744; }
.rb-consent-switch:checked::before { transform: translateX(22px); background: #fff; }
.rb-consent-btn--save { display: flex; width: 100%; max-width: 20rem; }

.rb-consent-status { margin: .5rem 0 0 !important; font-weight: 600; }
.rb-consent-status:empty { display: none; }

.rb-consent--banner { position: fixed; left: 50%; bottom: max(.75rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(980px, calc(100vw - 1.5rem)); max-width: none; max-height: calc(100vh - 1.5rem); margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem; border-radius: 6px; box-shadow: 0 12px 36px rgba(0, 0, 0, .7); }
.rb-consent--banner .rb-consent-intro { margin-bottom: 0; }
.rb-consent-spacer { height: var(--rb-consent-space, 12rem); }
.rb-consent-link { text-align: center; padding: 1rem; }
.rb-consent-link a { color: #ddd; text-decoration: underline; }
.rb-consent [hidden], .rb-consent[hidden], .rb-consent-spacer[hidden] { display: none !important; }
.rb-consent-page { padding-top: 6rem; padding-bottom: 2rem; }

@media (max-width: 575.98px) {
    .rb-consent--banner { left: 0; bottom: 0; transform: none; width: 100%; max-height: 85vh; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); border-radius: 10px 10px 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
    .rb-consent h2 { font-size: .9rem; margin-bottom: .25rem; }
    .rb-consent { font-size: .95rem; line-height: 1.3; }
    .rb-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .55rem; }
    .rb-consent-btn { padding: .45rem .6rem; font-size: .98rem; }
    .rb-consent-btn--choice { max-width: none; }
    .rb-consent-btn--prefs { grid-column: 1 / -1; }
    .rb-consent-btn--save { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) { .rb-consent--banner { animation: rb-consent-in .2s ease-out; } }
@media (prefers-reduced-motion: reduce) { .rb-consent-switch, .rb-consent-switch::before { transition: none; } }
@keyframes rb-consent-in { from { opacity: 0; } to { opacity: 1; } }