/* Markenfarben über Bootstraps CSS-Variablen
   Hauptfarbe #8a1499, Akzent #290969 */
:root {
  --brand: #8a1499;
  --brand-dark: #6e107a;
  --brand-light: #d7a1e0;
  --accent: #290969;
  --bs-primary: var(--brand);
  --bs-primary-rgb: 138, 20, 153;
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 138, 20, 153;
  --bs-link-hover-color: var(--brand-dark);
  --bs-link-hover-color-rgb: 110, 16, 122;
}

/* Menüleiste in der Akzentfarbe */
.navbar.bg-dark {
  background-color: var(--accent) !important;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-disabled-border-color: var(--brand);
  --bs-btn-focus-shadow-rgb: 138, 20, 153;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 138, 20, 153;
}

.text-brand-light {
  color: var(--brand-light);
}

/* Dunkler Startbereich, passend zum schwarzen Logo-Hintergrund */
.hero-dark {
  background: radial-gradient(circle at 75% 45%, var(--accent) 0%, #000 65%);
}

.hero-logo {
  max-width: min(100%, 16rem);
}

@media (min-width: 992px) {
  .hero-logo {
    max-width: min(100%, 26rem);
  }
}

/* Instagram-Farbverlauf */
:root {
  --instagram-gradient: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* Social-Icons im Footer in der Markenfarbe der Plattform */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--brand-color);
  background-color: color-mix(in srgb, var(--brand-color) 10%, transparent);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: #fff;
  background-color: var(--brand-color);
  transform: translateY(-2px);
}

.social-instagram i {
  background: var(--instagram-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-instagram:hover,
.social-instagram:focus-visible {
  background: var(--instagram-gradient);
}

.social-instagram:hover i,
.social-instagram:focus-visible i {
  background: none;
  color: #fff;
}

/* Buttons in der Markenfarbe einer Plattform (Startseite, Linkseite) */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-color);
  --bs-btn-border-color: var(--brand-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--brand-color) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-color) 85%, #000);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--brand-color) 75%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--brand-color) 75%, #000);
}

.btn-brand-instagram,
.btn-brand-instagram:hover {
  /* Verlauf beginnt dunkel, damit die weiße Schrift links gut lesbar bleibt */
  background-image: linear-gradient(90deg, #833ab4, #c13584 35%, #e1306c 60%, #fd1d1d 85%, #f77737);
  border-color: transparent;
}

.btn-brand-instagram:hover {
  filter: brightness(0.92);
}

/* Bots */
.bot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.border-dashed {
  border: 2px dashed var(--bs-border-color);
}

/* Kalender */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.calendar-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: var(--bs-secondary-color);
  padding: 0.25rem 0;
}

.calendar-day {
  min-height: 4.5rem;
  padding: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: var(--bs-body-bg);
  text-align: left;
  font-size: 0.85rem;
  overflow: hidden;
}

.calendar-day.is-outside {
  visibility: hidden;
}

.calendar-day.is-today {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.calendar-day.is-today .calendar-date {
  color: #fff;
  background: var(--brand);
}

.calendar-day.has-events {
  cursor: pointer;
  background: color-mix(in srgb, var(--brand) 6%, var(--bs-body-bg));
}

.calendar-day.has-events:hover,
.calendar-day.is-selected {
  border-color: var(--brand);
}

.calendar-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-weight: 600;
}

.calendar-event {
  display: block;
  margin-top: 0.2rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.72rem;
  color: #fff;
  background: var(--brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.15rem;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 767.98px) {
  .calendar-day {
    min-height: 3rem;
    text-align: center;
  }
}

.event-item.is-highlighted {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--brand) 25%, transparent);
}

.event-date-badge {
  flex: 0 0 auto;
  width: 3.75rem;
  border-radius: 0.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  padding: 0.4rem 0;
  line-height: 1.1;
}

/* Event-Karten und Detailseite */
a.event-item {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.event-item:hover {
  border-color: var(--brand) !important;
  transform: translateY(-1px);
}

.event-item.is-past .event-date-badge {
  background: var(--bs-secondary-bg);
  color: var(--bs-secondary-color);
}

a.calendar-event {
  text-decoration: none;
}

a.calendar-event:hover {
  background: var(--brand-dark);
  color: #fff;
}

.breadcrumb-light {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-light a {
  color: var(--brand-light);
}

/* Event-Bilder */
.event-thumb {
  flex: 0 0 auto;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background: var(--bs-secondary-bg);
}

.event-item.is-past .event-thumb {
  filter: grayscale(0.6);
  opacity: 0.8;
}

.event-banner {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

.event-banner-col:empty {
  display: none;
}

a.calendar-event {
  align-items: center;
  gap: 0.25rem;
}

.calendar-event-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  object-fit: cover;
  background: #fff;
}

.calendar-day-icon {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.15rem auto 0;
  border-radius: 0.3rem;
  object-fit: cover;
}

/* Bearbeitbare Textbausteine */
.content-block > p:last-child,
.content-list > dd:last-child {
  margin-bottom: 0;
}

/* Admin */
.admin-preview {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--bs-border-color);
  background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 16px 16px;
}

.admin-preview-wide {
  width: 10rem;
  object-fit: contain;
}

/* Impressum und Datenschutz */
.legal-text {
  max-width: 50rem;
}

.legal-text h2 {
  scroll-margin-top: 5rem;
}

/* Equipment */
.equipment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.equipment-link {
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.equipment-link:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 5%, var(--bs-body-bg));
}

