.privacy-panel[hidden], .privacy-details[hidden] { display: none !important; }

.privacy-panel {
  position: fixed;
  z-index: 1200;
  inset: auto auto 24px 24px;
  box-sizing: border-box;
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 27px 28px 25px;
  border: 1px solid rgba(225, 188, 113, .7);
  background: #102536;
  box-shadow: 0 24px 65px rgba(8, 20, 31, .28);
  color: #f7f4ed;
  text-align: start;
  animation: privacy-enter .42s ease-out both;
}

.privacy-panel * { box-sizing: border-box; }
.privacy-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.privacy-panel__eyebrow { display: block; margin-bottom: 9px; color: #e1bc71; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.privacy-panel h2 { margin: 0; color: #fff; font-size: clamp(22px, 3vw, 27px); line-height: 1.2; }
.privacy-panel__close { flex: none; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #d5c5a7; font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.privacy-panel__close:hover, .privacy-panel__close:focus-visible { color: #fff; }
.privacy-panel__copy { margin: 18px 0 20px; color: #e2e8ea; font-size: 14px; line-height: 1.62; }
.privacy-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.privacy-panel__button { min-height: 45px; padding: 10px 14px; border: 1px solid #d9b46b; border-radius: 0; background: transparent; color: #f6e9cf; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.25; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.privacy-panel__button:hover, .privacy-panel__button:focus-visible { background: rgba(225, 188, 113, .15); }
.privacy-panel__button--accept { background: #d5ae63; color: #112638; }
.privacy-panel__button--accept:hover, .privacy-panel__button--accept:focus-visible { background: #f0d292; color: #112638; }
.privacy-panel__settings { display: block; width: 100%; min-height: 45px; margin: 0 0 11px; padding: 9px; border: 1px solid rgba(225, 188, 113, .68); background: transparent; color: #e3c17e; font: inherit; font-size: 13px; font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.privacy-panel__settings:hover, .privacy-panel__settings:focus-visible { color: #fff; }
.privacy-details { margin: 0 0 16px; padding: 15px; border: 1px solid rgba(225, 188, 113, .4); }
.privacy-details h3 { margin: 0 0 13px; color: #fff; font-size: 15px; }
.privacy-details__item + .privacy-details__item { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
.privacy-details__item strong { display: flex; justify-content: space-between; gap: 12px; color: #fff; font-size: 13px; }
.privacy-details__item small { color: #e1bc71; font-size: 11px; white-space: nowrap; }
.privacy-details__item p, .privacy-details__note { margin: 5px 0 0; color: #d6e0e3; font-size: 12px; line-height: 1.5; }
.privacy-details__note { margin-top: 15px; }
.privacy-footer-trigger { align-self: flex-start; padding: 0; border: 0; background: transparent; color: #f2f3f1; font: inherit; font-size: 15px; line-height: 1.35; text-align: start; cursor: pointer; }
.privacy-footer-trigger:hover, .privacy-footer-trigger:focus-visible { color: #e7c57d; }
.privacy-panel :focus-visible, .privacy-footer-trigger:focus-visible { outline: 2px solid #e7c57d; outline-offset: 3px; }

@keyframes privacy-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .privacy-panel { inset: auto 0 0; width: 100%; max-height: min(85dvh, 680px); padding: 23px 20px calc(22px + env(safe-area-inset-bottom)); border-inline: 0; border-bottom: 0; }
  .privacy-panel__actions { grid-template-columns: 1fr; }
  .privacy-panel__button { min-height: 48px; }
  .privacy-footer-trigger { align-self: center; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { .privacy-panel { animation: none; } .privacy-panel__button { transition: none; } }
