.main {
    margin-top: 30px;
}

.speedbar {
    --speedbar-background: transparent;
    --speedbar-color: #777;
    --speedbar-link-color: #a8a8a8;
    --speedbar-link-color-hover: #d0d0d0;
    --speedbar-radius: 7px;
    --speedbar-padding-block: 0;
    --speedbar-padding-inline: 0;
    --speedbar-font-size: 0.85rem;
    --speedbar-duration: 180ms;
    margin-bottom: 20px;
}

.speedbar__inner {
    display: inline-block;
    max-width: 100%;
    padding: var(--speedbar-padding-block) var(--speedbar-padding-inline);
    overflow: hidden;
    border-radius: var(--speedbar-radius);
    background-color: var(--speedbar-background);
    color: var(--speedbar-color);
    font-size: var(--speedbar-font-size);
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.speedbar__inner a {
    color: var(--speedbar-link-color);
    transition: color var(--speedbar-duration) ease;
}

.speedbar__inner a:hover {
    color: var(--speedbar-link-color-hover);
}

.notice {
    --notice-aside-width: 64px;
    --notice-title-color: #fff;
    --notice-content-color: #b8b8b8;
    --notice-link-color: var(--color-primary);
    --notice-icon-size: 25px;
    --notice-content-gap: 8px;
    display: grid;
    grid-template-columns: var(--notice-aside-width) minmax(0, 1fr);
    margin-bottom: 30px;
}

.notice__body {
    display: grid;
    align-content: center;
    gap: var(--notice-content-gap);
    min-width: 0;
}

.notice__title {
    color: var(--notice-title-color);
    font-size: 1rem;
    line-height: 1.3;
}

.notice__content {
    color: var(--notice-content-color);
    font-size: 0.875rem;
    line-height: 1.6;
}

.notice__content a {
    color: var(--notice-link-color);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 180ms ease;
}

.notice__content a:hover {
    text-decoration-color: currentColor;
}

.notice__content ul, .notice__content ol {
    margin-block: 10px 0;
    padding-left: 22px;
}

.notice__content li + li {
    margin-top: 5px;
}

.notice__content li::marker {
    color: var(--notice-link-color);
}

.notice__content p + p {
    margin-top: 8px;
}

.notice__aside {
    display: grid;
    min-height: 100%;
    place-items: center;
    background-color: var(--color-primary);
    color: #fff;
}

.notice__icon {
    width: var(--notice-icon-size);
    height: var(--notice-icon-size);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.hero__title {
    font-size: 1.5rem;
    line-height: 1.2;
}

#news_set_sort {
    --sort-background: transparent;
    --sort-color: #929292;
    --sort-color-hover: #fff;
    --sort-color-active: #fff;
    --sort-gap: 16px;
    --sort-height: 40px;
    --sort-padding-inline: 0;
    --sort-radius: 8px;
    --sort-duration: 180ms;
    display: flex;
    justify-content: flex-end;
    min-height: var(--sort-height);
    align-items: center;
    padding-inline: var(--sort-padding-inline);
    border-radius: var(--sort-radius);
    background-color: var(--sort-background);
}

#news_set_sort .sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px var(--sort-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

#news_set_sort .sort li {
    display: flex;
}

#news_set_sort .sort a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sort-color);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    transition: color var(--sort-duration) ease;
}

#news_set_sort .sort a::after {
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    content: "";
    transform: translateY(-1px) rotate(45deg);
    transition: transform var(--sort-duration) ease;
}

#news_set_sort .sort a:hover {
    color: var(--sort-color-hover);
}

#news_set_sort .sort .asc > a, #news_set_sort .sort .desc > a {
    color: var(--sort-color-active);
}

#news_set_sort .sort .asc > a::after {
    transform: translateY(2px) rotate(-135deg);
}

@media (max-width: 900px) {
    .hero {
        align-items: flex-start;
        flex-direction: column;
    }
    #news_set_sort {
        width: 100%;
        padding-block: 12px;
    }
}

.feed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

.feed.feed-full, .feed:has(> .static) {
    grid-template-columns: 1fr;
}

.feed:has(> .searchpage) {
    grid-template-columns: minmax(0, 1fr);
}

.feed > .static {
    grid-column: 1 / -1;
}

.rating-meter {
    --rating-like-percent: 0%;
    --rating-like-color: #35a96b;
    --rating-dislike-color: #d95050;
    --rating-bar-height: 3px;
}

.rating-meter__data {
    display: none;
}

.rating-meter__bar {
    display: block;
    overflow: hidden;
    width: 100%;
    height: var(--rating-bar-height);
    border-radius: 999px;
    background-color: var(--rating-dislike-color);
}

.rating-meter__likes {
    display: block;
    width: var(--rating-like-percent);
    height: 100%;
    background-color: var(--rating-like-color);
    transition: width 250ms ease;
}

.static {
    --card-background: transparent;
    --card-radius: 0;
    --static-title-color: #e0e0e0;
    --static-text-color: #b8b8b8;
    --static-muted-color: #7f7f7f;
    --static-link-color: #d2d2d2;
    --static-link-color-hover: #fff;
    --static-divider-color: #353535;
    --static-content-gap: 14px;
    --static-image-radius: 8px;
    grid-column: 1 / -1;
}