.equipment-label,
.equipment-arrow {
  color: var(--bs-secondary-color);
}

/* Kategorie-Titel mit Hintergrund in der Kategoriefarbe (Admin → Setup → „Farben der Kategorien“) */
.equipment-card {
  overflow: hidden;
}

.equipment-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  color: var(--cat-fg, #fff);
  background: var(--cat);
}

.equipment-card-head h2 {
  color: var(--cat-fg, #fff);
  font-weight: 700;
}

.equipment-card-icon {
  font-size: 1.25rem;
}

.equipment-count {
  min-width: 1.75rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.equipment-thumb {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--bs-border-color);
}

.equipment-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
  background: var(--bs-secondary-bg);
}

.link-preview {
  min-height: 4rem;
}

.link-preview-status:not(:empty) {
  margin-bottom: 0.5rem;
}

/* Erlaubt das Abschneiden langer Texte (text-truncate) in Flex-Elementen */
.min-w-0 {
  min-width: 0;
}

.equipment-item > .min-w-0 {
  overflow: hidden;
}

.equipment-list {
  grid-template-columns: minmax(0, 1fr);
}

/* Spiele-Kacheln (Twitch-Cover 285 × 380) */
.game-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

.game-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 285 / 380;
  object-fit: cover;
  border-radius: 0.6rem;
  background: var(--bs-secondary-bg);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--bs-secondary-color);
}

.game-tile:hover .game-cover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.25rem color-mix(in srgb, var(--brand) 35%, transparent);
}

.game-search-results {
  z-index: 10;
  top: 100%;
  max-height: 20rem;
  overflow-y: auto;
}

/* Countdown-Banner */
.countdown-banner {
  position: relative;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.countdown-image {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.15);
}

.countdown-image-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.countdown-when {
  color: rgba(255, 255, 255, 0.75);
}

.countdown-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.countdown-live {
  color: #ffd2d2;
  animation: countdown-pulse 1.5s ease-in-out infinite;
}

@keyframes countdown-pulse {
  50% {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-live {
    animation: none;
  }
}

.countdown-banner [data-countdown-close] {
  z-index: 2;
}

/* Live-Status im Startbereich */
.live-status {
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .live-status {
    justify-content: flex-start;
  }
}

.live-next {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #e91916;
  box-shadow: 0 0 0 0 rgba(233, 25, 22, 0.6);
  animation: live-glow 2s infinite;
}

.live-badge:hover {
  color: #fff;
  filter: brightness(1.1);
}

.live-dot {
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #fff;
  animation: countdown-pulse 1.2s ease-in-out infinite;
}

@keyframes live-glow {
  70% {
    box-shadow: 0 0 0 0.75rem rgba(233, 25, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 25, 22, 0);
  }
}

/* Zahlen & Meilensteine */
.stats-band {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--brand));
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

/* Handy und Tablet: Raster mit gleich breiten Spalten, damit alle Zahlen sauber untereinander stehen */
@media (max-width: 991.98px) {
  .stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.85rem 1rem;
  }

  .stat-text {
    min-width: 0;
  }

  /* Einträge ohne Symbol (eigene Zahlen) so einrücken, dass die Zahlen bündig stehen */
  .stat:not(:has(.stat-icon)) {
    padding-left: 2.6rem;
  }
}

@media (max-width: 575.98px) {
  .stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
  }
}

/* Stream-Plan */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
}

.schedule-day {
  padding: 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  min-height: 7rem;
}

.schedule-day.is-today {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent);
}

.schedule-day.is-free {
  background: var(--bs-tertiary-bg);
}

.schedule-dayname {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.schedule-entry + .schedule-entry {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--bs-border-color);
}

.schedule-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.schedule-free {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-day {
    min-height: 0;
    display: flex;
    gap: 1rem;
    align-items: baseline;
  }

  .schedule-day.is-free {
    display: none;
  }

  .schedule-dayname {
    flex: 0 0 4.5rem;
    margin-bottom: 0;
  }
}

/* Spiele-Laufband */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.marquee-item img {
  display: block;
  width: 7.5rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.6rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.marquee-item:hover img {
  transform: scale(1.05);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Clip-Highlights */
.clip-media {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}

.clip-play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
}

.clip-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.clip-play:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

.clip-play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  background: color-mix(in srgb, var(--brand) 85%, transparent);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

.clip-provider {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

/* Einblend-Effekte (nur mit JavaScript und ohne „weniger Bewegung“) */
.js .reveal,
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible,
.js .reveal-stagger > .is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-stagger > :nth-child(2) { transition-delay: 0.1s; }
.js .reveal-stagger > :nth-child(3) { transition-delay: 0.2s; }
.js .reveal-stagger > :nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee {
    overflow-x: auto;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }

  .live-badge,
  .live-dot {
    animation: none;
  }
}

/* Bot-Karten */
.bot-avatar {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
}

.bot-card .bot-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  font-size: 2rem;
}

.bot-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--brand) 18%, transparent) !important;
}

