.th-item[hidden] { display: none !important; }
.rls-no-poster {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #888;
    font-size: 42px;
}
.rls-empty { margin: 16px 0; color: #777; }
.rls-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.rls-switch button {
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #222;
    border-radius: 3px;
    padding: 7px 12px;
    cursor: pointer;
}
.rls-eps { display: flex; flex-wrap: wrap; gap: 6px; }
.rls-eps button {
    min-width: 42px;
    border: 1px solid #d5d5d5;
    background: #fff;
    color: #222;
    border-radius: 3px;
    padding: 6px 8px;
    cursor: pointer;
}
.rls-switch button.is-active,
.rls-eps button.is-active {
    background: #79c142;
    border-color: #79c142;
    color: #111;
}
.dt .rls-switch button,
.dt .rls-eps button {
    background: #2a2a2a;
    border-color: #444;
    color: #ccc;
}
.dt .rls-switch button.is-active,
.dt .rls-eps button.is-active {
    background: #79c142;
    border-color: #79c142;
    color: #111;
}
.rls-panel.is-hidden { display: none; }
.rls-blurb { margin: 10px 0 0; color: #777; }
.rls-faq details { border-top: 1px solid rgba(0, 0, 0, 0.08); padding: 10px 0; }
.dt .rls-faq details { border-top-color: rgba(255, 255, 255, 0.12); }
.rls-faq summary { cursor: pointer; font-weight: 600; }
/* Карточка и навигация поддоменов, 2026-11-10. */
.serial-description p + p { margin-top: 12px; }
.serial-description.rls-collapsed { max-height: 100px; overflow: hidden; position: relative; }
.serial-description.rls-collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
.dt .serial-description.rls-collapsed::after { background: linear-gradient(transparent, #1f252b); }
.rls-description-toggle {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 8px 10px;
    border: 1px solid #d7dee5;
    border-radius: 3px;
    background: transparent;
    color: #39444f;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.dt .rls-description-toggle { border-color: #3c454e; color: #dce3e9; }
.rls-watch-link {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 14px auto 0;
    padding: 12px;
    max-width: 230px;
    background: #6fbd3f;
    color: #fff;
    text-align: center;
    font-weight: 700;
    border-radius: 3px;
}
.rls-watch-link:hover { background: #60a934; color: #fff; }
.rls-watch-link .fa { margin-right: 6px; }
.rls-player-title {
    margin: 0;
    padding: 16px 18px;
    border-top: 1px solid #edf0f2;
    color: #65717d;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}
#player { scroll-margin-top: 20px; }
.trailer-box__bottom.rls-episode-picker {
    display: block;
    padding: 18px;
    text-align: left;
}
.rls-switch { margin: 0 0 12px; }
.rls-switch button, .rls-eps button {
    box-sizing: border-box;
    min-height: 40px;
    background: #282c29;
    border: 1px solid #464c47;
    box-shadow: none;
    color: #e3e7e4;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}
.rls-switch button.is-active, .rls-eps button.is-active { background: #79c142; border-color: #79c142; color: #14210c; }
.rls-switch button:hover, .rls-eps button:hover { border-color: #79c142; }
.rls-episode-picker .rls-blurb { color: #c2ccc3; font-size: 13px; font-weight: 400; line-height: 1.6; }
.serial-source-ratings .serial-status { width: auto; flex: 0 1 auto; grid-column: 1 / -1; }
.serial-status__value { overflow: visible; text-overflow: clip; }
.serial-status__label { white-space: nowrap; }
.rls-faq { margin: 0; padding: 24px 18px; background: #fff; color: #39444f; }
.rls-faq h2, .rls-related h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.rls-faq details { padding: 14px 0; line-height: 1.6; }
.rls-faq details p { margin-top: 10px; color: #65717d; }
.rls-faq summary { padding-right: 8px; }
.dt .rls-faq { background: #1f252b; color: #dce3e9; }
.dt .rls-faq details p, .dt .rls-player-title { color: #b8c4d3; }
.dt .rls-player-title { border-color: #303840; }
.rls-related { margin: 0; padding: 22px 18px; background: #111; color: #eee; }
.rls-related .sect-items { margin: 0 -5px; }
.rls-related .th-item { padding: 0 5px; }
.rls-description-toggle:focus-visible, .rls-watch-link:focus-visible,
.rls-switch button:focus-visible, .rls-eps button:focus-visible,
.rls-faq summary:focus-visible { outline: 2px solid #79c142; outline-offset: 3px; }
@media (max-width: 600px) {
    .rls-episode-picker .rls-switch { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
    .rls-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
    .trailer-box__bottom.rls-episode-picker { padding: 14px 12px; }
    .rls-faq, .rls-related { padding: 20px 12px; }
    .rls-related .th-item { margin-bottom: 12px; }
    .serial-detail__value { overflow-wrap: anywhere; }
}

.rls-description-toggle[hidden] { display: none; }
.dt .serial-detail__name { color: #f1f4f6; }
.dt .serial-detail__value { color: #c8d0d8; }
.dt .serial-detail { border-bottom-color: #343b42; }
.dt .rls-watch-link, .dt .rls-watch-link:hover { color: #fff; }
.dt .serial-description.rls-collapsed::after { background: linear-gradient(transparent, #1e1e1e); }