.static__header, .static__content, .static__footer {
    --card-body-padding: 20px 0;
}

.static__header {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
}

.static__title {
    color: var(--static-title-color);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
}

.static__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--static-muted-color);
    font-size: 0.75rem;
}

.static__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.static__meta-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.static__content {
    display: flow-root;
    color: var(--static-text-color);
    font-size: 0.925rem;
    line-height: 1.75;
}

.static__content > * + * {
    margin-top: var(--static-content-gap);
}

.static__content a {
    color: var(--static-link-color);
    text-decoration: underline;
    text-decoration-color: #555;
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.static__content a:hover {
    color: var(--static-link-color-hover);
    text-decoration-color: currentColor;
}

.static__content ul, .static__content ol {
    padding-left: 24px;
}

.static__content li + li {
    margin-top: 6px;
}

.static__content li::marker {
    color: var(--static-muted-color);
}

.static__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--static-image-radius);
}

.static__content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.static__content th, .static__content td {
    padding: 10px 12px;
    border: 1px solid var(--static-divider-color);
    text-align: left;
}

.static__pages:empty {
    display: none;
}

.static__footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 0;
}

.static__edit-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.promo {
    --promo-radius: 10px;
    --promo-overlay-background: rgb(17 17 17 / 82%);
    --promo-overlay-color: #fff;
    --promo-rating-background: var(--color-primary);
    --promo-title-color: #d2d2d2;
    --promo-image-scale: 1.045;
    --promo-play-scale: 1.2857;
    --promo-play-shift: -8px;
    --promo-transition-duration: 300ms;
    --promo-transition-easing: cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 0;
}

.promo__cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--promo-radius);
    background-color: #252525;
}

.promo__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--promo-transition-duration) var(--promo-transition-easing);
}

.promo__cover:hover .promo__image {
    transform: scale(var(--promo-image-scale));
}

.promo__rating, .promo__duration, .promo__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--promo-overlay-color);
    font-weight: 700;
    line-height: 1;
}

.promo__rating {
    position: absolute;
    top: 10px;
    left: 10px;
    min-width: 38px;
    height: 24px;
    padding-inline: 8px;
    border-radius: 999px;
    background-color: var(--promo-rating-background);
    font-size: 0.7rem;
}

.promo__video-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo__duration {
    height: 24px;
    padding-inline: 8px;
    border-radius: 6px;
    background-color: var(--promo-overlay-background);
    font-size: 0.7rem;
    transition: transform var(--promo-transition-duration) var(--promo-transition-easing);
}

.promo__play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--promo-overlay-background);
    transform-origin: bottom right;
    transition: background-color var(--promo-transition-duration) var(--promo-transition-easing), transform var(--promo-transition-duration) var(--promo-transition-easing);
}

.promo__cover:hover .promo__play {
    background-color: var(--color-primary);
    transform: scale(var(--promo-play-scale));
}

.promo__cover:hover .promo__duration {
    transform: translateX(var(--promo-play-shift));
}

.promo__play-icon {
    width: 14px;
    height: 14px;
}

.promo__title {
    margin-top: 10px;
    color: var(--promo-title-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.promo__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color var(--promo-transition-duration) ease;
}

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

.promo--related {
    --promo-title-color: #fff;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.promo__cover--related {
    width: 130px;
}

.promo__rating--related {
    top: 6px;
    left: 6px;
    min-width: 30px;
    height: 18px;
    padding-inline: 6px;
    font-size: 0.55rem;
}

.promo__play--related {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 24px;
    height: 24px;
}

.promo__body {
    display: flex;
    min-width: 0;
    min-height: 62px;
    flex-direction: column;
    gap: 8px;
}

.promo__title--related {
    margin-top: 0;
    color: #fff;
    font-size: 0.85rem;
}

.promo__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.promo__rating--inline, .promo__duration--inline {
    min-width: 0;
    height: 20px;
    padding-inline: 7px;
    font-size: 0.625rem;
}

.promo__rating--inline {
    position: static;
}

.pagination {
    --pagination-size: 40px;
    --pagination-gap: 8px;
    --pagination-radius: 9px;
    --pagination-background: #303030;
    --pagination-background-hover: #fff;
    --pagination-color: #fff;
    --pagination-color-hover: #1d1d1d;
    --pagination-active-background: var(--color-primary);
    --pagination-active-color: #fff;
    --pagination-duration: 180ms;
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: var(--pagination-gap);
    margin-block: 20px;
}

.pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--pagination-gap);
}

