.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
  position: fixed;
  z-index: 95;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(460px, calc(100% - 48px));
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid #eee5e7;
  border-radius: 22px;
  background: #fff;
  color: #171719;
  box-shadow: 0 12px 40px rgba(47, 25, 32, .14);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
}
.cookie-notice-copy { min-width: 0; flex: 1; }
.cookie-notice-copy p { margin: 0 0 5px; font-size: 16px; font-weight: 600; }
.cookie-notice-copy a {
  color: #676068;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice-copy a:hover { color: #c50c2c; }
.cookie-notice-ok {
  flex: 0 0 auto;
  min-width: 76px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: #d81133;
  color: #fff;
  font: 700 15px/1.4 Inter, Arial, sans-serif;
  cursor: pointer;
}
.cookie-notice-ok:hover { background: #b90d2b; }
.cookie-notice :focus-visible { outline: 3px solid #171719; outline-offset: 4px; }
@media (max-width: 680px) {
  .cookie-notice {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }
  .theme-v5 .cookie-notice { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .cookie-notice-copy p { font-size: 15px; }
  .cookie-notice-copy a { font-size: 12px; }
  .cookie-notice-ok { min-width: 64px; padding-inline: 16px; }
}
@media print { .cookie-notice { display: none !important; } }
