#rjtr-consent-root {
  --rjtr-red: #d7192d;
  --rjtr-surface: #111316;
  --rjtr-card: #1a1d22;
  --rjtr-line: #33373f;
  --rjtr-muted: #b6bbc4;
  color: #f4f5f7;
  font: 14px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}
#rjtr-consent-root [hidden] { display: none !important; }
#rjtr-consent-root * { box-sizing: border-box; }
#rjtr-consent-root h2 { color: #f7f8fa; font: 650 25px/1.2 system-ui, sans-serif; letter-spacing: -.035em; margin: 7px 0 0; }
#rjtr-consent-root p { font: inherit; margin: 0; }
#rjtr-consent-root a { color: #d5d8df; text-decoration: underline; text-underline-offset: 3px; }
#rjtr-consent-root a:hover { color: #fff; }
#rjtr-consent-root button { font: 600 13px/1.3 system-ui, sans-serif; cursor: pointer; }
#rjtr-consent-root button:focus-visible,
#rjtr-consent-root a:focus-visible,
#rjtr-consent-root input:focus-visible,
#rjtr-consent-root summary:focus-visible { outline: 2px solid #ff8390; outline-offset: 4px; }
.rjtr-cookie-brand { display: inline-flex; gap: 5px; align-items: center; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .15em; color: #fafafa; }
.rjtr-cookie-brand::before { content: ""; width: 21px; height: 2px; margin-right: 5px; background: var(--rjtr-red); }
.rjtr-cookie-brand span { color: #adb3bc; font-weight: 500; }
.rjtr-cookie-banner { position: fixed; left: 22px; bottom: 22px; z-index: 1000000; width: 460px; max-width: calc(100% - 44px); background: var(--rjtr-surface); border: 1px solid #34383f; border-radius: 16px; padding: 23px; box-shadow: 0 16px 60px #0007; }
#rjtr-consent-root .rjtr-cookie-banner h2 { font-size: 21px; margin: 13px 0 10px; }
.rjtr-cookie-copy p { font-size: 13px !important; line-height: 1.65 !important; color: var(--rjtr-muted); }
.rjtr-cookie-copy p a { white-space: nowrap; }
.rjtr-cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.rjtr-cookie-actions button { min-height: 44px; padding: 10px 9px; color: #f2f3f5; background: #202329; border: 1px solid #41464f; border-radius: 8px; transition: background .15s, border-color .15s; }
.rjtr-cookie-actions button:hover { background: #2c3037; border-color: #747b87; }
.rjtr-cookie-reopen { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 999998; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 13px; color: #e1e4e9; background: #14171bed; border: 1px solid #3c424c; border-radius: 30px; box-shadow: 0 4px 18px #0004; }
.rjtr-cookie-reopen svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rjtr-cookie-reopen-label { font-size: 12px; }
.rjtr-cookie-reopen:hover { background: #22262d; border-color: #797f89; }
.rjtr-cookie-backdrop { position: fixed; inset: 0; z-index: 1000001; display: flex; align-items: center; justify-content: center; padding: 24px; background: #06080bc2; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.rjtr-cookie-dialog { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 580px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); color: #f4f5f7; background: var(--rjtr-surface); border: 1px solid #3b4049; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 100px #0009; }
.rjtr-cookie-dialog:focus { outline: none; }
.rjtr-cookie-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 25px 25px 18px; }
.rjtr-cookie-dialog-head button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border: 1px solid #363c45; border-radius: 50%; background: #1a1e24; color: #c9cdd4; }
.rjtr-cookie-dialog-head button:hover { background: #2b3039; color: white; }
.rjtr-cookie-dialog-head button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.rjtr-cookie-body { min-height: 0; padding: 0 25px 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4c5360 transparent; }
#rjtr-cookie-intro { color: var(--rjtr-muted); margin-bottom: 18px !important; font-size: 13px !important; }
.rjtr-cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px; margin-top: 9px; border: 1px solid #30353d; background: var(--rjtr-card); border-radius: 10px; }
label.rjtr-cookie-category { cursor: pointer; }
label.rjtr-cookie-category:hover { border-color: #555d69; }
.rjtr-cookie-category strong { display: block; margin-bottom: 4px; color: #f2f4f7; font-size: 14px; font-weight: 600; }
.rjtr-cookie-description,
.rjtr-cookie-category p { display: block; color: var(--rjtr-muted); font-size: 12px !important; line-height: 1.55 !important; }
.rjtr-cookie-category input { appearance: none; -webkit-appearance: none; position: relative; width: 38px; height: 23px; margin: 0; flex-shrink: 0; border: 1px solid #636c7a; border-radius: 20px; background: #343b46; cursor: pointer; transition: background .15s; }
.rjtr-cookie-category input::before { content: ""; position: absolute; width: 15px; height: 15px; left: 3px; top: 3px; border-radius: 50%; background: #f0f2f5; transition: transform .15s; }
.rjtr-cookie-category input:checked { background: var(--rjtr-red); border-color: var(--rjtr-red); }
.rjtr-cookie-category input:checked::before { transform: translateX(15px); }
.rjtr-cookie-category input:disabled { opacity: .42; cursor: default; }
.rjtr-cookie-always { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 5px 7px; color: #cdd3dc; background: #242a32; border: 1px solid #3e4652; border-radius: 5px; font-size: 9px; line-height: 1.3; white-space: nowrap; }
.rjtr-cookie-always::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #aab3c0; }
.rjtr-cookie-details { color: #b9bfc8; margin-top: 16px; font-size: 12px; }
.rjtr-cookie-details summary { cursor: pointer; padding: 4px 0; }
.rjtr-cookie-note { margin-top: 9px !important; color: #b4bac4; font-size: 11px !important; line-height: 1.6 !important; }
.rjtr-cookie-dialog-footer { flex-shrink: 0; padding: 17px 25px 20px; background: #14171c; border-top: 1px solid #30353d; }
.rjtr-cookie-dialog-footer .rjtr-cookie-actions { margin-top: 0; }
.rjtr-cookie-dialog-footer [data-rjtr-choice="save"] { background: var(--rjtr-red); border-color: var(--rjtr-red); color: #fff; }
.rjtr-cookie-dialog-footer [data-rjtr-choice="save"]:hover { background: #ec2338; border-color: #ec2338; }
.rjtr-cookie-footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 13px; color: #b0b6c0; font-size: 10px; line-height: 1.4; }
.rjtr-cookie-policy { flex-shrink: 0; font-size: 11px; }
.rjtr-cookie-error { margin-top: 12px !important; padding: 10px; border: 1px solid #7e3f49; border-radius: 7px; background: #3e2128; color: #ffe1e7; font-size: 12px !important; }
.rjtr-cookie-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 600px) {
  .rjtr-cookie-banner { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: none; width: calc(100% - 24px); padding: 20px; border-radius: 14px; }
  #rjtr-consent-root .rjtr-cookie-banner h2 { font-size: 20px; }
  .rjtr-cookie-reopen { width: 44px; height: 44px; padding: 11px; justify-content: center; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .rjtr-cookie-reopen-label { display: none; }
  .rjtr-cookie-backdrop { align-items: flex-end; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .rjtr-cookie-dialog { max-width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 17px; }
  .rjtr-cookie-dialog-head { padding: 20px 18px 15px; }
  #rjtr-consent-root .rjtr-cookie-dialog h2 { font-size: 23px; }
  .rjtr-cookie-body { padding: 0 18px 16px; }
  #rjtr-cookie-intro { margin-bottom: 14px !important; }
  .rjtr-cookie-category { padding: 13px; gap: 14px; }
  .rjtr-cookie-category strong { font-size: 13px; }
  .rjtr-cookie-dialog-footer { padding: 15px 18px 17px; }
  .rjtr-cookie-dialog-footer .rjtr-cookie-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rjtr-cookie-dialog-footer [data-rjtr-choice="save"] { grid-column: 1 / -1; }
  .rjtr-cookie-footer-meta span { font-size: 9px; text-align: right; max-width: 155px; }
}
@media (max-width: 350px) {
  .rjtr-cookie-category { padding: 11px; gap: 10px; }
  .rjtr-cookie-always { font-size: 8px; padding: 5px; }
  #rjtr-consent-root .rjtr-cookie-actions button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rjtr-cookie-actions button, .rjtr-cookie-category input, .rjtr-cookie-category input::before { transition: none; }
}
@media (forced-colors: active) {
  .rjtr-cookie-category input { appearance: auto; -webkit-appearance: auto; }
  .rjtr-cookie-category input::before { display: none; }
}
