/* A restrained visual refresh for the original single-series layout. */
body.psy-series-modern {
  --psy-series-bg: #e5e5e5;
  --psy-series-surface: #fff;
  --psy-series-surface-2: #f3f4f5;
  --psy-series-text: #24272b;
  --psy-series-muted: #72777d;
  --psy-series-border: rgba(25, 31, 38, .12);
  --psy-series-shadow: 0 12px 32px rgba(20, 28, 38, .1);
}
body.psy-series-modern.psy-theme-dark {
  --psy-series-bg: #1a1a1a;
  --psy-series-surface: #232323;
  --psy-series-surface-2: #2d2d2d;
  --psy-series-text: #f1f1f1;
  --psy-series-muted: #aaa;
  --psy-series-border: rgba(255, 255, 255, .09);
  --psy-series-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}
body.psy-series-modern #main.page-detail {
  padding-top: 70px !important;
  background: var(--psy-series-bg);
  color: var(--psy-series-text);
}
body.psy-series-modern .page-detail > .container {
  width: min(1234px, calc(100% - 34px));
  max-width: none;
}
body.psy-series-modern .page-detail .main-detail { width: 1200px; max-width: 100%; }
body.psy-series-modern .page-detail .pad { height: 20px; }
body.psy-series-modern .page-detail .breadcrumb {
  margin-bottom: 13px;
  padding: 0;
  background: transparent;
  color: var(--psy-series-muted);
  font-size: 12px;
}
body.psy-series-modern .page-detail .breadcrumb a { color: var(--psy-series-muted); }
body.psy-series-modern .page-detail .breadcrumb a:hover { color: var(--psy-accent); }

body.psy-series-modern #mv-info {
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--psy-series-border);
  border-radius: 14px;
  background: var(--psy-series-surface);
  box-shadow: var(--psy-series-shadow);
}
body.psy-series-modern #mv-info .mvi-cover,
body.psy-series-modern #content-cover {
  background-position: center 18%;
  image-rendering: auto;
}
body.psy-series-modern #content-cover {
  height: 300px;
}
body.psy-series-modern #content-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .03) 45%, rgba(0, 0, 0, .42));
  content: "";
  pointer-events: none;
}
body.psy-series-modern #content-embed {
  background: var(--psy-series-surface);
}
body.psy-series-modern #content-embed #seasons {
  margin-bottom: 0;
  background: var(--psy-series-surface) !important;
}
body.psy-series-modern #content-embed #bar-player {
  min-height: 0;
  padding: 9px 14px;
  border-bottom: 1px solid var(--psy-series-border);
  background: var(--psy-series-surface-2);
}
body.psy-series-modern #content-embed #bar-player:not(:has(a, #button-favorite)) { display: none; }
body.psy-series-modern #content-embed #bar-player .btn {
  min-height: 32px;
  margin: 0 5px 0 0;
  padding: 6px 10px;
  border: 1px solid var(--psy-series-border);
  border-radius: 7px;
  background: var(--psy-series-surface);
  color: var(--psy-series-text);
  font-size: 11px;
}

body.psy-series-modern .tvseason {
  padding: 17px 20px;
  border-bottom: 1px solid var(--psy-series-border) !important;
  background: transparent;
}
body.psy-series-modern .tvseason:last-child { border-bottom: 0 !important; }
body.psy-series-modern .tvseason .les-title {
  width: 120px;
  padding-top: 8px;
  color: var(--psy-series-text);
  font-size: 12px;
}
body.psy-series-modern .tvseason .les-title .fa { color: var(--psy-accent); }
body.psy-series-modern .tvseason .les-content {
  margin: -4px;
  padding-left: 130px;
}
body.psy-series-modern .tvseason .les-content a {
  min-width: 68px;
  margin: 4px;
  padding: 7px 11px 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-bottom: 1px solid #d2d2d2;
  border-radius: 7px;
  background: #f1f1f1;
  color: #222;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
body.psy-series-modern .tvseason .les-content a:hover {
  border-color: var(--psy-accent);
  border-bottom: 1px solid var(--psy-accent);
  background: var(--psy-accent);
  color: #fff;
}
body.psy-series-modern .tvseason .les-content a:hover::before {
  margin-right: 7px;
  content: "\f04b";
  font: normal normal normal 9px/1 FontAwesome;
}
body.psy-series-modern .tvseason .les-content a:visited,
body.psy-series-modern .tvseason .les-content a.episode-watched,
body.psy-series-modern .tvseason .les-content a.episode-watched:hover,
body.psy-series-modern .tvseason .les-content a.episode-watched:focus {
  border-color: #555;
  border-bottom: 1px solid #4d4d4d;
  background: #666;
  color: #fff;
}
body.psy-series-modern .tvseason .les-content a.episode-watched::before {
  margin-right: 7px;
  color: #fff;
  content: "\f00c";
  font: normal normal normal 9px/1 FontAwesome;
}
body.psy-series-modern .tvseason .les-content a.ep-404 {
  border: 1px dashed var(--psy-series-border);
  background: transparent;
  color: var(--psy-series-muted);
}

body.psy-series-modern #mv-info .mvi-content {
  margin-top: 0;
  padding: 22px;
  border-top: 1px solid var(--psy-series-border);
  background: var(--psy-series-surface);
  color: var(--psy-series-text);
}
body.psy-series-modern #mv-info .mvi-content .mvic-thumb {
  overflow: hidden;
  border: 1px solid var(--psy-series-border);
  border-radius: 10px;
  background-position: center top;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .17);
  image-rendering: auto;
}
body.psy-series-modern #mv-info .mvi-content h3 {
  color: var(--psy-series-text);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}
