/* Worst Watch – Netflix-dark DE Prototype */
:root {
  --bg: #0a0a0a;
  --card: #1c1c1c;
  --card-hover: #262626;
  --accent: #e50914;
  --accent-dim: #b20710;
  --text: #ffffff;
  --muted: #b3b3b3;
  --muted2: #808080;
  --border: #333;
  --radius: 6px;
  --nav-h: 104px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font-family: inherit;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.85) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#main-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
  max-width: min(1400px, 100%);
}

.burger-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 120;
}
/* Desktop-Nav-Links: standardmäßig aus (Mobile-first), ab 901px sichtbar */
.nav-links--desktop {
  display: none;
}
.burger-btn:hover,
.burger-btn:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 1.1rem;
}
.burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .burger-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .burger-lines span:nth-child(2) {
  opacity: 0;
}
body.nav-open .burger-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: min(320px, 100vw);
  max-width: 100%;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(12, 12, 12, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 115;
  box-shadow: -12px 16px 40px rgba(0, 0, 0, 0.45);
}
.nav-panel[hidden] {
  display: none !important;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(0, 0, 0, 0.55);
  z-index: 110;
}
.nav-backdrop[hidden] {
  display: none !important;
}
.nav-panel-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-panel .search-form {
  flex: 1 1 auto;
  min-width: 0;
}
.nav-panel .search-form input,
.nav-panel .search-form input:focus {
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.logo-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
  line-height: 1;
}
@media (max-width: 640px) {
  .logo-mark {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.8rem;
  }
  .logo-text {
    font-size: 2.05rem;
  }
  .logo-watch {
    font-size: 1.35rem;
  }
}

.logo-mark {
  background: var(--accent);
  color: #fff;
  width: 3.35rem;
  height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}

.logo-watch {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 1.75rem;
}
.logo-text {
  color: var(--accent);
  font-size: 2.65rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  font-weight: 600;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  width: 160px;
  font-size: 0.875rem;
}

.search-form input:focus {
  outline: none;
  border-color: var(--accent);
  width: 200px;
}

.region-badge {
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--muted2);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ——— Layout ——— */
.page {
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 4rem;
  overflow-x: hidden;
  width: 100%;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.page-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 340px;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  background: #141414;
  max-width: 100%;
  width: 100%;
  border: 1px solid rgba(229, 9, 20, 0.45);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.12), 0 8px 28px rgba(229, 9, 20, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.65) 45%,
    rgba(10, 10, 10, 0.25) 100%
  ),
    linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  max-width: 560px;
}

.hero-kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.hero-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dim);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