/* Bots & Tools */
.bot-trigger {
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.tools-section + .tools-section {
  border-top: 1px solid var(--bs-border-color);
}

.tools-section {
  scroll-margin-top: 4.5rem;
}

/* Livestream im Banner (statt Logo, wenn live) */
.hero-live {
  text-align: left;
}

.hero-live-frame {
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 3px #e91916, 0 1rem 2.5rem rgba(233, 25, 22, 0.35);
}

.hero-live-start {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: #0e0e10;
  cursor: pointer;
}

.hero-live-start img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-live-start:hover img {
  transform: scale(1.03);
  opacity: 0.85;
}

.hero-live-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.hero-live-badge,
.hero-live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.hero-live-badge {
  background: #e91916;
}

.hero-live-viewers {
  background: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

.hero-live-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.hero-live-caption {
  margin-top: 0.75rem;
}

/* Plattform-Symbole über den Follower-Zahlen */
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Hinweistext unter dem Banner */
.home-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  background: color-mix(in srgb, var(--brand) 7%, var(--bs-body-bg));
}

.home-notice-icon {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--brand);
}

@media (max-width: 575.98px) {
  .home-notice {
    flex-wrap: wrap;
  }
}

/* Text-Editor im Admin-Bereich */
/* quill.snow.css setzt height: 100% – dadurch ragte der Editor aus Karten heraus. */
body .rich-editor.ql-container {
  height: auto;
  background: var(--bs-body-bg);
}

.rich-editor .ql-editor {
  min-height: calc(var(--rich-rows, 4) * 1.6rem + 1rem);
  font-family: inherit;
  font-size: 1rem;
}

.ql-toolbar.ql-snow {
  border-radius: 0.375rem 0.375rem 0 0;
  background: var(--bs-tertiary-bg);
}

.ql-container.ql-snow {
  border-radius: 0 0 0.375rem 0.375rem;
}

/* Formatierter Text auf der Website */
.content-block > :last-child {
  margin-bottom: 0;
}

.content-block h2 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
}

.content-block h3 {
  font-size: 1.15rem;
  margin-top: 1rem;
}

.content-block blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--brand);
  font-style: italic;
}

/* Folgen-Karten für Instagram und TikTok (Seite Content) */
.social-follow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-follow:hover,
.social-follow:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.social-follow-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  font-size: 1.9rem;
  background: rgba(255, 255, 255, 0.18);
}

.social-follow-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  line-height: 1.25;
}

.social-follow-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.social-follow-handle {
  font-weight: 600;
  opacity: 0.9;
}

.social-follow-desc {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.social-follow-btn {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  font-weight: 700;
  background: #fff;
  transition: transform 0.2s ease;
}

.social-follow:hover .social-follow-btn {
  transform: scale(1.06);
}

/* Instagram: Farbverlauf der Marke */
.social-follow-instagram {
  background: linear-gradient(115deg, #833ab4 0%, #c13584 35%, #e1306c 60%, #fd1d1d 80%, #f77737 100%);
}

.social-follow-instagram .social-follow-btn {
  color: #c13584;
}

/* TikTok: schwarz mit dem typischen Cyan/Pink-Versatz */
.social-follow-tiktok {
  background: #010101;
}

.social-follow-tiktok::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.35), transparent 70%);
  pointer-events: none;
}

.social-follow-tiktok .social-follow-icon {
  background: rgba(255, 255, 255, 0.08);
  text-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55;
}

.social-follow-tiktok .social-follow-btn {
  color: #fff;
  background: #fe2c55;
}

@media (max-width: 420px) {
  .social-follow {
    flex-wrap: wrap;
  }

  .social-follow-btn {
    width: 100%;
    text-align: center;
  }
}

/* Editor: deutsche Beschriftungen für Formatauswahl und Link-Eingabe */
body .ql-snow .ql-picker.ql-header .ql-picker-label::before,
body .ql-snow .ql-picker.ql-header .ql-picker-item::before {
  content: "Text";
}

body .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
body .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
  content: "Überschrift";
}

body .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
body .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
  content: "Zwischentitel";
}

body .ql-snow .ql-picker.ql-header {
  width: 8rem;
}

body .ql-snow .ql-tooltip::before {
  content: "Link öffnen:";
}

body .ql-snow .ql-tooltip[data-mode="link"]::before {
  content: "Link eingeben:";
}

body .ql-snow .ql-tooltip a.ql-action::after {
  content: "Bearbeiten";
}

body .ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  content: "Speichern";
}

body .ql-snow .ql-tooltip a.ql-remove::before {
  content: "Entfernen";
}

.ql-snow .ql-tooltip {
  z-index: 5;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.ql-snow .ql-tooltip input[type="text"] {
  width: 14rem;
}

.ql-editor.ql-blank::before {
  font-style: normal;
  color: var(--bs-secondary-color);
}

/* Platzhalter-Leiste unter dem Editor */
.shortcode-bar {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.shortcode-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.shortcode-row-title {
  min-width: 3.5rem;
}

.shortcode-event {
  width: auto;
  max-width: 20rem;
}

.shortcode-chip {
  --chip-color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--chip-color) 40%, transparent);
  border-radius: 1rem;
  font-size: 0.8rem;
  color: var(--chip-color);
  background: color-mix(in srgb, var(--chip-color) 8%, var(--bs-body-bg));
  cursor: pointer;
}