.pagination__pages > a, .pagination__pages > span, .pagination__edge > a, .pagination__button {
    align-items: center;
    justify-content: center;
    width: var(--pagination-size);
    height: var(--pagination-size);
    border-radius: var(--pagination-radius);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.pagination__pages > a, .pagination__edge > a {
    display: flex;
    background-color: var(--pagination-background);
    color: var(--pagination-color);
    transition: background-color var(--pagination-duration) ease, color var(--pagination-duration) ease;
}

.pagination__pages > a:hover, .pagination__edge > a:hover {
    background-color: var(--pagination-background-hover);
    color: var(--pagination-color-hover);
}

.pagination__pages > span {
    display: flex;
    background-color: var(--pagination-active-background);
    color: var(--pagination-active-color);
}

.pagination__edge {
    display: flex;
}

.pagination__edge > span, .pagination__edge > .pagination__button {
    display: none;
}

.pagination__button {
    position: relative;
    display: flex;
}

.pagination__button::before {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.pagination__button--prev::before {
    transform: rotate(-135deg);
}

.pagination__button--next::before {
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .promo__image, .promo__duration, .promo__play, .promo__title a {
        transition-duration: 0.01ms;
    }
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #252525;
}

.header__top {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-gap: 30px;
    align-items: center;
    height: 70px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.header__logo-text span {
    color: var(--color-primary);
    padding-inline: 1px;
}

.header__user {
    display: flex;
    justify-content: flex-end;
}

.header-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    min-width: 0;
    height: 48px;
}

.header-nav__item {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    flex: 0 0 auto;
    color: #c4c4c4;
    font-size: 0.875rem;
    font-weight: 500;
}

.header-nav__item.is-active {
    color: #fff;
}

.header-nav__item.is-active::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background-color: var(--color-primary);
    content: "";
}

.header-nav__label {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 37px;
    padding-inline: 12px;
    border-radius: 7px;
    transition: background-color 180ms ease, color 180ms ease;
}

.header-nav__item:hover > .header-nav__label,
.header-nav__item:focus-visible > .header-nav__label,
.header-nav__trigger:hover .header-nav__label,
.header-nav__trigger:focus-visible .header-nav__label,
.header-nav__item[open] .header-nav__label {
    background-color: #3a3a3a73;
    color: #fff;
}

.header-nav__item:focus-visible, .header-nav__trigger:focus-visible {
    outline: 0;
}

.header-nav__trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.header-nav__trigger .header-nav__label {
    padding-right: 30px;
}

.header-nav__chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 11px;
    height: 11px;
    color: #777;
    transform: translateY(-50%);
}

.header-nav__item[open] .header-nav__chevron {
    transform: translateY(-50%) rotate(180deg);
}

.header-nav .dropdown__content {
    right: auto;
    left: 0;
    max-height: 350px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #4a4a4a #292929;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    transform-origin: top left;
}

.header-nav .dropdown__content::-webkit-scrollbar {
    width: 6px;
}

.header-nav .dropdown__content::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #292929;
}

.header-nav .dropdown__content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #4a4a4a;
}

.header-nav .dropdown__content::-webkit-scrollbar-thumb:hover {
    background: #565656;
}

@media (max-width: 760px) {
    .header-nav {
        flex-wrap: wrap;
        height: auto;
        min-height: 48px;
        padding-bottom: 8px;
    }
}

.login {
    --login-controls-gap: 14px;
    --login-icon-color: #c4c4c4;
    --login-bookmark-icon-size: 22px;
    --login-badge-size: 14px;
    --login-avatar-size: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--login-controls-gap);
}

.login__favorites {
    --btn-border-radius: 50%;
    --btn-background-hover: #2a2a2a;
    --btn-background-active: #323232;
    position: relative;
}

.login__icon {
    width: var(--login-bookmark-icon-size);
    height: var(--login-bookmark-icon-size);
    fill: none;
    stroke: var(--login-icon-color);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.login__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: grid;
    min-width: var(--login-badge-size);
    height: var(--login-badge-size);
    padding-inline: 3px;
    place-items: center;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    line-height: 1;
}

.login__trigger {
    --btn-height: var(--login-avatar-size);
    flex: 0 0 var(--login-avatar-size);
    width: var(--login-avatar-size);
    padding: 0;
    border-radius: 50%;
}

.login__dropdown {
    height: var(--login-avatar-size);
}

.login__avatar, .login__profile-avatar {
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.login__avatar {
    width: var(--login-avatar-size);
    height: var(--login-avatar-size);
}

.login__name {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login__profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 12px;
}

.login__profile-info {
    display: grid;
    min-width: 0;
}

.login__profile-info strong {
    overflow: hidden;
    font-size: 0.875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login__profile-info span {
    color: #929292;
    font-size: 0.75rem;
}

.signin__toggle {
    list-style: none;
}

.signin__toggle::-webkit-details-marker {
    display: none;
}

.signin__icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.signin__modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    padding: 20px;
    place-items: center;
}

.signin__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 72%);
    cursor: default;
}

.signin__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border-radius: 14px;
    background: #252525;
    box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
}

.signin__header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.signin__title {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
}

.signin__lead {
    margin-top: 6px;
    color: #929292;
    font-size: 0.82rem;
}

.signin__close {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #929292;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.signin__close:hover {
    background: #343434;
    color: #fff;
}

.signin__form {
    padding-top: 20px;
}

.signin__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: space-between;
    color: #aaa;
    font-size: 0.8rem;
}

.signin__links a:hover, .signup a:hover, .lostpassword a:hover {
    color: var(--color-primary);
}

.signin__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #343434;
}

.signin__socials .soc-links__item {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 7px;
    background: #1d1d1d;
}

.signin__socials .icon {
    width: 18px;
    height: 18px;
}

.signup, .lostpassword {
    width: min(100%, 760px);
}

.signup__header, .lostpassword__header {
    margin-bottom: 24px;
}

.signup__title, .lostpassword__title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.2;
}

