/* MK Intelligence 5.3.3 – eigenständiges Update für Positionierung und Video-Consent. */

.entity-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.entity-output li {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(103, 202, 252, .16);
  border-radius: 12px;
  background: rgba(3, 14, 29, .28);
}

.entity-output strong,
.entity-output span { display: block; }
.entity-output strong { color: #ecf7ff; font-size: .75rem; line-height: 1.25; }
.entity-output span { margin-top: 4px; color: #8fa6c0; font-size: .66rem; line-height: 1.35; }

.entity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.entity-actions .text-link { font-size: .8rem; }

/* Keinerlei YouTube-Ressource wird hier geladen. Der iframe entsteht erst per Klick in site.js. */
#videos .video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: auto;
  padding-top: 0;
  border-radius: 14px;
  background: #020811;
}

#videos .video-consent,
#videos .video-player {
  position: absolute;
  inset: 0;
}

#videos .video-consent {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 21% 17%, rgba(25, 211, 255, .20), transparent 35%),
    radial-gradient(circle at 83% 84%, rgba(153, 67, 255, .24), transparent 42%),
    linear-gradient(145deg, rgba(7, 25, 43, .99), rgba(18, 9, 42, .98));
}

#videos .video-consent::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(118, 216, 255, .2);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

#videos .video-consent-badge {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
}

#videos .consent-play {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(101, 232, 255, .8);
  border-radius: 50%;
  color: #f0fcff;
  background: linear-gradient(145deg, rgba(8, 157, 219, .78), rgba(119, 55, 226, .76));
  box-shadow: 0 0 24px rgba(34, 200, 255, .28), 0 0 31px rgba(145, 67, 255, .2);
  font-size: .8rem;
  transform: translateX(1px);
}

#videos .video-consent-badge > span {
  color: #91bed4;
  font-size: .55rem;
  font-weight: 840;
  letter-spacing: .16em;
}

#videos .video-consent p {
  position: relative;
  z-index: 1;
  max-width: 315px;
  margin: 0;
  color: #b9c9dc;
  font-size: .65rem;
  line-height: 1.45;
}

#videos .video-consent p strong,
#videos .video-consent p span { display: block; }
#videos .video-consent p strong { margin-bottom: 4px; color: #f4f8ff; font-size: .8rem; }

#videos .video-consent-actions {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 260px);
  gap: 8px;
}

#videos .video-consent button {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(74, 220, 255, .68);
  border-radius: 10px;
  color: #f2fbff;
  background: linear-gradient(100deg, rgba(0, 145, 224, .85), rgba(120, 53, 225, .86));
  box-shadow: 0 0 21px rgba(64, 190, 255, .18);
  font: inherit;
  font-size: .66rem;
  font-weight: 790;
  cursor: pointer;
}

#videos .video-consent button:hover,
#videos .video-consent button:focus-visible {
  border-color: #a8efff;
  box-shadow: 0 0 27px rgba(76, 206, 255, .35), 0 0 24px rgba(145, 67, 255, .25);
  outline: none;
}

#videos .video-consent a {
  color: #a9bed1;
  font-size: .61rem;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(169, 190, 209, .42);
  text-underline-offset: 3px;
}

#videos .video-consent a:hover,
#videos .video-consent a:focus-visible { color: #e2f8ff; }

#videos .video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#videos .video-local-notice {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  color: #b9c9dc;
  background: linear-gradient(145deg, rgba(7, 25, 43, .99), rgba(18, 9, 42, .98));
  font-size: .68rem;
  line-height: 1.45;
  text-align: center;
}

#videos .video-local-notice strong { color: #f4f8ff; font-size: .83rem; }
#videos .video-local-notice span { max-width: 305px; }
#videos .video-local-notice a {
  padding: 9px 13px;
  border: 1px solid rgba(74, 220, 255, .68);
  border-radius: 10px;
  color: #f2fbff;
  background: linear-gradient(100deg, rgba(0, 145, 224, .85), rgba(120, 53, 225, .86));
  font-weight: 790;
}

#videos .video-close {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  padding: 6px 9px;
  border: 1px solid rgba(167, 213, 239, .42);
  border-radius: 999px;
  color: #e7f6ff;
  background: rgba(2, 8, 18, .82);
  font: inherit;
  font-size: .61rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .entity-output { grid-template-columns: 1fr; }
  #videos .video-frame { aspect-ratio: 16 / 10; }
  #videos .video-consent { padding: 18px; }
}