.shortcode-chip:hover {
  color: #fff;
  background: var(--chip-color);
}

/* Buttons aus Platzhaltern im Text ([TikTok] usw.) */
.shortcode-btn {
  margin: 0.15rem 0.25rem 0.15rem 0;
  vertical-align: middle;
}

/* Linkseite: hervorgehobene eigene Links */
.linktree-highlight {
  border: 0;
  background: linear-gradient(120deg, var(--accent), var(--brand));
  box-shadow: 0 0.5rem 1.25rem color-mix(in srgb, var(--brand) 35%, transparent);
}

/* Einstiegstext unter der Seitenüberschrift */
.page-intro {
  max-width: 50rem;
  font-size: 1.1rem;
  color: var(--bs-body-color);
}

.page-intro-section + section,
.page-intro-section + .container {
  padding-top: 2rem;
}

/* Auf der Linkseite: schmal und zentriert */
.container > .page-intro-section {
  padding: 0 0 1.5rem;
  text-align: center;
}

/* Dropdown-Menüs in der Markenfarbe */
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--brand);
}

/* Admin: Seitenleiste auf dem Desktop (ab 992 px), mobil bleibt das Menü oben */
@media (min-width: 992px) {
  .admin-shell {
    display: flex;
    min-height: 100vh;
  }

  .admin-content {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.admin-sidebar {
  position: sticky;
  top: 0;
  flex: 0 0 15rem;
  width: 15rem;
  height: 100vh;
  flex-direction: column;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.75);
  background: var(--bs-dark);
}

.admin-side-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-side-nav {
  flex: 1 1 auto;
  padding: 0.75rem 0.6rem;
}

.admin-side-group {
  margin-top: 1rem;
}

.admin-side-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.65rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.admin-side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.45rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.admin-side-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-side-link.active {
  color: #fff;
  background: var(--brand);
}

.admin-side-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.admin-side-user:hover {
  color: #fff;
}
.admin-side-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-side-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-tile {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Event-Formate: Karussell auf /events (seitlich wischen, Pfeile oben rechts) */
.format-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 1rem;
  scrollbar-width: thin;
}

@media (min-width: 576px) {
  .format-track { grid-auto-columns: calc((100% - 1rem) / 2); }
}

@media (min-width: 992px) {
  .format-track { grid-auto-columns: calc((100% - 2rem) / 3); }
}

.format-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.6rem 1.4rem color-mix(in srgb, var(--format-color) 25%, transparent);
}

.format-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 4px solid var(--format-color);
}

.format-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--format-placeholder-fg, #fff);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--format-color), color-mix(in srgb, var(--format-color) 45%, #000));
}

.format-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.1rem;
}

.format-card-tagline {
  font-weight: 600;
  color: var(--format-text, var(--format-color));
}

.format-card-text p:last-child {
  margin-bottom: 0;
}

.format-card-btn {
  margin-top: 0.5rem;
  color: var(--format-fg, #fff);
  background: var(--format-color);
  border-color: var(--format-color);
}

.format-card-btn:hover,
.format-card-btn:focus-visible {
  color: var(--format-fg, #fff);
  background: color-mix(in srgb, var(--format-color) 82%, #000);
  border-color: color-mix(in srgb, var(--format-color) 82%, #000);
}

/* Datum im Stream-Plan */
.schedule-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
  .schedule-dayname {
    flex-basis: 5.5rem;
  }
}

/* Einmalige Termine im Stream-Plan */
.schedule-special {
  font-size: 0.65rem;
  font-weight: 600;
  vertical-align: middle;
  color: #fff;
  background: var(--accent);
}

/* Banner (Kopfbereich) der Unterseiten – Admin: Seitenansicht → „Banner“ */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner-light {
  background-color: var(--bs-tertiary-bg);
}

.page-banner-sub {
  color: var(--bs-secondary-color);
}

.page-banner-brand {
  background-image: linear-gradient(120deg, var(--brand), var(--accent));
}

.page-banner-dark {
  background-image: radial-gradient(circle at 75% 45%, var(--accent) 0%, #000 65%);
}

.page-banner-color {
  background-image: linear-gradient(120deg, var(--banner-color), color-mix(in srgb, var(--banner-color) 55%, #000));
}

.page-banner-image {
  background-color: #111;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35)), var(--banner-image);
}

.page-banner.is-dark .page-banner-sub {
  color: rgba(255, 255, 255, 0.8);
}

.page-banner.is-dark .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.8);
}

.page-banner.is-dark .breadcrumb a {
  color: #fff;
}

.page-banner.is-dark .btn-outline-primary {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-hover-color: var(--brand);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--brand);
  --bs-btn-active-bg: #fff;
}

/* Bilderbrowser im Admin */
.library-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bs-tertiary-bg);
}

.library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.library-pick {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--bs-border-color);
  border-radius: 0.6rem;
  background: var(--bs-body-bg);
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.library-pick:hover,
.library-pick:focus-visible {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.library-pick img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bs-tertiary-bg);
}

