:root {
  --bg: #0d0d10;
  --p1: #16171c;
  --p2: #1f2026;
  --p3: #2b2c34;
  --line: #282930;
  --tx: #f5f5f7;
  --mut: #9c9da8;
  --acc: #ff6a1f;
  --acc2: #ffb020;
  --link: #8ec5ff;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  color: var(--tx);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0 18px;
  padding-bottom: calc(30px + env(safe-area-inset-bottom));
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(
      900px 380px at 10% -90px,
      rgba(255, 106, 31, 0.22),
      transparent 70%
    ),
    radial-gradient(
      760px 340px at 96% -130px,
      rgba(255, 176, 32, 0.11),
      transparent 70%
    ),
    var(--bg);
  background-repeat: no-repeat;
}
header,
main,
footer {
  max-width: 1180px;
  margin: 0 auto;
}

/* Kopf: Marke, Suche, Konto */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: max(14px, env(safe-area-inset-top)) 0 14px;
}
#brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: -0.02em;
}
#brand b {
  font-weight: 800;
}
#brand img {
  border-radius: 8px;
  display: block;
}
#hright {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
#srch {
  order: 3;
  flex: 1 1 100%;
  position: relative;
}
#srch .lupe {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--mut);
  pointer-events: none;
}
input {
  font-family: inherit;
}
#dq {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  padding: 0 46px;
  margin: 0;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
#dq::placeholder {
  color: #8b8c97;
}
#dq::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}
#dq:focus {
  border-color: var(--acc);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 106, 31, 0.22);
}
#srch:focus-within .lupe {
  color: var(--acc2);
}
#dqx {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: transparent;
  font-size: 14px;
  color: var(--mut);
}
#dqx:hover {
  background: var(--p3);
  color: #fff;
}

button {
  background: var(--p3);
  color: #fff;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:active {
  background: #55565f;
}
button:focus-visible,
.spot:focus-visible,
a:focus-visible {
  outline: 2px solid var(--acc2);
  outline-offset: 2px;
}
h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mut);
  margin: 18px 2px 8px;
}

/* Leiste: Filme/Serien, Stöbern/Bestenliste, eigene Filter */
#bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
}
.seg {
  display: inline-flex;
  background: var(--p1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin: 0;
}
.seg button {
  height: 36px;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  background: transparent;
  color: var(--mut);
  transition: color 0.15s;
}
.seg button:hover {
  color: #fff;
}
.seg button.on {
  background: linear-gradient(135deg, #ff7a2e, var(--acc));
  color: #1a0a00;
}
.seg.voll {
  display: flex;
  margin: 12px 0 4px;
}
.seg.voll button {
  flex: 1;
  padding: 0 8px;
  font-size: 14px;
}
#mybar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
#mybar:empty {
  display: none;
}
.msg {
  color: var(--mut);
  padding: 20px 0;
}
.hscroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 4px;
  padding-bottom: 8px;
  margin: 0 -18px 6px;
  padding-left: 18px;
  padding-right: 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 17px;
  background: var(--p1);
  border: 1px solid var(--line);
  color: #d8d8e0;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.chip:hover {
  border-color: #4a4b55;
  color: #fff;
}
.chip.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.chip small {
  opacity: 0.55;
  font-size: 12px;
  margin-left: 2px;
}
.wrapc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Poster und Reihen */
.poster {
  flex: 0 0 auto;
  width: 108px;
  height: 160px;
  border-radius: 10px;
  background: var(--p2);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 11px;
  padding: 14px 6px 5px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  text-align: left;
  opacity: 0.9;
}
.poster em {
  position: absolute;
  top: 6px;
  left: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #f5c518;
  background: rgba(0, 0, 0, 0.72);
  padding: 2px 6px;
  border-radius: 6px;
}
.poster.seen {
  opacity: 0.45;
}
.poster.seen:after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  background: #1f6f3a;
  border-radius: 10px;
  width: 20px;
  height: 20px;
  font-size: 13px;
  line-height: 20px;
}
.rowtitle {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 22px 0 10px;
}
.rowtitle.sub {
  font-size: 14px;
  color: var(--mut);
  font-weight: 600;
  margin: 16px 0 8px;
}
.rowtitle .cnt {
  font-size: 13px;
  font-weight: 500;
  color: var(--mut);
  margin-left: 6px;
}
.rowtitle.link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.rowtitle.link a {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--mut);
  text-decoration: none;
}
.rowtitle.link a:hover {
  color: #fff;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.grid3 .poster {
  width: auto;
  height: auto;
  aspect-ratio: 2/3;
}
.more {
  display: block;
  margin: 14px auto 0;
  height: 38px;
  padding: 0 20px;
  border-radius: 19px;
  background: var(--p1);
  border: 1px solid var(--line);
  font-size: 14px;
}
.more:hover {
  border-color: #4a4b55;
}
.sres {
  display: flex;
  flex-direction: column;
}
.sres > div:empty {
  display: none;
}