.signup__lead, .lostpassword__lead {
    max-width: 680px;
    margin-top: 8px;
    color: #929292;
    font-size: 0.875rem;
    line-height: 1.55;
}

.signup__lead a, .lostpassword__lead a, .signup__hint a, .lostpassword__hint a {
    color: #d2d2d2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.signup__hint, .lostpassword__hint {
    margin-right: auto;
    color: #929292;
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    .signin__modal {
        align-items: end;
        padding: 0;
    }
    .signin__dialog {
        width: 100%;
        max-height: calc(100dvh - 16px);
        border-radius: 14px 14px 0 0;
    }
    .signin__header {
        padding: 20px 18px 0;
    }
    .signin__form {
        padding-top: 18px;
    }
    .signin__links {
        flex-direction: column;
    }
    .signup__header, .lostpassword__header {
        margin-bottom: 18px;
    }
    .signup__hint, .lostpassword__hint {
        width: 100%;
        text-align: center;
    }
}

.searchpage {
    grid-column: 1 / -1;
    width: 100%;
}

#fullsearch {
    grid-column: 1 / -1;
}

.searchpage__header {
    max-width: 720px;
    margin-bottom: 26px;
}

.searchpage__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.searchpage__title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.12;
}

.searchpage__lead {
    margin-top: 10px;
    color: #929292;
    font-size: 0.9rem;
    line-height: 1.6;
}

.searchpage__panel {
    padding: clamp(18px, 3vw, 28px);
    border-radius: 14px;
    background: #252525;
    box-shadow: 0 16px 40px rgb(0 0 0 / 14%);
}

.search-simple__field {
    gap: 10px;
}

.search-simple__control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.search-simple__control input {
    width: 100%;
    height: 48px;
    padding-inline: 16px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: #1d1d1d;
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.search-simple__control input:hover {
    background: #202020;
}

.search-simple__control input:focus {
    background: #202020;
    box-shadow: 0 0 0 2px rgb(254 0 136 / 30%);
}

.search-simple__submit {
    --btn-height: 48px;
    min-width: 128px;
    gap: 8px;
    border-radius: 10px;
}

.search-simple__submit svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.search-result-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
    color: #a8a8a8;
    font-size: 0.8rem;
    line-height: 1.5;
}

.search-result-msg__dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgb(254 0 136 / 10%);
}

.feed:has(> .searchpage) > .result-card {
    position: relative;
    grid-column: 1 / -1;
    padding: 20px 22px;
    border-radius: 12px;
    background: transparent;
    transition: transform 180ms ease;
}

.feed:has(> .searchpage) > .result-card:hover {
    background: transparent;
    transform: translateY(-1px);
}

.result-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #777;
    font-size: 0.7rem;
}

.result-card__top .chips {
    color: var(--color-primary);
    font-weight: 600;
}

.result-card__top .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #555;
}

.result-card__title {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.result-card__title a {
    transition: color 180ms ease;
}

.result-card__title a:hover {
    color: #fff;
}

.result-card__text {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: #929292;
    font-size: 0.82rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.result-card__tools {
    position: absolute;
    top: 14px;
    right: 14px;
}

@media (max-width: 600px) {
    .search-simple__control {
        grid-template-columns: 1fr;
    }
    .search-simple__submit {
        width: 100%;
    }
    .feed:has(> .searchpage) > .result-card {
        padding: 17px;
    }
}

.search-form {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    max-width: 500px;
    height: 46px;
    padding: 4px;
    padding-left: 18px;
    border-radius: 999px;
    background-color: var(--color-background);
    transition: background-color 0.2s ease;
}

.search-form:focus-within {
    background-color: #212121;
}

.search-form__input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 0.875rem;
}

.search-form__input::placeholder {
    color: #828282;
}

.search-form__input::-webkit-search-cancel-button {
    display: none;
    appearance: none;
    width: 0;
    height: 0;
}

.search-form__input::-ms-clear, .search-form__input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.search-form__submit {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.search-form__submit:hover {
    filter: brightness(1.12);
}

.search-form__submit:active {
    transform: scale(0.94);
}

.search-form__submit:focus-visible {
    filter: brightness(1.12);
}

.search-form__icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.header__user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.seo-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 60px 10px;
}

.seo-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #828282;
}

.footer {
    background-color: #252525;
    margin-top: 50px;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    font-size: 0.8rem;
    color: #828282;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
}

.footer__links a {
    transition: color 180ms ease;
}

.footer__links a:hover {
    color: #c4c4c4;
}

