/* ==========================================================================
   Jutsu — единая тема портала (jutsu-theme.css)
   ========================================================================== */
:root,
body.dark {
    --j-accent: #98bc1f;
    --j-accent-soft: #acce0d;
    --j-accent-muted: #96c461;
    --j-surface: #363a37;
    --j-surface-elevated: #492e32;
    --j-surface-light: #eef5cd;
    --j-surface-page: #1f1f1f;
    --j-border: #3c4c40;
    --j-border-soft: #666b66;
    --j-text: #cdcdd3;
    --j-text-muted: #b0c0b2;
    --j-text-strong: #ececf2;
    --j-radius-sm: 10px;
    --j-radius-md: 14px;
    --j-radius-pill: 35px;
    --j-surface-tab: #323232;
    --j-surface-tab-active: #3f3f3f;
    --j-surface-input: #2f332f;
    --j-text-tab: #a8a8b1;
    --j-info-surface: #3f4640;
    --j-info-surface-border: rgba(152, 188, 31, 0.16);
    --j-info-surface-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --j-info-divider: rgba(255, 255, 255, 0.08);
    --j-info-tab-bg: rgba(152, 188, 31, 0.1);
    --j-info-tab-border: rgba(152, 188, 31, 0.14);
    --j-info-tab-text: #b0baa8;
    --j-info-tab-active-bg: #4a524a;
    --j-info-tab-active-text: #f5f5f7;
    --j-info-accent-soft: rgba(152, 188, 31, 0.18);
    --j-info-accent-text: #c8e06a;
    --j-info-alt-text: #d1d1d6;
    --j-info-settings-bg: #2e332f;
    --j-info-settings-border: #5d6958;
    --j-info-settings-icon: #c8e06a;
    --j-info-settings-shadow: 1px 1px 1px #1a1c1a, inset 1px 1px 1px #4a504a;
    --j-info-hint-bg: #2a3128;
    --j-info-hint-text: #f0f4eb;
    --j-info-hint-border: #4a5644;
    --j-info-modal-text: #f5f5f7;
    --j-info-form-bg: #2f332f;
    --j-info-form-border: #5e6a60;
    --j-info-form-ghost: rgba(255, 255, 255, 0.08);
    --j-info-btn-primary-bg: #7fa318;
    --j-info-btn-primary-text: #fff;
    --j-info-btn-ghost-text: #c8e06a;
    --j-info-text: #f5f5f7;
    --j-info-text-muted: #a1a1a6;
    --j-info-tabs-bg: var(--j-info-tab-bg);
    --j-info-tabs-border: var(--j-info-tab-border);
    --j-info-focus: var(--j-accent);
    --j-info-accent: var(--j-accent);
}

body.light {
    --j-surface: #eef5cd;
    --j-surface-elevated: #d9efc9;
    --j-surface-light: #fff;
    --j-surface-page: #fff;
    --j-border: #acce0d;
    --j-border-soft: #acce0d;
    --j-text: #2c2c2c;
    --j-text-muted: #5b5b5b;
    --j-text-strong: #1f1f1f;
    --j-surface-tab: #e8ecd6;
    --j-surface-tab-active: #d9dfbb;
    --j-surface-input: #eef5cd;
    --j-text-tab: #8f8f8f;
    --j-info-surface: #fff;
    --j-info-surface-border: #dfe8c8;
    --j-info-surface-shadow: 0 1px 4px rgba(47, 63, 31, 0.06);
    --j-info-divider: #eef2e0;
    --j-info-tab-bg: #e2ebc8;
    --j-info-tab-border: rgba(172, 206, 13, 0.2);
    --j-info-tab-text: #5f6f45;
    --j-info-tab-active-bg: #fff;
    --j-info-tab-active-text: #1c1c1e;
    --j-info-accent-soft: #edf5d4;
    --j-info-accent-text: #5a7a10;
    --j-info-alt-text: #3a3a3c;
    --j-info-settings-bg: #d9f1a7;
    --j-info-settings-border: #a0b771;
    --j-info-settings-icon: #6a8f12;
    --j-info-settings-shadow: 1px 1px 1px #96ad65, inset 1px 1px 1px #fff;
    --j-info-hint-bg: #fff;
    --j-info-hint-text: #1c1c1e;
    --j-info-hint-border: #dfe8c8;
    --j-info-modal-text: #1c1c1e;
    --j-info-form-bg: #f8faf3;
    --j-info-form-border: #dfe8c8;
    --j-info-form-ghost: #edf5d4;
    --j-info-btn-primary-bg: #6a8f12;
    --j-info-btn-primary-text: #fff;
    --j-info-btn-ghost-text: #5a7a10;
    --j-info-text: #1c1c1e;
    --j-info-text-muted: #8e8e93;
    --j-info-tabs-bg: var(--j-info-tab-bg);
    --j-info-tabs-border: var(--j-info-tab-border);
    --j-info-focus: var(--j-accent);
    --j-info-accent: #7fa318;
    --j-toggle-off: #e9e9eb;
    --j-toggle-on: #9dc532;
}

/* ==========================================================================
   iOS-переключатели (все чекбоксы)
   ========================================================================== */
:root,
body.dark {
    --j-toggle-off: #636366;
    --j-toggle-on: var(--j-accent);
    --j-toggle-w: 40px;
    --j-toggle-h: 24px;
    --j-toggle-knob: 20px;
    --j-toggle-shift: 16px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: var(--j-toggle-w);
    height: var(--j-toggle-h);
    margin: 0;
    border: 0;
    border-radius: var(--j-toggle-h);
    background: var(--j-toggle-off);
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    transition: background 0.25s ease;
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: var(--j-toggle-knob);
    height: var(--j-toggle-knob);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="checkbox"]:checked {
    background: var(--j-toggle-on);
}

input[type="checkbox"]:checked::after {
    transform: translateX(var(--j-toggle-shift));
}

input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--j-accent);
    outline-offset: 2px;
}

