/*  RUSERIALS V2 MAIN THEME R1R2
 * Main-site visual owner. Original cascade order preserved.
 * ActorBase/DirectorBase remain external modules.
 * Custom visual priority overrides: 0.
  */

/* SET BASE
----------------------------------------------- */

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
}

ol, ul {list-style:none;}

blockquote, q {quotes:none;}

table {border-collapse:collapse;border-spacing:0;}

input, select {vertical-align:middle;}

article, aside, figure, figure img, hgroup, footer, header, nav, section, main {display: block;}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.1px;
    color: #2a2a2a;

    margin: 0;
    padding: 0;
    background-color: #e8ffff;
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}

img {max-width:100%;}

:root {
    --accent: #1eb196;
    --accent-dark: #17a589;
    --text: #222;
}

.clr {clear: both;}

.clearfix:after {content: ""; display: table; clear: both;}

a {
    color: var(--text);
    text-decoration: none;
}

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

h1 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
}

h2 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
}

h3 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
}

.sub-title h1 {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', system-ui, sans-serif;
    margin-bottom: 15px;
}

.static-page, .tags-page, .full-pages {padding:20px 0;}

/*--- SET ---*/

.button:not(.rs-shell-control), .pagi-load a, button:not(.rs-shell-control):not(.color-btn):not(.rs-native-carousel__arrow):not(.ab-wrap button):not(.rs-discovery button):not(.rs-picker button):not(.rs-fullstory-cinema button):not(.rs-catalog-sort__control), html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a {

    padding: 0 18px;
    height: 40px;
    line-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;
    font-size: 13px;

    color: #fff;
    text-decoration: none;

    background: #1eb196;

    border: none;
    border-radius: 8px;

    cursor: pointer;

    transition: all 0.2s ease;

    box-shadow: 0 2px 8px rgba(30, 177, 150, 0.25);
}

button::-moz-focus-inner, input::-moz-focus-inner {border:0; padding:0;}

button[disabled], input[disabled] {cursor:default;}

.button:not(.rs-shell-control):hover,
.pagi-load a:hover,
button:not(.rs-shell-control):not(.color-btn):not(.rs-native-carousel__arrow):not(.ab-wrap button):not(.rs-discovery button):not(.rs-picker button):not(.rs-fullstory-cinema button):not(.rs-catalog-sort__control):hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.meta-fav a:hover {
    background: #17a589;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 177, 150, 0.35);
}

