@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scrollbar-color: #3a3a3a var(--body-bg);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--body-bg);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--body-bg);
    border-radius: 999px;
    background-color: #3a3a3a;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
}

body {
    min-height: 100vh;
}

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}
:root {
    color-scheme: dark;
    --white: #fff;
    --red-500: #e50914;
    --color-primary: var(--red-500);
    --color-primary-hover: #c90812;
    --color-secondary: #303030;
    --color-secondary-hover: #3a3a3a;
    --color-input-bg: #242424;
    --control-height: 2.75rem;
    --button-padding-inline: 1.25rem;
    --body-bg: #121212;
    --body-color: #fff;
    --color-text-soft: #e7e7e7;
    --color-text-subtle: #d0d0d0;
    --color-text-muted: #a0a0a0;
    --font-size-h1: clamp(1.6rem, 1.48rem + 0.6vw, 1.9rem);
    --font-size-h2: clamp(1.4rem, 1.24rem + 0.8vw, 1.8rem);
    --font-size-h3: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
    --font-size-h4: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
    --font-size-h5: clamp(1.1rem, 1.06rem + 0.2vw, 1.2rem);
    --font-size-h6: clamp(1rem, 0.98rem + 0.1vw, 1.05rem);
}

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

body {
    background-color: var(--body-bg);
    color: var(--body-color);
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1,
.h1 {
    font-size: var(--font-size-h1);
}

h2,
.h2 {
    font-size: var(--font-size-h2);
}

h3,
.h3 {
    font-size: var(--font-size-h3);
}

h4,
.h4 {
    font-size: var(--font-size-h4);
}

h5,
.h5 {
    font-size: var(--font-size-h5);
}

h6,
.h6 {
    font-size: var(--font-size-h6);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.15;
}

/* Card */
.card {
    background-color: #171717;
    border-radius: 1.5rem;
}
.card-body {
    padding: 1.5rem;
}
/* Buttons */
.btn,
.bbcodes {
    display: inline-flex;
    min-height: var(--control-height);
    align-items: center;
    justify-content: center;
    padding-inline: var(--button-padding-inline);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}
.btn-primary,
.bbcodes {
    background-color: var(--color-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible,
.bbcodes:hover,
.bbcodes:focus-visible {
    background-color: var(--color-primary-hover);
    color: #fff;
}
.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-subtle);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: var(--color-secondary-hover);
    color: #fff;
}
.btn:focus-visible,
.bbcodes:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Tabs */
.tabs {
    min-width: 0;
}
.tabs__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tabs__button {
    position: relative;
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.85rem;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.tabs__button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background-color: var(--color-primary);
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}
.tabs__button:hover,
.tabs__button:focus-visible,
.tabs__button--active {
    background-color: transparent;
    color: #fff;
}
.tabs__button:hover::after,
.tabs__button:focus-visible::after,
.tabs__button--active::after {
    opacity: 1;
    transform: scaleX(1);
}
.tabs__actions {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}
.tabs__action {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}
.tabs__action:hover,
.tabs__actions a:focus-visible .tabs__action {
    color: var(--color-primary);
}
.tabs__panel {
    padding-block: 1.25rem;
    color: var(--color-text-subtle);
    font-size: 0.9rem;
    line-height: 1.65;
}
.tabs__panel[hidden] {
    display: none;
}

/* Forms */
:where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], select, textarea, .form-input) {
    width: 100%;
    padding: 0 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    outline: none;
    background-color: var(--color-input-bg);
    color: var(--body-color);
    font-size: 0.875rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
:where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], select, .form-input) {
    height: var(--control-height);
}
:where(input, textarea)::placeholder {
    color: #777;
}
:where(input[type="checkbox"], .form-check-input) {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    border: 1px solid #555;
    border-radius: 0.3rem;
    outline: none;
    appearance: none;
    background-color: var(--color-input-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.75rem;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}
:where(input[type="checkbox"], .form-check-input):checked {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3.5 8 3 3 6-6'/%3E%3C/svg%3E");
}
:where(input[type="checkbox"], .form-check-input):focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
:where(input[type="checkbox"], .form-check-input):disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.form-check-label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}
:where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], input[type="file"], select, textarea, .form-input):focus {
    border-color: rgba(229, 9, 20, 0.75);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}