/* Großes Bild in „Stöbern“ */
#spot:empty {
  display: none;
}
.spot {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 390px);
  border-radius: 18px;
  background: var(--p2) center 22% / cover no-repeat;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  margin-bottom: 4px;
}
.spot:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13, 13, 16, 0.95) 0,
      rgba(13, 13, 16, 0.66) 40%,
      rgba(13, 13, 16, 0) 76%
    ),
    linear-gradient(0deg, rgba(13, 13, 16, 0.8), transparent 46%);
}
.spin {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 22px 24px;
  max-width: min(580px, 94%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spin small {
  color: var(--acc2);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spin b {
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.smeta {
  font-size: 14px;
  color: #d4d4dc;
}
.sdesc {
  font-size: 14px;
  line-height: 1.42;
  color: #c6c6ce;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sbtn {
  align-self: flex-start;
  margin-top: 6px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 9px 16px;
}

/* Detailseite */
#sheet {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 20;
  overflow-y: auto;
  display: none;
  -webkit-overflow-scrolling: touch;
}
#sheet.on {
  display: block;
}
#sheetc {
  max-width: 760px;
  margin: 0 auto;
}
.hero {
  height: 42vh;
  background: var(--p2) center/cover no-repeat;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(13, 13, 16, 0.1), var(--bg));
}
.xbtn {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 21;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.6);
}
.sbody {
  padding: 0 18px calc(40px + env(safe-area-inset-bottom));
}
.sbody h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 6px 0 6px;
}
.meta {
  font-size: 14px;
  color: var(--mut);
  margin-bottom: 10px;
}
.meta a,
.plink {
  color: var(--link);
  text-decoration: none;
}
.desc {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.9;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.cta {
  width: 100%;
  height: 52px;
  font-size: 17px;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-weight: 600;
  margin: 6px 0;
}
.cta2 {
  width: 100%;
  height: 46px;
  font-size: 15px;
  border-radius: 12px;
  margin: 4px 0;
}
.cta2.on {
  background: #3a1d28;
  color: #ff7aa2;
}
.cta2.hell {
  background: #fff;
  color: #000;
  font-weight: 600;
}
.two {
  display: flex;
  gap: 8px;
}
.two .cta2 {
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.tags > span {
  font-size: 13px;
  color: var(--mut);
  margin-right: 2px;
}
.tag {
  height: 28px;
  padding: 0 11px;
  border-radius: 14px;
  font-size: 12.5px;
  background: var(--p1);
  border: 1px solid var(--line);
  color: #d8d8e0;
}
.tag:hover {
  border-color: #4a4b55;
  color: #fff;
}
.awl {
  background: var(--p1);
  border-radius: 12px;
  padding: 4px 14px;
  margin-bottom: 8px;
  font-size: 14px;
}
.awl div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.75;
}
.awl div:last-child {
  border-bottom: 0;
}
.awl div.won {
  opacity: 1;
}
.awl small {
  opacity: 0.6;
  margin-left: 6px;
}

/* Personen */
.pchip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  height: auto;
  padding: 6px 16px 6px 6px;
  font-size: 14px;
  border-radius: 999px;
  background: var(--p1);
  border: 1px solid var(--line);
  color: #fff;
  text-align: left;
}
.pchip:hover {
  border-color: #4a4b55;
}
.pchip i {
  flex: 0 0 auto;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p3);
  overflow: hidden;
}
.pchip i img,
.pfoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.pchip small {
  display: block;
  color: var(--mut);
  font-size: 11.5px;
  margin-top: 1px;
}
.backbtn {
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  font-size: 14px;
  background: var(--p1);
  border: 1px solid var(--line);
  margin: 2px 0 14px;
}
.phead {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 4px;
}
.pfoto {
  flex: 0 0 auto;
  display: block;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--p2);
  overflow: hidden;
  border: 2px solid var(--line);
}
.phead h1 {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.phead .meta {
  margin-bottom: 0;
}
.pstats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
}
.pstats span {
  background: var(--p1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: var(--mut);
}
.pstats b {
  display: block;
  color: #fff;
  font-size: 17px;
}
.pfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.pfilter .sep {
  width: 1px;
  background: var(--line);
  margin: 4px 2px;
}

/* Bestenliste */
.sc {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--acc2);
  white-space: nowrap;
}
#dfbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 6px;
}
.fbtn {
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 18px;
  padding: 0 14px;
  background: linear-gradient(135deg, #ff7a2e, var(--acc));
  color: #1a0a00;
  white-space: nowrap;
}
.fbtn.alt {
  background: var(--p1);
  border: 1px solid var(--line);
  color: #fff;
  font-weight: 400;
}
#dfsum {
  font-size: 13px;
  color: var(--mut);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#fsheet {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 25;
  display: none;
  flex-direction: column;
}
#fsheet.on {
  display: flex;
}
.fhead,
#fbody,
.ffoot {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.fhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 18px 6px;
}
.fhead b {
  font-size: 20px;
}
.xbtn2 {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  font-size: 18px;
}
#fbody {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px 20px;
  -webkit-overflow-scrolling: touch;
}
#fbody .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ffoot {
  display: flex;
  gap: 10px;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.ffoot .cta2 {
  flex: 1;
  margin: 0;
}
.ffoot .cta {
  flex: 2;
  margin: 0;
}
.yr {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.yr label {
  flex: 1;
  font-size: 13px;
  opacity: 0.8;
}
.yr select {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--p1);
  color: #fff;
  font-size: 16px;
  padding: 0 10px;
}
.badges {
  font-size: 13px;
  margin: 4px 0 10px;
  opacity: 0.9;
}
.badges .st,
.imdbrow .st {
  color: #f5c518;
  font-weight: 700;
}
.imdbrow {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 8px 6px;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.imdbrow:hover {
  background: rgba(255, 255, 255, 0.04);
}
.imdbrow > div {
  flex: 1;
  min-width: 0;
}
.imdbrow .rk {
  flex: 0 0 34px;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.45;
  text-align: right;
}
.imdbrow img,
.imdbrow > i {
  flex: 0 0 52px;
  width: 52px;
  height: 78px;
  border-radius: 6px;
  background: var(--p2);
  object-fit: cover;
}
.imdbrow b {
  display: block;
  font-size: 15px;
}
.imdbrow small {
  display: block;
  opacity: 0.55;
  font-size: 12px;
  margin-top: 3px;
}
.imdbrow .og {
  opacity: 0.45;
  font-weight: 400;
}
footer {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  opacity: 0.55;
  line-height: 1.5;
}
footer a {
  color: var(--link);
}

@media (max-width: 759px) {
  #dmode {
    flex: 1;
  }
  #dmode button {
    flex: 1;
  }
  .seg button {
    padding: 0 14px;
  }
  #mybar {
    margin-left: 0;
    width: 100%;
  }
  .spin {
    padding: 16px 16px;
  }
  .sdesc {
    display: none;
  }
  .pfoto {
    width: 84px;
    height: 84px;
  }
  .phead {
    gap: 14px;
  }
}
@media (min-width: 760px) {
  header {
    flex-wrap: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(13, 13, 16, 0.72);
    box-shadow: 0 0 0 100vmax rgba(13, 13, 16, 0.72);
    clip-path: inset(0 -100vmax);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  #srch {
    order: 0;
    flex: 1 1 auto;
    max-width: 680px;
    margin: 0 auto;
  }
  #hright {
    margin-left: 0;
    min-width: 120px;
    justify-content: flex-end;
  }
  #brand {
    min-width: 120px;
  }
  .poster {
    width: 140px;
    height: 208px;
  }
  .poster span {
    font-size: 12px;
  }
  .grid3 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .hscroll {
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
  }
  .hscroll::-webkit-scrollbar {
    display: block;
    height: 8px;
  }
  .hscroll::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
  }
  .hero {
    height: 48vh;
    border-radius: 0 0 16px 16px;
  }
}
@media (hover: hover) {
  .poster:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  }
  .spot:hover .sbtn {
    background: var(--acc2);
  }
}