.library-pick span {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

/* Blog */
.blog-card {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.6rem 1.4rem color-mix(in srgb, var(--brand) 18%, transparent);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.blog-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem 1.1rem 1.1rem;
}

.blog-card-more {
  font-weight: 600;
  color: var(--brand);
}

.blog-post-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 2rem;
  border-radius: 0.9rem;
}

.blog-post-content {
  font-size: 1.08rem;
  line-height: 1.7;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 2rem;
}

.blog-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bs-border-color);
}

.blog-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: inherit;
  text-decoration: none;
}

.blog-nav-link:hover .fw-semibold {
  color: var(--brand);
}

/* --- Linkseite: Design (Admin → Links → Design) ------------------------------------------ */
.linktree {
  position: relative;
  isolation: isolate;
}

.lt-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.lt-bg-color .lt-background {
  background: var(--lt-color1);
}

.lt-bg-gradient .lt-background {
  background: linear-gradient(135deg, var(--lt-color1), var(--lt-color2));
}

.lt-bg-image .lt-background {
  background:
    linear-gradient(rgba(0, 0, 0, var(--lt-overlay)), rgba(0, 0, 0, var(--lt-overlay))),
    var(--lt-image) center / cover no-repeat;
}

/* Animation „Fliessender Verlauf“: über Farbe/Verlauf/Standard ein bewegter Farbschleier */
.lt-anim-flow .lt-background::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, var(--lt-color1), var(--lt-color2), var(--lt-color1), var(--lt-color2));
  background-size: 300% 300%;
  opacity: 0.55;
  animation: lt-flow 18s ease-in-out infinite;
}

.lt-bg-default.lt-anim-flow .lt-background::before {
  opacity: 0.18;
}

@keyframes lt-flow {
  0%,
  100% {
    background-position: 0% 50%;
    transform: rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
    transform: rotate(8deg);
  }
}

.lt-particles {
  position: absolute;
  inset: 0;
}

.lt-anim-bubbles .lt-particles span {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: lt-bubble linear infinite;
}

.lt-bg-default.lt-anim-bubbles .lt-particles span {
  background: color-mix(in srgb, var(--lt-color1) 18%, transparent);
  border-color: color-mix(in srgb, var(--lt-color1) 35%, transparent);
}

@keyframes lt-bubble {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-55vh) translateX(20px);
  }
  100% {
    transform: translateY(-115vh) translateX(-10px);
    opacity: 0;
  }
}

.lt-anim-sparkle .lt-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.7);
  animation: lt-sparkle 4s ease-in-out infinite;
}

.lt-bg-default.lt-anim-sparkle .lt-particles span {
  background: var(--lt-color1);
  box-shadow: 0 0 6px 2px color-mix(in srgb, var(--lt-color1) 60%, transparent);
}

@keyframes lt-sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-background::before,
  .lt-particles span {
    animation: none !important;
  }
  .lt-anim-bubbles .lt-particles,
  .lt-anim-sparkle .lt-particles {
    display: none;
  }
}

/* Schriftfarbe */
.lt-theme-light .lt-name {
  color: #fff;
}

.lt-theme-light .lt-tagline,
.lt-theme-light .lt-section-title {
  color: rgba(255, 255, 255, 0.8) !important;
}

.lt-theme-light .page-intro {
  color: #fff;
}

body:has(.lt-theme-light) .site-footer-bare a,
body:has(.lt-theme-light) .site-footer-bare .btn-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Button-Form */
.linktree .lt-btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.linktree .lt-btn:hover {
  transform: translateY(-2px);
}

.lt-shape-rounded .lt-btn {
  border-radius: 0.8rem;
}

.lt-shape-pill .lt-btn {
  border-radius: 50rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.lt-shape-square .lt-btn {
  border-radius: 0;
}

/* Button-Stil: eigene Links (ohne Hervorhebung) und Website-Seiten */
.lt-style-solid .lt-plain,
.lt-style-solid .lt-page {
  background: #fff !important;
  color: #212529;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.08);
}

.lt-style-glass .lt-btn {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lt-theme-dark.lt-style-glass .lt-btn {
  background: rgba(255, 255, 255, 0.55) !important;
  color: #212529;
  border-color: rgba(0, 0, 0, 0.12);
}

.lt-style-glass .lt-btn:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

.lt-style-outline .lt-btn {
  background: transparent !important;
  color: inherit;
  border: 2px solid currentColor;
  box-shadow: none;
}

.lt-theme-light.lt-style-outline .lt-btn {
  color: #fff;
}

.lt-style-outline .lt-btn:hover {
  background: rgba(127, 127, 127, 0.15) !important;
}

/* --- Cookie-Banner ----------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner-inner {
  width: 100%;
  max-width: 46rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.cookie-banner-settings {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.6rem;
  background: var(--bs-tertiary-bg);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 575.98px) {
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}

/* Klick-Statistik im Admin: Balken der letzten 14 Tage */
.lt-chart {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 0.35rem;
  height: 8rem;
}

.lt-chart-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.lt-chart-bars {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
  justify-content: center;
}

.lt-chart-bars span {
  width: 40%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
}

.lt-chart-views {
  background: color-mix(in srgb, var(--brand) 30%, transparent);
}

.lt-chart-clicks {
  background: var(--brand);
}

.lt-chart-label {
  font-size: 0.7rem;
  color: var(--bs-secondary-color);
}

.lt-legend {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
  vertical-align: -0.1rem;
}

/* „Cookie-Einstellungen“ im Footer: Button, der wie die übrigen Links aussieht */
[data-consent-open] {
  font-size: inherit;
  line-height: inherit;
  border: 0;
  text-decoration: underline;
}

/* Zufälliger Clip auf der Linkseite */
.lt-clip .clip-card {
  padding: 0.75rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.lt-clip-meta,
.lt-clip-note {
  color: var(--bs-secondary-color);
}

.lt-theme-light .lt-clip .clip-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}

.lt-theme-light .lt-clip-meta,
.lt-theme-light .lt-clip-note,
.lt-theme-light .lt-clip a {
  color: rgba(255, 255, 255, 0.8);
}

/* Eigene Bild-Icons der Linkseite */
.lt-icon-img {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  object-fit: cover;
}

.lt-icon-img-sm {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.3rem;
}

/* Icon-Fenster im Admin */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.5rem;
}

.icon-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 0.25rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.6rem;
  background: var(--bs-body-bg);
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
}

