/* The component and its isolated fixture only; no shared site selectors. */
.mb-consent { color: var(--mb-white, #f5f3ef); font-family: Inter, Arial, sans-serif; }
.mb-consent [hidden] { display: none !important; }
.mb-consent__panel {
  position: fixed; z-index: 880; inset: auto 24px max(24px, env(safe-area-inset-bottom));
  width: min(1112px, calc(100% - 48px)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 24px;
  padding: 23px 26px; border: 1px solid #ffffff24; border-radius: 10px;
  background: var(--mb-panel, #17150f); box-shadow: 0 12px 48px #0008;
}
.mb-consent__heading {
  font: 28px/1.08 ReferenceUI, Arial, sans-serif; letter-spacing: 0;
  color: var(--mb-white, #f5f3ef); margin: 0 0 10px; padding-right: 30px;
}
.mb-consent__copy { font-size: 13px; line-height: 1.65; margin: 0; max-width: 600px; }
.mb-consent__explanation { font-size: 12px; line-height: 1.65; color: var(--mb-muted, #b3aa9c); margin: 6px 0 0; }
.mb-consent__links { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; margin-top: 8px; }
.mb-consent__links a { font-size: 11px; line-height: 1.6; padding: 4px 0; color: var(--mb-muted, #b3aa9c); text-decoration: underline; text-underline-offset: 4px; }
.mb-consent__links a:hover { color: var(--mb-white, #f5f3ef); }
.mb-consent__actions { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mb-consent__button {
  min-height: 46px; min-width: 0; padding: 10px 13px; border-radius: 5px;
  font: 17px/1.25 ReferenceUI, Arial, sans-serif; white-space: nowrap;
  border: 1px solid #ffffff40; color: var(--mb-white, #f5f3ef); background: transparent;
  transition: background .14s ease, border-color .14s ease;
}
.mb-consent__button:hover { background: #ffffff0b; border-color: #ffffff80; }
.mb-consent__button--allow { background: var(--mb-red, #ff2530); border-color: var(--mb-red, #ff2530); }
.mb-consent__button--allow:hover { background: #e51c27; border-color: #e51c27; }
.mb-consent__button--revoke { grid-column: 1 / -1; width: 100%; }
.mb-consent__button:disabled { cursor: progress; opacity: .65; }
.mb-consent__status { display: flex; align-items: baseline; gap: 8px; font-size: 12px; line-height: 1.6; margin: 0 0 10px; }
.mb-consent__status::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--mb-muted, #b3aa9c); }
.mb-consent__status[data-tone="enabled"]::before { background: var(--mb-red, #ff2530); }
.mb-consent__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--mb-muted, #b3aa9c); font: 26px/1 Arial, sans-serif; }
.mb-consent__close:hover { color: var(--mb-white, #f5f3ef); }
.mb-consent__settings { display: block; margin: 0 auto 28px; padding: 8px 12px; min-height: 40px; border: 0; background: none; color: var(--mb-muted, #b3aa9c); font: 12px/1.6 Inter, Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.mb-consent :is(a, button):focus-visible { outline: 2px solid var(--mb-white, #f5f3ef); outline-offset: 4px; }
.mb-consent-preview { max-width: 1080px; margin-inline: auto; padding: 48px 32px 40px; }
.mb-consent-preview__label { color: var(--mb-red); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.mb-consent-preview h1 { font-size: 52px; line-height: 1.08; margin: 0 0 15px; }
.mb-consent-preview__lead { max-width: 620px; font-size: 14px; color: var(--mb-muted); margin: 0 0 25px; }
.mb-consent-preview__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-consent-preview__tools button { font-size: 12px; padding: 8px 12px; background: var(--mb-panel); border: 1px solid var(--mb-line); border-radius: 4px; }
.mb-consent-preview__tools button:hover { border-color: var(--mb-muted); }
.mb-consent-preview__status { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--mb-muted); font: 11px/1.65 Inter, Arial, sans-serif; margin: 20px 0 0; }
.mb-consent-preview__status code { color: var(--mb-white); }
.mb-consent-preview__trace { font: 11px/1.8 Inter, Arial, sans-serif; color: var(--mb-muted); padding-left: 20px; min-height: 50px; max-height: 110px; overflow: auto; margin: 12px 0 0; }
.mb-consent-preview__protected { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--mb-line); border-radius: 5px; }
.mb-consent-preview__protected p { margin: 0 0 12px; font-size: 12px; color: var(--mb-muted); }
.mb-consent-preview__protected button { border: 1px solid var(--mb-line); background: transparent; font-size: 12px; min-height: 44px; padding: 8px 14px; }
.mb-consent-preview__protected:focus-within { border-color: var(--mb-red); }
.mb-consent-preview__protected[data-overlay="true"] { position: fixed; z-index: 700; bottom: 24px; left: 20px; right: 20px; margin: 0; background: var(--mb-panel); }
@media (max-width: 800px) {
  .mb-consent__panel { grid-template-columns: 1fr; width: calc(100% - 32px); inset-inline: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 20px; gap: 14px; }
  .mb-consent__heading { font-size: 26px; margin-bottom: 9px; }
  .mb-consent__copy { font-size: 12px; line-height: 1.6; }
  .mb-consent__explanation { font-size: 11px; line-height: 1.6; }
  .mb-consent__links { column-gap: 15px; }
  .mb-consent__links a { font-size: 10px; min-height: 28px; }
  .mb-consent__button { font-size: 17px; min-height: 46px; padding-inline: 8px; }
  .mb-consent__status { font-size: 11px; }
  .mb-consent-preview { padding: 28px 20px; }
  .mb-consent-preview h1 { font-size: 38px; }
  .mb-consent-preview__lead { font-size: 12px; margin-bottom: 20px; }
  .mb-consent-preview__tools { gap: 6px; }
  .mb-consent-preview__tools button { padding: 7px 10px; font-size: 11px; }
  .mb-consent-preview__trace { max-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .mb-consent__button { transition: none; }
}
