.udmtv-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  margin: 10px auto 4px;
  padding: 8px 18px;
  font-size: 12px;
  line-height: 1.35;
}

.udmtv-legal-links a,
.udmtv-legal-links button {
  color: #315b91;
  font: inherit;
  text-decoration: underline;
}

.udmtv-legal-links button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.udmtv-legal-links--mobile {
  justify-content: flex-start;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.udmtv-legal-links--mobile a,
.udmtv-legal-links--mobile button {
  color: rgba(255, 255, 255, .88);
}

.udmtv-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #a9c6e8;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: 0 18px 60px rgba(0, 39, 91, .28);
  color: #082d5d;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.udmtv-cookie-banner[hidden],
.udmtv-cookie-modal[hidden] {
  display: none !important;
}

.udmtv-cookie-banner__copy {
  max-width: 680px;
}

.udmtv-cookie-banner__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.udmtv-cookie-banner__copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.udmtv-cookie-banner__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 7px;
}

.udmtv-cookie-banner__docs a,
.udmtv-cookie-modal__links a {
  color: #125eb8;
}

.udmtv-cookie-banner__actions,
.udmtv-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.udmtv-cookie-button,
.udmtv-external-placeholder button,
.udmtv-external-inline {
  min-height: 38px;
  border: 1px solid #8aaed7;
  border-radius: 8px;
  padding: 8px 13px;
  background: #fff;
  color: #0c4e9a;
  font: 600 13px/1.2 "Trebuchet MS", Verdana, sans-serif;
  cursor: pointer;
}

.udmtv-cookie-button:hover,
.udmtv-cookie-button:focus,
.udmtv-external-placeholder button:hover,
.udmtv-external-placeholder button:focus,
.udmtv-external-inline:hover,
.udmtv-external-inline:focus {
  border-color: #0e61c9;
  outline: 2px solid rgba(14, 97, 201, .18);
}

.udmtv-external-inline {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px;
}

.udmtv-cookie-button--primary {
  border-color: #0b5fc6;
  background: #0b5fc6;
  color: #fff;
}

.udmtv-cookie-button--text {
  border-color: transparent;
  background: transparent;
}

.udmtv-cookie-modal {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.udmtv-cookie-modal__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(0, 23, 52, .68);
  backdrop-filter: blur(4px);
}

.udmtv-cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  box-sizing: border-box;
  border-radius: 18px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 18, 45, .38);
  color: #102f54;
}

.udmtv-cookie-modal__dialog h2 {
  margin: 3px 0 8px;
  color: #062c5c;
  font-size: 27px;
}

.udmtv-cookie-modal__dialog > p {
  margin: 0 40px 20px 0;
  color: #50677f;
  font-size: 14px;
  line-height: 1.45;
}

.udmtv-cookie-modal__eyebrow {
  color: #1671d9;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.udmtv-cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef5fd;
  color: #174b86;
  font-size: 27px;
  line-height: 34px;
  cursor: pointer;
}

.udmtv-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 10px;
  padding: 15px 16px;
  border: 1px solid #d6e2ef;
  border-radius: 12px;
  background: #f9fbfe;
}

.udmtv-cookie-modal label.udmtv-cookie-option {
  cursor: pointer;
}

.udmtv-cookie-option strong,
.udmtv-cookie-option span {
  display: block;
}

.udmtv-cookie-option strong {
  margin-bottom: 4px;
  color: #0c376b;
  font-size: 15px;
}

.udmtv-cookie-option span {
  color: #597086;
  font-size: 12px;
  line-height: 1.4;
}

.udmtv-cookie-switch {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  text-align: center;
}

.udmtv-cookie-switch input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.udmtv-cookie-switch__track {
  position: relative;
  display: block !important;
  box-sizing: border-box;
  width: 52px;
  height: 30px;
  margin: 0 auto;
  border: 2px solid #7894b2;
  border-radius: 18px;
  background: #d7e0ea;
  transition: border-color .18s ease, background-color .18s ease;
}

.udmtv-cookie-switch__track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 33, 72, .35);
  content: "";
  transition: transform .18s ease;
}

.udmtv-cookie-switch input:checked + .udmtv-cookie-switch__track {
  border-color: #0861c9;
  background: #0870e4;
}

.udmtv-cookie-switch input:checked + .udmtv-cookie-switch__track::after {
  transform: translateX(22px);
}

.udmtv-cookie-switch input:focus-visible + .udmtv-cookie-switch__track {
  outline: 3px solid rgba(8, 97, 201, .28);
  outline-offset: 2px;
}