.icon-choice .bi {
  font-size: 1.5rem;
}

.icon-choice:hover,
.icon-choice:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

.icon-choice.active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--bs-body-bg));
  color: var(--brand);
}

/* Footer der Linkseite über dem festen Hintergrund (.lt-background) zeichnen */
.site-footer-bare {
  position: relative;
  z-index: 1;
}

/* Eigene Links mit eigener Farbe oder Farbverlauf (überschreibt den Button-Stil des Designs) */
.linktree .lt-colored,
.linktree .lt-colored:hover,
.linktree .lt-colored:focus-visible {
  background: var(--lt-link-bg) !important;
  color: var(--lt-link-fg) !important;
  border: 0 !important;
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.15);
}

.linktree .lt-colored:hover {
  filter: brightness(1.08);
}

/* Rechtliche Seiten: Abschnitte automatisch nummerieren (Abschnitte können je nach Einstellung fehlen) */
.legal-text {
  counter-reset: legal;
}
.legal-text h2.legal-num::before {
  counter-increment: legal;
  content: counter(legal) ". ";
}
.legal-text [id] {
  scroll-margin-top: 5rem;
}
.legal-bot-list > li {
  margin-bottom: 0.75rem;
}
.legal-bot-list > li:target {
  background: rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 0.375rem;
  outline: 0.35rem solid rgba(var(--bs-primary-rgb), 0.1);
}
.bot-legal a {
  text-decoration: none;
}
.bot-legal a:hover {
  text-decoration: underline;
}

/* Werbung: eigene Anzeigen und Google AdSense, immer als „Anzeige“ gekennzeichnet */
.ad-slot {
  position: relative;
}
.ad-card {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--bs-body-color);
  text-decoration: none;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ad-card:hover {
  color: var(--bs-body-color);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}
.ad-image {
  flex: 0 0 auto;
  width: min(40%, 22rem);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  align-self: center;
}
.ad-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  min-width: 0;
}
.ad-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.ad-text {
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
}
.ad-cta {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}
.ad-label {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}
.ad-label-static {
  position: static;
  display: block;
  text-align: right;
  margin-bottom: 0.25rem;
}
/* Linkseite: schmale Spalte → Bild oben, Text darunter */
.ad-slot-links {
  margin: 1.5rem 0;
}
.ad-card-links {
  flex-direction: column;
}
.ad-card-links .ad-image {
  width: 100%;
}
.ad-card-links .ad-body {
  padding: 0.85rem 1rem 1.6rem;
}
.lt-theme-light .ad-slot-adsense .ad-label {
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 575.98px) {
  .ad-card-site {
    flex-direction: column;
  }
  .ad-card-site .ad-image {
    width: 100%;
  }
}

/* Eingebettete Werbemittel von Partnerprogrammen */
.ad-code {
  position: relative;
}
.ad-frame {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}
.ad-placeholder {
  position: relative;
  padding: 1.25rem 1.25rem 1.75rem;
  text-align: center;
  color: var(--bs-secondary-color);
  background: var(--bs-body-bg);
  border: 1px dashed var(--bs-border-color);
  border-radius: 0.75rem;
}
.lt-theme-light .ad-code.is-loaded .ad-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Heli's Choice: empfohlene Creator */
.creator-card {
  position: relative;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.1);
}
.creator-card.is-highlight {
  border: 2px solid var(--brand);
  background: linear-gradient(160deg, rgba(var(--bs-primary-rgb), 0.08), var(--bs-body-bg) 55%);
}
.creator-pick {
  position: absolute;
  top: -0.8rem;
  right: 1rem;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  border-radius: 999px;
  box-shadow: 0 0.25rem 0.75rem rgba(var(--bs-primary-rgb), 0.35);
}
.creator-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}
.creator-avatar {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-body-bg);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.is-highlight .creator-avatar {
  width: 112px;
  height: 112px;
}
.creator-avatar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.creator-card.is-live .creator-avatar {
  box-shadow: 0 0 0 3px #e91916;
}
.creator-live-badge {
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  padding: 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: #e91916;
  border-radius: 0.3rem;
  border: 2px solid var(--bs-body-bg);
}
.creator-live-info {
  color: #e91916;
  font-weight: 600;
  margin-top: 0.25rem;
}
.creator-tag {
  color: var(--brand-dark);
  background: rgba(var(--bs-primary-rgb), 0.1);
  font-weight: 500;
}
.creator-text p:last-child {
  margin-bottom: 0;
}
.creator-platform {
  --bs-btn-padding-y: 0.3rem;
  --bs-btn-padding-x: 0.7rem;
  --bs-btn-font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  background: var(--platform-color);
  border: 0;
}
.creator-platform:hover,
.creator-platform:focus-visible {
  color: #fff;
  background: var(--platform-color);
  filter: brightness(1.12);
}
@media (max-width: 400px) {
  .creator-platform-label {
    display: none;
  }
}