/* Konto, Fenster, Rechtstexte */
.abtn {
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  font-size: 14px;
  background: var(--p1);
  border: 1px solid var(--line);
}
.abtn.leise {
  color: var(--mut);
}
.abtn.leise:hover {
  color: #fff;
}
#asheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
#asheet.on {
  display: flex;
}
.abox {
  width: 100%;
  max-width: 460px;
  background: var(--p1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 0 14px;
  max-height: 88vh;
  overflow-y: auto;
}
.abox .fhead {
  padding: 14px 18px 6px;
}
#abody {
  padding: 0 18px;
  font-size: 15px;
  line-height: 1.45;
}
.cta2.danger {
  background: #3a1717;
  color: #ff8a8a;
}
.warn {
  color: #ffb86b;
}
.legal {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
}
.legal h1 {
  font-size: 26px;
  margin: 10px 0 16px;
}
.legal h2 {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  margin: 26px 0 6px;
}
.legal a {
  color: var(--link);
}
.legal p,
.legal li {
  opacity: 0.85;
}
#inst:not(:empty) {
  margin-bottom: 12px;
}
.hintbox {
  background: #1e2a3a;
  color: #cfe4ff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
}
.linkbtn {
  background: none;
  color: var(--link);
  font-size: 14px;
  padding: 0;
  margin-left: 6px;
  text-decoration: underline;
}
#abody .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#abody h2 {
  margin: 16px 2px 8px;
}
#abody .chip {
  background: var(--p2);
}
#abody .chip.on {
  background: #fff;
}
.wpbox {
  margin: 12px 0;
  font-size: 14px;
}
.wpbox > div {
  margin-bottom: 8px;
}
.wpbox small {
  display: block;
  opacity: 0.6;
  font-size: 12px;
}
.prov {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--p1);
  border-radius: 10px;
  padding: 4px 10px 4px 4px;
  margin: 6px 6px 0 0;
  font-size: 13px;
}
.prov img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.prov.mine {
  outline: 1px solid #4cd964;
}
#rate {
  margin: 10px 0 6px;
}
.ratehead {
  font-size: 13px;
  opacity: 0.75;
  margin: 0 2px 6px;
}
.rates {
  display: flex;
  gap: 4px;
}
.rbtn {
  flex: 1;
  height: 38px;
  min-width: 0;
  padding: 0;
  border-radius: 9px;
  background: var(--p2);
  font-size: 14px;
  font-weight: 600;
}
.rbtn.on {
  background: #f5c518;
  color: #000;
}