/* ——— Carousel ——— */
.carousel-section {
  margin-bottom: 2rem;
  overscroll-behavior-x: contain;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.section-head h2 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.carousel-wrap {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
  overscroll-behavior-x: contain;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

.carousel-btn {
  position: absolute;
  top: 35%;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.carousel-wrap:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn.prev {
  left: 0.25rem;
}

.carousel-btn.next {
  right: 0.25rem;
}

/* ——— Poster cards ——— */
.poster-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.poster-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Hover: ganzer grauer Meta-Bereich rot */
.poster-card:hover .poster-meta {
  background: rgba(229, 9, 20, 0.92);
  transition: background 0.15s ease;
}
.poster-card:hover .poster-title {
  background: transparent;
  color: #fff;
  padding: 0;
  margin: 0 0 0.2rem;
}
.poster-card:hover .poster-sub {
  color: rgba(255, 255, 255, 0.85);
}
.film-table tr.film-row:hover td {
  background: rgba(229, 9, 20, 0.92);
  color: #fff;
  transition: background 0.12s ease, color 0.12s ease;
}
.film-table tr.film-row:hover .title-link {
  background: transparent;
  color: #fff;
  padding: 0;
  text-decoration: none;
}
.film-table tr.film-row:hover .title-cell {
  background: rgba(229, 9, 20, 0.92);
}
.film-table tr.film-row:hover .title-blurb,
.film-table tr.film-row:hover td[style],
.film-table tr.film-row:hover .type-badge {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.film-table tr.film-row:hover .ws,
.film-table tr.film-row:hover .rank {
  color: #fff;
}


.poster-card.large {
  flex: 0 0 200px;
}

.poster-art {
  position: relative;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ——— Real poster images ——— */
.poster-art.has-img,
.film-poster-lg.has-img {
  overflow: hidden;
}

.poster-art .poster-img,
.film-poster-lg .poster-img,
.film-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.poster-art .score-badge,
.poster-art .tag-pill,
.film-poster-lg .score-badge {
  z-index: 2;
}

.poster-art.has-img .poster-initial,
.film-poster-lg.has-img .poster-initial {
  display: none;
}


.poster-initial {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  user-select: none;
}

.score-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.tag-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.poster-meta {
  padding: 0.65rem 0.7rem 0.85rem;
  transition: background 0.15s ease;
}

.poster-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease;
}

.poster-sub {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted2);
}

/* ——— Film detail ——— */
.film-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 720px) {
  .film-layout {
    grid-template-columns: 1fr;
  }
}

.film-poster-lg {
  border-radius: 8px;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.film-poster-lg .poster-initial {
  font-size: 5rem;
}

.film-poster-lg .score-badge {
  width: 3rem;
  height: 3rem;
  font-size: 1.15rem;
  top: 0.75rem;
  right: 0.75rem;
}

.film-info h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.film-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.genre-chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.synopsis {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.provider-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-chip em {
  font-style: normal;
  color: var(--muted2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Score bars */
.score-panel {
  background: var(--card);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.score-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.worst-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.worst-big .num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.worst-big .label {
  color: var(--muted);
  font-size: 0.9rem;
}

.score-bars {
  display: grid;
  gap: 0.75rem;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr 52px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
}

.score-row--empty {
  opacity: 0.42;
}

.score-row--empty .bar-track {
  background: #222;
}

.score-row--empty .val {
  font-weight: 400;
  color: var(--muted2, #888);
}

.score-cat {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.score-cat-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted2, #888);
  font-weight: 600;
}

.score-sources-meta {
  opacity: 0.7;
  font-weight: 400;
}

.score-sources-hate {
  margin-top: 0.35rem;
}

.score-missing {
  margin-top: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.65rem;
}

.score-missing-toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  user-select: none;
}

.score-missing-toggle::-webkit-details-marker { display: none; }

.score-missing-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  border: 1px solid rgba(229, 9, 20, 0.55);
  color: #fff;
  background: rgba(229, 9, 20, 0.18);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.score-missing[open] .score-missing-plus {
  background: rgba(229, 9, 20, 0.4);
  transform: rotate(45deg);
}

.score-missing-label {
  letter-spacing: 0.01em;
}

.score-missing-body {
  margin-top: 0.85rem;
}

.score-cat--empty {
  opacity: 0.95;
}

.score-row .name {
  color: var(--muted);
}

.bar-track {
  height: 8px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.6s ease;
}

.score-row .val {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Quotes */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.quote-card {
  background: var(--card);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
}

.quote-card blockquote {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted2);
}

/* Explorer */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.filter-chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border-radius: 8px; /* kantiger als Pill, noch rund – wie Buttons */
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-chip:hover {
  border-color: var(--muted);
  color: var(--text);
}

.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.toolbar label {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.toolbar select,
.toolbar input[type="search"] {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.film-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.film-table th,
.film-table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border);
}

.film-table th {
  color: var(--muted2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
}

.film-table th:hover {
  color: var(--text);
}

.film-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.film-table tr.film-row:hover td {
  background: rgba(229, 9, 20, 0.92);
  color: #fff;
}

.film-table .rank {
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
  position: relative;
  width: 1%;
  min-width: 4.5rem; /* Nummer + Watchlist-Icon, kein Überlauf in WW */
  max-width: none;
  white-space: nowrap;
  vertical-align: middle;
  padding-left: 0.5rem;
  padding-right: 0.4rem;
  box-sizing: border-box;
  overflow: visible;
}
.rank-num {
  display: inline-block;
  min-width: 1.35rem;
  text-align: right;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.wl-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  vertical-align: middle;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.85);
  color: var(--muted);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.film-table tr.film-row:hover .wl-icon-btn,
.wl-icon-btn:focus-visible,
.wl-icon-btn.is-on {
  opacity: 1;
}
.wl-icon-btn:hover,
.wl-icon-btn:focus-visible {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.06);
}
.wl-icon-btn.is-on {
  color: #fff;
  border-color: var(--accent);
  background: rgba(229, 9, 20, 0.85);
}
.wl-icon-btn .wl-icon-fill {
  display: none;
}
.wl-icon-btn.is-on .wl-icon-fill {
  display: block;
}
.wl-icon-btn.is-on .wl-icon-outline {
  display: none;
}
.wl-icon-tip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  transform: translateX(-50%) translateY(2px);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(229, 9, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.28rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.wl-icon-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(229, 9, 20, 0.95);
}
.wl-icon-btn:hover .wl-icon-tip,
.wl-icon-btn:focus-visible .wl-icon-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.film-table tr.film-row:hover .wl-icon-btn:not(:hover):not(.is-on) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.25);
}


.film-table .ws {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  width: 1%;
  min-width: 3rem;
  padding-left: 0.35rem;
  padding-right: 0.5rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
  overflow: visible;
}
.film-table th.th-worst,
.film-table th[data-sort="worst"] {
  text-align: center;
  min-width: 3rem;
  padding-left: 0.35rem;
  padding-right: 0.5rem;
  white-space: nowrap;
}
.film-table th.th-rank {
  min-width: 4.5rem;
  padding-left: 0.5rem;
  padding-right: 0.4rem;
  white-space: nowrap;
}

.film-table a.title-link {
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.25;
}

.title-cell .title-blurb {
  display: block;
  margin-top: 0.28rem;
  max-width: 28rem;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--muted2, #888);
  font-style: italic;
}
.film-table a.title-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.compare-box {
  background: var(--card);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 2rem;
}

.compare-box h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.compare-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.compare-selects select {
  flex: 1;
  min-width: 180px;
  background: #141414;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem;
  border-radius: var(--radius);
}

.compare-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

.compare-card {
  background: #141414;
  border-radius: 8px;
  padding: 1rem;
  min-height: 120px;
}

.compare-vs {
  color: var(--muted2);
  font-weight: 800;
  padding-top: 2rem;
  text-align: center;
}

/* Watchlist */
.wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.wl-empty {
  background: var(--card);
  border-radius: 10px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.wl-empty a {
  color: var(--accent);
  font-weight: 600;
}

.party-panel {
  background: var(--card);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.party-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.party-panel .lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.party-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.party-candidates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.party-card {
  background: #141414;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.party-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.party-card .votes {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.party-card .vote-btns {
  display: flex;
  gap: 0.4rem;
}

.dice-result {
  margin-top: 1rem;
  padding: 1rem;
  background: #141414;
  border-radius: 8px;
  border: 1px dashed var(--accent);
  display: none;
}

.dice-result.show {
  display: block;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #fff;
  color: #111;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 200;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  color: var(--muted2);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  #main-nav {
    gap: 0.75rem;
    padding: 0 1rem;
  }
  .nav-panel {
    width: 100vw;
    border-left: none;
  }
  .poster-card {
    flex: 0 0 130px;
  }
  .score-row {
    grid-template-columns: 90px 1fr 40px;
  }
  .compare-result {
    grid-template-columns: 1fr;
  }
  .compare-vs {
    padding: 0;
  }
  .compare-box,
  .toolbar,
  .film-layout {
    max-width: 100%;
  }
}

/* ——— Type badges & chips ——— */
.type-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.type-badge.inline {
  position: static;
  display: inline-block;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.type-badge.type-film { border-color: #e50914; color: #ffb3b8; }
.type-badge.type-serie { border-color: #46d369; color: #a8f0bc; }
.type-badge.type-spiel { border-color: #4ea8de; color: #b3e0ff; }

/* Home/Explorer Typ-Kategorien im Logo-/Header-Stil */
.type-chips {
  margin-bottom: 1.25rem;
  gap: 0.65rem;
  align-items: center;
}
.type-chips .filter-chip.type-chip {
  background: #141414;
  border: 1px solid #333;
  color: var(--muted); /* hellgrau wie „Watch“ */
  padding: 0.42rem 0.9rem;
  border-radius: 8px; /* Button-Stil: kantig, noch rund */
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.type-chips .filter-chip.type-chip:hover {
  border-color: #b3b3b3;
  color: #fff;
  background: #1c1c1c;
}
.type-chips .filter-chip.type-chip.active {
  background: var(--accent); /* wie logo-mark W */
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
}
.type-chips .filter-chip.type-chip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .type-chips .filter-chip.type-chip {
    font-size: 0.82rem;
    padding: 0.36rem 0.72rem;
  }
}

/* Explorer: mehr Luft zwischen Genre-/Typ-Bubbles und Sortierung */
.page > .type-chips {
  margin-bottom: 1.15rem;
}
.page > .type-chips:has(+ #genre-chips:not([hidden])) {
  margin-bottom: 0.55rem;
}
.page > #genre-chips:not([hidden]) {
  margin-bottom: 2.35rem;
}
.page > .type-chips + .toolbar,
.page > #genre-chips + .toolbar {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}


.score-sources {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted2);
}

.compare-card .type-badge { top: 0.5rem; left: 0.5rem; }
.film-poster-lg .type-badge { top: 0.6rem; left: 0.6rem; }
.poster-art .tag-pill {
  top: auto;
  bottom: 0.4rem;
  left: 0.4rem;
  right: auto;
}


/* ——— Legal / Impressum ——— */
.legal-page {
  padding-bottom: 3rem;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal h1 {
  color: var(--text);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.legal-note {
  font-size: 0.8rem;
  color: var(--muted2);
  margin: 0 0 1.75rem;
  font-style: italic;
}

.legal h2 {
  color: var(--text);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.legal p,
.legal ul {
  margin: 0 0 0.85rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent);
}

.legal code {
  font-size: 0.85em;
  background: var(--card);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  color: #e8e8e8;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer a:hover {
  color: #fff;
}

/* ——— Cookie / storage banner ——— */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 12, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner--hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner__inner p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-banner .btn {
  white-space: nowrap;
}


/* Explorer sortable headers — CSS triangles so asc/desc share the same red */
.film-table th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: relative;
  padding-right: 1.15rem;
}
.film-table th.sortable:hover {
  color: #fff;
}
.film-table th.sortable::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 0;
  opacity: 1;
}
.film-table th.sortable.sorted-asc::after,
.film-table th.sortable.sorted-desc::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 1;
}
.film-table th.sortable.sorted-asc::after {
  border-top: 0;
  border-bottom: 6px solid #E50914;
}
.film-table th.sortable.sorted-desc::after {
  border-bottom: 0;
  border-top: 6px solid #E50914;
}
.film-table th.th-rank {
  cursor: default;
}

.poster-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.poster-art.poster-fallback .poster-placeholder,
.film-poster-lg .poster-placeholder {
  z-index: 0;
}
.poster-art:not(.has-img),
.film-poster-lg:not(.has-img) {
  overflow: hidden;
}

.poster-initial { display: none !important; }


/* ——— Burger / overflow safety ——— */
.site-header,
.carousel-section,
.compare-box,
.film-layout,
.quotes-grid,
.toolbar {
  max-width: 100%;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.poster-card:hover {
  transform: scale(1.03);
}


/* ——— Unified cover art (blur + title + credit) ——— */
.cover-art {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #1a1a1a;
  isolation: isolate;
}
.poster-card .cover-art {
  border-radius: 8px 8px 0 0;
}
.cover-art--large {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.cover-art--compact {
  aspect-ratio: 1 / 1;
  width: 80px;
  height: 80px;
  border-radius: 6px;
}
.cover-blur-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Echte Cover mit Lizenz/Bildquelle: scharf, kein Blur */
.cover-art.has-poster .cover-blur-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  transform: none;
  pointer-events: none;
}
.cover-art.has-poster .cover-blur-bg {
  inset: 0;
}
.cover-art.has-poster .cover-shade {
  /* leichte Lesbarkeit für Badges/Credit, Bild bleibt erkennbar */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.55) 100%);
}
/* Cover titles removed — titles only in card meta below */
.cover-art .cover-title {
  display: none !important;
}
/* Legal stills / missing official covers: light blur (not sharp has-poster) */
.cover-art.blur-cover .cover-blur-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(2.5px);
  transform: scale(1.04);
  pointer-events: none;
}
.cover-art.blur-cover .cover-blur-bg {
  inset: -12%;
}
.cover-art--large.blur-cover .cover-blur-img {
  filter: blur(3px);
  transform: scale(1.03);
}
.cover-art--compact.blur-cover .cover-blur-img {
  filter: blur(2px);
  transform: scale(1.06);
}
.cover-art.blur-cover .cover-title {
  top: 50%;
  bottom: auto;
  left: 0.5rem;
  right: 0.5rem;
  transform: translateY(-50%);
  text-align: center;
  color: #E50914;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.55);
}
.cover-art--large.blur-cover .cover-title {
  font-size: 1.25rem;
  left: 0.7rem;
  right: 0.7rem;
  -webkit-line-clamp: 6;
  line-clamp: 6;
}
.cover-art--compact.blur-cover .cover-title {
  font-size: 0.4rem;
  left: 2px;
  right: 2px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}
.cover-art.blur-cover .cover-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.88) 100%);
}
/* Abstract logo-palette SVG placeholders: sharp, full-bleed */
.cover-art:not(.has-poster) .cover-blur-bg,
.cover-art.cover-fallback .cover-blur-bg {
  inset: 0;
}
.cover-blur-bg .cover-blur-svg,
.cover-blur-bg .poster-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  transform: none;
  pointer-events: none;
}
.cover-art--large:not(.has-poster) .cover-blur-bg .cover-blur-svg,
.cover-art--large:not(.has-poster) .cover-blur-bg .poster-placeholder,
.cover-art--large.cover-fallback .cover-blur-bg .cover-blur-svg,
.cover-art--large.cover-fallback .cover-blur-bg .poster-placeholder,
.cover-art--compact:not(.has-poster) .cover-blur-bg .cover-blur-svg,
.cover-art--compact:not(.has-poster) .cover-blur-bg .poster-placeholder,
.cover-art--compact.cover-fallback .cover-blur-bg .cover-blur-svg,
.cover-art--compact.cover-fallback .cover-blur-bg .poster-placeholder {
  filter: none;
  transform: none;
}
.cover-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.72) 72%, rgba(0, 0, 0, 0.92) 100%);
}
.cover-title {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 1.35rem;
  z-index: 2;
  margin: 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 12px rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  word-break: break-word;
}
.cover-art--large .cover-title {
  font-size: 1.25rem;
  bottom: 1.75rem;
  left: 0.75rem;
  right: 0.75rem;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
.cover-art--compact .cover-title {
  left: 2px;
  right: 2px;
  bottom: 9px;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}
/* Titel auf Covers ohne Thumbnail: rot, größer, mittig */
.cover-art:not(.has-poster) .cover-title,
.cover-art.cover-fallback .cover-title {
  top: 50%;
  bottom: auto;
  left: 0.5rem;
  right: 0.5rem;
  transform: translateY(-50%);
  text-align: center;
  color: #E50914;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.55);
}
.cover-art--large:not(.has-poster) .cover-title,
.cover-art--large.cover-fallback .cover-title {
  font-size: 1.25rem;
  left: 0.7rem;
  right: 0.7rem;
  -webkit-line-clamp: 6;
  line-clamp: 6;
}
.cover-art--compact:not(.has-poster) .cover-title,
.cover-art--compact.cover-fallback .cover-title {
  font-size: 0.4rem;
  left: 2px;
  right: 2px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}
.cover-art:not(.has-poster) .cover-shade,
.cover-art.cover-fallback .cover-shade {
  /* Soft bottom shade for badges/credit only — SVG stays crisp */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 55%, rgba(0, 0, 0, 0.45) 100%);
}
.cover-credit {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.3rem;
  z-index: 3;
  margin: 0;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.cover-art--large .cover-credit {
  font-size: 0.68rem;
  bottom: 0.45rem;
  left: 0.7rem;
  right: 0.7rem;
}
.cover-art--compact .cover-credit {
  left: 2px;
  right: 2px;
  bottom: 1px;
  font-size: 0.32rem;
  letter-spacing: 0;
}
.cover-art .score-badge,
.cover-art .type-badge,
.cover-art .tag-pill {
  z-index: 4;
}
.cover-art .tag-pill {
  top: auto;
  bottom: 1.55rem;
  left: 0.4rem;
  right: auto;
}
.cover-art--large .tag-pill {
  bottom: 2rem;
}
.film-poster-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bildquelle {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted2);
  line-height: 1.35;
}
.bildquelle a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compare-cover-wrap {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  position: relative;
}
.compare-cover-wrap .cover-art {
  aspect-ratio: 16 / 9;
  height: 100%;
  border-radius: 6px;
}
.party-cover-wrap {
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
}
.party-cover-wrap .cover-art {
  aspect-ratio: auto;
  height: 90px;
  border-radius: 6px;
}
.party-cover-wrap .cover-title {
  font-size: 0.75rem;
  bottom: 1.1rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.explorer-thumb .cover-art {
  width: 80px;
  height: 80px;
}
.explorer-thumb .cover-art .cover-title,
.explorer-thumb .cover-art .cover-credit {
  display: none;
}

/* Explorer square cover thumbs (no title inside) */
.film-table .thumb-cell {
  width: 92px;
  padding-right: 0.45rem;
  padding-left: 0.2rem;
  vertical-align: middle;
}
.explorer-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #222;
  display: block;
  position: relative;
  flex-shrink: 0;
}
.explorer-thumb .cover-art {
  width: 80px;
  height: 80px;
}
.explorer-thumb img,
.explorer-thumb .poster-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.quotes-grid.quotes-single {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
.quote-card a.quote-source-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quote-card a.quote-source-link:hover {
  color: var(--accent);
}


.provider-chip.provider-link {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.provider-chip.provider-link:hover {
  border-color: var(--accent);
  background: rgba(229, 9, 20, 0.12);
  color: #fff;
}

/* Quellen-Ökosystem (Detailseite) */

.synopsis-credit {
  margin: 0.35rem 0 1rem;
  font-size: 0.72rem;
  color: var(--muted2, #888);
}

.quellen-ecosystem {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
}
.quellen-ecosystem summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  list-style: none;
}
.quellen-ecosystem summary::-webkit-details-marker { display: none; }
.quellen-ecosystem summary::before {
  content: "▸ ";
  color: var(--accent);
}
.quellen-ecosystem[open] summary::before { content: "▾ "; }
.quellen-eco-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.4rem;
}
.quellen-eco-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
a.quellen-eco-chip:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(229, 9, 20, 0.12);
}
.quellen-eco-chip:not(a) {
  cursor: default;
  opacity: 0.85;
}
.quellen-eco-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted2, var(--muted));
}
.quellen-eco-note a { color: var(--accent); }
.home-intro {
  display: block;
  width: 100%;
  max-width: 42rem;
  margin: 0.85rem auto;
  padding: 0 1.25rem;
  text-align: center;
}
.home-slogan {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--muted);
}
.home-quellen-note {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted2, var(--muted));
  text-align: center;
}