/* Heli's Choice auf der Linkseite */
.lt-creator {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.lt-creator-avatar {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 0.9rem;
}
.lt-creator.is-live .lt-creator-avatar {
  box-shadow: 0 0 0 2px #e91916;
}
.lt-creator .creator-live-badge {
  bottom: -0.45rem;
  font-size: 0.55rem;
  padding: 0 0.3rem;
  border-width: 1px;
}
.lt-creator-tags {
  opacity: 0.7;
  font-size: 0.8rem;
}
.lt-creator-star {
  color: #f5b301;
  font-size: 0.8em;
}
.lt-creators-more {
  color: inherit;
  opacity: 0.85;
}
.lt-theme-light .lt-creators-more {
  color: #fff;
}

/* Startseite: empfohlene Creator, die gerade live sind */
.home-live-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 0.85rem 1rem;
  color: var(--bs-body-color);
  text-decoration: none;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-left: 4px solid #e91916;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-live-card:hover {
  color: var(--bs-body-color);
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}
.home-live-card .creator-avatar {
  width: 64px;
  height: 64px;
  font-size: 1.2rem;
  box-shadow: 0 0 0 3px #e91916;
}
.home-live-card .creator-live-badge {
  font-size: 0.6rem;
}
.home-live-info {
  color: #e91916;
  font-weight: 600;
}
.home-live-watch {
  flex: 0 0 auto;
  color: #fff;
  background: #9146ff;
}
.home-live-card:hover .home-live-watch {
  filter: brightness(1.1);
}
.home-live-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: #e91916;
  border-radius: 50%;
  animation: home-live-pulse 1.6s ease-in-out infinite;
}
@keyframes home-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 25, 22, 0.5); }
  50% { box-shadow: 0 0 0 0.45rem rgba(233, 25, 22, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-live-dot { animation: none; }
}

/* Turnierbaum (HelaCup) auf der Event-Seite – Daten kommen vom Bot-Panel */
.tournament-bracket { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; }
.tournament-round { display: flex; flex-direction: column; flex: 1 0 200px; min-width: 200px; }
.tournament-round-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); margin-bottom: .5rem; white-space: nowrap; }
.tournament-matches { display: flex; flex-direction: column; justify-content: space-around; gap: .75rem; flex: 1; }
.tournament-match { position: relative; border: 1px solid var(--bs-border-color); border-radius: .6rem; background: var(--bs-body-bg); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.tournament-match.is-live { border-color: #e91916; box-shadow: 0 0 0 2px rgba(233, 25, 22, .25); }
.tournament-live { position: absolute; top: 3px; right: 6px; font-size: .65rem; font-weight: 800; color: #fff; background: #e91916; border-radius: .25rem; padding: 0 .3rem; }
.tournament-side { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem .7rem; }
.tournament-side + .tournament-side { border-top: 1px solid var(--bs-border-color); }
.tournament-side.is-winner { font-weight: 700; background: rgba(var(--bs-primary-rgb), .1); }
.tournament-side.is-loser { color: var(--bs-secondary-color); }
.tournament-side.is-open .tournament-team { color: var(--bs-secondary-color); font-style: italic; }
.tournament-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tournament-score { font-weight: 700; font-variant-numeric: tabular-nums; }
.tournament-champion { background: var(--brand); color: #fff; font-size: .9rem; }
.tournament-teams summary { cursor: pointer; font-weight: 600; }

/* Regeln (Event-Seite und Regelwerk-Seite) */
.rules-card {
  border-top: 4px solid var(--brand);
}
.rules-text ol,
.rules-text ul {
  padding-left: 1.4rem;
}
.rules-text li {
  margin-bottom: 0.35rem;
}
.rules-text h2,
.rules-text h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
}
#regeln {
  scroll-margin-top: 5rem;
}

/* Projekte: Zusatzangaben je Bereich */
.bot-chip {
  color: var(--brand-dark);
  background: rgba(var(--bs-primary-rgb), 0.1);
  font-weight: 500;
}
.bot-os {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  border-radius: 0.4rem;
}
.bot-commands summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
}
.bot-command {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}
.bot-command:last-child {
  border-bottom: 0;
}
.bot-command dt {
  font-weight: 400;
}
.bot-command dd {
  font-size: 0.9rem;
}
.bot-example-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.25rem;
}
.bot-example-bubble {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  background: var(--bs-tertiary-bg);
  border-left: 3px solid #9146ff;
  border-radius: 0 0.6rem 0.6rem 0.6rem;
}