@media (max-width: 700px) {
    .footer__inner {
        height: auto;
        min-height: 70px;
        padding-block: 14px;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    .footer__links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}

.scroll-top {
    --scroll-top-size: 44px;
    --scroll-top-offset: 20px;
    --scroll-top-background: var(--color-background);
    --scroll-top-color: #c4c4c4;
    --scroll-top-radius: 50%;
    --scroll-top-duration: 200ms;
    position: fixed;
    right: var(--scroll-top-offset);
    bottom: var(--scroll-top-offset);
    z-index: 90;
    display: grid;
    width: var(--scroll-top-size);
    height: var(--scroll-top-size);
    place-items: center;
    border-radius: var(--scroll-top-radius);
    background-color: var(--scroll-top-background);
    box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
    color: var(--scroll-top-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    cursor: pointer;
    pointer-events: none;
    transition: opacity var(--scroll-top-duration) ease, transform var(--scroll-top-duration) ease, visibility 0s linear var(--scroll-top-duration);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.scroll-top:hover {
    color: #fff;
}

.scroll-top__icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top {
        transition-duration: 0.01ms;
    }
}

.hero {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
}

.hero__title {
    font-size: 1.6rem;
    font-weight: 600;
}

.video {
    --video-muted-color: #858585;
    --video-text-color: #b8b8b8;
    --video-surface-color: #292929;
    --video-surface-hover-color: #343434;
    --video-divider-color: #353535;
    display: grid;
    grid-template-columns: 1fr 350px;
    grid-gap: 20px;
}

.video__content {
    min-width: 0;
}

.video__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.video__title {
    color: #e0e0e0;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
}

.video__edit {
    --btn-height: 34px;
    flex: 0 0 auto;
    color: #858585;
    border-radius: 50%;
}

.video__edit:hover {
    color: #b8b8b8;
}

.video__description {
    margin-bottom: 20px;
    color: var(--video-text-color);
    font-size: 0.925rem;
    line-height: 1.7;
}

.video__description > * + * {
    margin-top: 12px;
}

.video__description a {
    color: #d2d2d2;
    text-decoration: underline;
    text-decoration-color: #555;
    text-underline-offset: 3px;
}

.video__description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.video__description ul, .video__description ol {
    padding-left: 24px;
}

.video__player {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background-color: #000;
}

.video__media {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-block: 14px;
    border-bottom: 1px solid var(--video-divider-color);
}

.video__rating-controls, .video__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video__rating {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
}

.video__rating .rating-meter__bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-radius: 0;
}

.video__rating-button, .video__rating-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 7px;
}

.video__rating-button {
    min-width: 40px;
    gap: 6px;
    padding-inline: 8px;
    background-color: var(--video-surface-color);
    color: #929292;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.video__rating-button:hover {
    background-color: var(--video-surface-hover-color);
    color: #b8b8b8;
}

.video__rating-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.video__meta-item svg, .video__taxonomy-label svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.video__taxonomy-label svg {
    width: 18px;
    height: 18px;
}

.video__rating-count {
    min-width: 26px;
    padding-inline: 3px;
    color: #929292;
    font-size: 1rem;
    font-weight: 800;
}

.video__meta {
    flex-wrap: wrap;
    color: var(--video-muted-color);
}

.video__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.video__favorite {
    margin-left: auto;
}

.video__favorite-button.is-active {
    color: #b8b8b8;
}

.video__favorite-button {
    color: #929292;
}

.video__favorite-button:hover {
    color: #b8b8b8;
}

.video__button-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.video__taxonomy {
    display: grid;
    gap: 10px;
    padding-block: 16px 24px;
}

.video__taxonomy-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.video__taxonomy-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--video-muted-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.video__taxonomy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #c4c4c4;
    font-size: 0.75rem;
}

.video__taxonomy-links a {
    padding: 5px 9px;
    border-radius: 6px;
    background-color: var(--video-surface-color);
    transition: background-color 180ms ease, color 180ms ease;
}

.video__taxonomy-links a:hover {
    background-color: var(--video-surface-hover-color);
    color: #fff;
}

.comments {
    --comments-surface: #252525;
    --comments-surface-focus: #2a2a2a;
    --comments-text: #b8b8b8;
    --comments-muted: #858585;
    --comments-radius: 12px;
    --comments-control-height: 42px;
    margin-top: 46px;
}

.comments__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.comments__title {
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 600;
}