.udmtv-cookie-switch__state {
  display: block !important;
  margin-top: 4px;
  color: #526b85 !important;
  font-size: 11px !important;
  font-weight: bold;
}

.udmtv-cookie-switch__on {
  display: none !important;
  color: #076b42 !important;
}

.udmtv-cookie-switch input:checked ~ .udmtv-cookie-switch__state .udmtv-cookie-switch__off {
  display: none !important;
}

.udmtv-cookie-switch input:checked ~ .udmtv-cookie-switch__state .udmtv-cookie-switch__on {
  display: block !important;
}

.udmtv-cookie-option__always {
  flex: 0 0 auto;
  color: #16724a !important;
  font-weight: bold;
}

.udmtv-cookie-modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0;
  font-size: 13px;
}

.udmtv-cookie-modal-open {
  overflow: hidden;
}

.udmtv-external-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 180px;
  padding: 24px;
  border: 1px dashed #8cb4df;
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 16%, rgba(71, 155, 235, .18), transparent 30%),
    linear-gradient(145deg, #f2f7fd, #e6f0fb);
  color: #123e72;
  text-align: center;
}

.udmtv-external-placeholder strong {
  margin-bottom: 7px;
  font: 700 17px/1.2 "Trebuchet MS", Verdana, sans-serif;
}

.udmtv-external-placeholder span {
  max-width: 480px;
  margin-bottom: 13px;
  color: #4d6987;
  font: 13px/1.45 "Trebuchet MS", Verdana, sans-serif;
}

.udmtv-legal-page {
  box-sizing: border-box;
  max-width: 1050px;
  margin: 18px auto 34px;
  padding: 28px 34px 38px;
  border: 1px solid #d3dfec;
  border-radius: 12px;
  background: #fff;
  color: #1c3551;
  font: 14px/1.62 Georgia, "Times New Roman", serif;
  box-shadow: 0 12px 34px rgba(10, 52, 98, .08);
}

.udmtv-legal-page h1,
.udmtv-legal-page h2,
.udmtv-legal-page h3 {
  color: #073c78;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.25;
}

.udmtv-legal-page h1 {
  margin: 10px 0 8px;
  font-size: 30px;
}

.udmtv-legal-page h2 {
  margin: 28px 0 10px;
  padding-top: 4px;
  border-top: 1px solid #e2eaf3;
  font-size: 20px;
}

.udmtv-legal-page h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

.udmtv-legal-page p,
.udmtv-legal-page li {
  margin-top: 7px;
  margin-bottom: 7px;
}

.udmtv-legal-page ul,
.udmtv-legal-page ol {
  padding-left: 24px;
}

.udmtv-legal-page a {
  color: #0b60bd;
}

.udmtv-legal-page__date {
  margin-bottom: 18px;
  color: #6a7c90;
  font: 12px/1.4 "Trebuchet MS", Verdana, sans-serif;
}

.udmtv-legal-page__lead {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid #1873d1;
  background: #edf5fe;
  color: #173f6c;
}

.udmtv-legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.udmtv-legal-page__nav a {
  border: 1px solid #c3d7ed;
  border-radius: 18px;
  padding: 6px 11px;
  background: #f5f9fe;
  font: 12px/1.2 "Trebuchet MS", Verdana, sans-serif;
  text-decoration: none;
}

.udmtv-legal-page__nav a.is-active {
  border-color: #0d64c9;
  background: #0d64c9;
  color: #fff;
}

.udmtv-legal-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
}

.udmtv-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.udmtv-legal-table th,
.udmtv-legal-table td {
  border: 1px solid #cddbea;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.udmtv-legal-table th {
  background: #edf4fc;
  color: #0b3f79;
}

.udmtv-legal-callout {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #cfe0f1;
  border-radius: 8px;
  background: #f8fbff;
}

.udmtv-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

@media (max-width: 760px) {
  .udmtv-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: block;
    padding: 16px;
  }

  .udmtv-cookie-banner__actions {
    justify-content: flex-start;
    margin-top: 13px;
  }

  .udmtv-cookie-button {
    flex: 1 1 auto;
  }

  .udmtv-cookie-modal {
    align-items: flex-end;
    padding: 0;
  }

  .udmtv-cookie-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 22px 16px;
  }

  .udmtv-cookie-option {
    gap: 12px;
    padding: 13px;
  }

  .udmtv-legal-page {
    width: auto;
    margin: 0;
    padding: 22px 16px 30px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
  }

  .udmtv-legal-page h1 {
    font-size: 27px;
  }

  .udmtv-legal-page h2 {
    font-size: 20px;
  }
}
