.mpowr-consent-banner,
.mpowr-consent-panel {
  box-sizing: border-box;
  color: var(--text, #F6F5F8);
}
.mpowr-consent-panel {
  font-family: Inter, Arial, "Segoe UI", sans-serif;
}
:root{--bar:calc(180px + env(safe-area-inset-bottom, 0px))}
@media (max-width:359px){:root{--bar:calc(204px + env(safe-area-inset-bottom, 0px))}}
@media (min-width:768px){:root{--bar:120px}}
@media (orientation:portrait) and (max-height:520px) and (min-height:400px) and (max-width:767px){:root{--bar:calc(208px + env(safe-area-inset-bottom, 0px))}}
@media (orientation:portrait) and (max-height:399px) and (max-width:767px){:root{--bar:calc(188px + env(safe-area-inset-bottom, 0px))}}
@media (orientation:landscape) and (max-height:500px) and (min-width:560px){:root{--bar:calc(120px + env(safe-area-inset-bottom, 0px))}}
html.consent-open{scroll-padding-bottom:min(calc(var(--bar) + 16px), 40vh)}
html.consent-open body{padding-bottom:var(--bar)}
.mpowr-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: var(--bar);
  overflow: hidden;
  background: var(--bg-elevated, #12111A);
  border-top: 1px solid var(--line, rgba(246,245,248,0.14));
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  font-family: Arial, "Segoe UI", sans-serif;
}
.mpowr-consent-banner p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 400;
}
.mpowr-consent-compact { display: none; }
.mpowr-consent-panel p {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400;
}
.mpowr-consent-banner a,
.mpowr-consent-panel a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
  padding: 12px 4px;
  line-height: 1.2;
  color: var(--orange, #FF7A1E);
  text-decoration: underline;
}
[data-theme="light"] .mpowr-consent-banner a,
[data-theme="light"] .mpowr-consent-panel a {
  color: #C2410C;
}
.mpowr-consent-actions,
.mpowr-consent-panel-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.mpowr-consent-panel .mpowr-consent-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 48px;
  padding: 12px 16px;
  white-space: normal;
  overflow: visible;
  text-align: center;
}
.mpowr-consent-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  margin: 0 auto;
  max-width: 28rem;
  padding: 12px 16px;
  border-radius: 12px;
  background: #12111A;
  color: #F6F5F8;
  border: 1px solid rgba(246,245,248,0.28);
  font-family: Inter, Arial, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}
.mpowr-consent-banner .mpowr-consent-actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-top: auto;
}
.mpowr-consent-btn {
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: "Space Grotesk", "Space Grotesk Fallback", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  height: auto;
  white-space: normal;
  cursor: pointer;
}
.mpowr-consent-primary {
  flex: 1 1 0;
  min-width: 0;
  background: linear-gradient(135deg, var(--orange, #FF7A1E), var(--orange-deep, #E85D04));
  color: #12080A;
}
.mpowr-consent-ghost {
  flex: 1 1 100%;
  background: transparent;
  color: var(--text, #F6F5F8);
  border-color: var(--line, rgba(246,245,248,0.28));
}
.mpowr-consent-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 50;
  max-height: min(70vh, 560px);
  overflow: auto;
  background: var(--bg-elevated, #12111A);
  border: 1px solid var(--line, rgba(246,245,248,0.14));
  border-radius: 20px;
  padding: 18px 16px 16px;
}
.mpowr-consent-panel h2 {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
.mpowr-consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line, rgba(246,245,248,0.14));
}
.mpowr-consent-row strong {
  display: block;
  font-weight: 600;
}
.mpowr-consent-row span,
.mpowr-consent-always {
  display: block;
  color: var(--text-dim, rgba(246,245,248,0.72));
  font-size: 0.875rem;
}
.mpowr-consent-always {
  margin-left: auto;
  white-space: nowrap;
  color: var(--text, #F6F5F8);
  font-weight: 600;
}
.mpowr-consent-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 auto;
}
button.mpowr-open-cookies {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--orange, #FF7A1E);
  cursor: pointer;
}
[data-theme="light"] button.mpowr-open-cookies {
  color: #C2410C;
}
@media (max-width: 767px) {
  .mpowr-consent-banner {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .mpowr-consent-banner .mpowr-consent-actions {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
  }
  .mpowr-consent-banner .mpowr-consent-btn,
  .mpowr-consent-ghost {
    flex: 1 1 auto;
    min-width: 48px;
    height: auto;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 0.875rem;
    white-space: normal;
  }
}
@media (min-width: 768px) {
  .mpowr-consent-banner {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 12px 20px;
  }
  .mpowr-consent-banner p {
    font-size: 0.875rem;
    line-height: 1.35;
  }
  .mpowr-consent-banner .mpowr-consent-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0;
    align-self: center;
  }
  .mpowr-consent-banner .mpowr-consent-btn,
  .mpowr-consent-banner .mpowr-consent-ghost {
    flex: 0 1 auto;
    width: auto;
    min-height: 48px;
    padding: 10px 14px;
  }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  :root { --bar: calc(120px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 959px) {
  :root { --bar: 112px; }
  .mpowr-consent-banner { min-height: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mpowr-consent-full { display: none; }
  .mpowr-consent-compact { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; }
  .mpowr-consent-compact-lead { flex: 1 1 auto; min-width: 0; }
  .mpowr-consent-banner .mpowr-consent-compact a { flex: 0 0 auto; white-space: nowrap; }
  .mpowr-consent-banner .mpowr-consent-actions { flex-direction: row; flex-wrap: nowrap; gap: 6px; }
  .mpowr-consent-banner .mpowr-consent-btn,
  .mpowr-consent-banner .mpowr-consent-ghost { flex: 1 1 auto; min-width: 48px; min-height: 48px; padding: 8px; font-size: 14px; }
}
@media (max-height: 520px) {
  html,
  html.consent-open { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
  html.consent-open body { padding-bottom: 0; }
  .mpowr-consent-banner {
    position: static;
    order: 0;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 8px;
  }
  .mpowr-consent-full { display: none; }
  .mpowr-consent-banner p {
    display: block;
    flex: 0 0 auto;
    min-height: 0;
    margin: 0;
    overflow: visible;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: normal;
  }
  .mpowr-consent-compact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
  }
  .mpowr-consent-compact-lead {
    flex: 1 1 12em;
    min-width: 0;
    white-space: normal;
    overflow: visible;
  }
  .mpowr-consent-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: 48px;
    height: auto;
    min-height: 48px;
    padding: 15px 8px;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    max-width: none;
  }
  .mpowr-consent-actions {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    width: 100%;
    height: auto;
  }
  .mpowr-consent-banner .mpowr-consent-btn,
  .mpowr-consent-banner .mpowr-consent-ghost {
    flex: 1 1 auto;
    min-width: 48px;
    height: auto;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
  }
}