body.psy-series-modern #mv-info .mvi-content .block-trailer a {
  border: 0;
  border-radius: 7px;
  background: var(--psy-accent);
  color: #fff;
  font-weight: 700;
}
body.psy-series-modern #mv-info .mvi-content .block-trailer a:hover { background: var(--psy-accent-strong); }
body.psy-series-modern #mv-info .mvi-content .mvic-desc .desc {
  color: var(--psy-series-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}
body.psy-series-modern #mv-info .mvi-content .mvic-desc {
  border-color: var(--psy-series-border);
}
body.psy-series-modern #mv-info .mvi-content .mvic-info p {
  margin-bottom: 5px;
  color: var(--psy-series-muted);
  line-height: 1.45;
}
body.psy-series-modern #mv-info .mvi-content .mvic-info p strong { color: var(--psy-series-text); }
body.psy-series-modern #mv-info .mvi-content .mvic-info a { color: var(--psy-accent); }
body.psy-series-modern #mv-info .mvi-content .mvic-btn .btn {
  border-radius: 8px;
  background: var(--psy-accent);
}
body.psy-series-modern #mv-info .mvi-content .mv-rating {
  border-color: var(--psy-series-border);
  border-radius: 10px;
  background: var(--psy-series-surface-2);
  color: var(--psy-series-text);
}

body.psy-series-modern .content-kuss {
  margin: 16px 0 !important;
  overflow: hidden;
  border-radius: 11px;
}
body.psy-series-modern .mlw-related { margin: 24px 0; }
body.psy-series-modern .mlw-related .ml-title { margin-bottom: 10px; }
body.psy-series-modern .mlw-related .ml-title > span {
  border-radius: 8px 8px 0 0;
  background: var(--psy-accent);
  font-size: 16px;
  font-weight: 700;
}
body.psy-series-modern .mlw-related .ml-item {
  border: 1px solid var(--psy-series-border);
  border-radius: 9px;
  background: var(--psy-series-surface-2);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .13);
}
body.psy-series-modern .mlw-related .ml-item .mli-thumb {
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
}
body.psy-series-modern .mlw-related .ml-item .ml-mask::after {
  display: grid;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  place-items: center;
  border-radius: 50%;
  background: var(--psy-accent) !important;
  color: #fff;
  content: "\f04b";
  font: normal normal normal 17px/50px FontAwesome;
  text-align: center;
}
body.psy-series-modern #commentfb { overflow: hidden; margin-top: 20px; border-radius: 12px; }

@media (max-width: 799px) {
  body.psy-series-modern .page-detail > .container { width: min(100% - 20px, 1234px); }
  body.psy-series-modern #content-cover { height: 260px; }
  body.psy-series-modern #mv-info .mvi-content { padding: 16px; }
}
@media (max-width: 640px) {
  body.psy-series-modern #content-cover { height: 220px; }
  body.psy-series-modern .tvseason { padding: 14px; }
  body.psy-series-modern .tvseason .les-title {
    float: none;
    width: 100%;
    margin-bottom: 8px;
    padding-top: 0;
  }
  body.psy-series-modern .tvseason .les-content { margin: -3px; padding-left: 0; }
  body.psy-series-modern .tvseason .les-content a { max-width: calc(100% - 6px); margin: 3px; }
}
@media (max-width: 480px) {
  body.psy-series-modern #content-cover { height: 185px; }
  body.psy-series-modern #mv-info .mvi-content { padding: 12px; }
  body.psy-series-modern #mv-info .mvi-content h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  body.psy-series-modern .tvseason .les-content a { transition: none; }
}