/* Suche: Filterleiste; Leisten von „Stöbern“ treten zurück */
.smode #dseg,
.smode #dmode,
.smode #dgen,
.smode #dsort,
.smode #dfbar,
.pmode #bar,
.pmode #dgen,
.pmode #dsort,
.pmode #dfbar {
  display: none !important;
}
.smode #bar {
  margin-bottom: 4px;
}
.sbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 4px;
}
.sbar .sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 2px;
}
.sbar .chip[disabled] {
  cursor: default;
}
.sbar .chip[disabled]:not(.on) {
  display: none;
}
.stag {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 17px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a0a00;
  background: linear-gradient(135deg, #ffb45c, var(--acc2));
}
.ic {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 7px;
  opacity: 0.85;
}

/* Lade-Platzhalter */
.skelt {
  width: 180px;
  height: 20px;
  border-radius: 8px;
  background: var(--p2);
  margin: 22px 0 12px;
}
.skel i {
  display: block;
  aspect-ratio: 2/3;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--p1) 30%, var(--p2) 50%, var(--p1) 70%);
  background-size: 300% 100%;
  animation: skel 1.4s linear infinite;
}
@keyframes skel {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -50% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skel i {
    animation: none;
  }
  .poster {
    transition: none;
  }
}

/* Detailseite: Poster neben Titel, Wertungs-Kacheln, drei Knöpfe */
.dtop {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  margin-top: -96px;
}
.dposter {
  flex: 0 0 auto;
  width: 150px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--p2);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.dinfo {
  flex: 1;
  min-width: 0;
}
.dinfo h3 {
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1.1;
  margin: 0 0 6px;
}
.dinfo .meta {
  margin-bottom: 0;
  line-height: 1.5;
}
.dinfo .pstats {
  margin: 10px 0 6px;
}
.dinfo .badges {
  margin: 6px 0 0;
}
.acts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.acts .cta2 {
  flex: 1;
  margin: 0;
  background: var(--p2);
  border: 1px solid var(--line);
}
.acts .cta2.on {
  background: #3a1d28;
  border-color: #5a2a3c;
}
#seenbtn.on {
  background: #17331f;
  border-color: #23512f;
  color: #7be495;
}
.pchip.aus {
  cursor: default;
  color: #c9c9d2;
}
#sheet .rowtitle.sub {
  margin-top: 18px;
}
@media (max-width: 559px) {
  .dtop {
    gap: 14px;
    margin-top: -70px;
  }
  .dposter {
    width: 104px;
  }
  .dinfo .pstats span {
    padding: 6px 9px;
  }
  .dinfo .pstats b {
    font-size: 15px;
  }
  .acts .cta2 {
    font-size: 14px;
    height: 44px;
  }
}
@media (max-width: 759px) {
  .sbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 2px -18px 4px;
    padding: 0 18px 6px;
    scrollbar-width: none;
  }
  .sbar::-webkit-scrollbar {
    display: none;
  }
  .sbar > * {
    flex: 0 0 auto;
  }
}

#hinweis:not(:empty) {
  margin-bottom: 12px;
}