button:not(.rs-shell-control):not(.rs-native-carousel__arrow):not(.ab-wrap button):not(.rs-discovery button):not(.rs-picker button):not(.rs-fullstory-cinema button):active,
.button:not(.rs-shell-control):active,
input[type="submit"]:active {
    transform: translateY(0px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

input[type="text"]:not(.rs-shell-input),
input[type="password"] {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;

    padding: 0 15px;

    color: #222;
    background-color: #fff;

    border: 1px solid #e3e3e3;
    border-radius: 6px;

    -webkit-appearance: none;
    box-sizing: border-box;

    box-shadow: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* focus состояние */

input[type="text"]:not(.rs-shell-input):focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 177, 150, 0.25);
}

input:focus::-webkit-input-placeholder {color: transparent}

input:focus::-moz-placeholder {color: transparent}

input:focus:-moz-placeholder {color: transparent}

input:focus:-ms-input-placeholder {color: transparent}

select {height:40px; border:1px solid #e3e3e3; background-color:#FFF;}

textarea {display:block; width:100%; padding:10px; border:1px solid #e3e3e3; background-color:#FFF; 
border-radius:0 0 6px 6px; box-shadow:inset 0 0 4px 0 rgba(0,0,0,0.1); overflow:auto; vertical-align:top; resize:vertical;}

.img-box {
    overflow: hidden;
    position: relative;
}

.square-img img {width:150%; max-width:150%; margin-left:-25%;}

.nowrap {white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

button, .trailer-close, .to-rate, .to-comms {transition: all .2s;}

a, .button, .ps-link, .mask, .tc-title, .sc-title {transition: color .2s, background-color .2s, opacity .2s;}

.flex-row {display: -webkit-box; display:-webkit-flex; -webkit-flex-flow: row wrap; -webkit-box-pack: justify; -webkit-justify-content: space-between; 
display:flex; flex-flow:row wrap; justify-content:space-between;}

.flex-col {display: -webkit-box; display:-webkit-flex; -webkit-flex-direction:column; -webkit-box-pack:center; -webkit-justify-content:center; 
display:flex; flex-direction:column; justify-content:center;}

.ps-link {cursor:pointer;}

.icon-l .fa {margin-right:10px;}

.fx-row {display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;
-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;}

.fx-col {display:-ms-flexbox;display:-webkit-flex;display:flex; 
-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}

.fx-center {-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}

.fx-middle {-ms-flex-align:center;-webkit-align-items:center;align-items:center}

.fx-start {-webkit-justify-content:flex-start;justify-content:flex-start;}

.fx-first {-ms-flex-order: -1;-webkit-order: -1;order: -1;}

.fx-last {-ms-flex-order: 10;-webkit-order: 10;order: 10;}

.fx-1 {-ms-flex-preferred-size: 0; flex-basis: 0; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; 
	max-width: 100%; min-width: 50px;}

.block > *, .main > * {width: 100%;}

.header {-ms-flex-order: 1; order: 1;}

.f-menu:not(.rs-site-nav__list) {-ms-flex-order: 2;-webkit-order: 2;order: 2;}

.karusel {-ms-flex-order: 3;-webkit-order: 3;order: 3;}

.show-menu {-ms-flex-order: 4;-webkit-order: 4;order: 4;}

.cols {-ms-flex-order: 5;-webkit-order: 5;order: 5;}

.footer {-ms-flex-order: 6;-webkit-order: 6;order: 6;}

b, strong {font-weight: 500;}

/* BASIC GRID
----------------------------------------------- */

.wrap {
    min-width: 320px;
    position: relative;
    box-shadow: 0 30px 60px rgb(0 43 57 / 90%);
}

.center {max-width:1100px; margin:0 auto; position:relative; z-index:100;}

.block {
    background: #ffffff;
    box-shadow: 0 30px 60px rgb(0 0 0 / 51%);
    border-radius: 20px;
    min-height: 100vh;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 20px;
    box-sizing: border-box;
}

.header .logotype:not(.rs-site-brand) {
    flex: 0 0 auto;
    white-space: nowrap;
}

.karusel {
    padding: 20px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    border: 1px solid #d0d0d0;
}

.karusel:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #dcdcdc;
}

.cols {padding-left:340px; position:relative; min-height: 800px;}

.side {font-size: 14px;  line-height: 1.5; width:340px; margin-left:-340px; float:left; position:relative; z-index:20; background:linear-gradient(to right, #f1f6f9 0%, #f1f6f9 100%); color:#000000; min-height: 1000px;}

.main {width:100%; float:right; min-height:800px; padding:20px;}

.cols:before {content:""; z-index:10; position:absolute; left:0; top:0; width:340px; height:100%; background-color: #f8f8f8;}

.footer {
    padding: 25px 20px;

    background: linear-gradient(180deg, #f7f9fb, #e9eef2);

    color: #444;

    line-height: 22px;

    border-top: 1px solid #e3e3e3;

    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.2s ease;
}

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

/* HEADER
----------------------------------------------- */

.logotype:not(.rs-site-brand) {
    font-size: 30px;
    font-weight: 550;
    text-decoration: none;
    letter-spacing: 1px;
    color: #007d5b;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logotype:not(.rs-site-brand) span {
    color: #111;
    font-weight: 550;
    margin-left: -17px;
    font-size: 24px;
    position: relative;
    top: -22px;
    letter-spacing: 0.5px;
}

.logotype:not(.rs-site-brand):hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.search-wrap:not(.rs-site-search) {
    width: 220px;
    margin-top: 0;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 280px;
}

.search-box input {
    width: 100%;
    height: 40px;
    line-height: 40px;

    padding: 0 40px 0 15px;

    border-radius: 3px;
    background-color: #fff;
    color: #444;

    border: 1px solid #e3e3e3;
    box-sizing: border-box;

    outline: none;

    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-box input:focus {
    outline: none;

    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 177, 150, 0.25);
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 0 4px 4px 0;

    background: #1eb196;
    color: #fff;

    font-size: 16px;
    cursor: pointer;

    transition: 0.2s ease;
}

.search-box button:hover {
    background: #17a589;}

.login-btns:not(.rs-shell-account) {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* общие стили для ссылок и кнопки */

.login-btns:not(.rs-shell-account) a,
.login-btns:not(.rs-shell-account) .button.show-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    height: 40px;
    padding: 0 14px;

    border-radius: 6px;

    font-size: 13px;
    white-space: nowrap;

    text-decoration: none;
    flex-shrink: 0;
}

/* ссылки */

.login-btns:not(.rs-shell-account) a {
    color: #333;
    opacity: 0.8;
    line-height: 40px;
}

.login-btns:not(.rs-shell-account) a:hover {
    opacity: 1;
    color: #1eb196;
}

/* кнопка логина */

.login-btns:not(.rs-shell-account) .button.show-login {
    background: #1eb196;
    color: #fff;
    cursor: pointer;
}

.login-btns:not(.rs-shell-account) .button.show-login:hover {
    background: #17a589;
}

/* иконки */

.login-btns:not(.rs-shell-account) .fa {
    font-size: 14px;
}

.header .share-box {padding-top:28px; width:250px; text-align:center;}

.header {
    display: flex;
    align-items: center;
}

.header > * {
    display: flex;
    align-items: center;
}

/* FIRST MENU
----------------------------------------------- */

.f-menu:not(.rs-site-nav__list) {
    height: 44px;
    min-height: 40px;
    line-height: 44px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
}

.f-menu:not(.rs-site-nav__list) li {float:none; font-weight:500; border-right:1px solid #e3e3e3;}

.f-menu:not(.rs-site-nav__list) li a {
    display: block;
    padding: 0px 31px;
    text-transform: none;
    font-weight: 500;
    font-size: 13px;}

.full-text p {
    margin-bottom: 12px;
}

/* заголовки внутри статьи */

.full-text h2,
.full-text h3,
.full-text h4,
.full-text h5 {
    font-weight: 600;
    margin: 18px 0 10px;
    line-height: 1.4;
    color: #484848;
}

/* ссылки */

.full-text a {
    color: #1eb196;
    text-decoration: underline;
}

.full-text a:hover {
    text-decoration: none;
}

/* списки */

.full-text ul li,
.full-text ol li {
    margin-left: 20px;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* картинки */

.full-text img:not(.emoji) {
    max-width: 100%;
    margin: 15px 0;
    border-radius: 6px;
}

/* таблицы (чуть легче для глаз) */

.full-text table tr td {
    padding: 10px;
    border: 1px solid #e6e6e6;
}

.full-text table tr:nth-child(2n+1) {
    background-color: #f7f7f7;
}

.f-menu:not(.rs-site-nav__list) a.active,
.f-menu:not(.rs-site-nav__list) a:hover {
    background: var(--accent);
    color: #fff;
}

.f-menu:not(.rs-site-nav__list) a[data-label] {position:relative;}

.f-menu:not(.rs-site-nav__list) a[data-label]:before {content:attr(data-label); position:absolute; top:-10px; right:-15px; 
background-color:#dd4d1b; color:#FFF; height:20px; line-height:20px; padding:0 10px; font-weight:500; border-radius:10px;}

/* TOP CAROU
----------------------------------------------- */

.top-carou {
    width: 143px;
    height: 210px;
    display: block;
    border-radius: 3px;
}

.top-carou img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 5px;
    font-size: 12px;
    color: #fff;

    background: #1eb196;

    opacity: 0;
    transform: translateY(100%);
    transition: 0.25s ease;

    z-index: 3;
}

/* hover как раньше */

.img-box:hover .tc-title {
    opacity: 1;
    transform: translateY(0);
}

/* SHORTS
----------------------------------------------- */

.shorts-header {align-items:center; margin-bottom:0px; min-height:33px; position: relative; padding-left: 20px;}

.shorts-header h1,
.shorts-header h2,
.shorts-header h3 {
    margin: 0;
    min-width: 0;
    font-weight: 550;
    font-size: 22px;
    line-height: 1.25;
    text-transform: none;
    position: static;
    top: auto;
}

.grid-select {line-height:30px; height: 30px; position: absolute; left: 0; top: -3px; 
background-color:#fff; box-shadow:0 0 20px 0 rgba(0,0,0,0.1);}

.grid-select div {height:30px; width:30px; text-align:center; float:left; font-size:18px; cursor:pointer;}

.grid-select div:hover, .grid-select div.current {background: linear-gradient(1deg, #121111, #1eb196);}

.short {
    position: relative;
    margin-bottom: 20px;
    padding: 20px 20px 20px 220px;
    background-color: #f9f9f9;
    box-shadow: 0 0 20px 0 rgb(65 65 65 / 19%);
    min-height: 310px;
    height: 310px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
}

.short:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #dcdcdc;
}

.short-img {
    width: 180px;
    margin-left: -200px;
    position: relative;
    overflow: hidden;
    float: left;
    border-radius: 4px;
    aspect-ratio: 2 / 3;
    background: #ccc;
}

.short-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 2 / 3;
    height: auto;
}

.short-img .ikonka {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #111;
    background: rgb(255 214 83);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    z-index: 2;
    will-change: transform;
}

.short-img .serial {
    position: absolute;
    bottom: 2px;
    left: 2px;

    padding: 4px 6px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    color: #fff;
    background: rgb(110 93 247);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

    z-index: 2;
    white-space: nowrap;
}

.short-img .telekanal {
    position: absolute;
    bottom: 2px;
    right: 2px;

    padding: 4px 6px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    color: #fcfcfc;
    background: rgb(1 110 102);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

    z-index: 2;
    white-space: nowrap;
}

.short-img .vozrast {
    position: absolute;
    top: 3px;
    left: 2px;

    padding: 4px 6px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    color: #fff;
    background: rgba(224, 37, 37, 0.91);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

    z-index: 2;
    white-space: nowrap;
}

@keyframes pulse18 {
    0% { box-shadow: 0 6px 18px rgba(255, 59, 48, 0.25); }
    50% { box-shadow: 0 6px 22px rgba(255, 59, 48, 0.45); }
    100% { box-shadow: 0 6px 18px rgba(255, 59, 48, 0.25); }
}

.short-text {width:100%; float:right; position:relative;}

.faqdown input {
    display: none;
}

.rels-t {
    font-weight: 600;
    font-size: 16px;

    margin-bottom: 16px;
    padding-left: 12px;

    color: #222;

    position: relative;
    letter-spacing: 0.2px;
}

/* акцентная полоска слева */

.rels-t::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 4px;
    height: 18px;

    transform: translateY(-50%);

    border-radius: 3px;

    background: linear-gradient(1deg, #121111, #1eb196);
}

.faqdown {
    padding-top: 0;
}

/* Вопрос (label) */

.faqdown label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    padding: 12px 14px;
    margin-top: 8px;

    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;

    font-weight: 500;
    font-size: 14px;
    color: #222;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);

    transition: 0.2s ease;
}

/* hover */

.faqdown label:hover {
    border-color: #1eb196;
    box-shadow: 0 10px 22px rgba(30, 177, 150, 0.15);
    transform: translateY(-1px);
}

/* Контент */

.faqdown .faq-content {
    max-height: 0;
    overflow: hidden;

    padding: 0 14px;
    margin-top: 6px;

    background: #fafafa;
    border-radius: 10px;

    border: 1px solid transparent;

    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* открытое состояние */

.faqdown input:checked + label + .faq-content {
    max-height: 500px;
    padding: 12px 14px;
    border-color: #e9e9e9;
}

.page__comments {
    margin: 0;
    border: 2px solid var(--bg-2);
    padding-top: 3px;
}

.short-title {display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; overflow: hidden; font-size:19px; text-transform:none; margin-bottom:13px; font-weight:500; min-height: 30px;}

.short-desc {
    margin-top: 12px;

    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;

    overflow: hidden;

    color: #5f6b7a;

    font-size: 14px;
    line-height: 1.75;

    letter-spacing: 0.1px;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.sd-line {
    margin-bottom: 10px;
}

.sd-line:last-child {
    margin-bottom: 0;
}

.sd-line span:first-child {
    color: #242424c9;
    font-weight: 600;
}

.sd-text {
    margin-top: 14px;
}

.to-fav {
    width: 34px;
    height: 34px;

    position: absolute;
    right: 0;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #1eb196;

    border: 1px solid #e9e9e9;
    border-radius: 6px;

    cursor: pointer;
    text-decoration: none;

    transition: all 0.2s ease;
    z-index: 5;
}

/* иконка */

.to-fav .fa {
    font-size: 14px;
    line-height: 1;
    color: inherit;

    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

/* hover эффект */

.to-fav:hover {
    background: var(--accent, #1eb196);
    border-color: var(--accent, #1eb196);
    color: #fff;
}

/* анимация звезды */

.to-fav:hover .fa {
    transform: scale(1.15);
    color: #fff;
}

/* состояние "добавлено" */

.to-fav .fav-added {
    color: #8c45c5;
}

.short-bottom {position:absolute; bottom:0; right:20px; left:220px; min-height: 60px; 
background-color:#f9f9f9; align-items:center; padding-bottom:20px; z-index:5;}

.short-bottom .button {border-radius:4px;}

.mask {position:absolute; left:0; top:0; width:100%; height:100%; text-align:center; padding:10px; 
background-color:rgba(0,0,0,0.5); color:#261137; font-size:20px; opacity:0; align-items:center;}

.with-mask:hover .mask {opacity:1;}

.mask span.fa {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    

    color: #111;

    margin: 0 auto 12px;

    font-size: 26px;
    padding-left: 2px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);

    transition: 0.25s ease;
}

.mask:hover span.fa {
    background: #1eb196;
    color: #fff;

    transform: scale(1.08);
}

.m-kp:before, .m-imdb:before {content:attr(data-label); margin-right:3px;}

.m-qual {background: linear-gradient(353deg, #75e7a0, #3cb0d3); color:#FFF; left:0px; top:10px;}

/* SIDE
----------------------------------------------- */

.side a {color:#111111;}

.side a:hover, .side a.active {color:#077d21;}

.side-box {}

.side-bt {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;

    padding: 10px 15px;

    text-transform: none;

    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;

    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: 0.2s ease;
}

.side-bt:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.side-bc {padding:20px;}

.side-bc.flex-row {padding-bottom:0;}

.side .tabs-b {display:none;}

.side .tabs-b.visible {display:block;}

.side .tabs-sel {padding:20px 0 0 20px; font-size: 0;}

.side .tabs-sel span {display:inline-block; padding:10px 12px; text-transform: none; 
	vertical-align:top; cursor:pointer; font-size: 14px; background-color: #333; margin-right: 1px;}

.side .tabs-sel span.current {background-color:#8c45c5; color: #fff;}

.nav-title {margin-bottom:10px; font-weight:500; text-transform: none;}

.nav-menu {margin-bottom:20px;}

.nav-menu li {display:inline-block; width:31%;}

.nav-menu a {display:block; margin-bottom:9px; font-size: 13px;line-height: 1.4; color: #333;}

.nav-menu a:hover {color: #1eb196;}

.top-item {margin-bottom:5px; display:block;}

.top-img {width:180px; height:260px; margin:0 auto 10px auto; border-radius:6px;}

.top-title {line-height:20px; padding-left:40px; position:relative;}

.tabs-b {counter-reset:a;}

.tabs-b .top-item .top-title:before {content: counter(a); counter-increment: a; font-size:14px; font-weight:500;
position:absolute; top:0; left:0; width:20px; height:20px; line-height:20px; text-align:center; 
background: linear-gradient(1deg, #121111, #1eb196); color: #fff; border-radius: 3px;}

.side-item {padding:0 0 0 90px; margin-bottom:5px; position:relative;}

.side-title {display:block;font-size: 14px;line-height: 1.4;font-weight: 500;}

.side-img {width:75px; height:101px; position:absolute; left:0; top:0; border-radius:4px;}

.side-item1:hover .si1-title {
    color: #1eb196;
    transition: 0.2s;
}

.side-item1 {width:94px; display:block; margin-bottom:20px;}

.si1-img {width: 100%;aspect-ratio: 2 / 3;margin-bottom: 10px;border-radius: 12px;overflow: hidden;position: relative;}

.si1-img img {width: 100%;height: 100%;object-fit: cover;display: block;}

.badge_tr {
    position: absolute;
    top: 1px;
    right: 4px;

    padding: 4px 8px;

    font-size: 11px;
    font-weight: 600;

    color: #111;

    background: rgb(255 215 86 / 99%);
    

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 8px;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

    line-height: 1;
    white-space: nowrap;

    z-index: 3;
}

.si1-title {
    font-size: 13px;
    font-weight: 550;
    line-height: 1.4;
    color: #222;
    margin-top: 10px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-carou {width:94px; height:135px; display:block; float:left; border-radius:4px;}

.sc-title {padding:7px; background-color:#8c45c5; color:#fff; opacity:0; 
position:absolute; left:0; bottom:0; width:100%;}

.side-carou:hover .sc-title {opacity:1;}

.lcomm + .lcomm {margin-top:20px;}

.linfo {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 6px 16px;
    background: #f4f4f46b;
    border: 1px solid #1eb19647;
    border-radius: 16px;
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .03), 0 1px 2px rgba(0, 0, 0, .02);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.linfo:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s;}

.ltext {
    position: relative;
    background: #fcfcfd;
    color: #38404ce8;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.75;
    border: 1px solid #1eb1964f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .03), 0 1px 2px rgba(0, 0, 0, .02);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ltext:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 15px;

    border: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

.ltext:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s;
}

/* BOTTOM SEO DESC
----------------------------------------------- */

.site-desc {
    border-top: 1px solid #e6e6e6;
    padding-top: 25px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.site-desc h1, .site-desc h2, .site-desc h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    text-align: center;}

.site-desc p {line-height:18px; margin-bottom:12px;}

.site-desc a {color: #1eb196;
    text-decoration: underline; font-weight:500;}

.site-desc img {
    float: left;
    margin: 0 15px 10px 0;
    width: 200px;
    border-radius: 6px;
}

.site-desc a:hover {
    text-decoration: none;
}

/* FOOTER
----------------------------------------------- */

.fleft a { text-decoration:none;
    margin-right: 10px;
    color: #0723ff;}

.fright > div > * {float:right; margin-top:5px;}

.soc-channels__item {display: flex; flex-direction: column; justify-content: center;  
	position: relative; padding: 0 20px 0 55px; height: 40px; overflow: hidden; line-height: 1;
	background-color: #2daae1; color: #fff; box-shadow: var(--bsh); font-size: 12px; border-radius: 4px;}

.soc-channels__item div {font-size: 14px; text-transform: none; margin-top: 3px;}

.vk {background-color: #1877f2; color: #fff;}

.yt {background-color: #df1111; color: #fff;}

.soc-channels__item::before {content: ''; width: 40px; height: 40px; background-color: rgba(0,0,0,0.2); 
	position: absolute; left: 0; top: 0; background-position: center center; background-size: 20px; background-repeat: no-repeat;}

.tlg::before {background-image: url(../images/i-tlg.svg); background-size: 16px;}

.vk::before {background-image: url(../images/i-vk.svg);}

.yt::before {background-image: url(../images/i-youtube.svg);}

.fpage{
    position:relative;
}

.ftitle{
    position:relative;
    padding-right:140px;
    margin-bottom:20px;
}

.ftitle h1,
.ftitle .name{
    font-size:18px;
    font-weight:600;
    margin:0;
}

.telekanal-badge{
    position:absolute;
    top:125%;
    right:0;
    transform:translateY(-50%);
    width:59px;
    height:0;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;
    background:none;
    border:none;
    box-shadow:none;
    padding:0;
    margin:0;
}

.telekanal-badge img{
    max-width:130px;
    max-height:57px;
    width:auto;
    height:auto;
    display:block;

    background:none;
    border:none;
    box-shadow:none;

    transition:transform .25s ease;
}

.telekanal-badge:hover{
    transform:translateY(-50%);
}

.telekanal-badge:hover img{
    transform:scale(1.05);
}

/* слишком широкие */

.telekanal-badge.logo-kion img,
.telekanal-badge.logo-wink img,
.telekanal-badge.logo-subbota img,
.telekanal-badge.logo-tvc img{
    max-width:105px;
    max-height:45px;
}

/* маленькие */

.telekanal-badge.logo-okko img{
    max-width:55px;
    max-height:55px;
}

.telekanal-badge.logo-ntv img{
    max-width:55px;
    max-height:55px;
}

/* WINK */

.telekanal-badge.logo-wink{
    right:12px;
}

.telekanal-badge.logo-wink img{
    max-width:105px;
    max-height:43px;
}

/* СУББОТА */

.telekanal-badge.logo-subbota{
    right:12px;
}

.telekanal-badge.logo-subbota img{
    max-width:105px;
    max-height:43px;
}

/* ТВЦ */

.telekanal-badge.logo-tvz {
    right:12px;
}

.telekanal-badge.logo-tvz img{
    max-width:105px;
    max-height:45px;
}

/* KION */

.telekanal-badge.logo-kion{
    right: 18px;
}

.telekanal-badge.logo-kion img{
    max-width:112px;
    max-height:43px;
}

/* РОССИЯ 1 */

.telekanal-badge.logo-rossia{
    right: 6px;
    
}

.telekanal-badge.logo-rossia img{
    max-width: 100px;
    max-height: 60px;
}

/* ЧЁ */

.telekanal-badge.logo-che{
    right: 6px;
    top: 14px;
}

.telekanal-badge.logo-che img{
    max-width: 100px;
    max-height: 60px;
}

/* BOTTOM NAVIGATION
----------------------------------------------- */

.pagi-load {text-align:center;}

.pagi-load > span {display:none;}

.pagi-load + .pagi-nav {margin-top:20px;}

.bottom-nav {line-height:36px; text-align:center; padding:20px 0 10px 0;}

.pagi-nav {max-width:100%; display:inline-block;}

.pagi-nav > span {display:inline-block;}

.pprev, .pnext {}

.pprev {}

.pnext a, .pprev a, .pprev > span, .pnext > span {display:block; width:36px; text-align:center;}

.navigation {text-align:center;}

.navigation a,
.navigation span,
.pnext a,
.pprev a,
.pprev > span,
.pnext > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 36px;
    height: 36px;

    padding: 0 10px;
    margin: 0 5px 10px;

    border-radius: 8px;

    background: #fff;
    color: #333;

    font-size: 13px;
    font-weight: 500;

    border: 1px solid #e9e9e9;

    transition: all 0.2s ease;
}

/* неактивные стрелки */

.pprev > span,
.pnext > span {
    opacity: 0.4;
    cursor: default;
    background: #f5f5f5;
    color: #aaa;
}

/* hover */

.navigation a:hover,
.pnext a:hover,
.pprev a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* активная */

.navigation span,
.navigation .current,
.navigation .active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* многоточие */

.navigation span.nav_ext {
    background: #fff;
    color: #888;
}

/* для комментариев */

/* FULL
----------------------------------------------- */

.speedbar {
    font-size: 12px;
    font-weight: 500;

    color: #666;

    margin-bottom: 15px;
    padding: 8px 12px;

    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 6px;

    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.speedbar a {
    color: #1eb196;
    text-decoration: none;
    font-weight: 500;
}

.speedbar a:hover {
    text-decoration: underline;
}

.fpage {margin-bottom:20px; padding:20px; background-color:#fff; box-shadow:0 0 20px 0 rgba(0,0,0,0.1); border-radius:4px;}

.fcols {margin-bottom:20px; padding-left:220px;}

.fposter {width:200px; margin:0 0 38px -220px; float:left; position:relative; min-height:100px;}

.finfo {width:100%; float:right;}

.fposter img {width:200px; aspect-ratio: 2 / 3; display:block; border-radius:4px 4px 0 0; object-fit: cover;}

.fdesc-title {font-size:16px; font-weight:500; margin-bottom:0px;}

.frating {
    padding: 8px 10px 0 10px;
    text-align: center;

    background: rgba(255, 255, 255, 0.92);
    

    position: absolute;
    left: 0;
    bottom: -38px;

    width: 100%;
    height: 38px;

    border-radius: 0 0 6px 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-top: 1px solid rgba(0,0,0,0.06);

    z-index: 3;
}

.rating-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);

    background: #03b198;
    color: #fff;

    padding: 10px 12px;
    border-radius: 12px;

    font-size: 12px;
    line-height: 1.5;

    min-width: 140px;
    white-space: nowrap;

    box-shadow: 0 6px 18px rgba(0,0,0,.25);

    opacity: 0;
    visibility: hidden;

    transition: .2s ease;

    z-index: 9999;
    pointer-events: none;
}

/* строки */

.rating-tooltip .rt-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.rating-tooltip .rt-line b{
    font-weight:700;
}

/* стрелочка */

.rating-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    border-width: 6px;
    border-style: solid;
    border-color: #03b198 transparent transparent transparent;
}

/* hover */

.rating-wrap:hover .rating-tooltip,
.frating:hover .rating-tooltip {
    opacity: 1;
    visibility: visible;
}

.rating-wrap{
    position:relative;
    display:inline-flex;
}

.fscreens {position:relative;}

.fscreens img {position:relative; width:154px; height:100px; overflow:hidden; 
	display:block; border-radius:4px;}

.fscreens br {display:none;}

.fplayer-title {
    background: rgba(0,0,0,0.9);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    color: #f1f1f1;

    padding: 10px 15px;

    font-weight: 500;

    text-align: center;
    font-size: 14px;

    letter-spacing: 0.2px;

    border-radius: 6px 6px 0 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fplayer-title a {color:#ffba7c; text-decoration:none;}

.fplayer {margin-bottom:23px; background-color:#000000;}

.fplayer .tabs-sel {height:0px; line-height:40px; color:#fff; font-weight:500; 
white-space:nowrap; overflow-y:hidden; overflow-x:auto;}

.fplayer .tabs-sel > span {cursor:pointer; display:inline-block; padding:0 10px; height:40px; 
text-transform: none; font-weight: 500;}

.fplayer .tabs-sel > span.current {color:#fff;background-color:#000000;}

.tabs-b.video-box {background-color:#000;}

.js .fplayer .tabs-b {display:none;}

.js .fplayer .tabs-b.visible {display:block;}

.rels {margin-bottom:20px;}

.rels-t {font-weight:500; margin-bottom:20px; font-size:16px;}

.rels-c .side-item1 {text-align:center; width:103px;}

.rels-c .si1-img {height:145px;}

/* FULL STORY STATIC
----------------------------------------------- */

.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame 
{width: 100%; max-width:100%; height:400px; display:block; margin:0 auto;}

.full-text {
    font-size: 15px;
    line-height: 1.85;

    color: #4b5563;
    background: #fcfcfd;

    padding: 24px 26px;

    border-radius: 18px;

    border: 1px solid rgb(15 23 42 / 18%);

    box-shadow:
        0 2px 10px rgba(0,0,0,.03),
        0 1px 2px rgba(0,0,0,.02);
}

.full-text img:not(.emoji) {max-width:100%; margin:10px 0;}

.full-text > img[style*="left"] {margin:0 10px 10px 0;}

.full-text > img[style*="right"] {margin:0 0 10px 10px;}

.full-text a {text-decoration:underline; color: #8c45c5;}

.full-text a:hover {text-decoration:none;}

.full-text h2, .full-text h3, .full-text h4, .full-text h5 {margin:10px 0; font-size:16px; font-weight:500;}

.full-text p {margin-bottom:10px;}

.full-text > ul, .full-text > ol {margin:10px 0;}

.full-text > ul li {list-style:disc; margin-left:40px; display:block; position:relative;}

.full-text > ol li {list-style:decimal; margin-left:40px;}

.full-text table {width:100%; text-align:left; margin:10px 0;}

.full-text table tr td {padding:10px; border:2px solid #e3e3e3;}

.full-text table tr:nth-child(2n+1) {background-color:#e3e3e3;}

.full-text table img {display:block; margin:0; border:0; max-width:350px}

.full-taglist a {}

.fscreens + .full-taglist {margin-top:20px;}

/* COMMENTS
----------------------------------------------- */

.comms-t {font-weight:500; text-transform: none; margin-bottom:20px;}

.add-comm-form {position:relative; margin-bottom:0px; padding:20px; background-color:#fff; 
box-shadow:0 0 20px 0 rgba(0,0,0,0.1);  border-radius:4px;}

.ac-soc {position:absolute; right:0px; top:-43px;}

.ac-soc:before {content:attr(data-label); display:inline-block; vertical-align:top; line-height:30px; margin-right:5px;}

.ac-soc a {display:inline-block; margin:0 0 0 3px; vertical-align:top;}

.ac-soc img {display:block; width:30px; border-radius:4px;}

.ac-inputs, .ac-textarea {margin-bottom:15px;}

.ac-av {width:40px; height:40px; float:left; margin-right:10px; border-radius:4px;
background:#ffffff url(../dleimages/noavatar.png) no-repeat; background-size:contain;}

.ac-title {font-weight:500; margin-bottom:15px; text-transform:none;}

.ac-inputs input {width:49%; background-color: #fff; box-shadow:inset 0 0 4px 0 rgba(0,0,0,0.1);}

.ac-textarea textarea {height:85px; box-shadow:inset 0 0 4px 0 rgba(0,0,0,0.1); border-radius: 4px;}

.ac-submit {}

.sec-answer + .sec-label {margin-top:10px;}

.ac-protect {margin-top:-10px;}

.ac-protect .label {font-size:12px;}

.ac-protect .sep-input {padding:10px 10px 10px 160px;}

.ac-protect input {}

.last-comm-link {font-size:14px; margin-bottom:10px;}

.last-comm-link a {text-decoration:underline;}

.full-comms {margin: 0;
    border: 2px solid var(--bg-2);
    padding-top: 30px;}

.comm-item {
    position: relative;

    padding: 20px 20px 20px 90px;
    margin-bottom: 16px;

    background: #e9f0f4;
    border-radius: 10px;

    transition: 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.comm-item:hover {
    background: #e3edf3;
    transform: translateY(-1px);
}

.comm-avatar {
    position: absolute;
    left: 20px;
    top: 20px;

    width: 50px;
    height: 50px;

    border-radius: 50%;
    overflow: hidden;
}

.comm-text {
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}

.comm-left {width:50px; height:50px; margin-left:-70px; float:left; border-radius:4px;}

.comm-right {width:100%; float:right;}

.comm-one {padding:0 80px 10px 0; position:relative;}

.comm-one > span {float:left; margin-right:20px; opacity:0.7;}

.comm-author {font-weight:600; font-size: 13px; opacity:1;}

.comm-author a {text-decoration:underline;}

.rate3-comm {position:absolute; right:0; top:-5px; white-space:nowrap; font-weight:500;}

.rate3-comm a {cursor:pointer; height:20px; line-height:20px; display:inline-block; font-size:12px; 
background-color:#eb6c65; vertical-align:top; color:#FFF; width:20px; text-align:center; border-radius:10px;}

.rate3-comm a:last-child {background-color:#88b669;}

.rate3-comm a:hover {opacity:0.5;}

.rate3-comm > span {height:20px; line-height:20px; display:inline-block; vertical-align:top; padding:0 5px; color:#888}

.rate3-comm > span > span.ratingtypeplus {color: #BEC5D0;}

.rate3-comm > span > span.ratingplus {color: #88B669;}

.rate3-comm > span > span.ratingminus {color: #EB6C65;}

.comm-two {padding-bottom:0;}

.comm-three {margin-top:10px; font-size:12px; text-align:right;}

.comm-three li {display:inline-block; margin-left:10px;}

.comm-three li:first-child {margin-left:0px; float:left;}

/* LOGIN
----------------------------------------------- */

.login-box {background-color:#FFF; padding:20px; display:none;}

.lb-user {margin:-20px -20px 20px -20px; padding:20px; background-color:#f6f6f6;  
display:flex; flex-flow:row wrap; justify-content:center; align-items:center;}

.lb-ava {width:80px; height:80px; border-radius:50%; margin-right:20px;}

.lb-name div {font-size:18px; font-weight:500;}

.lb-name a {margin-top:10px;}

.lb-menu a {display:block; line-height:30px; padding:0 10px; background-color:#f6f6f6;}

.lb-menu a:hover, .lb-menu a:hover .fa {background-color:#ffdb4c; color:#000;}

.lb-menu a .fa {color:#444;}

.login-box input[type="text"]:not(.rs-shell-input), .login-box input[type="password"], .login-box button, .lb-check 
{display:block; margin-bottom:20px; width:100%;}

.lb-check input {display:none;}

.lb-check input + label:before {width:14px; height:14px; margin-right:7px; cursor:pointer; position:relative; top:3px;
border-radius:3px; border:1px solid #ccc; content:""; background-color:#f6f6f6; display:inline-block;}

.lb-check input:checked + label:before {background-color:#e5050b;}

.lb-soc {margin:20px -20px -20px -20px; padding:20px; background-color:#f6f6f6; text-align:center;}

.lb-soc a {display:inline-block; margin:10px 3px 0 3px; vertical-align:top;}

.lb-soc img {display:block; width:30px;}

/* GO TOP BUTTON */

#gotop{position:fixed; width:50px; height:50px; line-height:46px; right:10px; bottom:10px; cursor:pointer; font-size:20px;
z-index:9998; display:none; opacity:1; background-color:#fff; color:#222; 
border-radius:50%; text-align:center; box-shadow: 0 1px 4px rgba(0,0,0,0.2);}

/* =========================
   COLLECTIONS
========================= */

.home-collections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0 0 26px 0;
}

.home-collection {
    position: relative;
    min-height: 170px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: .3s ease;
}

.home-collection:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.home-collection__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(15,23,32,.84) 0%,
        rgba(15,23,32,.58) 45%,
        rgba(15,23,32,.18) 100%);
}

.home-collection__content {
    position: relative;
    z-index: 2;
    max-width: 240px;
}

.home-collection__subtitle {
    color: #65c7ab;
    font-size: 12px;
    font-weight: 550;
    margin-bottom: 10px;
    padding-left: 12px;
    position: relative;
    letter-spacing: .5px;
}

.home-collection__subtitle:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 4px;
    height: 14px;
    border-radius: 30px;
    background: #65c7ab;
}

.home-collection__title {
    color: #fff;
    font-size: 21px;
    line-height: 1;
    font-weight: 550;
    margin-bottom: 10px;
    letter-spacing: -.5px;
}

.home-collection__desc {
    color: rgba(255,255,255,.92);
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.home-collection__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#65c7ab,#56b89c);
    color: #fff;
    font-size: 14px;
    font-weight: 550;
    box-shadow: 0 4px 14px rgba(101,199,171,.25);
    transition: .25s ease;
}

.home-collection:hover .home-collection__btn {
    transform: scale(1.03);
}

/* BACKGROUNDS */

.home-collection--men {
    background-image: url(/uploads/collection-men.webp);
}

.home-collection--women {
    background-image: url(/uploads/collection-women.webp);
}

.home-collection--police {
    background-image: url(/uploads/collection-police.webp);
}

.home-collection--doctors {
    background-image: url(/uploads/collection-doctors.webp);
}

/* TABLET */

/* ADAPTIVE
----------------------------------------------- */

.show-menu, .nav-cloned {display:none;}

@media screen and (max-width: 1220px) {

.wrap {background-image:none;}
.center {max-width:1000px;}
.header .share-box {display:none;}

.karusel, .fscreens, .rels {
    position:relative;
}

.karusel:before,
.fscreens:before,
.rels:before {
    width:20px;
    height:100%;
    position:absolute;
    top:0;
    right:20px;
    z-index:100;
    display:block;
    content:"";
    pointer-events:none;
}

.fscreens:before,
.rels:before {
    right:0;
}

.short-bottom .button {padding:0 10px;}
.rels .owl-nav.disabled {display:block;}

}

@media screen and (max-width: 950px) {

.center {max-width:768px;}

.nav-cloned {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
}

.f-menu:not(.rs-site-nav__list), .cols:before {display:none;}

.show-menu {
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    cursor: pointer;
    transition: 0.2s ease;
}

.show-menu:hover {
    background: #1eb196;
    color: #fff;
    border-color: #1eb196;
}

.cols {overflow:hidden; padding:0;}
.side {display:none;}

.main, .fpage, .add-comm-form, .fdesc {
    padding:20px 10px;
}

.viss .side {
    display:block;
    margin-left:0;
    margin-right:-320px;
    width:320px;
    position:relative;
    z-index:300;
    box-shadow: 20px 20px 20px -20px rgba(0,0,0,0.7);
}

.side-bt {padding:10px;}
.side-bc {padding:20px 10px;}
.side .tabs-sel {padding:20px 0 0 10px;}
.side-bc.flex-row {padding-bottom:0;}

.short {
    padding:10px 10px 10px 210px;
    height:280px;
}

.short-bottom {
    right:10px;
    left:210px;
    height:50px;
    padding-bottom:10px;
}

.short:before {
    bottom:50px;
    left:210px;
    right:0;
    height:50px;
}

.comm-item {
    padding:10px 10px 10px 80px;
}

}

@media screen and (max-width: 768px) {
.shorts-header .share-box {display:none;}
.shorts-header.flex-row {text-align:left; min-height:25px;}
.grid-thumb .items {margin: 0 -5px;}
.grid-thumb .bottom-nav {padding-left: 5px; padding-right: 5px;}

.grid-thumb .short {
    width: calc((100% - 20px)/2);
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.grid-thumb .short-bottom {display:none;}
.grid-thumb .short-title {margin-bottom:0;}

.tc-title {
    opacity: 0;
    transform: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
    .ftitle{
        padding-right:0;
        margin-bottom:15px;
    }

    .telekanal-badge{
        position:absolute;
        top:378px;
        right:0px;
        transform:none;
        width:auto;
        height:auto;
    }

    .telekanal-badge:hover{
        transform:scale(1.05);
    }

    .telekanal-badge img{
        max-width:87px;
        max-height:47px;
    }
}

@media screen and (max-width: 760px) {

.center {max-width:640px;}


.login-btns:not(.rs-shell-account) a,
.show-login span {
    display:none;
}

.show-login .fa {
    display:inline-block;
    margin:3px;
}

.fleft, .fright {width:100%;}
.fright > div > * {float:left;}

.comm-one > span:nth-child(2) {
    display:none;
}

.comm-three {display:none;}

.ac-protect {margin-top:0px;}

.sub-title h1 {
    font-size:18px;
    line-height:24px;
}

}

@media screen and (max-width: 590px) {

.center {max-width:480px;}

.short-text {
    width: 100%;
    box-sizing: border-box;
    padding-right: 44px;
}

.to-fav {
    position: absolute;
    top: 0px;
    right: 8px;
    z-index: 10;
}

.shorts-header.flex-row {
    min-height:30px;
    text-align:center;
    display:block;
}

.shorts-header222 > *:first-child {
    width:100%;
    padding-bottom:10px;
}

.short {
    padding:10px;
    height:auto;
    min-height:200px;
}

.short-img {
    width:138px;
    aspect-ratio:2/3;
    border-radius:2px;
    margin:0 12px 12px 0;
    float:left;
}

.short-text {
    width:100%;
    float:none;
}

.short-bottom {
    position:static;
    height:40px;
    padding-bottom:0;
    margin-top:10px;
}

.short:before {
    display:none;
}

.bottom-nav {
    position:relative;
}

.bottom-nav2:before {
    width:20px;
    height:40px;
    position:absolute;
    bottom:40px;
    right:0px;
    z-index:100;
    box-shadow:inset -20px 0 20px -20px rgba(0,0,0,0.7);
    display:block;
    content:"";
    pointer-events:none;
}

.site-desc img {
    margin:0 10px 10px 0;
    width:120px;
}

.fcols {padding-left:0;}
.fposter {margin:0 auto 60px auto; float:none;}
.finfo {float:none;}

.video-box embed,
.video-box object,
.video-box video,
.video-box iframe,
.video-box frame {
    height:300px;
}

.ac-soc {position:static;}
.ac-soc:before {display:none;}
.ac-inputs input {width:100%; margin-top:10px;}
.ac-protect {width:100%; float:none; margin:0;}

#dofullsearch,
#searchsuggestions span.seperator {
    display:none;
}
}

@media screen and (max-width: 540px) {

.header {
    height: 80px;
    padding: 0 12px;
    gap: 8px;
    flex-wrap: nowrap;
}

.logotype:not(.rs-site-brand) {
        font-size: 23px;
        letter-spacing: 0.5px;
    }

    .logotype:not(.rs-site-brand) span {
            font-size: 16px;
            margin-left: -11px;
            top: -16px;
        }    

.search-box {
    flex: 1 1 auto;
    max-width: 220px;
    min-width: 0;
}

.login-btns:not(.rs-shell-account) {
    flex-shrink: 0;
}

}

@media screen and (max-width: 470px) {

.center22 {max-width:320px;}
.search-wrap:not(.rs-site-search) {width:150px;}

.short-bottom div[id] {display:none;}
.short-bottom .button {width:100%; text-align:center;}

.header {height:60px;}
.search-wrap:not(.rs-site-search), .login-btns:not(.rs-shell-account) {margin-top:10px;}
.home-collections {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 6px 0 24px 0;
    }

    .home-collection {
        min-height: 115px;
        padding: 14px 16px;
        border-radius: 14px;
        background-position: center;
    }

    .home-collection__content {
        max-width: 170px;
    }

    .home-collection__subtitle {
        font-size: 10px;
        margin-bottom: 6px;
        padding-left: 10px;
    }

    .home-collection__subtitle:before {
        width: 3px;
        height: 11px;
    }

    .home-collection__title {
        font-size: 18px;
        line-height: .95;
        margin-bottom: 6px;
        letter-spacing: -.5px;
    }

    .home-collection__desc {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .home-collection__btn {
        height: 28px;
        padding: 0 10px;
        font-size: 10px;
        border-radius: 7px;
    }


.video-box embed,
.video-box object,
.video-box video,
.video-box iframe,
.video-box frame {
    height:207px;
}

}

.grid-thumb .items {margin: 0 0px; width: auto;}

.grid-thumb .bottom-nav {padding-left: 10px; padding-right: 10px;}

.grid-thumb .short {
    width: calc((100% - 60px)/3);
    margin-right: 10px;
    margin-left: 10px;
    float: left;
    padding: 10px;
    height: auto;
}

.grid-thumb .short:before {display: none;}

.grid-thumb .short-img {
    float: none;
    margin: 0;
    width: 100%;
    height: 0;
    padding-top: 144%;
}

.grid-thumb .short-img img {
    position: absolute;
    left: 0;
    top: 0;
}

.grid-thumb .short-title {
    font-size: 16px;
    padding-right: 0;
    margin: 10px 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-thumb .short-bottom {
    position: static;
    padding: 0;
    height: 20px;
    text-align: center;
    display: block;
}

.grid-thumb .short-bottom > * {
    display: inline-block;
}

.grid-thumb .short-bottom .button,
.grid-thumb .short-desc,
.grid-thumb .to-fav {
    display: none;
}

.rs-native-carousel {
    position: relative;
    min-width: 0;
}

.rs-native-carousel__viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.rs-native-carousel__track {
    display: flex;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.rs-native-carousel__track::-webkit-scrollbar {
    display: none;
}

.rs-native-carousel__track > * {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.rs-native-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 30;
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    color: #222;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    cursor: pointer;
    opacity: 1;
    transition: background-color .16s ease,
                color .16s ease,
                box-shadow .16s ease,
                opacity .16s ease;
}

.rs-native-carousel__arrow--prev {
    left: 10px;
}

.rs-native-carousel__arrow--next {
    right: 10px;
}

.rs-native-carousel__arrow:hover,
.rs-native-carousel__arrow:focus-visible,
.rs-native-carousel__arrow:active {
    top: 50%;
    margin: 0;
    border-color: #82cfc0;
    background: #edf8f5;
    color: #117a68;
    box-shadow: 0 6px 16px rgba(21, 139, 116, .16);
    transform: translateY(-50%);
}

.rs-native-carousel__arrow:disabled {
    cursor: default;
    opacity: .28;
}

.rs-native-carousel.is-static .rs-native-carousel__arrow {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Top serial carousel: final 210px row exists from the first CSS pass. */

.karusel.rs-native-carousel--top {
    min-height: 252px;
    contain: layout paint;
}

.rs-native-carousel__track--top {
    gap: 15px;
    min-height: 210px;
    height: 210px;
    padding: 0;
}

.rs-native-carousel__track--top > .top-carou {
    flex: 0 0 143px;
    width: 143px;
    height: 210px;
}

.rs-native-carousel__track--top .top-carou img {
    display: block;
    width: 143px;
    height: 210px;
    background: #dfe5e8;
}

/* Fullstory screenshots. */

.rs-native-carousel--screens {
    min-height: 100px;
    margin-top: 16px;
}

.rs-native-carousel__track--screens {
    gap: 20px;
    min-height: 100px;
    height: 100px;
}

.rs-native-carousel__track--screens > img {
    flex: 0 0 154px;
    width: 154px;
    height: 100px;
}

/* Related serials. */

.rs-native-carousel--related {
    min-height: 194px;
}

.rs-native-carousel__track--related {
    gap: 20px;
    min-height: 194px;
    align-items: flex-start;
}

.rs-native-carousel__track--related > .side-item1 {
    flex: 0 0 103px;
    width: 103px;
    margin-bottom: 0;
}

/* The empty AJAX mount reserves the video rectangle. Once playlist controls
   arrive, the outer player returns to normal document flow and only the actual
   video viewport keeps a 16:9 box. This prevents controls from shrinking video. */

.tabs-b.video-box {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
}

.tabs-b.video-box > .playlists-ajax {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
}

.tabs-b.video-box > .playlists-ajax:empty {
    aspect-ratio: 16 / 9;
    background: #000;
}

.tabs-b.video-box .playlists-player {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
}

.tabs-b.video-box .playlists-iframe {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.tabs-b.video-box .playlists-iframe > iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
}

.tabs-b.video-box > iframe,
.tabs-b.video-box > video,
.tabs-b.video-box > object,
.tabs-b.video-box > embed {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
}

/* The delayed channel-logo src assignment cannot change title geometry. */

.telekanal-badge {
    width: 112px;
    height: 57px;
}

.telekanal-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Static mobile navigation trigger replaces the late JS insertion. */

.show-menu {
    box-sizing: border-box;
}

@media screen and (max-width: 760px) {
    html body .rs-native-carousel > .rs-native-carousel__arrow {
        display: none;
    }

    .karusel.rs-native-carousel--top {
        min-height: 220px;
        padding: 12px 10px;
        margin-bottom: 14px;
    }

    .rs-native-carousel__viewport {
        overflow: visible;
    }

    .rs-native-carousel__track--top {
        gap: 12px;
        min-height: 194px;
        height: 194px;
        padding-inline: 2px 14px;
    }

    .rs-native-carousel__track--top > .top-carou {
        flex-basis: 132px;
        width: 132px;
        height: 194px;
    }

    .rs-native-carousel__track--top .top-carou img {
        width: 132px;
        height: 194px;
    }

    .rs-native-carousel--screens,
    .rs-native-carousel__track--screens {
        min-height: 100px;
        height: 100px;
    }

    .rs-native-carousel__track--screens {
        gap: 12px;
        padding-right: 12px;
    }

    .rs-native-carousel--related,
    .rs-native-carousel__track--related {
        min-height: 190px;
    }

    .rs-native-carousel__track--related {
        gap: 14px;
        padding-right: 12px;
    }

    .telekanal-badge {
        width: 87px;
        height: 47px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-native-carousel__arrow,
    .tc-title {
        transition: none;
    }
}

/* Channel/platform logos on the actor catalogue were width:auto.
   Their anchors expanded in two waves when PNG dimensions became known. */

html body.ruserials-dle-people .ab-channel-quick-scroll a > img {
    display: block;
    flex: 0 0 31px;
    width: 31px;
    min-width: 31px;
    max-width: 31px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    object-fit: contain;
}

/* FontAwesome fallback glyphs have different advance widths.
   A fixed slot prevents the login, search, menu, favourite and carousel
   controls from moving when fontawesome-webfont.woff2 finishes loading. */

.search-box button .fa,
.login-btns:not(.rs-shell-account) .fa,
.show-menu > .fa,
.to-fav .fa,
.rs-native-carousel__arrow .fa {
    display: inline-flex;
    flex: 0 0 14px;
    width: 14px;
    min-width: 14px;
    max-width: 14px;
    height: 14px;
    min-height: 14px;
    max-height: 14px;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    text-align: center;
}

/* The channel class is attached after page load. Legacy class-specific
   max-width rules must not resize the IMG layout box at that moment. */

.ftitle .telekanal-badge img {
    display: block;
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    max-height: none;
    object-fit: contain;
}

@media screen and (min-width: 761px) {
    .header.flex-row {
        display: grid;
        grid-template-columns: max-content 220px minmax(172px, max-content);
        align-items: center;
        justify-content: space-between;
        column-gap: 0;
        flex-flow: initial;
    }

    .header.flex-row > .logotype:not(.rs-site-brand) {
        grid-column: 1;
        justify-self: start;
    }

    .header.flex-row > .search-wrap:not(.rs-site-search) {
        grid-column: 2;
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        justify-self: center;
    }

    .header.flex-row > .login-btns:not(.rs-shell-account) {
        grid-column: 3;
        min-width: 172px;
        justify-self: end;
        justify-content: flex-end;
    }
}

.rs-native-carousel--screens:not(
    :has(.rs-native-carousel__track--screens > :not(br))
) {
    display: none;
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.rs-taxonomy-values {
    display: inline;
}

.rs-taxonomy-link {
    color: #258d75;
    font: inherit;
    /* Preserve pre-link text metrics and prevent CLS. */
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 141, 117, .28);
    transition: color .15s ease, border-color .15s ease;
}

.rs-taxonomy-link:hover,
.rs-taxonomy-link:focus-visible {
    color: #176b59;
    border-bottom-color: rgba(23, 107, 89, .7);
    outline: 0;
}

.rs-taxonomy-link:active {
    color: #125648;
}

.rs-taxonomy-link,
.rs-taxonomy-link:hover,
.rs-taxonomy-link:focus,
.rs-taxonomy-link:active {
    transform: none;
}

.rs-all-collections-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(54, 155, 129, .28);
    border-radius: 10px;
    background: rgba(54, 155, 129, .08);
    color: #207d68;
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
}

.rs-all-collections-link:hover,
.rs-all-collections-link:focus-visible {
    background: rgba(54, 155, 129, .13);
    color: #176654;
    outline: 0;
}

.rs-collection-memberships {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 4px;
    padding: 12px 14px;
    border: 1px solid rgba(54, 155, 129, .2);
    border-radius: 12px;
    background: rgba(54, 155, 129, .06);
}

.rs-collection-memberships__label {
    flex: 0 0 auto;
    padding-top: 5px;
    color: #35424b;
    font-size: 13px;
    font-weight: 550;
}

.rs-collection-memberships__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
    font-size: 0;
}

.rs-collection-memberships__links > a {
    display: none;
}

.rs-collection-memberships__links > :is(
    a[href$="/lubov/"],
    a[href$="/rassledovania/"],
    a[href$="/vrachi/"],
    a[href$="/polizia/"],
    a[href$="/pro-voynu/"],
    a[href$="/dlya-vsey-semi/"],
    a[href$="/izmeni/"],
    a[href$="/neozhidannaya-razvyazka/"],
    a[href$="/zhiznennye-istorii/"],
    a[href$="/do-slez/"],
    a[href$="/bandy-i-bandity/"],
    a[href$="/realnye-sobytiya/"],
    a[href$="/lyubovnyy-treugolnik/"],
    a[href$="/lyubov-posle-40/"],
    a[href$="/silnye-zhenshchiny/"],
    a[href$="/pro-razvod/"],
    a[href$="/pro-nasledstvo/"],
    a[href$="/pro-mest/"],
    a[href$="/pro-druzhbu/"],
    a[href$="/bogatye-i-bednye/"],
    a[href$="/pro-spetssluzhby/"],
    a[href$="/sud-i-yuristy/"],
    a[href$="/shkola-i-uchitelya/"],
    a[href$="/molodesh/"],
    a[href$="/deti/"],
    a[href$="/pro-sport/"],
    a[href$="/pro-moryakov/"],
    a[href$="/pozharnye-i-spasateli/"],
    a[href$="/pro-puteshestviya/"],
    a[href$="/pro-derevnyu/"],
    a[href$="/kuhnya-i-povara/"],
    a[href$="/sssr/"],
    a[href$="/den-pobedi/"],
    a[href$="/new-year/"],
    a[href$="/jenskie/"],
    a[href$="/mujskie/"],
    a[href$="/pro-moshennikov/"]
) {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(42, 153, 217, .18);
    border-radius: 999px;
    background: #fff;
    color: #258d75;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.rs-collection-memberships__links > :is(
    a[href$="/lubov/"],
    a[href$="/rassledovania/"],
    a[href$="/vrachi/"],
    a[href$="/polizia/"],
    a[href$="/pro-voynu/"],
    a[href$="/dlya-vsey-semi/"],
    a[href$="/izmeni/"],
    a[href$="/neozhidannaya-razvyazka/"],
    a[href$="/zhiznennye-istorii/"],
    a[href$="/do-slez/"],
    a[href$="/bandy-i-bandity/"],
    a[href$="/realnye-sobytiya/"],
    a[href$="/lyubovnyy-treugolnik/"],
    a[href$="/lyubov-posle-40/"],
    a[href$="/silnye-zhenshchiny/"],
    a[href$="/pro-razvod/"],
    a[href$="/pro-nasledstvo/"],
    a[href$="/pro-mest/"],
    a[href$="/pro-druzhbu/"],
    a[href$="/bogatye-i-bednye/"],
    a[href$="/pro-spetssluzhby/"],
    a[href$="/sud-i-yuristy/"],
    a[href$="/shkola-i-uchitelya/"],
    a[href$="/molodesh/"],
    a[href$="/deti/"],
    a[href$="/pro-sport/"],
    a[href$="/pro-moryakov/"],
    a[href$="/pozharnye-i-spasateli/"],
    a[href$="/pro-puteshestviya/"],
    a[href$="/pro-derevnyu/"],
    a[href$="/kuhnya-i-povara/"],
    a[href$="/sssr/"],
    a[href$="/den-pobedi/"],
    a[href$="/new-year/"],
    a[href$="/jenskie/"],
    a[href$="/mujskie/"],
    a[href$="/pro-moshennikov/"]
):hover,
    .rs-collection-memberships__links > :is(
    a[href$="/lubov/"],
    a[href$="/rassledovania/"],
    a[href$="/vrachi/"],
    a[href$="/polizia/"],
    a[href$="/pro-voynu/"],
    a[href$="/dlya-vsey-semi/"],
    a[href$="/izmeni/"],
    a[href$="/neozhidannaya-razvyazka/"],
    a[href$="/zhiznennye-istorii/"],
    a[href$="/do-slez/"],
    a[href$="/bandy-i-bandity/"],
    a[href$="/realnye-sobytiya/"],
    a[href$="/lyubovnyy-treugolnik/"],
    a[href$="/lyubov-posle-40/"],
    a[href$="/silnye-zhenshchiny/"],
    a[href$="/pro-razvod/"],
    a[href$="/pro-nasledstvo/"],
    a[href$="/pro-mest/"],
    a[href$="/pro-druzhbu/"],
    a[href$="/bogatye-i-bednye/"],
    a[href$="/pro-spetssluzhby/"],
    a[href$="/sud-i-yuristy/"],
    a[href$="/shkola-i-uchitelya/"],
    a[href$="/molodesh/"],
    a[href$="/deti/"],
    a[href$="/pro-sport/"],
    a[href$="/pro-moryakov/"],
    a[href$="/pozharnye-i-spasateli/"],
    a[href$="/pro-puteshestviya/"],
    a[href$="/pro-derevnyu/"],
    a[href$="/kuhnya-i-povara/"],
    a[href$="/sssr/"],
    a[href$="/den-pobedi/"],
    a[href$="/new-year/"],
    a[href$="/jenskie/"],
    a[href$="/mujskie/"],
    a[href$="/pro-moshennikov/"]
):focus-visible {
    border-color: rgba(37, 141, 117, .42);
    background: rgba(37, 141, 117, .08);
    color: #176b59;
    outline: 0;
}

.rs-collection-memberships:not(:has(.rs-collection-memberships__links > :is(
    a[href$="/lubov/"],
    a[href$="/rassledovania/"],
    a[href$="/vrachi/"],
    a[href$="/polizia/"],
    a[href$="/pro-voynu/"],
    a[href$="/dlya-vsey-semi/"],
    a[href$="/izmeni/"],
    a[href$="/neozhidannaya-razvyazka/"],
    a[href$="/zhiznennye-istorii/"],
    a[href$="/do-slez/"],
    a[href$="/bandy-i-bandity/"],
    a[href$="/realnye-sobytiya/"],
    a[href$="/lyubovnyy-treugolnik/"],
    a[href$="/lyubov-posle-40/"],
    a[href$="/silnye-zhenshchiny/"],
    a[href$="/pro-razvod/"],
    a[href$="/pro-nasledstvo/"],
    a[href$="/pro-mest/"],
    a[href$="/pro-druzhbu/"],
    a[href$="/bogatye-i-bednye/"],
    a[href$="/pro-spetssluzhby/"],
    a[href$="/sud-i-yuristy/"],
    a[href$="/shkola-i-uchitelya/"],
    a[href$="/molodesh/"],
    a[href$="/deti/"],
    a[href$="/pro-sport/"],
    a[href$="/pro-moryakov/"],
    a[href$="/pozharnye-i-spasateli/"],
    a[href$="/pro-puteshestviya/"],
    a[href$="/pro-derevnyu/"],
    a[href$="/kuhnya-i-povara/"],
    a[href$="/sssr/"],
    a[href$="/den-pobedi/"],
    a[href$="/new-year/"],
    a[href$="/jenskie/"],
    a[href$="/mujskie/"],
    a[href$="/pro-moshennikov/"]
))) {
    display: none;
}

.rs-collections-index {
    margin: 0 0 24px;
}

.rs-collections-index__header {
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(54, 155, 129, .2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 12%, rgba(90, 202, 171, .18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
}

.rs-collections-index__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #278d75;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: .08em;
}

.rs-collections-index__header h1 {
    margin: 0 0 8px;
    color: #18242a;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-collections-index__header p {
    max-width: 720px;
    margin: 0;
    color: #63717a;
    font-size: 14px;
    line-height: 1.65;
}

.rs-collections-index__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rs-collections-index__card {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    min-height: 132px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(52, 72, 82, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(34, 56, 68, .055);
    color: #17242b;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.rs-collections-index__card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #45aa8d;
}

.rs-collections-index__card--blue::before { background: #5a8fe6; }

.rs-collections-index__card--violet::before { background: #806fd1; }

.rs-collections-index__card--amber::before { background: #d69b3a; }

.rs-collections-index__card--rose::before { background: #cc7181; }

.rs-collections-index__card--teal::before { background: #3d9ba0; }

.rs-collections-index__card:hover,
.rs-collections-index__card:focus-visible {
    border-color: rgba(54, 155, 129, .34);
    background: #fbfefd;
    box-shadow: 0 10px 28px rgba(34, 56, 68, .09);
    outline: 0;
}

.rs-collections-index__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: rgba(54, 155, 129, .1);
    font-size: 22px;
}

.rs-collections-index__body {
    display: block;
    min-width: 0;
}

.rs-collections-index__name {
    display: block;
    margin-bottom: 5px;
    color: #18242a;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-collections-index__desc {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    color: #6a7680;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-collections-index__count {
    display: block;
    color: #278d75;
    font-size: 12px;
    font-weight: 550;
}

.rs-collections-index__arrow {
    color: #7b8b94;
    font-size: 18px;
}

body:has(.rs-collection-poster-card) .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rs-collection-poster-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(54, 72, 82, .12);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(34, 56, 68, .05);
}

.rs-collection-poster-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #edf2f3;
}

.rs-collection-poster-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .16s ease;
}

.rs-collection-poster-card:hover .rs-collection-poster-card__poster img {
    opacity: .94;
}

.rs-collection-poster-card__badges {
    position: absolute;
    inset: 8px 8px auto;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.rs-collection-poster-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(25, 32, 38, .84);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.rs-collection-poster-card__badge--age {
    background: rgba(205, 79, 79, .9);
}

.rs-collection-poster-card__body {
    padding: 11px 11px 13px;
}

.rs-collection-poster-card__title {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-collection-poster-card__title a {
    color: #17242b;
    text-decoration: none;
}

.rs-collection-poster-card__title a:hover,
.rs-collection-poster-card__title a:focus-visible {
    color: #258d75;
    outline: 0;
}

.rs-collection-poster-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #77848d;
    font-size: 11px;
}

.rs-collection-poster-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f2f6f6;
}

@media (max-width: 959px) {
    .rs-collections-index__grid {
        grid-template-columns: 1fr;
    }

    body:has(.rs-collection-poster-card) .items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .rs-collection-memberships {
        display: block;
        padding: 11px 12px;
    }

    .rs-collection-memberships__label {
        display: block;
        margin-bottom: 8px;
        padding-top: 0;
    }

    .rs-collections-index__header {
        padding: 17px;
    }

    .rs-collections-index__header h1 {
        font-size: 22px;
    }

    .rs-collections-index__card {
        min-height: 118px;
    }

    body:has(.rs-collection-poster-card) .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .rs-collections-index__card {
        grid-template-columns: 40px minmax(0, 1fr) 18px;
        padding: 13px;
    }

    .rs-collections-index__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.rs-home-collections {
    margin: 0 0 28px;
}

.rs-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.rs-home-section-head__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #2c927b;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rs-home-section-head h2 {
    margin: 0;
    color: #17242b;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-home-section-head__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(45, 145, 121, .25);
    border-radius: 10px;
    background: #f4fbf8;
    color: #237d69;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
}

.rs-home-section-head__link:hover,
.rs-home-section-head__link:focus-visible {
    border-color: rgba(45, 145, 121, .42);
    background: #ebf7f3;
    color: #196b5a;
    outline: 0;
}

.rs-home-collections__carousel {
    min-height: 204px;
}

.rs-home-collections__track {
    gap: 14px;
    min-height: 204px;
    padding: 2px;
}

.rs-home-collection-card {
    position: relative;
    flex: 0 0 calc((100% - 14px) / 2);
    width: calc((100% - 14px) / 2);
    min-width: 0;
    min-height: 200px;
    overflow: hidden;
    border: 1px solid rgba(27, 47, 57, .12);
    border-radius: 16px;
    background: #17242b;
    box-shadow: 0 8px 24px rgba(28, 48, 58, .08);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.rs-home-collection-card__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #dfe7e6;
    transition: filter .18s ease;
}

.rs-home-collection-card__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(12, 24, 31, .92) 0%, rgba(12, 24, 31, .72) 53%, rgba(12, 24, 31, .24) 100%),
        linear-gradient(0deg, rgba(12, 24, 31, .34), transparent 58%);
}

.rs-home-collection-card__content {
    display: flex;
    width: min(78%, 300px);
    min-height: 200px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.rs-home-collection-card__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #80dcc3;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 550;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.rs-home-collection-card__title {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 550;
}

.rs-home-collection-card__desc {
    display: -webkit-box;
    margin-bottom: 13px;
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-home-collection-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 9px;
    background: rgba(99, 199, 170, .94);
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    box-shadow: 0 5px 15px rgba(22, 82, 69, .18);
}

.rs-home-collection-card:hover .rs-home-collection-card__image,
.rs-home-collection-card:focus-visible .rs-home-collection-card__image {
    filter: brightness(.93) saturate(1.04);
}

.rs-home-collection-card:focus-visible {
    outline: 3px solid rgba(101, 199, 171, .5);
    outline-offset: 2px;
}

.rs-home-collections__carousel > .rs-native-carousel__arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
}

.rs-collections-index {
    margin: 0 0 26px;
}

.rs-collections-index__header {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(54, 155, 129, .2);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 12%, rgba(90, 202, 171, .18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f1faf7 100%);
}

.rs-collections-index__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #278d75;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
    letter-spacing: .08em;
}

.rs-collections-index__header h1 {
    margin: 0 0 8px;
    color: #18242a;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-collections-index__header p {
    max-width: 720px;
    margin: 0;
    color: #63717a;
    font-size: 14px;
    line-height: 1.65;
}

.rs-collections-index__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rs-collections-index__card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 202px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(38, 58, 68, .14);
    border-radius: 16px;
    background: #17242b;
    box-shadow: 0 8px 24px rgba(31, 50, 60, .08);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.rs-collections-index__card::before {
    display: none;
}

.rs-collections-index__media,
.rs-collections-index__shade {
    position: absolute;
    inset: 0;
}

.rs-collections-index__media {
    z-index: -2;
    display: block;
    background: #dfe7e6;
}

.rs-collections-index__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter .18s ease;
}

.rs-collections-index__shade {
    z-index: -1;
    display: block;
    background:
        linear-gradient(0deg, rgba(10, 22, 29, .94) 0%, rgba(10, 22, 29, .64) 48%, rgba(10, 22, 29, .1) 100%),
        linear-gradient(90deg, rgba(10, 22, 29, .3), transparent 62%);
}

.rs-collections-index__body {
    position: absolute;
    inset: auto 0 0;
    display: block;
    min-width: 0;
    padding: 52px 18px 17px;
}

.rs-collections-index__name {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 550;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .28);
}

.rs-collections-index__desc {
    display: -webkit-box;
    margin-bottom: 9px;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-collections-index__count {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(20, 42, 49, .56);
    color: #8de1ca;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    backdrop-filter: blur(6px);
}

.rs-collections-index__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(16, 31, 39, .52);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    backdrop-filter: blur(6px);
}

.rs-collections-index__card:hover,
.rs-collections-index__card:focus-visible {
    border-color: rgba(72, 177, 148, .5);
    background: #17242b;
    box-shadow: 0 10px 28px rgba(31, 50, 60, .12);
    outline: 0;
}

.rs-collections-index__card:hover .rs-collections-index__media img,
.rs-collections-index__card:focus-visible .rs-collections-index__media img {
    filter: brightness(.91) saturate(1.04);
}

@media screen and (max-width: 959px) {
    .rs-home-collection-card {
        flex-basis: 76%;
        width: 76%;
    }

    .rs-collections-index__grid {
        grid-template-columns: 1fr;
    }

    .rs-collections-index__card {
        min-height: 218px;
    }
}

@media screen and (max-width: 759px) {
    .rs-home-collections {
        margin-bottom: 24px;
    }

    .rs-home-section-head {
        align-items: flex-start;
    }

    .rs-home-section-head h2 {
        font-size: 21px;
    }

    .rs-home-section-head__link {
        min-height: 36px;
        padding-inline: 11px;
    }

    .rs-home-collections__carousel,
    .rs-home-collections__track {
        min-height: 194px;
    }

    .rs-home-collection-card {
        flex-basis: 88%;
        width: 88%;
        min-height: 190px;
    }

    .rs-home-collection-card__content {
        min-height: 190px;
        padding: 17px;
    }

    .rs-home-collection-card__title {
        font-size: 20px;
    }

    .rs-collections-index__header {
        padding: 18px;
    }

    .rs-collections-index__header h1 {
        font-size: 23px;
    }

    .rs-collections-index__grid {
        gap: 13px;
    }

    .rs-collections-index__card {
        min-height: 196px;
    }

    .rs-collections-index__body {
        padding: 48px 16px 15px;
    }

    .rs-collections-index__name {
        font-size: 17px;
    }
}

@media screen and (max-width: 420px) {
    .rs-home-section-head {
        display: block;
    }

    .rs-home-section-head__link {
        margin-top: 11px;
    }

    .rs-home-collection-card {
        flex-basis: 92%;
        width: 92%;
    }

    .rs-home-collection-card__content {
        width: 84%;
    }

    .rs-collections-index__card {
        min-height: 184px;
    }
}

.rs-discovery,
.rs-picker {
    --rsd-ink: #17282d;
    --rsd-muted: #66767b;
    --rsd-teal: #2d9c83;
    --rsd-teal-dark: #20745f;
    --rsd-mint: #eaf8f3;
    --rsd-amber: #efb45e;
    --rsd-surface: #f7faf9;
}

.rs-discovery {
    margin: 2px 0 30px;
    color: var(--rsd-ink);
}

.rs-discovery__head,
.rs-popular-actors__head,
.rs-picker__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.rs-discovery__head {
    margin-bottom: 14px;
}

.rs-discovery__eyebrow,
.rs-discovery-card__label {
    display: block;
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.rs-discovery__head h2,
.rs-picker__head h2 {
    margin: 4px 0 6px;
    color: var(--rsd-ink);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 550;
}

.rs-discovery__head p,
.rs-picker__head p {
    max-width: 620px;
    margin: 0;
    color: var(--rsd-muted);
    font-size: 13px;
    line-height: 1.55;
}

.rs-discovery__date {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(45, 156, 131, .2);
    border-radius: 10px;
    background: var(--rsd-mint);
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-discovery__moods {
    display: flex;
    gap: 8px;
    margin: 0 0 14px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rs-discovery__moods::-webkit-scrollbar {
    display: none;
}

.rs-discovery__moods button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(35, 71, 78, .13);
    border-radius: 999px;
    background: #fff;
    color: #34474c;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
}

.rs-discovery__moods button:hover,
.rs-discovery__moods button:focus-visible {
    border-color: rgba(45, 156, 131, .4);
    background: var(--rsd-mint);
    color: var(--rsd-teal-dark);
    outline: 0;
}

.rs-discovery__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(230px, .82fr);
    gap: 14px;
    align-items: stretch;
}

.rs-discovery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(27, 53, 59, .13);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 47, 52, .07);
}

.rs-discovery-day {
    position: relative;
    min-height: 548px;
    isolation: isolate;
}

.rs-discovery-day__media,
.rs-discovery-day__shade {
    position: absolute;
    inset: 0;
}

.rs-discovery-day__media {
    z-index: -2;
    background: #1a3438;
}

.rs-discovery-day__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    background: #dfe8e5;
    transition: filter .18s ease;
}

.rs-discovery-day__shade {
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(10, 27, 31, .97) 0%, rgba(10, 27, 31, .82) 36%, rgba(10, 27, 31, .25) 76%, rgba(10, 27, 31, .12) 100%),
        linear-gradient(90deg, rgba(10, 27, 31, .38), transparent 70%);
}

.rs-discovery-day__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    min-height: 330px;
    padding: 88px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.rs-discovery-day .rs-discovery-card__label {
    margin-bottom: 9px;
    color: #86e4cb;
}

.rs-discovery-day h3 {
    display: -webkit-box;
    max-width: 520px;
    min-height: 65px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #fff;
    font-size: 29px;
    line-height: 1.12;
    font-weight: 550;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-discovery-day p {
    display: -webkit-box;
    max-width: 560px;
    height: 58px;
    margin: 12px 0 12px;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rs-discovery-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 28px;
}

.rs-discovery-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(17, 42, 47, .56);
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.rs-discovery-card__rating {
    min-height: 21px;
    margin-bottom: 14px;
    color: #f4c779;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 550;
}

.rs-discovery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
}

.rs-discovery-button--light {
    background: #fff;
    color: #17393c;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.rs-discovery-button--light:hover,
.rs-discovery-button--light:focus-visible {
    background: #edf8f4;
    color: #176b59;
    outline: 0;
}

.rs-discovery-button--accent {
    background: var(--rsd-teal);
    color: #fff;
    box-shadow: 0 8px 20px rgba(35, 126, 105, .22);
}

.rs-discovery-button--accent:hover,
.rs-discovery-button--accent:focus-visible {
    background: #268c76;
    color: #fff;
    outline: 0;
}

.rs-discovery-button:disabled {
    opacity: .62;
    cursor: wait;
}

.rs-discovery__stack {
    display: grid;
    grid-template-rows: minmax(154px, auto) minmax(178px, auto) minmax(188px, auto);
    gap: 10px;
}

.rs-picker-launch {
    position: relative;
    display: flex;
    min-height: 154px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 88% 18%, rgba(245, 188, 99, .36), transparent 28%),
        linear-gradient(135deg, #17383d 0%, #205d55 100%);
    color: #fff;
    isolation: isolate;
}

.rs-picker-launch__orb {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #efb45e 0 9%, transparent 10%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, .36) 0 1px, transparent 2px 9px);
}

.rs-picker-launch .rs-discovery-card__label {
    margin-bottom: 5px;
    color: #91e1cd;
}

.rs-picker-launch h3,
.rs-random-card h3,
.rs-actor-day h3 {
    margin: 0;
    font-weight: 550;
}

.rs-picker-launch h3 {
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
}

.rs-picker-launch p {
    display: -webkit-box;
    margin: 7px 0 12px;
    overflow: hidden;
    color: rgba(255, 255, 255, .79);
    font-size: 12px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-picker-launch .rs-discovery-button {
    min-height: 38px;
    padding-inline: 13px;
    background: #efb45e;
    color: #25383b;
    box-shadow: none;
}

.rs-random-card {
    position: relative;
    min-height: 178px;
    isolation: isolate;
}

.rs-random-card__media,
.rs-random-card__media span {
    position: absolute;
    inset: 0;
}

.rs-random-card__media {
    z-index: -2;
    background: #183238;
}

.rs-random-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #dfe8e5;
}

.rs-random-card__media span {
    background: linear-gradient(90deg, rgba(10, 27, 31, .96) 0%, rgba(10, 27, 31, .82) 58%, rgba(10, 27, 31, .42) 100%);
}

.rs-random-card__content {
    display: flex;
    min-height: 178px;
    padding: 17px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.rs-random-card .rs-discovery-card__label {
    margin-bottom: 6px;
    color: #86e4cb;
}

.rs-random-card h3 {
    display: -webkit-box;
    min-height: 39px;
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-random-card .rs-discovery-card__meta {
    margin-top: 8px;
}

.rs-random-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.rs-random-card__actions a,
.rs-random-card__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
}

.rs-random-card__actions button:hover,
.rs-random-card__actions button:focus-visible,
.rs-random-card__actions a:hover,
.rs-random-card__actions a:focus-visible {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    outline: 0;
}

.rs-random-card__actions button:disabled {
    opacity: .65;
    cursor: wait;
}

.rs-actor-day {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 188px;
    background: linear-gradient(145deg, #fff 0%, #f1f8f5 100%);
}

.rs-actor-day__photo {
    display: block;
    min-height: 188px;
    background: #dfe8e5;
}

.rs-actor-day__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.rs-actor-day__content {
    display: flex;
    min-width: 0;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.rs-actor-day .rs-discovery-card__label {
    margin-bottom: 5px;
}

.rs-actor-day h3 {
    display: -webkit-box;
    min-height: 41px;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-actor-day h3 a {
    color: #18383c;
}

.rs-actor-day p {
    display: -webkit-box;
    min-height: 51px;
    margin: 8px 0;
    overflow: hidden;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rs-actor-day__works {
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-popular-actors {
    margin-top: 16px;
    padding: 17px;
    border: 1px solid rgba(27, 53, 59, .11);
    border-radius: 18px;
    background: var(--rsd-surface);
}

.rs-popular-actors__head {
    margin-bottom: 12px;
}

.rs-popular-actors__head h3 {
    margin: 3px 0 0;
    color: var(--rsd-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-popular-actors__head > a {
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-popular-actors__carousel {
    position: relative;
}

.rs-popular-actors__viewport {
    overflow: hidden;
}

.rs-popular-actors__track {
    display: flex;
    gap: 10px;
    min-height: 204px;
    padding: 1px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.rs-popular-actors__track::-webkit-scrollbar {
    display: none;
}

.rs-popular-actor,
.rs-actor-card-skeleton {
    flex: 0 0 calc((100% - 30px) / 4);
    width: calc((100% - 30px) / 4);
    min-width: 0;
    min-height: 202px;
    border-radius: 14px;
    scroll-snap-align: start;
}

.rs-popular-actor {
    overflow: hidden;
    border: 1px solid rgba(28, 56, 61, .12);
    background: #fff;
    color: var(--rsd-ink);
    text-decoration: none;
}

.rs-popular-actor__media {
    display: block;
    height: 148px;
    overflow: hidden;
    background: #dfe8e5;
}

.rs-popular-actor__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: filter .18s ease;
}

.rs-popular-actor__body {
    display: block;
    min-height: 53px;
    padding: 9px 10px;
}

.rs-popular-actor__body strong,
.rs-popular-actor__body span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-popular-actor__body strong {
    color: var(--rsd-ink);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-popular-actor__body span {
    margin-top: 3px;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.3;
}

.rs-popular-actor:hover .rs-popular-actor__media img,
.rs-popular-actor:focus-visible .rs-popular-actor__media img {
    filter: brightness(.92) saturate(1.04);
}

.rs-popular-actor:focus-visible {
    outline: 3px solid rgba(45, 156, 131, .34);
    outline-offset: 2px;
}

.rs-actor-card-skeleton {
    background:
        linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .52) 48%, transparent 66%) 0 0 / 220% 100%,
        #e6eeeb;
    animation: rs-discovery-skeleton 1.6s linear infinite;
}

.rs-popular-actors__arrow {
    position: absolute;
    top: 70px;
    z-index: 4;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(28, 56, 61, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    color: var(--rsd-ink);
    font-size: 23px;
    line-height: 1;
    font-weight: 500;
    box-shadow: 0 5px 16px rgba(25, 47, 52, .11);
    cursor: pointer;
}

.rs-popular-actors__arrow--prev {
    left: -11px;
}

.rs-popular-actors__arrow--next {
    right: -11px;
}

.rs-popular-actors__arrow:hover,
.rs-popular-actors__arrow:focus-visible {
    border-color: rgba(45, 156, 131, .42);
    background: var(--rsd-mint);
    color: var(--rsd-teal-dark);
    outline: 0;
}

.rs-discovery__status {
    min-height: 0;
    margin-top: 10px;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.4;
}

.rs-discovery__status.is-error {
    min-height: 38px;
    padding: 10px 12px;
    border: 1px solid rgba(176, 93, 69, .2);
    border-radius: 10px;
    background: #fff6f2;
    color: #8b4d3d;
}

.rs-discovery-card.is-loading img {
    opacity: .28;
}

.rs-picker[hidden] {
    display: none;
}

.rs-picker {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.rs-picker.is-open {
    opacity: 1;
    visibility: visible;
}

.rs-picker__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 24, 28, .72);
    backdrop-filter: blur(6px);
}

.rs-picker__dialog {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
    outline: 0;
}

.rs-picker__head {
    position: sticky;
    top: 0;
    z-index: 5;
    align-items: flex-start;
    padding: 21px 22px 17px;
    border-bottom: 1px solid rgba(27, 53, 59, .1);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(9px);
}

.rs-picker__head h2 {
    font-size: 25px;
}

.rs-picker__close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(27, 53, 59, .12);
    border-radius: 11px;
    background: #f1f7f5;
    color: #274248;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
}

.rs-picker__close:hover,
.rs-picker__close:focus-visible {
    border-color: rgba(45, 156, 131, .38);
    background: var(--rsd-mint);
    color: var(--rsd-teal-dark);
    outline: 0;
}

.rs-picker__form {
    padding: 20px 22px 8px;
}

.rs-picker__group {
    min-width: 0;
    margin: 0 0 17px;
    padding: 0;
    border: 0;
}

.rs-picker__group legend {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 9px;
    color: #21363b;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-picker__group legend span {
    display: inline-grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 8px;
    background: var(--rsd-mint);
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 550;
}

.rs-picker__options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rs-picker__options button {
    min-height: 37px;
    padding: 0 12px;
    border: 1px solid rgba(27, 53, 59, .13);
    border-radius: 10px;
    background: #f8faf9;
    color: #35484d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
}

.rs-picker__options button:hover,
.rs-picker__options button:focus-visible {
    border-color: rgba(45, 156, 131, .38);
    background: #edf8f4;
    color: var(--rsd-teal-dark);
    outline: 0;
}

.rs-picker__options button.is-selected {
    border-color: var(--rsd-teal);
    background: var(--rsd-teal);
    color: #fff;
    box-shadow: 0 6px 16px rgba(35, 126, 105, .18);
}

.rs-picker__options--collections {
    max-height: 126px;
    overflow: auto;
    padding-right: 4px;
}

.rs-picker__loading {
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.4;
}

.rs-picker__two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rs-picker__submit-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 3px 0 12px;
}

.rs-picker__reset {
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.rs-picker-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-height: 142px;
    padding: 17px 22px 20px;
    border-top: 1px solid rgba(27, 53, 59, .09);
    background: #f5f9f7;
}

.rs-picker-results__empty {
    grid-column: 1 / -1;
    display: flex;
    min-height: 108px;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(45, 156, 131, .28);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.rs-picker-results__empty strong {
    color: var(--rsd-ink);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-picker-results__empty span {
    margin-top: 5px;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.rs-picker-result {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(27, 53, 59, .11);
    border-radius: 14px;
    background: #fff;
}

.rs-picker-result__media {
    display: block;
    min-height: 210px;
    background: #dfe8e5;
}

.rs-picker-result__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.rs-picker-result__body {
    display: flex;
    min-width: 0;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
}

.rs-picker-result h3 {
    display: -webkit-box;
    margin: 0 0 7px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 550;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-picker-result h3 a {
    color: var(--rsd-ink);
}

.rs-picker-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.rs-picker-result__meta span {
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.3;
}

.rs-picker-result__meta span:not(:last-child)::after {
    content: "•";
    margin-left: 4px;
}

.rs-picker-result__reason-label {
    display: block;
    margin-top: 10px;
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-picker-result p {
    display: -webkit-box;
    margin: 3px 0 7px;
    overflow: hidden;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rs-picker-result__rating {
    margin-top: auto;
    color: #946725;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-picker-result__action {
    margin-top: 7px;
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
}

.rs-picker__more {
    padding: 0 22px 20px;
    background: #f5f9f7;
    text-align: center;
}

.rs-picker__more button {
    min-height: 39px;
    padding: 0 14px;
    border: 1px solid rgba(45, 156, 131, .28);
    border-radius: 10px;
    background: #fff;
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    cursor: pointer;
}

.rs-picker__more button:hover,
.rs-picker__more button:focus-visible {
    background: var(--rsd-mint);
    outline: 0;
}

body.rs-picker-open {
    overflow: hidden;
}

@keyframes rs-discovery-skeleton {
    from { background-position: 180% 0, 0 0; }
    to { background-position: -40% 0, 0 0; }
}

@media screen and (max-width: 1100px) {
    .rs-discovery__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(220px, .85fr);
    }

    .rs-discovery-day {
        min-height: 530px;
    }

    .rs-discovery-day h3 {
        font-size: 27px;
    }

    .rs-popular-actor,
    .rs-actor-card-skeleton {
        flex-basis: calc((100% - 20px) / 3);
        width: calc((100% - 20px) / 3);
    }

    .rs-picker-results {
        grid-template-columns: 1fr;
    }

    .rs-picker-result {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 190px;
    }

    .rs-picker-result__media {
        min-height: 190px;
    }
}

@media screen and (max-width: 959px) {
    .rs-discovery__grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(250px, .85fr);
    }

    .rs-discovery-day {
        min-height: 540px;
    }
}

@media screen and (max-width: 759px) {
    .rs-discovery {
        margin-bottom: 25px;
    }

    .rs-discovery__head {
        align-items: flex-start;
    }

    .rs-discovery__head h2 {
        font-size: 23px;
    }

    .rs-discovery__head p {
        font-size: 12px;
    }

    .rs-discovery__date {
        display: none;
    }

    .rs-discovery__grid {
        grid-template-columns: 1fr;
    }

    .rs-discovery-day {
        min-height: 515px;
    }

    .rs-discovery-day__content {
        min-height: 325px;
        padding: 84px 18px 18px;
    }

    .rs-discovery-day h3 {
        font-size: 24px;
    }

    .rs-discovery__stack {
        grid-template-rows: auto;
    }

    .rs-picker-launch,
    .rs-random-card,
    .rs-random-card__content {
        min-height: 178px;
    }

    .rs-actor-day,
    .rs-actor-day__photo {
        min-height: 194px;
    }

    .rs-popular-actors {
        padding: 15px;
    }

    .rs-popular-actors__head {
        align-items: flex-start;
    }

    .rs-popular-actors__head h3 {
        font-size: 18px;
    }

    .rs-popular-actor,
    .rs-actor-card-skeleton {
        flex-basis: 42%;
        width: 42%;
    }

    .rs-popular-actors__arrow {
        display: none;
    }

    .rs-picker {
        align-items: end;
        padding: 0;
    }

    .rs-picker__dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
    }

    .rs-picker__head {
        padding: 17px 16px 14px;
    }

    .rs-picker__head h2 {
        font-size: 22px;
    }

    .rs-picker__form {
        padding: 17px 16px 7px;
    }

    .rs-picker__two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rs-picker__options {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .rs-picker__options::-webkit-scrollbar {
        display: none;
    }

    .rs-picker__options--collections {
        max-height: none;
    }

    .rs-picker-results {
        grid-template-columns: 1fr;
        padding: 15px 16px 17px;
    }

    .rs-picker-result {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .rs-picker__more {
        padding: 0 16px 18px;
    }
}

@media screen and (max-width: 420px) {
    .rs-discovery__moods button {
        min-height: 35px;
        padding-inline: 11px;
    }

    .rs-discovery-day {
        min-height: 492px;
    }

    .rs-discovery-day__content {
        min-height: 315px;
        padding: 78px 16px 16px;
    }

    .rs-discovery-day h3 {
        font-size: 22px;
    }

    .rs-discovery-day p {
        -webkit-line-clamp: 2;
    }

    .rs-actor-day {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .rs-popular-actor,
    .rs-actor-card-skeleton {
        flex-basis: 48%;
        width: 48%;
    }

    .rs-picker__submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .rs-picker__reset {
        align-self: center;
    }

    .rs-picker-result {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-picker,
    .rs-discovery-day__media img,
    .rs-popular-actor__media img,
    .rs-popular-actors__track {
        scroll-behavior: auto;
        transition: none;
    }

    .rs-actor-card-skeleton {
        animation: none;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] {
    margin-top: 0;
    margin-bottom: 22px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head {
    margin-bottom: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head h2 {
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: 25px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head p {
    max-width: 560px;
    line-height: 1.42;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__date {
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods {
    gap: 7px;
    margin-bottom: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button {
    min-height: 32px;
    padding-inline: 11px;
    border-radius: 9px;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        color .15s ease,
        box-shadow .15s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button:focus-visible {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(45, 156, 131, .15);
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(222px, .78fr);
    gap: 11px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-card {
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(25, 47, 52, .06);
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
    min-height: 432px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__content {
    min-height: 272px;
    padding: 68px 20px 20px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day h3 {
    min-height: 54px;
    margin-bottom: 8px;
    font-size: 26px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day p {
    height: 42px;
    margin: 9px 0 9px;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-card__meta {
    min-height: 25px;
    gap: 5px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-card__meta span {
    min-height: 24px;
    padding-inline: 8px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-card__rating {
    margin-bottom: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-button {
    min-height: 37px;
    padding-inline: 13px;
    border-radius: 9px;
    transition:
        background-color .15s ease,
        color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-button:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-button:focus-visible,
.rs-picker .rs-discovery-button:hover,
.rs-picker .rs-discovery-button:focus-visible {
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
    grid-template-rows: 122px 142px 148px;
    gap: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch {
    min-height: 122px;
    padding: 14px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch__orb {
    top: 12px;
    right: 12px;
    width: 43px;
    height: 43px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch h3 {
    font-size: 19px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch p {
    margin: 5px 0 8px;
    -webkit-line-clamp: 1;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button {
    min-height: 33px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content {
    min-height: 142px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content {
    padding: 13px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3 {
    min-height: 34px;
    font-size: 16px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card .rs-discovery-card__meta {
    margin-top: 6px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions {
    margin-top: 7px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button {
    min-height: 30px;
    padding-inline: 9px;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a:focus-visible,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button:focus-visible {
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 148px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__photo {
    min-height: 148px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__content {
    padding: 12px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day h3 {
    font-size: 16px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day p {
    margin: 6px 0;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors {
    margin-top: 11px;
    padding: 12px;
    border-radius: 15px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head {
    margin-bottom: 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head h3 {
    font-size: 19px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__track {
    gap: 8px;
    min-height: 170px;
    padding: 0 1px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
    flex-basis: calc((100% - 24px) / 4);
    width: calc((100% - 24px) / 4);
    min-height: 168px;
    border-radius: 11px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__media {
    aspect-ratio: 1 / 1.02;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body {
    padding: 8px 9px 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body strong {
    font-size: 12px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow--prev {
    left: 7px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow--next {
    right: 7px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:focus-visible,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:active {
    transform: translateY(-50%);
}

.rs-picker .rs-picker__options button {
    position: relative;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(27, 53, 59, .14);
    border-radius: 9px;
    background: #f7faf9;
    color: #35484d;
    box-shadow: none;
    transition:
        background-color .14s ease,
        border-color .14s ease,
        color .14s ease,
        box-shadow .14s ease;
}

.rs-picker .rs-picker__options button:hover,
.rs-picker .rs-picker__options button:focus-visible {
    transform: none;
    border-color: rgba(45, 156, 131, .45);
    background: #eef8f5;
    color: #236e5e;
    box-shadow: inset 0 0 0 1px rgba(45, 156, 131, .08);
}

.rs-picker .rs-picker__options button.is-selected {
    padding-right: 31px;
    border-color: #227a65;
    background: #257e69;
    color: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .18),
        0 4px 12px rgba(32, 116, 95, .16);
}

.rs-picker .rs-picker__options button.is-selected::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 550;
}

.rs-picker .rs-picker__submit-row {
    flex-wrap: wrap;
}

.rs-picker .rs-picker__selection {
    flex: 1 1 100%;
    color: #63767b;
    font-size: 12px;
    line-height: 1.4;
}

.rs-picker .rs-picker__reset:hover,
.rs-picker .rs-picker__reset:focus-visible,
.rs-picker .rs-picker__more button:hover,
.rs-picker .rs-picker__more button:focus-visible,
.rs-picker .rs-picker__close:hover,
.rs-picker .rs-picker__close:focus-visible {
    transform: none;
}

.rs-picker .rs-picker-results {
    scroll-margin-top: 82px;
}

.rs-discovery[data-rs-discovery-version="1.1"][data-rs-ready="cached"]::before {
    content: "";
    display: none;
}

@media screen and (max-width: 1100px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(220px, .8fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        min-height: 426px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
    }
}

@media screen and (max-width: 759px) {
    .rs-discovery[data-rs-discovery-version="1.1"] {
        margin-bottom: 20px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head {
        margin-bottom: 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head h2 {
        font-size: 22px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods {
        margin-right: -8px;
        margin-bottom: 9px;
        padding-right: 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__grid {
        display: block;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        min-height: 408px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__content {
        min-height: 255px;
        padding: 58px 16px 16px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day h3 {
        min-height: 48px;
        font-size: 22px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day p {
        height: 39px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        display: flex;
        gap: 9px;
        margin-top: 10px;
        padding: 1px 1px 4px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack::-webkit-scrollbar {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > * {
        flex: 0 0 84%;
        width: 84%;
        min-height: 142px;
        scroll-snap-align: start;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__photo {
        min-height: 142px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors {
        margin-top: 10px;
        padding: 11px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: 43%;
        width: 43%;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow {
        display: none;
    }

    .rs-picker .rs-picker__form {
        padding-top: 14px;
    }

    .rs-picker .rs-picker__group {
        margin-bottom: 14px;
    }

    .rs-picker .rs-picker__options button {
        flex: 0 0 auto;
    }

    .rs-picker .rs-picker__selection {
        text-align: center;
    }
}

@media screen and (max-width: 420px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        min-height: 388px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__content {
        min-height: 245px;
        padding-top: 50px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > * {
        flex-basis: 88%;
        width: 88%;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: 47%;
        width: 47%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-discovery[data-rs-discovery-version="1.1"] *,
    .rs-picker * {
        scroll-behavior: auto;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__carousel {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__viewport {
    position: relative;
    z-index: 1;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow {
    z-index: 50;
    pointer-events: auto;
    touch-action: manipulation;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow > * {
    pointer-events: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] {
    container-name: rs-discovery;
    container-type: inline-size;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head {
    position: relative;
    align-items: center;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head-actions > a {
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 2;
    width: 34px;
    height: 34px;
    min-height: 34px;
    transform: none;
    border-radius: 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:focus-visible {
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__arrow:disabled {
    opacity: .38;
    cursor: default;
}

@container rs-discovery (max-width: 760px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__grid {
        display: block;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        min-height: 378px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__content {
        min-height: 242px;
        padding: 54px 18px 18px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day h3 {
        min-height: 50px;
        font-size: 24px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day p {
        height: 39px;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 148px;
        gap: 8px;
        margin-top: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > *,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__photo {
        min-height: 148px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch {
        padding: 13px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch__orb {
        top: 11px;
        right: 11px;
        width: 40px;
        height: 40px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch h3 {
        max-width: 140px;
        font-size: 17px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch p {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button {
        min-height: 34px;
        margin-top: 9px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content {
        padding: 13px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3 {
        min-height: 36px;
        font-size: 15px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card .rs-discovery-card__meta {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions {
        gap: 5px;
        margin-top: 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button {
        min-height: 31px;
        padding-inline: 7px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__content {
        padding: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day h3 {
        min-height: 36px;
        font-size: 15px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day p {
        min-height: 34px;
        margin: 6px 0;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__works {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors {
        margin-top: 11px;
        padding: 13px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: calc((100% - 18px) / 3);
        width: calc((100% - 18px) / 3);
    }
}

@container rs-discovery (max-width: 520px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head {
        align-items: flex-start;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__head h2 {
        font-size: 22px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__date {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        min-height: 388px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        display: flex;
        gap: 9px;
        padding: 1px 1px 4px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack::-webkit-scrollbar {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > * {
        flex: 0 0 86%;
        width: 86%;
        scroll-snap-align: start;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head {
        align-items: flex-end;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head-actions > a {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: 47%;
        width: 47%;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__track {
    align-items: stretch;
    gap: 9px;
    min-height: 252px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
    flex: 0 0 calc((100% - 27px) / 4);
    width: calc((100% - 27px) / 4);
    min-width: 0;
    min-height: 250px;
    border-radius: 12px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor {
    display: grid;
    grid-template-rows: auto minmax(66px, 1fr);
    align-self: stretch;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #dfe8e5;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body {
    display: flex;
    min-width: 0;
    min-height: 66px;
    flex-direction: column;
    padding: 8px 9px 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body strong {
    display: -webkit-box;
    min-height: 34px;
    overflow: hidden;
    color: var(--rsd-ink);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 550;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body span {
    display: block;
    margin-top: auto;
    overflow: hidden;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container rs-discovery (max-width: 520px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__track {
        min-height: 238px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex-basis: 47%;
        width: 47%;
        min-height: 236px;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods-shell {
    position: relative;
    min-width: 0;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__scroll-cue {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: var(--rsd-teal-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__scroll-cue span {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: clip;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button {
    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors {
    position: relative;
    margin-top: 10px;
    padding: 11px 12px 12px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 96% 6%,
            rgba(45, 156, 131, .07),
            transparent 31%
        ),
        var(--rsd-surface);
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head {
    margin-bottom: 9px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__head h3 {
    font-size: 19px;
    line-height: 1.18;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__track {
    gap: 8px;
    min-height: 188px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
    flex: 0 0 calc((100% - 32px) / 5);
    width: calc((100% - 32px) / 5);
    min-width: 0;
    min-height: 186px;
    border-radius: 10px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor {
    display: grid;
    grid-template-rows: auto minmax(54px, 1fr);
    align-self: stretch;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor:focus-within {
    border-color: rgba(45, 156, 131, .32);
    background: #fbfefd;
    box-shadow: 0 7px 18px rgba(25, 47, 52, .08);
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #dfe8e5;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body {
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    padding: 6px 7px 7px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body strong {
    display: -webkit-box;
    min-height: 31px;
    overflow: hidden;
    color: var(--rsd-ink);
    font-size: 12px;
    line-height: 1.28;
    font-weight: 550;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body span {
    display: block;
    margin-top: auto;
    overflow: hidden;
    color: var(--rsd-muted);
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@container rs-discovery (max-width: 760px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        grid-template-rows: 150px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > *,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__photo {
        min-height: 150px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content {
        padding: 11px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch__orb {
        width: 36px;
        height: 36px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch h3,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day h3 {
        font-size: 15px;
        line-height: 1.2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3 {
        min-height: 36px;
        margin-top: 3px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions {
        margin-top: 7px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions a,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions button {
        min-height: 30px;
        padding-inline: 7px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__content {
        padding: 9px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day p {
        margin: 5px 0;
    }
}

@container rs-discovery (max-width: 520px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods-shell::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 2px;
        width: 35px;
        content: "";
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, .96)
        );
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods {
        margin-bottom: 3px;
        padding-right: 34px;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button {
        scroll-snap-align: start;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__scroll-cue {
        display: flex;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__scroll-cue--moods {
        margin: 0 2px 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__scroll-cue--cards {
        margin: 8px 2px 4px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        position: relative;
        min-height: 150px;
        margin-top: 0;
        padding-right: 28px;
        -webkit-mask-image: linear-gradient(
            90deg,
            #000 0,
            #000 calc(100% - 26px),
            transparent 100%
        );
        mask-image: linear-gradient(
            90deg,
            #000 0,
            #000 calc(100% - 26px),
            transparent 100%
        );
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack > * {
        flex-basis: 84%;
        width: 84%;
        min-height: 150px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions {
        padding-top: 6px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors {
        margin-top: 10px;
        padding: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actors__track {
        min-height: 190px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor,
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-card-skeleton {
        flex: 0 0 clamp(132px, 40%, 154px);
        width: clamp(132px, 40%, 154px);
        min-height: 186px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-popular-actor__body {
        min-height: 54px;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
    overflow: hidden;
    touch-action: pan-y;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day:focus-visible {
    outline: 2px solid rgba(45, 156, 131, .78);
    outline-offset: 3px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__media img {
    transition:
        opacity .2s ease,
        filter .2s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day.is-hero-changing
.rs-discovery-day__media img {
    opacity: .56;
    filter: saturate(.82);
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__content > * {
    transition: opacity .18s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day.is-hero-changing
.rs-discovery-day__content > * {
    opacity: .66;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 13px;
    background: rgba(8, 25, 29, .52);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    backdrop-filter: blur(9px);
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    color: #17383d;
    font-size: 12px;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__button:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__button:focus-visible {
    border-color: rgba(255, 255, 255, .72);
    background: #fff;
    color: #0e6d60;
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__button > * {
    pointer-events: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__progress {
    display: flex;
    min-width: 66px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__count {
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__count strong {
    font-size: 12px;
    font-weight: 550;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot {
    position: relative;
    width: 16px;
    height: 10px;
    min-height: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 99px;
    content: "";
    background: rgba(255, 255, 255, .43);
    transform: translate(-50%, -50%);
    transition:
        width .18s ease,
        background-color .18s ease;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot.is-active::after {
    width: 13px;
    background: #86e4cb;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot:hover,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot:focus-visible {
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch {
    justify-content: flex-start;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch
.rs-discovery-card__label {
    margin-top: 0;
    margin-bottom: 2px;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch h3 {
    margin-top: 0;
}

@container rs-discovery (max-width: 760px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch {
        padding-top: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch
    .rs-discovery-button {
        margin-top: 6px;
    }
}

@container rs-discovery (max-width: 520px) {
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav {
        top: 10px;
        right: 10px;
        gap: 4px;
        padding: 4px;
        border-radius: 11px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__button {
        width: 31px;
        height: 31px;
        min-height: 31px;
        border-radius: 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__progress {
        min-width: 58px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"] .rs-hero-nav__dot {
        width: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery-day__media img,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery-day__content > * {
        transition: none;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__media,
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__media img {
    -webkit-user-select: none;
    user-select: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day__media img {
    -webkit-user-drag: none;
}

.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day.is-hero-dragging {
    cursor: grabbing;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery-day[data-rs-hero-dragging="1"] {
    cursor: grabbing;
}

.items:has(> .rs-catalog-card) {
    container-name: rs-catalog-grid;
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
    width: 100%;
    margin: 0;
    align-items: stretch;
}

.items:has(> .rs-catalog-card) > :not(.rs-catalog-card) {
    min-width: 0;
    grid-column: 1 / -1;
}

.rs-catalog-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #dce7e4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28, 48, 52, .07);
    color: #162326;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.rs-catalog-card:hover,
.rs-catalog-card:focus-within {
    border-color: rgba(45, 156, 131, .42);
    background: #fcfefd;
    box-shadow: 0 11px 27px rgba(28, 48, 52, .11);
    transform: none;
}

.rs-catalog-card__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #dfe7e5;
}

.rs-catalog-card__poster {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: inherit;
}

.rs-catalog-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    background: #dfe7e5;
    transition:
        filter .18s ease,
        opacity .18s ease;
}

.rs-catalog-card:hover .rs-catalog-card__poster img,
.rs-catalog-card:focus-within .rs-catalog-card__poster img {
    filter: brightness(.8) saturate(.94);
}

.rs-catalog-card__shade {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(7, 19, 23, 0),
        rgba(7, 19, 23, .56)
    );
}

.rs-catalog-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #183a3f;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition:
        opacity .18s ease,
        background-color .18s ease,
        color .18s ease;
}

.rs-catalog-card__play .fa {
    padding-left: 2px;
    font-size: 15px;
}

.rs-catalog-card:hover .rs-catalog-card__play,
.rs-catalog-card:focus-within .rs-catalog-card__play {
    opacity: 1;
}

.rs-catalog-card__top-badges {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: flex;
    max-width: calc(100% - 58px);
    flex-wrap: wrap;
    gap: 5px;
    pointer-events: none;
}

.rs-catalog-card__badge {
    display: inline-flex;
    min-height: 25px;
    padding: 5px 7px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 550;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
    backdrop-filter: blur(7px);
}

.rs-catalog-card__badge--age {
    background: rgba(196, 54, 48, .92);
}

.rs-catalog-card__badge--episode {
    background: rgba(237, 185, 57, .96);
    color: #20231f;
}

.rs-catalog-card__favorite {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    display: inline-flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    color: #173b40;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .13);
    cursor: pointer;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease;
}

.rs-catalog-card__favorite:hover,
.rs-catalog-card__favorite:focus-within {
    border-color: #4eb59c;
    background: #4eb59c;
    color: #fff;
    transform: none;
}

.rs-catalog-card__favorite .fa {
    font-size: 14px;
    line-height: 1;
    color: inherit;
    transform: none;
}

.rs-catalog-card__body {
    display: grid;
    min-width: 0;
    min-height: 184px;
    grid-template-rows:
        18px
        40px
        17px
        32px
        minmax(39px, auto);
    row-gap: 4px;
    padding: 10px 10px 11px;
}

.rs-catalog-card__meta {
    display: flex;
    min-width: 0;
    height: 18px;
    align-items: center;
    overflow: hidden;
    color: #54736e;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
}

.rs-catalog-card__meta-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__meta-item + .rs-catalog-card__meta-item::before {
    margin: 0 5px;
    color: #9aa9a6;
    content: "•";
    flex: 0 0 auto;
}

.rs-catalog-card__meta-item--year {
    flex: 0 0 auto;
}

.rs-catalog-card__meta-item--type {
    flex: 0 1 auto;
}

.rs-catalog-card__meta-item--channel {
    flex: 1 1 auto;
}

.rs-catalog-card__title {
    display: -webkit-box;
    min-width: 0;
    height: 40px;
    overflow: hidden;
    align-self: start;
    color: #152326;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 550;
    text-decoration: none;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-catalog-card__title:hover,
.rs-catalog-card__title:focus-visible {
    color: #157765;
}

.rs-catalog-card__genre {
    display: block;
    min-width: 0;
    height: 17px;
    overflow: hidden;
    color: #687b77;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__genre a {
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.rs-catalog-card__genre a:hover,
.rs-catalog-card__genre a:focus-visible {
    color: #157765;
}

.rs-catalog-card__description {
    display: -webkit-box;
    min-width: 0;
    height: 32px;
    overflow: hidden;
    color: #596b67;
    font-size: 12px;
    line-height: 1.34;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-catalog-card__description > *,
.rs-catalog-card__description p {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 400;
}

.rs-catalog-card__description br {
    display: none;
}

.rs-catalog-card__footer {
    display: flex;
    min-width: 0;
    min-height: 39px;
    padding-top: 6px;
    align-self: end;
    align-items: end;
    justify-content: space-between;
    gap: 7px;
    overflow: hidden;
    border-top: 1px solid #edf1f0;
}

.rs-catalog-card__rating {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.rs-catalog-card__rating strong {
    color: #d09018;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 550;
}

.rs-catalog-card__rating strong span {
    font-size: 12px;
    font-weight: 500;
}

.rs-catalog-card__rating small {
    overflow: hidden;
    color: #7b8a87;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__watch {
    display: inline-flex;
    min-width: 0;
    min-height: 33px;
    padding: 7px 9px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    border: 1px solid #c8ded8;
    border-radius: 9px;
    background: #edf7f4;
    color: #176e60;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease;
}

.rs-catalog-card__watch span {
    font-size: 12px;
    font-weight: 550;
}

.rs-catalog-card__watch:hover,
.rs-catalog-card__watch:focus-visible {
    border-color: #4eb59c;
    background: #4eb59c;
    color: #fff;
    transform: none;
}

.bottom-nav {
    display: block;
    width: 100%;
    padding: 28px 0 18px;
    line-height: normal;
    text-align: center;
}

.bottom-nav .pagi-load {
    display: flex;
    width: 100%;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.bottom-nav .pagi-load > span {
    display: none;
}

.bottom-nav .pagi-load + .pagi-nav {
    margin-top: 16px;
}

.bottom-nav .pagi-nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
}

.bottom-nav .pagi-nav > span {
    display: flex;
    min-width: 0;
    align-items: center;
}

.bottom-nav .navigation {
    display: flex;
    min-width: 0;
    max-width: calc(100% - 84px);
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    text-align: center;
}

.bottom-nav .pprev,
.bottom-nav .pnext {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
}

.bottom-nav .navigation a,
.bottom-nav .navigation span,
.bottom-nav .pnext a,
.bottom-nav .pprev a,
.bottom-nav .pprev > span,
.bottom-nav .pnext > span {
    display: inline-flex;
    width: auto;
    min-width: 36px;
    height: 36px;
    margin: 0;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe8e6;
    border-radius: 9px;
    background: #fff;
    color: #31413f;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    box-shadow: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease;
}

.bottom-nav .navigation a:hover,
.bottom-nav .pnext a:hover,
.bottom-nav .pprev a:hover,
.bottom-nav .navigation a:focus-visible,
.bottom-nav .pnext a:focus-visible,
.bottom-nav .pprev a:focus-visible {
    border-color: #4eb59c;
    background: #4eb59c;
    color: #fff;
    transform: none;
}

.bottom-nav .navigation span,
.bottom-nav .navigation .current,
.bottom-nav .navigation .active {
    border-color: #4eb59c;
    background: #4eb59c;
    color: #fff;
}

.bottom-nav .navigation span.nav_ext {
    border-color: #dfe8e6;
    background: #fff;
    color: #71817e;
}

.bottom-nav .pprev > span,
.bottom-nav .pnext > span {
    border-color: #e5ebea;
    background: #f5f7f7;
    color: #a6b0ae;
    opacity: 1;
}

@media (max-width: 760px) {
    .items:has(> .rs-catalog-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px 9px;
    }

    .bottom-nav {
        padding-top: 23px;
    }

    .bottom-nav .pagi-nav {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 7px;
        align-items: center;
    }

    .bottom-nav .pprev {
        grid-column: 1;
    }

    .bottom-nav .navigation {
        grid-column: 2;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 6px;
    }

    .bottom-nav .pnext {
        grid-column: 3;
    }

    .bottom-nav .navigation a,
    .bottom-nav .navigation span,
    .bottom-nav .pnext a,
    .bottom-nav .pprev a,
    .bottom-nav .pprev > span,
    .bottom-nav .pnext > span {
        min-width: 34px;
        height: 34px;
        padding-inline: 7px;
    }
}

@container rs-catalog-grid (max-width: 590px) {
    .rs-catalog-card {
        border-radius: 12px;
    }

    .rs-catalog-card__body {
        min-height: 118px;
        grid-template-rows:
            17px
            38px
            17px
            minmax(38px, auto);
        row-gap: 3px;
        padding: 8px 8px 9px;
    }

    .rs-catalog-card__meta {
        height: 17px;
    }

    .rs-catalog-card__meta-item--channel {
        display: none;
    }

    .rs-catalog-card__title {
        height: 38px;
        font-size: 14px;
    }

    .rs-catalog-card__genre {
        height: 17px;
    }

    .rs-catalog-card__description {
        display: none;
    }

    .rs-catalog-card__footer {
        min-height: 38px;
        padding-top: 5px;
    }

    .rs-catalog-card__rating small {
        display: none;
    }

    .rs-catalog-card__watch {
        min-height: 32px;
        padding-inline: 8px;
    }

    .rs-catalog-card__play {
        display: none;
    }
}

@media (max-width: 360px) {
    .items:has(> .rs-catalog-card) {
        gap: 9px 7px;
    }

    .bottom-nav .pagi-nav {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 5px;
    }

    .bottom-nav .navigation {
        gap: 5px;
    }
}

@container rs-catalog-grid (max-width: 340px) {
    .rs-catalog-card__body {
        padding-inline: 7px;
    }

    .rs-catalog-card__meta-item + .rs-catalog-card__meta-item::before {
        margin-inline: 4px;
    }

    .rs-catalog-card__watch {
        padding-inline: 7px;
    }
}

/* FILTER XFIELD
----------------------------------------------- */

.filter-box, .filter-box * {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

.filter-box {}

.filt-item {margin-bottom: 15px;}

.filt-capt {margin-bottom:10px; font-weight: 500;}

.filt-sel select {width:100%;}

.filt-submit {width: 100%; margin-top: 20px;}

.filt-submit input[type="button"] {display:inline-block; text-align:center; margin-top: 10px; 
border-radius: 4px; padding: 0; width: 47%;}

.filter-box a {text-decoration: none;}

.filt-label {display: block; position: relative; cursor: pointer; margin-bottom: 15px;}

.filt-label input {visibility: hidden; position: absolute;}

.filt-label > span {font-weight: 500; display: inline-block;}

.filt-label > span:before {content: ''; width: 20px; height: 20px; border-radius: 3px; 
border: 1px solid #111; background-color: #333333; display: inline-block; margin-right: 15px; position: relative; top: 6px;}

.filt-label input:checked + span:before {background-color: ##8c45c5; box-shadow: inset 0 0 0 5px #fff;}

/*!
Chosen by Patrick Filler for Harvest, http://getharvest.com Version 1.5.1
*/

/* @group Base */

/* @group Single Chosen */

/* @group Results */

/* @group Multi Chosen */

/* @group Active  */

/* @group Disabled Support */

/* @group Right to Left */

/* Ion.RangeSlider css version 2.0.3 Denis Ineshin | IonDen.com */

/* Ion.RangeSlider, Nice Skin */

/* Keep the metadata useful and uncluttered on narrow three-column cards. */

.rs-catalog-card__meta-item--channel {
    display: none;
}

.rs-catalog-card__meta-item--type {
    flex: 1 1 auto;
}

/* Slightly stronger contrast for the quiet editorial information. */

.rs-catalog-card__meta {
    color: #45645e;
}

.rs-catalog-card__genre {
    color: #536964;
}

.rs-catalog-card__description {
    color: #4b605b;
}

.rs-catalog-card__rating small {
    color: #657a75;
}

.rs-catalog-card__footer {
    border-top-color: #dfe9e6;
}

.rs-catalog-card__watch {
    border-color: #bdd8d1;
    background: #f0f8f6;
}

/* Smaller desktop control; mobile control is removed to avoid card overlap. */

#gotop {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 16px;
    font-size: 16px;
    line-height: 42px;
}

@media screen and (max-width: 760px) {
    #gotop {
        display: none;
    }
}

/* Title is the first information users need after the poster. */

.rs-catalog-card__body {
    min-height: 174px;
    grid-template-rows:
        40px
        18px
        48px
        minmax(39px, auto);
    row-gap: 3px;
    padding: 9px 10px 10px;
}

.rs-catalog-card__title {
    height: 40px;
    margin: 0;
    align-self: start;
}

.rs-catalog-card__meta {
    height: 18px;
    margin: 0;
    color: #47635e;
}

.rs-catalog-card__meta-item--year {
    flex: 0 0 auto;
}

.rs-catalog-card__meta-item--type {
    flex: 0 1 auto;
}

.rs-catalog-card__meta-item--genre {
    min-width: 0;
    flex: 1 1 auto;
}

.rs-catalog-card__meta-item--genre a {
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__meta-item--genre a:hover,
.rs-catalog-card__meta-item--genre a:focus-visible {
    color: #157765;
}

.rs-catalog-card__description {
    height: 48px;
    color: #4d615d;
    -webkit-line-clamp: 3;
}

.rs-catalog-card__footer {
    min-height: 39px;
    padding-top: 5px;
    border-top-color: #dfe9e6;
}

.rs-catalog-card__rating strong {
    display: inline-flex;
    align-items: center;
}

.rs-catalog-card__rating-icon {
    display: inline-block;
    margin-right: 4px;
    color: #d09018;
    font-size: 13px;
    line-height: 1;
    font-weight: 550;
}

.rs-catalog-card__rating small {
    color: #657a75;
}

/* Restored third-party movie ad with reserved space to protect CLS. */

.rs-movie-video-ad {
    display: flex;
    width: 100%;
    min-height: 250px;
    margin: 20px 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2ebe8;
    border-radius: 12px;
    background: #f6f9f8;
    contain: layout paint;
}

.rs-movie-video-ad #movie_video {
    width: 100%;
    min-height: 250px;
}

.rs-movie-video-ad iframe,
.rs-movie-video-ad video,
.rs-movie-video-ad object,
.rs-movie-video-ad embed {
    display: block;
    max-width: 100%;
}

/* Two-column mobile card: title, concise year+genre line, footer. */

@container rs-catalog-grid (max-width: 590px) {
    .rs-catalog-card__body {
        min-height: 107px;
        grid-template-rows:
            36px
            17px
            minmax(38px, auto);
        row-gap: 2px;
        padding: 7px 8px 8px;
    }

    .rs-catalog-card__title {
        height: 36px;
        font-size: 14px;
        line-height: 1.28;
    }

    .rs-catalog-card__meta {
        height: 17px;
    }

    .rs-catalog-card__meta-item--type {
        display: none;
    }

    .rs-catalog-card__description {
        display: none;
    }

    .rs-catalog-card__footer {
        min-height: 38px;
        padding-top: 4px;
    }

    .rs-catalog-card__rating-icon {
        margin-right: 3px;
        font-size: 12px;
    }
}

@media screen and (max-width: 760px) {
    .rs-movie-video-ad {
        min-height: 250px;
        margin: 14px 0;
        border-radius: 10px;
    }

    .rs-movie-video-ad #movie_video {
        min-height: 250px;
    }
}

@container rs-catalog-grid (max-width: 340px) {
    .rs-catalog-card__body {
        padding-inline: 7px;
    }

    .rs-catalog-card__meta-item + .rs-catalog-card__meta-item::before {
        margin-inline: 4px;
    }
}

/* Screen-reader announcement must not be visible in the page flow. */

.rs-discovery__status:not(.is-error) {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

/* Desktop: title, year+genre, two description lines, compact footer. */

.rs-catalog-card__body {
    min-height: 152px;
    grid-template-rows:
        36px
        18px
        32px
        minmax(38px, auto);
    row-gap: 2px;
    padding: 8px 10px 9px;
}

.rs-catalog-card__title {
    height: 36px;
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    -webkit-line-clamp: 2;
}

.rs-catalog-card__meta {
    height: 18px;
    margin: 0;
    color: #47635e;
}

.rs-catalog-card__meta-item--type {
    display: none;
}

.rs-catalog-card__meta-item--genre {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__meta-item--genre a {
    display: inline;
    color: inherit;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
}

.rs-catalog-card__description {
    height: 32px;
    color: #4d615d;
    -webkit-line-clamp: 2;
}

.rs-catalog-card__footer {
    min-height: 38px;
    padding-top: 4px;
    align-items: center;
}

.rs-catalog-card__rating {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}

.rs-catalog-card__rating strong {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.rs-catalog-card__rating small {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    color: #657a75;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-catalog-card__rating small::before {
    margin-right: 5px;
    color: #9aaba7;
    content: "•";
}

.rs-catalog-card__watch {
    min-height: 32px;
    padding: 7px 9px;
}

/*
 * Adfinity will reserve dimensions itself. The placeholder under the
 * breadcrumbs contributes no blank space while it is empty.
 */

#movie_video {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

#movie_video:empty {
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Mobile: one-line title, year+genre and compact footer. */

@container rs-catalog-grid (max-width: 590px) {
    .rs-catalog-card__body {
        min-height: 79px;
        grid-template-rows:
            18px
            17px
            minmax(34px, auto);
        row-gap: 2px;
        padding: 6px 7px 7px;
    }

    .rs-catalog-card__title {
        display: block;
        height: 18px;
        overflow: hidden;
        font-size: 13px;
        line-height: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
        -webkit-line-clamp: unset;
    }

    .rs-catalog-card__meta {
        height: 17px;
        font-size: 12px;
        line-height: 17px;
    }

    .rs-catalog-card__meta-item--genre,
    .rs-catalog-card__meta-item--genre a {
        font-size: 12px;
        line-height: 17px;
    }

    .rs-catalog-card__description {
        display: none;
    }

    .rs-catalog-card__footer {
        min-height: 34px;
        padding-top: 3px;
    }

    .rs-catalog-card__rating {
        gap: 0;
    }

    .rs-catalog-card__rating small {
        display: none;
    }

    .rs-catalog-card__rating-icon {
        margin-right: 3px;
        font-size: 12px;
    }

    .rs-catalog-card__rating strong {
        font-size: 13px;
    }

    .rs-catalog-card__watch {
        min-height: 30px;
        padding: 6px 7px;
    }
}

@container rs-catalog-grid (max-width: 340px) {
    .rs-catalog-card__body {
        padding-inline: 6px;
    }

    .rs-catalog-card__watch {
        padding-inline: 6px;
    }
}

.rs-catalog-card__rating {
    gap: 7px;
}

.rs-catalog-card__rating > .rs-catalog-card__votes-pill {
    display: inline-flex;
    min-width: 0;
    min-height: 24px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 3px 6px;
    overflow: visible;
    border: 1px solid #d7e4e1;
    border-radius: 999px;
    background: #f4f8f7;
    color: #5d746f;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.rs-catalog-card__rating > .rs-catalog-card__votes-pill::before {
    margin: 0;
    content: none;
}

.rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-icon {
    display: inline-block;
    color: #657a75;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-count {
    display: inline-block;
    color: #556d68;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-label {
    position: absolute;
    width: 1px;
    height: 1px;
    min-width: 0;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

@container rs-catalog-grid (max-width: 590px) {
    .rs-catalog-card__rating {
        gap: 0;
    }

    .rs-catalog-card__rating > .rs-catalog-card__votes-pill {
        display: none;
    }
}

.rs-shell-v1 {
    --rs-shell-bg: #ffffff;
    --rs-shell-surface: #f7fbfa;
    --rs-shell-surface-strong: #eef7f4;
    --rs-shell-border: #d8e7e2;
    --rs-shell-border-strong: #c4ddd5;
    --rs-shell-text: #19312f;
    --rs-shell-muted: #617572;
    --rs-shell-accent: #15947d;
    --rs-shell-accent-dark: #0d745f;
    --rs-shell-accent-soft: #e4f4ef;
    --rs-shell-warm: #f5c75b;
    --rs-shell-footer: #153331;
    --rs-shell-footer-soft: #214441;
    --rs-shell-shadow: 0 14px 42px rgba(20, 63, 57, 0.11);
    --rs-shell-shadow-soft: 0 8px 24px rgba(20, 63, 57, 0.08);
}

.rs-shell-v1 *,
.rs-shell-v1 *::before,
.rs-shell-v1 *::after {
    box-sizing: border-box;
}

/* Header */

/*
 * Legacy isolation.
 * The old shell still owns .logotype span and .show-menu.
 * Reset inherited geometry inside the new namespace.
 */

.rs-shell-v1 .rs-site-brand > span {
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    transform: none;
    float: none;
}

.rs-shell-v1 .rs-site-header__main > .rs-header-menu-button {
    order: 0;
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    float: none;
    flex: none;
    margin: 0;
    display: none;
}

.rs-shell-v1 .rs-site-header {
    position: relative;
    z-index: 80;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--rs-shell-border);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--rs-shell-shadow-soft);
    color: var(--rs-shell-text);
    isolation: isolate;
}

.rs-shell-v1 .rs-site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #15947d, #52bea6 55%, #f5c75b);
    pointer-events: none;
}

.rs-shell-v1 .rs-site-header__main {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(185px, auto) minmax(260px, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 15px 20px 13px;
}

.rs-shell-v1 .rs-site-brand,
.rs-shell-v1 .rs-site-brand:hover,
.rs-shell-v1 .rs-site-brand:focus {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-content: start;
    align-items: baseline;
    width: max-content;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--rs-shell-text);
    text-decoration: none;
    transform: none;
}

.rs-shell-v1 .rs-site-brand__wordmark::after {
    content: ".TV";
    display: inline;
}


.rs-shell-v1 .rs-site-brand__name,
.rs-shell-v1 .rs-site-brand__wordmark::after {
    font-size: 25px;
    line-height: 1;
    font-weight: 550;
    letter-spacing: 0.02em;
}

.rs-shell-v1 .rs-site-brand__wordmark::after {
    color: var(--rs-shell-accent);
}

.rs-shell-v1 .rs-site-brand__tagline {
    grid-column: 1 / -1;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rs-shell-muted);
}

.rs-shell-v1 .rs-site-search {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.rs-shell-v1 .rs-site-search form {
    width: 100%;
    margin: 0;
}

.rs-shell-v1 .rs-site-search .rs-shell-search-box {
    position: relative;
    width: 100%;
    height: 46px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--rs-shell-border-strong);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(19, 68, 60, 0.05);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rs-shell-v1 .rs-site-search .rs-shell-search-box:focus-within {
    border-color: var(--rs-shell-accent);
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.13);
}

.rs-shell-v1 .rs-site-search__icon {
    width: 42px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #6f8581;
}

.rs-shell-v1 .rs-site-search__icon svg,
.rs-shell-v1 .rs-site-search button svg,
.rs-shell-v1 .rs-header-icon-button svg,
.rs-shell-v1 .rs-header-feature svg,
.rs-shell-v1 .rs-account-button svg,
.rs-shell-v1 .rs-nav-random svg,
.rs-shell-v1 .rs-footer-cta__icon svg,
.rs-shell-v1 .rs-footer-contact button svg,
.rs-shell-v1 .rs-footer-notice svg,
.rs-shell-v1 .rs-shell-to-top svg,
.rs-shell-v1 .rs-native-carousel__arrow svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-shell-v1 .rs-site-search input[type="text"] {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 10px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rs-shell-text);
    font-size: 14px;
    line-height: 44px;
    font-weight: 400;
}

.rs-shell-v1 .rs-site-search input[type="text"]::placeholder {
    color: #849591;
    opacity: 1;
}

.rs-shell-v1 .rs-site-search button[type="submit"] {
    min-width: 90px;
    height: 38px;
    margin-right: 4px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    background: var(--rs-shell-accent);
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.rs-shell-v1 .rs-site-search button[type="submit"]:hover,
.rs-shell-v1 .rs-site-search button[type="submit"]:focus-visible {
    background: var(--rs-shell-accent-dark);
    box-shadow: 0 5px 14px rgba(13, 116, 95, 0.2);
}

.rs-shell-v1 .rs-site-search button[type="submit"] svg {
    width: 16px;
    height: 16px;
}

.rs-shell-v1 .rs-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.rs-shell-v1 .rs-header-feature,
.rs-shell-v1 .rs-account-button,
.rs-shell-v1 .rs-header-icon-button,
.rs-shell-v1 .rs-nav-random {
    min-height: 40px;
    border: 1px solid var(--rs-shell-border);
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 550;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.rs-shell-v1 .rs-header-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    color: var(--rs-shell-accent-dark);
    background: var(--rs-shell-accent-soft);
    white-space: nowrap;
}

.rs-shell-v1 .rs-header-feature:hover,
.rs-shell-v1 .rs-header-feature:focus-visible {
    color: var(--rs-shell-accent-dark);
    border-color: #9acfc1;
    background: #d9f0e9;
    box-shadow: 0 5px 14px rgba(21, 148, 125, 0.11);
}

.rs-shell-v1 .rs-header-feature svg {
    width: 18px;
    height: 18px;
}

.rs-shell-v1 .login-btns {
    min-width: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rs-shell-text);
}

.rs-shell-v1 .login-btns .rs-account-button {
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rs-shell-accent);
    border-color: var(--rs-shell-accent);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(21, 148, 125, 0.16);
}

.rs-shell-v1 .login-btns .rs-account-button:hover,
.rs-shell-v1 .login-btns .rs-account-button:focus-visible {
    background: var(--rs-shell-accent-dark);
    border-color: var(--rs-shell-accent-dark);
    color: #ffffff;
}

.rs-shell-v1 .rs-account-button svg {
    width: 18px;
    height: 18px;
}

.rs-shell-v1 .rs-logout-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--rs-shell-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
}

.rs-shell-v1 .rs-logout-link:hover,
.rs-shell-v1 .rs-logout-link:focus-visible {
    color: var(--rs-shell-accent-dark);
}

.rs-shell-v1 .rs-header-icon-button {
    width: 42px;
    height: 42px;
    padding: 0;
    display: none;
    place-items: center;
    background: #ffffff;
    color: var(--rs-shell-text);
}

.rs-shell-v1 .rs-header-icon-button:hover,
.rs-shell-v1 .rs-header-icon-button:focus-visible {
    border-color: var(--rs-shell-accent);
    background: var(--rs-shell-accent-soft);
    color: var(--rs-shell-accent-dark);
}

.rs-shell-v1 .rs-site-nav {
    min-height: 53px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 12px 8px;
    border-top: 1px solid #e7f0ed;
    background: linear-gradient(180deg, #ffffff, #fbfdfc);
    border-radius: 0 0 18px 18px;
}

.rs-shell-v1 .rs-site-nav__list.f-menu {
    min-width: 0;
    flex: 1 1 auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    overflow: visible;
    background: transparent;
    border: 0;
    list-style: none;
}

.rs-shell-v1 .rs-site-nav__list.f-menu > li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.rs-shell-v1 .rs-site-nav__list.f-menu > li > a {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #354b48;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.rs-shell-v1 .rs-site-nav__list.f-menu > li > a:hover,
.rs-shell-v1 .rs-site-nav__list.f-menu > li > a:focus-visible {
    background: var(--rs-shell-surface-strong);
    border-color: var(--rs-shell-border);
    color: var(--rs-shell-accent-dark);
}

.rs-shell-v1 .rs-site-nav__list.f-menu > li > a.active,
.rs-shell-v1 .rs-site-nav__list.f-menu > li > a[aria-current="page"] {
    background: var(--rs-shell-accent);
    border-color: var(--rs-shell-accent);
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(21, 148, 125, 0.16);
}

.rs-shell-v1 .rs-site-nav__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.rs-shell-v1 .rs-nav-random {
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--rs-shell-accent-dark);
}

.rs-shell-v1 .rs-nav-random:hover,
.rs-shell-v1 .rs-nav-random:focus-visible {
    background: #fff9e8;
    border-color: #ead18f;
    color: #705515;
}

.rs-shell-v1 .rs-nav-random[hidden] {
    display: none;
}

.rs-shell-v1 .rs-nav-random svg {
    width: 18px;
    height: 18px;
}

/* Top showcase carousel */

.rs-shell-v1 .rs-top-showcase {
    position: relative;
    width: 100%;
    margin: 14px 0 18px;
    padding: 18px 18px 14px;
    overflow: hidden;
    border: 1px solid var(--rs-shell-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 0%, rgba(245, 199, 91, 0.18), transparent 28%),
        linear-gradient(135deg, #f7fbfa, #eef7f4);
    box-shadow: var(--rs-shell-shadow-soft);
}

.rs-shell-v1 .rs-top-showcase__header {
    min-height: 64px;
    margin: 0 0 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.rs-shell-v1 .rs-top-showcase__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--rs-shell-accent-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    letter-spacing: 0.08em;
}

.rs-shell-v1 .rs-top-showcase__header h2 {
    margin: 0;
    color: var(--rs-shell-text);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 550;
}

.rs-shell-v1 .rs-top-showcase__header p {
    margin: 6px 0 0;
    color: var(--rs-shell-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.rs-shell-v1 .rs-top-showcase__meta {
    flex: 0 0 auto;
    min-width: 156px;
    display: grid;
    justify-items: end;
    gap: 8px;
}

.rs-shell-v1 .rs-top-showcase__meta > span {
    color: var(--rs-shell-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
}

.rs-shell-v1 .rs-top-showcase__meta > a {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--rs-shell-border-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--rs-shell-accent-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.rs-shell-v1 .rs-top-showcase__meta > a:hover,
.rs-shell-v1 .rs-top-showcase__meta > a:focus-visible {
    background: #ffffff;
    border-color: var(--rs-shell-accent);
}

.rs-shell-v1 .rs-top-showcase__carousel {
    position: relative;
}

.rs-shell-v1 .rs-top-showcase .karusel.rs-native-carousel--top {
    width: 100%;
    height: 226px;
    min-height: 226px;
    margin: 0;
    padding: 0 46px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__viewport {
    height: 226px;
    min-height: 226px;
    overflow: hidden;
    border-radius: 14px;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top {
    min-height: 226px;
    height: 226px;
    padding: 0 1px 6px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top::-webkit-scrollbar {
    display: none;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top > .top-carou {
    position: relative;
    flex: 0 0 148px;
    width: 148px;
    height: 218px;
    min-height: 218px;
    margin: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(14, 92, 76, 0.12);
    border-radius: 14px;
    background: #dfe9e6;
    box-shadow: 0 8px 18px rgba(20, 63, 57, 0.11);
    transform: none;
    transition: border-color 170ms ease, box-shadow 170ms ease;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top > .top-carou::after {
    content: "";
    position: absolute;
    inset: 38% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(9, 27, 25, 0.18) 30%, rgba(9, 27, 25, 0.9));
    pointer-events: none;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top > .top-carou:hover,
.rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top > .top-carou:focus-visible {
    border-color: rgba(21, 148, 125, 0.52);
    box-shadow: 0 11px 24px rgba(20, 63, 57, 0.17);
    transform: none;
}

.rs-shell-v1 .rs-top-showcase .top-carou img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 13px;
    transform: scale(1);
    transition: transform 240ms ease;
}

.rs-shell-v1 .rs-top-showcase .top-carou:hover img,
.rs-shell-v1 .rs-top-showcase .top-carou:focus-visible img {
    transform: scale(1.035);
}

.rs-shell-v1 .rs-top-showcase .top-carou .tc-title {
    position: absolute;
    z-index: 2;
    inset: auto 10px 10px;
    min-height: 34px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #ffffff;
    background: transparent;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 550;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
    opacity: 1;
    transform: none;
}

.rs-shell-v1 .rs-top-showcase .top-carou .badge_tr {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: 9px;
    left: auto;
    min-height: 27px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(112, 81, 6, 0.15);
    border-radius: 999px;
    background: #f5c75b;
    color: #513e0d;
    box-shadow: 0 5px 14px rgba(36, 28, 7, 0.16);
    font-size: 12px;
    line-height: 1;
    font-weight: 550;
    white-space: nowrap;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--rs-shell-border-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--rs-shell-accent-dark);
    box-shadow: 0 7px 18px rgba(17, 64, 57, 0.15);
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow--prev {
    left: 0;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow--next {
    right: 0;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow:hover,
.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow:focus-visible,
.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow:active {
    top: 50%;
    background: var(--rs-shell-accent);
    border-color: var(--rs-shell-accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(21, 148, 125, 0.23);
    transform: translateY(-50%);
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow:disabled {
    background: #f3f7f6;
    border-color: #dfe9e6;
    color: #9bada9;
    box-shadow: none;
    opacity: 0.62;
    cursor: default;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow svg {
    width: 19px;
    height: 19px;
}

.rs-shell-v1 .rs-top-showcase__progress {
    width: 100%;
    height: 4px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(21, 148, 125, 0.12);
}

.rs-shell-v1 .rs-top-showcase__progress > span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rs-shell-accent), #55bea7);
    transform: scaleX(var(--rs-showcase-progress, 0.08));
    transform-origin: left center;
    transition: transform 130ms linear;
}

/* Footer */

.rs-shell-v1 .rs-site-footer {
    position: relative;
    width: 100%;
    margin: 26px 0 0;
    padding: 22px;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 20px 20px 0 0;
    background:
        radial-gradient(circle at 95% 0%, rgba(85, 190, 167, 0.18), transparent 30%),
        linear-gradient(145deg, var(--rs-shell-footer), #102927);
    color: #e9f5f2;
    box-shadow: 0 -10px 30px rgba(20, 63, 57, 0.12);
    text-align: left;
}

.rs-shell-v1 .rs-footer-cta {
    min-height: 92px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(213, 239, 232, 0.16);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
}

.rs-shell-v1 .rs-footer-cta__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(85, 190, 167, 0.18);
    color: #9de0d1;
}

.rs-shell-v1 .rs-footer-cta__icon svg {
    width: 23px;
    height: 23px;
}

.rs-shell-v1 .rs-footer-cta__copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-shell-v1 .rs-footer-cta__copy p {
    margin: 5px 0 0;
    color: #bcd2cd;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.rs-shell-v1 .rs-footer-cta__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-shell-v1 .rs-footer-cta__actions button,
.rs-shell-v1 .rs-footer-cta__actions a {
    min-height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(213, 239, 232, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.rs-shell-v1 .rs-footer-cta__actions button:hover,
.rs-shell-v1 .rs-footer-cta__actions button:focus-visible,
.rs-shell-v1 .rs-footer-cta__actions a:hover,
.rs-shell-v1 .rs-footer-cta__actions a:focus-visible {
    background: var(--rs-shell-accent);
    border-color: var(--rs-shell-accent);
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) repeat(3, minmax(135px, 0.8fr));
    gap: 28px;
    padding: 28px 4px 24px;
}

.rs-shell-v1 .rs-footer-brand__logo {
    display: inline-flex;
    align-items: baseline;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    font-weight: 550;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.rs-shell-v1 .rs-footer-brand__logo span {
    color: #67cbb4;
}

.rs-shell-v1 .rs-footer-brand > p {
    max-width: 330px;
    margin: 13px 0 16px;
    color: #bcd2cd;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}

.rs-shell-v1 .rs-footer-contact {
    display: grid;
    justify-items: start;
    gap: 6px;
}

.rs-shell-v1 .rs-footer-contact > span:first-child {
    color: #8fb2aa;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.rs-shell-v1 .rs-footer-contact > a {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 550;
    text-decoration: none;
}

.rs-shell-v1 .rs-footer-contact > a:hover,
.rs-shell-v1 .rs-footer-contact > a:focus-visible {
    color: #9de0d1;
}

.rs-shell-v1 .rs-footer-contact button {
    min-height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(213, 239, 232, 0.18);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: #cfe4df;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
}

.rs-shell-v1 .rs-footer-contact button:hover,
.rs-shell-v1 .rs-footer-contact button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-contact button svg {
    width: 16px;
    height: 16px;
}

.rs-shell-v1 .rs-footer-copy-status {
    min-height: 16px;
    color: #9de0d1;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
}

.rs-shell-v1 .rs-footer-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.rs-shell-v1 .rs-footer-group h3 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-shell-v1 .rs-footer-group > a {
    color: #bcd2cd;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

.rs-shell-v1 .rs-footer-group > a:hover,
.rs-shell-v1 .rs-footer-group > a:focus-visible {
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-pending-link {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0;
    color: #a9bfba;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    cursor: default;
}

.rs-shell-v1 .rs-footer-share > p {
    margin: 0 0 4px;
    color: #a9c1bc;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
}

.rs-shell-v1 .rs-footer-share .share-box {
    margin: 4px 0 0;
}

.rs-shell-v1 .rs-footer-share .ya-share2 {
    min-height: 32px;
}

.rs-shell-v1 .rs-footer-notice {
    min-height: 52px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(213, 239, 232, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.rs-shell-v1 .rs-footer-notice svg {
    width: 20px;
    height: 20px;
    color: #84d5c3;
}

.rs-shell-v1 .rs-footer-notice p {
    margin: 0;
    color: #aec8c2;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.rs-shell-v1 .rs-footer-bottom {
    min-height: 48px;
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(213, 239, 232, 0.12);
    color: #98b6af;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.rs-shell-v1 .rs-shell-to-top {
    position: fixed;
    z-index: 90;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--rs-shell-border-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--rs-shell-accent-dark);
    box-shadow: 0 8px 22px rgba(20, 63, 57, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    cursor: pointer;
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.rs-shell-v1 .rs-shell-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rs-shell-v1 .rs-shell-to-top:hover,
.rs-shell-v1 .rs-shell-to-top:focus-visible {
    background: var(--rs-shell-accent);
    color: #ffffff;
}

.rs-shell-v1 .rs-shell-to-top svg {
    width: 21px;
    height: 21px;
}

/* Shared focus state */

.rs-shell-v1 .rs-site-header a:focus-visible,
.rs-shell-v1 .rs-site-header button:focus-visible,
.rs-shell-v1 .rs-top-showcase a:focus-visible,
.rs-shell-v1 .rs-top-showcase button:focus-visible,
.rs-shell-v1 .rs-site-footer a:focus-visible,
.rs-shell-v1 .rs-site-footer button:focus-visible,
.rs-shell-v1 .rs-shell-to-top:focus-visible {
    outline: 3px solid rgba(245, 199, 91, 0.65);
    outline-offset: 2px;
}

/* Medium desktop */

@media (max-width: 1120px) {
    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: minmax(170px, auto) minmax(230px, 1fr) auto;
        gap: 14px;
        padding-inline: 15px;
    }

    .rs-shell-v1 .rs-header-feature {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .rs-shell-v1 .rs-header-feature > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .rs-shell-v1 .rs-site-nav__list.f-menu > li > a {
        padding-inline: 10px;
    }

    .rs-shell-v1 .rs-nav-random > span {
        display: none;
    }

    .rs-shell-v1 .rs-nav-random {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .rs-shell-v1 .rs-footer-grid {
        grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(120px, 0.8fr));
        gap: 20px;
    }
}

/* Tablet and mobile header */

@media (max-width: 760px) {
    .rs-shell-v1 .rs-site-header {
        border-radius: 0 0 15px 15px;
    }

    .rs-shell-v1 .rs-site-header__main {
        min-height: 68px;
        grid-template-columns: 42px minmax(0, 1fr) 42px auto;
        gap: 8px;
        padding: 11px 12px;
    }

    .rs-shell-v1 .rs-site-header__main > .rs-header-menu-button,
    .rs-shell-v1 .rs-header-search-toggle {
        display: grid;
    }

    .rs-shell-v1 .rs-site-header__main > .rs-header-menu-button {
        order: 0;
        position: static;
        margin: 0;
    }

    .rs-shell-v1 .rs-site-brand {
        min-width: 0;
        width: auto;
    }

    .rs-shell-v1 .rs-site-brand__name,
    .rs-shell-v1 .rs-site-brand__wordmark::after {
        font-size: 21px;
    }

    .rs-shell-v1 .rs-site-brand__tagline {
        display: none;
    }

    .rs-shell-v1 .rs-site-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        display: none;
        padding-top: 3px;
    }

    .rs-shell-v1 .rs-site-header.is-search-open .rs-site-search {
        display: block;
    }

    .rs-shell-v1 .rs-site-header.is-search-open .rs-site-header__main {
        padding-bottom: 12px;
    }

    .rs-shell-v1 .rs-site-header__actions {
        gap: 7px;
    }

    .rs-shell-v1 .rs-header-feature--picker {
        display: none;
    }

    .rs-shell-v1 .login-btns .rs-account-button {
        width: 42px;
        min-width: 42px;
        padding: 0;
    }

    .rs-shell-v1 .rs-account-button > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .rs-shell-v1 .rs-logout-link {
        display: none;
    }

    .rs-shell-v1 .rs-site-nav {
        display: none;
    }

    .rs-shell-v1 .rs-top-showcase {
        margin-top: 10px;
        border-radius: 15px;
    }

    .rs-shell-v1 .rs-top-showcase__header {
        min-height: 0;
        margin-bottom: 13px;
    }

    .rs-shell-v1 .rs-top-showcase__header h2 {
        font-size: 20px;
    }

    .rs-shell-v1 .rs-top-showcase__header p {
        max-width: 520px;
    }

    .rs-shell-v1 .rs-top-showcase .karusel.rs-native-carousel--top {
        padding: 0;
    }

    .rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow {
        display: none;
    }

    .rs-shell-v1 .rs-footer-cta {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .rs-shell-v1 .rs-footer-cta__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .rs-shell-v1 .rs-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-shell-v1 .rs-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
        padding-inline: 10px;
    }

    .rs-shell-v1 .rs-site-brand__name,
    .rs-shell-v1 .rs-site-brand__wordmark::after {
        font-size: 19px;
    }

    .rs-shell-v1 .rs-site-search .rs-shell-search-box {
        height: 44px;
        grid-template-columns: 38px minmax(0, 1fr) 44px;
    }

    .rs-shell-v1 .rs-site-search__icon {
        width: 38px;
        height: 42px;
    }

    .rs-shell-v1 .rs-site-search button[type="submit"] {
        min-width: 40px;
        width: 40px;
        height: 36px;
        padding: 0;
    }

    .rs-shell-v1 .rs-site-search button[type="submit"] > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .rs-shell-v1 .rs-top-showcase {
        padding: 14px 12px 12px;
    }

    .rs-shell-v1 .rs-top-showcase__header {
        display: block;
    }

    .rs-shell-v1 .rs-top-showcase__header h2 {
        font-size: 18px;
    }

    .rs-shell-v1 .rs-top-showcase__header p {
        margin-top: 5px;
    }

    .rs-shell-v1 .rs-top-showcase__meta {
        min-width: 0;
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rs-shell-v1 .rs-top-showcase__meta > span {
        max-width: 45%;
    }

    .rs-shell-v1 .rs-top-showcase .karusel.rs-native-carousel--top,
    .rs-shell-v1 .rs-top-showcase .rs-native-carousel__viewport,
    .rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top {
        height: 199px;
        min-height: 199px;
    }

    .rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top {
        margin-inline: -1px;
        padding-bottom: 5px;
        gap: 10px;
        scroll-padding-left: 1px;
    }

    .rs-shell-v1 .rs-top-showcase .rs-native-carousel__track--top > .top-carou {
        flex-basis: 128px;
        width: 128px;
        height: 193px;
        min-height: 193px;
        border-radius: 13px;
    }

    .rs-shell-v1 .rs-top-showcase .top-carou img {
        border-radius: 12px;
    }

    .rs-shell-v1 .rs-top-showcase .top-carou .tc-title {
        inset: auto 9px 9px;
        font-size: 12px;
    }

    .rs-shell-v1 .rs-top-showcase .top-carou .badge_tr {
        top: 7px;
        right: 7px;
        min-height: 25px;
        padding-inline: 8px;
    }

    .rs-shell-v1 .rs-site-footer {
        margin-top: 20px;
        padding: 15px 12px;
        border-radius: 16px 16px 0 0;
    }

    .rs-shell-v1 .rs-footer-cta {
        min-height: 0;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 14px;
        gap: 12px;
    }

    .rs-shell-v1 .rs-footer-cta__icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .rs-shell-v1 .rs-footer-cta__copy h2 {
        font-size: 16px;
    }

    .rs-shell-v1 .rs-footer-cta__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .rs-shell-v1 .rs-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
        padding: 24px 3px 21px;
    }

    .rs-shell-v1 .rs-footer-brand {
        grid-column: 1 / -1;
    }

    .rs-shell-v1 .rs-footer-share {
        grid-column: 1 / -1;
    }

    .rs-shell-v1 .rs-footer-bottom {
        display: grid;
        justify-content: start;
        gap: 6px;
    }

    .rs-shell-v1 .rs-shell-to-top {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 360px) {
    .rs-shell-v1 .rs-site-brand__name,
    .rs-shell-v1 .rs-site-brand__wordmark::after {
        font-size: 18px;
    }

    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
        gap: 6px;
        padding-inline: 8px;
    }

    .rs-shell-v1 .rs-header-icon-button,
    .rs-shell-v1 .login-btns .rs-account-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .rs-shell-v1 .rs-top-showcase__meta > span {
        display: none;
    }

    .rs-shell-v1 .rs-top-showcase__meta {
        justify-content: flex-start;
    }

    .rs-shell-v1 .rs-footer-grid {
        grid-template-columns: 1fr;
    }

    .rs-shell-v1 .rs-footer-brand,
    .rs-shell-v1 .rs-footer-share {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-shell-v1 .rs-site-header *,
    .rs-shell-v1 .rs-top-showcase *,
    .rs-shell-v1 .rs-site-footer *,
    .rs-shell-v1 .rs-shell-to-top {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
    }
}

@media (min-width: 761px) {
    .rs-shell-v1 .rs-site-header__main {
        min-height: 74px;
        grid-template-columns: minmax(180px, auto) minmax(300px, 1fr) auto;
        grid-template-rows: 1fr;
        gap: 18px;
        padding: 11px 16px 10px;
    }

    .rs-shell-v1 .rs-site-header__main > .rs-header-menu-button {
        position: absolute;
        width: 1px;
        min-width: 0;
        height: 1px;
        min-height: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
    }

    .rs-shell-v1 .rs-site-brand {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        justify-self: start;
    }

    .rs-shell-v1 .rs-site-search {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        max-width: 500px;
    }

    .rs-shell-v1 .rs-site-header__actions {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        flex-wrap: nowrap;
    }

    .rs-shell-v1 .rs-header-search-toggle {
        position: absolute;
        width: 1px;
        min-width: 0;
        height: 1px;
        min-height: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
    }

    .rs-shell-v1 .rs-site-nav {
        min-height: 49px;
        padding: 5px 10px 6px;
    }

    .rs-shell-v1 .rs-site-nav__list.f-menu {
        order: 1;
    }

    .rs-shell-v1 .rs-site-nav__actions {
        order: 2;
        margin-left: auto;
        gap: 8px;
    }

    .rs-shell-v1 .rs-site-nav__actions .rs-header-feature,
    .rs-shell-v1 .rs-site-nav__actions .rs-nav-random {
        min-height: 38px;
        height: 38px;
    }
}


@media (min-width: 761px) and (max-width: 980px) {
    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: minmax(155px, auto) minmax(230px, 1fr) auto;
        gap: 10px;
        padding-inline: 12px;
    }

    .rs-shell-v1 .rs-site-brand__name,
    .rs-shell-v1 .rs-site-brand__wordmark::after {
        font-size: 22px;
    }

    .rs-shell-v1 .rs-logout-link {
        display: none;
    }

    .rs-shell-v1 .login-btns .rs-account-button {
        width: 42px;
        min-width: 42px;
        padding: 0;
    }

    .rs-shell-v1 .rs-account-button > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
        grid-template-rows: auto auto;
    }

    .rs-shell-v1 .rs-site-header__main > .rs-header-menu-button,
    .rs-shell-v1 .rs-header-search-toggle {
        position: static;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        overflow: visible;
        clip-path: none;
        white-space: normal;
        opacity: 1;
        pointer-events: auto;
    }

    .rs-shell-v1 .rs-site-header__main > .rs-header-menu-button {
        grid-column: 1;
        grid-row: 1;
    }

    .rs-shell-v1 .rs-site-brand {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: start;
    }

    .rs-shell-v1 .rs-site-header__actions {
        display: contents;
    }

    .rs-shell-v1 .rs-header-search-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .rs-shell-v1 .login-btns {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }

    .rs-shell-v1 .rs-site-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .rs-shell-v1 .rs-site-nav {
        position: absolute;
        width: 1px;
        min-width: 0;
        height: 1px;
        min-height: 0;
        overflow: hidden;
        clip-path: inset(50%);
        opacity: 0;
        pointer-events: none;
    }
}

.rs-shell-v1 .rs-nav-random[hidden] {
    display: none;
}

.rs-shell-v1 .rs-top-showcase .rs-native-carousel__arrow {
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    border-radius: 999px;
    appearance: none;
    line-height: 1;
}

@media (max-width: 760px) {
    .rs-shell-v1 .rs-site-search,
    .rs-shell-v1 .rs-site-search form,
    .rs-shell-v1 .rs-site-search .rs-shell-search-box {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .rs-shell-v1 .rs-site-search .rs-shell-search-box > #story {
        display: block;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }
}

.rs-shell-v1 .rs-site-nav .rs-site-nav__actions [data-rs-shell-random][hidden] {
    display: none;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.rs-shell-v1 {
    --rs-polish-accent: #15947d;
    --rs-polish-accent-dark: #0d745f;
    --rs-polish-accent-soft: #e8f6f1;
    --rs-polish-border: #c4ddd5;
    --rs-polish-focus: rgba(21, 148, 125, 0.18);
    --rs-polish-shadow: 0 8px 24px rgba(20, 63, 57, 0.11);
}

#gotop {
    display: none;
}

.rs-shell-control,
.rs-shell-control:hover,
.rs-shell-control:focus,
.rs-shell-control:focus-visible,
.rs-shell-control:active {
    transform: none;
}

.rs-shell-v1 .rs-header-icon-button svg,
.rs-shell-v1 .rs-account-button svg {
    width: 20px;
    min-width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.rs-shell-v1 .rs-header-icon-button svg path,
.rs-shell-v1 .rs-header-icon-button svg circle,
.rs-shell-v1 .rs-account-button svg path,
.rs-shell-v1 .rs-account-button svg circle {
    stroke: currentColor;
    vector-effect: non-scaling-stroke;
}

/* Stable interactions: no translate, scale or geometry changes. */

.rs-shell-v1 .rs-site-search button[type="submit"],
.rs-shell-v1 .rs-account-button,
.rs-shell-v1 .rs-header-icon-button,
.rs-shell-v1 .rs-header-feature,
.rs-shell-v1 .rs-nav-random,
.rs-shell-v1 .rs-footer-cta__actions button,
.rs-shell-v1 .rs-footer-cta__actions a,
.rs-shell-v1 .rs-footer-contact button,
.rs-shell-v1 .rs-share-button,
.rs-mobile-drawer button,
.rs-mobile-drawer a,
.rs-random-modal button,
.rs-random-modal a {
    transform: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        opacity 160ms ease,
        filter 160ms ease;
}

.rs-shell-v1 .rs-site-search button[type="submit"]:hover,
.rs-shell-v1 .rs-site-search button[type="submit"]:focus-visible,
.rs-shell-v1 .rs-account-button:hover,
.rs-shell-v1 .rs-account-button:focus-visible,
.rs-shell-v1 .rs-header-icon-button:hover,
.rs-shell-v1 .rs-header-icon-button:focus-visible,
.rs-shell-v1 .rs-header-feature:hover,
.rs-shell-v1 .rs-header-feature:focus-visible,
.rs-shell-v1 .rs-nav-random:hover,
.rs-shell-v1 .rs-nav-random:focus-visible,
.rs-shell-v1 .rs-footer-cta__actions button:hover,
.rs-shell-v1 .rs-footer-cta__actions button:focus-visible,
.rs-shell-v1 .rs-footer-cta__actions a:hover,
.rs-shell-v1 .rs-footer-cta__actions a:focus-visible,
.rs-shell-v1 .rs-footer-contact button:hover,
.rs-shell-v1 .rs-footer-contact button:focus-visible,
.rs-shell-v1 .rs-share-button:hover,
.rs-shell-v1 .rs-share-button:focus-visible,
.rs-shell-v1 .rs-site-search button[type="submit"]:active,
.rs-shell-v1 .rs-account-button:active,
.rs-shell-v1 .rs-header-icon-button:active,
.rs-shell-v1 .rs-header-feature:active,
.rs-shell-v1 .rs-nav-random:active,
.rs-shell-v1 .rs-footer-cta__actions button:active,
.rs-shell-v1 .rs-footer-cta__actions a:active,
.rs-shell-v1 .rs-footer-contact button:active,
.rs-shell-v1 .rs-share-button:active {
    transform: none;
}

/* Logo glow without movement or fading. */

.rs-shell-v1 .rs-site-brand,
.rs-shell-v1 .rs-site-brand:hover,
.rs-shell-v1 .rs-site-brand:focus,
.rs-shell-v1 .rs-site-brand:focus-visible {
    opacity: 1;
    filter: none;
    outline: 0;
    transition: filter 180ms ease, color 180ms ease;
}

.rs-shell-v1 .rs-site-brand:hover,
.rs-shell-v1 .rs-site-brand:focus-visible {
    filter: drop-shadow(0 3px 7px rgba(21, 148, 125, 0.2));
}

.rs-shell-v1 .rs-site-brand:focus-visible {
    border-radius: 8px;
    box-shadow: 0 0 0 3px var(--rs-polish-focus);
}

/* Smaller, aligned desktop search. */

@media (min-width: 761px) {
    .rs-shell-v1 .rs-site-search {
        max-width: 420px;
    }
}

.rs-shell-v1 .rs-site-search .rs-shell-search-box {
    height: 40px;
    box-sizing: border-box;
    grid-template-columns: 36px minmax(0, 1fr) 78px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(19, 68, 60, 0.05);
}

.rs-shell-v1 .rs-site-search .rs-shell-search-box:focus-within {
    border-color: var(--rs-polish-accent);
    box-shadow: 0 0 0 2px var(--rs-polish-focus);
}

.rs-shell-v1 .rs-site-search__icon {
    width: 36px;
    height: 38px;
}

.rs-shell-v1 .rs-site-search input#story,
.rs-shell-v1 .rs-site-search input#story:hover,
.rs-shell-v1 .rs-site-search input#story:focus,
.rs-shell-v1 .rs-site-search input#story:focus-visible {
    height: 38px;
    line-height: 38px;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    transform: none;
}

.rs-shell-v1 .rs-site-search button[type="submit"] {
    min-width: 78px;
    width: 78px;
    height: 100%;
    align-self: stretch;
    margin: 0;
    padding: 0 12px;
    border-radius: 0 9px 9px 0;
    box-shadow: none;
}

.rs-shell-v1 .rs-site-search button[type="submit"]:hover {
    background: #12866f;
    box-shadow: 0 4px 12px rgba(13, 116, 95, 0.2);
    outline: 0;
}

.rs-shell-v1 .rs-site-search button[type="submit"]:focus-visible {
    background: var(--rs-polish-accent-dark);
    outline: 0;
    box-shadow: 0 0 0 3px var(--rs-polish-focus);
}

/* Navigation hover: visible mint highlight, never white. */

.rs-shell-v1 .rs-site-nav__list.f-menu > li > a:hover,
.rs-shell-v1 .rs-site-nav__list.f-menu > li > a:focus-visible {
    background: #d8efe8;
    border-color: #9dcebf;
    color: var(--rs-polish-accent-dark);
    outline: 0;
    box-shadow: none;
}

.rs-shell-v1 .rs-site-nav__list.f-menu > li > a:focus-visible {
    box-shadow: 0 0 0 3px var(--rs-polish-focus);
}

/* Calm button highlighting. */

.rs-shell-v1 .login-btns .rs-account-button:hover,
.rs-shell-v1 .rs-nav-random:hover,
.rs-shell-v1 .rs-footer-cta__actions button:hover,
.rs-shell-v1 .rs-footer-contact button:hover {
    background: #12866f;
    border-color: #12866f;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 116, 95, 0.18);
    outline: 0;
}

.rs-shell-v1 .rs-header-feature:hover,
.rs-shell-v1 .rs-footer-cta__actions a:hover {
    background: #dff2ec;
    border-color: #a8d6ca;
    color: var(--rs-polish-accent-dark);
    box-shadow: 0 4px 12px rgba(21, 148, 125, 0.1);
    outline: 0;
}

.rs-shell-v1 .rs-account-button:focus-visible,
.rs-shell-v1 .rs-nav-random:focus-visible,
.rs-shell-v1 .rs-header-feature:focus-visible,
.rs-shell-v1 .rs-header-icon-button:focus-visible,
.rs-shell-v1 .rs-footer-cta__actions button:focus-visible,
.rs-shell-v1 .rs-footer-cta__actions a:focus-visible,
.rs-shell-v1 .rs-footer-contact button:focus-visible,
.rs-shell-v1 .rs-share-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--rs-polish-focus);
}

/* Footer share buttons. */

.rs-shell-v1 .rs-footer-share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rs-shell-v1 .rs-share-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.rs-shell-v1 .rs-share-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.rs-shell-v1 .rs-share-button svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    stroke: none;
    flex: 0 0 20px;
}

.rs-shell-v1 .rs-share-button--telegram { background: #289bd7; }

.rs-shell-v1 .rs-share-button--vk { background: #3975a8; }

.rs-shell-v1 .rs-share-button--ok { background: #ee8208; }

.rs-shell-v1 .rs-share-button--whatsapp { background: #27ae60; }

.rs-shell-v1 .rs-visually-hidden,
.rs-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile header icon repair and stable geometry. */

@media (max-width: 760px) {
    .rs-shell-v1 .rs-site-header__main {
        grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
        gap: 8px;
        padding: 11px 10px;
    }

    .rs-shell-v1 .rs-site-brand {
        justify-self: start;
        max-width: 100%;
        overflow: visible;
    }

    .rs-shell-v1 .rs-header-icon-button,
    .rs-shell-v1 .login-btns .rs-account-button {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        padding: 0;
        display: grid;
        place-items: center;
        border-radius: 11px;
    }

    .rs-shell-v1 .rs-header-icon-button svg,
    .rs-shell-v1 .login-btns .rs-account-button svg {
        width: 20px;
        min-width: 20px;
        max-width: 20px;
        height: 20px;
        min-height: 20px;
        max-height: 20px;
        display: block;
        justify-self: center;
        align-self: center;
        flex: 0 0 20px;
        overflow: visible;
    }

    .rs-shell-v1 .rs-header-icon-button svg path,
    .rs-shell-v1 .rs-header-icon-button svg circle,
    .rs-shell-v1 .login-btns .rs-account-button svg path,
    .rs-shell-v1 .login-btns .rs-account-button svg circle {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        visibility: visible;
        opacity: 1;
    }

    .rs-shell-v1 .rs-header-icon-button:hover,
    .rs-shell-v1 .login-btns .rs-account-button:hover {
        background: #12866f;
        border-color: #12866f;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(13, 116, 95, 0.18);
    }

    .rs-shell-v1 .rs-site-search .rs-shell-search-box {
        height: 44px;
        grid-template-columns: 38px minmax(0, 1fr) 44px;
        border-radius: 11px;
    }

    .rs-shell-v1 .rs-site-search input#story {
        height: 42px;
        line-height: 42px;
    }

    .rs-shell-v1 .rs-site-search button[type="submit"] {
        min-width: 38px;
        width: 38px;
        height: 36px;
        margin-right: 3px;
        padding: 0;
    }

    .rs-shell-v1 .rs-site-search button[type="submit"] svg {
        width: 18px;
        min-width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
}

@media (max-width: 340px) {
    .rs-shell-v1 .rs-site-header__main {
        gap: 6px;
        padding-inline: 8px;
    }

    .rs-shell-v1 .rs-site-brand__name,
    .rs-shell-v1 .rs-site-brand__wordmark::after {
        font-size: 18px;
    }
}

/* Mobile navigation drawer. */

body.rs-shell-overlay-open {
    overflow: hidden;
}

.rs-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.rs-mobile-drawer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.rs-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 31, 29, 0.58);
    cursor: pointer;
}

.rs-mobile-drawer__panel {
    position: relative;
    width: min(340px, calc(100vw - 24px));
    height: calc(100dvh - 24px);
    margin: 12px;
    padding: 18px;
    align-self: stretch;
    justify-self: start;
    overflow-y: auto;
    border: 1px solid #cfe4de;
    border-radius: 18px;
    background: #ffffff;
    color: #19312f;
    box-shadow: 0 24px 70px rgba(7, 31, 28, 0.26);
}

.rs-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rs-mobile-drawer__head strong {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-mobile-drawer__close {
    width: 40px;
    height: 40px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid #d8e7e2;
    border-radius: 11px;
    background: #f7fbfa;
    color: #19312f;
    cursor: pointer;
}

.rs-mobile-drawer__close:hover,
.rs-mobile-drawer__close:focus-visible {
    background: #e8f6f1;
    border-color: #a8d6ca;
    color: #0d745f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.18);
}

.rs-mobile-drawer__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.rs-mobile-drawer__nav {
    display: grid;
    gap: 7px;
}

.rs-mobile-drawer__nav a {
    min-height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    border-radius: 11px;
    background: #f7fbfa;
    color: #29433f;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    text-decoration: none;
}

.rs-mobile-drawer__nav a::after {
    content: "→";
    color: #15947d;
}

.rs-mobile-drawer__nav a:hover,
.rs-mobile-drawer__nav a:focus-visible {
    background: #e8f6f1;
    border-color: #b9ded4;
    color: #0d745f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.14);
}



.rs-mobile-drawer__catalog {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e1ece8;
}

.rs-mobile-drawer__catalog[hidden] {
    display: none;
}

.rs-mobile-drawer__catalog-head {
    margin: 0 0 8px;
    color: #55706a;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordions {
    display: grid;
    gap: 6px;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion {
    overflow: hidden;
    border: 1px solid #dbe8e4;
    border-radius: 10px;
    background: #f8fbfa;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__trigger {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #29433f;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    box-shadow: none;
    cursor: pointer;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__trigger:hover,
.rs-mobile-drawer__catalog .rs-sidebar-accordion__trigger:focus-visible {
    background: #edf7f4;
    color: #0d745f;
    box-shadow: inset 0 0 0 1px #b9ded4;
    outline: 0;
    transform: none;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__label {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__symbol {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 7px;
    background: #e8f4f0;
    color: #2d7768;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__symbol svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__chevron {
    width: 18px;
    height: 18px;
    display: grid;
    flex: 0 0 18px;
    place-items: center;
    color: #66817b;
    transition: transform .16s ease;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__chevron svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion.is-open .rs-sidebar-accordion__chevron {
    transform: rotate(180deg);
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__panel[hidden] {
    display: none;
}

.rs-mobile-drawer__catalog .rs-sidebar-accordion__panel-inner {
    padding: 2px 9px 10px;
}

.rs-mobile-drawer__catalog .rs-sidebar-link-grid,
.rs-mobile-drawer__catalog .rs-sidebar-year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.rs-mobile-drawer__catalog .rs-sidebar-year-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rs-mobile-drawer__catalog .rs-sidebar-link-grid a,
.rs-mobile-drawer__catalog .rs-sidebar-year-grid a,
.rs-mobile-drawer__catalog .rs-sidebar-panel-more {
    min-width: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 7px;
    border: 1px solid #e0ebe7;
    border-radius: 8px;
    background: #ffffff;
    color: #48635d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
}

.rs-mobile-drawer__catalog .rs-sidebar-link-grid a:hover,
.rs-mobile-drawer__catalog .rs-sidebar-link-grid a:focus-visible,
.rs-mobile-drawer__catalog .rs-sidebar-year-grid a:hover,
.rs-mobile-drawer__catalog .rs-sidebar-year-grid a:focus-visible,
.rs-mobile-drawer__catalog .rs-sidebar-panel-more:hover,
.rs-mobile-drawer__catalog .rs-sidebar-panel-more:focus-visible {
    border-color: #b7dcd2;
    background: #eaf6f2;
    color: #0d745f;
    outline: 0;
    box-shadow: none;
    transform: none;
}

.rs-mobile-drawer__catalog .rs-sidebar-panel-more {
    width: 100%;
    margin-top: 6px;
}

.rs-mobile-drawer__actions {
    margin-top: 16px;
    padding-top: 16px;
    display: grid;
    gap: 8px;
    border-top: 1px solid #e1ece8;
}

.rs-mobile-drawer__actions button {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #b9ded4;
    border-radius: 11px;
    background: #e8f6f1;
    color: #0d745f;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 550;
    cursor: pointer;
}

.rs-mobile-drawer__actions button:last-child {
    background: #15947d;
    border-color: #15947d;
    color: #ffffff;
}

.rs-mobile-drawer__actions button:hover,
.rs-mobile-drawer__actions button:focus-visible {
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.16);
    outline: 0;
    filter: brightness(1.03);
}

/* Random-series modal. */

.rs-random-modal {
    position: fixed;
    inset: 0;
    z-index: 130000;
    display: grid;
    place-items: center;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.rs-random-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.rs-random-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(11, 30, 29, 0.64);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.rs-random-modal__dialog {
    position: relative;
    width: min(650px, 100%);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    border: 1px solid #d5e6e1;
    border-radius: 20px;
    background: #ffffff;
    color: #19312f;
    box-shadow: 0 28px 90px rgba(7, 31, 28, 0.32);
}

.rs-random-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid #d7e7e2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #455d59;
    cursor: pointer;
}

.rs-random-modal__close:hover,
.rs-random-modal__close:focus-visible {
    background: #e8f6f1;
    border-color: #a8d6ca;
    color: #0d745f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.16);
}

.rs-random-modal__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.rs-random-modal__body {
    min-height: 330px;
    padding: 20px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
}

.rs-random-modal__poster-wrap {
    min-height: 270px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, #e4f4ef, #f7fbfa);
    box-shadow: 0 12px 30px rgba(20, 63, 57, 0.14);
}

.rs-random-modal__poster {
    width: 100%;
    height: 100%;
    min-height: 270px;
    display: block;
    object-fit: cover;
}

.rs-random-modal__content {
    min-width: 0;
    padding: 8px 28px 0 0;
    display: flex;
    flex-direction: column;
}

.rs-random-modal__eyebrow {
    margin: 0 0 7px;
    color: #15947d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-random-modal__title {
    margin: 0;
    color: #19312f;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 550;
}

.rs-random-modal__meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rs-random-modal__meta span,
.rs-random-modal__rating {
    min-height: 28px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4e6e0;
    border-radius: 999px;
    background: #f7fbfa;
    color: #526a66;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
}

.rs-random-modal__rating {
    margin-top: 10px;
    width: max-content;
    border-color: #f0d48c;
    background: #fff8e7;
    color: #735b1b;
}

.rs-random-modal__description {
    margin: 14px 0 0;
    color: #526a66;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.rs-random-modal__status {
    margin: 16px 0 0;
    color: #617572;
    font-size: 13px;
    line-height: 1.45;
}

.rs-random-modal__actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rs-random-modal__watch,
.rs-random-modal__another {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    cursor: pointer;
}

.rs-random-modal__watch {
    border: 1px solid #15947d;
    background: #15947d;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(21, 148, 125, 0.18);
}

.rs-random-modal__another {
    border: 1px solid #c4ddd5;
    background: #f7fbfa;
    color: #0d745f;
}

.rs-random-modal__watch:hover,
.rs-random-modal__watch:focus-visible,
.rs-random-modal__another:hover,
.rs-random-modal__another:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.16);
    filter: brightness(1.03);
}

.rs-random-modal.is-loading .rs-random-modal__poster-wrap,
.rs-random-modal.is-loading .rs-random-modal__content {
    opacity: 0.5;
}

.rs-random-modal.is-loading .rs-random-modal__another {
    cursor: wait;
}

@media (max-width: 620px) {
    .rs-random-modal {
        padding: 10px;
        align-items: end;
    }

    .rs-random-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }

    .rs-random-modal__body {
        min-height: 0;
        padding: 16px;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
    }

    .rs-random-modal__poster-wrap,
    .rs-random-modal__poster {
        min-height: 165px;
    }

    .rs-random-modal__content {
        padding: 4px 26px 0 0;
    }

    .rs-random-modal__title {
        font-size: 20px;
    }

    .rs-random-modal__description {
        grid-column: 1 / -1;
    }

    .rs-random-modal__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .rs-random-modal__body {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .rs-random-modal__poster-wrap,
    .rs-random-modal__poster {
        min-height: 138px;
    }

    .rs-random-modal__title {
        font-size: 18px;
    }

    .rs-random-modal__meta span:nth-child(n + 3) {
        display: none;
    }

    .rs-random-modal__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Modern static/legal pages. */

.rs-shell-v1 .static-page {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 24px;
}

.rs-shell-v1 .static-page > .sub-title {
    margin: 0;
    padding: 22px 24px 12px;
    border: 0;
    background: transparent;
    text-align: left;
}

.rs-shell-v1 .static-page > .sub-title h1 {
    margin: 0;
    color: #19312f;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 550;
}

.rs-shell-v1 .static-page .full-text.video-box {
    padding: 0 24px 28px;
    text-align: left;
    color: #334d49;
    font-size: 14px;
    line-height: 1.65;
}

.rs-shell-v1 .rs-legal-page {
    display: grid;
    gap: 16px;
}

.rs-shell-v1 .rs-legal-lead,
.rs-shell-v1 .rs-legal-card,
.rs-shell-v1 .rs-legal-notice,
.rs-shell-v1 .rs-legal-contact {
    padding: 18px 20px;
    border: 1px solid #d8e7e2;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(20, 63, 57, 0.06);
}

.rs-shell-v1 .rs-legal-lead {
    background: linear-gradient(135deg, #f2faf7, #fffaf0);
}

.rs-shell-v1 .rs-legal-page h2 {
    margin: 0 0 10px;
    color: #19312f;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 550;
}

.rs-shell-v1 .rs-legal-page h3 {
    margin: 15px 0 8px;
    color: #29433f;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 550;
}

.rs-shell-v1 .rs-legal-page p {
    margin: 0 0 10px;
}

.rs-shell-v1 .rs-legal-page p:last-child {
    margin-bottom: 0;
}

.rs-shell-v1 .rs-legal-page ul,
.rs-shell-v1 .rs-legal-page ol {
    margin: 8px 0 0;
    padding-left: 22px;
}

.rs-shell-v1 .rs-legal-page li {
    margin: 5px 0;
}

.rs-shell-v1 .rs-legal-notice {
    border-color: #efd796;
    background: #fff9e9;
    color: #665522;
}

.rs-shell-v1 .rs-legal-contact {
    border-color: #b9ded4;
    background: #edf8f4;
}

.rs-shell-v1 .rs-legal-email {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #15947d;
    border-radius: 11px;
    background: #15947d;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 550;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(21, 148, 125, 0.16);
}

.rs-shell-v1 .rs-legal-email:hover,
.rs-shell-v1 .rs-legal-email:focus-visible {
    background: #0d745f;
    border-color: #0d745f;
    color: #ffffff;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.16);
}

.rs-shell-v1 .rs-legal-updated {
    color: #617572;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .rs-shell-v1 .static-page > .sub-title {
        padding: 18px 14px 10px;
    }

    .rs-shell-v1 .static-page > .sub-title h1 {
        font-size: 23px;
    }

    .rs-shell-v1 .static-page .full-text.video-box {
        padding: 0 14px 22px;
    }

    .rs-shell-v1 .rs-legal-lead,
    .rs-shell-v1 .rs-legal-card,
    .rs-shell-v1 .rs-legal-notice,
    .rs-shell-v1 .rs-legal-contact {
        padding: 15px;
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-mobile-drawer,
    .rs-random-modal,
    .rs-shell-v1 .rs-site-brand,
    .rs-shell-v1 .rs-site-search button,
    .rs-shell-v1 .rs-account-button,
    .rs-shell-v1 .rs-header-icon-button,
    .rs-shell-v1 .rs-header-feature,
    .rs-shell-v1 .rs-nav-random,
    .rs-shell-v1 .rs-footer-cta__actions button,
    .rs-shell-v1 .rs-footer-cta__actions a,
    .rs-shell-v1 .rs-footer-contact button,
    .rs-shell-v1 .rs-share-button {
        transition-duration: 0.01ms;
    }
}

.rs-shell-v1 .rs-shell-to-top,
.rs-shell-v1 .rs-shell-to-top:hover,
.rs-shell-v1 .rs-shell-to-top:focus-visible,
.rs-shell-v1 .rs-shell-to-top:active {
    transform: none;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button {
    transform: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        filter 160ms ease;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button:focus-visible,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button:active {
    transform: none;
    outline: 0;
    filter: brightness(1.07);
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--telegram {
    border-color: #2aabee;
    background: #2aabee;
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--vk {
    border-color: #447bba;
    background: #447bba;
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--ok {
    border-color: #ee8208;
    background: #ee8208;
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--whatsapp {
    border-color: #45b85d;
    background: #45b85d;
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--max {
    border-color: #6554e8;
    background: #6554e8;
    color: #ffffff;
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--telegram:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--telegram:focus-visible {
    box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.22);
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--vk:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--vk:focus-visible {
    box-shadow: 0 0 0 3px rgba(68, 123, 186, 0.22);
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--ok:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--ok:focus-visible {
    box-shadow: 0 0 0 3px rgba(238, 130, 8, 0.22);
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--whatsapp:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--whatsapp:focus-visible {
    box-shadow: 0 0 0 3px rgba(69, 184, 93, 0.22);
}

.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--max:hover,
.rs-shell-v1 .rs-footer-share-buttons .rs-share-button--max:focus-visible {
    box-shadow: 0 0 0 3px rgba(101, 84, 232, 0.22);
}

body.ruserials-dle-people .rs-site-nav__actions {
    display: none;
}

/* Mobile catalogue accordions. */

.rs-mobile-catalog {
    margin-top: 16px;
    padding-top: 16px;
    display: grid;
    gap: 8px;
    border-top: 1px solid #e1ece8;
}

.rs-mobile-catalog__title {
    margin: 0 0 2px;
    color: #5a716d;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 550;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rs-mobile-catalog__group {
    border: 1px solid #dceae6;
    border-radius: 12px;
    background: #f9fcfb;
    overflow: hidden;
}

.rs-mobile-catalog__group[open] {
    border-color: #b9ded4;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 63, 57, 0.08);
}

.rs-mobile-catalog__summary {
    min-height: 46px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 8px;
    color: #29433f;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.rs-mobile-catalog__summary::-webkit-details-marker {
    display: none;
}

.rs-mobile-catalog__summary-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e8f6f1;
    color: #0d745f;
}

.rs-mobile-catalog__summary-icon svg,
.rs-mobile-catalog__chevron {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-mobile-catalog__summary-label {
    min-width: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 550;
}

.rs-mobile-catalog__summary-count {
    color: #738783;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.rs-mobile-catalog__chevron {
    transition: transform 160ms ease;
}

.rs-mobile-catalog__group[open] .rs-mobile-catalog__chevron {
    transform: rotate(180deg);
}

.rs-mobile-catalog__links {
    padding: 0 10px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.rs-mobile-catalog__links a {
    min-height: 36px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    border: 1px solid #e3eeeb;
    border-radius: 9px;
    background: #ffffff;
    color: #39534f;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transform: none;
}

.rs-mobile-catalog__links a:hover,
.rs-mobile-catalog__links a:focus-visible {
    border-color: #add8cc;
    background: #e8f6f1;
    color: #0d745f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.12);
    transform: none;
}

/* Compact mobile random-series modal. */

@media (max-width: 620px) {
    .rs-random-modal__dialog {
        max-height: min(86dvh, 720px);
    }

    .rs-random-modal__body {
        padding: 16px;
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
        gap: 8px 14px;
    }

    .rs-random-modal__poster-wrap {
        width: 96px;
        min-height: 0;
        height: auto;
        aspect-ratio: 2 / 3;
        grid-column: 1;
        grid-row: 1 / span 4;
        align-self: start;
        border-radius: 13px;
    }

    .rs-random-modal__poster {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 2 / 3;
        object-fit: cover;
    }

    .rs-random-modal__content {
        display: contents;
    }

    .rs-random-modal__eyebrow {
        grid-column: 2;
        margin: 2px 34px 0 0;
    }

    .rs-random-modal__title {
        grid-column: 2;
        margin-right: 30px;
        font-size: 20px;
        line-height: 1.18;
    }

    .rs-random-modal__meta {
        grid-column: 2;
        margin-top: 2px;
    }

    .rs-random-modal__rating {
        grid-column: 2;
        margin-top: 0;
        max-width: 100%;
        width: fit-content;
    }

    .rs-random-modal__description {
        grid-column: 1 / -1;
        margin-top: 8px;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        font-size: 13px;
        line-height: 1.5;
    }

    .rs-random-modal__status {
        grid-column: 1 / -1;
        margin-top: 2px;
        font-size: 12px;
    }

    .rs-random-modal__actions {
        grid-column: 1 / -1;
        margin-top: 2px;
        padding-top: 10px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .rs-random-modal__watch,
    .rs-random-modal__another {
        min-height: 44px;
        padding-inline: 12px;
    }
}

@media (max-width: 350px) {
    .rs-random-modal__body {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 13px;
    }

    .rs-random-modal__poster-wrap {
        width: 82px;
    }

    .rs-random-modal__title {
        font-size: 18px;
    }

    .rs-random-modal__description {
        -webkit-line-clamp: 5;
    }
}

/* Taxonomy links. */

.rs-taxonomy-values[data-rs-taxonomy-kind],
.rs-fs-chip[data-rs-taxonomy-kind],
.rs-watch__chips > span[data-rs-taxonomy-kind],
.rs-catalog-card__meta-item[data-rs-taxonomy-kind] {
    position: relative;
}

.rs-taxonomy-link--year {
    color: #2b75a7;
    border-bottom-color: rgba(43, 117, 167, 0.34);
}

.rs-taxonomy-link--genre {
    color: #258d75;
    border-bottom-color: rgba(37, 141, 117, 0.34);
}

.rs-taxonomy-link--channel {
    color: #6b55a4;
    border-bottom-color: rgba(107, 85, 164, 0.34);
}

.rs-taxonomy-link--country {
    color: #a3692d;
    border-bottom-color: rgba(163, 105, 45, 0.34);
}

.rs-taxonomy-link--type {
    color: #4c6572;
    border-bottom-color: rgba(76, 101, 114, 0.34);
}

.rs-taxonomy-link--year:hover,
.rs-taxonomy-link--year:focus-visible {
    color: #1d5f8c;
    border-bottom-color: rgba(29, 95, 140, 0.72);
}

.rs-taxonomy-link--channel:hover,
.rs-taxonomy-link--channel:focus-visible {
    color: #58418f;
    border-bottom-color: rgba(88, 65, 143, 0.72);
}

.rs-taxonomy-link--country:hover,
.rs-taxonomy-link--country:focus-visible {
    color: #83501f;
    border-bottom-color: rgba(131, 80, 31, 0.72);
}

.rs-taxonomy-link--type:hover,
.rs-taxonomy-link--type:focus-visible {
    color: #354f5c;
    border-bottom-color: rgba(53, 79, 92, 0.72);
}

.rs-fs-chip .rs-taxonomy-link,
.rs-watch__chips > span .rs-taxonomy-link {
    border-bottom: 0;
    color: inherit;
    text-decoration: none;
}

.rs-fs-chip[data-rs-taxonomy-kind="year"],
.rs-watch__chips > span[data-rs-taxonomy-kind="year"] {
    border-color: #c8deed;
    background: #eef7fc;
    color: #2b6d99;
}

.rs-fs-chip[data-rs-taxonomy-kind="channel"] {
    border-color: #d7cfea;
    background: #f4f0fb;
    color: #654f99;
}

.rs-fs-chip[data-rs-taxonomy-kind="type"],
.rs-watch__chips > span[data-rs-taxonomy-kind="type"] {
    border-color: #d9e3e7;
    background: #f5f8f9;
    color: #4c6572;
}

.rs-catalog-card__meta-item[data-rs-taxonomy-kind] .rs-taxonomy-link {
    display: inline;
    font: inherit;
}

.rs-catalog-card__meta-item--year[data-rs-taxonomy-kind] .rs-taxonomy-link {
    color: #2b75a7;
}

.rs-catalog-card__meta-item--genre[data-rs-taxonomy-kind] .rs-taxonomy-link {
    color: #258d75;
}

/* Compact bookmark control on catalogue cards. */

.rs-catalog-card__favorite.to-fav {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(202, 220, 215, 0.94);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #276f60;
    box-shadow: 0 5px 16px rgba(18, 50, 46, 0.12);
    transform: none;
}

.rs-catalog-card__favorite.to-fav:hover,
.rs-catalog-card__favorite.to-fav:focus-within {
    border-color: #8fc9ba;
    background: #e8f6f1;
    color: #0d745f;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.14);
    transform: none;
}

.rs-catalog-card__favorite.to-fav .fa {
    width: 18px;
    height: 18px;
    display: block;
    color: inherit;
    background-color: currentColor;
    font-size: 0;
    line-height: 0;
    transform: none;
}

.rs-catalog-card__favorite.to-fav .fa::before {
    content: none;
}

.rs-catalog-card__favorite.to-fav .fa-star,
.rs-catalog-card__favorite.to-fav .fav-guest {
    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' d='M6.5 3.8h11v16.4L12 16.7l-5.5 3.5V3.8Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' d='M6.5 3.8h11v16.4L12 16.7l-5.5 3.5V3.8Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.rs-catalog-card__favorite.to-fav .fa-star-o {
    color: #15947d;
    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.2 2.8h11.6a1 1 0 0 1 1 1v17.3a.8.8 0 0 1-1.24.67L12 18.2l-5.56 3.57a.8.8 0 0 1-1.24-.67V3.8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.2 2.8h11.6a1 1 0 0 1 1 1v17.3a.8.8 0 0 1-1.24.67L12 18.2l-5.56 3.57a.8.8 0 0 1-1.24-.67V3.8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

/* Fullstory source logos and removal of duplicate watch action. */

.rs-fs-watch-jump {
    display: none;
}

.rs-fs-title-row:has(.rs-fs-chip--accent) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    align-items: start;
    gap: 12px;
}

.rs-fs-source-logos {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.rs-fs-source-logo {
    min-height: 38px;
    max-width: 132px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4e6e0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.76);
    color: #49635e;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(26, 67, 60, 0.08);
    transform: none;
}

.rs-fs-source-logo img {
    width: auto;
    max-width: 100%;
    height: 24px;
    max-height: 24px;
    display: block;
    object-fit: contain;
}

.rs-fs-source-logo span {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 550;
    white-space: nowrap;
}

.rs-fs-source-logo:hover,
.rs-fs-source-logo:focus-visible {
    border-color: #9fd0c4;
    background: #ffffff;
    color: #0d745f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, 0.13);
    transform: none;
}

/* Reduced motion keeps every interaction stable. */

@media (prefers-reduced-motion: reduce) {
    .rs-mobile-catalog__chevron,
    .rs-shell-v1 .rs-footer-share-buttons .rs-share-button {
        transition: none;
    }
}

.rs-fullstory-cinema .rs-fs-source-logos {
    align-items: center;
    gap: 10px;
}

.rs-fullstory-cinema .rs-fs-source-logo {
    min-width: 34px;
    min-height: 38px;
    max-width: 124px;
    padding: 1px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.rs-fullstory-cinema .rs-fs-source-logo:hover,
.rs-fullstory-cinema .rs-fs-source-logo:focus-visible {
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: 0;
    transform: none;
}

.rs-fullstory-cinema .rs-fs-source-logo img {
    width: auto;
    height: 32px;
    max-width: 118px;
    max-height: 38px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(20, 66, 58, 0.12));
    opacity: 1;
    transform: none;
    transition:
        filter 180ms ease,
        opacity 180ms ease;
}

.rs-fullstory-cinema .rs-fs-source-logo:hover img,
.rs-fullstory-cinema .rs-fs-source-logo:focus-visible img {
    filter:
        drop-shadow(0 4px 9px rgba(20, 66, 58, 0.2))
        saturate(1.05);
    opacity: 0.96;
    transform: none;
}

/* Federal and general TV channels. */

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/rossia.png"] {
    width: 104px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/perviy.png"] {
    width: 44px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/ntv.png"] {
    width: 43px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/sts.png"] {
    width: 55px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/tnt.png"] {
    width: 68px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/tv3.png"] {
    width: 43px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/rentv.png"] {
    width: 46px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/tvz.png"] {
    width: 76px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/domashniy.png"] {
    width: 56px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/patiy.png"] {
    width: 42px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/patniza.png"] {
    width: 74px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/subbota.png"] {
    width: 84px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/yu.png"] {
    width: 42px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/che.png"] {
    width: 58px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/zvezda.png"] {
    width: 45px;
    height: auto;
}

/* Online platforms. */

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/kion.png"] {
    width: 114px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/start.png"] {
    width: 110px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/wink.png"] {
    width: 98px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/okko.png"] {
    width: 43px;
    height: auto;
}

.rs-fullstory-cinema
.rs-fs-source-logo img[src$="/ivi.png"] {
    width: 45px;
    height: auto;
}

/* Mobile keeps clean marks but limits wide platform logos. */

@media (max-width: 470px) {
    .rs-fullstory-cinema .rs-fs-source-logos {
        gap: 7px;
    }

    .rs-fullstory-cinema .rs-fs-source-logo {
        min-width: 30px;
        min-height: 32px;
        max-width: 98px;
        padding: 0;
    }

    .rs-fullstory-cinema .rs-fs-source-logo img {
        max-width: 96px;
        max-height: 32px;
    }

    .rs-fullstory-cinema
    .rs-fs-source-logo img[src$="/rossia.png"] {
        width: 92px;
    }

    .rs-fullstory-cinema
    .rs-fs-source-logo img[src$="/domashniy.png"] {
        width: 49px;
    }

    .rs-fullstory-cinema
    .rs-fs-source-logo img[src$="/kion.png"],
    .rs-fullstory-cinema
    .rs-fs-source-logo img[src$="/start.png"] {
        width: 96px;
    }

    .rs-fullstory-cinema
    .rs-fs-source-logo img[src$="/wink.png"] {
        width: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-fullstory-cinema .rs-fs-source-logo img {
        transition: none;
    }
}

.rs-shell-v1 {
    --rs-side-width: 240px;
    --rs-side-surface: #ffffff;
    --rs-side-page: #f4f9f7;
    --rs-side-border: #d8e8e3;
    --rs-side-border-strong: #c5ded6;
    --rs-side-text: #18312e;
    --rs-side-muted: #667a76;
    --rs-side-accent: #15947d;
    --rs-side-accent-dark: #0d745f;
    --rs-side-accent-soft: #e8f6f1;
    --rs-side-warm: #f5c75b;
    --rs-side-danger: #df6a67;
    --rs-side-shadow: 0 9px 24px rgba(23, 69, 61, 0.07);
}

.rs-shell-v1 .cols {
    padding-left: var(--rs-side-width);
}

.rs-shell-v1 .cols::before {
    width: var(--rs-side-width);
    background: var(--rs-side-page);
}

.rs-shell-v1 .side.rs-sidebar-v2 {
    display: block;
    width: var(--rs-side-width);
    min-height: 0;
    margin-left: calc(-1 * var(--rs-side-width));
    padding: 16px 12px 26px;
    background: var(--rs-side-page);
    color: var(--rs-side-text);
    font-size: 13px;
    line-height: 1.45;
}

.rs-shell-v1 .rs-sidebar-v2__inner {
    display: grid;
    gap: 13px;
}

.rs-shell-v1 .rs-sidebar-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rs-side-border);
    border-radius: 15px;
    background: var(--rs-side-surface);
    box-shadow: var(--rs-side-shadow);
}

.rs-shell-v1 .rs-sidebar-card__header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px 11px;
    border-bottom: 1px solid #edf3f1;
}

.rs-shell-v1 .rs-sidebar-card__heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rs-shell-v1 .rs-sidebar-card__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--rs-side-accent-soft);
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-card__icon svg,
.rs-shell-v1 .rs-sidebar-accordion__symbol svg,
.rs-shell-v1 .rs-sidebar-accordion__chevron svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-shell-v1 .rs-sidebar-card__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--rs-side-accent-dark);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rs-shell-v1 .rs-sidebar-card h2 {
    margin: 0;
    color: var(--rs-side-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

.rs-shell-v1 .rs-sidebar-card__note {
    flex: 0 0 auto;
    color: var(--rs-side-muted);
    font-size: 12px;
    line-height: 1.2;
}

.rs-shell-v1 .rs-sidebar-card__all {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid var(--rs-side-border);
    border-radius: 8px;
    background: #fbfdfc;
    color: var(--rs-side-accent-dark);
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.rs-shell-v1 .rs-sidebar-card__all:hover,
.rs-shell-v1 .rs-sidebar-card__all:focus-visible {
    border-color: var(--rs-side-border-strong);
    background: var(--rs-side-accent-soft);
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-accordions {
    padding: 5px 9px 10px;
}

.rs-shell-v1 .rs-sidebar-accordion + .rs-sidebar-accordion {
    border-top: 1px solid #edf3f1;
}

.rs-shell-v1 .rs-sidebar-accordion__trigger {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin: 0;
    padding: 8px 6px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--rs-side-text);
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transform: none;
}

.rs-shell-v1 .rs-sidebar-accordion__trigger:hover,
.rs-shell-v1 .rs-sidebar-accordion__trigger:focus-visible {
    border: 0;
    background: var(--rs-side-accent-soft);
    color: var(--rs-side-accent-dark);
    box-shadow: none;
    transform: none;
}

.rs-shell-v1 .rs-sidebar-accordion__label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.rs-shell-v1 .rs-sidebar-accordion__symbol {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f7f5;
    color: #55716c;
}

.rs-shell-v1 .rs-sidebar-accordion.is-open .rs-sidebar-accordion__symbol {
    background: var(--rs-side-accent);
    color: #ffffff;
}

.rs-shell-v1 .rs-sidebar-accordion__chevron {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #79908b;
    transition: transform 180ms ease;
}

.rs-shell-v1 .rs-sidebar-accordion.is-open .rs-sidebar-accordion__chevron {
    transform: rotate(180deg);
}

.rs-shell-v1 .rs-sidebar-accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 190ms ease, opacity 150ms ease;
}

.rs-shell-v1 .rs-sidebar-accordion.is-open .rs-sidebar-accordion__panel {
    grid-template-rows: 1fr;
    opacity: 1;
}

.rs-shell-v1 .rs-sidebar-accordion__panel-inner {
    min-height: 0;
    overflow: hidden;
}

.rs-shell-v1 .rs-sidebar-link-grid,
.rs-shell-v1 .rs-sidebar-year-grid {
    display: grid;
    gap: 5px 7px;
    padding: 1px 5px 12px 43px;
}

.rs-shell-v1 .rs-sidebar-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-shell-v1 .rs-sidebar-year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs-shell-v1 .rs-sidebar-link-grid a,
.rs-shell-v1 .rs-sidebar-year-grid a {
    min-width: 0;
    display: block;
    padding: 5px 6px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #3f5753;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.rs-shell-v1 .rs-sidebar-link-grid a:hover,
.rs-shell-v1 .rs-sidebar-link-grid a:focus-visible,
.rs-shell-v1 .rs-sidebar-year-grid a:hover,
.rs-shell-v1 .rs-sidebar-year-grid a:focus-visible,
.rs-shell-v1 .rs-sidebar-link-grid a.is-current,
.rs-shell-v1 .rs-sidebar-year-grid a.is-current {
    border-color: #cce4dc;
    background: var(--rs-side-accent-soft);
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-panel-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 5px 12px 43px;
    padding: 8px 10px;
    border: 1px solid var(--rs-side-border);
    border-radius: 9px;
    background: #fbfdfc;
    color: var(--rs-side-accent-dark);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.rs-shell-v1 .rs-sidebar-live-dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border: 3px solid #fde6e4;
    border-radius: 50%;
    background: var(--rs-side-danger);
    box-shadow: 0 0 0 4px rgba(223, 106, 103, 0.08);
}

.rs-shell-v1 .rs-sidebar-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 10px 12px 6px;
    padding: 4px;
    border-radius: 10px;
    background: #eef5f3;
}

.rs-shell-v1 .rs-sidebar-tab {
    min-height: 34px;
    margin: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #617773;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
    box-shadow: none;
    transform: none;
}

.rs-shell-v1 .rs-sidebar-tab:hover,
.rs-shell-v1 .rs-sidebar-tab:focus-visible {
    border: 0;
    background: rgba(255, 255, 255, 0.68);
    color: var(--rs-side-accent-dark);
    box-shadow: none;
    transform: none;
}

.rs-shell-v1 .rs-sidebar-tab.is-active {
    background: #ffffff;
    color: var(--rs-side-accent-dark);
    box-shadow: 0 3px 9px rgba(22, 78, 68, 0.08);
}

.rs-shell-v1 .rs-sidebar-audience__viewport {
    height: 390px;
    min-height: 390px;
    max-height: 390px;
    padding: 2px 10px 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.rs-shell-v1 .rs-sidebar-tab-panel[hidden] {
    display: none;
}

.rs-shell-v1 .rs-sidebar-ranking {
    height: 380px;
    display: grid;
    grid-template-rows: repeat(5, 76px);
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.rs-shell-v1 .rs-sidebar-ranking__item {
    position: relative;
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 25px;
    align-items: center;
    gap: 9px;
    padding: 6px 2px;
    overflow: hidden;
    border-bottom: 1px solid #edf3f1;
    box-sizing: border-box;
}

.rs-shell-v1 .rs-sidebar-ranking__item:last-child {
    border-bottom: 0;
}

.rs-shell-v1 .rs-sidebar-ranking__link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 9px;
}

.rs-shell-v1 .rs-sidebar-ranking__poster {
    width: 48px;
    height: 64px;
    display: block;
    overflow: hidden;
    border-radius: 9px;
    background: #eaf1ef;
}

.rs-shell-v1 .rs-sidebar-ranking__poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rs-shell-v1 .rs-sidebar-ranking__copy {
    min-width: 0;
}

.rs-shell-v1 .rs-sidebar-ranking__title {
    height: 31px;
    display: -webkit-box;
    margin-bottom: 3px;
    overflow: hidden;
    color: #29413d;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rs-shell-v1 .rs-sidebar-ranking__meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    color: var(--rs-side-muted);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-shell-v1 .rs-sidebar-ranking__meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: #6686c8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-shell-v1 .rs-sidebar-ranking__position {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef1ff;
    color: #5964d8;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.rs-shell-v1 .rs-sidebar-ranking__item:hover {
    background: #f7fbfa;
}

.rs-shell-v1 .rs-sidebar-ranking__skeleton {
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid #edf3f1;
    box-sizing: border-box;
    background:
        linear-gradient(#edf3f1 0 0) 2px 7px / 48px 64px no-repeat,
        linear-gradient(#edf3f1 0 0) 60px 17px / 125px 10px no-repeat,
        linear-gradient(#f2f6f5 0 0) 60px 39px / 94px 9px no-repeat;
    animation: rs-sidebar-skeleton 1.4s ease-in-out infinite alternate;
}

@keyframes rs-sidebar-skeleton {
    from { opacity: 0.58; }
    to { opacity: 1; }
}

.rs-shell-v1 .rs-sidebar-audience__footer {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #edf3f1;
    color: var(--rs-side-muted);
    font-size: 12px;
    line-height: 1.25;
}

.rs-shell-v1 .rs-sidebar-audience__method {
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-new-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.rs-shell-v1 .rs-sidebar-new-item {
    min-width: 0;
    display: block;
    color: var(--rs-side-text);
    text-decoration: none;
}

.rs-shell-v1 .rs-sidebar-new-item__poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    display: block;
    overflow: hidden;
    border-radius: 11px;
    background: #e7efed;
}

.rs-shell-v1 .rs-sidebar-new-item__poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: filter 170ms ease;
}

.rs-shell-v1 .rs-sidebar-new-item:hover .rs-sidebar-new-item__poster img {
    filter: brightness(1.04);
}

.rs-shell-v1 .rs-sidebar-new-item__badge {
    position: absolute;
    top: 5px;
    right: 5px;
    max-width: calc(100% - 10px);
    padding: 4px 6px;
    overflow: hidden;
    border-radius: 7px;
    background: #f7d766;
    color: #42370f;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-shell-v1 .rs-sidebar-new-item__title {
    display: -webkit-box;
    min-height: 32px;
    margin-top: 7px;
    overflow: hidden;
    color: #28403c;
    font-size: 12px;
    line-height: 1.32;
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rs-shell-v1 .rs-sidebar-new-item:hover .rs-sidebar-new-item__title {
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-collection-grid {
    display: grid;
    gap: 7px;
    padding: 11px 12px 10px;
}

.rs-shell-v1 .rs-sidebar-collection-grid a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid #e1ece8;
    border-radius: 10px;
    background: #fbfdfc;
    color: #334b47;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
}

.rs-shell-v1 .rs-sidebar-collection-grid a:hover,
.rs-shell-v1 .rs-sidebar-collection-grid a:focus-visible {
    border-color: #c6dfd7;
    background: var(--rs-side-accent-soft);
    color: var(--rs-side-accent-dark);
}

.rs-shell-v1 .rs-sidebar-collection-grid small {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef6f3;
    color: var(--rs-side-accent);
    font-size: 14px;
    line-height: 1;
}

.rs-shell-v1 .rs-sidebar-collections__all {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 12px 12px;
    padding: 9px 11px;
    border-radius: 10px;
    background: var(--rs-side-accent);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
}

.rs-shell-v1 .rs-sidebar-collections__all:hover,
.rs-shell-v1 .rs-sidebar-collections__all:focus-visible {
    background: var(--rs-side-accent-dark);
    color: #ffffff;
}

.rs-shell-v1 .rs-sidebar-v2 a:focus-visible,
.rs-shell-v1 .rs-sidebar-v2 button:focus-visible {
    outline: 3px solid rgba(245, 199, 91, 0.62);
    outline-offset: 2px;
}

body.ruserials-dle-people .rs-shell-v1 .side.rs-sidebar-v2 {
    display: none;
}

body.ruserials-dle-people .rs-shell-v1 .cols {
    padding-left: 0;
}

body.ruserials-dle-people .rs-shell-v1 .cols::before {
    display: none;
}

@media (max-width: 1040px) and (min-width: 951px) {
    .rs-shell-v1 {
        --rs-side-width: 232px;
    }

    .rs-shell-v1 .side.rs-sidebar-v2 {
        padding-inline: 10px;
    }

    .rs-shell-v1 .rs-sidebar-link-grid,
    .rs-shell-v1 .rs-sidebar-year-grid {
        padding-left: 38px;
    }

    .rs-shell-v1 .rs-sidebar-link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .rs-shell-v1 .cols {
        padding-left: 0;
    }

    .rs-shell-v1 .cols::before,
    .rs-shell-v1 .side.rs-sidebar-v2 {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-shell-v1 .rs-sidebar-accordion__panel,
    .rs-shell-v1 .rs-sidebar-accordion__chevron,
    .rs-shell-v1 .rs-sidebar-new-item__poster img {
        transition: none;
    }

    .rs-shell-v1 .rs-sidebar-ranking__skeleton {
        animation: none;
    }
}

@media (min-width: 1221px) {
    .rs-shell-v1 > .center {
        max-width: 1180px;
    }
}

@media (min-width: 951px) and (max-width: 1220px) {
    .rs-shell-v1 > .center {
        max-width: calc(100% - 24px);
    }
}

.rs-shell-v1 .side.rs-sidebar-v2 {
    padding: 14px 9px 26px;
}

.rs-shell-v1 .rs-sidebar-v2__inner {
    gap: 12px;
}

.rs-shell-v1 .rs-sidebar-card {
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(23, 69, 61, 0.055);
}

.rs-shell-v1 .rs-sidebar-card__header {
    min-height: 56px;
    padding: 11px 11px 10px;
}

.rs-shell-v1 .rs-sidebar-card__heading {
    gap: 8px;
}

.rs-shell-v1 .rs-sidebar-card__icon {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
}

.rs-shell-v1 .rs-sidebar-card h2 {
    font-size: 15px;
    font-weight: 500;
}

.rs-shell-v1 .rs-sidebar-card__eyebrow {
    font-weight: 500;
}

.rs-shell-v1 .rs-sidebar-card__note {
    font-size: 12px;
}

#rs-sidebar-v2 .rs-sidebar-accordions {
    display: grid;
    gap: 6px;
    padding: 8px;
}

#rs-sidebar-v2 .rs-sidebar-accordion + .rs-sidebar-accordion {
    margin-top: 0;
    border-top: 0;
}

#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-accordion__trigger {
    width: 100%;
    height: 41px;
    min-height: 41px;
    display: flex;
    margin: 0;
    padding: 5px 8px;
    border: 1px solid #dde9e5;
    border-radius: 10px;
    background: #fbfdfc;
    color: #304944;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-align: left;
    box-shadow: none;
    transform: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-accordion__trigger:hover,
#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-accordion__trigger:focus-visible {
    border-color: #c7ddd6;
    background: #f2f8f6;
    color: #176f5e;
    box-shadow: none;
    transform: none;
}

#rs-sidebar-v2
.rs-sidebar-accordion.is-open
button.rs-shell-control.rs-sidebar-accordion__trigger {
    border-color: #badbd1;
    background: #e8f5f1;
    color: #0d745f;
    box-shadow: inset 3px 0 0 #299a82;
}

#rs-sidebar-v2 .rs-sidebar-accordion__label {
    gap: 7px;
}

#rs-sidebar-v2 .rs-sidebar-accordion__symbol {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #edf5f2;
    color: #55716c;
}

#rs-sidebar-v2
.rs-sidebar-accordion.is-open
.rs-sidebar-accordion__symbol {
    background: #d9eee7;
    color: #0d745f;
}

#rs-sidebar-v2 .rs-sidebar-accordion__chevron {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

#rs-sidebar-v2 .rs-sidebar-link-grid,
#rs-sidebar-v2 .rs-sidebar-year-grid {
    gap: 3px 5px;
    padding: 5px 2px 9px;
}

#rs-sidebar-v2 .rs-sidebar-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#rs-sidebar-v2 .rs-sidebar-year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#rs-sidebar-v2 .rs-sidebar-link-grid a,
#rs-sidebar-v2 .rs-sidebar-year-grid a {
    padding: 5px 3px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

#rs-sidebar-v2 .rs-sidebar-panel-more {
    margin: 2px 2px 10px;
    font-weight: 500;
}

#rs-sidebar-v2 .rs-sidebar-tabs {
    margin: 9px 9px 6px;
}

#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-tab {
    width: auto;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #617773;
    font: inherit;
    font-size: 12px;
    line-height: 34px;
    font-weight: 500;
    box-shadow: none;
    transform: none;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-tab:hover,
#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-tab:focus-visible {
    border: 0;
    background: rgba(255, 255, 255, 0.74);
    color: #0d745f;
    box-shadow: none;
    transform: none;
}

#rs-sidebar-v2
button.rs-shell-control.rs-sidebar-tab.is-active {
    background: #ffffff;
    color: #0d745f;
    box-shadow: 0 2px 8px rgba(22, 78, 68, 0.08);
}

#rs-sidebar-v2 .rs-sidebar-audience__viewport {
    height: 356px;
    min-height: 356px;
    max-height: 356px;
    padding: 3px 8px;
}

#rs-sidebar-v2 .rs-sidebar-ranking {
    height: 350px;
    grid-template-rows: repeat(5, 70px);
}

#rs-sidebar-v2 .rs-sidebar-ranking__item {
    height: 70px;
    min-height: 70px;
    grid-template-columns: 41px minmax(0, 1fr) 23px;
    gap: 7px;
    padding: 5px 1px;
}

#rs-sidebar-v2 .rs-sidebar-ranking__poster {
    width: 41px;
    height: 58px;
    border-radius: 8px;
}

#rs-sidebar-v2 .rs-sidebar-ranking__title {
    margin-bottom: 3px;
    font-weight: 500;
}

#rs-sidebar-v2 .rs-sidebar-ranking__meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rs-sidebar-v2 .rs-sidebar-ranking__position {
    width: 23px;
    height: 23px;
    font-weight: 500;
}

#rs-sidebar-v2 .rs-sidebar-ranking__skeleton {
    min-height: 70px;
    height: 70px;
    background:
        linear-gradient(#edf3f1 0 0) 1px 6px / 41px 58px no-repeat,
        linear-gradient(#edf3f1 0 0) 50px 15px / 100px 9px no-repeat,
        linear-gradient(#f2f6f5 0 0) 50px 36px / 74px 8px no-repeat;
}

#rs-sidebar-v2 .rs-sidebar-audience__footer {
    min-height: 36px;
    justify-content: flex-start;
    padding: 8px 9px;
    white-space: nowrap;
}

#rs-sidebar-v2 .rs-sidebar-new-grid {
    gap: 8px;
    padding: 9px;
}

#rs-sidebar-v2 .rs-sidebar-new-item__title,
#rs-sidebar-v2 .rs-sidebar-collection-grid a,
#rs-sidebar-v2 .rs-sidebar-collections__all {
    font-weight: 500;
}

#rs-sidebar-v2 .rs-sidebar-collection-grid {
    gap: 6px;
    padding: 9px;
}

#rs-sidebar-v2 .rs-sidebar-collection-grid a {
    min-height: 36px;
    padding: 7px 8px;
}

#rs-sidebar-v2 .rs-sidebar-collections__all {
    margin: 0 9px 9px;
}

@media (min-width: 761px) and (max-width: 950px) {
    .rs-shell-v1 {
        --rs-side-width: clamp(190px, 23vw, 220px);
    }

    .rs-shell-v1 > .center {
        max-width: calc(100% - 16px);
    }

    .rs-shell-v1 .side.rs-sidebar-v2 {
        padding-inline: 8px;
    }

    #rs-sidebar-v2 .rs-sidebar-link-grid {
        grid-template-columns: 1fr;
    }

    #rs-sidebar-v2 .rs-sidebar-link-grid,
    #rs-sidebar-v2 .rs-sidebar-year-grid {
        padding-left: 1px;
        padding-right: 1px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-tabs {
        grid-template-columns:
            minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 2px;
        margin: 8px 6px 6px;
        padding: 3px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    button.rs-shell-control.rs-sidebar-tab {
        min-width: 0;
        padding-inline: 3px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-audience__viewport {
        padding-inline: 5px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-ranking__item {
        grid-template-columns:
            36px minmax(0, 1fr) 21px;
        gap: 5px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-ranking__poster {
        width: 36px;
        height: 54px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-ranking__position {
        width: 21px;
        height: 21px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-ranking__title {
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    ) {
        min-height: 0;
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) auto;
        align-items: end;
        gap: 6px;
        padding: 9px 8px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    )
    .rs-sidebar-card__heading {
        width: auto;
        min-width: 0;
        gap: 6px;
        align-items: flex-start;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    )
    .rs-sidebar-card__heading > div {
        min-width: 0;
        flex: 1 1 auto;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    )
    .rs-sidebar-card__icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    )
    .rs-sidebar-card__eyebrow {
        max-width: 100%;
        overflow: visible;
        letter-spacing: .025em;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__header:has(
        .rs-sidebar-card__all
    )
    h2 {
        width: 100%;
        min-width: 0;
        padding-right: 0;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.2;
        overflow-wrap: normal;
        word-break: normal;
    }

    body[data-rs-v2-foundation="1"]
    #rs-sidebar-v2
    .rs-sidebar-card__all {
        position: static;
        align-self: end;
        padding: 4px 6px;
        white-space: nowrap;
    }
}

@media (max-width: 1040px) and (min-width: 951px) {
    .rs-shell-v1 {
        --rs-side-width: 232px;
    }

    .rs-shell-v1 .side.rs-sidebar-v2 {
        padding-inline: 8px;
    }

    #rs-sidebar-v2 .rs-sidebar-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #rs-sidebar-v2 .rs-sidebar-link-grid,
    #rs-sidebar-v2 .rs-sidebar-year-grid {
        padding-left: 1px;
        padding-right: 1px;
    }
}

body[data-rs-home-main-grid="2"]
.main > .items:has(> .rs-catalog-card) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.main > .items:has(> .rs-catalog-card)::after {
    display: none;
    content: none;
}

body[data-rs-home-main-grid="2"]
.main > .items:has(> .rs-catalog-card)
> .rs-catalog-card {
    width: auto;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    float: none;
    border-radius: 12px;
}

body[data-rs-home-main-grid="2"]
.main > .items:has(> .rs-catalog-card)
> :not(.rs-catalog-card) {
    grid-column: 1 / -1;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__visual {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    aspect-ratio: 2 / 3;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__poster,
body[data-rs-home-main-grid="2"]
.rs-catalog-card__poster img {
    width: 100%;
    height: 100%;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__poster img {
    object-fit: cover;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__title {
    display: -webkit-box;
    min-height: 36px;
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__meta {
    min-height: 32px;
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__description {
    display: -webkit-box;
    min-height: 32px;
    max-height: 32px;
    margin-top: 5px;
    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__footer {
    min-width: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 7px;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__rating {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__rating strong,
body[data-rs-home-main-grid="2"]
.rs-catalog-card__rating small {
    font-size: 12px;
    font-weight: 500;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__votes-pill-label {
    display: none;
}

body[data-rs-home-main-grid="2"]
.rs-catalog-card__watch {
    min-height: 31px;
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

#rs-sidebar-v2 .rs-sidebar-audience__header {
    min-height: 52px;
    padding-top: 9px;
    padding-bottom: 9px;
}

#rs-sidebar-v2 .rs-sidebar-audience__header
.rs-sidebar-card__heading {
    align-items: center;
}

#rs-sidebar-v2 .rs-sidebar-audience__header h2 {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

#rs-sidebar-v2 .rs-sidebar-live-dot {
    position: relative;
    box-shadow: 0 0 0 0 rgba(225, 85, 77, 0.34);
    animation: rs-sidebar-live-pulse 2.2s ease-out infinite;
}

@keyframes rs-sidebar-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 85, 77, 0.34);
    }
    62% {
        box-shadow: 0 0 0 7px rgba(225, 85, 77, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 85, 77, 0);
    }
}

#rs-sidebar-v2 .rs-sidebar-collections__all {
    min-height: 37px;
    border: 1px solid #bddbd2;
    background: #f7fbfa;
    color: #16705f;
    box-shadow: none;
}

#rs-sidebar-v2 .rs-sidebar-collections__all:hover,
#rs-sidebar-v2 .rs-sidebar-collections__all:focus-visible {
    border-color: #9fcbbf;
    background: #eaf6f2;
    color: #0d6655;
    box-shadow: none;
    transform: none;
}

#rs-sidebar-v2 .rs-sidebar-discussions__list {
    display: grid;
    margin: 0;
    padding: 5px 9px 10px;
    list-style: none;
}

#rs-sidebar-v2 .rs-sidebar-discussions__item {
    min-width: 0;
    border-bottom: 1px solid #edf3f1;
}

#rs-sidebar-v2 .rs-sidebar-discussions__item:last-child {
    border-bottom: 0;
}

#rs-sidebar-v2 .rs-sidebar-discussions__link {
    min-width: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 1px;
    color: #2f4743;
    text-decoration: none;
}

#rs-sidebar-v2 .rs-sidebar-discussions__link:hover,
#rs-sidebar-v2 .rs-sidebar-discussions__link:focus-visible {
    color: #0d745f;
    transform: none;
}

#rs-sidebar-v2 .rs-sidebar-discussions__icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eef7f4;
    color: #278c77;
}

#rs-sidebar-v2 .rs-sidebar-discussions__icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#rs-sidebar-v2 .rs-sidebar-discussions__copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

#rs-sidebar-v2 .rs-sidebar-discussions__title {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rs-sidebar-v2 .rs-sidebar-discussions__excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: #667b77;
    font-size: 12px;
    line-height: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#rs-sidebar-v2 .rs-sidebar-discussions__meta {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 7px;
    overflow: hidden;
    color: #82938f;
    font-size: 12px;
    line-height: 1.25;
}

#rs-sidebar-v2 .rs-sidebar-discussions__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rs-sidebar-v2 .rs-sidebar-discussions__skeleton {
    min-height: 74px;
    border-bottom: 1px solid #edf3f1;
    background:
        linear-gradient(#edf3f1 0 0) 1px 12px / 28px 28px no-repeat,
        linear-gradient(#edf3f1 0 0) 38px 12px / 126px 9px no-repeat,
        linear-gradient(#f2f6f5 0 0) 38px 31px / 150px 8px no-repeat,
        linear-gradient(#f2f6f5 0 0) 38px 48px / 104px 8px no-repeat;
    animation: rs-sidebar-discussion-skeleton 1.4s ease-in-out infinite alternate;
}

#rs-sidebar-v2 .rs-sidebar-discussions__empty {
    padding: 14px 3px;
    color: #6d817d;
    font-size: 12px;
    line-height: 1.4;
}

@keyframes rs-sidebar-discussion-skeleton {
    from { opacity: 0.58; }
    to { opacity: 1; }
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-picker-launch,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card__content,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-actor-day__content {
    display: flex;
    flex-direction: column;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-picker-launch p,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-actor-day p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-picker-launch p {
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-picker-launch .rs-discovery-button,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card__actions,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-actor-day__works {
    margin-top: auto;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card__media,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card h3 a {
    color: inherit;
    text-decoration: none;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card .rs-discovery-card__meta {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    overflow: hidden;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card .rs-discovery-card__meta a,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card .rs-discovery-card__meta span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #f3fbf8;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card .rs-discovery-card__meta a:hover,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card .rs-discovery-card__meta a:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: none;
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-actor-day p {
    -webkit-line-clamp: 3;
}

@container rs-discovery (min-width: 761px) {
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery__stack {
        display: grid;
        grid-template-rows: 126px 158px 180px;
        gap: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch {
        min-height: 126px;
        padding: 13px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch h3 {
        margin-bottom: 5px;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 500;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch p {
        min-height: 32px;
        max-height: 32px;
        margin: 0 48px 8px 0;
        font-size: 12px;
        line-height: 16px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        min-height: 158px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        padding: 11px 12px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card h3 {
        min-height: 40px;
        margin: 4px 0 6px;
        font-size: 16px;
        line-height: 20px;
        font-weight: 500;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card .rs-discovery-card__meta {
        max-height: 30px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__photo,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__content {
        min-height: 180px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__content {
        padding: 12px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day h3 {
        min-height: 40px;
        display: -webkit-box;
        margin: 5px 0 7px;
        overflow: hidden;
        font-size: 16px;
        line-height: 20px;
        font-weight: 500;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day p {
        min-height: 51px;
        max-height: 51px;
        margin: 4px 0 7px;
        font-size: 12px;
        line-height: 17px;
    }
}

@container rs-discovery (max-width: 760px) and (min-width: 521px) {
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery__stack {
        grid-template-rows: 166px;
        gap: 8px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery__stack > *,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__photo,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__content {
        min-height: 166px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch p {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card .rs-discovery-card__meta {
        max-height: 25px;
        flex-wrap: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day p {
        min-height: 34px;
        max-height: 34px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 1220px) and (min-width: 951px) {
    body[data-rs-home-main-grid="2"]
    .main > .items:has(> .rs-catalog-card) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 950px) and (min-width: 761px) {
    body[data-rs-home-main-grid="2"]
    .main > .items:has(> .rs-catalog-card) {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (max-width: 760px) {
    body[data-rs-home-main-grid="2"]
    .main > .items:has(> .rs-catalog-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body[data-rs-home-main-grid="2"]
    .rs-catalog-card__body {
        padding: 8px;
    }

    body[data-rs-home-main-grid="2"]
    .rs-catalog-card__description {
        display: none;
    }

    body[data-rs-home-main-grid="2"]
    .rs-catalog-card__meta {
        min-height: 16px;
        max-height: 16px;
        -webkit-line-clamp: 1;
    }

    body[data-rs-home-main-grid="2"]
    .rs-catalog-card__title {
        min-height: 34px;
        font-size: 13px;
        line-height: 17px;
    }

    body[data-rs-home-main-grid="2"]
    .rs-catalog-card__watch {
        padding-inline: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #rs-sidebar-v2 .rs-sidebar-live-dot,
    #rs-sidebar-v2 .rs-sidebar-discussions__skeleton {
        animation: none;
    }
}

.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery__stack,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery__stack > *,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-random-card__content,
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-actor-day__content {
    min-width: 0;
    box-sizing: border-box;
}

@container rs-discovery (min-width: 761px) {
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery__stack {
        grid-template-rows: 126px 166px 184px;
        gap: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch {
        height: 126px;
        min-height: 126px;
        padding: 11px 13px;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch p {
        display: none;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch
    .rs-discovery-card__label {
        max-width: calc(100% - 48px);
        margin-bottom: 2px;
        overflow: hidden;
        letter-spacing: .045em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch h3 {
        max-width: calc(100% - 44px);
        margin: 2px 0 6px;
        overflow: hidden;
        font-size: 17px;
        line-height: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-picker-launch
    .rs-discovery-button {
        margin-top: auto;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        height: 166px;
        min-height: 166px;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card {
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        width: 100%;
        min-width: 0;
        padding: 10px 11px;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content > * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__label {
        width: 100%;
        margin-bottom: 2px;
        overflow: hidden;
        letter-spacing: .04em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card h3 {
        width: 100%;
        min-height: 38px;
        max-height: 38px;
        margin: 3px 0 4px;
        font-size: 16px;
        line-height: 19px;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card h3 a {
        display: block;
        max-width: 100%;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta {
        width: 100%;
        min-width: 0;
        min-height: 25px;
        max-height: 29px;
        margin-top: 3px;
        gap: 4px;
        flex-wrap: wrap;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta a,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta span {
        min-height: 24px;
        padding: 3px 6px;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);
        gap: 6px;
        margin-top: 6px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions a,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions button {
        width: 100%;
        min-width: 0;
        min-height: 32px;
        padding: 0 5px;
        overflow: hidden;
        box-sizing: border-box;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__photo,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__content {
        height: 184px;
        min-height: 184px;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day {
        grid-template-columns:
            104px minmax(0, 1fr);
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__content {
        min-width: 0;
        padding: 11px;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day
    .rs-discovery-card__label {
        max-width: 100%;
        margin-bottom: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day h3 {
        width: 100%;
        min-height: 38px;
        max-height: 38px;
        margin: 3px 0 4px;
        font-size: 16px;
        line-height: 19px;
        -webkit-line-clamp: 2;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day h3 a {
        display: block;
        max-width: 100%;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day p {
        min-height: 51px;
        max-height: 51px;
        margin: 3px 0 5px;
        line-height: 17px;
        -webkit-line-clamp: 3;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-actor-day__works {
        max-width: 100%;
        margin-top: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 1220px) and (min-width: 761px) {
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-discovery__stack {
        grid-template-rows: 126px 184px 184px;
        gap: 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        width: 100%;
        max-width: 100%;
        height: 184px;
        min-height: 184px;
        box-sizing: border-box;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content {
        padding: 9px 10px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__content > * {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__label {
        margin-bottom: 2px;
        overflow: hidden;
        letter-spacing: .035em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card h3 {
        min-height: 38px;
        max-height: 38px;
        margin: 3px 0 4px;
        font-size: 15px;
        line-height: 19px;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        grid-auto-rows: 24px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 24px;
        max-height: 52px;
        margin-top: 2px;
        gap: 4px;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta a,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card
    .rs-discovery-card__meta span {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 24px;
        padding: 0 5px;
        overflow: hidden;
        box-sizing: border-box;
        font-size: 12px;
        line-height: 22px;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions {
        display: grid;
        grid-template-columns:
            74px minmax(0, 1fr);
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-top: 6px;
        gap: 5px;
        overflow: hidden;
    }

    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions a,
    .rs-discovery[data-rs-discovery-version="1.1"]
    .rs-random-card__actions button {
        display: flex;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 31px;
        padding: 0 3px;
        overflow: hidden;
        box-sizing: border-box;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Final source-owned corrections. No new priority overrides. */

body[data-rs-v2-foundation="1"] .rs-native-carousel__arrow:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__body {
    min-width: 0;
    padding: 9px 10px 10px;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__title {
    display: block;
    min-height: 20px;
    max-height: 20px;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__meta {
    min-width: 0;
    min-height: 18px;
    max-height: 18px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    overflow: hidden;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__meta-item {
    min-width: 0;
    overflow: hidden;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__meta-item--year {
    flex: 0 0 auto;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__meta-item--type {
    display: none;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__meta-item--genre {
    flex: 1 1 auto;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__description {
    min-height: 34px;
    max-height: 34px;
    margin-top: 3px;
    font-size: 12px;
    line-height: 17px;
    -webkit-line-clamp: 2;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__footer {
    min-width: 0;
    min-height: 37px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding-top: 5px;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 24px;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 4px;
    overflow: hidden;
    box-sizing: border-box;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill-label {
    display: none;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__watch {
    min-width: 72px;
    min-height: 30px;
    padding: 5px 8px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

/*
 * Hero metadata uses direct data-attribute ownership.
 * This survives replacement of placeholder spans with anchors.
 */

body[data-rs-v2-foundation="1"] [data-rs-series-day-meta] > a,
body[data-rs-v2-foundation="1"] [data-rs-series-day-meta] > span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(7, 21, 27, .62);
    color: #ffffff;
    font: inherit;
    line-height: 22px;
    text-decoration: none;
    transition: none;
    -webkit-text-fill-color: #ffffff;
}

body[data-rs-v2-foundation="1"] [data-rs-series-day-meta] > a:hover,
body[data-rs-v2-foundation="1"] [data-rs-series-day-meta] > a:focus-visible {
    border-color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    transform: none;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-discussions__list {
    height: 332px;
    min-height: 332px;
    max-height: 332px;
    grid-template-rows: repeat(4, 83px);
    overflow: hidden;
    box-sizing: border-box;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-discussions__item,
body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-discussions__skeleton {
    min-height: 83px;
    max-height: 83px;
    overflow: hidden;
    box-sizing: border-box;
}

body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-chip[data-rs-taxonomy-seed],
body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-watch__chips a[data-rs-taxonomy-seed] {
    color: inherit;
    text-decoration: none;
}

body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-chip--accent[data-rs-taxonomy-seed] {
    color: var(--rs-fs-accent-dark);
}

body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-source-logos {
    width: 132px;
    min-width: 132px;
    height: 38px;
    min-height: 38px;
    flex: 0 0 132px;
    overflow: hidden;
}

body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-actions {
    min-height: 64px;
}

body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-watch__stage {
    min-height: 555px;
}

body[data-rs-v2-foundation="1"] .rs-shell-search-box button[type="submit"] svg {
    display: block;
    margin: 0;
    transform: none;
}

@media (max-width: 1219px) and (min-width: 950px) {
    body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-watch__stage {
        min-height: 482px;
    }
}

@media (max-width: 949px) and (min-width: 761px) {
    body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-watch__stage {
        min-height: 477px;
    }
}

@media (max-width: 760px) {
    body[data-rs-v2-foundation="1"] .rs-catalog-card__body {
        padding: 7px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__title {
        min-height: 19px;
        max-height: 19px;
        font-size: 12px;
        line-height: 19px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__meta {
        min-height: 17px;
        max-height: 17px;
        margin-top: 2px;
        line-height: 17px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__meta-item {
        line-height: 17px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__description {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__footer {
        min-height: 34px;
        gap: 4px;
        padding-top: 4px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating {
        gap: 3px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong {
        font-size: 12px;
        line-height: 22px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill {
        width: 22px;
        min-width: 22px;
        height: 22px;
        padding-inline: 3px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__watch {
        min-width: 67px;
        min-height: 28px;
        padding: 4px 6px;
        line-height: 18px;
    }

    body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-source-logos {
        width: 100%;
        min-width: 0;
        height: 32px;
        min-height: 32px;
        flex-basis: auto;
    }

    body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-fs-actions {
        min-height: 120px;
    }

    body[data-rs-v2-foundation="1"] .rs-fullstory-cinema .rs-watch__stage {
        min-height: 0;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] {
        display: grid;
        place-items: center;
        padding: 0;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] span {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] svg {
        width: 18px;
        height: 18px;
        justify-self: center;
        align-self: center;
    }
}

/*
 * R1R5 final desktop hero-meta ownership.
 * The inherited global anchor transition is disabled here,
 * preventing black/transparent-to-white chip flashes.
 */

body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery-day
[data-rs-series-day-meta].rs-discovery-card__meta
> a.rs-discovery-meta-link:link,
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery-day
[data-rs-series-day-meta].rs-discovery-card__meta
> a.rs-discovery-meta-link:visited {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(7, 21, 27, .62);
    color: #ffffff;
    text-decoration: none;
    transition: none;
    -webkit-text-fill-color: #ffffff;
}

body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery-day
[data-rs-series-day-meta].rs-discovery-card__meta
> a.rs-discovery-meta-link:hover,
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"]
.rs-discovery-day
[data-rs-series-day-meta].rs-discovery-card__meta
> a.rs-discovery-meta-link:focus-visible {
    border-color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    transform: none;
}

/* ==========================================================================
   Visual Stability & Polish V1R2 — main-site owner additions
   No geometry-moving hover states. No custom priority overrides.
   ========================================================================== */

body[data-rs-v2-foundation="1"] .rs-native-carousel__arrow[aria-hidden="true"],
body[data-rs-v2-foundation="1"] [data-rs-carousel-prev]:not([data-rs-arrow-ready="1"]),
body[data-rs-v2-foundation="1"] [data-rs-actor-prev]:not([data-rs-arrow-ready="1"]),
body[data-rs-v2-foundation="1"] [data-rs-cast-prev]:not([data-rs-arrow-ready="1"]),
body[data-rs-v2-foundation="1"] [data-rs-carousel-prev]:disabled,
body[data-rs-v2-foundation="1"] [data-rs-actor-prev]:disabled,
body[data-rs-v2-foundation="1"] [data-rs-cast-prev]:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 760px) {
    html body[data-rs-v2-foundation="1"]
    .rs-fullstory-cinema .rs-cast-v2-section .rs-cast-v2-carousel
    > button[data-rs-cast-prev]:not([data-rs-arrow-ready="1"]),
    html body[data-rs-v2-foundation="1"]
    .rs-fullstory-cinema .rs-cast-v2-section .rs-cast-v2-carousel
    > button[data-rs-cast-prev]:disabled {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

@media (min-width: 761px) {
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-brand {
        column-gap: 0;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-brand__wordmark::after {
        margin-left: -7px;
        letter-spacing: 0;
    }
}

body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-nav-random {
    min-height: 36px;
    height: 36px;
    gap: 7px;
    padding-inline: 11px;
    border-color: #c9dfd9;
    border-radius: 10px;
    background: #f7fbfa;
    color: #2c675c;
    box-shadow: none;
    font-weight: 500;
}

body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-nav-random:hover,
body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-nav-random:focus-visible {
    border-color: #9dcec2;
    background: #eaf6f2;
    color: #0d745f;
    box-shadow: 0 0 0 3px rgba(21, 148, 125, .10);
    transform: none;
}

body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-nav-random svg {
    width: 16px;
    height: 16px;
}

body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-share-button--max {
    background: #6352c8;
}

/* Four calm catalogue columns on full desktop category pages. */
@media (min-width: 1221px) {
    body[data-rs-v2-foundation="1"]:not([data-rs-home-main-grid="2"])
    .main > .items:has(> .rs-catalog-card) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Rating and vote count share one calm, aligned information rail. */
body[data-rs-v2-foundation="1"] .rs-catalog-card__rating {
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe8e5;
    border-radius: 9px;
    background: #f8faf9;
    box-sizing: border-box;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong {
    height: 26px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    padding: 0 7px;
    color: #9d6812;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong span {
    color: #89938f;
    font-size: 12px;
    font-weight: 400;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating-icon {
    color: #d29722;
    font-size: 11px;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating > .rs-catalog-card__votes-pill {
    width: auto;
    min-width: 27px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 6px;
    overflow: visible;
    border: 0;
    border-left: 1px solid #dbe4e1;
    border-radius: 0;
    background: transparent;
    color: #64746f;
    box-sizing: border-box;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__rating > .rs-catalog-card__votes-pill::before {
    content: none;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-icon {
    width: 11px;
    height: 11px;
    color: #71827c;
    font-size: 10px;
    line-height: 11px;
}

body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-count {
    color: #53645f;
    font-size: 11px;
    font-weight: 500;
}

/* Sidebar dynamic blocks keep their exact footprint and stop pulsing on refresh. */
body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-ranking__skeleton,
body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-discussions__skeleton {
    opacity: 1;
    animation: none;
    transition: none;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-audience,
body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-discussions {
    contain: layout paint;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-ranking__meta svg {
    stroke: #b7762d;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-ranking__position {
    border: 1px solid #efd5b2;
    background: #fff3e3;
    color: #a55f18;
}

body[data-rs-v2-foundation="1"] #rs-sidebar-v2 .rs-sidebar-ranking__item:hover {
    background: #fbf8f3;
}

/* Compact desktop / iPad: the three secondary cards form one reserved row. */
@media (max-width: 1220px) and (min-width: 761px) {
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery-day {
        height: 426px;
        min-height: 426px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__stack {
        height: 152px;
        min-height: 152px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 152px;
        align-items: stretch;
        gap: 10px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__photo,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__content {
        height: 152px;
        min-height: 152px;
        max-height: 152px;
        overflow: hidden;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch {
        padding: 10px 12px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch h3 {
        margin-block: 2px 5px;
        font-size: 15px;
        line-height: 18px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch p {
        display: -webkit-box;
        max-height: 32px;
        overflow: hidden;
        line-height: 16px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button {
        min-height: 30px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__content {
        padding: 8px 10px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card h3,
    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day h3 {
        min-height: 34px;
        max-height: 34px;
        line-height: 17px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card .rs-discovery-card__meta {
        max-height: 24px;
        grid-auto-rows: 22px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-random-card__actions {
        margin-top: 4px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day__content {
        padding: 9px 10px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-discovery[data-rs-discovery-version="1.1"] .rs-actor-day p {
        min-height: 32px;
        max-height: 32px;
        line-height: 16px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 760px) {
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-brand__wordmark::after {
        margin-left: 0;
        letter-spacing: 0.02em;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button {
        border-color: #b9d9d1;
        background: #edf7f4;
        color: #0d745f;
        box-shadow: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button:focus-visible {
        border-color: #8fc8ba;
        background: #dff1ec;
        color: #075e50;
        box-shadow: 0 0 0 3px rgba(21, 148, 125, .11);
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button svg {
        width: 18px;
        min-width: 18px;
        height: 18px;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button svg path,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .login-btns .rs-account-button svg circle {
        stroke-width: 1.65;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box {
        grid-template-columns: 34px minmax(0, 1fr) 40px;
        height: 40px;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] {
        width: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 0 9px 9px 0;
        box-shadow: none;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] svg {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"]::before {
        width: 7px;
        height: 7px;
        display: block;
        content: "";
        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;
        transform: translateX(-1px) rotate(45deg);
        transform-origin: center;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__footer {
        min-height: 36px;
        grid-template-columns: minmax(82px, auto) minmax(67px, auto);
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        overflow: visible;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating {
        width: auto;
        min-width: 82px;
        max-width: 92px;
        min-height: 28px;
        justify-content: center;
        border-radius: 8px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong {
        height: 26px;
        padding-inline: 6px;
        font-size: 11px;
        line-height: 1;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating > .rs-catalog-card__votes-pill {
        min-width: 25px;
        height: 16px;
        padding-inline: 5px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__watch {
        min-width: 67px;
        height: 28px;
        min-height: 28px;
        padding: 0 6px;
        justify-self: end;
    }
}


/* RUSERIALS VISUAL STABILITY & POLISH V1R4
   Small-screen card rail, exact search arrow, desktop brand spacing,
   navigator hover and mood controls. Existing owner only; no priority flags. */

/* The desktop wordmark is intentionally compact; mobile keeps its original breathing room. */
@media (min-width: 761px) {
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-brand__wordmark::after {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-brand__wordmark::after {
        margin-left: 0;
    }

    /* Use the real inline SVG instead of a border-made chevron. */
    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] {
        display: grid;
        place-items: center;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"]::before,
    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"]::after {
        display: none;
        content: none;
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] svg {
        width: 17px;
        height: 17px;
        display: block;
        margin: 0;
        overflow: visible;
        transform: translateX(-1px);
    }

    body[data-rs-v2-foundation="1"] .rs-site-search .rs-shell-search-box button[type="submit"] svg path {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }
}

/* iPhone SE: rating and watch action must fit one row without squeezing each other. */
@media (max-width: 420px) {
    body[data-rs-v2-foundation="1"] .rs-catalog-card__footer {
        min-height: 32px;
        grid-template-columns: minmax(0, 1fr) 61px;
        align-items: center;
        gap: 4px;
        overflow: visible;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 28px;
        min-height: 28px;
        justify-content: space-between;
        border-radius: 8px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong {
        min-width: 0;
        height: 26px;
        flex: 1 1 auto;
        justify-content: center;
        gap: 1px;
        padding: 0 3px;
        font-size: 10.5px;
        letter-spacing: -0.01em;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating strong span {
        font-size: 12px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating-icon {
        font-size: 12px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__rating > .rs-catalog-card__votes-pill {
        width: 21px;
        min-width: 21px;
        height: 18px;
        flex: 0 0 21px;
        gap: 1px;
        padding: 0 2px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-icon {
        width: 9px;
        height: 9px;
        font-size: 8px;
        line-height: 9px;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-count {
        font-size: 9px;
        line-height: 1;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__votes-pill-label {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-catalog-card__watch {
        width: 61px;
        min-width: 61px;
        height: 28px;
        min-height: 28px;
        padding: 0 4px;
        gap: 2px;
        justify-self: end;
        font-size: 10.5px;
        white-space: nowrap;
    }
}

/* The navigator call-to-action reacts with light, not movement. */
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button {
    border: 1px solid rgba(148, 94, 9, .14);
    transition: background-color .18s ease, border-color .18s ease,
                color .18s ease, box-shadow .18s ease;
}

body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button:hover,
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-picker-launch .rs-discovery-button:focus-visible {
    border-color: rgba(148, 94, 9, .34);
    background: #ffd170;
    color: #2e2617;
    box-shadow: 0 0 0 3px rgba(246, 191, 80, .18),
                0 8px 18px rgba(58, 44, 18, .14);
    transform: none;
}

/* Mood controls: five recognizable accents with restrained icons. */
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button {
    min-height: 36px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 6px 11px 6px 7px;
    border-radius: 11px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(30, 57, 51, .06);
    transition: background-color .18s ease, border-color .18s ease,
                color .18s ease, box-shadow .18s ease;
}

body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button::before {
    width: 22px;
    height: 22px;
    display: inline-grid;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button:hover,
body[data-rs-v2-foundation="1"]
.rs-discovery[data-rs-discovery-version="1.1"] .rs-discovery__moods button:focus-visible {
    box-shadow: 0 0 0 3px rgba(21, 148, 125, .08),
                0 7px 16px rgba(30, 57, 51, .11);
    transform: none;
}

body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="light"] {
    border-color: #ecd6a5;
    background: #fff6df;
    color: #87580b;
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="light"]::before {
    content: "☼";
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="light"]:hover,
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="light"]:focus-visible {
    border-color: #dcb969;
    background: #ffedbd;
}

body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="soulful"] {
    border-color: #ebcad3;
    background: #fff0f4;
    color: #a04762;
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="soulful"]::before {
    content: "♡";
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="soulful"]:hover,
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="soulful"]:focus-visible {
    border-color: #dca8b7;
    background: #ffe3ea;
}

body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="tense"] {
    border-color: #d8cbed;
    background: #f5f0ff;
    color: #704da0;
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="tense"]::before {
    content: "ϟ";
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="tense"]:hover,
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="tense"]:focus-visible {
    border-color: #baa5dc;
    background: #ebe1ff;
}

body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="together"] {
    border-color: #c9def0;
    background: #eef7ff;
    color: #376f9b;
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="together"]::before {
    content: "∞";
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="together"]:hover,
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="together"]:focus-visible {
    border-color: #a9cbe6;
    background: #deefff;
}

body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="family"] {
    border-color: #c7e2d2;
    background: #eef8f2;
    color: #2f7958;
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="family"]::before {
    content: "⌂";
}
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="family"]:hover,
body[data-rs-v2-foundation="1"] .rs-discovery__moods button[data-rs-quick-mood="family"]:focus-visible {
    border-color: #a9d2ba;
    background: #dff2e7;
}

/* RUSERIALS VISUAL STABILITY & POLISH V1R6R3
   Refines the existing V1R6 mobile footer in place. Every visible mobile
   footer label is at least 12px with weight no higher than 550, while the
   full-width watch action receives a restrained lower border so it visually
   closes the card instead of floating. Tablet and desktop remain unchanged.
   Existing owners only; no priority flags. */

@media (max-width: 600px) {
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box {
        grid-template-columns: 34px minmax(0, 1fr) 42px;
        gap: 0;
        padding: 0;
        overflow: hidden;
        isolation: isolate;
        border-radius: 10px;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"],
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:focus,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:focus-visible,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:active {
        position: relative;
        inset: auto;
        z-index: 1;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 100%;
        min-height: 0;
        align-self: stretch;
        justify-self: stretch;
        margin: 0;
        padding: 0;
        display: grid;
        place-items: center;
        overflow: hidden;
        appearance: none;
        -webkit-appearance: none;
        clip-path: none;
        -webkit-clip-path: none;
        mask: none;
        -webkit-mask: none;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, .22);
        border-radius: 0 9px 9px 0;
        background: #459a82;
        background-clip: border-box;
        color: #fff;
        outline: 0;
        outline-offset: 0;
        box-shadow: none;
        filter: none;
        transform: none;
        translate: none;
        scale: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]:focus-visible {
        background: #31866f;
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .17);
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]::before,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"]::after {
        width: 0;
        height: 0;
        display: none;
        content: none;
        border: 0;
        background: none;
        box-shadow: none;
        transform: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"] svg {
        width: 16px;
        height: 16px;
        display: block;
        margin: 0;
        overflow: visible;
        transform: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-site-search .rs-shell-search-box button[type="submit"] svg path {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__footer {
        width: calc(100% + var(--rs-mobile-footer-left, 8px) + var(--rs-mobile-footer-right, 8px));
        min-width: 0;
        max-width: none;
        min-height: 75px;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 30px 34px;
        grid-auto-flow: row;
        align-items: stretch;
        justify-content: stretch;
        justify-self: start;
        gap: 5px;
        margin-top: auto;
        margin-right: calc(0px - var(--rs-mobile-footer-right, 8px));
        margin-bottom: calc(0px - var(--rs-mobile-footer-bottom, 8px));
        margin-left: calc(0px - var(--rs-mobile-footer-left, 8px));
        padding: 6px 0 0;
        overflow: visible;
        box-sizing: border-box;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 30px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        margin: 0;
        padding: 0 9px;
        overflow: hidden;
        border: 1px solid #d6e7e1;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: #f8fbfa;
        box-sizing: border-box;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating strong {
        min-width: 0;
        height: 28px;
        flex: 0 1 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 2px;
        margin: 0;
        padding: 0;
        color: #3f4f4b;
        font-size: 12px;
        font-weight: 550;
        line-height: 1;
        letter-spacing: 0;
        white-space: nowrap;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating strong > span {
        display: inline-flex;
        align-items: center;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__score-scale {
        color: #778883;
        font-size: 12px;
        font-weight: 500;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating.is-rated .rs-catalog-card__rating-icon {
        color: #d89b16;
        -webkit-text-fill-color: #d89b16;
        font-size: 13px;
        line-height: 1;
        text-shadow: 0 1px 0 rgba(102, 67, 0, .08);
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating > .rs-catalog-card__votes-pill {
        width: auto;
        min-width: 0;
        max-width: none;
        height: 28px;
        flex: 0 1 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        margin: 0 0 0 auto;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #61746f;
        box-sizing: border-box;
        white-space: nowrap;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-icon,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-label {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__votes-pill > .rs-catalog-card__votes-pill-count {
        display: inline;
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        overflow: visible;
        color: #61746f;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0;
        white-space: nowrap;
        text-overflow: clip;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating.is-empty {
        justify-content: flex-start;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating.is-empty strong {
        flex: 1 1 auto;
        color: #6d7d79;
        font-weight: 400;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating.is-empty .rs-catalog-card__rating-icon {
        color: #b19b61;
        -webkit-text-fill-color: #b19b61;
        font-size: 12px;
        line-height: 1;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__empty-rating-text {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        font-weight: 400;
        line-height: 1;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__rating.is-empty > .rs-catalog-card__votes-pill {
        display: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch:focus-visible,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch:active {
        position: relative;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 34px;
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0;
        padding: 0 31px 0 12px;
        overflow: hidden;
        border: 1px solid #afd4c8;
        border-right: 0;
        border-bottom: 1px solid #b8d8ce;
        border-left: 0;
        border-radius: 0 0 9px 9px;
        background: linear-gradient(180deg, #edf8f4 0%, #e2f2ec 100%);
        color: #216a58;
        box-sizing: border-box;
        font-size: 12px;
        font-weight: 550;
        line-height: 1;
        white-space: nowrap;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
        transform: none;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch > span:first-child {
        display: inline-block;
        text-align: center;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch > span:last-child {
        position: absolute;
        right: 11px;
        top: 50%;
        margin: 0;
        transform: translateY(-50%);
        font-size: 13px;
        line-height: 1;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 article.rs-catalog-card .rs-catalog-card__watch:focus-visible {
        border-color: #83bfad;
        background: linear-gradient(180deg, #e6f6f0 0%, #d7ede5 100%);
        color: #155e4d;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-shell-to-top {
        width: 34px;
        min-width: 34px;
        height: 34px;
        min-height: 34px;
        right: 7px;
        bottom: max(7px, env(safe-area-inset-bottom));
        opacity: .78;
    }

    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-shell-to-top:hover,
    body[data-rs-v2-foundation="1"] .rs-shell-v1 .rs-shell-to-top:focus-visible {
        opacity: 1;
        transform: none;
    }
}
/* ===== BEGIN RUSERIALS FAST SEARCH V1 ===== */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search-owner {
    position: relative;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search {
    position: absolute;
    z-index: 1800;
    top: calc(100% + 8px);
    left: 50%;
    width: min(560px, calc(100vw - 28px));
    max-height: min(540px, calc(100vh - 110px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-50%);
    border: 1px solid #e2ece9;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 18px 48px rgba(22, 54, 48, .16),
        0 3px 12px rgba(22, 54, 48, .08);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search[hidden] {
    display: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__list {
    padding: 6px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    min-height: 78px;
    padding: 6px 8px 6px 6px;
    border-radius: 10px;
    color: #20312e;
    text-decoration: none;
    transition:
        background-color 140ms ease,
        color 140ms ease;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item:hover,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item:focus-visible,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item.is-active {
    background: #f1f7f5;
    color: #0d745f;
    outline: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__poster {
    width: 46px;
    height: 68px;
    display: block;
    object-fit: cover;
    border-radius: 7px;
    background: #edf3f1;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__poster--empty {
    display: grid;
    place-items: center;
    color: #8ba09b;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__poster--empty svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__title {
    min-width: 0;
    overflow: hidden;
    color: #182724;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__meta {
    min-width: 0;
    overflow: hidden;
    color: #617773;
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__desc {
    display: -webkit-box;
    overflow: hidden;
    color: #718581;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__arrow {
    display: grid;
    place-items: center;
    color: #8da19d;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__arrow svg,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__all svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item:hover
.rs-fast-search__arrow,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__item.is-active
.rs-fast-search__arrow {
    color: #0d745f;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 42px;
    padding: 8px 12px;
    border-top: 1px solid #edf3f1;
    color: #0d745f;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
    text-decoration: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__all:hover,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__all:focus-visible {
    background: #f4f8f7;
    outline: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__message {
    padding: 20px 16px;
    color: #617773;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__message--error {
    color: #a44f4f;
}

@media (max-width: 760px) {
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search {
        top: calc(100% + 6px);
        width: min(100%, calc(100vw - 20px));
        max-height: min(510px, calc(100vh - 92px));
        border-radius: 12px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__item {
        grid-template-columns: 44px minmax(0, 1fr) 20px;
        gap: 9px;
        min-height: 74px;
        padding: 5px 7px 5px 5px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__poster {
        width: 44px;
        height: 64px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__title {
        font-size: 14px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__meta,
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__desc {
        font-size: 12px;
    }
}

/* ===== END RUSERIALS FAST SEARCH V1 ===== */
/* ===== BEGIN RUSERIALS UI PACK V1 ===== */

/* ---------------------------------------------------------
   Fast search: calm color-coded metadata chips.
--------------------------------------------------------- */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    overflow: visible;
    color: inherit;
    white-space: normal;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__chip {
    min-width: 0;
    max-width: 150px;
    padding: 2px 6px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__chip--year {
    border-color: #dbe7f2;
    background: #f0f6fb;
    color: #496981;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__chip--type {
    border-color: #cfe7df;
    background: #eaf7f3;
    color: #0d745f;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__chip--genre {
    border-color: #e4daf0;
    background: #f7f2fb;
    color: #73558c;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-fast-search__chip--channel {
    border-color: #eee0c3;
    background: #fff8eb;
    color: #84652d;
}


/* ---------------------------------------------------------
   Advanced search.
--------------------------------------------------------- */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2 {
    margin-bottom: 28px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
.sub-title {
    margin: 0 0 16px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
.sub-title h1 {
    margin: 0;
    color: #172724;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable {
    padding: 0;
    border-radius: 18px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search > div,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search > div > table,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search > div > table > tbody {
    width: 100%;
    display: block;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search > div > table > tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 14px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable > table > tbody > tr > td.search > div > table > tbody > tr > td.search {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable td[colspan="2"] {
    grid-column: 1 / -1;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable fieldset {
    min-width: 0;
    height: auto;
    padding: 16px;
    border: 1px solid #dfeae7;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 69, 62, .045);
    font-size: 13px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable legend {
    max-width: calc(100% - 12px);
    padding: 0 7px;
    color: #315f56;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable td.search > div {
    color: #536864;
    font-size: 12px;
    line-height: 1.45;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable input[type="text"],
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable select {
    box-sizing: border-box;
    min-width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin: 6px 0 10px;
    padding: 9px 11px;
    border: 1px solid #ceded9;
    border-radius: 10px;
    background: #fff;
    color: #20332f;
    font: inherit;
    box-shadow: none;
    outline: none;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable input[type="text"]:focus,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable select:focus {
    border-color: #67b7a5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 156, 132, .11);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable #replylimit {
    display: inline-block;
    min-width: 74px;
    max-width: 88px;
    margin-right: 7px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable #catlist {
    min-height: 220px;
    padding: 7px;
    line-height: 1.45;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable input[type="checkbox"],
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;
    vertical-align: -3px;
    accent-color: #27977f;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#searchtable label {
    color: #455d58;
    cursor: pointer;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#dosearch,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#doclear {
    min-width: 132px;
    min-height: 42px;
    margin: 0 8px 0 0;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 550;
    cursor: pointer;
    transition:
        background-color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#dosearch {
    background: #299a82;
    color: #fff;
    box-shadow: 0 7px 18px rgba(41, 154, 130, .16);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#dosearch:hover {
    background: #238873;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#doclear {
    border-color: #d6e5e1;
    background: #f7faf9;
    color: #536b65;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-page-v2
#doclear:hover {
    border-color: #bdd7d0;
    background: #eef6f3;
}


/* Search result information card. */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-info-v2 {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 4px 0 22px;
    padding: 13px 15px;
    border: 1px solid #d7e9e4;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #f3faf7 0%,
        #fbfdfc 100%
    );
    color: #425b55;
    box-shadow: 0 7px 22px rgba(31, 69, 62, .045);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-info-v2__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: #e3f4ef;
    color: #17806b;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-info-v2__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-info-v2__title {
    display: block;
    margin: 0 0 3px;
    color: #183b34;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-search-info-v2__text {
    color: #607570;
    font-size: 12px;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   Registration.
--------------------------------------------------------- */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2 {
    max-width: 860px;
    margin: 0 auto 28px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2 > h1 {
    margin: 0 0 16px;
    color: #172724;
    font-size: clamp(23px, 2.4vw, 29px);
    line-height: 1.2;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2__intro {
    margin: 0 0 18px;
    padding: 17px 18px;
    border: 1px solid #dceae6;
    border-radius: 15px;
    background: #f7fbfa;
    color: #506762;
    font-size: 13px;
    line-height: 1.65;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2__intro b {
    color: #1c443b;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f0;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > label {
    grid-column: 1;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: #425b55;
    font-size: 13px;
    font-weight: 550;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="text"],
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="password"],
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="file"] {
    grid-column: 2;
    float: none;
    width: 100%;
    max-width: none;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #ceded9;
    border-radius: 10px;
    background: #fff;
    color: #20332f;
    box-shadow: none;
    outline: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="text"]:focus,
body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="password"]:focus {
    border-color: #67b7a5;
    box-shadow: 0 0 0 3px rgba(43, 156, 132, .11);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-item > input[type="button"] {
    position: static;
    grid-column: 3;
    width: auto;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #c9ded8;
    border-radius: 9px;
    background: #edf7f4;
    color: #176c5b;
    font-size: 12px;
    line-height: 40px;
    font-weight: 550;
    cursor: pointer;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-secur {
    grid-column: 2 / 4;
    float: none;
    width: 100%;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-secur input {
    width: min(100%, 360px);
    max-width: 360px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #ceded9;
    border-radius: 10px;
    background: #fff;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
#dle-captcha img {
    display: block;
    margin-top: 9px;
    border: 1px solid #dfe9e6;
    border-radius: 10px;
    background: #fff;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
#result-registration {
    margin: 8px 0;
    color: #536c66;
    font-size: 12px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-submit {
    margin-top: 18px;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-registration-v2
.form-submit button {
    min-height: 43px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: #299a82;
    color: #fff;
    font-weight: 550;
    box-shadow: 0 7px 18px rgba(41, 154, 130, .16);
}


/* ---------------------------------------------------------
   Authorization dialog.
--------------------------------------------------------- */

body
.rs-auth-dialog {
    padding: 0;
    overflow: hidden;
    border: 1px solid #d7e6e2;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 24px 70px rgba(18, 45, 40, .24),
        0 4px 16px rgba(18, 45, 40, .09);
}

body
.rs-auth-dialog
.ui-dialog-titlebar {
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid #e7efed;
    border-radius: 0;
    background: #f7fbfa;
    color: #183b34;
}

body
.rs-auth-dialog
.ui-dialog-title {
    float: none;
    margin: 0;
    color: #183b34;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 550;
}

body
.rs-auth-dialog
.ui-dialog-titlebar-close {
    position: absolute;
    top: 12px;
    right: 13px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid #dce8e5;
    border-radius: 50%;
    background: #fff;
    color: #49635d;
    text-indent: 0;
}

body
.rs-auth-dialog
.ui-dialog-titlebar-close::before,
body
.rs-auth-dialog
.ui-dialog-titlebar-close::after {
    position: absolute;
    top: 17px;
    left: 10px;
    width: 14px;
    height: 1.5px;
    content: "";
    background: currentColor;
}

body
.rs-auth-dialog
.ui-dialog-titlebar-close::before {
    transform: rotate(45deg);
}

body
.rs-auth-dialog
.ui-dialog-titlebar-close::after {
    transform: rotate(-45deg);
}

body
.rs-auth-dialog
.ui-dialog-titlebar-close .ui-icon {
    display: none;
}

body
.rs-auth-dialog
#login-box {
    padding: 20px;
    overflow: visible;
    border: 0;
    background: #fff;
}

body
.rs-auth-dialog
#login-box form {
    display: grid;
    gap: 12px;
}

body
.rs-auth-dialog
#login-box input[type="text"],
body
.rs-auth-dialog
#login-box input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #ceded9;
    border-radius: 11px;
    background: #fff;
    color: #20332f;
    font-size: 13px;
    outline: none;
    box-shadow: none;
}

body
.rs-auth-dialog
#login-box input[type="text"]:focus,
body
.rs-auth-dialog
#login-box input[type="password"]:focus {
    border-color: #67b7a5;
    box-shadow: 0 0 0 3px rgba(43, 156, 132, .11);
}

body
.rs-auth-dialog
#login-box button[type="submit"] {
    width: 100%;
    min-height: 46px;
    margin: 2px 0 0;
    border: 0;
    border-radius: 11px;
    background: #299a82;
    color: #fff;
    font-size: 13px;
    font-weight: 550;
    box-shadow: 0 8px 20px rgba(41, 154, 130, .18);
    cursor: pointer;
}

body
.rs-auth-dialog
#login-box button[type="submit"]:hover {
    background: #238873;
}

body
.rs-auth-dialog
.lb-check {
    width: 100%;
    margin: 1px 0 0;
    color: #60736f;
    font-size: 12px;
}

body
.rs-auth-dialog
.lb-check input + label::before {
    border-color: #c8dad5;
    background: #fff;
}

body
.rs-auth-dialog
.lb-check input:checked + label::before {
    background: #299a82;
    box-shadow: inset 0 0 0 3px #fff;
}

body
.rs-auth-dialog
.lb-lnk {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: 12px;
}

body
.rs-auth-dialog
.lb-lnk a {
    color: #3d6d63;
    text-decoration: none;
}

body
.rs-auth-dialog
.lb-lnk a:hover {
    color: #0d745f;
    text-decoration: underline;
}

body.rs-auth-open
.ui-widget-overlay {
    background: rgba(18, 38, 34, .54);
    opacity: 1;
    backdrop-filter: blur(2px);
}


/* ---------------------------------------------------------
   Comment avatars.
--------------------------------------------------------- */

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar {
    position: relative;
    width: 50px;
    min-width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid #d9e6e2;
    border-radius: 50%;
    background: #edf5f3;
    box-shadow: 0 3px 10px rgba(27, 63, 56, .08);
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar__fallback {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    color: #315e55;
    font-size: 18px;
    line-height: 1;
    font-weight: 550;
    text-transform: uppercase;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar.is-fallback img {
    display: none;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar.is-fallback
.rs-comment-avatar__fallback {
    display: grid;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-0 {
    background: #e4f3ef;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-1 {
    background: #edf2fa;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-2 {
    background: #f4edf8;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-3 {
    background: #fbf1e3;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-4 {
    background: #eef5e5;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.rs-comment-avatar--tone-5 {
    background: #f7eceb;
}

body[data-rs-v2-foundation="1"]
.rs-shell-v1
.rs-comment-v2
.comm-author {
    color: #244a42;
    font-weight: 550;
}


/* ---------------------------------------------------------
   Responsive.
--------------------------------------------------------- */

@media (max-width: 760px) {
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable > table > tbody > tr > td.search > div > table > tbody > tr {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 10px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable td[colspan="2"] {
        grid-column: auto;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable fieldset {
        padding: 13px;
        border-radius: 13px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable #catlist {
        min-height: 170px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #dosearch,
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #doclear {
        width: 100%;
        margin: 0 0 8px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        padding: 11px 0;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > label,
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > input[type="text"],
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > input[type="password"],
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > input[type="file"],
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > input[type="button"],
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-secur {
        grid-column: 1;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-registration-v2
    .form-item > input[type="button"] {
        justify-self: start;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-info-v2 {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-info-v2__icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}

@media (max-width: 470px) {
    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-fast-search__chip--channel {
        display: none;
    }

    body
    .rs-auth-dialog
    #login-box {
        padding: 17px;
    }
}

/* ===== END RUSERIALS UI PACK V1 ===== */
/* ===== BEGIN RUSERIALS UI PACK V2 TABLET SEARCH ===== */

/*
 * 761–950px keeps the site's adaptive sidebar,
 * so the content column is not wide enough for the
 * advanced-search form to remain comfortably two-column.
 *
 * Desktop 951+ stays exactly as designed.
 * Mobile <=760 already has its own one-column layout.
 */
@media (min-width: 761px) and (max-width: 950px) {

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable > table > tbody > tr > td.search > div > table > tbody > tr {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 12px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable td[colspan="2"] {
        grid-column: auto;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable fieldset {
        padding: 15px;
    }

    body[data-rs-v2-foundation="1"]
    .rs-shell-v1
    .rs-search-page-v2
    #searchtable #catlist {
        min-height: 190px;
    }
}

/* ===== END RUSERIALS UI PACK V2 TABLET SEARCH ===== */

/* ===== BEGIN RUSERIALS CATALOG SORT V1 ===== */

.rs-catalog-sort {
    position: relative;
    flex: 0 0 auto;
    z-index: 24;
}

.shorts-header .rs-catalog-sort {
    margin-left: auto;
}

.rs-category-catalog-head .rs-catalog-sort {
    margin-left: 0;
}

.rs-catalog-sort__trigger {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--rs-side-border, #d8e8e3);
    border-radius: 10px;
    background: #ffffff;
    color: #315f55;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(24, 82, 69, 0.05);
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.rs-catalog-sort__trigger:hover {
    border-color: #a9cfc4;
    background: #f7fbf9;
    box-shadow: 0 6px 18px rgba(24, 82, 69, 0.08);
}

.rs-catalog-sort__trigger:focus-visible,
.rs-catalog-sort__menu button:focus-visible {
    outline: 2px solid #6fb49f;
    outline-offset: 2px;
}

.rs-catalog-sort.is-open
.rs-catalog-sort__trigger {
    border-color: #93c3b5;
    background: #f3faf7;
}

.rs-catalog-sort__sort-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-catalog-sort__chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
}

.rs-catalog-sort.is-open
.rs-catalog-sort__chevron {
    transform: rotate(180deg);
}

.rs-catalog-sort__prefix {
    color: #71857f;
    font-weight: 400;
}

.rs-catalog-sort__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 248px;
    padding: 6px;
    border: 1px solid #d8e8e3;
    border-radius: 13px;
    background: #ffffff;
    box-shadow:
        0 18px 45px rgba(24, 62, 54, 0.14),
        0 4px 12px rgba(24, 62, 54, 0.06);
    z-index: 42;
}

.rs-catalog-sort__menu button {
    width: 100%;
    min-height: 48px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #263d37;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.rs-catalog-sort__menu button:hover {
    background: #f3f8f6;
}

.rs-catalog-sort__menu button[aria-checked="true"] {
    background: #edf7f3;
    color: #286e5c;
}

.rs-catalog-sort__option-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f7f5;
    color: #438673;
    font-size: 12px;
    font-weight: 550;
}

.rs-catalog-sort__menu button[aria-checked="true"]
.rs-catalog-sort__option-icon {
    background: #dff1ea;
}

.rs-catalog-sort__menu strong,
.rs-catalog-sort__menu small {
    display: block;
}

.rs-catalog-sort__menu strong {
    font-size: 12px;
    font-weight: 550;
    line-height: 1.3;
}

.rs-catalog-sort__menu small {
    margin-top: 2px;
    color: #768983;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

.rs-catalog-sort__backdrop {
    display: none;
}

.rs-category-catalog-head {
    gap: 10px;
}

.rs-category-catalog-head
.rs-catalog-sort {
    align-self: center;
}

@media screen and (max-width: 950px) {

    .rs-catalog-sort__prefix {
        display: none;
    }

    .rs-catalog-sort__trigger {
        padding-inline: 10px;
    }
}

@media screen and (max-width: 760px) {

    .shorts-header {
        gap: 8px;
    }

    .shorts-header
    .rs-catalog-sort {
        margin-left: auto;
    }

    .rs-category-catalog-head {
        flex-wrap: wrap;
        align-items: center;
    }

    .rs-category-catalog-head
    .rs-catalog-sort {
        width: 100%;
    }

    .rs-category-catalog-head
    .rs-catalog-sort__trigger {
        width: 100%;
    }

    .rs-catalog-sort__backdrop {
        position: fixed;
        inset: 0;
        display: block;
        border: 0;
        padding: 0;
        background: rgba(10, 28, 24, 0.28);
        z-index: 80;
    }

    .rs-catalog-sort__menu {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        width: auto;
        max-height: calc(100dvh - 42px);
        overflow-y: auto;
        padding: 8px;
        border-radius: 16px;
        z-index: 81;
        box-shadow:
            0 24px 60px rgba(10, 35, 29, 0.24),
            0 6px 18px rgba(10, 35, 29, 0.12);
    }

    .rs-catalog-sort__menu::before {
        content: "Сортировка";
        display: block;
        padding: 6px 8px 9px;
        color: #1f3d35;
        font-size: 12px;
        font-weight: 550;
    }

    .rs-catalog-sort__menu button {
        min-height: 54px;
    }
}

/* ===== END RUSERIALS CATALOG SORT V1 ===== */

/* ===== BEGIN RUSERIALS CATALOG SORT V1.2 VISUAL FIX ===== */

/*
 * Existing theme button selectors are more specific than
 * the first catalogue-sort rules. Keep all hidden pieces
 * truly hidden and scope the visible controls more strongly.
 */

.rs-catalog-sort
.rs-catalog-sort__native[hidden],

.rs-catalog-sort
.rs-catalog-sort__menu[hidden],

.rs-catalog-sort
.rs-catalog-sort__backdrop[hidden] {
    display: none;
}

.rs-catalog-sort
.rs-catalog-sort__trigger {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #c7dfd8;
    border-radius: 9px;
    background: #ffffff;
    color: #315f55;
    font-weight: 500;
    box-shadow: 0 2px 7px rgba(24, 82, 69, 0.05);
}

.rs-catalog-sort
.rs-catalog-sort__trigger:hover {
    border-color: #a7cec3;
    background: #f6faf8;
    color: #285d50;
    box-shadow: 0 3px 9px rgba(24, 82, 69, 0.07);
}

.rs-catalog-sort.is-open
.rs-catalog-sort__trigger {
    border-color: #91bfb3;
    background: #eef7f3;
    color: #24594c;
    box-shadow: 0 3px 9px rgba(24, 82, 69, 0.07);
}

.rs-catalog-sort
.rs-catalog-sort__prefix {
    color: #73877f;
    font-weight: 400;
}

.rs-catalog-sort
.rs-catalog-sort__menu {
    color: #243b35;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button {
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #263d37;
    box-shadow: none;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button:hover {
    background: #f3f8f6;
    color: #263d37;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button[aria-checked="true"] {
    background: #eaf6f1;
    color: #226d5b;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button
.rs-catalog-sort__option-icon {
    background: #edf6f3;
    color: #347967;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button[aria-checked="true"]
.rs-catalog-sort__option-icon {
    background: #d7eee6;
    color: #176a56;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button strong {
    color: inherit;
}

.rs-catalog-sort
.rs-catalog-sort__menu > button small {
    color: #71867f;
}

@media screen and (max-width: 760px) {

    .rs-catalog-sort
    .rs-catalog-sort__backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        width: auto;
        height: auto;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgba(10, 28, 24, 0.30);
        box-shadow: none;
        z-index: 80;
    }

    .rs-catalog-sort
    .rs-catalog-sort__menu:not([hidden]) {
        display: block;
    }

    .rs-catalog-sort
    .rs-catalog-sort__menu > button {
        min-height: 54px;
        background: #ffffff;
    }

    .rs-catalog-sort
    .rs-catalog-sort__menu > button + button {
        margin-top: 3px;
    }

    .rs-catalog-sort
    .rs-catalog-sort__menu > button:hover {
        background: #f4f9f7;
    }

    .rs-catalog-sort
    .rs-catalog-sort__menu > button[aria-checked="true"] {
        background: #e7f5f0;
    }
}

/* ===== END RUSERIALS CATALOG SORT V1.2 VISUAL FIX ===== */

/* ===== BEGIN RUSERIALS CATALOG HEADER V1.6 ===== */

.rs-catalog-head-shell {
    width: 100%;
    position: relative;
}

.rs-catalog-head-shell--main {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}

.rs-catalog-head-shell--main
.shorts-header {
    width: auto;
    min-width: 0;
    min-height: 0;
    display: block;
    margin: 0;
}

.rs-catalog-head-shell--main
.shorts-header h1,
.rs-catalog-head-shell--main
.shorts-header h2,
.rs-catalog-head-shell--main
.shorts-header h3 {
    margin: 0;
    min-width: 0;
    font-weight: 550;
    font-size: 22px;
    line-height: 1.25;
    text-transform: none;
    position: static;
    top: auto;
}

.rs-catalog-head-shell--category {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 12px;
    row-gap: 8px;
    margin: 0 0 14px;
}

.rs-catalog-head-shell--category
.rs-category-catalog-head {
    width: auto;
    min-width: 0;
    min-height: 0;
    display: block;
    margin: 0;
}

.rs-catalog-head-shell--category
.rs-category-catalog-head > div {
    min-width: 0;
}

.rs-catalog-head-shell--category
.rs-category-section-head__eyebrow {
    margin-bottom: 4px;
}

.rs-catalog-head-shell--category
.rs-category-catalog-head h2,
.rs-catalog-head-shell--category
.rs-category-catalog-head h3 {
    margin-bottom: 0;
}

.rs-catalog-head-shell >
.rs-catalog-sort {
    align-self: center;
    justify-self: end;
    margin: 0;
}

.rs-catalog-head-shell--category >
.rs-catalog-sort {
    align-self: end;
}

.rs-catalog-head-shell
.rs-catalog-sort__trigger {
    height: 34px;
    min-height: 34px;
    line-height: 1;
}

.rs-catalog-head-shell
[data-rs-catalog-sort-label] {
    width: 76px;
    flex: 0 0 76px;
    display: inline-block;
    text-align: left;
    white-space: nowrap;
}

.items.rs-catalog-items--loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.rs-catalog-sort.is-loading
.rs-catalog-sort__trigger {
    cursor: progress;
}

@media screen and (max-width: 950px) {

    .rs-catalog-head-shell
    [data-rs-catalog-sort-label] {
        width: 76px;
        flex-basis: 76px;
    }
}

@media screen and (max-width: 760px) {

    .rs-catalog-head-shell--main,
    .rs-catalog-head-shell--category {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 8px;
        margin-bottom: 12px;
    }

    .rs-catalog-head-shell--main
    .shorts-header {
        width: 100%;
    }

    .rs-catalog-head-shell--main
    .shorts-header h1,
    .rs-catalog-head-shell--main
    .shorts-header h2,
    .rs-catalog-head-shell--main
    .shorts-header h3 {
        width: 100%;
        font-size: 21px;
        line-height: 1.25;
    }

    .rs-catalog-head-shell--category
    .rs-category-catalog-head {
        width: 100%;
    }

    .rs-catalog-head-shell >
    .rs-catalog-sort {
        width: 100%;
        align-self: stretch;
        justify-self: stretch;
    }

    .rs-catalog-head-shell
    .rs-catalog-sort__trigger {
        width: 100%;
        justify-content: space-between;
    }

    .rs-catalog-head-shell
    [data-rs-catalog-sort-label] {
        width: auto;
        flex: 1 1 auto;
    }
}

/* ===== END RUSERIALS CATALOG HEADER V1.6 ===== */

/* ===== BEGIN RUSERIALS CATALOG UX V1.6.3 MOBILE CENTER ===== */

@media screen and (max-width: 760px) {

    .rs-catalog-head-shell
    .rs-catalog-sort__trigger {
        display: grid;
        grid-template-columns:
            18px
            minmax(0, 1fr)
            18px;
        align-items: center;
        column-gap: 8px;
        justify-content: initial;
    }

    .rs-catalog-head-shell
    .rs-catalog-sort__sort-icon {
        justify-self: start;
    }

    .rs-catalog-head-shell
    [data-rs-catalog-sort-label] {
        width: auto;
        min-width: 0;
        display: block;
        justify-self: stretch;
        text-align: center;
    }

    .rs-catalog-head-shell
    .rs-catalog-sort__chevron {
        justify-self: end;
    }
}

/* ===== END RUSERIALS CATALOG UX V1.6.3 MOBILE CENTER ===== */

/* ==========================================================================
   RUSERIALS IOS HOME POSTER HARDENING V1.2
   The poster image is a normal-flow sizing source. The card no longer relies
   on a cyclic height:100% Grid -> Flex calculation or on aspect-ratio alone.
   The simple selector also keeps the catalogue grid alive in Safari versions
   that do not understand :has().
   ========================================================================== */

body[data-rs-home-main-grid="2"] .main > .items {
    container-name: rs-catalog-grid;
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    grid-auto-rows: max-content;
    align-items: start !important;
}

body[data-rs-home-main-grid="2"]
.main > .items > .rs-catalog-card {
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto !important;
    height: max-content !important;
    display: flex;
    flex-direction: column;
    align-self: start !important;
    margin: 0;
    float: none;
}

body[data-rs-home-main-grid="2"] .rs-catalog-card__visual {
    width: 100%;
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 2 / 3;
}

body[data-rs-home-main-grid="2"] .rs-catalog-card__poster {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
}

body[data-rs-home-main-grid="2"] .rs-catalog-card__poster img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: 50% 18%;
}

@media (max-width: 1220px) and (min-width: 951px) {
    body[data-rs-home-main-grid="2"] .main > .items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 950px) and (min-width: 761px) {
    body[data-rs-home-main-grid="2"] .main > .items {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (max-width: 760px) {
    body[data-rs-home-main-grid="2"] .main > .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
/* END RUSERIALS IOS HOME POSTER HARDENING V1.2 */