select {
    padding-right: 3rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a0a0a0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
}
select[multiple] {
    height: auto;
    min-height: 8rem;
    padding: 0.4rem;
    border-radius: 0.5rem;
    appearance: auto;
    background-image: none;
    cursor: default;
}
select[multiple] option {
    padding: 0.3rem 0.5rem;
}
textarea {
    min-height: 9rem;
    padding: 0.9rem 1.15rem;
    border-radius: 0.75rem;
    line-height: 1.6;
    resize: vertical;
}
input[type="file"] {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.4rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    outline: none;
    background-color: var(--color-input-bg);
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
input[type="file"]::file-selector-button {
    min-height: var(--control-height);
    padding-inline: var(--button-padding-inline);
    border: 0;
    border-radius: 0.75rem;
    margin-right: 0.85rem;
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
input[type="file"]::file-selector-button:hover {
    background-color: var(--color-primary-hover);
}
form label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}
.form-group {
    min-width: 0;
}
.form-group.combo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.form_submit {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}


/* Layout */
.layout {
    padding-block: 2rem 4rem;
}
.layout__fullwidth {
    grid-column: -1 / 1;
}
.layout__grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1.5rem;
}
/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #101010;
    transform: translateY(0);
    transition: transform 0.25s ease;
    will-change: transform;
}
.header__main {
    max-height: 90px;
    overflow: hidden;
    background-color: #1a1a1a;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 0.3s ease,
        opacity 0.2s ease,
        transform 0.3s ease;
}
.header__main-inner {
    display: flex;
    min-height: 90px;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 4rem);
}
.header__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
}
.header__logo img {
    width: 2.875rem;
    height: 2.875rem;
}
.header__brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.header__brand-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.header__brand-name span {
    color: var(--color-primary);
}
.header__tagline {
    color: #929292;
    font-size: 0.65rem;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}
.header__search {
    position: relative;
    flex: 1 1 32rem;
    max-width: 38rem;
}
.header__search .q_search {
    position: relative;
}
.header__search .form-input {
    padding: 0 3.25rem 0 1.15rem;
    background-color: #101010;
}
.header__search button {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    min-height: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transform: translateY(-50%);
}
.header__navigation {
    background-color: #090909;
}
.header__navigation-inner {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.header__menu {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}
.header__mega {
    position: static;
}
.header__mega > summary {
    cursor: pointer;
    list-style: none;
}
.header__mega > summary::-webkit-details-marker {
    display: none;
}
.header__mega-arrow {
    transition: transform 0.2s ease;
}
.header__mega[open] .header__mega-arrow {
    transform: rotate(180deg);
}
.header__mega[open] > .header__link {
    background-color: rgba(255, 255, 255, 0.035);
    color: #fff;
}
.header__mega[open] > .header__link::after {
    opacity: 1;
    transform: scaleX(1);
}
.header__mega-panel {
    position: absolute;
    top: 100%;
    right: var(--container-offset);
    left: var(--container-offset);
    z-index: 10;
    padding: 2rem;
    border: 0;
    border-top: 1px solid #181818;
    border-radius: 0 0 1rem 1rem;
    background-color: #090909;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.header__genres {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.25rem 1rem;
}
.header__genres a {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 0.45rem;
    color: #999;
    font-size: 0.825rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}
.header__genres a:hover,
.header__genres a:focus-visible {
    background-color: var(--color-primary);
    color: #fff;
    transform: none;
}
.header__link {
    position: relative;
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.9rem;
    color: #a0a0a0;
    font-size: 0.875rem;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.header__link::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background-color: var(--color-primary);
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}
.header__link:hover,
.header__link:focus-visible,
.header__link--active {
    background-color: rgba(255, 255, 255, 0.035);
    color: #fff;
}
.header__link:hover::after,
.header__link:focus-visible::after,
.header__link--active::after {
    opacity: 1;
    transform: scaleX(1);
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.header__profile,
.header__add {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background-color: #343434;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.header__profile:hover,
.header__profile:focus-visible,
.header__add:hover,
.header__add:focus-visible {
    background-color: var(--color-primary);
}
.header__menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.7rem;
    border: 0;
    border-radius: 50%;
    background-color: #242424;
    cursor: pointer;
}
.header__menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background-color: #fff;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}
.header__menu-toggle--active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.header__menu-toggle--active span:nth-child(2) {
    opacity: 0;
}
.header__menu-toggle--active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* Footer */
.footer {
    background-color: #171717;

    padding-block: 3rem;
}
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.footer__age-notice {
    color: #929292;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: right;
}
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.footer__logo-image {
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
}
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.footer__brand-name {
    color: #fff;
    font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.footer__brand-name span {
    color: var(--color-primary);
}
.footer__brand-tagline {
    color: #929292;
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #2b2b2b;
}
.footer__copyright {
    color: #929292;
}

.footer__copyright span {
    font-weight: 500;
    color: var(--color-primary);
}
.footer__menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer__link {
    color: #929292;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.25em;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}
.footer__link:hover,
.footer__link:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}

/* Utils */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    --container-width: 1500px;
    --container-offset: 15px;
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-offset);
}

/* Components */
.cookies {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1001;
    display: flex;
    width: min(32rem, calc(100vw - 2rem));
    align-items: flex-end;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 0;
    border-radius: 1.5rem;
    background-color: rgba(23, 23, 23, 0.86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.55);
    transform: translateX(-50%);
    animation: cookies-enter 0.45s ease-out both;
}
.cookies[hidden] {
    display: none;
}
.cookies__content {
    min-width: 0;
    flex: 1;
}
.cookies__title {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}
.cookies__description {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.55;
}
.cookies__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
}
.cookies__button {
    flex: 0 0 auto;
}