.comments__count {
    display: grid;
    min-width: 26px;
    height: 26px;
    padding-inline: 6px;
    place-items: center;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.comments__list:empty {
    display: none;
}

.comments__list {
    display: grid;
    gap: 0;
    margin-top: 32px;
}

.comment {
    --comment-avatar-size: 40px;
    --comment-avatar-color: #477e9d;
    --comment-author-color: #d8d8d8;
    --comment-date-color: #7f7f7f;
    --comment-text-color: #c4c4c4;
    --comment-action-color: #858585;
    --comment-action-hover-color: #c4c4c4;
    display: grid;
    grid-template-columns: var(--comment-avatar-size) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.comment--reply {
    margin-left: 50px;
}

.comment__avatar {
    display: grid;
    width: var(--comment-avatar-size);
    height: var(--comment-avatar-size);
    place-items: center;
    border-radius: 50%;
    background-color: var(--comment-avatar-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.comment__body {
    min-width: 0;
}

.comment__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.comment__identity {
    display: grid;
    gap: 2px;
}

.comment__name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.comment__author {
    color: var(--comment-author-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.comment__date {
    color: var(--comment-date-color);
    font-size: 0.7rem;
    line-height: 1.25;
}

.comment__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment__action {
    color: var(--comment-action-color);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 180ms ease;
}

.comment__action:hover {
    color: var(--comment-action-hover-color);
}

.comment__mass {
    display: inline-flex;
    align-items: center;
}

.comment__mass input {
    position: relative;
    display: grid;
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    place-content: center;
    appearance: none;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #252525;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.comment__mass input::before {
    width: 7px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    transform: translateY(-1px) rotate(-45deg) scale(0);
    transition: transform 140ms ease;
}

.comment__mass input:checked {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}

.comment__mass input:checked::before {
    transform: translateY(-1px) rotate(-45deg) scale(1);
}

.comment__mass input:focus-visible {
    outline: 2px solid rgb(254 0 136 / 25%);
    outline-offset: 2px;
}

.comment__text {
    margin-top: 8px;
    color: var(--comment-text-color);
    font-size: 0.875rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.comment__text > * + * {
    margin-top: 8px;
}

.comment__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.comment__images img {
    max-width: min(180px, 100%);
    border-radius: 7px;
}

.comment__signature {
    margin-top: 10px;
    color: var(--comment-action-color);
    font-size: 0.72rem;
}

.comments__form {
    margin-top: 0;
}

.mass_comments_action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    color: #858585;
    font-size: 0.75rem;
}

.mass_comments_action label {
    margin-right: auto;
}

.mass_comments_action select {
    appearance: none;
    height: 36px;
    padding: 0 34px 0 10px;
    border: 0;
    border-radius: 7px;
    outline: 0;
    background-color: #303030;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23929292' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    color: #b8b8b8;
    font-size: 0.75rem;
}

.mass_comments_action .bbcodes {
    height: 36px;
    padding-inline: 14px;
    border: 0;
    border-radius: 7px;
    background-color: #303030;
    color: #b8b8b8;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.mass_comments_action .bbcodes:hover {
    background-color: #383838;
    color: #d0d0d0;
}

.reply-form {
    display: grid;
    gap: 12px;
}

.reply-form__guest {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.reply-form .reply-form__input {
    width: 100%;
    height: var(--comments-control-height);
    padding-inline: 13px;
    border: 0;
    border-radius: 9px;
    outline: 0;
    background-color: var(--comments-surface);
    color: var(--comments-text);
    font-size: 0.825rem;
}

.reply-form .reply-form__input:hover {
    background-color: var(--comments-surface);
}

.reply-form .reply-form__input:focus {
    background-color: var(--comments-surface-focus);
    box-shadow: none;
}

.reply-form .reply-form__input::placeholder, .reply-form__composer textarea::placeholder {
    color: var(--comments-muted);
}

.reply-form__composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--comments-control-height);
    gap: 8px;
    align-items: end;
    padding: 6px;
    border-radius: var(--comments-radius);
    background-color: var(--comments-surface);
    transition: background-color 180ms ease;
}

.reply-form__composer:focus-within {
    background-color: var(--comments-surface-focus);
}

.reply-form__composer textarea {
    width: 100%;
    min-height: var(--comments-control-height);
    max-height: 220px;
    padding: 10px 12px;
    overflow-y: hidden;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--comments-text);
    font-size: 0.875rem;
    line-height: 1.5;
    resize: none;
}

.reply-form__submit {
    display: grid;
    width: var(--comments-control-height);
    height: var(--comments-control-height);
    place-items: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    transition: filter 180ms ease, transform 180ms ease;
}

.reply-form__submit:hover {
    filter: brightness(1.12);
}

.reply-form__submit:active {
    transform: scale(0.94);
}

.reply-form__submit svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.reply-form__security {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--comments-muted);
    font-size: 0.75rem;
}

.reply-form__security #dle-captcha img {
    display: block;
    width: 110px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
}

.video__related {
    display: grid;
    align-content: start;
    gap: 14px;
}

.video__related > h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-more {
    margin-top: 60px;
}

.video-more__title {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.profile {
    width: 100%;
    color: #d2d2d2;
}

.profile__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #343434;
}

.profile__avatar {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #1d1d1d;
    object-fit: cover;
}

.profile__identity {
    flex: 1;
    min-width: 0;
}

.profile__name {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.profile__status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 8px 0 0;
    color: #929292;
    font-size: 0.875rem;
}

.profile__group {
    padding: 4px 8px;
    border-radius: 6px;
    background: #343434;
    color: #c4c4c4;
    font-size: 0.75rem;
}

.profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile__action-content, .profile__actions a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.profile__notice {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgb(216 59 78 / 12%);
    color: #ed7886;
    font-size: 0.875rem;
}

.profile__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 18px 0;
}

.profile__facts {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 1.3fr);
    gap: 0;
    margin: 0;
}

.profile__facts dt, .profile__facts dd {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #303030;
}

.profile__facts dt {
    padding-right: 16px;
    color: #929292;
    font-size: 0.8rem;
}

.profile__facts dd {
    color: #d2d2d2;
    overflow-wrap: anywhere;
}

.profile__link {
    margin-left: 8px;
}

.profile__section {
    padding-top: 18px;
    border-top: 1px solid #343434;
}

.profile__section + .profile__section {
    margin-top: 18px;
}

.profile__section-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.1rem;
}

.profile__section-content {
    color: #b8b8b8;
    line-height: 1.65;
}

.profile__settings {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #343434;
}

.profile__settings-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    background: #2a2a2a;
    color: #d2d2d2;
    font-size: 0.875rem;
    cursor: pointer;
    list-style: none;
}

.profile__settings-toggle:hover {
    background: #343434;
    color: #fff;
}