/* Seitenbanner „Eigene Farbe“ mit heller Farbe: dunkle Schrift (lib/banners.js, lib/color.js) */
.page-banner.is-light-color {
  color: #212529;
}
.page-banner.is-light-color .page-banner-sub {
  color: rgba(33, 37, 41, 0.8);
}

/* Zwei-Faktor: QR-Code im Admin */
.totp-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Ergebnisse auf der Event-Seite und Ruhmeshalle */
.results-card {
  border-top: 4px solid #f5b301;
}
.podium-place {
  height: 100%;
  padding: 1rem;
  text-align: center;
  border-radius: 0.75rem;
  background: var(--bs-tertiary-bg);
}
.podium-place .bi {
  font-size: 1.8rem;
}
.podium-gold {
  background: linear-gradient(160deg, #fff4c2, #ffe066);
  color: #5c4400;
}
.podium-silver {
  background: linear-gradient(160deg, #f1f3f5, #ced4da);
  color: #343a40;
}
.podium-bronze {
  background: linear-gradient(160deg, #ffe8d6, #e8a87c);
  color: #5a2d0c;
}
.hof-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-top: 4px solid var(--hof-color, var(--brand));
}
.hof-card:hover {
  transform: translateY(-3px);
}
.hof-winner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hof-winner .bi {
  font-size: 1.6rem;
  color: #f5b301;
}
.hof-group-mark {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--hof-color, var(--brand));
  vertical-align: middle;
}
.hof-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
}
#ergebnisse {
  scroll-margin-top: 5rem;
}

/* Hell/Dunkel-Umschalter in der Menüleiste */
.theme-toggle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: #fff;
}

/* Dunkler Modus: eigene Flächen an Bootstrap-Variablen anpassen */
[data-bs-theme="dark"] body {
  background-color: var(--bs-body-bg);
}
[data-bs-theme="dark"] .page-banner-light {
  background-color: var(--bs-tertiary-bg);
}
[data-bs-theme="dark"] .card {
  --bs-card-bg: var(--bs-tertiary-bg);
}
[data-bs-theme="dark"] .creator-tag,
[data-bs-theme="dark"] .bot-chip {
  color: var(--brand-light);
}
[data-bs-theme="dark"] .text-primary {
  color: var(--brand-light) !important;
}

/* Stream-Plan-Seite */
.sp-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 991.98px) {
  .sp-week {
    grid-template-columns: 1fr;
  }
}
.sp-day {
  padding: 0.9rem;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
}
.sp-day.is-today {
  border: 2px solid var(--brand);
}
.sp-day.is-free {
  opacity: 0.65;
}
.sp-dayname {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sp-entry + .sp-entry {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--bs-border-color);
}
.sp-entry-time {
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-weight: 600;
}
.sp-local {
  color: var(--bs-secondary-color);
  font-weight: 400;
  font-size: 0.85em;
}
.sp-free {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}
.sp-next {
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  background: rgba(var(--bs-primary-rgb), 0.1);
}
.sp-special-date {
  min-width: 11rem;
  font-weight: 600;
}

/* Kontakt (Postfach im Admin) und Partner-Seite */
.contact-text {
  white-space: pre-wrap;
  word-break: break-word;
}
.contact-msg > summary {
  cursor: pointer;
  list-style: none;
}
.contact-msg.is-new {
  border-left: 4px solid var(--bs-danger);
}
.partner-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}
.partner-cta {
  border-top: 4px solid var(--brand);
}
.partner-facts dt {
  font-weight: 600;
}

/* FAQ in der Markenfarbe statt Bootstrap-Blau */
.accordion {
  --bs-accordion-active-color: var(--brand-dark);
  --bs-accordion-active-bg: rgba(var(--bs-primary-rgb), 0.08);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
[data-bs-theme="dark"] .accordion {
  --bs-accordion-active-color: var(--brand-light);
  --bs-accordion-active-bg: rgba(var(--bs-primary-rgb), 0.25);
}
.accordion-button:not(.collapsed)::after {
  filter: hue-rotate(60deg) saturate(1.2);
}

/* Dunkler Modus: schwarze Markenfarben (TikTok, X) hell darstellen */
[data-bs-theme="dark"] .social-tiktok,
[data-bs-theme="dark"] .social-x {
  --brand-color: #f1f3f5 !important;
}

/* Fehlerseiten (404, 500 …) */
.error-icon {
  display: block;
  font-size: 2.5rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0.5rem;
}

/* Community Clip der Woche */
.cdw-twitch-btn { background: #9146ff; color: #fff; }
.cdw-twitch-btn:hover, .cdw-twitch-btn:focus { background: #772ce8; color: #fff; }
.cdw-countdown [data-cdw-countdown-value] { font-variant-numeric: tabular-nums; }
.cdw-vertical { --bs-aspect-ratio: 177.78%; max-width: 20rem; margin-inline: auto; }
.cdw-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }

/* Admin: Vorschau der Einsendungen */
.cdw-preview { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0; overflow: hidden; display: grid; place-items: center; }
.cdw-preview.is-vertical { aspect-ratio: 16 / 9; }
.cdw-preview.is-vertical iframe { width: 40%; left: 30%; }
.cdw-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.cdw-preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cdw-preview .btn { position: relative; }
.cdw-preview-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #777; font-size: 3rem; }
