#oy-tracking-consent, #oy-tracking-consent * { box-sizing: border-box; }
#oy-tracking-consent[hidden] { display: none !important; }
#oy-tracking-consent {
  position: fixed; z-index: 10050; inset: auto 16px 16px; max-width: 740px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  margin: 0 auto; padding: 24px; border: 1px solid #d7c7d4; border-radius: 12px;
  background: #fff; color: #332433; box-shadow: 0 6px 32px #0003;
  font: 16px/1.5 Arial, sans-serif; text-align: left;
}
#oy-tracking-consent h2 { margin: 0 0 12px; font: 700 22px/1.3 Arial, sans-serif; color: #442f47; }
#oy-tracking-consent p { margin: 0 0 12px; font: inherit; }
#oy-tracking-consent a { color: #84316a; text-decoration: underline; }
#oy-tracking-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
#oy-tracking-actions button {
  flex: 1 1 240px; min-height: 48px; padding: 12px 16px; border: 2px solid #84316a;
  border-radius: 7px; background: #84316a; color: #fff; cursor: pointer;
  font: 700 16px/1.4 Arial, sans-serif; text-align: center;
}
#oy-tracking-actions button:hover { background: #692654; border-color: #692654; }
#oy-tracking-close {
  padding: 6px 0; border: 0; background: transparent; color: #493d47;
  text-decoration: underline; cursor: pointer; font: 16px/1.4 Arial, sans-serif;
}
#oy-tracking-status:empty { display: none; }
#oy-tracking-settings {
  position: fixed; z-index: 10040; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); left: 12px;
  max-width: calc(100vw - 24px); padding: 8px 12px; border: 1px solid #84316a; border-radius: 6px;
  background: #fff; color: #84316a; box-shadow: 0 2px 8px #0002; cursor: pointer;
  font: 14px/1.4 Arial, sans-serif;
}
#oy-tracking-consent :focus-visible, #oy-tracking-settings:focus-visible { outline: 3px solid #302336; outline-offset: 3px; }
@media (max-width: 480px) {
  #oy-tracking-consent { inset-inline: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 18px; }
  #oy-tracking-actions { gap: 10px; }
}