input[type="checkbox"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

label:has(> input[type="checkbox"]),
.anime-notify-check-row,
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

li:has(> input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cld-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 12px;
    color: inherit;
}

.cld-button img {
    width: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.cld-common-wrap {
    border-radius: 4px;
}

.light .cld-common-wrap {
    background: rgba(0, 0, 0, 0.05);
}

.cld-common-wrap:hover {
    background: rgba(255, 255, 255, 0.1);
}

.anime-notify-trigger {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #d0d50f;
    background-color: #d0d50f;
    color: #1c1f1c;
    cursor: pointer;
    z-index: 3;
    transform: translate(15%, 15%);
}

.anime-notify-trigger svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.anime-notify-trigger:hover {
    filter: brightness(0.96);
}

.anime-notify-push-source {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
}

.anime-notify-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(10, 15, 12, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.anime-notify-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.anime-notify-dialog {
    width: min(430px, 100%);
    border-radius: 18px;
    border: 1px solid #5d6958;
    background: radial-gradient(120% 180% at 20% 10%, #394438 0%, #2f352f 45%, #252a25 100%);
    box-shadow: 0 24px 60px #0000008a;
    padding: 18px 16px 14px;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.2s ease;
    position: relative;
}

.anime-notify-modal.is-open .anime-notify-dialog {
    transform: translateY(0) scale(1);
}

.light .anime-notify-dialog {
    background: radial-gradient(120% 180% at 20% 10%, #f3f9d8 0%, #eaf3c8 46%, #ddeab2 100%);
    border-color: #acce0d;
}

.anime-notify-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #222722;
    color: #dce5d4;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.light .anime-notify-close {
    background: #d8e9a7;
    color: #4f5b39;
}

.anime-notify-title {
    margin: 0;
    padding-right: 34px;
    font-size: 20px;
    line-height: 1.2;
    color: #f2f7eb;
}

.light .anime-notify-title {
    color: #35411f;
}

.anime-notify-subtitle {
    margin: 8px 0 14px;
    color: #b8c2b4;
    font-size: 13px;
    line-height: 1.45;
}

.light .anime-notify-subtitle {
    color: #627249;
}

.anime-notify-actions {
    display: grid;
    gap: 10px;
}

.anime-notify-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e9f0e9;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}


.anime-notify-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #4f5a4f;
    background: #3a433a;
    color: #e9f0e9;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.anime-notify-option svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 18px;
}

.anime-notify-option:hover {
    text-decoration: none;
    filter: brightness(1.06);
}

.anime-notify-option_tg {
    background: #2b5278;
    border-color: #2f5b86;
    color: #fff;
}

.anime-notify-option_tg.is-subscribed {
    background: #3e7a52;
    border-color: #4c9a64;
}

.site-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-notice.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-notice__inner {
    margin: 0 auto;
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #5f6a5f;
    background: #2d342d;
    color: #d8dfd2;
    box-shadow: 0 10px 28px #0000007d;
}

.site-notice__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.site-notice__btn {
    min-width: 96px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #4f5f4f;
    background: #3f5b3f;
    color: #edf3e8;
    font-weight: 500;
    cursor: pointer;
}

.site-notice__btn:hover {
    filter: brightness(1.06);
}

.light .site-notice__inner {
    background: #eef5cd;
    color: #40502a;
    border-color: #accf62;
    box-shadow: 0 10px 28px #7f8c5b5e;
}

.light .site-notice__btn {
    background: #98bc1f;
    border-color: #8ab015;
    color: #ffffff;
}

.chrome-install {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2601;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.chrome-install.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chrome-install__dialog {
    width: min(420px, calc(100vw - 20px));
    border-radius: 14px;
    border: 1px solid #5f6a5f;
    background: #2d342d;
    box-shadow: 0 12px 34px #0000008f;
    padding: 14px;
}

.chrome-install__head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chrome-install__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d7dfd0;
    flex: 0 0 48px;
}

.chrome-install__title {
    margin: 0;
    color: #edf3e8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.chrome-install__subtitle {
    margin: 4px 0 0;
    color: #bfc8b8;
    font-size: 12px;
    line-height: 1.35;
}

.chrome-install__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.chrome-install__btn {
    min-width: 96px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #4f5f4f;
    font-weight: 500;
    cursor: pointer;
}

.chrome-install__btn_ghost {
    background: transparent;
    color: #d8dfd2;
}

.chrome-install__btn_primary {
    background: #3f5b3f;
    color: #edf3e8;
}

.chrome-install__btn:hover {
    filter: brightness(1.06);
}

.light .chrome-install__dialog {
    background: #eef5cd;
    border-color: #accf62;
    box-shadow: 0 10px 28px #7f8c5b5e;
}

.light .chrome-install__title {
    color: #40502a;
}

.light .chrome-install__subtitle {
    color: #5d6d42;
}

.light .chrome-install__btn_ghost {
    border-color: #aac771;
    color: #40502a;
    background: #dfe9bf;
}

.light .chrome-install__btn_primary {
    background: #98bc1f;
    border-color: #8ab015;
    color: #ffffff;
}

.light .anime-notify-option {
    background: #d8e6b0;
    border-color: #acce0d;
    color: #3f452f;
}

.light .anime-notify-option_tg {
    background: #4a80b6;
    border-color: #4a80b6;
    color: #fff;
}

.light .anime-notify-option_tg.is-subscribed {
    background: #5a9d4d;
    border-color: #5a9d4d;
}

.light .anime-notify-check-row {
    color: #3f452f;
}

body.site-modal-open,
body.anime-notify-open {
    overflow: hidden;
}

.site-modals {
    display: contents;
}

@media screen and (max-width: 800px) {
    .full__poster .anime-notify-trigger {
        width: 26px;
        height: 26px;
    }

    .full__poster .anime-notify-trigger svg {
        width: 16px;
        height: 16px;
    }

    .anime-notify-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .anime-notify-dialog {
        width: 100%;
        border-radius: 16px;
        padding: 16px 14px 12px;
    }

    .anime-notify-title {
        font-size: 18px;
    }

    .site-notice {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .site-notice__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .site-notice__btn {
        width: 100%;
    }

    .chrome-install {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .chrome-install__dialog {
        width: 100%;
    }

    .chrome-install__actions {
        justify-content: stretch;
    }

    .chrome-install__btn {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    overflow-y: scroll;
}

@supports (scrollbar-gutter: stable) {
    html {
        overflow-y: auto;
        scrollbar-gutter: stable;
    }
}

body {
    min-height: calc(100vh + 10px);
    background-color: #fff;
    color: #cdcdd3;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    margin: 0;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.dark {
    background-color: #1f1f1f;
    background-image: url(../images/background.webp?v=1);
}

body.light {
    background-color: #fff;
    background-image: url(../images/background_white.webp?v=1);
}

a {
    color: #fff;
    text-decoration: none;
}

.light a {
    color: #5f762f;
}

a:hover {
    text-decoration: underline;
}

.center {
    text-align: center;
}

.lower {
    text-transform: lowercase;
}

.my-15 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.hide {
    display: none;
}

hr {
    border-top: 1px solid #5c675e;
    width: 100%;
    margin: 10px 0;
}

.light hr {
    border-top: 1px solid #ACCE0D;
}

.adv-block {
    padding: 10px 10px 0;
    background: #1f1f1f;
    max-width: 1010px;
    width: 100%;
    margin: 0 auto;
    border-left: 3px solid #3c4c40;
    border-right: 3px solid #3c4c40;
}

.light .adv-block {
    background: #fff;
    border-left: 3px solid #96c461;
    border-right: 3px solid #96c461;
}

.header {
    background: #1c341c;
    background: -moz-linear-gradient(top, #1c341c 0%, #334633 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1c341c), color-stop(100%, #334633));
    background: -webkit-linear-gradient(top, #1c341c 0%, #334633 100%);
    background: -o-linear-gradient(top, #1c341c 0%, #334633 100%);
    background: -ms-linear-gradient(top, #1c341c 0%, #334633 100%);
    background: linear-gradient(to bottom, #1c341c 0%, #334633 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c341c', endColorstr='#334633', GradientType=0);
    border-bottom: 1px solid #515b3b;
}

.light .header {
    background: #9bc76c;
    background: -moz-linear-gradient(top, #9bc76c 0%, #c3e062 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9bc76c), color-stop(100%, #c3e062));
    background: -webkit-linear-gradient(top, #9bc76c 0%, #c3e062 100%);
    background: -o-linear-gradient(top, #9bc76c 0%, #c3e062 100%);
    background: -ms-linear-gradient(top, #9bc76c 0%, #c3e062 100%);
    background: linear-gradient(to bottom, #9bc76c 0%, #c3e062 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9bc76c', endColorstr='#c3e062', GradientType=0);
    border-bottom: 1px solid #9dc86c;
}

.header__inner {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 2px;
}

.header__moon {
    background: url(../images/moon.png?v=1) no-repeat;
    background-size: contain;
    width: 66px;
    height: 67px;
    cursor: pointer;
    transition: all 1s;
}

.header__moon:hover {
    background: url(../images/moon_white.png?v=1) no-repeat;
    background-size: contain;
}

.light .header__moon:hover {
    background: url(../images/moon_dark.png?v=1) no-repeat;
    background-size: contain;
}

.header__menu {
    list-style-type: none;
    display: flex;
    gap: 30px;
    height: 45px;
    align-items: center;
}

.header__menu_visible {
    display: flex !important;
}

.header__menu li {
    width: 92px;
    text-align: center;
}

.header__menu a,
.header__menu span {
    color: #b0c0b2;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
}

.light .header__menu a,
.light .header__menu span {
    color: #617c42;
}

.header__menu-sub-menu-button {
    position: relative;
}

.header__menu-sub-menu-button::before {
    position: absolute;
    top: -27px;
    left: 0;
    width: 92px;
    height: 90px;
    content: '';
    background: url(../images/nav-bg.png?v=1) no-repeat;
    z-index: 3;
}

.light .header__menu-sub-menu-button::before {
    background: url(../images/nav-bg_white.png?v=1) no-repeat;
}

.header__sub-menu {
    position: absolute;
    top: 45px;
    left: -5px;
    background: rgb(31 31 31 / 77%);
    box-shadow: 1px 1px 5px #535f53;
    z-index: 2;
    padding: 36px;
    list-style-type: none;
    flex-wrap: wrap;
    gap: 10px;
    width: 622px;
    justify-content: flex-start;
    display: none;
    border-radius: 0 0 10px 10px;
    backdrop-filter: blur(5px);
}

.light .header__sub-menu {
    background: rgb(255 255 255 / 77%);
    box-shadow: 1px 1px 5px #BDDC62;
}

.header__sub-menu li {
    width: 130px;
}

.header__sub-menu a {
    text-transform: none;
}

.header__menu-sub-menu-button:hover .header__sub-menu {
    display: flex;
}

.header__mobile-menu-button {
    display: none;
    width: 40px;
    height: 34px;
    border: 0;
    padding: 0;
    appearance: none;
    background: #212722 url(../images/mobile-menu.svg?v=1) center no-repeat;
    background-size: 25px;
    border-radius: 5px;
    box-shadow: 1px 1px 0px 0px #1f1f1f, inset 1px 1px 1px #606661;
    cursor: pointer;
}

.light .header__mobile-menu-button {
    box-shadow: 1px 1px 0px 0px #95ad65, inset 1px 1px 1px #fff;
    background-color: #d9f1a7;
}

.logo {
    margin: 25px 0;
}

.logo__link {
    background: url(../images/logo.webp?v=1) no-repeat;
    background-size: contain;
    width: 346px;
    height: 116px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.light .logo__link {
    background: url(../images/logo_white.png?v=1) no-repeat;
    background-size: contain;
}

.main__inner {
    max-width: 1020px;
    margin: 0 auto;
}

.main__title {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.content__header {
    max-width: 1020px;
    width: 100%;
    height: 75px;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    padding: 0 45px;
    box-sizing: border-box;
    background: #334633;
    background: -moz-linear-gradient(top, #334633 0%, #1c341c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #334633), color-stop(100%, #1c341c));
    background: -webkit-linear-gradient(top, #334633 0%, #1c341c 100%);
    background: -o-linear-gradient(top, #334633 0%, #1c341c 100%);
    background: -ms-linear-gradient(top, #334633 0%, #1c341c 100%);
    background: linear-gradient(to bottom, #334633 0%, #1c341c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#334633', endColorstr='#1c341c', GradientType=0);
    box-shadow: 2px 2px 3px 0 #394439;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 1;
}

.light .content__header {
    background: #c6e262;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2ZTI2MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5NWMzNjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #c6e262 0%, #95c361 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #c6e262), color-stop(100%, #95c361));
    background: -webkit-linear-gradient(top, #c6e262 0%, #95c361 100%);
    background: -o-linear-gradient(top, #c6e262 0%, #95c361 100%);
    background: -ms-linear-gradient(top, #c6e262 0%, #95c361 100%);
    background: linear-gradient(to bottom, #c6e262 0%, #95c361 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6e262', endColorstr='#95c361', GradientType=0);
    box-shadow: 2px 2px 3px 0 #bbd487;
}

.content__search {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search {
    flex-grow: 1;
    width: 100%;
    height: 35px;
    border: 1px solid #a0b771;
    border-radius: 10px;
    padding: 0 25px;
    font: 16px / 1.3 Verdana;
    border-color: #7c817e;
    background: #2e332f;
    box-shadow: 1px 1px 1px #1f1f1f, inset 1px 1px 1px #606661;
    color: #b0c0b2;
}

.light .search {
    border: 1px solid #a0b771;
    background: #d9f1a7;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZjFhNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkOWYxYTciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d9f1a7 0%, #d9f1a7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d9f1a7), color-stop(100%, #d9f1a7));
    background: -webkit-linear-gradient(top, #d9f1a7 0%, #d9f1a7 100%);
    background: -o-linear-gradient(top, #d9f1a7 0%, #d9f1a7 100%);
    background: -ms-linear-gradient(top, #d9f1a7 0%, #d9f1a7 100%);
    background: linear-gradient(to bottom, #d9f1a7 0%, #d9f1a7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d9f1a7', endColorstr='#d9f1a7', GradientType=0);
    box-shadow: 1px 1px 1px #96ad65, inset 1px 1px 1px #fff;
    color: #5f5f5f;
}

.search-button {
    width: 94px;
    height: 30px;
    border: 1px solid #4e5b33;
    border-radius: 7px;
    cursor: pointer;
    float: right;
    color: #b0c0b2;
    box-shadow: 1px 1px 1px #1f1f1f, inset 1px 1px 1px #536038;
    background: #3d4629;
    background: -moz-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3d4629), color-stop(100%, #272b1e));
    background: -webkit-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -o-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -ms-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: linear-gradient(to bottom, #3d4629 0%, #272b1e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d4629', endColorstr='#272b1e', GradientType=0);
}

.light .search-button {
    box-shadow: 1px 1px 1px #8fa75c, inset 1px 1px 1px #fff;
    background: #d7efa7;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q3ZWZhNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhN2MwNzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7efa7), color-stop(100%, #a7c071));
    background: -webkit-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -o-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -ms-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: linear-gradient(to bottom, #d7efa7 0%, #a7c071 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d7efa7', endColorstr='#a7c071', GradientType=0);
    border: 1px solid #8ea65c;
    color: #5d7637;
}

.content__socials {
    list-style-type: none;
    display: flex;
    gap: 10px;
}

.content__socials li a {
    width: 46px;
    height: 46px;
    display: flex;
    background: #212722;
    box-shadow: 1px 1px 0 0 #1f1f1f, inset 1px 1px 1px #606661;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.light .content__socials li a {
    box-shadow: 1px 1px 0 0 #95ad65, inset 1px 1px 1px #fff;
    background: #d9f1a7;
}

.content__socials li a:active {
    position: relative;
    top: 1px;
}

.content__socials li a img {
    width: 26px;
    height: 26px;
}

.content__nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: #212722 url(../images/mobile-menu.svg?v=1) center no-repeat;
    background-size: 25px;
    border-radius: 25px;
    box-shadow: 1px 1px 0px 0px #1f1f1f, inset 1px 1px 1px #606661;
    cursor: pointer;
}

.light .content__nav-toggle {
    box-shadow: 1px 1px 0px 0px #95ad65, inset 1px 1px 1px #fff;
    background-color: #d9f1a7;
}

.content__data {
    max-width: 1010px;
    width: 100%;
    margin: 0 auto;
    background-color: #1f1f1f;
    border-left: 3px solid #3c4c40;
    border-right: 3px solid #3c4c40;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    gap: 10px;
}

.light .content__data {
    background-color: #fff;
    border-left: 3px solid #96c461;
    border-right: 3px solid #96c461;
    color: #333;
}

#fullsearch {
    width: 100%;
}

.searchpage .box_in {
    border-radius: 14px;
    border: 1px solid #4f5c4f;
    background: linear-gradient(180deg, #3a413c 0%, #313832 100%);
    box-shadow: inset 0 1px 0 #5e6b5e, 0 10px 22px #00000030;
    padding: 14px;
    margin: 0 0 25px 0;
}

.searchpage .title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #ebf2e8;
}

.searchpage__hint {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #cfd9ca;
}

.searchpage__body {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.searchpage .searchtable,
.searchpage #fullsearch,
.searchpage .search-block {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.searchpage .search_result_num {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.searchpage__result {
    font-size: 15px;
    line-height: 1.35;
    color: #d4dfcf;
    margin-bottom: 10px;
}

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

.searchpage__form input[type="text"],
.searchpage__form input[type="search"],
.searchpage__form #searchinput,
.searchpage__form .search {
    height: 48px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.2;
    padding: 10px 16px;
    background: #2d342f;
    border: 1px solid #566656;
    color: #e5ece2;
    box-shadow: inset 0 1px 0 #4d5d4d;
    flex: 1;
}

.searchpage__form .search-button,
.searchpage__form #dosearch {
    width: 128px;
    min-width: 128px;
    height: 48px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
}

.light .searchpage .box_in {
    border-color: #b8ce8a;
    background: linear-gradient(180deg, #eef6d5 0%, #e7f1cb 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 12px 24px #9eb16a3b;
}

.light .searchpage .title {
    color: #40502a;
}

.light .searchpage__hint {
    color: #596b3c;
}

.light .searchpage__result {
    color: #4d5f36;
}

.light .searchpage__form input[type="text"],
.light .searchpage__form input[type="search"],
.light .searchpage__form #searchinput,
.light .searchpage__form .search {
    background: #f4f9e7;
    border-color: #aeca6f;
    color: #3c4a2a;
    box-shadow: inset 0 1px 0 #ffffff;
}

@media screen and (max-width: 900px) {
    .searchpage .box_in {
        padding: 12px;
    }

    .searchpage .title {
        font-size: 22px;
    }

    .searchpage__hint {
        font-size: 14px;
    }

    .searchpage__result {
        font-size: 14px;
    }
}

@media screen and (max-width: 700px) {
    .searchpage .title {
        font-size: 21px;
    }

    .searchpage__hint,
    .searchpage__result {
        font-size: 13px;
    }

    .searchpage__form input[type="text"],
    .searchpage__form input[type="search"],
    .searchpage__form #searchinput,
    .searchpage__form .search {
        height: 44px;
        padding: 10px 12px;
        font-size: 15px;
    }

    .searchpage__form {
        flex-direction: column;
        align-items: stretch;
    }

    .searchpage__form .search-button,
    .searchpage__form #dosearch {
        height: 44px;
        width: 100%;
        min-width: 0;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .searchpage .box_in {
        border-radius: 12px;
        padding: 10px;
    }

    .searchpage .title {
        font-size: 19px;
    }

    .searchpage__hint,
    .searchpage__result {
        font-size: 12px;
    }

    .searchpage__form input[type="text"],
    .searchpage__form input[type="search"],
    .searchpage__form #searchinput,
    .searchpage__form .search {
        height: 42px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .searchpage__form .search-button,
    .searchpage__form #dosearch {
        height: 42px;
        font-size: 15px;
    }
}

.sidebar {
    width: 260px;
    min-width: 260px;
}

.sidebar__block {
    border-radius: 14px;
    padding: 10px 10px;
    text-align: center;
    background: var(--j-surface);
}

.light .sidebar__block {
    background: #eef5cd;
    box-shadow: 2px 2px 3px #bddc62, inset 1px 1px 1px #bddc62;
}

.sidebar__title {
    font-size: 18px;
    border-bottom: 1px solid #8ca38f;
    text-align: center;
    padding: 10px 0;
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
}

.sidebar__title span {
    color: #accaa6;
}

.light .sidebar__title span {
    color: #81a834;
}

.sidebar__menu {
    display: flex;
    list-style-type: none;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.sidebar__menu li {
    width: 100%;
    text-align: left;
}

.sidebar__menu a {
    color: #b6b6bd;
    display: block;
    padding: 3px;
    padding-left: 25px;
    border-radius: 15px;
}

.light .sidebar__menu a {
    color: #4f4f4f;
}

.sidebar__menu a:hover {
    color: #1f1f1f;
    background: #889b88;
    text-decoration: none;
}

.light .sidebar__menu a:hover {
    color: #fff;
    background: #98bc1f;
}

.sidebar__menu-line {
    padding: 0 5px 10px 20px;
}

.sidebar__menu-line::before {
    content: '';
    display: block;
    border-bottom: 1px solid #5c675e;
    padding: 5px;
    padding-left: 20px;
}

.light .sidebar__menu-line::before {
    border-bottom: 1px solid #c5d18c;
}

.content__main {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: center;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.main__description {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid #5c675e;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.main__description-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main__description-text li {
    list-style-type: circle;
    margin-left: 20px;
}

.main__description-text li::marker {
    color: #f17d00;
    font-size: 20px;
}

/* Next series / episode cards */
.next-series {
    --ns-border: #acce0d;
    --ns-title: #2f2f2f;
    --ns-card-bg: #eef5cd;
    --ns-card-border: #d5e4a8;
    --ns-card-text: #2c2c2c;
    --ns-card-shadow: 0 1px 2px rgba(47, 63, 31, 0.06);
    --ns-cover-border: #c5db8a;
    --ns-cover-bg: #fff;
    --ns-episode: #5b5b5b;
    width: 100%;
    border-bottom: 1px solid var(--ns-border);
    padding: 14px 0 6px;
    margin-bottom: 20px;
}

body:not(.light) .next-series {
    --ns-border: #5c675e;
    --ns-title: #d3d4dc;
    --ns-card-bg: #3a3f3a;
    --ns-card-border: #5e6a60;
    --ns-card-text: #d6d7de;
    --ns-card-shadow: none;
    --ns-cover-border: #6a7a6a;
    --ns-cover-bg: #2f332f;
    --ns-episode: #bcbcc3;
}

.next-series__title {
    text-align: center;
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.1;
    font-family: inherit;
    color: var(--ns-title);
    font-weight: 700;
}

.next-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.next-series .berrors {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ns-card-bg);
    border: 1px solid var(--ns-card-border);
    text-align: center;
    color: var(--ns-card-text);
    line-height: 1.45;
}

.next-card {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.next-card__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 76px;
    padding: 10px 14px 10px 12px;
    border-radius: 14px;
    background: var(--ns-card-bg);
    border: 1px solid var(--ns-card-border);
    color: var(--ns-card-text);
    overflow: hidden;
    box-shadow: var(--ns-card-shadow);
}

.next-card__link:hover {
    text-decoration: none;
    opacity: .96;
}

.next-card__cover {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(102, 107, 102, 0.8);
    overflow: hidden;
    background: var(--ns-cover-bg);
}

.next-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.light .next-card__cover {
    border-color: rgba(127, 143, 95, 0.75);
}

.next-card__watched {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 31px;
    opacity: 0;
    transition: opacity .3s ease;
    background: url('/templates/school/images/anime_next_mark_watched.png') top no-repeat;
}

.next-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    width: 0;
}

.next-card__title {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ns-card-text);
    font-family: Verdana, sans-serif;
}

.next-card__episode {
    display: block;
    width: 100%;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ns-episode);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (max-width: 720px) {
    .next-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .next-series {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .next-series__title {
        margin-bottom: 20px;
    }

    .next-card {
        width: 100%;
    }

    .next-card__link {
        min-height: 80px;
        padding: 12px 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .next-card__cover {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }

    .next-card__title {
        font-size: 15px;
    }

    .next-card__episode {
        margin-top: 5px;
        font-size: 13px;
    }
}

.content__title {
    width: 100%;
    background: var(--j-surface);
    border: 1px solid #505b50;
    margin-top: -10px;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}

.light .content__title {
    background: #eef5cd;
    border: 1px solid #c2df6e;
}

.content__title h1 {
    font-weight: normal;
    color: #7b8254;
    font-size: 20px;
}

.content__item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--j-surface-elevated);
    margin-top: 100px;
    border-bottom-left-radius: 93px 15px;
    border-bottom-right-radius: 93px 15px;
    gap: 10px;
    align-items: center;
    padding-bottom: 15px;
    width: 200px;
    color: var(--j-text-strong);
    text-decoration: none;
}

.content__item:hover {
    text-decoration: none;
}

.light a.content__item {
    color: var(--j-text-strong);
}

.light .content__item {
    background: var(--j-surface-elevated);
    border: 1px solid rgba(172, 206, 13, 0.35);
    box-shadow: 0 1px 4px rgba(47, 63, 31, 0.06);
}

.content__item-poster {
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin-top: -100px;
    border: 2px solid rgba(102, 107, 102, 0.8);
    flex-shrink: 0;
}

.content__item-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.light .content__item-poster {
    border-color: rgba(127, 143, 95, 0.75);
}

.content__item-title {
    font-size: 18px;
    color: var(--j-text-strong);
    padding: 0 10px;
    text-align: center;
    margin: 0;
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.content__item-series {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--j-text-muted);
    align-items: flex-end;
    width: 100%;
    padding: 10px;
    line-height: 1.3;
}

.content__item-info {
    width: 22px;
    height: 22px;
    background: rgba(31, 31, 31, 0.55);
    color: var(--j-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    align-self: flex-start;
    margin-left: 10px;
    margin-top: -40px;
    transition: background 0.25s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.light .content__item-info {
    background: rgba(255, 255, 255, 0.92);
    color: #5a7a10;
    border: 1px solid rgba(172, 206, 13, 0.45);
}

.content__item-info::before {
    content: 'i';
}

.content__item-info:hover {
    background: rgba(31, 31, 31, 0.88);
}

.light .content__item-info:hover {
    background: #fff;
}

.content__item-info-hidden {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #1f1f1f;
    padding: 10px;
    border: 2px solid #505b50;
    font-size: 12px;
    left: 25px;
    width: 300px;
    position: absolute;
    font-weight: normal;
    z-index: 1;
    border-radius: 14px;
}

.light .content__item-info-hidden {
    background: #fff;
    border: 2px solid #d4d9d4;
    color: #454545;
}

.content__item-info:hover .content__item-info-hidden {
    display: flex;
}

.info-hidden__titles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-hidden__title {
    font-size: 18px;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination span,
.pagination a {
    background: #363a37;
    color: #b6b6bd;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}

.light .pagination span,
.light .pagination a {
    background: #d9efc9;
    color: #333;
}

.pagination span,
.pagination a:hover {
    color: #d9d9d9;
    text-decoration: none;
    background: #492e32;
}

.light .pagination span,
.light .pagination a:hover {
    color: #fff;
    background: #98bc1f;
}

.full {
    width: 100%;
}

.full__title {
    position: relative;
    display: flex;
    overflow: visible;
    background: var(--j-surface);
    padding: 20px;
    border-top: 1px solid var(--j-border-soft);
    border-bottom: 1px solid var(--j-border-soft);
    border-radius: 35px 14px 14px 14px;
    justify-content: center;
}

.light .full__title {
    background: var(--j-surface);
    border-top: 1px solid var(--j-border);
    border-bottom: 1px solid var(--j-border);
}

.full__poster {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    position: absolute;
    top: -10px;
    left: -5px;
    border: 2px solid rgba(102, 107, 102, 0.8);
    flex-shrink: 0;
    z-index: 2;
    overflow: visible;
}

.full__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.full--episode .full__title {
    align-items: center;
    min-height: 72px;
    padding: 20px 16px 20px 96px;
}

.full--episode .full__poster {
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

.full--episode .full__title-row {
    width: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.full--episode .full__title-row h1,
.full--episode .full__title > h1 {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
}

.full__poster .anime-notify-trigger {
    right: 2px;
    bottom: 2px;
    transform: none;
}

@media screen and (max-width: 720px) {
    .full--episode .full__title {
        min-height: 68px;
        padding: 16px 14px 16px 88px;
    }

    .full--episode .full__poster {
        width: 82px;
        height: 82px;
    }

    .full--episode .full__title-row h1,
    .full--episode .full__title > h1 {
        font-size: 16px;
    }
}

.full__title h1 {
    font-size: 20px;
    font-family: Verdana;
    font-weight: 500;
}

.full__rating {
    position: absolute;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 1;
    top: -3px;
    right: -5px;
    background: #3f3f3f;
    padding: 7px;
    border-radius: 5px;
}

.light .full__rating {
    background: #d9dfbb;
}

.full__rating a {
    min-width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all .3s;
    padding-left: 25px;
    padding-right: 10px;
    font-size: 12px;
}

.full__rating a:first-child {
    background: #98bc1f url(../images/thumb-up.svg?v=1) 7px 7px no-repeat;
    background-size: 15px;
}

.full__rating a:last-child {
    background: #dd5161 url(../images/thumb-down.svg?v=1) 7px 7px no-repeat;
    background-size: 15px;
}

.full__rating a:first-child:hover {
    background: #7a9e1f url(../images/thumb-up.svg?v=1) 7px 7px no-repeat;
    /* ÃƒÂÃ‚ÂÃƒÂÃ‚Âµ ÃƒÂÃ‚Â¼ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â°ÃƒÂÃ‚Â¼Ãƒâ€˜Ã†â€™ ÃƒÂÃ‚Â¸ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂºÃƒâ€˜Ã†â€™, Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ Ãƒâ€˜Ã¢â‚¬Å¾ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½ */
    background-size: 15px;
}

.full__rating a:last-child:hover {
    background: #e7566f url(../images/thumb-down.svg?v=1) 7px 7px no-repeat;
    /* ÃƒÂÃ‚ÂÃƒÂÃ‚Âµ ÃƒÂÃ‚Â¼ÃƒÂÃ‚ÂµÃƒÂÃ‚Â½Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â°ÃƒÂÃ‚Â¼Ãƒâ€˜Ã†â€™ ÃƒÂÃ‚Â¸ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½ÃƒÂÃ‚ÂºÃƒâ€˜Ã†â€™, Ãƒâ€˜Ã¢â‚¬Å¡ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â»Ãƒâ€˜Ã…â€™ÃƒÂÃ‚ÂºÃƒÂÃ‚Â¾ Ãƒâ€˜Ã¢â‚¬Å¾ÃƒÂÃ‚Â¾ÃƒÂÃ‚Â½ */
    background-size: 15px;
}

.full__player {
    border: 5px solid #3f3f3f;
    position: relative;
    border-radius: 14px 0px 14px 14px;
    overflow: hidden;
}

.light .full__player {
    border: 5px solid #d9dfbb;
}

.full__player iframe {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.player_style {
    padding-top: 60%;
}

.full__data:not(.anime-info__content) {
    background: #363a37;
    border-radius: 10px;
    font-size: 13px;
    line-height: 150%;
    padding: 10px 0 10px;
}

.light .full__data:not(.anime-info__content) {
    background: #eef5cd;
}

.full__data:not(.anime-info__content) a {
    color: #bee6c3;
}

.light .full__data:not(.anime-info__content) a {
    color: #75ab0e;
}

.full__data:not(.anime-info__content) div {
    padding: 0 15px;
}

.full__data:not(.anime-info__content) div p {
    margin: 10px 0;
}

.full__comments {
    width: 100%;
    margin-top: -10px;
}

.full__comments h2 {
    margin: 0 0 20px;
}

.comment {
    background: #363a37;
    border-radius: 10px;
    font-size: 13px;
    line-height: 150%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.light .comment {
    background: #eef5cd;
}

.comment__top {
    display: flex;
    justify-content: space-between;
}

.comment__login {
    font-weight: bold;
}

.comment__buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.mass_comments_action {
    margin-bottom: 15px;
    text-align: right;
}

input[type="submit"] {
    height: 30px;
    border: 1px solid #4e5b33;
    border-radius: 7px;
    cursor: pointer;
    color: #b0c0b2;
    padding: 0 15px;
    box-shadow: 1px 1px 1px #1f1f1f, inset 1px 1px 1px #536038;
    background: #3d4629;
    background: -moz-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3d4629), color-stop(100%, #272b1e));
    background: -webkit-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -o-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -ms-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: linear-gradient(to bottom, #3d4629 0%, #272b1e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d4629', endColorstr='#272b1e', GradientType=0);
}

.light input[type="submit"] {
    box-shadow: 1px 1px 1px #8fa75c, inset 1px 1px 1px #fff;
    background: #d7efa7;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q3ZWZhNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhN2MwNzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7efa7), color-stop(100%, #a7c071));
    background: -webkit-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -o-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -ms-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: linear-gradient(to bottom, #d7efa7 0%, #a7c071 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d7efa7', endColorstr='#a7c071', GradientType=0);
    border: 1px solid #8ea65c;
    color: #5d7637;
}

input[type="submit"]:hover {
    opacity: .8;
}

#dle-comments-form {
    background: #363a37;
    padding: 10px;
    border-radius: 10px;
}

.light #dle-comments-form {
    background: #eef5cd;
}

#comments {
    width: 100%;
    height: 130px;
    border: 1px solid #3c4c40;
    border-radius: 10px;
    padding: 5px 10px;
    font: 14px / 1.3 Verdana;
    background: #2e332f;
    color: #b0c0b2;
    margin-bottom: 10px;
    min-height: 75px;
}

.light #comments {
    color: #5f5f5f;
    border: 1px solid #a0b771;
    background: #d9f1a7;
}

.comment__input {
    width: 100%;
    border: 1px solid #3c4c40;
    border-radius: 10px;
    padding: 5px 10px;
    font: 14px / 1.3 Verdana;
    background: #2e332f;
    color: #b0c0b2;
    margin-bottom: 10px;
}

.light .comment__input {
    color: #5f5f5f;
    border: 1px solid #a0b771;
    background: #d9f1a7;
}

.ui-dialog {
    background: #1f1f1f;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 0 10px #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 4px solid #3c4c40;
    gap: 10px;
    z-index: 999999;
}

.light .ui-dialog {
    background: #eef5cd;
    color: #333;
    box-shadow: 0 0 10px #00000099;
    border: 4px solid #96c461;
}

.ui-dialog-titlebar {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.ui-button {
    height: 30px;
    border: 1px solid #4e5b33;
    border-radius: 7px;
    cursor: pointer;
    color: #b0c0b2;
    padding: 0 15px;
    box-shadow: 1px 1px 1px #1f1f1f, inset 1px 1px 1px #536038;
    background: #3d4629;
    background: -moz-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3d4629), color-stop(100%, #272b1e));
    background: -webkit-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -o-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: -ms-linear-gradient(top, #3d4629 0%, #272b1e 100%);
    background: linear-gradient(to bottom, #3d4629 0%, #272b1e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d4629', endColorstr='#272b1e', GradientType=0);
}

.light .ui-button {
    box-shadow: 1px 1px 1px #8fa75c, inset 1px 1px 1px #fff;
    background: #d7efa7;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q3ZWZhNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhN2MwNzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7efa7), color-stop(100%, #a7c071));
    background: -webkit-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -o-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: -ms-linear-gradient(top, #d7efa7 0%, #a7c071 100%);
    background: linear-gradient(to bottom, #d7efa7 0%, #a7c071 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d7efa7', endColorstr='#a7c071', GradientType=0);
    border: 1px solid #8ea65c;
    color: #5d7637;
}

.ui-button:hover {
    opacity: .8;
}

.ui-dialog-buttonset {
    display: flex;
    gap: 10px;
}

.ui-dialog-titlebar-close,
.light .ui-dialog-titlebar-close {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: url(../images/close.svg?v=1) no-repeat;
    background-size: contain;
    text-indent: -9999999px;
    padding: 0;
    transition: all .3s;
    border: 0;
    box-shadow: none;
}

.ui-dialog-titlebar-close:hover {
    opacity: .8;
}

.ui-dialog-title {
    font-weight: 500;
}

.ui-widget-content {
    height: auto !important;
    min-height: 38px !important;
}

.footer {
    max-width: 1010px;
    width: 100%;
    height: 94px;
    margin: 0 auto;
    background: url(../images/footer-bg.png?v=1) center no-repeat;
    background-size: cover;
    background-color: #1f1f1f;
    border-left: 3px solid #3c4c40;
    border-right: 3px solid #3c4c40;
    border-radius: 0 0 10px 10px;
    font-size: 13px;
}

.light .footer {
    background: url(../images/footer-bg_white.png?v=1) center no-repeat;
    background-size: cover;
    background-color: #fff;
    border-left: 3px solid #96c461;
    border-right: 3px solid #96c461;
    color: #4d7d41;
}

.footer__menu {
    display: flex;
    list-style-type: none;
    justify-content: center;
    gap: 20px;
    height: 94px;
    align-items: flex-end;
    padding-bottom: 12px;
}

.footer__menu a {
    color: #b0c0b2;
    transition: all .25s;
}

.light .footer__menu a {
    color: #4d7d41;
}

.footer__menu a:hover {
    text-shadow: 1px 1px 2px #000000, -1px -1px 2px #000;
}

.light .footer__menu a:hover {
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff;
}

.d-none {
    display: none;
}

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

    body {
        overflow-x: clip;
    }

    body.mobile-site-nav-open,
    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-site-nav-open::before,
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1000;
    }

    .main__inner {
        width: 100%;
        max-width: 100%;
    }

    .content__header {
        max-width: 100%;
        border-radius: 10px 10px 0 0;
        padding: 0 15px;
    }

    .adv-block {
        max-width: 100%;
        width: 100%;
    }

    .content__data {
        max-width: none;
        width: 100%;
        flex-direction: column-reverse;
        overflow-x: clip;
    }

    .content__main {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }


    .sidebar {
        width: 100%;
        min-width: 0;
    }

    .sidebar__block_collapsible {
        position: fixed;
        left: 0;
        top: 0;
        width: min(86vw, 430px);
        height: 100vh;
        z-index: 1002;
        border-radius: 0 12px 12px 0;
        padding: 84px 12px 20px;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
        pointer-events: none;
        visibility: hidden;
        box-shadow: 0 10px 30px #00000080;
    }

    .sidebar__block_collapsible.is-open {
        transform: translateX(0);
        transition-delay: 0s, 0s;
        pointer-events: auto;
        visibility: visible;
    }

    .sidebar__menu {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
    }

    .sidebar__menu li {
        width: 100%;
        text-align: left;
    }

    .sidebar__menu li.sidebar__menu-line {
        width: 100%;
    }

    .sidebar__menu a {
        border-radius: 8px;
        padding-left: 10px;
        background: #2e332f;
        padding: 8px 10px;
    }

    .light .sidebar__menu a {
        background: #a1c529;
        color: #2b351f;
        font-weight: 500;
    }
}

@media screen and (max-width: 800px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1000;
    }

    .header__sub-menu {
        display: flex;
        position: static;
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 6px 0 0;
        border-radius: 5px;
        width: 100%;
        margin-top: 6px;
        background: transparent;
        box-shadow: none;
        border: 0;
        gap: 0;
    }

    .light .header__sub-menu {
        background: transparent;
        box-shadow: none;
        border: 0;
    }

    .header__sub-menu li {
        width: 100% !important;
        margin-bottom: 6px;
    }

    .header__sub-menu a {
        display: block;
        padding: 8px 10px;
        border-radius: 8px;
        background: #2e332f;
        color: #b6b6bd;
    }

    .light .header__sub-menu a {
        background: #a1c529;
        color: #2b351f;
        font-weight: 500;
    }

    .header__menu {
        position: fixed;
        top: 0;
        left: 0;
        flex-direction: column;
        background: #314431;
        gap: 8px;
        height: 100dvh;
        max-height: 100dvh;
        padding: 70px 14px calc(20px + env(safe-area-inset-bottom));
        width: min(86vw, 430px);
        align-items: flex-start;
        z-index: 1001;
        border-radius: 0 12px 12px 0;
        box-shadow: 0 10px 30px #00000080;
        display: flex;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        transform: translateX(-105%);
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
        pointer-events: none;
        visibility: hidden;
    }

    .light .header__menu {
        background: #b4e382;
    }

    .header__menu.header__menu_visible {
        transform: translateX(0);
        transition-delay: 0s, 0s;
        pointer-events: auto;
        visibility: visible;
    }

    .header__menu-sub-menu-button::before {
        display: none;
    }

    .header__menu li {
        width: 100%;
        text-align: left;
    }

    .header__menu>li>a,
    .header__menu>li>span {
        display: block;
        width: 100%;
        padding: 8px 10px;
        border-radius: 8px;
        background: #2e332f;
        color: #b6b6bd;
    }

    .header__menu-sub-menu-button {
        background: transparent !important;
        padding: 0;
    }

    .header__menu-sub-menu-button>span {
        margin-bottom: 6px;
    }

    .light .header__menu>li>a,
    .light .header__menu>li>span {
        background: #a1c529;
        color: #2b351f;
        font-weight: 500;
    }

    .header__menu>li>a:hover,
    .header__sub-menu a:hover {
        color: #1f1f1f;
        background: #889b88;
        text-decoration: none;
    }

    .light .header__menu>li>a:hover,
    .light .header__sub-menu a:hover {
        color: #fff;
        background: #98bc1f;
    }

    .header__inner {
        justify-content: space-between;
        padding: 5px 10px;
    }

    .header__moon {
        height: 40px;
    }

    .header__mobile-menu-button {
        display: block;
    }

    .sidebar__menu li {
        width: 23%;
    }

    .sidebar__block_collapsible .sidebar__menu li {
        width: 100% !important;
    }

    .content__header {
        height: 135px;
        padding: 10px 15px;
        align-items: flex-start;
    }

    .content__search {
        position: absolute;
        top: 85px;
        left: 15px;
        right: 15px;
        width: auto;
        max-width: none;
        gap: 10px;
    }

    .content__socials {
        margin-top: 10px;
    }

    .content__nav-toggle {
        display: block;
        position: absolute;
        top: 23px;
        right: 15px;
        z-index: 3;
    }
}

@media screen and (max-width: 600px) {
    .footer {
        height: 50px;
    }

    .footer__menu {
        display: none;
    }

    .sidebar__menu li {
        width: 48%;
    }

    .sidebar__block_collapsible .sidebar__menu li {
        width: 100% !important;
    }

    .main__description {
        flex-direction: column;
    }

    .content__main {
        gap: 24px 10px;
        justify-content: center;
    }

    .content__item {
        width: calc(50% - 5px);
        margin-top: 86px;
        min-width: 0;
        border-bottom-left-radius: 56px 12px;
        border-bottom-right-radius: 56px 12px;
        gap: 8px;
        padding-bottom: 10px;
    }

    .content__item-poster {
        width: min(100%, 148px);
        height: min(100%, 148px);
        margin-top: -74px;
    }

    .content__item-title {
        font-size: 14px;
        line-height: 1.28;
        padding: 0 8px;
    }

    .content__item-series {
        font-size: 13px;
        gap: 3px;
        padding: 8px;
    }

    .content__item-info {
        margin-top: -26px;
    }


    .player-tabs__header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .player-tabs__button {
        font-size: 14px;
        padding: 6px 14px;
    }

    .video_plate_title {
        padding-left: 0;
    }

    .v_epi_nav {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 500px) {
    .header__sub-menu li {
        width: 100% !important;
    }
}



/* ==========================================================================
   Страница тайтла: блок информации об аниме (.anime-info)
   ========================================================================== */
.anime-info {
    -webkit-font-smoothing: antialiased;
}

/* Title row + settings */
.full__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    padding-left: 0;
    padding-right: 4px;
}

.full__title-row h1 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.anime-info__settings-btn {
    position: relative;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid var(--j-info-settings-border);
    border-radius: 10px;
    background: var(--j-info-settings-bg);
    color: var(--j-info-settings-icon);
    box-shadow: var(--j-info-settings-shadow);
    cursor: pointer;
}

.anime-info__settings-btn:hover {
    opacity: 0.9;
}

.anime-info__settings-btn:focus-visible {
    outline: 2px solid var(--j-info-focus);
    outline-offset: 2px;
}

.anime-info__settings-hint {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 12;
    width: max-content;
    max-width: 240px;
    padding: 10px 12px;
    border: 1px solid var(--j-info-hint-border);
    border-radius: 10px;
    background: var(--j-info-hint-bg);
    color: var(--j-info-hint-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.anime-info__settings-hint::before {
    content: "";
    position: absolute;
    right: 14px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 1px solid var(--j-info-hint-border);
    border-bottom: 1px solid var(--j-info-hint-border);
    transform: rotate(45deg);
}

.anime-info__settings-btn:hover .anime-info__settings-hint,
.anime-info__settings-btn.is-hint-visible .anime-info__settings-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse), (max-width: 720px) {
    .anime-info__settings-hint {
        display: none !important;
    }

    .anime-info__settings-btn:hover .anime-info__settings-hint,
    .anime-info__settings-btn.is-hint-visible .anime-info__settings-hint {
        opacity: 0;
        visibility: hidden;
    }
}

/* Tabs */
.anime-info__tabs {
    display: flex;
    gap: 3px;
    margin: 0 0 10px;
    padding: 4px;
    border-radius: 11px;
    border: 1px solid var(--j-info-tabs-border);
    background: var(--j-info-tabs-bg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.anime-info__tabs::-webkit-scrollbar {
    display: none;
}

.anime-info__tab {
    flex: 1 1 0;
    min-width: max-content;
    scroll-snap-align: start;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: transparent;
    color: var(--j-info-tab-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}

.anime-info__tab.is-active {
    background: var(--j-info-tab-active-bg);
    color: var(--j-info-tab-active-text);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.anime-info__tab:focus-visible {
    outline: 2px solid var(--j-info-focus);
    outline-offset: 1px;
}

/* Panels */
.anime-info__panel {
    display: none !important;
    background: none !important;
}

.anime-info__panel[hidden] {
    display: none !important;
}

.anime-info .anime-info__panel.is-active {
    display: block !important;
    background: none !important;
    color: var(--j-info-text);
    content-visibility: visible;
}

/* Content card */
.anime-info .anime-info__content {
    background: var(--j-info-surface);
    border-radius: 16px;
    padding: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--j-info-text);
    border: 1px solid var(--j-info-surface-border);
    box-shadow: var(--j-info-surface-shadow);
    overflow: hidden;
}

.anime-info__visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.anime-info .full__data,
.anime-info .full__description {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Stats */
.anime-info .full__data-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--j-info-divider);
}

.anime-info .full__data-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    text-align: center;
}

.anime-info .full__data-stat + .full__data-stat {
    border-left: 1px solid var(--j-info-divider);
}

.anime-info .full__data-stat__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--j-info-text-muted);
}

.anime-info .full__data-stat__value {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    line-height: 1.3;
}

/* List rows */
.anime-info .full__data-list {
    margin: 0;
    padding: 0;
}

.anime-info .full__data-row {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid var(--j-info-divider);
}

.anime-info .full__data-row:first-child {
    border-top: 0;
}

.anime-info .full__data-row dt {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--j-info-text-muted);
}

.anime-info .full__data-row dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: inherit;
    word-break: break-word;
}

/* Genre tags */
.anime-info .full__data-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    word-spacing: 0;
}

.anime-info .full__data-tags > :not(a) {
    display: none;
}

.anime-info .full__data-tags a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--j-info-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.anime-info .full__data-tags a:hover {
    opacity: 0.9;
}

/* Alt titles */
.anime-info .full__data-row--alt dd {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.anime-info .full__data-alt {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: var(--j-info-alt-text);
    white-space: normal;
    word-break: break-word;
}

.anime-info .full__data-alt.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.anime-info .full__data-alt-toggle {
    display: inline-block;
    margin: 0;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--j-info-accent-soft);
    color: var(--j-info-accent-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.anime-info .full__data-alt-toggle[hidden] {
    display: none !important;
}

.anime-info .full__data-alt-toggle:hover {
    opacity: 0.85;
}

/* Badges */
.anime-info .age_rating_18 {
    display: inline-block;
    background: var(--j-info-accent);
    border-radius: 6px;
    padding: 2px 8px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.anime-info .full__data-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--j-info-accent-soft);
    color: var(--j-info-accent-text);
    font-size: 13px;
    font-weight: 500;
}

.anime-info .full__data-next {
    font-weight: 600;
    color: var(--j-info-accent-text);
}

/* Story */
.anime-info .anime-info__content.full__description {
    padding: 16px;
}

.anime-info .story_anime p,
.anime-info .full__description p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: inherit;
}

.anime-info .story_anime p + p,
.anime-info .full__description p + p {
    margin-top: 12px;
}

.anime-info__empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    font-size: 14px;
    color: var(--j-info-text-muted);
}

/* Page layout */
.anime-page-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.anime-page-block {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Settings modal form */
#anime-settings-modal .anime-notify-dialog {
    color: var(--j-info-modal-text);
}

#anime-settings-modal .anime-settings-form {
    display: grid;
    gap: 12px;
}

#anime-settings-modal .anime-settings-field {
    display: grid;
    gap: 6px;
}

#anime-settings-modal .anime-settings-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--j-info-modal-text);
}

#anime-settings-modal .anime-settings-select {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--j-info-form-border);
    border-radius: 10px;
    background: var(--j-info-form-bg);
    color: var(--j-info-modal-text);
    font-size: 14px;
    cursor: pointer;
}

#anime-settings-modal .anime-settings-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

#anime-settings-modal .anime-settings-btn {
    flex: 1 1 0;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#anime-settings-modal .anime-settings-btn_primary {
    background: var(--j-info-btn-primary-bg);
    color: var(--j-info-btn-primary-text);
}

#anime-settings-modal .anime-settings-btn_primary:hover {
    filter: brightness(1.05);
}

#anime-settings-modal .anime-settings-btn_ghost {
    background: var(--j-info-form-ghost);
    color: var(--j-info-btn-ghost-text);
}

@media (max-width: 720px) {
    .anime-info__settings-btn {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .anime-info__tab {
        flex: 1 1 0;
        min-width: 0;
        font-size: 12px;
        padding: 8px 10px;
    }

    .anime-info .full__data-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .anime-info .full__data-stat {
        padding: 12px 4px;
    }

    .anime-info .full__data-stat__value {
        font-size: 13px;
    }

    .anime-info .full__data-row {
        padding: 11px 14px;
    }

    #anime-settings-modal .anime-settings-actions {
        flex-direction: column;
    }
}

.comments-tree-list {
    list-style: none;
}

.comment__text {
    word-break: break-word;
}

.video-player {
    width: 100%;
    max-width: 100%;
    display: block;
}

.v_epi_nav {
    margin: 20px 10px 0;
    text-align: center;
}

.v_epi_nav i {
    display: none;
}

.vnright {
    float: right;
    margin: 0 0 0 5px;
}

.vnright:after {
    content: ' \2192';
}

.vnleft {
    float: left;
    margin: 0 5px 0 0;
}

.vnleft:before {
    content: '\2190  ';
}

.vncenter {
    margin-top: 10px !important;
}

a.short-btn {
    color: #fff !important;
}

a.short-btn:hover {
    color: #fff !important;
}

.short-btn {
    font: bold 16px / 22px Helvetica, Helvetica-Neue, Arial, sans-serif !important;
    background: var(--j-accent);
    color: var(--j-text-strong);
    font-size: 17px;
    padding: 12px 20px;
    width: auto;
    margin: 0 4px 4px 0;
    border: none !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    border-radius: var(--j-radius-sm);
}

.short-btn.video {
    font-size: 17px !important;
    padding: 10px 20px !important;
}

.short-btn.black {
    background: #b2b5b8;
    color: #1f1f1f !important;
}

.short-btn.black:hover {
    background: #9b9ea1;
    color: #fff !important;
}

.short-btn.green {
    background: var(--j-accent);
}

.short-btn.green:hover {
    background: #475e47;
    color: #fff !important;
}

.light .short-btn.green {
    background: #9dc532;
}

.light .short-btn.green:hover {
    background: #bde74c;
    color: #4c6802 !important;
}

#myPlayer {
    display: block;
    width: 100% !important;
    height: 400px !important;
}

@media (max-width: 590px) {
    #myPlayer {
        height: 300px !important;
    }
}

@media (max-width: 470px) {
    #myPlayer {
        height: 250px !important;
    }
}

.player-tabs__header {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.player-tabs__button {
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    background: var(--j-surface-tab);
    color: var(--j-text-tab);
    border-radius: var(--j-radius-sm) var(--j-radius-sm) 0 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.player-tabs__button:hover {
    color: var(--j-text-strong);
}

.player-tabs__button.is-active {
    color: var(--j-text-strong);
    background: var(--j-surface-tab-active);
    font-weight: bold;
    padding: 5px 20px;
}

.player-tabs__content {
    display: none;
}

.player-tabs__content.is-active {
    display: block;
}

.player-tabs__content[hidden] {
    display: none !important;
}

.age_rating_18 {
    background: #000;
    border-radius: 4px;
    padding: 3px 2px;
    color: #f6f6fa;
}

.ser-g-title {
    font-size: 18px;
    padding: 10px;
    margin: 10px;
    font-weight: 400;
    border-top: 1px solid var(--j-border);
}

.ser-g-title:first-of-type {
    border: 0;
}

.ksep-episodes-browser {
    margin: 6px 0 10px;
    padding: 8px 6px 6px;
}

.ksep-episodes-list {
    margin-top: 4px;
}

.ksep-episodes-list .ser-g-title {
    width: 100%;
    margin: 10px 0 6px;
    padding: 8px 4px 4px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ksep-episodes-list .ser-g-title:first-child {
    margin-top: 0;
    border-top: 0;
}

.ksep-episodes-list .short-btn.video {
    margin: 0 4px 8px 0;
}

.ksep-episodes-list .ksep-episodes-empty {
    width: 100%;
}

.ksep-episodes-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
    justify-content: space-between;
}

.ksep-episodes-skeleton {
    display: grid;
    gap: 10px;
    margin: 6px 10px 16px;
}

.ksep-episodes-skeleton-line {
    position: relative;
    overflow: hidden;
    height: 42px;
    border-radius: 10px;
    background: #333833;
}

.ksep-episodes-skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 100%);
    animation: ksepSkeletonPulse 1.2s linear infinite;
}

.light .ksep-episodes-skeleton-line {
    background: #e4edbd;
}

.light .ksep-episodes-skeleton-line::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
}

@keyframes ksepSkeletonPulse {
    100% {
        transform: translateX(100%);
    }
}

.ksep-episodes-search,
.ksep-episodes-sort {
    border: 1px solid var(--j-border);
    border-radius: var(--j-radius-sm);
    background-color: var(--j-surface-input);
    color: var(--j-text);
    min-height: 40px;
    padding: 8px 12px;
    cursor: pointer;
}

.ksep-episodes-search {
    flex: 1 1 260px;
}

.ksep-episodes-sort {
    flex: 0 0 190px;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%238ea83d' d='M7 2l3 3H4zM7 12l-3-3h6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 14px 14px;
}

.light .ksep-episodes-sort {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23687035' d='M7 2l3 3H4zM7 12l-3-3h6z'/%3E%3C/svg%3E");
}

.ksep-episodes-info {
    font-size: 13px;
    color: var(--j-text-muted);
}

.ksep-episodes-empty {
    margin: 15px 10px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(172, 206, 13, 0.12);
    border: 1px solid rgba(172, 206, 13, 0.45);
    color: #dce7a8;
    text-align: center;
}

.light .ksep-episodes-empty {
    color: #657138;
}

@media screen and (max-width: 720px) {
    .ksep-episodes-browser {
        margin: 14px 0 18px;
        padding: 12px 10px 14px;
        border-radius: var(--j-radius-md);
        background: var(--j-surface);
    }

    .light .ksep-episodes-browser {
        border: 1px solid var(--j-border);
    }

    .ksep-episodes-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0 0 12px;
    }

    .ksep-episodes-search,
    .ksep-episodes-sort {
        width: 100%;
        flex: none;
    }

    .ksep-episodes-info {
        width: 100%;
        font-size: 14px;
        font-weight: 600;
        padding-top: 2px;
    }

    .ksep-episodes-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 0;
    }

    .ksep-episodes-list .ser-g-title,
    .ksep-episodes-list .ksep-episodes-empty {
        flex: 0 0 100%;
        width: 100%;
        margin: 10px 0 4px;
    }

    .ksep-episodes-list .short-btn.video {
        flex: 0 0 calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
        margin: 0;
        padding: 10px 4px !important;
        font-size: 14px !important;
        box-sizing: border-box;
        text-align: center;
    }
}

.anime-rating {
    position: absolute;
    display: flex;
    gap: 3px;
    padding: 2px 5px;
    align-items: center;
    background: #ffff00b0;
    backdrop-filter: blur(3px);
    border-radius: 7px;
    color: #000;
    font-size: 14px;
    font-weight: 450;
    left: 0;
    top: 0;
    z-index: 2;
    transform: translate(-15%, -15%);
}

@media only screen and (max-width: 780px) {
    .short-btn.video {
        padding: 13px 19px !important;
        font-weight: bold;
        font-size: 15px !important;
    }
}

.video_plate_title {
    text-align: center;
    padding-left: 83px
}

.video_plate_title span {
    background-color: var(--j-surface);
    position: relative;
    display: inline-block;
    padding: 3px 14px 3px 14px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.vpt_roll {
    display: block;
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 4px;
    top: -4px;
    background-color: var(--j-surface);
    border: 1px solid var(--j-border-soft);
    cursor: pointer
}

.vpt_roll_bef {
    left: -4px
}

.vpt_roll_af {
    right: -4px
}

.video_plate_title span h2 {
    overflow: hidden;
    font: 14px/1.4 normal Verdana, sans-serif
}


@media screen and (max-width: 420px) {
    .full--episode .full__title {
        min-height: 64px;
        padding: 14px 12px 14px 80px;
    }

    .full--episode .full__poster {
        width: 74px;
        height: 74px;
    }

    .full--episode .full__title-row h1,
    .full--episode .full__title > h1 {
        font-size: 15px;
    }
}