.profile__settings-toggle .icon {
    width: 16px;
    height: 16px;
    fill: currentcolor;
}

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

.profile__settings-body {
    max-width: 820px;
    margin-top: 16px;
}

@media (max-width: 720px) {
    .profile__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .profile__header {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .profile__status, .profile__actions {
        justify-content: center;
    }
    .profile__facts {
        grid-template-columns: 1fr;
    }
    .profile__facts dt {
        padding-bottom: 2px;
        border-bottom: 0;
    }
    .profile__facts dd {
        padding-top: 2px;
    }
}

.tagscloud {
    width: 100%;
}

.tagscloud__heading {
    margin-bottom: 24px;
}

.tagscloud__heading h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.tagscloud__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #929292;
    line-height: 1;
}

.tagscloud__tags a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    overflow-wrap: anywhere;
    border-radius: 6px;
    background: #292929;
    color: #c4c4c4;
    font-size: 0.75rem !important;
    line-height: 1.25;
    transition: background-color 180ms ease, color 180ms ease;
}

.tagscloud__tags a:hover {
    background: #343434;
    color: #fff;
}

.tagscloud__tags a:focus-visible {
    outline: 2px solid rgb(254 0 136 / 45%);
    outline-offset: 2px;
    background: #343434;
    color: #fff;
}

@media (max-width: 600px) {
    .tagscloud__heading {
        margin-bottom: 18px;
    }
}

.feedback {
    width: min(100%, 760px);
}

.feedback .section-heading {
    margin-bottom: 24px;
}

.feedback .section-heading h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.feedback .section-heading p {
    margin-top: 8px;
    color: #929292;
    font-size: 0.875rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .video {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .video__header {
        align-items: flex-start;
        flex-direction: column;
    }
    .video__favorite {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .reply-form__guest {
        grid-template-columns: 1fr;
    }
    .comment--reply {
        margin-left: 20px;
    }
    .comment__header {
        flex-direction: column;
        gap: 6px;
    }
}

.header__mobile-actions, .footer__menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 18px;
    }
    .header__top {
        grid-template-columns: 170px minmax(0, 1fr) auto;
        gap: 18px;
    }
    .video {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .video {
        grid-template-columns: 1fr;
    }
    .video__related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .video__related > h2 {
        grid-column: 1 / -1;
    }
    .form-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header {
        position: sticky;
    }
    .header__inner {
        position: relative;
    }
    .header__top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        height: 56px;
    }
    .header__logo {
        min-width: 0;
        gap: 8px;
    }
    .header__logo img {
        width: 32px;
        height: 32px;
    }
    .header__logo-text {
        font-size: 1.12rem;
        white-space: nowrap;
    }
    .header__mobile-actions {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .header__mobile-button {
        display: grid;
        width: 36px;
        height: 36px;
        padding: 0;
        place-items: center;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #929292;
        cursor: pointer;
    }
    .header__mobile-button:hover, .header__mobile-button.is-active {
        background: #303030;
        color: #fff;
    }
    .header__mobile-button svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }
    .header__burger {
        align-content: center;
        gap: 4px;
    }
    .header__burger > span, .footer__burger > span {
        display: block;
        width: 17px;
        height: 1.5px;
        border-radius: 99px;
        background: currentColor;
        transition: transform 180ms ease, opacity 180ms ease;
    }
    .header__burger.is-active > span:nth-child(1), .footer__menu-toggle.is-active .footer__burger > span:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }
    .header__burger.is-active > span:nth-child(2), .footer__menu-toggle.is-active .footer__burger > span:nth-child(2) {
        opacity: 0;
    }
    .header__burger.is-active > span:nth-child(3), .footer__menu-toggle.is-active .footer__burger > span:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }
    .header__user {
        min-width: 36px;
    }
    .login {
        --login-controls-gap: 7px;
        --login-avatar-size: 34px;
    }
    .login__favorites {
        display: none;
    }
    .search-form {
        position: absolute;
        top: 62px;
        right: 12px;
        left: 12px;
        z-index: 30;
        display: none;
        width: auto;
        max-width: none;
        height: 42px;
        margin: 0;
        box-shadow: 0 12px 30px rgb(0 0 0 / 28%);
    }
    .search-form.is-mobile-open {
        display: flex;
    }
    .search-form__submit {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
    .header-nav {
        display: none;
        height: auto;
        max-height: calc(100dvh - 70px);
        padding: 7px 0 12px;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .header-nav.is-mobile-open {
        display: flex;
    }
    .header-nav__item, .header-nav__trigger {
        width: 100%;
    }
    .header-nav details.header-nav__item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .header-nav__label {
        width: 100%;
        min-height: 40px;
        justify-content: flex-start;
    }
    .header-nav__item.is-active::after {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 0;
        width: 2px;
        height: auto;
    }
    .header-nav .dropdown__content {
        position: static;
        width: 100%;
        margin: 2px 0 6px;
        box-shadow: none;
        transform: none;
    }
    .header-nav .dropdown:not([open]) > .dropdown__content {
        display: none;
    }
    .header-nav .dropdown[open] > .dropdown__content {
        display: block;
    }
    .main {
        margin-top: 20px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 22px;
    }
    .hero__title {
        font-size: 1.35rem;
    }
    #news_set_sort {
        justify-content: flex-start;
        padding-block: 0;
    }
    .notice {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .notice__content {
        font-size: 0.82rem;
    }
    .form-grid, .form-grid--three, .profile__grid {
        grid-template-columns: 1fr;
    }
    .form-body, .searchpage__panel {
        padding: 18px;
        border-radius: 11px;
    }
    .searchpage__header {
        margin-bottom: 20px;
    }
    .searchpage__title {
        font-size: 1.75rem;
    }
    .video__info, .video__taxonomy-group {
        align-items: flex-start;
    }
    .video__favorite {
        width: 100%;
        margin-left: 0;
    }
    .video__favorite-button {
        width: 100%;
    }
    .comments {
        margin-top: 34px;
    }
    .comment {
        --comment-avatar-size: 34px;
        gap: 9px;
    }
    .comment--reply {
        margin-left: 18px;
    }
    .reply-form__guest, .reply-form__composer {
        grid-template-columns: 1fr;
    }
    .reply-form__submit {
        justify-self: end;
    }
    .profile__header {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .profile__status, .profile__actions {
        justify-content: center;
    }
    .profile__facts {
        grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
    }
    .footer {
        margin-top: 34px;
    }
    .footer__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 14px;
        height: auto;
        min-height: 64px;
        padding-block: 14px;
    }
    .footer__menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 9px;
        padding: 7px 0;
        border: 0;
        background: transparent;
        color: #929292;
        font: inherit;
        cursor: pointer;
    }
    .footer__burger {
        display: grid;
        gap: 4px;
    }
    .footer__links {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #343434;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .footer__links.is-mobile-open {
        display: flex;
    }
    .footer__links a {
        width: 100%;
        padding-block: 8px;
    }
    .footer__counter {
        grid-column: 1 / -1;
    }
    .seo-text {
        padding-top: 40px;
    }
    .scroll-top {
        --scroll-top-size: 40px;
        --scroll-top-offset: 14px;
    }
}