/* Home: gleicher Leerraum über und unter Intro (zwischen Nav und Kategorien) */
#home-page.page {
  padding-top: 0;
}
#home-page > .home-intro {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}
#home-page > .home-intro + .type-chips,
#home-page > #home-type-chips {
  justify-content: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
@media (max-width: 720px) {
  #home-page.page {
    padding-top: 0;
  }
  #home-page > .home-intro {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .home-slogan {
    font-size: 1.08rem;
  }
}

.home-quellen-note a { color: var(--accent); }


/* Always-visible header search */
.search-form-header {
  margin-left: auto;
  margin-right: 0.5rem;
  min-width: 0;
  flex: 1 1 140px;
  max-width: 220px;
}
.search-form-header input {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 720px) {
  .search-form-header {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 0.35rem 0 0;
  }
  .site-header nav,
  #main-nav {
    flex-wrap: wrap;
  }
}


/* Gap between sticky search/header and page content */
.site-header {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
main.page:not(#home-page),
.page:not(#home-page) {
  padding-top: 2.75rem;
}
@media (max-width: 720px) {
  main.page:not(#home-page),
  .page:not(#home-page) {
    padding-top: 3.25rem;
  }
}

/* Home: kein Extra-Padding oben — Abstand nur über/unter dem Intro */
#home-page.page {
  padding-top: 0 !important;
}
#home-page > .home-intro {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}
@media (max-width: 720px) {
  #home-page > .home-intro {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}


/* Explorer: focus from detail "Zum Explorer" */
.film-row.is-focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: rgba(229, 9, 20, 0.14) !important;
  transition: background 0.3s ease;
}

/* Explorer: whole row opens detail */
.film-table tr.film-row {
  cursor: pointer;
}
.film-table tr.film-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}


/* ——— Bottom Navigation (mobile) ——— */
:root {
  --bottom-nav-h: 64px;
}
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  justify-content: space-around;
  align-items: stretch;
  gap: 0.15rem;
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 10px;
  min-width: 0;
  padding: 0.25rem 0.2rem;
}
.bottom-nav-item:hover,
.bottom-nav-item:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.bottom-nav-item.active {
  color: #fff;
}
.bottom-nav-item.active .bottom-nav-icon {
  color: var(--accent);
}
.bottom-nav-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
}
.bottom-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bottom-nav-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .bottom-nav {
    display: flex;
  }
  body.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  }
  body.has-bottom-nav .footer {
    margin-bottom: 0.5rem;
  }
  /* Burger nur Mobile; Desktop-Links ausblenden */
  .nav-links--desktop {
    display: none !important;
  }
  .burger-btn {
    display: inline-flex;
  }
}
@media (min-width: 901px) {
  .bottom-nav {
    display: none !important;
  }
  /* Desktop: horizontale Links, kein Burger */
  .burger-btn,
  .nav-panel,
  .nav-backdrop {
    display: none !important;
  }
  body.nav-open .nav-panel,
  body.nav-open .nav-backdrop {
    display: none !important;
  }
  .nav-links--desktop {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-links--desktop li {
    margin: 0;
    display: inline-flex;
  }
  .nav-links--desktop a {
    display: inline-block;
    padding: 0.4rem 0.55rem;
    white-space: nowrap;
  }
  .search-form-header {
    margin-left: auto;
  }
}


/* Explorer Watchlist: Desktop neben #, Mobile hinter Anbieter */
.film-table .th-wl,
.film-table .wl-cell {
  display: none;
}
.wl-icon-btn--rank {
  display: inline-flex;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 720px) {
  .film-table .wl-icon-btn--rank {
    display: none !important;
  }
  .film-table .th-wl,
  .film-table .wl-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 2.5rem;
    padding-left: 0.25rem;
    padding-right: 0.35rem;
  }
  .film-table .wl-icon-btn--end {
    display: inline-flex;
    opacity: 1;
    margin-left: 0;
  }
  .film-table .rank,
  .film-table th.th-rank {
    min-width: 2.25rem; /* nur Nummer, Icon ist mobil ausgeblendet */
    max-width: none;
    width: 1%;
    padding-left: 0.4rem;
    padding-right: 0.3rem;
  }
  .film-table .ws,
  .film-table th.th-worst,
  .film-table th[data-sort="worst"] {
    min-width: 2.75rem;
    padding-left: 0.3rem;
    padding-right: 0.4rem;
  }
}