@keyframes cookies-enter {
    from {
        opacity: 0;
        transform: translate(-50%, calc(100% + 2rem));
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}


#searchsuggestions {
    z-index: 1000;
    width: min(38rem, calc(100vw - 1.875rem));
    max-height: min(31rem, calc(100vh - 2rem));
    padding: 0.4rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #2b2b2b;
    border-radius: 0.85rem;
    background-color: #101010;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.55);
}

#searchsuggestions > .fastsearch {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem;
    border-radius: 0.65rem;
    transition: background-color 0.2s ease;
}

#searchsuggestions > .fastsearch:hover,
#searchsuggestions > .fastsearch:focus-within {
    background-color: #202020;
    outline: none;
}

.fastsearch__poster {
    display: block;
    flex: 0 0 6.5rem;
    width: 6.5rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #242424;
}

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

.fastsearch__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.55rem;
}

.fastsearch__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-text-soft);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    transition: color 0.25s ease;
}

.fastsearch:hover .fastsearch__title {
    color: var(--body-color);
}

.fastsearch__title:focus-visible {
    color: var(--color-primary);
    outline: none;
}

.fastsearch__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.9rem;
    color: #8e8e8e;
    font-size: 0.75rem;
}

.fastsearch__meta-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.3rem;
}

.fastsearch__meta-item:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#searchsuggestions > .seperator {
    display: none;
}

#searchsuggestions > .notfound {
    display: block;
    padding: 2.25rem 1.5rem;
    color: #8e8e8e;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}


.gotop {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 100;
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background-color: #2b2b2b;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transform: translateY(calc(100% + 1rem));
    transition:
        background-color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s;
}

.gotop--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gotop:hover,
.gotop:focus-visible {
    background-color: var(--color-primary);
}

.gotop:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}


