.sotv-mediathek-shell {
  position: relative;
  min-height: 600px;
  color: var(--sotv-text, #111);
  font-family: var(--sotv-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  background: transparent;
  padding-bottom: 0;
  overflow-x: visible;
}

.sotv-mediathek-shell a {
  color: inherit;
}

#sotv-mediathek-app,
#sotv-mediathek-app .v-application,
#sotv-mediathek-app .v-application__wrap,
#sotv-mediathek-app .v-main,
#sotv-mediathek-app .v-main > .v-container {
  background: transparent !important;
}

.home-page .highlight-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.home-page h1 {
  margin-bottom: 0.4rem;
  font-weight: 800;
  font-family: var(--sotv-font-head, var(--sotv-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif));
}

.home-page p {
  opacity: 0.9;
}

.sendungen-page,
.sendung-page,
.tv-page,
.live-page,
.suche-page,
.team-page,
.kontakt-page {
  color: var(--sotv-text, #111);
  font-family: var(--sotv-font-body, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

.live-page {
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.tv-grid {
  display: grid;
  gap: 16px;
}

.tv-day-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-day-list li {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.tv-slot {
  width: 70px;
  opacity: 0.7;
}

.tv-title {
  font-weight: 600;
}

.v-btn,
.v-field,
.v-input__details,
.v-chip,
.v-slide-group__content,
.v-select,
.v-text-field,
.v-card,
.v-card-title,
.v-card-subtitle,
.v-card-text {
  color: #111 !important;
}

.v-label,
.v-field__input,
.v-field__input::placeholder {
  color: #111 !important;
  caret-color: #111 !important;
}

.v-btn__content {
  color: #111 !important;
}

/* Inputs hell für Kontrast, aber ohne blockierende Overlay-Flächen */
.v-field {
  background: rgba(255, 255, 255, 0.9) !important;
}

.v-field__overlay,
.v-field__outline__start,
.v-field__outline__end,
.v-field__outline__notch {
  background: transparent !important;
}

.v-field__overlay {
  background-color: transparent !important;
  opacity: 0 !important;
}

.v-field-label,
.v-field-label--floating {
  background: transparent !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1 !important;
  filter: invert(0) !important;
  cursor: pointer;
}

.v-field input[type="date"] {
  color-scheme: light;
}

.v-chip,
.v-btn {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.v-slide-group__content {
  background: transparent !important;
}

/* Karten-Text dunkler */
.sendung-card {
  background: var(--sotv-card-surface, rgba(255, 255, 255, 0.5)) !important;
}

.chip-live {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.live-mode-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: 1400px;
}

.live-mode-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.live-mode-btn.is-active {
  background: rgba(242, 139, 26, 0.95);
  border-color: rgba(242, 139, 26, 0.95);
  color: #111;
}

.live-mode-btn:hover {
  transform: translateY(-1px);
}

.live-meta-block {
  max-width: 1400px;
  margin: 0 auto 14px;
}

.live-meta-title {
  margin: 0 0 4px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
}

.live-meta-time {
  opacity: 0.78;
}

.live-frame-container {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16/10;
  background: rgba(26, 26, 26, 1);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 18px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-frame-inner {
  width: 95%;
  height: 95%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
}

.live-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.live-native-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.live-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.55));
  padding: 12px;
}

.sotv-theme-toggle {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.sotv-theme-toggle--desktop {
  margin-right: 0.7rem;
}

.sotv-theme-toggle--mobile {
  display: none;
}

.sotv-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sotv-nav-link, var(--sotv-text, #ffffff));
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  cursor: pointer;
}

.sotv-theme-switch__label {
  opacity: 0.95;
}

.sotv-theme-switch__icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.92;
}

.sotv-theme-switch__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sotv-theme-switch__slider {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 140ms ease, border-color 140ms ease;
}

.sotv-theme-switch__slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  transition: transform 140ms ease;
}

.sotv-theme-switch__input:checked + .sotv-theme-switch__slider {
  background: var(--sotv-primary, #f28b1a);
  border-color: var(--sotv-primary, #f28b1a);
}

.sotv-theme-switch__input:checked + .sotv-theme-switch__slider::after {
  transform: translateX(14px);
}

.sotv-theme-switch__input:focus-visible + .sotv-theme-switch__slider {
  outline: 2px solid var(--sotv-primary, #f28b1a);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .sotv-theme-toggle--desktop {
    display: none;
  }

  .sotv-theme-toggle--mobile {
    display: flex;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sotv-theme-toggle--mobile .sotv-theme-switch {
    width: 100%;
    justify-content: space-between;
  }
}

.player-consent-btn {
  background: rgba(242, 139, 26, 0.92);
  color: #0f172a;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.player-consent-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
}

.player-consent-btn:active {
  transform: translateY(0);
}

.live-empty {
  text-align: center;
  padding: 2rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .sotv-mediathek-shell {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .live-page {
    padding: 0 !important;
  }
  .live-frame-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    aspect-ratio: 4 / 3;
    min-height: min(75vw, 420px);
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
  .live-frame-inner {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .live-iframe {
    width: 100% !important;
    height: 100% !important;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 1rem;
}

.kontakt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kontakt-list li + li {
  margin-top: 0.35rem;
}

.player-shell {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.player-shell iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.player-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.player-preview-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.player-preview-header,
.player-preview-panel {
  border-style: solid;
}

.player-preview-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-preview-title {
  margin-top: 4px;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.05;
}

.player-preview-meta {
  margin-top: 6px;
  font-size: 0.95rem;
}

.player-preview-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.player-preview-video {
  min-height: 240px;
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(242, 139, 26, 0.28), rgba(13, 71, 161, 0.14)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.22));
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
  display: flex;
  align-items: end;
  padding: 18px;
}

.player-preview-corner {
  display: flex;
  flex-direction: column;
  border-style: solid;
}

.player-preview-corner--top {
  align-self: stretch;
}

.player-preview-corner-thumb,
.player-preview-panel-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(242, 139, 26, 0.25), rgba(13, 71, 161, 0.14)),
    rgba(17, 17, 17, 0.08);
  margin-top: 8px;
}

.player-preview-corner-title {
  margin-top: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.player-preview-corner-meta {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.player-preview-video-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.player-preview-toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.player-preview-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.player-preview-toggle.is-active {
  background: currentColor;
  color: #fff;
}

.player-preview-panel-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.player-preview-panel-copy {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.player-preview-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.player-preview-slider-item {
  min-height: 86px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .player-preview-top-row {
    grid-template-columns: 1fr;
  }

  .player-preview-stage {
    grid-template-columns: 1fr;
  }

  .player-preview-slider {
    grid-template-columns: 1fr;
  }
}

.sotv-site-footer {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin: 40px -50vw 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  color: #ffffff;
  background: var(--sotv-nav-bg, rgba(255,255,255,0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sotv-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 16px;
  max-width: var(--sotv-home-page-max-width, 1712px);
  margin: 0 auto;
  padding: 4px 0 4px;
  background: transparent;
  color: inherit;
  border: 0;
  box-shadow: none;
}

.sotv-site-footer__block {
  display: grid;
  gap: 9px;
  align-content: start;
}

.sotv-site-footer__title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.sotv-site-footer__links,
.sotv-site-footer__socials,
.sotv-site-footer__settings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sotv-site-footer__link,
.sotv-site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

html:not(.sotv-dark) .sotv-site-footer__link,
html:not(.sotv-dark) .sotv-site-footer__social {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.sotv-site-footer__link:hover,
.sotv-site-footer__social:hover {
  transform: translateY(-1px);
  background: rgba(242, 139, 26, 0.14);
  border-color: rgba(242, 139, 26, 0.32);
}

.sotv-site-footer__link:focus-visible,
.sotv-site-footer__social:focus-visible {
  outline: 2px solid var(--sotv-primary, #f28b1a);
  outline-offset: 2px;
}

.sotv-site-footer__link--button {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.sotv-site-footer__social .mdi {
  font-size: 0.92rem;
}

.sotv-site-footer__settings {
  align-items: center;
}

.sotv-site-footer__setting-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.sotv-site-footer__setting-label .mdi {
  font-size: 1rem;
}

.sotv-theme-switch--footer {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html:not(.sotv-dark) .sotv-theme-switch--footer {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
  .sotv-site-footer {
    margin-top: 28px;
  }

  .sotv-site-footer__inner {
    grid-template-columns: 1fr;
    padding: 18px 16px 22px;
  }
}

#sotv-mediathek-app,
#sotv-mediathek-app .v-application,
#sotv-mediathek-app .v-application__wrap,
#sotv-mediathek-app .v-main {
  min-height: 100%;
}

.sotv-app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sotv-app-content {
  flex: 1 0 auto;
}

.sotv-app-shell > .sotv-site-footer {
  margin-top: auto;
}
