/* Existing consent markup and scripts, styled for the cinematic shell. */
[data-cookie-banner] {
  position: fixed;
  z-index: 120;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(398px, calc(100vw - 40px));
  max-width: none;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(228, 218, 255, .15);
  border-radius: 14px;
  background: rgba(24, 22, 32, .97);
  color: #ede9f4;
  font-family: var(--rp-font, Onest, Arial, sans-serif);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-cookie-banner][hidden] { display: none !important; }
[data-cookie-banner] > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #bdb7cb;
}
[data-cookie-banner] a {
  color: #ece3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #9382b0;
}
[data-cookie-banner] .button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 0;
}
[data-cookie-banner] button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--control-radius, 8px);
  background: #2b2835;
  color: #eeeaf5;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  letter-spacing: -.01em;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease;
}
[data-cookie-banner] [data-cookie-accept] {
  border-color: transparent;
  background: var(--rp-accent, #8644e4);
  color: #fff;
}
[data-cookie-banner] :is(button, a):focus-visible {
  outline: 2px solid var(--rp-accent-text, #b78aec);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  [data-cookie-banner] button:hover { background: #36313f; border-color: #ffffff35; transform: none; }
  [data-cookie-banner] [data-cookie-accept]:hover { background: var(--rp-accent-hover, #9255e8); border-color: transparent; color: #fff; }
}
@media (max-width: 480px) {
  [data-cookie-banner] { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 17px; }
}
@media (max-width: 350px) {
  [data-cookie-banner] .button-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-cookie-banner] button { transition: none; }
}