.head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-block: 1rem 1.5rem;
}
.head-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.head-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.head-description {
    display: -webkit-box;
    max-width: 700px;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
    color: var(--color-text-muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.head-description--expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
    line-clamp: initial;
}
.head-description-toggle {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}
.head-description-toggle[hidden] {
    display: none;
}
.head-description-toggle svg {
    transition: transform 0.2s ease;
}
.head-description-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.head-description-toggle:hover span,
.head-description-toggle:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.head-description-toggle:focus-visible {
    outline: none;
}
.head-sort {
    margin-left: auto;
}

.head-more {
    display: inline-flex;
    align-items: center;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 999px;
    white-space: nowrap;
    transition: width 0.25s ease;
}

.head-more__icon {
    display: block;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.25s ease;
}

.head-more__text {
    margin-left: 1rem;
    padding-right: 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-0.35rem);
    transition:
        opacity 0.2s ease,
        transform 0.25s ease;
}

.head-more:hover,
.head-more:focus-visible {
    width: 9.5rem;
    outline: none;
}

.head-more:hover .head-more__icon,
.head-more:focus-visible .head-more__icon {
    background-color: #3a3a3a;
}

.head-more:hover .head-more__text,
.head-more:focus-visible .head-more__text {
    opacity: 1;
    transform: translateX(0);
}


.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1.5rem;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1.5rem;
}
/* Seo-text */
.seo-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 3rem;
}
.seo-text h2 {
    color: var(--color-text-subtle);
}
.seo-text p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
}
/* Main */
.main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Shortstory */

