/* Non-modal, local-only preferences; both choices have equal visual weight. */
.cookie-panel {
  position: fixed; z-index: 10000; right: 24px; bottom: max(20px, env(safe-area-inset-bottom));
  width: min(460px, calc(100% - 48px)); max-height: calc(100dvh - 40px); overflow-y: auto;
  padding: 24px; border: 1px solid #ffffff30; border-radius: 20px;
  background: #140d20; color: #f8f5ff; box-shadow: 0 12px 48px #0008;
  font: inherit; text-align: left;
}
.cookie-panel[hidden], .cookie-panel [hidden], .cookie-toast[hidden] { display: none; }
.cookie-panel .cookie-panel-title { margin: 0 26px 12px 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.cookie-panel .cookie-panel-description { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #e1d9eb; word-break: keep-all; overflow-wrap: anywhere; }
.cookie-panel .cookie-panel-current, .cookie-panel .cookie-panel-note { font-size: 12px; line-height: 1.6; color: #c7bad6; margin: 0 0 12px; }
.cookie-panel .cookie-panel-current:empty { display: none; }
.cookie-panel .cookie-panel-note { margin-top: 12px; }
.cookie-panel-policy { color: #d9b8ff; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cookie-panel .cookie-choice { min-height: 44px; padding: 10px 12px; border: 1px solid #b890d9; border-radius: 10px; background: #261a35; color: #fff; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
.cookie-panel .cookie-choice:hover { background: #3b2551; border-color: #d9b8ff; }
.cookie-panel .cookie-panel-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #e1d9eb; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.cookie-panel :is(button,a):focus-visible, .cookie-settings-button:focus-visible { outline: 2px solid #e5baff; outline-offset: 4px; }
.cookie-settings-button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.footer-bottom_right { flex-wrap: wrap; row-gap: 12px; }
.cookie-settings-standalone { display: block; margin: 24px auto; color: #d9b8ff; }
.cookie-toast { position: fixed; z-index: 10001; right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); width: min(460px, calc(100% - 48px)); margin: 0; padding: 14px 20px; border: 1px solid #ffffff30; border-radius: 12px; background: #140d20; color: #f8f5ff; font: inherit; font-size: 13px; line-height: 1.6; box-shadow: 0 8px 30px #0006; }
@media screen and (max-width: 479px) {
  .cookie-panel { right: 12px; width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); padding: 20px; border-radius: 16px; }
  .cookie-toast { right: 12px; width: calc(100% - 24px); }
}