@media (max-width: 560px) {
    .container {
        padding-inline: 12px;
    }
    .feed {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .feed-full, .feed:has(> .static), .feed:has(> .searchpage) {
        grid-template-columns: minmax(0, 1fr);
    }
    .promo__cover {
        border-radius: 8px;
    }
    .video__related {
        grid-template-columns: 1fr;
    }
    .promo--related {
        grid-template-columns: 112px minmax(0, 1fr);
    }
    .promo__cover--related {
        width: 112px;
    }
    .pagination {
        --pagination-size: 36px;
        --pagination-gap: 5px;
        flex-wrap: wrap;
    }
    .search-simple__control {
        grid-template-columns: 1fr;
    }
    .search-simple__submit {
        width: 100%;
    }
    .static__header, .static__content, .static__footer {
        --card-body-padding: 16px 0;
    }
    .video__header, .comment__header {
        align-items: flex-start;
        flex-direction: column;
    }
    .mass_comments_action {
        align-items: stretch;
        flex-direction: column;
    }
    .mass_comments_action label {
        margin-right: 0;
    }
    .profile__facts {
        grid-template-columns: 1fr;
    }
    .profile__facts dt {
        padding-bottom: 2px;
        border-bottom: 0;
    }
    .profile__facts dd {
        padding-top: 2px;
    }
    .footer__menu-toggle-label {
        display: none;
    }
}

/* Age verification and cookie consent */
.consent[hidden] {
    display: none;
}

.consent--age {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    padding: 20px;
    place-items: center;
}

.consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(8 8 8 / 82%);
    backdrop-filter: blur(5px);
}

.consent__dialog {
    position: relative;
    width: min(100%, 440px);
    padding: 30px;
    border: 0;
    border-radius: 14px;
    background: #252525;
    box-shadow: 0 20px 60px rgb(0 0 0 / 38%);
    color: #b8b8b8;
}

.consent__dialog--age {
    text-align: center;
}

.consent__mark {
    display: grid;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.consent__title {
    margin: 0;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.consent__title--small {
    font-size: 1.05rem;
}

.consent__text {
    margin: 12px 0 0;
    color: #a8a8a8;
    font-size: 0.875rem;
    line-height: 1.65;
}

.consent__text a {
    color: #d2d2d2;
    text-decoration: underline;
    text-decoration-color: #626262;
    text-underline-offset: 3px;
}

.consent__text a:hover {
    color: #fff;
    text-decoration-color: currentColor;
}

.consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, filter 180ms ease;
}

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

.consent__button--primary:hover {
    color: #fff;
    filter: brightness(1.12);
}

.consent__button--secondary {
    background: #343434;
    color: #b8b8b8;
}

.consent__button--secondary:hover {
    background: #3c3c3c;
    color: #fff;
}

.consent--cookies {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 950;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.consent__dialog--cookies {
    width: min(100%, 400px);
    padding: 22px;
    pointer-events: auto;
}

.consent__actions--cookies {
    margin-top: 18px;
}

body.has-consent-lock {
    overflow: hidden;
}

@media (max-width: 480px) {
    .consent--age {
        padding: 12px;
    }
    .consent__dialog {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .consent__actions {
        grid-template-columns: 1fr;
    }
    .consent--cookies {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }
    .consent__actions--cookies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
