.i2-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 18px 24px 26px;
  font: 500 14px/1.5 'DM Sans', sans-serif;
  color: #475569;
}
.i2-legal-links a,
.i2-legal-links button {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font: inherit;
}
.i2-legal-links a:hover,
.i2-legal-links button:hover { color: #1e3a8a; }

.i2-verification-label { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
#verificationStatus { margin-top: 8px; color: #475569; font-size: 14px; line-height: 1.5; }

.i2-consent {
  position: fixed;
  z-index: 3000;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #0f172a;
  border-top: 1px solid #cbd5e1;
  box-shadow: 0 -12px 42px rgba(15, 23, 42, .12);
  font-family: 'DM Sans', sans-serif;
}
.i2-consent[hidden],
.i2-consent__settings[hidden],
.i2-media-choice[hidden] { display: none !important; }
.i2-consent__inner {
  width: min(1180px, 100%);
  margin: auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
}
.i2-consent__copy h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font: 600 18px/1.3 'DM Sans', sans-serif;
}
.i2-consent__copy p {
  margin: 0;
  max-width: 72ch;
  font: 400 15px/1.55 'DM Sans', sans-serif;
  color: #334155;
}
.i2-consent__copy a { color: #1e40af; text-decoration: underline; text-underline-offset: 3px; }
.i2-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.i2-consent__button {
  min-height: 44px;
  min-width: 140px;
  border: 1px solid #1e3a8a;
  border-radius: 3px;
  padding: 9px 16px;
  background: #1e3a8a;
  color: #fff;
  font: 600 14px/1.3 'DM Sans', sans-serif;
  cursor: pointer;
}
.i2-consent__button:hover { background: #1d4ed8; border-color: #1d4ed8; }
.i2-consent__button--quiet { background: #fff; color: #1e3a8a; }
.i2-consent__button--quiet:hover { background: #eff6ff; color: #1e3a8a; }
.i2-consent__manage {
  min-height: 44px;
  border: 0;
  padding: 8px;
  color: #1e3a8a;
  background: transparent;
  font: 600 14px/1.3 'DM Sans', sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.i2-consent__settings {
  grid-column: 1 / -1;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.i2-consent__setting-copy { max-width: 68ch; }
.i2-consent__necessary { flex-basis: 100%; max-width: none; }
.i2-consent__setting-copy strong { display: block; font-size: 15px; }
.i2-consent__setting-copy span { display: block; color: #475569; font-size: 14px; line-height: 1.5; }
.i2-consent__toggle { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.i2-consent__toggle input { width: 22px; height: 22px; accent-color: #1e3a8a; }
.i2-consent__settings-actions { display: flex; align-items: center; gap: 16px; }
.i2-consent :focus-visible, .i2-legal-links :focus-visible, .i2-media-choice :focus-visible,
[data-i2-action="media"]:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

[data-i2-action="media"] { cursor: pointer; }
.i2-video-poster { background: #0f172a; }
.i2-video-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.i2-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
}
.i2-media-choice {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px;
  background: rgba(15, 23, 42, .94);
  color: #fff;
  text-align: center;
  font: 400 14px/1.4 'DM Sans', sans-serif;
}
.i2-media-choice strong { font-size: 16px; }
.i2-media-choice p { margin: 0; max-width: 38ch; color: #e2e8f0; }
.i2-media-choice__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.i2-media-choice button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
  color: #0f172a;
  font: 600 14px/1.3 'DM Sans', sans-serif;
  cursor: pointer;
}
.i2-media-choice button + button { background: transparent; color: #fff; }
.i2-media-choice button:hover { background: #dbeafe; color: #0f172a; }

@media (max-width: 820px) {
  .i2-consent__inner { grid-template-columns: 1fr; padding: 18px 20px; }
  .i2-consent__actions { width: 100%; }
  .i2-consent__button { flex: 1 1 145px; }
}
@media (max-width: 480px) {
  .i2-consent__inner { padding: 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); gap: 12px; max-height: 72vh; max-height: 72dvh; overflow-y: auto; }
  .i2-consent__actions { gap: 8px; }
  .i2-consent__manage { width: 100%; text-align: left; }
  .i2-consent__settings-actions { width: 100%; justify-content: space-between; }
  .i2-media-choice { padding: 10px; gap: 5px; }
  .i2-media-choice p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .i2-consent *, .i2-media-choice * { transition: none !important; animation: none !important; }
}