/* Watchlist print button + print stylesheet */
.wl-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.wl-header-row .page-title {
  margin-bottom: 0.35rem;
}
.wl-header-row .page-lead {
  margin-bottom: 0;
}
.wl-type-chips,
#wl-type-chips {
  margin-top: 1.35rem;
  margin-bottom: 1.35rem;
}
.wl-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #141414;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wl-print-btn:hover:not(:disabled),
.wl-print-btn:focus-visible {
  color: #fff;
  border-color: var(--accent);
  background: rgba(229, 9, 20, 0.9);
}
.wl-print-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wl-print-sheet {
  display: none;
}
@media (max-width: 640px) {
  .wl-header-row {
    flex-wrap: wrap;
  }
  .wl-print-label {
    display: none;
  }
  .wl-print-btn {
    padding: 0.55rem;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }
  body.printing-watchlist #wl-print-sheet,
  body.printing-watchlist #wl-print-sheet * {
    visibility: visible !important;
  }
  body.printing-watchlist #wl-print-sheet {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 10mm 12mm;
    color: #111 !important;
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wl-print-inner {
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
    font-size: 11pt;
    line-height: 1.35;
    color: #111;
  }
  .wl-print-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.55rem;
    border-bottom: 3px solid #111;
    margin-bottom: 0.65rem;
  }
  .wl-print-brand-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }
  .wl-print-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 4px;
    background: #e10600 !important;
    color: #fff !important;
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wl-print-word {
    font-size: 18pt;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111;
  }
  .wl-print-word span {
    color: #e10600 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wl-print-slogan {
    margin-top: 0.45rem;
    width: 100%;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #222;
  }
  .wl-print-meta {
    margin: 0 0 0.85rem;
    font-size: 9.5pt;
    font-weight: 700;
    color: #333;
  }
  .wl-print-list {
    display: block;
  }
  .wl-print-item {
    display: grid;
    grid-template-columns: 1.6rem 1fr 3.2rem;
    gap: 0.25rem 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1.5px solid #111;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .wl-print-num {
    font-size: 13pt;
    font-weight: 800;
    color: #e10600 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wl-print-title {
    font-size: 12pt;
    font-weight: 800;
    color: #000;
    line-height: 1.25;
  }
  .wl-print-sub {
    margin-top: 0.1rem;
    font-size: 8.5pt;
    font-weight: 700;
    color: #333;
  }
  .wl-print-blurb {
    margin: 0.28rem 0 0;
    font-size: 9.5pt;
    line-height: 1.4;
    color: #111;
    font-style: normal;
    max-width: 52ch;
  }
  .wl-print-score {
    text-align: right;
  }
  .wl-print-score-lab {
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #444;
  }
  .wl-print-score-val {
    font-size: 16pt;
    font-weight: 900;
    line-height: 1;
    color: #e10600 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wl-print-foot {
    margin-top: 0.9rem;
    padding-top: 0.45rem;
    border-top: 1px solid #111;
    font-size: 8pt;
    color: #555;
  }
  @page {
    margin: 10mm;
  }
}
