.cookie-panel {
  position: fixed; z-index: 9999; bottom: max(.8rem, env(safe-area-inset-bottom)); left: .8rem;
  box-sizing: border-box; width: min(31rem, calc(100% - 1.6rem)); max-height: 76vh;
  max-height: 76dvh; overflow: auto; overscroll-behavior: contain;
  background: #fffcf6; color: #0d2f33; border: 1px solid #0d2f33; border-top: 4px solid #d11860;
  box-shadow: 0 4px 24px #0d2f3330; padding: clamp(.9rem, 2.5vw, 1.4rem);
}
.cookie-panel[hidden], .cookie-panel [hidden] { display: none !important; }
.cookie-panel h2 { color: inherit; font-size: 1.65rem; line-height: 1.16; margin: 0; }
.cookie-panel p, .cookie-panel label { font-size: .95rem; line-height: 1.45; margin: .55rem 0; }
.cookie-actions { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.cookie-panel button { font: inherit; font-size: .9rem; font-weight: 700; min-height: 44px; cursor: pointer;
  padding: .45rem .8rem; border-radius: 1.5rem; background: #0d2f33; color: #fff; border: 1px solid #0d2f33; }
.cookie-panel button.cookie-link { color: #0d2f33; background: transparent; border-color: transparent; text-decoration: underline; }
.cookie-panel :focus-visible { outline: 3px solid #b71255; outline-offset: 2px; }
.cookie-panel label { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; }
.cookie-panel input { flex: none; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: #0d2f33; }
.cookie-panel strong { display: block; }
#cookie-detail { margin-top: .6rem; border-top: 1px solid #acb7b3; padding-top: .25rem; }
.cookie-notice { display: inline-block; margin-top: .6rem; color: #0d2f33; font-size: .85rem; text-decoration: underline; }
.cookie-panel [data-status]:empty { display: none; }