.promo__poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
}
.promo__poster::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background-color: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.promo__badges {
    display: flex;
    align-items: center;

    gap: 0.3rem;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);

    z-index: 2;
    transition:
        opacity 0.2s ease,
        transform 0.25s ease;
}
.promo__badge {
    display: flex;
    align-items: center;

    height: 24px;
    padding-inline: 0.7rem;
    border-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 300;
}
.promo__badge--rating {
    padding-left: 0.2rem;
}
.promo__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.35s ease;
}
.promo__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
    transition:
        opacity 0.2s ease,
        transform 0.25s ease;
    pointer-events: none;
}
.promo__poster:hover::after,
.promo:focus-within .promo__poster::after {
    opacity: 1;
}
.promo__poster:hover .promo__badges,
.promo:focus-within .promo__badges {
    opacity: 0;
    transform: translateY(calc(100% + 0.5rem));
}
.promo__poster:hover .promo__play,
.promo:focus-within .promo__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.promo__content {
    margin-top: 10px;
}
.promo__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: var(--color-text-soft);
    font-size: 0.875rem;
    font-weight: 300;
    transition: color 0.25s ease;
}
.promo:hover .promo__poster img,
.promo:focus-within .promo__poster img {
    transform: scale(1);
}
.promo:hover .promo__title {
    color: var(--body-color);
}
.promo__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 8px;
}
.promo__meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 300;
}
.promo--vertical .promo__poster {
    width: 100%;
    height: 300px;
    aspect-ratio: auto;
}
.promo__hot {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}
/* Video */
.video {
    grid-column: -1 / 1;
    padding-top: 2rem;
}
.video__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 30px 40px;
}
.video__inner > div {
    min-width: 0;
}
.video__inner > aside {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.video__aside-inner {
    position: absolute;
    inset: 0;
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
.video__aside-inner::-webkit-scrollbar {
    display: none;
}
.video__media {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    object-fit: cover;
}
.video__info {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.video__detalic {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.video__detalic-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 300;
}
.video__tabs {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: start;
    grid-gap: 1rem;
    margin-top: 2rem;
    margin-inline: -0.7rem;
}
.video__rating {
    display: flex;
    max-width: 10rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
}
.video__rating-actions {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1;
}
.video__rating-button {
    display: flex;
    min-height: 2.15rem;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    background-color: transparent;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transform: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}
.video__rating-icon--dislike {
    transform: rotate(180deg);
}
.video__rating-button:hover,
.video__rating a:focus-visible .video__rating-button {
    background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-primary);
}
.video__rating-stats {
    display: flex;
    width: calc(100% - 1.5rem);

    margin: 1rem 0.75rem 0;
    flex-direction: column;
    gap: 0.45rem;
}
.video__rating-views {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}
.video__rating-views strong {
    color: var(--body-color);
    font-size: 1.3rem;
    font-weight: 500;
}
.video__rating-views > span {
    display: inline-flex;
    align-items: end;
    gap: 0.5rem;
    white-space: nowrap;
}
.video__rating-progress {
    width: 100%;
    height: 0.32rem;
    overflow: hidden;
    border-radius: 999px;
    background-color: #ef4444;
}
.video__rating-stats--empty .video__rating-progress {
    background-color: #4a4a4a;
}
.video__rating-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background-color: #22c55e;
    transition: width 0.3s ease;
}
.video__rating-values {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 0.5rem;
    white-space: nowrap;
}
.video__rating-views .video__rating-percent {
    margin-left: auto;
    color: var(--body-color);
    font-size: 0.8rem;
    font-weight: 600;
}
.video__rating-value {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--color-text-muted);
}
.video__about {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.video__about-row {
    color: var(--color-text-subtle);
}
.video__about-label {
    color: var(--color-text-muted);
}
.video__about-row a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.22em;
    transition: text-decoration-color 0.2s ease;
}
.video__about-artist {
    margin-top: 2rem;
    color: var(--color-text-subtle);
    font-size: 0.9rem;
    line-height: 1.65;
}
.video__about-artist img {
    border-radius: 1rem;
    margin-block: 1rem;
}
.video__about-row a:hover,
.video__about-row a:focus-visible {
    color: inherit;
    text-decoration-color: currentColor;
}
.video__about-content {
    margin-top: 0.35rem;
}
.video__share {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.video__share-title {
    color: var(--color-text-muted);
}
.video__related {
    margin-top: 3rem;
}

/* Comments */
.comments {
    margin-top: 2rem;
}
.comments__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.comments__toggle {
    flex: 0 0 auto;
    gap: 0.45rem;
}
.comments__form {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
    transition:
        grid-template-rows 0.35s ease,
        opacity 0.25s ease;
}
.comments__form-inner {
    min-height: 0;
    overflow: hidden;
}
.comments__form--open {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
}
.comment__none {
    text-align: center;
    padding-block: 60px;
    color: #929292;
    font-size: 0.85rem;
}
.comment {
    margin-top: 1rem;
}
.comment__card {
    padding: 1rem;
    background-color: #242424;
    border-radius: 1rem;
}
.comment__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}
.comment__avatar {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--comment-avatar-color, #7f3fd1);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
.comment__author {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}
.comment__name {
    overflow: hidden;
    color: var(--body-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.comment__date {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 300;
}
.comment__select:empty {
    display: none;
}

.comment__content {
    margin-top: 0.7rem;
    color: var(--color-text-subtle);
    font-size: 0.9rem;
    line-height: 1.55;
}
.comment__video {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.comment__video > span {
    flex: 0 0 auto;
}
.comment__video a {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--body-color);
    flex: 1;
    font-weight: 500;
    text-overflow: ellipsis;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.22em;
    transition: text-decoration-color 0.2s ease;
    white-space: nowrap;
}
.comment__video a:hover,
.comment__video a:focus-visible {
    text-decoration-color: currentColor;
}
.comment__images,
.comment__signature {
    margin-top: 0.75rem;
}
.comment__signature {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.addcomments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.addcomments__guest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    margin-bottom: 1rem;
}
/* Search */

#fullsearch {
    grid-column: -1 / 1;
    padding-block: 1rem 1.5rem;
}
.searchpage__inner {
    max-width: 700px;
    margin-block: 1.5rem 1rem;
}
.searchpage__form-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.searchpage__field {
    position: relative;
    min-width: 0;
    flex: 1;
}
.searchpage__field > svg {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: var(--color-primary);
    transform: translateY(-50%);
    pointer-events: none;
}
.searchpage__input {
    padding-left: 3.1rem;
}
.searchpage__form-row .bbcodes {
    min-height: var(--control-height);
}
.searchpage__result {
    color: #929292;
    font-size: 0.85rem;
    line-height: 1.5;
}


/* Feedback */
#sendmail {
    grid-column: -1 / 1;
}
.feedback {
    padding-top: 1rem;
    max-width: 700px;
}
.feedback__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.feedback__submit {
    margin-top: 1rem;
}
/* Static */
.static {
    grid-column: -1 / 1;
    padding-top: 1rem;
    max-width: 700px;
}
.static__text {
    font-size: 0.975rem;
    line-height: 1.7;
    font-weight: 300;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
}
.static__text h1, .static__text h2, .static__text h3, .static__text h4, .static__text h5, .static__text h6 {
    margin-bottom:1rem;
    line-height:1.4;
    }
.static__text p {
    margin-bottom: 0.5rem;
}
.static__text ul,
.static__text ol {
    padding-left: 1.4rem;
    margin-block: 0.75rem 1rem;
}
.static__text ul {
    list-style: disc;
}
.static__text ol {
    list-style: decimal;
}
.static__text li + li {
    margin-top: 0.35rem;
}
.static__text li::marker {
    color: var(--color-primary);
}
.static__text a {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.25em;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}
.static__text a:hover,
.static__text a:focus-visible {
    color: var(--color-primary);
    text-decoration-color: currentColor;
}
.static__footer {
    margin-top: 1.5rem;
}

/* Responsive and accessibility */
@media (max-width: 75rem) {
    .layout__grid-5,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 64rem) {
    .layout__grid-5,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video__inner {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 1.75rem;
    }

    .video__tabs {
        grid-template-columns: 1fr;
    }

    .video__rating {
        display: flex;
        width: 100%;
        max-width: none;
        align-items: center;
        flex-direction: row;
        gap: 1rem;
    }

    .video__rating-stats {
        width: min(16rem, 100%);
        max-width: 16rem;
        flex: 0 1 16rem;
        margin: 0 0 0 auto;
    }
}

@media (max-width: 36rem) {
    .form-group.combo {
        grid-template-columns: 1fr;
    }
    .form_submit {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (min-width: 48.01rem) {
    .header--compact {
        transform: translateY(-90px);
    }

    .header__mega:hover > .header__mega-panel,
    .header__mega:focus-within > .header__mega-panel {
        display: block;
    }
}

@media (max-width: 48rem) {
    :root {
        --control-height: 2.35rem;
        --button-padding-inline: 1rem;
    }

    .container {
        --container-offset: 1rem;
    }

    .layout {
        padding-block: 1rem 2rem;
    }

    .main {
        gap: 1.25rem;
    }

    .video {
        padding-top: 1.5rem;
    }

    .video__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video__inner > aside {
        overflow: visible;
    }

    .video__aside-inner {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        overflow: visible;
    }

    .video__aside-inner > .h4 {
        grid-column: 1 / -1;
    }

    .video__info,
    .comments {
        padding: 1rem;
    }

    .video__info > .h3 {
        overflow-wrap: anywhere;
    }

    .video__detalic {
        flex-wrap: wrap;
        gap: 0.65rem 1rem;
        margin-top: 1rem;
    }

    .video__tabs {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
        margin-inline: 0;
    }

    .video__rating {
        display: flex;
        width: 100%;
        max-width: none;
        align-items: center;
        flex-direction: row;
        gap: 1rem;
    }

    .video__rating-stats {
        width: min(16rem, 100%);
        max-width: 16rem;
        flex: 0 1 16rem;
        margin: 0 0 0 auto;
    }

    .tabs__list {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tabs__list::-webkit-scrollbar {
        display: none;
    }

    .tabs__button {
        flex: 0 0 auto;
    }

    .video__about-row,
    .video__about-content,
    .comment__content {
        overflow-wrap: anywhere;
    }

    .video__related {
        margin-top: 2rem;
    }

    .comments {
        margin-top: 1rem;
    }

    .comments__header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .addcomments__guest {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .comment__card {
        padding: 0.85rem;
    }

    .header {
        box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.28);
    }

    .header--compact {
        transform: translateY(-100%);
    }

    .header__main {
        max-height: none;
        overflow: visible;
    }

    .header__main-inner {
        min-height: auto;
        flex-wrap: wrap;
        gap: 0.65rem;
        padding-block: 0.65rem;
    }

    .header__menu-toggle {
        display: block;
        margin-left: auto;
        border-radius: 0.75rem;
        background-color: var(--color-primary);
    }

    .header__search {
        flex-basis: 100%;
        max-width: none;
        order: 3;
    }

    .header__search .form-input {
        padding-right: 3rem;
        padding-left: 1rem;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    #q_search #story::placeholder {
        font-size: 0.85rem;
    }

    .header__navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        background-color: #090909;
        box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.45);
        transition: max-height 0.3s ease;
    }

    .header__navigation--open {
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
    }

    .header__navigation-inner,
    .header__menu {
        align-items: stretch;
        flex-direction: column;
    }

    .header__navigation-inner {
        gap: 0;
        padding-block: 0.5rem 1rem;
    }

    .header__link {
        min-height: 3rem;
        border-radius: 0.5rem;
    }

    .header__mega-panel {
        position: static;
        padding: 0.75rem 0.5rem 1rem;
        border: 0;
        border-radius: 0.75rem;
        background-color: #181818;
        box-shadow: none;
    }

    .header__genres {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 0;
    }

    .header__link::after {
        top: 0.65rem;
        right: auto;
        bottom: 0.65rem;
        left: 0;
        width: 2px;
        height: auto;
        transform: scaleY(0.4);
    }

    .header__link:hover::after,
    .header__link:focus-visible::after,
    .header__link--active::after {
        transform: scaleY(1);
    }

    .header__actions {
        padding: 0.75rem 0.9rem 0;
    }

    .head {
        align-items: flex-start;
        flex-wrap: wrap;
        padding-block: 0.65rem 0.85rem;
    }

    .head-sort {
        flex: 0 0 100%;
        margin-left: 0;
    }

    .head-sort .sort {
        flex-wrap: wrap;
        gap: 0.65rem 1rem;
    }

    :where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], select, textarea, .form-input) {
        padding-inline: 1rem;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .layout__grid-5,
    .grid-5,
    .grid-6 {
        gap: 1rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-text {
        padding-block: 1.75rem;
    }
}

@media (max-width: 25rem) {
    .header__brand-name {
        font-size: 1rem;
    }

    .header__genres {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 40rem) {
    .footer {
        padding-block: 2.5rem;
    }

    .footer__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer__age-notice {
        text-align: left;
    }

    .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        line-height: 1.55;
    }

    .footer__copyright {
        max-width: 18rem;
    }

    .footer__menu {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
    }

    .footer__link {
        white-space: nowrap;
    }
}

@media (max-width: 34rem) {
    .cookies {
        bottom: 1rem;
        align-items: stretch;
        flex-direction: column;
    }
    .cookies__actions {
        width: 100%;
    }
    .cookies__button {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookies {
        animation: none;
    }
}

@media (max-width: 30rem) {
    .fastsearch__poster {
        flex-basis: 5.25rem;
        width: 5.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gotop {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .head-more,
    .head-more__icon,
    .head-more__text {
        transition: none;
    }
}

@media (max-width: 42rem) {
    .video__tabs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 36rem) {
    .mass_comments_action {
        align-items: stretch;
        flex-direction: column;
    }
    .mass_comments_action select,
    .mass_comments_action .bbcodes {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comments__form {
        transition: none;
    }
}

@media (max-width: 30rem) {
    .searchpage__form-row {
        align-items: stretch;
        flex-direction: column;
    }

    .video__aside-inner {
        grid-template-columns: 1fr;
    }

    .video__detalic-item {
        font-size: 0.75rem;
    }

    .video__rating-actions {
        flex-wrap: wrap;
    }

    .video__rating {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
    }

    .video__rating-stats {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        margin: 0.35rem 0 0;
    }

    .tabs__button {
        min-height: 2.5rem;
        padding-inline: 0.65rem;
        font-size: 0.8rem;
    }

    .tabs__actions {
        margin-left: 0;
    }

    .comments__toggle {
        width: 100%;
        justify-content: center;
    }

    .layout__grid-5,
    .grid-5,
    .grid-6 {
        grid-template-columns: 1fr;
    }
}
